diff --git a/.release-please-manifest.json b/.release-please-manifest.json
index 997feac94a0..4a755266f25 100644
--- a/.release-please-manifest.json
+++ b/.release-please-manifest.json
@@ -11,6 +11,7 @@
"packages/google-cloud-bigquery-dataexchange": "0.3.0",
"packages/google-cloud-bigquery-datapolicies": "0.1.0",
"packages/google-cloud-bigquery-datatransfer": "3.1.3",
+ "packages/google-cloud-deploy": "2.2.0",
"packages/google-cloud-dataplex": "2.2.0",
"packages/google-cloud-certificatemanager": "0.6.0",
"packages/google-cloud-gkemulticloud": "0.1.2",
diff --git a/packages/google-cloud-deploy/.OwlBot.yaml b/packages/google-cloud-deploy/.OwlBot.yaml
new file mode 100644
index 00000000000..c7c8d263f94
--- /dev/null
+++ b/packages/google-cloud-deploy/.OwlBot.yaml
@@ -0,0 +1,20 @@
+# 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/deploy/(.*)/.*-nodejs
+ dest: /owl-bot-staging/google-cloud-deploy/$1
diff --git a/packages/google-cloud-deploy/.eslintignore b/packages/google-cloud-deploy/.eslintignore
new file mode 100644
index 00000000000..ea5b04aebe6
--- /dev/null
+++ b/packages/google-cloud-deploy/.eslintignore
@@ -0,0 +1,7 @@
+**/node_modules
+**/coverage
+test/fixtures
+build/
+docs/
+protos/
+samples/generated/
diff --git a/packages/google-cloud-deploy/.eslintrc.json b/packages/google-cloud-deploy/.eslintrc.json
new file mode 100644
index 00000000000..78215349546
--- /dev/null
+++ b/packages/google-cloud-deploy/.eslintrc.json
@@ -0,0 +1,3 @@
+{
+ "extends": "./node_modules/gts"
+}
diff --git a/packages/google-cloud-deploy/.gitattributes b/packages/google-cloud-deploy/.gitattributes
new file mode 100644
index 00000000000..33739cb74e4
--- /dev/null
+++ b/packages/google-cloud-deploy/.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-deploy/.gitignore b/packages/google-cloud-deploy/.gitignore
new file mode 100644
index 00000000000..5d32b23782f
--- /dev/null
+++ b/packages/google-cloud-deploy/.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-deploy/.jsdoc.js b/packages/google-cloud-deploy/.jsdoc.js
new file mode 100644
index 00000000000..1ad417e7a8e
--- /dev/null
+++ b/packages/google-cloud-deploy/.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/deploy',
+ theme: 'lumen',
+ default: {
+ outputSourceFiles: false
+ }
+ },
+ markdown: {
+ idInHeadings: true
+ }
+};
diff --git a/packages/google-cloud-deploy/.mocharc.js b/packages/google-cloud-deploy/.mocharc.js
new file mode 100644
index 00000000000..cdb7b752160
--- /dev/null
+++ b/packages/google-cloud-deploy/.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-deploy/.nycrc b/packages/google-cloud-deploy/.nycrc
new file mode 100644
index 00000000000..b18d5472b62
--- /dev/null
+++ b/packages/google-cloud-deploy/.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-deploy/.prettierignore b/packages/google-cloud-deploy/.prettierignore
new file mode 100644
index 00000000000..9340ad9b86d
--- /dev/null
+++ b/packages/google-cloud-deploy/.prettierignore
@@ -0,0 +1,6 @@
+**/node_modules
+**/coverage
+test/fixtures
+build/
+docs/
+protos/
diff --git a/packages/google-cloud-deploy/.prettierrc.js b/packages/google-cloud-deploy/.prettierrc.js
new file mode 100644
index 00000000000..d546a4ad546
--- /dev/null
+++ b/packages/google-cloud-deploy/.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-deploy/.repo-metadata.json b/packages/google-cloud-deploy/.repo-metadata.json
new file mode 100644
index 00000000000..f2a4830c7ee
--- /dev/null
+++ b/packages/google-cloud-deploy/.repo-metadata.json
@@ -0,0 +1,17 @@
+{
+ "name": "clouddeploy",
+ "name_pretty": "Google Cloud Deploy",
+ "product_documentation": "https://cloud.google.com/deploy/",
+ "client_documentation": "https://cloud.google.com/nodejs/docs/reference/deploy/latest",
+ "issue_tracker": "https://github.com/googleapis/google-cloud-node/issues",
+ "release_level": "stable",
+ "language": "nodejs",
+ "repo": "googleapis/google-cloud-node",
+ "distribution_name": "@google-cloud/deploy",
+ "api_id": "clouddeploy.googleapis.com",
+ "default_version": "v1",
+ "requires_billing": true,
+ "api_shortname": "clouddeploy",
+ "library_type": "GAPIC_AUTO",
+ "codeowner_team": "@googleapis/aap-dpes"
+}
diff --git a/packages/google-cloud-deploy/CHANGELOG.md b/packages/google-cloud-deploy/CHANGELOG.md
new file mode 100644
index 00000000000..dbc84ff1f59
--- /dev/null
+++ b/packages/google-cloud-deploy/CHANGELOG.md
@@ -0,0 +1,65 @@
+# Changelog
+
+## [2.2.0](https://github.com/googleapis/nodejs-deploy/compare/v2.1.2...v2.2.0) (2022-09-29)
+
+
+### Features
+
+* Publish new JobRun resource and associated methods for Google Cloud Deploy ([8183015](https://github.com/googleapis/nodejs-deploy/commit/8183015c907f932346fde8c3b6dc981a3e561efe))
+
+## [2.1.2](https://github.com/googleapis/nodejs-deploy/compare/v2.1.1...v2.1.2) (2022-09-21)
+
+
+### Bug Fixes
+
+* Allow passing gax instance to client constructor ([#64](https://github.com/googleapis/nodejs-deploy/issues/64)) ([286143f](https://github.com/googleapis/nodejs-deploy/commit/286143f2e7aff409f57b57f58239c21fa16dc230))
+* Do not import the whole google-gax from proto JS ([#1553](https://github.com/googleapis/nodejs-deploy/issues/1553)) ([#63](https://github.com/googleapis/nodejs-deploy/issues/63)) ([024a0e4](https://github.com/googleapis/nodejs-deploy/commit/024a0e4e4902950fc9b40bfed77f2c2ceacf2fce))
+* Preserve default values in x-goog-request-params header ([#66](https://github.com/googleapis/nodejs-deploy/issues/66)) ([be84a26](https://github.com/googleapis/nodejs-deploy/commit/be84a262c1292cd804d7c3b4e0690e21ff122460))
+* use google-gax v3.3.0 ([024a0e4](https://github.com/googleapis/nodejs-deploy/commit/024a0e4e4902950fc9b40bfed77f2c2ceacf2fce))
+
+## [2.1.1](https://github.com/googleapis/nodejs-deploy/compare/v2.1.0...v2.1.1) (2022-08-23)
+
+
+### Bug Fixes
+
+* better support for fallback mode ([#59](https://github.com/googleapis/nodejs-deploy/issues/59)) ([21bd8f3](https://github.com/googleapis/nodejs-deploy/commit/21bd8f318612224884e01504e949d59f9f9c5615))
+* change import long to require ([#60](https://github.com/googleapis/nodejs-deploy/issues/60)) ([682372a](https://github.com/googleapis/nodejs-deploy/commit/682372af2f6758cb797743ad08ad474837024219))
+* remove pip install statements ([#1546](https://github.com/googleapis/nodejs-deploy/issues/1546)) ([#62](https://github.com/googleapis/nodejs-deploy/issues/62)) ([d70fc8b](https://github.com/googleapis/nodejs-deploy/commit/d70fc8b1f161cd908385001eb433fb0a1bdae561))
+
+## [2.1.0](https://github.com/googleapis/nodejs-deploy/compare/v2.0.0...v2.1.0) (2022-06-30)
+
+
+### Features
+
+* support regapic LRO ([#55](https://github.com/googleapis/nodejs-deploy/issues/55)) ([5c7ba12](https://github.com/googleapis/nodejs-deploy/commit/5c7ba1270c9f7b386614a1efa4ef4e752b591fda))
+
+## [2.0.0](https://github.com/googleapis/nodejs-deploy/compare/v1.0.0...v2.0.0) (2022-05-19)
+
+
+### ⚠ BREAKING CHANGES
+
+* update library to use Node 12 (#50)
+
+### Build System
+
+* update library to use Node 12 ([#50](https://github.com/googleapis/nodejs-deploy/issues/50)) ([a688caf](https://github.com/googleapis/nodejs-deploy/commit/a688caf817f5f760d951ad6e9570ee0f4a4c0c5f))
+
+## [1.0.0](https://github.com/googleapis/nodejs-deploy/compare/v0.2.0...v1.0.0) (2022-03-23)
+
+
+### Features
+
+* promote to stable ([#36](https://github.com/googleapis/nodejs-deploy/issues/36)) ([00960ff](https://github.com/googleapis/nodejs-deploy/commit/00960ff75a3d40e9f4a81efb868e56642937e49f))
+
+## 0.2.0 (2021-10-07)
+
+
+### Features
+
+* initial generation of library ([#1](https://www.github.com/googleapis/nodejs-deploy/issues/1)) ([c22e971](https://www.github.com/googleapis/nodejs-deploy/commit/c22e9711390855c0c992d3f89ac47360c7e47daf))
+* initial stub of library ([7b1cddd](https://www.github.com/googleapis/nodejs-deploy/commit/7b1cdddd39f236838bba28d70ab9b24ba66a8aa5))
+
+
+### Miscellaneous Chores
+
+* force minor version bump ([ec4abc9](https://www.github.com/googleapis/nodejs-deploy/commit/ec4abc940641181946ae5c27079c9e72b26774cf))
diff --git a/packages/google-cloud-deploy/CODE_OF_CONDUCT.md b/packages/google-cloud-deploy/CODE_OF_CONDUCT.md
new file mode 100644
index 00000000000..2add2547a81
--- /dev/null
+++ b/packages/google-cloud-deploy/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-deploy/CONTRIBUTING.md b/packages/google-cloud-deploy/CONTRIBUTING.md
new file mode 100644
index 00000000000..94de8fe2a32
--- /dev/null
+++ b/packages/google-cloud-deploy/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 Deploy 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=clouddeploy.googleapis.com
+[auth]: https://cloud.google.com/docs/authentication/getting-started
\ No newline at end of file
diff --git a/packages/google-cloud-deploy/LICENSE b/packages/google-cloud-deploy/LICENSE
new file mode 100644
index 00000000000..d6456956733
--- /dev/null
+++ b/packages/google-cloud-deploy/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-deploy/README.md b/packages/google-cloud-deploy/README.md
new file mode 100644
index 00000000000..7bc3e533d88
--- /dev/null
+++ b/packages/google-cloud-deploy/README.md
@@ -0,0 +1,216 @@
+[//]: # "This README.md file is auto-generated, all changes to this file will be lost."
+[//]: # "To regenerate it, use `python -m synthtool`."
+
+
+# [Google Cloud Deploy: Node.js Client](https://github.com/googleapis/google-cloud-node)
+
+[](https://cloud.google.com/terms/launch-stages)
+[](https://www.npmjs.org/package/@google-cloud/deploy)
+
+
+
+
+clouddeploy 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/blob/main/CHANGELOG.md).
+
+* [Google Cloud Deploy Node.js Client API Reference][client-docs]
+* [Google Cloud Deploy Documentation][product-docs]
+* [github.com/googleapis/google-cloud-node](https://github.com/googleapis/google-cloud-node)
+
+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 Deploy 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/deploy
+```
+
+
+### Using the client library
+
+```javascript
+/**
+ * TODO(developer): Uncomment these variables before running the sample.
+ */
+/**
+ * Required. The parent, which owns this collection of pipelines. Format must be
+ * projects/{project_id}/locations/{location_name}.
+ */
+// const parent = 'abc123'
+/**
+ * The maximum number of pipelines to return. The service may return
+ * fewer than this value. If unspecified, at most 50 pipelines will
+ * be returned. The maximum value is 1000; values above 1000 will be set
+ * to 1000.
+ */
+// const pageSize = 1234
+/**
+ * A page token, received from a previous `ListDeliveryPipelines` call.
+ * Provide this to retrieve the subsequent page.
+ * When paginating, all other provided parameters match
+ * the call that provided the page token.
+ */
+// const pageToken = 'abc123'
+/**
+ * Filter builds to be returned. See https://google.aip.dev/160 for more
+ * details.
+ */
+// const filter = 'abc123'
+/**
+ * Field to sort by. See https://google.aip.dev/132#ordering for more details.
+ */
+// const orderBy = 'abc123'
+
+// Imports the Deploy library
+const {CloudDeployClient} = require('@google-cloud/deploy').v1;
+
+// Instantiates a client
+const deployClient = new CloudDeployClient();
+
+async function listDeliveryPipelines() {
+ // Construct request
+ const request = {
+ parent,
+ };
+
+ // Run request
+ const iterable = await deployClient.listDeliveryPipelinesAsync(request);
+ for await (const response of iterable) {
+ console.log(response);
+ }
+}
+
+listDeliveryPipelines();
+
+```
+
+
+
+## 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 |
+| --------------------------- | --------------------------------- | ------ |
+| Cloud_deploy.abandon_release | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-deploy/samples/generated/v1/cloud_deploy.abandon_release.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-deploy/samples/generated/v1/cloud_deploy.abandon_release.js,samples/README.md) |
+| Cloud_deploy.approve_rollout | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-deploy/samples/generated/v1/cloud_deploy.approve_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-deploy/samples/generated/v1/cloud_deploy.approve_rollout.js,samples/README.md) |
+| Cloud_deploy.create_delivery_pipeline | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-deploy/samples/generated/v1/cloud_deploy.create_delivery_pipeline.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-deploy/samples/generated/v1/cloud_deploy.create_delivery_pipeline.js,samples/README.md) |
+| Cloud_deploy.create_release | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-deploy/samples/generated/v1/cloud_deploy.create_release.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-deploy/samples/generated/v1/cloud_deploy.create_release.js,samples/README.md) |
+| Cloud_deploy.create_rollout | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-deploy/samples/generated/v1/cloud_deploy.create_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-deploy/samples/generated/v1/cloud_deploy.create_rollout.js,samples/README.md) |
+| Cloud_deploy.create_target | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-deploy/samples/generated/v1/cloud_deploy.create_target.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-deploy/samples/generated/v1/cloud_deploy.create_target.js,samples/README.md) |
+| Cloud_deploy.delete_delivery_pipeline | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-deploy/samples/generated/v1/cloud_deploy.delete_delivery_pipeline.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-deploy/samples/generated/v1/cloud_deploy.delete_delivery_pipeline.js,samples/README.md) |
+| Cloud_deploy.delete_target | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-deploy/samples/generated/v1/cloud_deploy.delete_target.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-deploy/samples/generated/v1/cloud_deploy.delete_target.js,samples/README.md) |
+| Cloud_deploy.get_config | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-deploy/samples/generated/v1/cloud_deploy.get_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-deploy/samples/generated/v1/cloud_deploy.get_config.js,samples/README.md) |
+| Cloud_deploy.get_delivery_pipeline | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-deploy/samples/generated/v1/cloud_deploy.get_delivery_pipeline.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-deploy/samples/generated/v1/cloud_deploy.get_delivery_pipeline.js,samples/README.md) |
+| Cloud_deploy.get_job_run | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-deploy/samples/generated/v1/cloud_deploy.get_job_run.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-deploy/samples/generated/v1/cloud_deploy.get_job_run.js,samples/README.md) |
+| Cloud_deploy.get_release | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-deploy/samples/generated/v1/cloud_deploy.get_release.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-deploy/samples/generated/v1/cloud_deploy.get_release.js,samples/README.md) |
+| Cloud_deploy.get_rollout | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-deploy/samples/generated/v1/cloud_deploy.get_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-deploy/samples/generated/v1/cloud_deploy.get_rollout.js,samples/README.md) |
+| Cloud_deploy.get_target | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-deploy/samples/generated/v1/cloud_deploy.get_target.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-deploy/samples/generated/v1/cloud_deploy.get_target.js,samples/README.md) |
+| Cloud_deploy.list_delivery_pipelines | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-deploy/samples/generated/v1/cloud_deploy.list_delivery_pipelines.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-deploy/samples/generated/v1/cloud_deploy.list_delivery_pipelines.js,samples/README.md) |
+| Cloud_deploy.list_job_runs | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-deploy/samples/generated/v1/cloud_deploy.list_job_runs.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-deploy/samples/generated/v1/cloud_deploy.list_job_runs.js,samples/README.md) |
+| Cloud_deploy.list_releases | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-deploy/samples/generated/v1/cloud_deploy.list_releases.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-deploy/samples/generated/v1/cloud_deploy.list_releases.js,samples/README.md) |
+| Cloud_deploy.list_rollouts | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-deploy/samples/generated/v1/cloud_deploy.list_rollouts.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-deploy/samples/generated/v1/cloud_deploy.list_rollouts.js,samples/README.md) |
+| Cloud_deploy.list_targets | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-deploy/samples/generated/v1/cloud_deploy.list_targets.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-deploy/samples/generated/v1/cloud_deploy.list_targets.js,samples/README.md) |
+| Cloud_deploy.retry_job | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-deploy/samples/generated/v1/cloud_deploy.retry_job.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-deploy/samples/generated/v1/cloud_deploy.retry_job.js,samples/README.md) |
+| Cloud_deploy.update_delivery_pipeline | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-deploy/samples/generated/v1/cloud_deploy.update_delivery_pipeline.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-deploy/samples/generated/v1/cloud_deploy.update_delivery_pipeline.js,samples/README.md) |
+| Cloud_deploy.update_target | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-deploy/samples/generated/v1/cloud_deploy.update_target.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-deploy/samples/generated/v1/cloud_deploy.update_target.js,samples/README.md) |
+| Quickstart | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-deploy/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-deploy/samples/quickstart.js,samples/README.md) |
+| Quickstart | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-deploy/samples/test/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-deploy/samples/test/quickstart.js,samples/README.md) |
+
+
+
+The [Google Cloud Deploy 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/deploy@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/deploy/latest
+[product-docs]: https://cloud.google.com/deploy/
+[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=clouddeploy.googleapis.com
+[auth]: https://cloud.google.com/docs/authentication/getting-started
diff --git a/packages/google-cloud-deploy/linkinator.config.json b/packages/google-cloud-deploy/linkinator.config.json
new file mode 100644
index 00000000000..befd23c8633
--- /dev/null
+++ b/packages/google-cloud-deploy/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-deploy/package.json b/packages/google-cloud-deploy/package.json
new file mode 100644
index 00000000000..68390f871d9
--- /dev/null
+++ b/packages/google-cloud-deploy/package.json
@@ -0,0 +1,66 @@
+{
+ "name": "@google-cloud/deploy",
+ "version": "2.2.0",
+ "description": "clouddeploy client for Node.js",
+ "repository": "googleapis/nodejs-deploy",
+ "license": "Apache-2.0",
+ "author": "Google LLC",
+ "main": "build/src/index.js",
+ "files": [
+ "build/src",
+ "build/protos"
+ ],
+ "keywords": [
+ "google apis client",
+ "google api client",
+ "google apis",
+ "google api",
+ "google",
+ "google cloud platform",
+ "google cloud",
+ "cloud",
+ "google clouddeploy",
+ "clouddeploy",
+ "clouddeploy service"
+ ],
+ "scripts": {
+ "clean": "gts clean",
+ "compile": "tsc -p . && cp -r protos build/",
+ "compile-protos": "compileProtos src",
+ "docs": "jsdoc -c .jsdoc.js",
+ "predocs-test": "npm run docs",
+ "docs-test": "linkinator docs",
+ "fix": "gts fix",
+ "lint": "gts check",
+ "prepare": "npm run compile-protos && npm run compile",
+ "system-test": "npm run compile && c8 mocha build/system-test",
+ "test": "c8 mocha build/test",
+ "samples-test": "npm run compile && cd samples/ && npm link ../ && npm i && npm test",
+ "prelint": "cd samples; npm link ../; npm i"
+ },
+ "dependencies": {
+ "google-gax": "^3.3.0"
+ },
+ "devDependencies": {
+ "@types/mocha": "^9.0.0",
+ "@types/node": "^16.0.0",
+ "@types/sinon": "^10.0.0",
+ "c8": "^7.7.2",
+ "gts": "^3.1.0",
+ "jsdoc": "^3.6.6",
+ "jsdoc-fresh": "^2.0.0",
+ "jsdoc-region-tag": "^2.0.0",
+ "linkinator": "^4.0.0",
+ "mocha": "^9.2.2",
+ "null-loader": "^4.0.1",
+ "pack-n-play": "^1.0.0-2",
+ "sinon": "^14.0.0",
+ "ts-loader": "^9.1.2",
+ "typescript": "^4.6.4",
+ "webpack": "^5.36.2",
+ "webpack-cli": "^4.7.0"
+ },
+ "engines": {
+ "node": ">=12.0.0"
+ }
+}
diff --git a/packages/google-cloud-deploy/protos/google/cloud/deploy/v1/cloud_deploy.proto b/packages/google-cloud-deploy/protos/google/cloud/deploy/v1/cloud_deploy.proto
new file mode 100644
index 00000000000..69f8d522208
--- /dev/null
+++ b/packages/google-cloud-deploy/protos/google/cloud/deploy/v1/cloud_deploy.proto
@@ -0,0 +1,1986 @@
+// 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.
+
+syntax = "proto3";
+
+package google.cloud.deploy.v1;
+
+import "google/api/annotations.proto";
+import "google/api/client.proto";
+import "google/api/field_behavior.proto";
+import "google/api/resource.proto";
+import "google/longrunning/operations.proto";
+import "google/protobuf/duration.proto";
+import "google/protobuf/field_mask.proto";
+import "google/protobuf/timestamp.proto";
+import "google/type/date.proto";
+
+option go_package = "google.golang.org/genproto/googleapis/cloud/deploy/v1;deploy";
+option java_multiple_files = true;
+option java_outer_classname = "CloudDeployProto";
+option java_package = "com.google.cloud.deploy.v1";
+option (google.api.resource_definition) = {
+ type: "cloudbuild.googleapis.com/Build"
+ pattern: "projects/{project}/locations/{location}/builds/{build}"
+};
+option (google.api.resource_definition) = {
+ type: "container.googleapis.com/Cluster"
+ pattern: "projects/{project}/locations/{location}/clusters/{cluster}"
+};
+option (google.api.resource_definition) = {
+ type: "clouddeploy.googleapis.com/Operation"
+ pattern: "projects/{project}/locations/{location}/operations/{operation}"
+};
+option (google.api.resource_definition) = {
+ type: "cloudbuild.googleapis.com/WorkerPool"
+ pattern: "projects/{project}/locations/{location}/workerPools/{worker_pool}"
+};
+option (google.api.resource_definition) = {
+ type: "gkehub.googleapis.com/Membership"
+ pattern: "projects/{project}/locations/{location}/memberships/{membership}"
+};
+
+// CloudDeploy service creates and manages Continuous Delivery operations
+// on Google Cloud Platform via Skaffold (https://skaffold.dev).
+service CloudDeploy {
+ option (google.api.default_host) = "clouddeploy.googleapis.com";
+ option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/cloud-platform";
+
+ // Lists DeliveryPipelines in a given project and location.
+ rpc ListDeliveryPipelines(ListDeliveryPipelinesRequest) returns (ListDeliveryPipelinesResponse) {
+ option (google.api.http) = {
+ get: "/v1/{parent=projects/*/locations/*}/deliveryPipelines"
+ };
+ option (google.api.method_signature) = "parent";
+ }
+
+ // Gets details of a single DeliveryPipeline.
+ rpc GetDeliveryPipeline(GetDeliveryPipelineRequest) returns (DeliveryPipeline) {
+ option (google.api.http) = {
+ get: "/v1/{name=projects/*/locations/*/deliveryPipelines/*}"
+ };
+ option (google.api.method_signature) = "name";
+ }
+
+ // Creates a new DeliveryPipeline in a given project and location.
+ rpc CreateDeliveryPipeline(CreateDeliveryPipelineRequest) returns (google.longrunning.Operation) {
+ option (google.api.http) = {
+ post: "/v1/{parent=projects/*/locations/*}/deliveryPipelines"
+ body: "delivery_pipeline"
+ };
+ option (google.api.method_signature) = "parent,delivery_pipeline,delivery_pipeline_id";
+ option (google.longrunning.operation_info) = {
+ response_type: "DeliveryPipeline"
+ metadata_type: "OperationMetadata"
+ };
+ }
+
+ // Updates the parameters of a single DeliveryPipeline.
+ rpc UpdateDeliveryPipeline(UpdateDeliveryPipelineRequest) returns (google.longrunning.Operation) {
+ option (google.api.http) = {
+ patch: "/v1/{delivery_pipeline.name=projects/*/locations/*/deliveryPipelines/*}"
+ body: "delivery_pipeline"
+ };
+ option (google.api.method_signature) = "delivery_pipeline,update_mask";
+ option (google.longrunning.operation_info) = {
+ response_type: "DeliveryPipeline"
+ metadata_type: "OperationMetadata"
+ };
+ }
+
+ // Deletes a single DeliveryPipeline.
+ rpc DeleteDeliveryPipeline(DeleteDeliveryPipelineRequest) returns (google.longrunning.Operation) {
+ option (google.api.http) = {
+ delete: "/v1/{name=projects/*/locations/*/deliveryPipelines/*}"
+ };
+ option (google.api.method_signature) = "name";
+ option (google.longrunning.operation_info) = {
+ response_type: "google.protobuf.Empty"
+ metadata_type: "OperationMetadata"
+ };
+ }
+
+ // Lists Targets in a given project and location.
+ rpc ListTargets(ListTargetsRequest) returns (ListTargetsResponse) {
+ option (google.api.http) = {
+ get: "/v1/{parent=projects/*/locations/*}/targets"
+ };
+ option (google.api.method_signature) = "parent";
+ }
+
+ // Gets details of a single Target.
+ rpc GetTarget(GetTargetRequest) returns (Target) {
+ option (google.api.http) = {
+ get: "/v1/{name=projects/*/locations/*/targets/*}"
+ };
+ option (google.api.method_signature) = "name";
+ }
+
+ // Creates a new Target in a given project and location.
+ rpc CreateTarget(CreateTargetRequest) returns (google.longrunning.Operation) {
+ option (google.api.http) = {
+ post: "/v1/{parent=projects/*/locations/*}/targets"
+ body: "target"
+ };
+ option (google.api.method_signature) = "parent,target,target_id";
+ option (google.longrunning.operation_info) = {
+ response_type: "Target"
+ metadata_type: "OperationMetadata"
+ };
+ }
+
+ // Updates the parameters of a single Target.
+ rpc UpdateTarget(UpdateTargetRequest) returns (google.longrunning.Operation) {
+ option (google.api.http) = {
+ patch: "/v1/{target.name=projects/*/locations/*/targets/*}"
+ body: "target"
+ };
+ option (google.api.method_signature) = "target,update_mask";
+ option (google.longrunning.operation_info) = {
+ response_type: "Target"
+ metadata_type: "OperationMetadata"
+ };
+ }
+
+ // Deletes a single Target.
+ rpc DeleteTarget(DeleteTargetRequest) returns (google.longrunning.Operation) {
+ option (google.api.http) = {
+ delete: "/v1/{name=projects/*/locations/*/targets/*}"
+ };
+ option (google.api.method_signature) = "name";
+ option (google.longrunning.operation_info) = {
+ response_type: "google.protobuf.Empty"
+ metadata_type: "OperationMetadata"
+ };
+ }
+
+ // Lists Releases in a given project and location.
+ rpc ListReleases(ListReleasesRequest) returns (ListReleasesResponse) {
+ option (google.api.http) = {
+ get: "/v1/{parent=projects/*/locations/*/deliveryPipelines/*}/releases"
+ };
+ option (google.api.method_signature) = "parent";
+ }
+
+ // Gets details of a single Release.
+ rpc GetRelease(GetReleaseRequest) returns (Release) {
+ option (google.api.http) = {
+ get: "/v1/{name=projects/*/locations/*/deliveryPipelines/*/releases/*}"
+ };
+ option (google.api.method_signature) = "name";
+ }
+
+ // Creates a new Release in a given project and location.
+ rpc CreateRelease(CreateReleaseRequest) returns (google.longrunning.Operation) {
+ option (google.api.http) = {
+ post: "/v1/{parent=projects/*/locations/*/deliveryPipelines/*}/releases"
+ body: "release"
+ };
+ option (google.api.method_signature) = "parent,release,release_id";
+ option (google.longrunning.operation_info) = {
+ response_type: "Release"
+ metadata_type: "OperationMetadata"
+ };
+ }
+
+ // Abandons a Release in the Delivery Pipeline.
+ rpc AbandonRelease(AbandonReleaseRequest) returns (AbandonReleaseResponse) {
+ option (google.api.http) = {
+ post: "/v1/{name=projects/*/locations/*/deliveryPipelines/*/releases/*}:abandon"
+ body: "*"
+ };
+ option (google.api.method_signature) = "name";
+ }
+
+ // Approves a Rollout.
+ rpc ApproveRollout(ApproveRolloutRequest) returns (ApproveRolloutResponse) {
+ option (google.api.http) = {
+ post: "/v1/{name=projects/*/locations/*/deliveryPipelines/*/releases/*/rollouts/*}:approve"
+ body: "*"
+ };
+ option (google.api.method_signature) = "name";
+ }
+
+ // Lists Rollouts in a given project and location.
+ rpc ListRollouts(ListRolloutsRequest) returns (ListRolloutsResponse) {
+ option (google.api.http) = {
+ get: "/v1/{parent=projects/*/locations/*/deliveryPipelines/*/releases/*}/rollouts"
+ };
+ option (google.api.method_signature) = "parent";
+ }
+
+ // Gets details of a single Rollout.
+ rpc GetRollout(GetRolloutRequest) returns (Rollout) {
+ option (google.api.http) = {
+ get: "/v1/{name=projects/*/locations/*/deliveryPipelines/*/releases/*/rollouts/*}"
+ };
+ option (google.api.method_signature) = "name";
+ }
+
+ // Creates a new Rollout in a given project and location.
+ rpc CreateRollout(CreateRolloutRequest) returns (google.longrunning.Operation) {
+ option (google.api.http) = {
+ post: "/v1/{parent=projects/*/locations/*/deliveryPipelines/*/releases/*}/rollouts"
+ body: "rollout"
+ };
+ option (google.api.method_signature) = "parent,rollout,rollout_id";
+ option (google.longrunning.operation_info) = {
+ response_type: "Rollout"
+ metadata_type: "OperationMetadata"
+ };
+ }
+
+ // Retries the specified Job in a Rollout.
+ rpc RetryJob(RetryJobRequest) returns (RetryJobResponse) {
+ option (google.api.http) = {
+ post: "/v1/{rollout=projects/*/locations/*/deliveryPipelines/*/releases/*/rollouts/*}:retryJob"
+ body: "*"
+ };
+ option (google.api.method_signature) = "rollout,phase_id,job_id";
+ }
+
+ // Lists JobRuns in a given project and location.
+ rpc ListJobRuns(ListJobRunsRequest) returns (ListJobRunsResponse) {
+ option (google.api.http) = {
+ get: "/v1/{parent=projects/*/locations/*/deliveryPipelines/*/releases/*/rollouts/*}/jobRuns"
+ };
+ option (google.api.method_signature) = "parent";
+ }
+
+ // Gets details of a single JobRun.
+ rpc GetJobRun(GetJobRunRequest) returns (JobRun) {
+ option (google.api.http) = {
+ get: "/v1/{name=projects/*/locations/*/deliveryPipelines/*/releases/*/rollouts/*/jobRuns/*}"
+ };
+ option (google.api.method_signature) = "name";
+ }
+
+ // Gets the configuration for a location.
+ rpc GetConfig(GetConfigRequest) returns (Config) {
+ option (google.api.http) = {
+ get: "/v1/{name=projects/*/locations/*/config}"
+ };
+ option (google.api.method_signature) = "name";
+ }
+}
+
+// A `DeliveryPipeline` resource in the Google Cloud Deploy API.
+//
+// A `DeliveryPipeline` defines a pipeline through which a Skaffold
+// configuration can progress.
+message DeliveryPipeline {
+ option (google.api.resource) = {
+ type: "clouddeploy.googleapis.com/DeliveryPipeline"
+ pattern: "projects/{project}/locations/{location}/deliveryPipelines/{delivery_pipeline}"
+ };
+
+ // Optional. Name of the `DeliveryPipeline`. Format is projects/{project}/
+ // locations/{location}/deliveryPipelines/[a-z][a-z0-9\-]{0,62}.
+ string name = 1 [(google.api.field_behavior) = OPTIONAL];
+
+ // Output only. Unique identifier of the `DeliveryPipeline`.
+ string uid = 2 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Description of the `DeliveryPipeline`. Max length is 255 characters.
+ string description = 3;
+
+ // User annotations. These attributes can only be set and used by the
+ // user, and not by Google Cloud Deploy.
+ map annotations = 4;
+
+ // Labels are attributes that can be set and used by both the
+ // user and by Google Cloud Deploy. Labels must meet the following
+ // constraints:
+ //
+ // * Keys and values can contain only lowercase letters, numeric characters,
+ // underscores, and dashes.
+ // * All characters must use UTF-8 encoding, and international characters are
+ // allowed.
+ // * Keys must start with a lowercase letter or international character.
+ // * Each resource is limited to a maximum of 64 labels.
+ //
+ // Both keys and values are additionally constrained to be <= 128 bytes.
+ map labels = 5;
+
+ // Output only. Time at which the pipeline was created.
+ google.protobuf.Timestamp create_time = 6 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Output only. Most recent time at which the pipeline was updated.
+ google.protobuf.Timestamp update_time = 7 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // The ordering configuration of the `DeliveryPipeline`.
+ oneof pipeline {
+ // SerialPipeline defines a sequential set of stages for a
+ // `DeliveryPipeline`.
+ SerialPipeline serial_pipeline = 8;
+ }
+
+ // Output only. Information around the state of the Delivery Pipeline.
+ PipelineCondition condition = 11 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // This checksum is computed by the server based on the value of other
+ // fields, and may be sent on update and delete requests to ensure the
+ // client has an up-to-date value before proceeding.
+ string etag = 10;
+
+ // When suspended, no new releases or rollouts can be created,
+ // but in-progress ones will complete.
+ bool suspended = 12;
+}
+
+// SerialPipeline defines a sequential set of stages for a `DeliveryPipeline`.
+message SerialPipeline {
+ // Each stage specifies configuration for a `Target`. The ordering
+ // of this list defines the promotion flow.
+ repeated Stage stages = 1;
+}
+
+// Stage specifies a location to which to deploy.
+message Stage {
+ // The target_id to which this stage points. This field refers exclusively to
+ // the last segment of a target name. For example, this field would just be
+ // `my-target` (rather than
+ // `projects/project/locations/location/targets/my-target`). The location of
+ // the `Target` is inferred to be the same as the location of the
+ // `DeliveryPipeline` that contains this `Stage`.
+ string target_id = 1;
+
+ // Skaffold profiles to use when rendering the manifest for this stage's
+ // `Target`.
+ repeated string profiles = 2;
+
+ // Optional. The strategy to use for a `Rollout` to this stage.
+ Strategy strategy = 5 [(google.api.field_behavior) = OPTIONAL];
+}
+
+// Strategy contains deployment strategy information.
+message Strategy {
+ // Deployment strategy details.
+ oneof deployment_strategy {
+ // Standard deployment strategy executes a single deploy and allows
+ // verifying the deployment.
+ Standard standard = 1;
+ }
+}
+
+// Standard represents the standard deployment strategy.
+message Standard {
+ // Whether to verify a deployment.
+ bool verify = 1;
+}
+
+// PipelineReadyCondition contains information around the status of the
+// Pipeline.
+message PipelineReadyCondition {
+ // True if the Pipeline is in a valid state. Otherwise at least one condition
+ // in `PipelineCondition` is in an invalid state. Iterate over those
+ // conditions and see which condition(s) has status = false to find out what
+ // is wrong with the Pipeline.
+ bool status = 3;
+
+ // Last time the condition was updated.
+ google.protobuf.Timestamp update_time = 4;
+}
+
+// TargetsPresentCondition contains information on any Targets defined in
+// the Delivery Pipeline that do not actually exist.
+message TargetsPresentCondition {
+ // True if there aren't any missing Targets.
+ bool status = 1;
+
+ // The list of Target names that are missing. For example,
+ // projects/{project_id}/locations/{location_name}/targets/{target_name}.
+ repeated string missing_targets = 2 [(google.api.resource_reference) = {
+ type: "clouddeploy.googleapis.com/Target"
+ }];
+
+ // Last time the condition was updated.
+ google.protobuf.Timestamp update_time = 4;
+}
+
+// PipelineCondition contains all conditions relevant to a Delivery Pipeline.
+message PipelineCondition {
+ // Details around the Pipeline's overall status.
+ PipelineReadyCondition pipeline_ready_condition = 1;
+
+ // Detalis around targets enumerated in the pipeline.
+ TargetsPresentCondition targets_present_condition = 3;
+}
+
+// The request object for `ListDeliveryPipelines`.
+message ListDeliveryPipelinesRequest {
+ // Required. The parent, which owns this collection of pipelines. Format must be
+ // projects/{project_id}/locations/{location_name}.
+ string parent = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ child_type: "clouddeploy.googleapis.com/DeliveryPipeline"
+ }
+ ];
+
+ // The maximum number of pipelines to return. The service may return
+ // fewer than this value. If unspecified, at most 50 pipelines will
+ // be returned. The maximum value is 1000; values above 1000 will be set
+ // to 1000.
+ int32 page_size = 2;
+
+ // A page token, received from a previous `ListDeliveryPipelines` call.
+ // Provide this to retrieve the subsequent page.
+ //
+ // When paginating, all other provided parameters match
+ // the call that provided the page token.
+ string page_token = 3;
+
+ // Filter pipelines to be returned. See https://google.aip.dev/160 for more
+ // details.
+ string filter = 4;
+
+ // Field to sort by. See https://google.aip.dev/132#ordering for more details.
+ string order_by = 5;
+}
+
+// The response object from `ListDeliveryPipelines`.
+message ListDeliveryPipelinesResponse {
+ // The `DeliveryPipeline` objects.
+ repeated DeliveryPipeline delivery_pipelines = 1;
+
+ // A token, which can be sent as `page_token` to retrieve the next page.
+ // If this field is omitted, there are no subsequent pages.
+ string next_page_token = 2;
+
+ // Locations that could not be reached.
+ repeated string unreachable = 3;
+}
+
+// The request object for `GetDeliveryPipeline`
+message GetDeliveryPipelineRequest {
+ // Required. Name of the `DeliveryPipeline`. Format must be
+ // projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}.
+ string name = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ type: "clouddeploy.googleapis.com/DeliveryPipeline"
+ }
+ ];
+}
+
+// The request object for `CreateDeliveryPipeline`.
+message CreateDeliveryPipelineRequest {
+ // Required. The parent collection in which the `DeliveryPipeline` should be created.
+ // Format should be projects/{project_id}/locations/{location_name}.
+ string parent = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ child_type: "clouddeploy.googleapis.com/DeliveryPipeline"
+ }
+ ];
+
+ // Required. ID of the `DeliveryPipeline`.
+ string delivery_pipeline_id = 2 [(google.api.field_behavior) = REQUIRED];
+
+ // Required. The `DeliveryPipeline` to create.
+ DeliveryPipeline delivery_pipeline = 3 [(google.api.field_behavior) = REQUIRED];
+
+ // Optional. A request ID to identify requests. Specify a unique request ID
+ // so that if you must retry your request, the server will know to ignore
+ // the request if it has already been completed. The server will guarantee
+ // that for at least 60 minutes since the first request.
+ //
+ // For example, consider a situation where you make an initial request and the
+ // request times out. If you make the request again with the same request ID,
+ // the server can check if original operation with the same request ID was
+ // received, and if so, will ignore the second request. This prevents clients
+ // from accidentally creating duplicate commitments.
+ //
+ // The request ID must be a valid UUID with the exception that zero UUID is
+ // not supported (00000000-0000-0000-0000-000000000000).
+ string request_id = 4 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. If set to true, the request is validated and the user is provided with
+ // an expected result, but no actual change is made.
+ bool validate_only = 5 [(google.api.field_behavior) = OPTIONAL];
+}
+
+// The request object for `UpdateDeliveryPipeline`.
+message UpdateDeliveryPipelineRequest {
+ // Required. Field mask is used to specify the fields to be overwritten in the
+ // `DeliveryPipeline` resource by the update.
+ // The fields specified in the update_mask are relative to the resource, not
+ // the full request. A field will be overwritten if it is in the mask. If the
+ // user does not provide a mask then all fields will be overwritten.
+ google.protobuf.FieldMask update_mask = 1 [(google.api.field_behavior) = REQUIRED];
+
+ // Required. The `DeliveryPipeline` to update.
+ DeliveryPipeline delivery_pipeline = 2 [(google.api.field_behavior) = REQUIRED];
+
+ // Optional. A request ID to identify requests. Specify a unique request ID
+ // so that if you must retry your request, the server will know to ignore
+ // the request if it has already been completed. The server will guarantee
+ // that for at least 60 minutes since the first request.
+ //
+ // For example, consider a situation where you make an initial request and the
+ // request times out. If you make the request again with the same request ID,
+ // the server can check if original operation with the same request ID was
+ // received, and if so, will ignore the second request. This prevents clients
+ // from accidentally creating duplicate commitments.
+ //
+ // The request ID must be a valid UUID with the exception that zero UUID is
+ // not supported (00000000-0000-0000-0000-000000000000).
+ string request_id = 3 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. If set to true, updating a `DeliveryPipeline` that does not exist will
+ // result in the creation of a new `DeliveryPipeline`.
+ bool allow_missing = 4 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. If set to true, the request is validated and the user is provided with
+ // an expected result, but no actual change is made.
+ bool validate_only = 5 [(google.api.field_behavior) = OPTIONAL];
+}
+
+// The request object for `DeleteDeliveryPipeline`.
+message DeleteDeliveryPipelineRequest {
+ // Required. The name of the `DeliveryPipeline` to delete. Format should be
+ // projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}.
+ string name = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ type: "clouddeploy.googleapis.com/DeliveryPipeline"
+ }
+ ];
+
+ // Optional. A request ID to identify requests. Specify a unique request ID
+ // so that if you must retry your request, the server will know to ignore
+ // the request if it has already been completed. The server will guarantee
+ // that for at least 60 minutes after the first request.
+ //
+ // For example, consider a situation where you make an initial request and the
+ // request times out. If you make the request again with the same request ID,
+ // the server can check if original operation with the same request ID was
+ // received, and if so, will ignore the second request. This prevents clients
+ // from accidentally creating duplicate commitments.
+ //
+ // The request ID must be a valid UUID with the exception that zero UUID is
+ // not supported (00000000-0000-0000-0000-000000000000).
+ string request_id = 2 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. If set to true, then deleting an already deleted or non-existing
+ // `DeliveryPipeline` will succeed.
+ bool allow_missing = 3 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. If set, validate the request and preview the review, but do not actually
+ // post it.
+ bool validate_only = 4 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. If set to true, all child resources under this pipeline will also be
+ // deleted. Otherwise, the request will only work if the pipeline has
+ // no child resources.
+ bool force = 6 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. This checksum is computed by the server based on the value of other
+ // fields, and may be sent on update and delete requests to ensure the
+ // client has an up-to-date value before proceeding.
+ string etag = 5 [(google.api.field_behavior) = OPTIONAL];
+}
+
+// A `Target` resource in the Google Cloud Deploy API.
+//
+// A `Target` defines a location to which a Skaffold configuration
+// can be deployed.
+message Target {
+ option (google.api.resource) = {
+ type: "clouddeploy.googleapis.com/Target"
+ pattern: "projects/{project}/locations/{location}/targets/{target}"
+ };
+
+ // Optional. Name of the `Target`. Format is
+ // projects/{project}/locations/{location}/targets/[a-z][a-z0-9\-]{0,62}.
+ string name = 1 [(google.api.field_behavior) = OPTIONAL];
+
+ // Output only. Resource id of the `Target`.
+ string target_id = 2 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Output only. Unique identifier of the `Target`.
+ string uid = 3 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Optional. Description of the `Target`. Max length is 255 characters.
+ string description = 4 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. User annotations. These attributes can only be set and used by the
+ // user, and not by Google Cloud Deploy. See
+ // https://google.aip.dev/128#annotations for more details such as format and
+ // size limitations.
+ map annotations = 5 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. Labels are attributes that can be set and used by both the
+ // user and by Google Cloud Deploy. Labels must meet the following
+ // constraints:
+ //
+ // * Keys and values can contain only lowercase letters, numeric characters,
+ // underscores, and dashes.
+ // * All characters must use UTF-8 encoding, and international characters are
+ // allowed.
+ // * Keys must start with a lowercase letter or international character.
+ // * Each resource is limited to a maximum of 64 labels.
+ //
+ // Both keys and values are additionally constrained to be <= 128 bytes.
+ map labels = 6 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. Whether or not the `Target` requires approval.
+ bool require_approval = 13 [(google.api.field_behavior) = OPTIONAL];
+
+ // Output only. Time at which the `Target` was created.
+ google.protobuf.Timestamp create_time = 8 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Output only. Most recent time at which the `Target` was updated.
+ google.protobuf.Timestamp update_time = 9 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Destination to which the Skaffold configuration is applied during a
+ // rollout.
+ oneof deployment_target {
+ // Information specifying a GKE Cluster.
+ GkeCluster gke = 15;
+
+ // Information specifying an Anthos Cluster.
+ AnthosCluster anthos_cluster = 17;
+
+ // Information specifying a Cloud Run deployment target.
+ CloudRunLocation run = 18;
+ }
+
+ // Optional. This checksum is computed by the server based on the value of other
+ // fields, and may be sent on update and delete requests to ensure the
+ // client has an up-to-date value before proceeding.
+ string etag = 12 [(google.api.field_behavior) = OPTIONAL];
+
+ // Configurations for all execution that relates to this `Target`.
+ // Each `ExecutionEnvironmentUsage` value may only be used in a single
+ // configuration; using the same value multiple times is an error.
+ // When one or more configurations are specified, they must include the
+ // `RENDER` and `DEPLOY` `ExecutionEnvironmentUsage` values.
+ // When no configurations are specified, execution will use the default
+ // specified in `DefaultPool`.
+ repeated ExecutionConfig execution_configs = 16;
+}
+
+// Configuration of the environment to use when calling Skaffold.
+message ExecutionConfig {
+ // Possible usages of this configuration.
+ enum ExecutionEnvironmentUsage {
+ // Default value. This value is unused.
+ EXECUTION_ENVIRONMENT_USAGE_UNSPECIFIED = 0;
+
+ // Use for rendering.
+ RENDER = 1;
+
+ // Use for deploying and deployment hooks.
+ DEPLOY = 2;
+
+ // Use for deployment verification.
+ VERIFY = 3;
+ }
+
+ // Required. Usages when this configuration should be applied.
+ repeated ExecutionEnvironmentUsage usages = 1 [(google.api.field_behavior) = REQUIRED];
+
+ // Details of the environment.
+ oneof execution_environment {
+ // Optional. Use default Cloud Build pool.
+ DefaultPool default_pool = 2 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. Use private Cloud Build pool.
+ PrivatePool private_pool = 3 [(google.api.field_behavior) = OPTIONAL];
+ }
+
+ // Optional. The resource name of the `WorkerPool`, with the format
+ // `projects/{project}/locations/{location}/workerPools/{worker_pool}`.
+ // If this optional field is unspecified, the default Cloud Build pool will be
+ // used.
+ string worker_pool = 4 [
+ (google.api.field_behavior) = OPTIONAL,
+ (google.api.resource_reference) = {
+ type: "cloudbuild.googleapis.com/WorkerPool"
+ }
+ ];
+
+ // Optional. Google service account to use for execution. If unspecified,
+ // the project execution service account
+ // (-compute@developer.gserviceaccount.com) is used.
+ string service_account = 5 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. Cloud Storage location in which to store execution outputs. This can
+ // either be a bucket ("gs://my-bucket") or a path within a bucket
+ // ("gs://my-bucket/my-dir").
+ // If unspecified, a default bucket located in the same region will be used.
+ string artifact_storage = 6 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. Execution timeout for a Cloud Build Execution. This must be between 10m and
+ // 24h in seconds format.
+ // If unspecified, a default timeout of 1h is used.
+ google.protobuf.Duration execution_timeout = 7 [(google.api.field_behavior) = OPTIONAL];
+}
+
+// Execution using the default Cloud Build pool.
+message DefaultPool {
+ // Optional. Google service account to use for execution. If unspecified,
+ // the project execution service account
+ // (-compute@developer.gserviceaccount.com) will be used.
+ string service_account = 1 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. Cloud Storage location where execution outputs should be stored. This can
+ // either be a bucket ("gs://my-bucket") or a path within a bucket
+ // ("gs://my-bucket/my-dir").
+ // If unspecified, a default bucket located in the same region will be used.
+ string artifact_storage = 2 [(google.api.field_behavior) = OPTIONAL];
+}
+
+// Execution using a private Cloud Build pool.
+message PrivatePool {
+ // Required. Resource name of the Cloud Build worker pool to use. The format is
+ // `projects/{project}/locations/{location}/workerPools/{pool}`.
+ string worker_pool = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ type: "cloudbuild.googleapis.com/WorkerPool"
+ }
+ ];
+
+ // Optional. Google service account to use for execution. If unspecified,
+ // the project execution service account
+ // (-compute@developer.gserviceaccount.com) will be used.
+ string service_account = 2 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. Cloud Storage location where execution outputs should be stored. This can
+ // either be a bucket ("gs://my-bucket") or a path within a bucket
+ // ("gs://my-bucket/my-dir").
+ // If unspecified, a default bucket located in the same region will be used.
+ string artifact_storage = 3 [(google.api.field_behavior) = OPTIONAL];
+}
+
+// Information specifying a GKE Cluster.
+message GkeCluster {
+ // Information specifying a GKE Cluster. Format is
+ // `projects/{project_id}/locations/{location_id}/clusters/{cluster_id}.
+ string cluster = 1 [(google.api.resource_reference) = {
+ type: "container.googleapis.com/Cluster"
+ }];
+
+ // Optional. If true, `cluster` is accessed using the private IP address of the control
+ // plane endpoint. Otherwise, the default IP address of the control plane
+ // endpoint is used. The default IP address is the private IP address for
+ // clusters with private control-plane endpoints and the public IP address
+ // otherwise.
+ //
+ // Only specify this option when `cluster` is a [private GKE
+ // cluster](https://cloud.google.com/kubernetes-engine/docs/concepts/private-cluster-concept).
+ bool internal_ip = 2 [(google.api.field_behavior) = OPTIONAL];
+}
+
+// Information specifying an Anthos Cluster.
+message AnthosCluster {
+ // Membership of the GKE Hub-registered cluster to which to apply the Skaffold
+ // configuration. Format is
+ // `projects/{project}/locations/{location}/memberships/{membership_name}`.
+ string membership = 1 [(google.api.resource_reference) = {
+ type: "gkehub.googleapis.com/Membership"
+ }];
+}
+
+// Information specifying where to deploy a Cloud Run Service.
+message CloudRunLocation {
+ // Required. The location for the Cloud Run Service. Format must be
+ // `projects/{project}/locations/{location}`.
+ string location = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ type: "locations.googleapis.com/Location"
+ }
+ ];
+}
+
+// The request object for `ListTargets`.
+message ListTargetsRequest {
+ // Required. The parent, which owns this collection of targets. Format must be
+ // projects/{project_id}/locations/{location_name}.
+ string parent = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ child_type: "clouddeploy.googleapis.com/Target"
+ }
+ ];
+
+ // Optional. The maximum number of `Target` objects to return. The service may return
+ // fewer than this value. If unspecified, at most 50 `Target` objects will be
+ // returned. The maximum value is 1000; values above 1000 will be set to 1000.
+ int32 page_size = 2 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. A page token, received from a previous `ListTargets` call.
+ // Provide this to retrieve the subsequent page.
+ //
+ // When paginating, all other provided parameters match
+ // the call that provided the page token.
+ string page_token = 3 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. Filter targets to be returned. See https://google.aip.dev/160 for more
+ // details.
+ string filter = 4 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. Field to sort by. See https://google.aip.dev/132#ordering for more details.
+ string order_by = 5 [(google.api.field_behavior) = OPTIONAL];
+}
+
+// The response object from `ListTargets`.
+message ListTargetsResponse {
+ // The `Target` objects.
+ repeated Target targets = 1;
+
+ // A token, which can be sent as `page_token` to retrieve the next page.
+ // If this field is omitted, there are no subsequent pages.
+ string next_page_token = 2;
+
+ // Locations that could not be reached.
+ repeated string unreachable = 3;
+}
+
+// The request object for `GetTarget`.
+message GetTargetRequest {
+ // Required. Name of the `Target`. Format must be
+ // projects/{project_id}/locations/{location_name}/targets/{target_name}.
+ string name = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ type: "clouddeploy.googleapis.com/Target"
+ }
+ ];
+}
+
+// The request object for `CreateTarget`.
+message CreateTargetRequest {
+ // Required. The parent collection in which the `Target` should be created.
+ // Format should be
+ // projects/{project_id}/locations/{location_name}.
+ string parent = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ child_type: "clouddeploy.googleapis.com/Target"
+ }
+ ];
+
+ // Required. ID of the `Target`.
+ string target_id = 2 [(google.api.field_behavior) = REQUIRED];
+
+ // Required. The `Target` to create.
+ Target target = 3 [(google.api.field_behavior) = REQUIRED];
+
+ // Optional. A request ID to identify requests. Specify a unique request ID
+ // so that if you must retry your request, the server will know to ignore
+ // the request if it has already been completed. The server will guarantee
+ // that for at least 60 minutes since the first request.
+ //
+ // For example, consider a situation where you make an initial request and the
+ // request times out. If you make the request again with the same request ID,
+ // the server can check if original operation with the same request ID was
+ // received, and if so, will ignore the second request. This prevents clients
+ // from accidentally creating duplicate commitments.
+ //
+ // The request ID must be a valid UUID with the exception that zero UUID is
+ // not supported (00000000-0000-0000-0000-000000000000).
+ string request_id = 4 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. If set to true, the request is validated and the user is provided with
+ // an expected result, but no actual change is made.
+ bool validate_only = 5 [(google.api.field_behavior) = OPTIONAL];
+}
+
+// The request object for `UpdateTarget`.
+message UpdateTargetRequest {
+ // Required. Field mask is used to specify the fields to be overwritten in the
+ // Target resource by the update.
+ // The fields specified in the update_mask are relative to the resource, not
+ // the full request. A field will be overwritten if it is in the mask. If the
+ // user does not provide a mask then all fields will be overwritten.
+ google.protobuf.FieldMask update_mask = 1 [(google.api.field_behavior) = REQUIRED];
+
+ // Required. The `Target` to update.
+ Target target = 2 [(google.api.field_behavior) = REQUIRED];
+
+ // Optional. A request ID to identify requests. Specify a unique request ID
+ // so that if you must retry your request, the server will know to ignore
+ // the request if it has already been completed. The server will guarantee
+ // that for at least 60 minutes since the first request.
+ //
+ // For example, consider a situation where you make an initial request and the
+ // request times out. If you make the request again with the same request ID,
+ // the server can check if original operation with the same request ID was
+ // received, and if so, will ignore the second request. This prevents clients
+ // from accidentally creating duplicate commitments.
+ //
+ // The request ID must be a valid UUID with the exception that zero UUID is
+ // not supported (00000000-0000-0000-0000-000000000000).
+ string request_id = 3 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. If set to true, updating a `Target` that does not exist will
+ // result in the creation of a new `Target`.
+ bool allow_missing = 4 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. If set to true, the request is validated and the user is provided with
+ // an expected result, but no actual change is made.
+ bool validate_only = 5 [(google.api.field_behavior) = OPTIONAL];
+}
+
+// The request object for `DeleteTarget`.
+message DeleteTargetRequest {
+ // Required. The name of the `Target` to delete. Format should be
+ // projects/{project_id}/locations/{location_name}/targets/{target_name}.
+ string name = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ type: "clouddeploy.googleapis.com/Target"
+ }
+ ];
+
+ // Optional. A request ID to identify requests. Specify a unique request ID
+ // so that if you must retry your request, the server will know to ignore
+ // the request if it has already been completed. The server will guarantee
+ // that for at least 60 minutes after the first request.
+ //
+ // For example, consider a situation where you make an initial request and the
+ // request times out. If you make the request again with the same request ID,
+ // the server can check if original operation with the same request ID was
+ // received, and if so, will ignore the second request. This prevents clients
+ // from accidentally creating duplicate commitments.
+ //
+ // The request ID must be a valid UUID with the exception that zero UUID is
+ // not supported (00000000-0000-0000-0000-000000000000).
+ string request_id = 2 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. If set to true, then deleting an already deleted or non-existing
+ // DeliveryPipeline will succeed.
+ bool allow_missing = 3 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. If set, validate the request and preview the review, but do not actually
+ // post it.
+ bool validate_only = 4 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. This checksum is computed by the server based on the value of other
+ // fields, and may be sent on update and delete requests to ensure the
+ // client has an up-to-date value before proceeding.
+ string etag = 5 [(google.api.field_behavior) = OPTIONAL];
+}
+
+// A `Release` resource in the Google Cloud Deploy API.
+//
+// A `Release` defines a specific Skaffold configuration instance
+// that can be deployed.
+message Release {
+ option (google.api.resource) = {
+ type: "clouddeploy.googleapis.com/Release"
+ pattern: "projects/{project}/locations/{location}/deliveryPipelines/{delivery_pipeline}/releases/{release}"
+ };
+
+ // Valid states of the render operation.
+ enum RenderState {
+ // The render state is unspecified.
+ RENDER_STATE_UNSPECIFIED = 0;
+
+ // All rendering operations have completed successfully.
+ SUCCEEDED = 1;
+
+ // All rendering operations have completed, and one or more have failed.
+ FAILED = 2;
+
+ // Rendering has started and is not complete.
+ IN_PROGRESS = 3;
+ }
+
+ // Details of rendering for a single target.
+ message TargetRender {
+ // Valid states of the render operation.
+ enum TargetRenderState {
+ // The render operation state is unspecified.
+ TARGET_RENDER_STATE_UNSPECIFIED = 0;
+
+ // The render operation has completed successfully.
+ SUCCEEDED = 1;
+
+ // The render operation has failed.
+ FAILED = 2;
+
+ // The render operation is in progress.
+ IN_PROGRESS = 3;
+ }
+
+ // Well-known rendering failures.
+ enum FailureCause {
+ // No reason for failure is specified.
+ FAILURE_CAUSE_UNSPECIFIED = 0;
+
+ // Cloud Build is not available, either because it is not enabled or
+ // because Google Cloud Deploy has insufficient permissions. See [required
+ // permission](/deploy/docs/cloud-deploy-service-account#required_permissions).
+ CLOUD_BUILD_UNAVAILABLE = 1;
+
+ // The render operation did not complete successfully; check Cloud Build
+ // logs.
+ EXECUTION_FAILED = 2;
+ }
+
+ // Output only. The resource name of the Cloud Build `Build` object that is used to
+ // render the manifest for this target. Format is
+ // `projects/{project}/locations/{location}/builds/{build}`.
+ string rendering_build = 1 [
+ (google.api.field_behavior) = OUTPUT_ONLY,
+ (google.api.resource_reference) = {
+ type: "cloudbuild.googleapis.com/Build"
+ }
+ ];
+
+ // Output only. Current state of the render operation for this Target.
+ TargetRenderState rendering_state = 2 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Output only. Reason this render failed. This will always be unspecified while the
+ // render in progress.
+ FailureCause failure_cause = 4 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Output only. Additional information about the render failure, if available.
+ string failure_message = 5 [(google.api.field_behavior) = OUTPUT_ONLY];
+ }
+
+ // Optional. Name of the `Release`. Format is projects/{project}/
+ // locations/{location}/deliveryPipelines/{deliveryPipeline}/
+ // releases/[a-z][a-z0-9\-]{0,62}.
+ string name = 1 [(google.api.field_behavior) = OPTIONAL];
+
+ // Output only. Unique identifier of the `Release`.
+ string uid = 2 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Description of the `Release`. Max length is 255 characters.
+ string description = 3;
+
+ // User annotations. These attributes can only be set and used by the
+ // user, and not by Google Cloud Deploy. See
+ // https://google.aip.dev/128#annotations for more details such as format and
+ // size limitations.
+ map annotations = 4;
+
+ // Labels are attributes that can be set and used by both the
+ // user and by Google Cloud Deploy. Labels must meet the following
+ // constraints:
+ //
+ // * Keys and values can contain only lowercase letters, numeric characters,
+ // underscores, and dashes.
+ // * All characters must use UTF-8 encoding, and international characters are
+ // allowed.
+ // * Keys must start with a lowercase letter or international character.
+ // * Each resource is limited to a maximum of 64 labels.
+ //
+ // Both keys and values are additionally constrained to be <= 128 bytes.
+ map labels = 5;
+
+ // Output only. Indicates whether this is an abandoned release.
+ bool abandoned = 23 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Output only. Time at which the `Release` was created.
+ google.protobuf.Timestamp create_time = 6 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Output only. Time at which the render began.
+ google.protobuf.Timestamp render_start_time = 7 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Output only. Time at which the render completed.
+ google.protobuf.Timestamp render_end_time = 8 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Cloud Storage URI of tar.gz archive containing Skaffold configuration.
+ string skaffold_config_uri = 17;
+
+ // Filepath of the Skaffold config inside of the config URI.
+ string skaffold_config_path = 9;
+
+ // List of artifacts to pass through to Skaffold command.
+ repeated BuildArtifact build_artifacts = 10;
+
+ // Output only. Snapshot of the parent pipeline taken at release creation time.
+ DeliveryPipeline delivery_pipeline_snapshot = 11 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Output only. Snapshot of the targets taken at release creation time.
+ repeated Target target_snapshots = 12 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Output only. Current state of the render operation.
+ RenderState render_state = 13 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // This checksum is computed by the server based on the value of other
+ // fields, and may be sent on update and delete requests to ensure the
+ // client has an up-to-date value before proceeding.
+ string etag = 16;
+
+ // The Skaffold version to use when operating on this release, such as
+ // "1.20.0". Not all versions are valid; Google Cloud Deploy supports a
+ // specific set of versions.
+ //
+ // If unset, the most recent supported Skaffold version will be used.
+ string skaffold_version = 19;
+
+ // Output only. Map from target ID to the target artifacts created
+ // during the render operation.
+ map target_artifacts = 20 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Output only. Map from target ID to details of the render operation for that target.
+ map target_renders = 22 [(google.api.field_behavior) = OUTPUT_ONLY];
+}
+
+// Description of an a image to use during Skaffold rendering.
+message BuildArtifact {
+ // Image name in Skaffold configuration.
+ string image = 3;
+
+ // Image tag to use. This will generally be the full path to an image, such
+ // as "gcr.io/my-project/busybox:1.2.3" or
+ // "gcr.io/my-project/busybox@sha256:abc123".
+ string tag = 2;
+}
+
+// The artifacts produced by a target render operation.
+message TargetArtifact {
+ oneof uri {
+ // Output only. URI of a directory containing the artifacts. This contains
+ // deployment configuration used by Skaffold during a rollout, and all
+ // paths are relative to this location.
+ string artifact_uri = 4 [(google.api.field_behavior) = OUTPUT_ONLY];
+ }
+
+ // Output only. File path of the resolved Skaffold configuration relative to the URI.
+ string skaffold_config_path = 2 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Output only. File path of the rendered manifest relative to the URI.
+ string manifest_path = 3 [(google.api.field_behavior) = OUTPUT_ONLY];
+}
+
+// The request object for `ListReleases`.
+message ListReleasesRequest {
+ // Required. The `DeliveryPipeline` which owns this collection of `Release` objects.
+ string parent = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ type: "clouddeploy.googleapis.com/DeliveryPipeline"
+ }
+ ];
+
+ // Optional. The maximum number of `Release` objects to return. The service may return
+ // fewer than this value. If unspecified, at most 50 `Release` objects will be
+ // returned. The maximum value is 1000; values above 1000 will be set to 1000.
+ int32 page_size = 2 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. A page token, received from a previous `ListReleases` call.
+ // Provide this to retrieve the subsequent page.
+ //
+ // When paginating, all other provided parameters match
+ // the call that provided the page token.
+ string page_token = 3 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. Filter releases to be returned. See https://google.aip.dev/160 for more
+ // details.
+ string filter = 4 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. Field to sort by. See https://google.aip.dev/132#ordering for more details.
+ string order_by = 5 [(google.api.field_behavior) = OPTIONAL];
+}
+
+// The response object from `ListReleases`.
+message ListReleasesResponse {
+ // The `Release` objects.
+ repeated Release releases = 1;
+
+ // A token, which can be sent as `page_token` to retrieve the next page.
+ // If this field is omitted, there are no subsequent pages.
+ string next_page_token = 2;
+
+ // Locations that could not be reached.
+ repeated string unreachable = 3;
+}
+
+// The request object for `GetRelease`.
+message GetReleaseRequest {
+ // Required. Name of the `Release`. Format must be
+ // projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}/releases/{release_name}.
+ string name = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ type: "clouddeploy.googleapis.com/Release"
+ }
+ ];
+}
+
+// The request object for `CreateRelease`,
+message CreateReleaseRequest {
+ // Required. The parent collection in which the `Release` should be created.
+ // Format should be
+ // projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}.
+ string parent = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ type: "clouddeploy.googleapis.com/DeliveryPipeline"
+ }
+ ];
+
+ // Required. ID of the `Release`.
+ string release_id = 2 [(google.api.field_behavior) = REQUIRED];
+
+ // Required. The `Release` to create.
+ Release release = 3 [(google.api.field_behavior) = REQUIRED];
+
+ // Optional. A request ID to identify requests. Specify a unique request ID
+ // so that if you must retry your request, the server will know to ignore
+ // the request if it has already been completed. The server will guarantee
+ // that for at least 60 minutes since the first request.
+ //
+ // For example, consider a situation where you make an initial request and the
+ // request times out. If you make the request again with the same request ID,
+ // the server can check if original operation with the same request ID was
+ // received, and if so, will ignore the second request. This prevents clients
+ // from accidentally creating duplicate commitments.
+ //
+ // The request ID must be a valid UUID with the exception that zero UUID is
+ // not supported (00000000-0000-0000-0000-000000000000).
+ string request_id = 4 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. If set to true, the request is validated and the user is provided with
+ // an expected result, but no actual change is made.
+ bool validate_only = 5 [(google.api.field_behavior) = OPTIONAL];
+}
+
+// A `Rollout` resource in the Google Cloud Deploy API.
+//
+// A `Rollout` contains information around a specific deployment to a `Target`.
+message Rollout {
+ option (google.api.resource) = {
+ type: "clouddeploy.googleapis.com/Rollout"
+ pattern: "projects/{project}/locations/{location}/deliveryPipelines/{delivery_pipeline}/releases/{release}/rollouts/{rollout}"
+ };
+
+ // Valid approval states of a `Rollout`.
+ enum ApprovalState {
+ // The `Rollout` has an unspecified approval state.
+ APPROVAL_STATE_UNSPECIFIED = 0;
+
+ // The `Rollout` requires approval.
+ NEEDS_APPROVAL = 1;
+
+ // The `Rollout` does not require approval.
+ DOES_NOT_NEED_APPROVAL = 2;
+
+ // The `Rollout` has been approved.
+ APPROVED = 3;
+
+ // The `Rollout` has been rejected.
+ REJECTED = 4;
+ }
+
+ // Valid states of a `Rollout`.
+ enum State {
+ // The `Rollout` has an unspecified state.
+ STATE_UNSPECIFIED = 0;
+
+ // The `Rollout` has completed successfully.
+ SUCCEEDED = 1;
+
+ // The `Rollout` has failed.
+ FAILED = 2;
+
+ // The `Rollout` is being deployed.
+ IN_PROGRESS = 3;
+
+ // The `Rollout` needs approval.
+ PENDING_APPROVAL = 4;
+
+ // An approver rejected the `Rollout`.
+ APPROVAL_REJECTED = 5;
+
+ // The `Rollout` is waiting for an earlier Rollout(s) to complete on this
+ // `Target`.
+ PENDING = 6;
+
+ // The `Rollout` is waiting for the `Release` to be fully rendered.
+ PENDING_RELEASE = 7;
+ }
+
+ // Well-known rollout failures.
+ enum FailureCause {
+ // No reason for failure is specified.
+ FAILURE_CAUSE_UNSPECIFIED = 0;
+
+ // Cloud Build is not available, either because it is not enabled or because
+ // Cloud Deploy has insufficient permissions. See [required
+ // permission](/deploy/docs/cloud-deploy-service-account#required_permissions).
+ CLOUD_BUILD_UNAVAILABLE = 1;
+
+ // The deploy operation did not complete successfully; check Cloud Build
+ // logs.
+ EXECUTION_FAILED = 2;
+
+ // Deployment did not complete within the alloted time.
+ DEADLINE_EXCEEDED = 3;
+
+ // Release is in a failed state.
+ RELEASE_FAILED = 4;
+
+ // Release is abandoned.
+ RELEASE_ABANDONED = 5;
+
+ // No skaffold verify configuration was found.
+ VERIFICATION_CONFIG_NOT_FOUND = 6;
+ }
+
+ // Optional. Name of the `Rollout`. Format is projects/{project}/
+ // locations/{location}/deliveryPipelines/{deliveryPipeline}/
+ // releases/{release}/rollouts/[a-z][a-z0-9\-]{0,62}.
+ string name = 1 [(google.api.field_behavior) = OPTIONAL];
+
+ // Output only. Unique identifier of the `Rollout`.
+ string uid = 2 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Description of the `Rollout` for user purposes. Max length is 255
+ // characters.
+ string description = 3;
+
+ // User annotations. These attributes can only be set and used by the
+ // user, and not by Google Cloud Deploy. See
+ // https://google.aip.dev/128#annotations for more details such as format and
+ // size limitations.
+ map annotations = 4;
+
+ // Labels are attributes that can be set and used by both the
+ // user and by Google Cloud Deploy. Labels must meet the following
+ // constraints:
+ //
+ // * Keys and values can contain only lowercase letters, numeric characters,
+ // underscores, and dashes.
+ // * All characters must use UTF-8 encoding, and international characters are
+ // allowed.
+ // * Keys must start with a lowercase letter or international character.
+ // * Each resource is limited to a maximum of 64 labels.
+ //
+ // Both keys and values are additionally constrained to be <= 128 bytes.
+ map labels = 5;
+
+ // Output only. Time at which the `Rollout` was created.
+ google.protobuf.Timestamp create_time = 6 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Output only. Time at which the `Rollout` was approved.
+ google.protobuf.Timestamp approve_time = 7 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Output only. Time at which the `Rollout` was enqueued.
+ google.protobuf.Timestamp enqueue_time = 8 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Output only. Time at which the `Rollout` started deploying.
+ google.protobuf.Timestamp deploy_start_time = 9 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Output only. Time at which the `Rollout` finished deploying.
+ google.protobuf.Timestamp deploy_end_time = 10 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Required. The ID of Target to which this `Rollout` is deploying.
+ string target_id = 18 [(google.api.field_behavior) = REQUIRED];
+
+ // Output only. Approval state of the `Rollout`.
+ ApprovalState approval_state = 12 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Output only. Current state of the `Rollout`.
+ State state = 13 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Output only. Additional information about the rollout failure, if available.
+ string failure_reason = 14 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Output only. The resource name of the Cloud Build `Build` object that is used to deploy
+ // the Rollout. Format is
+ // `projects/{project}/locations/{location}/builds/{build}`.
+ string deploying_build = 17 [
+ (google.api.field_behavior) = OUTPUT_ONLY,
+ (google.api.resource_reference) = {
+ type: "cloudbuild.googleapis.com/Build"
+ }
+ ];
+
+ // This checksum is computed by the server based on the value of other
+ // fields, and may be sent on update and delete requests to ensure the
+ // client has an up-to-date value before proceeding.
+ string etag = 16;
+
+ // Output only. The reason this rollout failed. This will always be unspecified while the
+ // rollout is in progress.
+ FailureCause deploy_failure_cause = 19 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Output only. The phases that represent the workflows of this `Rollout`.
+ repeated Phase phases = 23 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Output only. Metadata contains information about the rollout.
+ Metadata metadata = 24 [(google.api.field_behavior) = OUTPUT_ONLY];
+}
+
+// Metadata includes information associated with a `Rollout`.
+message Metadata {
+ // Output only. The name of the Cloud Run Service that is associated with a `Rollout`.
+ CloudRunMetadata cloud_run = 1 [(google.api.field_behavior) = OUTPUT_ONLY];
+}
+
+// DeployJobRunMetadata surfaces information associated with a `DeployJobRun` to
+// the user.
+message DeployJobRunMetadata {
+ // Output only. The name of the Cloud Run Service that is associated with a `DeployJobRun`.
+ CloudRunMetadata cloud_run = 1 [(google.api.field_behavior) = OUTPUT_ONLY];
+}
+
+// CloudRunMetadata contains information from a Cloud Run deployment.
+message CloudRunMetadata {
+ // Output only. The name of the Cloud Run Service that is associated with a `Rollout`.
+ // Format is projects/{project}/locations/{location}/services/{service}.
+ string service = 1 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Output only. The Cloud Run Service urls that are associated with a `Rollout`.
+ repeated string service_urls = 2 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Output only. The Cloud Run Revision id associated with a `Rollout`.
+ string revision = 3 [(google.api.field_behavior) = OUTPUT_ONLY];
+}
+
+// Phase represents a collection of jobs that are logically grouped together
+// for a `Rollout`.
+message Phase {
+ // Valid states of a Phase.
+ enum State {
+ // The Phase has an unspecified state.
+ STATE_UNSPECIFIED = 0;
+
+ // The Phase is waiting for an earlier Phase(s) to complete.
+ PENDING = 1;
+
+ // The Phase is in progress.
+ IN_PROGRESS = 2;
+
+ // The Phase has succeeded.
+ SUCCEEDED = 3;
+
+ // The Phase has failed.
+ FAILED = 4;
+
+ // The Phase was aborted.
+ ABORTED = 5;
+ }
+
+ // Output only. The ID of the Phase.
+ string id = 1 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Output only. Current state of the Phase.
+ State state = 3 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // The job composition of this Phase.
+ oneof jobs {
+ // Output only. Deployment job composition.
+ DeploymentJobs deployment_jobs = 4 [(google.api.field_behavior) = OUTPUT_ONLY];
+ }
+}
+
+// Deployment job composition.
+message DeploymentJobs {
+ // Output only. The deploy Job. This is the first job run in the phase.
+ Job deploy_job = 1 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Output only. The verify Job. Runs after a deploy if the deploy succeeds.
+ Job verify_job = 2 [(google.api.field_behavior) = OUTPUT_ONLY];
+}
+
+// Job represents an operation for a `Rollout`.
+message Job {
+ // Valid states of a Job.
+ enum State {
+ // The Job has an unspecified state.
+ STATE_UNSPECIFIED = 0;
+
+ // The Job is waiting for an earlier Phase(s) or Job(s) to complete.
+ PENDING = 1;
+
+ // The Job is disabled.
+ DISABLED = 2;
+
+ // The Job is in progress.
+ IN_PROGRESS = 3;
+
+ // The Job succeeded.
+ SUCCEEDED = 4;
+
+ // The Job failed.
+ FAILED = 5;
+
+ // The Job was aborted.
+ ABORTED = 6;
+ }
+
+ // Output only. The ID of the Job.
+ string id = 1 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Output only. The current state of the Job.
+ State state = 2 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Output only. The name of the `JobRun` responsible for the most recent invocation of this
+ // Job.
+ string job_run = 3 [
+ (google.api.field_behavior) = OUTPUT_ONLY,
+ (google.api.resource_reference) = {
+ type: "clouddeploy.googleapis.com/JobRun"
+ }
+ ];
+
+ // The type of Job.
+ oneof job_type {
+ // Output only. A deploy Job.
+ DeployJob deploy_job = 4 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Output only. A verify Job.
+ VerifyJob verify_job = 5 [(google.api.field_behavior) = OUTPUT_ONLY];
+ }
+}
+
+// A deploy Job.
+message DeployJob {
+
+}
+
+// A verify Job.
+message VerifyJob {
+
+}
+
+// ListRolloutsRequest is the request object used by `ListRollouts`.
+message ListRolloutsRequest {
+ // Required. The `Release` which owns this collection of `Rollout` objects.
+ string parent = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ type: "clouddeploy.googleapis.com/Release"
+ }
+ ];
+
+ // Optional. The maximum number of `Rollout` objects to return. The service may return
+ // fewer than this value. If unspecified, at most 50 `Rollout` objects will be
+ // returned. The maximum value is 1000; values above 1000 will be set to 1000.
+ int32 page_size = 2 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. A page token, received from a previous `ListRollouts` call.
+ // Provide this to retrieve the subsequent page.
+ //
+ // When paginating, all other provided parameters match
+ // the call that provided the page token.
+ string page_token = 3 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. Filter rollouts to be returned. See https://google.aip.dev/160 for more
+ // details.
+ string filter = 4 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. Field to sort by. See https://google.aip.dev/132#ordering for more details.
+ string order_by = 5 [(google.api.field_behavior) = OPTIONAL];
+}
+
+// ListRolloutsResponse is the response object reutrned by `ListRollouts`.
+message ListRolloutsResponse {
+ // The `Rollout` objects.
+ repeated Rollout rollouts = 1;
+
+ // A token, which can be sent as `page_token` to retrieve the next page.
+ // If this field is omitted, there are no subsequent pages.
+ string next_page_token = 2;
+
+ // Locations that could not be reached.
+ repeated string unreachable = 3;
+}
+
+// GetRolloutRequest is the request object used by `GetRollout`.
+message GetRolloutRequest {
+ // Required. Name of the `Rollout`. Format must be
+ // projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}/releases/{release_name}/rollouts/{rollout_name}.
+ string name = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ type: "clouddeploy.googleapis.com/Rollout"
+ }
+ ];
+}
+
+// CreateRolloutRequest is the request object used by `CreateRollout`.
+message CreateRolloutRequest {
+ // Required. The parent collection in which the `Rollout` should be created.
+ // Format should be
+ // projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}/releases/{release_name}.
+ string parent = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ type: "clouddeploy.googleapis.com/Release"
+ }
+ ];
+
+ // Required. ID of the `Rollout`.
+ string rollout_id = 2 [(google.api.field_behavior) = REQUIRED];
+
+ // Required. The `Rollout` to create.
+ Rollout rollout = 3 [(google.api.field_behavior) = REQUIRED];
+
+ // Optional. A request ID to identify requests. Specify a unique request ID
+ // so that if you must retry your request, the server will know to ignore
+ // the request if it has already been completed. The server will guarantee
+ // that for at least 60 minutes since the first request.
+ //
+ // For example, consider a situation where you make an initial request and the
+ // request times out. If you make the request again with the same request ID,
+ // the server can check if original operation with the same request ID was
+ // received, and if so, will ignore the second request. This prevents clients
+ // from accidentally creating duplicate commitments.
+ //
+ // The request ID must be a valid UUID with the exception that zero UUID is
+ // not supported (00000000-0000-0000-0000-000000000000).
+ string request_id = 4 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. If set to true, the request is validated and the user is provided with
+ // an expected result, but no actual change is made.
+ bool validate_only = 5 [(google.api.field_behavior) = OPTIONAL];
+}
+
+// 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];
+}
+
+// The request object used by `ApproveRollout`.
+message ApproveRolloutRequest {
+ // Required. Name of the Rollout. Format is
+ // projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/
+ // releases/{release}/rollouts/{rollout}.
+ string name = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ type: "clouddeploy.googleapis.com/Rollout"
+ }
+ ];
+
+ // Required. True = approve; false = reject
+ bool approved = 2 [(google.api.field_behavior) = REQUIRED];
+}
+
+// The response object from `ApproveRollout`.
+message ApproveRolloutResponse {
+
+}
+
+// RetryJobRequest is the request object used by `RetryJob`.
+message RetryJobRequest {
+ // Required. Name of the Rollout. Format is
+ // projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/
+ // releases/{release}/rollouts/{rollout}.
+ string rollout = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ type: "clouddeploy.googleapis.com/Rollout"
+ }
+ ];
+
+ // Required. The phase ID the Job to retry belongs to.
+ string phase_id = 2 [(google.api.field_behavior) = REQUIRED];
+
+ // Required. The job ID for the Job to retry.
+ string job_id = 3 [(google.api.field_behavior) = REQUIRED];
+}
+
+// The response object from 'RetryJob'.
+message RetryJobResponse {
+
+}
+
+// The request object used by `AbandonRelease`.
+message AbandonReleaseRequest {
+ // Required. Name of the Release. Format is
+ // projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/
+ // releases/{release}.
+ string name = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ type: "clouddeploy.googleapis.com/Release"
+ }
+ ];
+}
+
+// The response object for `AbandonRelease`.
+message AbandonReleaseResponse {
+
+}
+
+// A `JobRun` resource in the Google Cloud Deploy API.
+//
+// A `JobRun` contains information of a single `Rollout` job evaluation.
+message JobRun {
+ option (google.api.resource) = {
+ type: "clouddeploy.googleapis.com/JobRun"
+ pattern: "projects/{project}/locations/{location}/deliveryPipelines/{delivery_pipeline}/releases/{release}/rollouts/{rollout}/jobRuns/{job_run}"
+ };
+
+ // Valid states of a `JobRun`.
+ enum State {
+ // The `JobRun` has an unspecified state.
+ STATE_UNSPECIFIED = 0;
+
+ // The `JobRun` is in progress.
+ IN_PROGRESS = 1;
+
+ // The `JobRun` has succeeded.
+ SUCCEEDED = 2;
+
+ // The `JobRun` has failed.
+ FAILED = 3;
+ }
+
+ // Optional. Name of the `JobRun`. Format is projects/{project}/locations/{location}/
+ // deliveryPipelines/{deliveryPipeline}/releases/{releases}/rollouts/
+ // {rollouts}/jobRuns/{uuid}.
+ string name = 1 [(google.api.field_behavior) = OPTIONAL];
+
+ // Output only. Unique identifier of the `JobRun`.
+ string uid = 2 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Output only. ID of the `Rollout` phase this `JobRun` belongs in.
+ string phase_id = 3 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Output only. ID of the `Rollout` job this `JobRun` corresponds to.
+ string job_id = 4 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Output only. Time at which the `JobRun` was created.
+ google.protobuf.Timestamp create_time = 5 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Output only. Time at which the `JobRun` was started.
+ google.protobuf.Timestamp start_time = 6 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Output only. Time at which the `JobRun` ended.
+ google.protobuf.Timestamp end_time = 7 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Output only. The current state of the `JobRun`.
+ State state = 8 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // The `JobRun` type and the information for that type.
+ oneof job_run {
+ // Output only. Information specific to a deploy `JobRun`.
+ DeployJobRun deploy_job_run = 9 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Output only. Information specific to a verify `JobRun`.
+ VerifyJobRun verify_job_run = 10 [(google.api.field_behavior) = OUTPUT_ONLY];
+ }
+
+ // Output only. This checksum is computed by the server based on the value of other
+ // fields, and may be sent on update and delete requests to ensure the
+ // client has an up-to-date value before proceeding.
+ string etag = 11 [(google.api.field_behavior) = OUTPUT_ONLY];
+}
+
+// DeployJobRun contains information specific to a deploy `JobRun`.
+message DeployJobRun {
+ // Well-known deploy failures.
+ enum FailureCause {
+ // No reason for failure is specified.
+ FAILURE_CAUSE_UNSPECIFIED = 0;
+
+ // Cloud Build is not available, either because it is not enabled or because
+ // Google Cloud Deploy has insufficient permissions. See [Required
+ // permission](/deploy/docs/cloud-deploy-service-account#required_permissions).
+ CLOUD_BUILD_UNAVAILABLE = 1;
+
+ // The deploy operation did not complete successfully; check Cloud Build
+ // logs.
+ EXECUTION_FAILED = 2;
+
+ // The deploy build did not complete within the alloted time.
+ DEADLINE_EXCEEDED = 3;
+ }
+
+ // Output only. The resource name of the Cloud Build `Build` object that is used to deploy.
+ // Format is projects/{project}/locations/{location}/builds/{build}.
+ string build = 1 [
+ (google.api.field_behavior) = OUTPUT_ONLY,
+ (google.api.resource_reference) = {
+ type: "cloudbuild.googleapis.com/Build"
+ }
+ ];
+
+ // Output only. The reason the deploy failed. This will always be unspecified while the
+ // deploy is in progress or if it succeeded.
+ FailureCause failure_cause = 2 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Output only. Additional information about the deploy failure, if available.
+ string failure_message = 3 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Output only. Metadata containing information about the deploy job run.
+ DeployJobRunMetadata metadata = 4 [(google.api.field_behavior) = OUTPUT_ONLY];
+}
+
+// VerifyJobRun contains information specific to a verify `JobRun`.
+message VerifyJobRun {
+ // Well-known verify failures.
+ enum FailureCause {
+ // No reason for failure is specified.
+ FAILURE_CAUSE_UNSPECIFIED = 0;
+
+ // Cloud Build is not available, either because it is not enabled or because
+ // Google Cloud Deploy has insufficient permissions. See [required
+ // permission](/deploy/docs/cloud-deploy-service-account#required_permissions).
+ CLOUD_BUILD_UNAVAILABLE = 1;
+
+ // The verify operation did not complete successfully; check Cloud Build
+ // logs.
+ EXECUTION_FAILED = 2;
+
+ // The verify build did not complete within the alloted time.
+ DEADLINE_EXCEEDED = 3;
+
+ // No Skaffold verify configuration was found.
+ VERIFICATION_CONFIG_NOT_FOUND = 4;
+ }
+
+ // Output only. The resource name of the Cloud Build `Build` object that is used to verify.
+ // Format is projects/{project}/locations/{location}/builds/{build}.
+ string build = 1 [
+ (google.api.field_behavior) = OUTPUT_ONLY,
+ (google.api.resource_reference) = {
+ type: "cloudbuild.googleapis.com/Build"
+ }
+ ];
+
+ // Output only. URI of a directory containing the verify artifacts. This contains the
+ // Skaffold event log.
+ string artifact_uri = 2 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Output only. File path of the Skaffold event log relative to the artifact URI.
+ string event_log_path = 3 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Output only. The reason the verify failed. This will always be unspecified while the
+ // verify is in progress or if it succeeded.
+ FailureCause failure_cause = 4 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Output only. Additional information about the verify failure, if available.
+ string failure_message = 5 [(google.api.field_behavior) = OUTPUT_ONLY];
+}
+
+// ListJobRunsRequest is the request object used by `ListJobRuns`.
+message ListJobRunsRequest {
+ // Required. The `Rollout` which owns this collection of `JobRun` objects.
+ string parent = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ type: "clouddeploy.googleapis.com/Rollout"
+ }
+ ];
+
+ // Optional. The maximum number of `JobRun` objects to return. The service may return
+ // fewer than this value. If unspecified, at most 50 `JobRun` objects will be
+ // returned. The maximum value is 1000; values above 1000 will be set to 1000.
+ int32 page_size = 2 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. A page token, received from a previous `ListJobRuns` call. Provide this
+ // to retrieve the subsequent page.
+ //
+ // When paginating, all other provided parameters match the call that provided
+ // the page token.
+ string page_token = 3 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. Filter results to be returned. See https://google.aip.dev/160 for more
+ // details.
+ string filter = 4 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. Field to sort by. See https://google.aip.dev/132#ordering for more details.
+ string order_by = 5 [(google.api.field_behavior) = OPTIONAL];
+}
+
+// ListJobRunsResponse is the response object returned by `ListJobRuns`.
+message ListJobRunsResponse {
+ // The `JobRun` objects.
+ repeated JobRun job_runs = 1;
+
+ // A token, which can be sent as `page_token` to retrieve the next page. If
+ // this field is omitted, there are no subsequent pages.
+ string next_page_token = 2;
+
+ // Locations that could not be reached
+ repeated string unreachable = 3;
+}
+
+// GetJobRunRequest is the request object used by `GetJobRun`.
+message GetJobRunRequest {
+ // Required. Name of the `JobRun`. Format must be
+ // projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}/releases/{release_name}/rollouts/{rollout_name}/jobRuns/{job_run_name}.
+ string name = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ type: "clouddeploy.googleapis.com/JobRun"
+ }
+ ];
+}
+
+// Service-wide configuration.
+message Config {
+ option (google.api.resource) = {
+ type: "clouddeploy.googleapis.com/Config"
+ pattern: "projects/{project}/locations/{location}/config"
+ };
+
+ // Name of the configuration.
+ string name = 1;
+
+ // Output only. All supported versions of Skaffold.
+ repeated SkaffoldVersion supported_versions = 2 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Output only. Default Skaffold version that is assigned when a Release is created without
+ // specifying a Skaffold version.
+ string default_skaffold_version = 3 [(google.api.field_behavior) = OUTPUT_ONLY];
+}
+
+// Details of a supported Skaffold version.
+message SkaffoldVersion {
+ // Release version number. For example, "1.20.3".
+ string version = 1;
+
+ // Date when this version is expected to no longer be supported.
+ google.type.Date support_end_date = 2;
+}
+
+// Request to get a configuration.
+message GetConfigRequest {
+ // Required. Name of requested configuration.
+ string name = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ type: "clouddeploy.googleapis.com/Config"
+ }
+ ];
+}
diff --git a/packages/google-cloud-deploy/protos/google/cloud/deploy/v1/deliverypipeline_notification_payload.proto b/packages/google-cloud-deploy/protos/google/cloud/deploy/v1/deliverypipeline_notification_payload.proto
new file mode 100644
index 00000000000..5fff2d0876c
--- /dev/null
+++ b/packages/google-cloud-deploy/protos/google/cloud/deploy/v1/deliverypipeline_notification_payload.proto
@@ -0,0 +1,38 @@
+// 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.
+
+syntax = "proto3";
+
+package google.cloud.deploy.v1;
+
+import "google/cloud/deploy/v1/log_enums.proto";
+
+option go_package = "google.golang.org/genproto/googleapis/cloud/deploy/v1;deploy";
+option java_multiple_files = true;
+option java_outer_classname = "DeliveryPipelineNotificationPayloadProto";
+option java_package = "com.google.cloud.deploy.v1";
+
+// Payload proto for "clouddeploy.googleapis.com/deliverypipeline_notification"
+// Platform Log event that describes the failure to send delivery pipeline
+// status change Pub/Sub notification.
+message DeliveryPipelineNotificationEvent {
+ // Debug message for when a notification fails to send.
+ string message = 1;
+
+ // The name of the `Delivery Pipeline`.
+ string delivery_pipeline = 2;
+
+ // Type of this notification, e.g. for a Pub/Sub failure.
+ Type type = 3;
+}
diff --git a/packages/google-cloud-deploy/protos/google/cloud/deploy/v1/jobrun_notification_payload.proto b/packages/google-cloud-deploy/protos/google/cloud/deploy/v1/jobrun_notification_payload.proto
new file mode 100644
index 00000000000..f1e80d6b325
--- /dev/null
+++ b/packages/google-cloud-deploy/protos/google/cloud/deploy/v1/jobrun_notification_payload.proto
@@ -0,0 +1,50 @@
+// 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.
+
+syntax = "proto3";
+
+package google.cloud.deploy.v1;
+
+import "google/cloud/deploy/v1/log_enums.proto";
+
+option go_package = "google.golang.org/genproto/googleapis/cloud/deploy/v1;deploy";
+option java_multiple_files = true;
+option java_outer_classname = "JobRunNotificationPayloadProto";
+option java_package = "com.google.cloud.deploy.v1";
+
+// Payload proto for "clouddeploy.googleapis.com/jobrun_notification"
+// Platform Log event that describes the failure to send JobRun resource update
+// Pub/Sub notification.
+message JobRunNotificationEvent {
+ // Debug message for when a notification fails to send.
+ string message = 1;
+
+ // The name of the `JobRun`.
+ string job_run = 2;
+
+ // Unique identifier of the `DeliveryPipeline`.
+ string pipeline_uid = 3;
+
+ // Unique identifier of the `Release`.
+ string release_uid = 4;
+
+ // Unique identifier of the `Rollout`.
+ string rollout_uid = 5;
+
+ // ID of the `Target`.
+ string target_id = 6;
+
+ // Type of this notification, e.g. for a Pub/Sub failure.
+ Type type = 7;
+}
diff --git a/packages/google-cloud-deploy/protos/google/cloud/deploy/v1/log_enums.proto b/packages/google-cloud-deploy/protos/google/cloud/deploy/v1/log_enums.proto
new file mode 100644
index 00000000000..cd6a32ea4b4
--- /dev/null
+++ b/packages/google-cloud-deploy/protos/google/cloud/deploy/v1/log_enums.proto
@@ -0,0 +1,34 @@
+// 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.
+
+syntax = "proto3";
+
+package google.cloud.deploy.v1;
+
+option go_package = "google.golang.org/genproto/googleapis/cloud/deploy/v1;deploy";
+option java_multiple_files = true;
+option java_outer_classname = "LogEnumsProto";
+option java_package = "com.google.cloud.deploy.v1";
+
+// Type indicates the type of the log entry and can be used as a filter.
+enum Type {
+ // Type is unspecified.
+ TYPE_UNSPECIFIED = 0;
+
+ // A Pub/Sub notification failed to be sent.
+ TYPE_PUBSUB_NOTIFICATION_FAILURE = 1;
+
+ // Release render status changed notification.
+ TYPE_RENDER_STATUES_CHANGE = 2;
+}
diff --git a/packages/google-cloud-deploy/protos/google/cloud/deploy/v1/release_notification_payload.proto b/packages/google-cloud-deploy/protos/google/cloud/deploy/v1/release_notification_payload.proto
new file mode 100644
index 00000000000..0383b8e566b
--- /dev/null
+++ b/packages/google-cloud-deploy/protos/google/cloud/deploy/v1/release_notification_payload.proto
@@ -0,0 +1,38 @@
+// 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.
+
+syntax = "proto3";
+
+package google.cloud.deploy.v1;
+
+import "google/cloud/deploy/v1/log_enums.proto";
+
+option go_package = "google.golang.org/genproto/googleapis/cloud/deploy/v1;deploy";
+option java_multiple_files = true;
+option java_outer_classname = "ReleaseNotificationPayloadProto";
+option java_package = "com.google.cloud.deploy.v1";
+
+// Payload proto for "clouddeploy.googleapis.com/release_notification"
+// Platform Log event that describes the failure to send release status change
+// Pub/Sub notification.
+message ReleaseNotificationEvent {
+ // Debug message for when a notification fails to send.
+ string message = 1;
+
+ // The name of the `Release`.
+ string release = 2;
+
+ // Type of this notification, e.g. for a Pub/Sub failure.
+ Type type = 3;
+}
diff --git a/packages/google-cloud-deploy/protos/google/cloud/deploy/v1/release_render_payload.proto b/packages/google-cloud-deploy/protos/google/cloud/deploy/v1/release_render_payload.proto
new file mode 100644
index 00000000000..414e72ded34
--- /dev/null
+++ b/packages/google-cloud-deploy/protos/google/cloud/deploy/v1/release_render_payload.proto
@@ -0,0 +1,33 @@
+// 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.
+
+syntax = "proto3";
+
+package google.cloud.deploy.v1;
+
+option go_package = "google.golang.org/genproto/googleapis/cloud/deploy/v1;deploy";
+option java_multiple_files = true;
+option java_outer_classname = "ReleaseRenderPayloadProto";
+option java_package = "com.google.cloud.deploy.v1";
+
+// Payload proto for "clouddeploy.googleapis.com/release_render"
+// Platform Log event that describes the render status change.
+message ReleaseRenderEvent {
+ // Debug message for when a render transition occurs. Provides further
+ // details as rendering progresses through render states.
+ string message = 1;
+
+ // The name of the `Release`.
+ string release = 2;
+}
diff --git a/packages/google-cloud-deploy/protos/google/cloud/deploy/v1/rollout_notification_payload.proto b/packages/google-cloud-deploy/protos/google/cloud/deploy/v1/rollout_notification_payload.proto
new file mode 100644
index 00000000000..10f6864f97c
--- /dev/null
+++ b/packages/google-cloud-deploy/protos/google/cloud/deploy/v1/rollout_notification_payload.proto
@@ -0,0 +1,47 @@
+// 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.
+
+syntax = "proto3";
+
+package google.cloud.deploy.v1;
+
+import "google/cloud/deploy/v1/log_enums.proto";
+
+option go_package = "google.golang.org/genproto/googleapis/cloud/deploy/v1;deploy";
+option java_multiple_files = true;
+option java_outer_classname = "RolloutNotificationPayloadProto";
+option java_package = "com.google.cloud.deploy.v1";
+
+// Payload proto for "clouddeploy.googleapis.com/rollout_notification"
+// Platform Log event that describes the failure to send rollout status change
+// Pub/Sub notification.
+message RolloutNotificationEvent {
+ // Debug message for when a notification fails to send.
+ string message = 1;
+
+ // Unique identifier of the `DeliveryPipeline`.
+ string pipeline_uid = 2;
+
+ // Unique identifier of the `Release`.
+ string release_uid = 3;
+
+ // The name of the `Rollout`.
+ string rollout = 4;
+
+ // Type of this notification, e.g. for a Pub/Sub failure.
+ Type type = 5;
+
+ // ID of the `Target` that the rollout is deployed to.
+ string target_id = 6;
+}
diff --git a/packages/google-cloud-deploy/protos/google/cloud/deploy/v1/target_notification_payload.proto b/packages/google-cloud-deploy/protos/google/cloud/deploy/v1/target_notification_payload.proto
new file mode 100644
index 00000000000..d121cdb8ded
--- /dev/null
+++ b/packages/google-cloud-deploy/protos/google/cloud/deploy/v1/target_notification_payload.proto
@@ -0,0 +1,38 @@
+// 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.
+
+syntax = "proto3";
+
+package google.cloud.deploy.v1;
+
+import "google/cloud/deploy/v1/log_enums.proto";
+
+option go_package = "google.golang.org/genproto/googleapis/cloud/deploy/v1;deploy";
+option java_multiple_files = true;
+option java_outer_classname = "TargetNotificationPayloadProto";
+option java_package = "com.google.cloud.deploy.v1";
+
+// Payload proto for "clouddeploy.googleapis.com/target_notification"
+// Platform Log event that describes the failure to send target status change
+// Pub/Sub notification.
+message TargetNotificationEvent {
+ // Debug message for when a notification fails to send.
+ string message = 1;
+
+ // The name of the `Target`.
+ string target = 2;
+
+ // Type of this notification, e.g. for a Pub/Sub failure.
+ Type type = 3;
+}
diff --git a/packages/google-cloud-deploy/protos/protos.d.ts b/packages/google-cloud-deploy/protos/protos.d.ts
new file mode 100644
index 00000000000..5abd859ad50
--- /dev/null
+++ b/packages/google-cloud-deploy/protos/protos.d.ts
@@ -0,0 +1,14317 @@
+// 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 Long = require("long");
+import type {protobuf as $protobuf} from "google-gax";
+/** Namespace google. */
+export namespace google {
+
+ /** Namespace cloud. */
+ namespace cloud {
+
+ /** Namespace deploy. */
+ namespace deploy {
+
+ /** Namespace v1. */
+ namespace v1 {
+
+ /** Represents a CloudDeploy */
+ class CloudDeploy extends $protobuf.rpc.Service {
+
+ /**
+ * Constructs a new CloudDeploy 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 CloudDeploy 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): CloudDeploy;
+
+ /**
+ * Calls ListDeliveryPipelines.
+ * @param request ListDeliveryPipelinesRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and ListDeliveryPipelinesResponse
+ */
+ public listDeliveryPipelines(request: google.cloud.deploy.v1.IListDeliveryPipelinesRequest, callback: google.cloud.deploy.v1.CloudDeploy.ListDeliveryPipelinesCallback): void;
+
+ /**
+ * Calls ListDeliveryPipelines.
+ * @param request ListDeliveryPipelinesRequest message or plain object
+ * @returns Promise
+ */
+ public listDeliveryPipelines(request: google.cloud.deploy.v1.IListDeliveryPipelinesRequest): Promise;
+
+ /**
+ * Calls GetDeliveryPipeline.
+ * @param request GetDeliveryPipelineRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and DeliveryPipeline
+ */
+ public getDeliveryPipeline(request: google.cloud.deploy.v1.IGetDeliveryPipelineRequest, callback: google.cloud.deploy.v1.CloudDeploy.GetDeliveryPipelineCallback): void;
+
+ /**
+ * Calls GetDeliveryPipeline.
+ * @param request GetDeliveryPipelineRequest message or plain object
+ * @returns Promise
+ */
+ public getDeliveryPipeline(request: google.cloud.deploy.v1.IGetDeliveryPipelineRequest): Promise;
+
+ /**
+ * Calls CreateDeliveryPipeline.
+ * @param request CreateDeliveryPipelineRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and Operation
+ */
+ public createDeliveryPipeline(request: google.cloud.deploy.v1.ICreateDeliveryPipelineRequest, callback: google.cloud.deploy.v1.CloudDeploy.CreateDeliveryPipelineCallback): void;
+
+ /**
+ * Calls CreateDeliveryPipeline.
+ * @param request CreateDeliveryPipelineRequest message or plain object
+ * @returns Promise
+ */
+ public createDeliveryPipeline(request: google.cloud.deploy.v1.ICreateDeliveryPipelineRequest): Promise;
+
+ /**
+ * Calls UpdateDeliveryPipeline.
+ * @param request UpdateDeliveryPipelineRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and Operation
+ */
+ public updateDeliveryPipeline(request: google.cloud.deploy.v1.IUpdateDeliveryPipelineRequest, callback: google.cloud.deploy.v1.CloudDeploy.UpdateDeliveryPipelineCallback): void;
+
+ /**
+ * Calls UpdateDeliveryPipeline.
+ * @param request UpdateDeliveryPipelineRequest message or plain object
+ * @returns Promise
+ */
+ public updateDeliveryPipeline(request: google.cloud.deploy.v1.IUpdateDeliveryPipelineRequest): Promise;
+
+ /**
+ * Calls DeleteDeliveryPipeline.
+ * @param request DeleteDeliveryPipelineRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and Operation
+ */
+ public deleteDeliveryPipeline(request: google.cloud.deploy.v1.IDeleteDeliveryPipelineRequest, callback: google.cloud.deploy.v1.CloudDeploy.DeleteDeliveryPipelineCallback): void;
+
+ /**
+ * Calls DeleteDeliveryPipeline.
+ * @param request DeleteDeliveryPipelineRequest message or plain object
+ * @returns Promise
+ */
+ public deleteDeliveryPipeline(request: google.cloud.deploy.v1.IDeleteDeliveryPipelineRequest): Promise;
+
+ /**
+ * Calls ListTargets.
+ * @param request ListTargetsRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and ListTargetsResponse
+ */
+ public listTargets(request: google.cloud.deploy.v1.IListTargetsRequest, callback: google.cloud.deploy.v1.CloudDeploy.ListTargetsCallback): void;
+
+ /**
+ * Calls ListTargets.
+ * @param request ListTargetsRequest message or plain object
+ * @returns Promise
+ */
+ public listTargets(request: google.cloud.deploy.v1.IListTargetsRequest): Promise;
+
+ /**
+ * Calls GetTarget.
+ * @param request GetTargetRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and Target
+ */
+ public getTarget(request: google.cloud.deploy.v1.IGetTargetRequest, callback: google.cloud.deploy.v1.CloudDeploy.GetTargetCallback): void;
+
+ /**
+ * Calls GetTarget.
+ * @param request GetTargetRequest message or plain object
+ * @returns Promise
+ */
+ public getTarget(request: google.cloud.deploy.v1.IGetTargetRequest): Promise;
+
+ /**
+ * Calls CreateTarget.
+ * @param request CreateTargetRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and Operation
+ */
+ public createTarget(request: google.cloud.deploy.v1.ICreateTargetRequest, callback: google.cloud.deploy.v1.CloudDeploy.CreateTargetCallback): void;
+
+ /**
+ * Calls CreateTarget.
+ * @param request CreateTargetRequest message or plain object
+ * @returns Promise
+ */
+ public createTarget(request: google.cloud.deploy.v1.ICreateTargetRequest): Promise;
+
+ /**
+ * Calls UpdateTarget.
+ * @param request UpdateTargetRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and Operation
+ */
+ public updateTarget(request: google.cloud.deploy.v1.IUpdateTargetRequest, callback: google.cloud.deploy.v1.CloudDeploy.UpdateTargetCallback): void;
+
+ /**
+ * Calls UpdateTarget.
+ * @param request UpdateTargetRequest message or plain object
+ * @returns Promise
+ */
+ public updateTarget(request: google.cloud.deploy.v1.IUpdateTargetRequest): Promise;
+
+ /**
+ * Calls DeleteTarget.
+ * @param request DeleteTargetRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and Operation
+ */
+ public deleteTarget(request: google.cloud.deploy.v1.IDeleteTargetRequest, callback: google.cloud.deploy.v1.CloudDeploy.DeleteTargetCallback): void;
+
+ /**
+ * Calls DeleteTarget.
+ * @param request DeleteTargetRequest message or plain object
+ * @returns Promise
+ */
+ public deleteTarget(request: google.cloud.deploy.v1.IDeleteTargetRequest): Promise;
+
+ /**
+ * Calls ListReleases.
+ * @param request ListReleasesRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and ListReleasesResponse
+ */
+ public listReleases(request: google.cloud.deploy.v1.IListReleasesRequest, callback: google.cloud.deploy.v1.CloudDeploy.ListReleasesCallback): void;
+
+ /**
+ * Calls ListReleases.
+ * @param request ListReleasesRequest message or plain object
+ * @returns Promise
+ */
+ public listReleases(request: google.cloud.deploy.v1.IListReleasesRequest): Promise;
+
+ /**
+ * Calls GetRelease.
+ * @param request GetReleaseRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and Release
+ */
+ public getRelease(request: google.cloud.deploy.v1.IGetReleaseRequest, callback: google.cloud.deploy.v1.CloudDeploy.GetReleaseCallback): void;
+
+ /**
+ * Calls GetRelease.
+ * @param request GetReleaseRequest message or plain object
+ * @returns Promise
+ */
+ public getRelease(request: google.cloud.deploy.v1.IGetReleaseRequest): Promise;
+
+ /**
+ * Calls CreateRelease.
+ * @param request CreateReleaseRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and Operation
+ */
+ public createRelease(request: google.cloud.deploy.v1.ICreateReleaseRequest, callback: google.cloud.deploy.v1.CloudDeploy.CreateReleaseCallback): void;
+
+ /**
+ * Calls CreateRelease.
+ * @param request CreateReleaseRequest message or plain object
+ * @returns Promise
+ */
+ public createRelease(request: google.cloud.deploy.v1.ICreateReleaseRequest): Promise;
+
+ /**
+ * Calls AbandonRelease.
+ * @param request AbandonReleaseRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and AbandonReleaseResponse
+ */
+ public abandonRelease(request: google.cloud.deploy.v1.IAbandonReleaseRequest, callback: google.cloud.deploy.v1.CloudDeploy.AbandonReleaseCallback): void;
+
+ /**
+ * Calls AbandonRelease.
+ * @param request AbandonReleaseRequest message or plain object
+ * @returns Promise
+ */
+ public abandonRelease(request: google.cloud.deploy.v1.IAbandonReleaseRequest): Promise;
+
+ /**
+ * Calls ApproveRollout.
+ * @param request ApproveRolloutRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and ApproveRolloutResponse
+ */
+ public approveRollout(request: google.cloud.deploy.v1.IApproveRolloutRequest, callback: google.cloud.deploy.v1.CloudDeploy.ApproveRolloutCallback): void;
+
+ /**
+ * Calls ApproveRollout.
+ * @param request ApproveRolloutRequest message or plain object
+ * @returns Promise
+ */
+ public approveRollout(request: google.cloud.deploy.v1.IApproveRolloutRequest): Promise;
+
+ /**
+ * Calls ListRollouts.
+ * @param request ListRolloutsRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and ListRolloutsResponse
+ */
+ public listRollouts(request: google.cloud.deploy.v1.IListRolloutsRequest, callback: google.cloud.deploy.v1.CloudDeploy.ListRolloutsCallback): void;
+
+ /**
+ * Calls ListRollouts.
+ * @param request ListRolloutsRequest message or plain object
+ * @returns Promise
+ */
+ public listRollouts(request: google.cloud.deploy.v1.IListRolloutsRequest): Promise;
+
+ /**
+ * Calls GetRollout.
+ * @param request GetRolloutRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and Rollout
+ */
+ public getRollout(request: google.cloud.deploy.v1.IGetRolloutRequest, callback: google.cloud.deploy.v1.CloudDeploy.GetRolloutCallback): void;
+
+ /**
+ * Calls GetRollout.
+ * @param request GetRolloutRequest message or plain object
+ * @returns Promise
+ */
+ public getRollout(request: google.cloud.deploy.v1.IGetRolloutRequest): Promise;
+
+ /**
+ * Calls CreateRollout.
+ * @param request CreateRolloutRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and Operation
+ */
+ public createRollout(request: google.cloud.deploy.v1.ICreateRolloutRequest, callback: google.cloud.deploy.v1.CloudDeploy.CreateRolloutCallback): void;
+
+ /**
+ * Calls CreateRollout.
+ * @param request CreateRolloutRequest message or plain object
+ * @returns Promise
+ */
+ public createRollout(request: google.cloud.deploy.v1.ICreateRolloutRequest): Promise;
+
+ /**
+ * Calls RetryJob.
+ * @param request RetryJobRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and RetryJobResponse
+ */
+ public retryJob(request: google.cloud.deploy.v1.IRetryJobRequest, callback: google.cloud.deploy.v1.CloudDeploy.RetryJobCallback): void;
+
+ /**
+ * Calls RetryJob.
+ * @param request RetryJobRequest message or plain object
+ * @returns Promise
+ */
+ public retryJob(request: google.cloud.deploy.v1.IRetryJobRequest): Promise;
+
+ /**
+ * Calls ListJobRuns.
+ * @param request ListJobRunsRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and ListJobRunsResponse
+ */
+ public listJobRuns(request: google.cloud.deploy.v1.IListJobRunsRequest, callback: google.cloud.deploy.v1.CloudDeploy.ListJobRunsCallback): void;
+
+ /**
+ * Calls ListJobRuns.
+ * @param request ListJobRunsRequest message or plain object
+ * @returns Promise
+ */
+ public listJobRuns(request: google.cloud.deploy.v1.IListJobRunsRequest): Promise;
+
+ /**
+ * Calls GetJobRun.
+ * @param request GetJobRunRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and JobRun
+ */
+ public getJobRun(request: google.cloud.deploy.v1.IGetJobRunRequest, callback: google.cloud.deploy.v1.CloudDeploy.GetJobRunCallback): void;
+
+ /**
+ * Calls GetJobRun.
+ * @param request GetJobRunRequest message or plain object
+ * @returns Promise
+ */
+ public getJobRun(request: google.cloud.deploy.v1.IGetJobRunRequest): Promise;
+
+ /**
+ * Calls GetConfig.
+ * @param request GetConfigRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and Config
+ */
+ public getConfig(request: google.cloud.deploy.v1.IGetConfigRequest, callback: google.cloud.deploy.v1.CloudDeploy.GetConfigCallback): void;
+
+ /**
+ * Calls GetConfig.
+ * @param request GetConfigRequest message or plain object
+ * @returns Promise
+ */
+ public getConfig(request: google.cloud.deploy.v1.IGetConfigRequest): Promise;
+ }
+
+ namespace CloudDeploy {
+
+ /**
+ * Callback as used by {@link google.cloud.deploy.v1.CloudDeploy|listDeliveryPipelines}.
+ * @param error Error, if any
+ * @param [response] ListDeliveryPipelinesResponse
+ */
+ type ListDeliveryPipelinesCallback = (error: (Error|null), response?: google.cloud.deploy.v1.ListDeliveryPipelinesResponse) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.deploy.v1.CloudDeploy|getDeliveryPipeline}.
+ * @param error Error, if any
+ * @param [response] DeliveryPipeline
+ */
+ type GetDeliveryPipelineCallback = (error: (Error|null), response?: google.cloud.deploy.v1.DeliveryPipeline) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.deploy.v1.CloudDeploy|createDeliveryPipeline}.
+ * @param error Error, if any
+ * @param [response] Operation
+ */
+ type CreateDeliveryPipelineCallback = (error: (Error|null), response?: google.longrunning.Operation) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.deploy.v1.CloudDeploy|updateDeliveryPipeline}.
+ * @param error Error, if any
+ * @param [response] Operation
+ */
+ type UpdateDeliveryPipelineCallback = (error: (Error|null), response?: google.longrunning.Operation) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.deploy.v1.CloudDeploy|deleteDeliveryPipeline}.
+ * @param error Error, if any
+ * @param [response] Operation
+ */
+ type DeleteDeliveryPipelineCallback = (error: (Error|null), response?: google.longrunning.Operation) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.deploy.v1.CloudDeploy|listTargets}.
+ * @param error Error, if any
+ * @param [response] ListTargetsResponse
+ */
+ type ListTargetsCallback = (error: (Error|null), response?: google.cloud.deploy.v1.ListTargetsResponse) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.deploy.v1.CloudDeploy|getTarget}.
+ * @param error Error, if any
+ * @param [response] Target
+ */
+ type GetTargetCallback = (error: (Error|null), response?: google.cloud.deploy.v1.Target) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.deploy.v1.CloudDeploy|createTarget}.
+ * @param error Error, if any
+ * @param [response] Operation
+ */
+ type CreateTargetCallback = (error: (Error|null), response?: google.longrunning.Operation) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.deploy.v1.CloudDeploy|updateTarget}.
+ * @param error Error, if any
+ * @param [response] Operation
+ */
+ type UpdateTargetCallback = (error: (Error|null), response?: google.longrunning.Operation) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.deploy.v1.CloudDeploy|deleteTarget}.
+ * @param error Error, if any
+ * @param [response] Operation
+ */
+ type DeleteTargetCallback = (error: (Error|null), response?: google.longrunning.Operation) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.deploy.v1.CloudDeploy|listReleases}.
+ * @param error Error, if any
+ * @param [response] ListReleasesResponse
+ */
+ type ListReleasesCallback = (error: (Error|null), response?: google.cloud.deploy.v1.ListReleasesResponse) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.deploy.v1.CloudDeploy|getRelease}.
+ * @param error Error, if any
+ * @param [response] Release
+ */
+ type GetReleaseCallback = (error: (Error|null), response?: google.cloud.deploy.v1.Release) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.deploy.v1.CloudDeploy|createRelease}.
+ * @param error Error, if any
+ * @param [response] Operation
+ */
+ type CreateReleaseCallback = (error: (Error|null), response?: google.longrunning.Operation) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.deploy.v1.CloudDeploy|abandonRelease}.
+ * @param error Error, if any
+ * @param [response] AbandonReleaseResponse
+ */
+ type AbandonReleaseCallback = (error: (Error|null), response?: google.cloud.deploy.v1.AbandonReleaseResponse) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.deploy.v1.CloudDeploy|approveRollout}.
+ * @param error Error, if any
+ * @param [response] ApproveRolloutResponse
+ */
+ type ApproveRolloutCallback = (error: (Error|null), response?: google.cloud.deploy.v1.ApproveRolloutResponse) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.deploy.v1.CloudDeploy|listRollouts}.
+ * @param error Error, if any
+ * @param [response] ListRolloutsResponse
+ */
+ type ListRolloutsCallback = (error: (Error|null), response?: google.cloud.deploy.v1.ListRolloutsResponse) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.deploy.v1.CloudDeploy|getRollout}.
+ * @param error Error, if any
+ * @param [response] Rollout
+ */
+ type GetRolloutCallback = (error: (Error|null), response?: google.cloud.deploy.v1.Rollout) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.deploy.v1.CloudDeploy|createRollout}.
+ * @param error Error, if any
+ * @param [response] Operation
+ */
+ type CreateRolloutCallback = (error: (Error|null), response?: google.longrunning.Operation) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.deploy.v1.CloudDeploy|retryJob}.
+ * @param error Error, if any
+ * @param [response] RetryJobResponse
+ */
+ type RetryJobCallback = (error: (Error|null), response?: google.cloud.deploy.v1.RetryJobResponse) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.deploy.v1.CloudDeploy|listJobRuns}.
+ * @param error Error, if any
+ * @param [response] ListJobRunsResponse
+ */
+ type ListJobRunsCallback = (error: (Error|null), response?: google.cloud.deploy.v1.ListJobRunsResponse) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.deploy.v1.CloudDeploy|getJobRun}.
+ * @param error Error, if any
+ * @param [response] JobRun
+ */
+ type GetJobRunCallback = (error: (Error|null), response?: google.cloud.deploy.v1.JobRun) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.deploy.v1.CloudDeploy|getConfig}.
+ * @param error Error, if any
+ * @param [response] Config
+ */
+ type GetConfigCallback = (error: (Error|null), response?: google.cloud.deploy.v1.Config) => void;
+ }
+
+ /** Properties of a DeliveryPipeline. */
+ interface IDeliveryPipeline {
+
+ /** DeliveryPipeline name */
+ name?: (string|null);
+
+ /** DeliveryPipeline uid */
+ uid?: (string|null);
+
+ /** DeliveryPipeline description */
+ description?: (string|null);
+
+ /** DeliveryPipeline annotations */
+ annotations?: ({ [k: string]: string }|null);
+
+ /** DeliveryPipeline labels */
+ labels?: ({ [k: string]: string }|null);
+
+ /** DeliveryPipeline createTime */
+ createTime?: (google.protobuf.ITimestamp|null);
+
+ /** DeliveryPipeline updateTime */
+ updateTime?: (google.protobuf.ITimestamp|null);
+
+ /** DeliveryPipeline serialPipeline */
+ serialPipeline?: (google.cloud.deploy.v1.ISerialPipeline|null);
+
+ /** DeliveryPipeline condition */
+ condition?: (google.cloud.deploy.v1.IPipelineCondition|null);
+
+ /** DeliveryPipeline etag */
+ etag?: (string|null);
+
+ /** DeliveryPipeline suspended */
+ suspended?: (boolean|null);
+ }
+
+ /** Represents a DeliveryPipeline. */
+ class DeliveryPipeline implements IDeliveryPipeline {
+
+ /**
+ * Constructs a new DeliveryPipeline.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.deploy.v1.IDeliveryPipeline);
+
+ /** DeliveryPipeline name. */
+ public name: string;
+
+ /** DeliveryPipeline uid. */
+ public uid: string;
+
+ /** DeliveryPipeline description. */
+ public description: string;
+
+ /** DeliveryPipeline annotations. */
+ public annotations: { [k: string]: string };
+
+ /** DeliveryPipeline labels. */
+ public labels: { [k: string]: string };
+
+ /** DeliveryPipeline createTime. */
+ public createTime?: (google.protobuf.ITimestamp|null);
+
+ /** DeliveryPipeline updateTime. */
+ public updateTime?: (google.protobuf.ITimestamp|null);
+
+ /** DeliveryPipeline serialPipeline. */
+ public serialPipeline?: (google.cloud.deploy.v1.ISerialPipeline|null);
+
+ /** DeliveryPipeline condition. */
+ public condition?: (google.cloud.deploy.v1.IPipelineCondition|null);
+
+ /** DeliveryPipeline etag. */
+ public etag: string;
+
+ /** DeliveryPipeline suspended. */
+ public suspended: boolean;
+
+ /** DeliveryPipeline pipeline. */
+ public pipeline?: "serialPipeline";
+
+ /**
+ * Creates a new DeliveryPipeline instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns DeliveryPipeline instance
+ */
+ public static create(properties?: google.cloud.deploy.v1.IDeliveryPipeline): google.cloud.deploy.v1.DeliveryPipeline;
+
+ /**
+ * Encodes the specified DeliveryPipeline message. Does not implicitly {@link google.cloud.deploy.v1.DeliveryPipeline.verify|verify} messages.
+ * @param message DeliveryPipeline message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.deploy.v1.IDeliveryPipeline, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified DeliveryPipeline message, length delimited. Does not implicitly {@link google.cloud.deploy.v1.DeliveryPipeline.verify|verify} messages.
+ * @param message DeliveryPipeline message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.deploy.v1.IDeliveryPipeline, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a DeliveryPipeline message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns DeliveryPipeline
+ * @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.deploy.v1.DeliveryPipeline;
+
+ /**
+ * Decodes a DeliveryPipeline message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns DeliveryPipeline
+ * @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.deploy.v1.DeliveryPipeline;
+
+ /**
+ * Verifies a DeliveryPipeline 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 DeliveryPipeline message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns DeliveryPipeline
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.deploy.v1.DeliveryPipeline;
+
+ /**
+ * Creates a plain object from a DeliveryPipeline message. Also converts values to other types if specified.
+ * @param message DeliveryPipeline
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.deploy.v1.DeliveryPipeline, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this DeliveryPipeline to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for DeliveryPipeline
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a SerialPipeline. */
+ interface ISerialPipeline {
+
+ /** SerialPipeline stages */
+ stages?: (google.cloud.deploy.v1.IStage[]|null);
+ }
+
+ /** Represents a SerialPipeline. */
+ class SerialPipeline implements ISerialPipeline {
+
+ /**
+ * Constructs a new SerialPipeline.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.deploy.v1.ISerialPipeline);
+
+ /** SerialPipeline stages. */
+ public stages: google.cloud.deploy.v1.IStage[];
+
+ /**
+ * Creates a new SerialPipeline instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns SerialPipeline instance
+ */
+ public static create(properties?: google.cloud.deploy.v1.ISerialPipeline): google.cloud.deploy.v1.SerialPipeline;
+
+ /**
+ * Encodes the specified SerialPipeline message. Does not implicitly {@link google.cloud.deploy.v1.SerialPipeline.verify|verify} messages.
+ * @param message SerialPipeline message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.deploy.v1.ISerialPipeline, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified SerialPipeline message, length delimited. Does not implicitly {@link google.cloud.deploy.v1.SerialPipeline.verify|verify} messages.
+ * @param message SerialPipeline message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.deploy.v1.ISerialPipeline, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a SerialPipeline message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns SerialPipeline
+ * @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.deploy.v1.SerialPipeline;
+
+ /**
+ * Decodes a SerialPipeline message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns SerialPipeline
+ * @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.deploy.v1.SerialPipeline;
+
+ /**
+ * Verifies a SerialPipeline 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 SerialPipeline message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns SerialPipeline
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.deploy.v1.SerialPipeline;
+
+ /**
+ * Creates a plain object from a SerialPipeline message. Also converts values to other types if specified.
+ * @param message SerialPipeline
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.deploy.v1.SerialPipeline, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this SerialPipeline to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for SerialPipeline
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a Stage. */
+ interface IStage {
+
+ /** Stage targetId */
+ targetId?: (string|null);
+
+ /** Stage profiles */
+ profiles?: (string[]|null);
+
+ /** Stage strategy */
+ strategy?: (google.cloud.deploy.v1.IStrategy|null);
+ }
+
+ /** Represents a Stage. */
+ class Stage implements IStage {
+
+ /**
+ * Constructs a new Stage.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.deploy.v1.IStage);
+
+ /** Stage targetId. */
+ public targetId: string;
+
+ /** Stage profiles. */
+ public profiles: string[];
+
+ /** Stage strategy. */
+ public strategy?: (google.cloud.deploy.v1.IStrategy|null);
+
+ /**
+ * Creates a new Stage instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns Stage instance
+ */
+ public static create(properties?: google.cloud.deploy.v1.IStage): google.cloud.deploy.v1.Stage;
+
+ /**
+ * Encodes the specified Stage message. Does not implicitly {@link google.cloud.deploy.v1.Stage.verify|verify} messages.
+ * @param message Stage message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.deploy.v1.IStage, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified Stage message, length delimited. Does not implicitly {@link google.cloud.deploy.v1.Stage.verify|verify} messages.
+ * @param message Stage message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.deploy.v1.IStage, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a Stage message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns Stage
+ * @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.deploy.v1.Stage;
+
+ /**
+ * Decodes a Stage message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns Stage
+ * @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.deploy.v1.Stage;
+
+ /**
+ * Verifies a Stage 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 Stage message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns Stage
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.deploy.v1.Stage;
+
+ /**
+ * Creates a plain object from a Stage message. Also converts values to other types if specified.
+ * @param message Stage
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.deploy.v1.Stage, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this Stage to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for Stage
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a Strategy. */
+ interface IStrategy {
+
+ /** Strategy standard */
+ standard?: (google.cloud.deploy.v1.IStandard|null);
+ }
+
+ /** Represents a Strategy. */
+ class Strategy implements IStrategy {
+
+ /**
+ * Constructs a new Strategy.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.deploy.v1.IStrategy);
+
+ /** Strategy standard. */
+ public standard?: (google.cloud.deploy.v1.IStandard|null);
+
+ /** Strategy deploymentStrategy. */
+ public deploymentStrategy?: "standard";
+
+ /**
+ * Creates a new Strategy instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns Strategy instance
+ */
+ public static create(properties?: google.cloud.deploy.v1.IStrategy): google.cloud.deploy.v1.Strategy;
+
+ /**
+ * Encodes the specified Strategy message. Does not implicitly {@link google.cloud.deploy.v1.Strategy.verify|verify} messages.
+ * @param message Strategy message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.deploy.v1.IStrategy, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified Strategy message, length delimited. Does not implicitly {@link google.cloud.deploy.v1.Strategy.verify|verify} messages.
+ * @param message Strategy message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.deploy.v1.IStrategy, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a Strategy message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns Strategy
+ * @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.deploy.v1.Strategy;
+
+ /**
+ * Decodes a Strategy message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns Strategy
+ * @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.deploy.v1.Strategy;
+
+ /**
+ * Verifies a Strategy 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 Strategy message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns Strategy
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.deploy.v1.Strategy;
+
+ /**
+ * Creates a plain object from a Strategy message. Also converts values to other types if specified.
+ * @param message Strategy
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.deploy.v1.Strategy, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this Strategy to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for Strategy
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a Standard. */
+ interface IStandard {
+
+ /** Standard verify */
+ verify?: (boolean|null);
+ }
+
+ /** Represents a Standard. */
+ class Standard implements IStandard {
+
+ /**
+ * Constructs a new Standard.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.deploy.v1.IStandard);
+
+ /** Standard verify. */
+ public verify: boolean;
+
+ /**
+ * Creates a new Standard instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns Standard instance
+ */
+ public static create(properties?: google.cloud.deploy.v1.IStandard): google.cloud.deploy.v1.Standard;
+
+ /**
+ * Encodes the specified Standard message. Does not implicitly {@link google.cloud.deploy.v1.Standard.verify|verify} messages.
+ * @param message Standard message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.deploy.v1.IStandard, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified Standard message, length delimited. Does not implicitly {@link google.cloud.deploy.v1.Standard.verify|verify} messages.
+ * @param message Standard message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.deploy.v1.IStandard, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a Standard message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns Standard
+ * @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.deploy.v1.Standard;
+
+ /**
+ * Decodes a Standard message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns Standard
+ * @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.deploy.v1.Standard;
+
+ /**
+ * Verifies a Standard 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 Standard message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns Standard
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.deploy.v1.Standard;
+
+ /**
+ * Creates a plain object from a Standard message. Also converts values to other types if specified.
+ * @param message Standard
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.deploy.v1.Standard, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this Standard to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for Standard
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a PipelineReadyCondition. */
+ interface IPipelineReadyCondition {
+
+ /** PipelineReadyCondition status */
+ status?: (boolean|null);
+
+ /** PipelineReadyCondition updateTime */
+ updateTime?: (google.protobuf.ITimestamp|null);
+ }
+
+ /** Represents a PipelineReadyCondition. */
+ class PipelineReadyCondition implements IPipelineReadyCondition {
+
+ /**
+ * Constructs a new PipelineReadyCondition.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.deploy.v1.IPipelineReadyCondition);
+
+ /** PipelineReadyCondition status. */
+ public status: boolean;
+
+ /** PipelineReadyCondition updateTime. */
+ public updateTime?: (google.protobuf.ITimestamp|null);
+
+ /**
+ * Creates a new PipelineReadyCondition instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns PipelineReadyCondition instance
+ */
+ public static create(properties?: google.cloud.deploy.v1.IPipelineReadyCondition): google.cloud.deploy.v1.PipelineReadyCondition;
+
+ /**
+ * Encodes the specified PipelineReadyCondition message. Does not implicitly {@link google.cloud.deploy.v1.PipelineReadyCondition.verify|verify} messages.
+ * @param message PipelineReadyCondition message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.deploy.v1.IPipelineReadyCondition, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified PipelineReadyCondition message, length delimited. Does not implicitly {@link google.cloud.deploy.v1.PipelineReadyCondition.verify|verify} messages.
+ * @param message PipelineReadyCondition message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.deploy.v1.IPipelineReadyCondition, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a PipelineReadyCondition message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns PipelineReadyCondition
+ * @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.deploy.v1.PipelineReadyCondition;
+
+ /**
+ * Decodes a PipelineReadyCondition message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns PipelineReadyCondition
+ * @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.deploy.v1.PipelineReadyCondition;
+
+ /**
+ * Verifies a PipelineReadyCondition 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 PipelineReadyCondition message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns PipelineReadyCondition
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.deploy.v1.PipelineReadyCondition;
+
+ /**
+ * Creates a plain object from a PipelineReadyCondition message. Also converts values to other types if specified.
+ * @param message PipelineReadyCondition
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.deploy.v1.PipelineReadyCondition, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this PipelineReadyCondition to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for PipelineReadyCondition
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a TargetsPresentCondition. */
+ interface ITargetsPresentCondition {
+
+ /** TargetsPresentCondition status */
+ status?: (boolean|null);
+
+ /** TargetsPresentCondition missingTargets */
+ missingTargets?: (string[]|null);
+
+ /** TargetsPresentCondition updateTime */
+ updateTime?: (google.protobuf.ITimestamp|null);
+ }
+
+ /** Represents a TargetsPresentCondition. */
+ class TargetsPresentCondition implements ITargetsPresentCondition {
+
+ /**
+ * Constructs a new TargetsPresentCondition.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.deploy.v1.ITargetsPresentCondition);
+
+ /** TargetsPresentCondition status. */
+ public status: boolean;
+
+ /** TargetsPresentCondition missingTargets. */
+ public missingTargets: string[];
+
+ /** TargetsPresentCondition updateTime. */
+ public updateTime?: (google.protobuf.ITimestamp|null);
+
+ /**
+ * Creates a new TargetsPresentCondition instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns TargetsPresentCondition instance
+ */
+ public static create(properties?: google.cloud.deploy.v1.ITargetsPresentCondition): google.cloud.deploy.v1.TargetsPresentCondition;
+
+ /**
+ * Encodes the specified TargetsPresentCondition message. Does not implicitly {@link google.cloud.deploy.v1.TargetsPresentCondition.verify|verify} messages.
+ * @param message TargetsPresentCondition message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.deploy.v1.ITargetsPresentCondition, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified TargetsPresentCondition message, length delimited. Does not implicitly {@link google.cloud.deploy.v1.TargetsPresentCondition.verify|verify} messages.
+ * @param message TargetsPresentCondition message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.deploy.v1.ITargetsPresentCondition, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a TargetsPresentCondition message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns TargetsPresentCondition
+ * @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.deploy.v1.TargetsPresentCondition;
+
+ /**
+ * Decodes a TargetsPresentCondition message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns TargetsPresentCondition
+ * @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.deploy.v1.TargetsPresentCondition;
+
+ /**
+ * Verifies a TargetsPresentCondition 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 TargetsPresentCondition message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns TargetsPresentCondition
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.deploy.v1.TargetsPresentCondition;
+
+ /**
+ * Creates a plain object from a TargetsPresentCondition message. Also converts values to other types if specified.
+ * @param message TargetsPresentCondition
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.deploy.v1.TargetsPresentCondition, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this TargetsPresentCondition to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for TargetsPresentCondition
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a PipelineCondition. */
+ interface IPipelineCondition {
+
+ /** PipelineCondition pipelineReadyCondition */
+ pipelineReadyCondition?: (google.cloud.deploy.v1.IPipelineReadyCondition|null);
+
+ /** PipelineCondition targetsPresentCondition */
+ targetsPresentCondition?: (google.cloud.deploy.v1.ITargetsPresentCondition|null);
+ }
+
+ /** Represents a PipelineCondition. */
+ class PipelineCondition implements IPipelineCondition {
+
+ /**
+ * Constructs a new PipelineCondition.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.deploy.v1.IPipelineCondition);
+
+ /** PipelineCondition pipelineReadyCondition. */
+ public pipelineReadyCondition?: (google.cloud.deploy.v1.IPipelineReadyCondition|null);
+
+ /** PipelineCondition targetsPresentCondition. */
+ public targetsPresentCondition?: (google.cloud.deploy.v1.ITargetsPresentCondition|null);
+
+ /**
+ * Creates a new PipelineCondition instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns PipelineCondition instance
+ */
+ public static create(properties?: google.cloud.deploy.v1.IPipelineCondition): google.cloud.deploy.v1.PipelineCondition;
+
+ /**
+ * Encodes the specified PipelineCondition message. Does not implicitly {@link google.cloud.deploy.v1.PipelineCondition.verify|verify} messages.
+ * @param message PipelineCondition message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.deploy.v1.IPipelineCondition, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified PipelineCondition message, length delimited. Does not implicitly {@link google.cloud.deploy.v1.PipelineCondition.verify|verify} messages.
+ * @param message PipelineCondition message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.deploy.v1.IPipelineCondition, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a PipelineCondition message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns PipelineCondition
+ * @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.deploy.v1.PipelineCondition;
+
+ /**
+ * Decodes a PipelineCondition message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns PipelineCondition
+ * @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.deploy.v1.PipelineCondition;
+
+ /**
+ * Verifies a PipelineCondition 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 PipelineCondition message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns PipelineCondition
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.deploy.v1.PipelineCondition;
+
+ /**
+ * Creates a plain object from a PipelineCondition message. Also converts values to other types if specified.
+ * @param message PipelineCondition
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.deploy.v1.PipelineCondition, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this PipelineCondition to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for PipelineCondition
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a ListDeliveryPipelinesRequest. */
+ interface IListDeliveryPipelinesRequest {
+
+ /** ListDeliveryPipelinesRequest parent */
+ parent?: (string|null);
+
+ /** ListDeliveryPipelinesRequest pageSize */
+ pageSize?: (number|null);
+
+ /** ListDeliveryPipelinesRequest pageToken */
+ pageToken?: (string|null);
+
+ /** ListDeliveryPipelinesRequest filter */
+ filter?: (string|null);
+
+ /** ListDeliveryPipelinesRequest orderBy */
+ orderBy?: (string|null);
+ }
+
+ /** Represents a ListDeliveryPipelinesRequest. */
+ class ListDeliveryPipelinesRequest implements IListDeliveryPipelinesRequest {
+
+ /**
+ * Constructs a new ListDeliveryPipelinesRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.deploy.v1.IListDeliveryPipelinesRequest);
+
+ /** ListDeliveryPipelinesRequest parent. */
+ public parent: string;
+
+ /** ListDeliveryPipelinesRequest pageSize. */
+ public pageSize: number;
+
+ /** ListDeliveryPipelinesRequest pageToken. */
+ public pageToken: string;
+
+ /** ListDeliveryPipelinesRequest filter. */
+ public filter: string;
+
+ /** ListDeliveryPipelinesRequest orderBy. */
+ public orderBy: string;
+
+ /**
+ * Creates a new ListDeliveryPipelinesRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ListDeliveryPipelinesRequest instance
+ */
+ public static create(properties?: google.cloud.deploy.v1.IListDeliveryPipelinesRequest): google.cloud.deploy.v1.ListDeliveryPipelinesRequest;
+
+ /**
+ * Encodes the specified ListDeliveryPipelinesRequest message. Does not implicitly {@link google.cloud.deploy.v1.ListDeliveryPipelinesRequest.verify|verify} messages.
+ * @param message ListDeliveryPipelinesRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.deploy.v1.IListDeliveryPipelinesRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ListDeliveryPipelinesRequest message, length delimited. Does not implicitly {@link google.cloud.deploy.v1.ListDeliveryPipelinesRequest.verify|verify} messages.
+ * @param message ListDeliveryPipelinesRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.deploy.v1.IListDeliveryPipelinesRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ListDeliveryPipelinesRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ListDeliveryPipelinesRequest
+ * @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.deploy.v1.ListDeliveryPipelinesRequest;
+
+ /**
+ * Decodes a ListDeliveryPipelinesRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ListDeliveryPipelinesRequest
+ * @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.deploy.v1.ListDeliveryPipelinesRequest;
+
+ /**
+ * Verifies a ListDeliveryPipelinesRequest 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 ListDeliveryPipelinesRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ListDeliveryPipelinesRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.deploy.v1.ListDeliveryPipelinesRequest;
+
+ /**
+ * Creates a plain object from a ListDeliveryPipelinesRequest message. Also converts values to other types if specified.
+ * @param message ListDeliveryPipelinesRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.deploy.v1.ListDeliveryPipelinesRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ListDeliveryPipelinesRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ListDeliveryPipelinesRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a ListDeliveryPipelinesResponse. */
+ interface IListDeliveryPipelinesResponse {
+
+ /** ListDeliveryPipelinesResponse deliveryPipelines */
+ deliveryPipelines?: (google.cloud.deploy.v1.IDeliveryPipeline[]|null);
+
+ /** ListDeliveryPipelinesResponse nextPageToken */
+ nextPageToken?: (string|null);
+
+ /** ListDeliveryPipelinesResponse unreachable */
+ unreachable?: (string[]|null);
+ }
+
+ /** Represents a ListDeliveryPipelinesResponse. */
+ class ListDeliveryPipelinesResponse implements IListDeliveryPipelinesResponse {
+
+ /**
+ * Constructs a new ListDeliveryPipelinesResponse.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.deploy.v1.IListDeliveryPipelinesResponse);
+
+ /** ListDeliveryPipelinesResponse deliveryPipelines. */
+ public deliveryPipelines: google.cloud.deploy.v1.IDeliveryPipeline[];
+
+ /** ListDeliveryPipelinesResponse nextPageToken. */
+ public nextPageToken: string;
+
+ /** ListDeliveryPipelinesResponse unreachable. */
+ public unreachable: string[];
+
+ /**
+ * Creates a new ListDeliveryPipelinesResponse instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ListDeliveryPipelinesResponse instance
+ */
+ public static create(properties?: google.cloud.deploy.v1.IListDeliveryPipelinesResponse): google.cloud.deploy.v1.ListDeliveryPipelinesResponse;
+
+ /**
+ * Encodes the specified ListDeliveryPipelinesResponse message. Does not implicitly {@link google.cloud.deploy.v1.ListDeliveryPipelinesResponse.verify|verify} messages.
+ * @param message ListDeliveryPipelinesResponse message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.deploy.v1.IListDeliveryPipelinesResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ListDeliveryPipelinesResponse message, length delimited. Does not implicitly {@link google.cloud.deploy.v1.ListDeliveryPipelinesResponse.verify|verify} messages.
+ * @param message ListDeliveryPipelinesResponse message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.deploy.v1.IListDeliveryPipelinesResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ListDeliveryPipelinesResponse message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ListDeliveryPipelinesResponse
+ * @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.deploy.v1.ListDeliveryPipelinesResponse;
+
+ /**
+ * Decodes a ListDeliveryPipelinesResponse message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ListDeliveryPipelinesResponse
+ * @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.deploy.v1.ListDeliveryPipelinesResponse;
+
+ /**
+ * Verifies a ListDeliveryPipelinesResponse 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 ListDeliveryPipelinesResponse message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ListDeliveryPipelinesResponse
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.deploy.v1.ListDeliveryPipelinesResponse;
+
+ /**
+ * Creates a plain object from a ListDeliveryPipelinesResponse message. Also converts values to other types if specified.
+ * @param message ListDeliveryPipelinesResponse
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.deploy.v1.ListDeliveryPipelinesResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ListDeliveryPipelinesResponse to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ListDeliveryPipelinesResponse
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a GetDeliveryPipelineRequest. */
+ interface IGetDeliveryPipelineRequest {
+
+ /** GetDeliveryPipelineRequest name */
+ name?: (string|null);
+ }
+
+ /** Represents a GetDeliveryPipelineRequest. */
+ class GetDeliveryPipelineRequest implements IGetDeliveryPipelineRequest {
+
+ /**
+ * Constructs a new GetDeliveryPipelineRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.deploy.v1.IGetDeliveryPipelineRequest);
+
+ /** GetDeliveryPipelineRequest name. */
+ public name: string;
+
+ /**
+ * Creates a new GetDeliveryPipelineRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns GetDeliveryPipelineRequest instance
+ */
+ public static create(properties?: google.cloud.deploy.v1.IGetDeliveryPipelineRequest): google.cloud.deploy.v1.GetDeliveryPipelineRequest;
+
+ /**
+ * Encodes the specified GetDeliveryPipelineRequest message. Does not implicitly {@link google.cloud.deploy.v1.GetDeliveryPipelineRequest.verify|verify} messages.
+ * @param message GetDeliveryPipelineRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.deploy.v1.IGetDeliveryPipelineRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified GetDeliveryPipelineRequest message, length delimited. Does not implicitly {@link google.cloud.deploy.v1.GetDeliveryPipelineRequest.verify|verify} messages.
+ * @param message GetDeliveryPipelineRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.deploy.v1.IGetDeliveryPipelineRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a GetDeliveryPipelineRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns GetDeliveryPipelineRequest
+ * @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.deploy.v1.GetDeliveryPipelineRequest;
+
+ /**
+ * Decodes a GetDeliveryPipelineRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns GetDeliveryPipelineRequest
+ * @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.deploy.v1.GetDeliveryPipelineRequest;
+
+ /**
+ * Verifies a GetDeliveryPipelineRequest 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 GetDeliveryPipelineRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns GetDeliveryPipelineRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.deploy.v1.GetDeliveryPipelineRequest;
+
+ /**
+ * Creates a plain object from a GetDeliveryPipelineRequest message. Also converts values to other types if specified.
+ * @param message GetDeliveryPipelineRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.deploy.v1.GetDeliveryPipelineRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this GetDeliveryPipelineRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for GetDeliveryPipelineRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a CreateDeliveryPipelineRequest. */
+ interface ICreateDeliveryPipelineRequest {
+
+ /** CreateDeliveryPipelineRequest parent */
+ parent?: (string|null);
+
+ /** CreateDeliveryPipelineRequest deliveryPipelineId */
+ deliveryPipelineId?: (string|null);
+
+ /** CreateDeliveryPipelineRequest deliveryPipeline */
+ deliveryPipeline?: (google.cloud.deploy.v1.IDeliveryPipeline|null);
+
+ /** CreateDeliveryPipelineRequest requestId */
+ requestId?: (string|null);
+
+ /** CreateDeliveryPipelineRequest validateOnly */
+ validateOnly?: (boolean|null);
+ }
+
+ /** Represents a CreateDeliveryPipelineRequest. */
+ class CreateDeliveryPipelineRequest implements ICreateDeliveryPipelineRequest {
+
+ /**
+ * Constructs a new CreateDeliveryPipelineRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.deploy.v1.ICreateDeliveryPipelineRequest);
+
+ /** CreateDeliveryPipelineRequest parent. */
+ public parent: string;
+
+ /** CreateDeliveryPipelineRequest deliveryPipelineId. */
+ public deliveryPipelineId: string;
+
+ /** CreateDeliveryPipelineRequest deliveryPipeline. */
+ public deliveryPipeline?: (google.cloud.deploy.v1.IDeliveryPipeline|null);
+
+ /** CreateDeliveryPipelineRequest requestId. */
+ public requestId: string;
+
+ /** CreateDeliveryPipelineRequest validateOnly. */
+ public validateOnly: boolean;
+
+ /**
+ * Creates a new CreateDeliveryPipelineRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns CreateDeliveryPipelineRequest instance
+ */
+ public static create(properties?: google.cloud.deploy.v1.ICreateDeliveryPipelineRequest): google.cloud.deploy.v1.CreateDeliveryPipelineRequest;
+
+ /**
+ * Encodes the specified CreateDeliveryPipelineRequest message. Does not implicitly {@link google.cloud.deploy.v1.CreateDeliveryPipelineRequest.verify|verify} messages.
+ * @param message CreateDeliveryPipelineRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.deploy.v1.ICreateDeliveryPipelineRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified CreateDeliveryPipelineRequest message, length delimited. Does not implicitly {@link google.cloud.deploy.v1.CreateDeliveryPipelineRequest.verify|verify} messages.
+ * @param message CreateDeliveryPipelineRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.deploy.v1.ICreateDeliveryPipelineRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a CreateDeliveryPipelineRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns CreateDeliveryPipelineRequest
+ * @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.deploy.v1.CreateDeliveryPipelineRequest;
+
+ /**
+ * Decodes a CreateDeliveryPipelineRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns CreateDeliveryPipelineRequest
+ * @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.deploy.v1.CreateDeliveryPipelineRequest;
+
+ /**
+ * Verifies a CreateDeliveryPipelineRequest 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 CreateDeliveryPipelineRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns CreateDeliveryPipelineRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.deploy.v1.CreateDeliveryPipelineRequest;
+
+ /**
+ * Creates a plain object from a CreateDeliveryPipelineRequest message. Also converts values to other types if specified.
+ * @param message CreateDeliveryPipelineRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.deploy.v1.CreateDeliveryPipelineRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this CreateDeliveryPipelineRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for CreateDeliveryPipelineRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of an UpdateDeliveryPipelineRequest. */
+ interface IUpdateDeliveryPipelineRequest {
+
+ /** UpdateDeliveryPipelineRequest updateMask */
+ updateMask?: (google.protobuf.IFieldMask|null);
+
+ /** UpdateDeliveryPipelineRequest deliveryPipeline */
+ deliveryPipeline?: (google.cloud.deploy.v1.IDeliveryPipeline|null);
+
+ /** UpdateDeliveryPipelineRequest requestId */
+ requestId?: (string|null);
+
+ /** UpdateDeliveryPipelineRequest allowMissing */
+ allowMissing?: (boolean|null);
+
+ /** UpdateDeliveryPipelineRequest validateOnly */
+ validateOnly?: (boolean|null);
+ }
+
+ /** Represents an UpdateDeliveryPipelineRequest. */
+ class UpdateDeliveryPipelineRequest implements IUpdateDeliveryPipelineRequest {
+
+ /**
+ * Constructs a new UpdateDeliveryPipelineRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.deploy.v1.IUpdateDeliveryPipelineRequest);
+
+ /** UpdateDeliveryPipelineRequest updateMask. */
+ public updateMask?: (google.protobuf.IFieldMask|null);
+
+ /** UpdateDeliveryPipelineRequest deliveryPipeline. */
+ public deliveryPipeline?: (google.cloud.deploy.v1.IDeliveryPipeline|null);
+
+ /** UpdateDeliveryPipelineRequest requestId. */
+ public requestId: string;
+
+ /** UpdateDeliveryPipelineRequest allowMissing. */
+ public allowMissing: boolean;
+
+ /** UpdateDeliveryPipelineRequest validateOnly. */
+ public validateOnly: boolean;
+
+ /**
+ * Creates a new UpdateDeliveryPipelineRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns UpdateDeliveryPipelineRequest instance
+ */
+ public static create(properties?: google.cloud.deploy.v1.IUpdateDeliveryPipelineRequest): google.cloud.deploy.v1.UpdateDeliveryPipelineRequest;
+
+ /**
+ * Encodes the specified UpdateDeliveryPipelineRequest message. Does not implicitly {@link google.cloud.deploy.v1.UpdateDeliveryPipelineRequest.verify|verify} messages.
+ * @param message UpdateDeliveryPipelineRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.deploy.v1.IUpdateDeliveryPipelineRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified UpdateDeliveryPipelineRequest message, length delimited. Does not implicitly {@link google.cloud.deploy.v1.UpdateDeliveryPipelineRequest.verify|verify} messages.
+ * @param message UpdateDeliveryPipelineRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.deploy.v1.IUpdateDeliveryPipelineRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an UpdateDeliveryPipelineRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns UpdateDeliveryPipelineRequest
+ * @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.deploy.v1.UpdateDeliveryPipelineRequest;
+
+ /**
+ * Decodes an UpdateDeliveryPipelineRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns UpdateDeliveryPipelineRequest
+ * @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.deploy.v1.UpdateDeliveryPipelineRequest;
+
+ /**
+ * Verifies an UpdateDeliveryPipelineRequest 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 UpdateDeliveryPipelineRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns UpdateDeliveryPipelineRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.deploy.v1.UpdateDeliveryPipelineRequest;
+
+ /**
+ * Creates a plain object from an UpdateDeliveryPipelineRequest message. Also converts values to other types if specified.
+ * @param message UpdateDeliveryPipelineRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.deploy.v1.UpdateDeliveryPipelineRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this UpdateDeliveryPipelineRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for UpdateDeliveryPipelineRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a DeleteDeliveryPipelineRequest. */
+ interface IDeleteDeliveryPipelineRequest {
+
+ /** DeleteDeliveryPipelineRequest name */
+ name?: (string|null);
+
+ /** DeleteDeliveryPipelineRequest requestId */
+ requestId?: (string|null);
+
+ /** DeleteDeliveryPipelineRequest allowMissing */
+ allowMissing?: (boolean|null);
+
+ /** DeleteDeliveryPipelineRequest validateOnly */
+ validateOnly?: (boolean|null);
+
+ /** DeleteDeliveryPipelineRequest force */
+ force?: (boolean|null);
+
+ /** DeleteDeliveryPipelineRequest etag */
+ etag?: (string|null);
+ }
+
+ /** Represents a DeleteDeliveryPipelineRequest. */
+ class DeleteDeliveryPipelineRequest implements IDeleteDeliveryPipelineRequest {
+
+ /**
+ * Constructs a new DeleteDeliveryPipelineRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.deploy.v1.IDeleteDeliveryPipelineRequest);
+
+ /** DeleteDeliveryPipelineRequest name. */
+ public name: string;
+
+ /** DeleteDeliveryPipelineRequest requestId. */
+ public requestId: string;
+
+ /** DeleteDeliveryPipelineRequest allowMissing. */
+ public allowMissing: boolean;
+
+ /** DeleteDeliveryPipelineRequest validateOnly. */
+ public validateOnly: boolean;
+
+ /** DeleteDeliveryPipelineRequest force. */
+ public force: boolean;
+
+ /** DeleteDeliveryPipelineRequest etag. */
+ public etag: string;
+
+ /**
+ * Creates a new DeleteDeliveryPipelineRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns DeleteDeliveryPipelineRequest instance
+ */
+ public static create(properties?: google.cloud.deploy.v1.IDeleteDeliveryPipelineRequest): google.cloud.deploy.v1.DeleteDeliveryPipelineRequest;
+
+ /**
+ * Encodes the specified DeleteDeliveryPipelineRequest message. Does not implicitly {@link google.cloud.deploy.v1.DeleteDeliveryPipelineRequest.verify|verify} messages.
+ * @param message DeleteDeliveryPipelineRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.deploy.v1.IDeleteDeliveryPipelineRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified DeleteDeliveryPipelineRequest message, length delimited. Does not implicitly {@link google.cloud.deploy.v1.DeleteDeliveryPipelineRequest.verify|verify} messages.
+ * @param message DeleteDeliveryPipelineRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.deploy.v1.IDeleteDeliveryPipelineRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a DeleteDeliveryPipelineRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns DeleteDeliveryPipelineRequest
+ * @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.deploy.v1.DeleteDeliveryPipelineRequest;
+
+ /**
+ * Decodes a DeleteDeliveryPipelineRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns DeleteDeliveryPipelineRequest
+ * @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.deploy.v1.DeleteDeliveryPipelineRequest;
+
+ /**
+ * Verifies a DeleteDeliveryPipelineRequest 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 DeleteDeliveryPipelineRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns DeleteDeliveryPipelineRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.deploy.v1.DeleteDeliveryPipelineRequest;
+
+ /**
+ * Creates a plain object from a DeleteDeliveryPipelineRequest message. Also converts values to other types if specified.
+ * @param message DeleteDeliveryPipelineRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.deploy.v1.DeleteDeliveryPipelineRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this DeleteDeliveryPipelineRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for DeleteDeliveryPipelineRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a Target. */
+ interface ITarget {
+
+ /** Target name */
+ name?: (string|null);
+
+ /** Target targetId */
+ targetId?: (string|null);
+
+ /** Target uid */
+ uid?: (string|null);
+
+ /** Target description */
+ description?: (string|null);
+
+ /** Target annotations */
+ annotations?: ({ [k: string]: string }|null);
+
+ /** Target labels */
+ labels?: ({ [k: string]: string }|null);
+
+ /** Target requireApproval */
+ requireApproval?: (boolean|null);
+
+ /** Target createTime */
+ createTime?: (google.protobuf.ITimestamp|null);
+
+ /** Target updateTime */
+ updateTime?: (google.protobuf.ITimestamp|null);
+
+ /** Target gke */
+ gke?: (google.cloud.deploy.v1.IGkeCluster|null);
+
+ /** Target anthosCluster */
+ anthosCluster?: (google.cloud.deploy.v1.IAnthosCluster|null);
+
+ /** Target run */
+ run?: (google.cloud.deploy.v1.ICloudRunLocation|null);
+
+ /** Target etag */
+ etag?: (string|null);
+
+ /** Target executionConfigs */
+ executionConfigs?: (google.cloud.deploy.v1.IExecutionConfig[]|null);
+ }
+
+ /** Represents a Target. */
+ class Target implements ITarget {
+
+ /**
+ * Constructs a new Target.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.deploy.v1.ITarget);
+
+ /** Target name. */
+ public name: string;
+
+ /** Target targetId. */
+ public targetId: string;
+
+ /** Target uid. */
+ public uid: string;
+
+ /** Target description. */
+ public description: string;
+
+ /** Target annotations. */
+ public annotations: { [k: string]: string };
+
+ /** Target labels. */
+ public labels: { [k: string]: string };
+
+ /** Target requireApproval. */
+ public requireApproval: boolean;
+
+ /** Target createTime. */
+ public createTime?: (google.protobuf.ITimestamp|null);
+
+ /** Target updateTime. */
+ public updateTime?: (google.protobuf.ITimestamp|null);
+
+ /** Target gke. */
+ public gke?: (google.cloud.deploy.v1.IGkeCluster|null);
+
+ /** Target anthosCluster. */
+ public anthosCluster?: (google.cloud.deploy.v1.IAnthosCluster|null);
+
+ /** Target run. */
+ public run?: (google.cloud.deploy.v1.ICloudRunLocation|null);
+
+ /** Target etag. */
+ public etag: string;
+
+ /** Target executionConfigs. */
+ public executionConfigs: google.cloud.deploy.v1.IExecutionConfig[];
+
+ /** Target deploymentTarget. */
+ public deploymentTarget?: ("gke"|"anthosCluster"|"run");
+
+ /**
+ * Creates a new Target instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns Target instance
+ */
+ public static create(properties?: google.cloud.deploy.v1.ITarget): google.cloud.deploy.v1.Target;
+
+ /**
+ * Encodes the specified Target message. Does not implicitly {@link google.cloud.deploy.v1.Target.verify|verify} messages.
+ * @param message Target message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.deploy.v1.ITarget, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified Target message, length delimited. Does not implicitly {@link google.cloud.deploy.v1.Target.verify|verify} messages.
+ * @param message Target message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.deploy.v1.ITarget, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a Target message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns Target
+ * @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.deploy.v1.Target;
+
+ /**
+ * Decodes a Target message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns Target
+ * @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.deploy.v1.Target;
+
+ /**
+ * Verifies a Target 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 Target message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns Target
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.deploy.v1.Target;
+
+ /**
+ * Creates a plain object from a Target message. Also converts values to other types if specified.
+ * @param message Target
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.deploy.v1.Target, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this Target to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for Target
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of an ExecutionConfig. */
+ interface IExecutionConfig {
+
+ /** ExecutionConfig usages */
+ usages?: (google.cloud.deploy.v1.ExecutionConfig.ExecutionEnvironmentUsage[]|null);
+
+ /** ExecutionConfig defaultPool */
+ defaultPool?: (google.cloud.deploy.v1.IDefaultPool|null);
+
+ /** ExecutionConfig privatePool */
+ privatePool?: (google.cloud.deploy.v1.IPrivatePool|null);
+
+ /** ExecutionConfig workerPool */
+ workerPool?: (string|null);
+
+ /** ExecutionConfig serviceAccount */
+ serviceAccount?: (string|null);
+
+ /** ExecutionConfig artifactStorage */
+ artifactStorage?: (string|null);
+
+ /** ExecutionConfig executionTimeout */
+ executionTimeout?: (google.protobuf.IDuration|null);
+ }
+
+ /** Represents an ExecutionConfig. */
+ class ExecutionConfig implements IExecutionConfig {
+
+ /**
+ * Constructs a new ExecutionConfig.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.deploy.v1.IExecutionConfig);
+
+ /** ExecutionConfig usages. */
+ public usages: google.cloud.deploy.v1.ExecutionConfig.ExecutionEnvironmentUsage[];
+
+ /** ExecutionConfig defaultPool. */
+ public defaultPool?: (google.cloud.deploy.v1.IDefaultPool|null);
+
+ /** ExecutionConfig privatePool. */
+ public privatePool?: (google.cloud.deploy.v1.IPrivatePool|null);
+
+ /** ExecutionConfig workerPool. */
+ public workerPool: string;
+
+ /** ExecutionConfig serviceAccount. */
+ public serviceAccount: string;
+
+ /** ExecutionConfig artifactStorage. */
+ public artifactStorage: string;
+
+ /** ExecutionConfig executionTimeout. */
+ public executionTimeout?: (google.protobuf.IDuration|null);
+
+ /** ExecutionConfig executionEnvironment. */
+ public executionEnvironment?: ("defaultPool"|"privatePool");
+
+ /**
+ * Creates a new ExecutionConfig instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ExecutionConfig instance
+ */
+ public static create(properties?: google.cloud.deploy.v1.IExecutionConfig): google.cloud.deploy.v1.ExecutionConfig;
+
+ /**
+ * Encodes the specified ExecutionConfig message. Does not implicitly {@link google.cloud.deploy.v1.ExecutionConfig.verify|verify} messages.
+ * @param message ExecutionConfig message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.deploy.v1.IExecutionConfig, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ExecutionConfig message, length delimited. Does not implicitly {@link google.cloud.deploy.v1.ExecutionConfig.verify|verify} messages.
+ * @param message ExecutionConfig message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.deploy.v1.IExecutionConfig, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an ExecutionConfig message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ExecutionConfig
+ * @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.deploy.v1.ExecutionConfig;
+
+ /**
+ * Decodes an ExecutionConfig message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ExecutionConfig
+ * @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.deploy.v1.ExecutionConfig;
+
+ /**
+ * Verifies an ExecutionConfig 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 ExecutionConfig message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ExecutionConfig
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.deploy.v1.ExecutionConfig;
+
+ /**
+ * Creates a plain object from an ExecutionConfig message. Also converts values to other types if specified.
+ * @param message ExecutionConfig
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.deploy.v1.ExecutionConfig, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ExecutionConfig to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ExecutionConfig
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace ExecutionConfig {
+
+ /** ExecutionEnvironmentUsage enum. */
+ enum ExecutionEnvironmentUsage {
+ EXECUTION_ENVIRONMENT_USAGE_UNSPECIFIED = 0,
+ RENDER = 1,
+ DEPLOY = 2,
+ VERIFY = 3
+ }
+ }
+
+ /** Properties of a DefaultPool. */
+ interface IDefaultPool {
+
+ /** DefaultPool serviceAccount */
+ serviceAccount?: (string|null);
+
+ /** DefaultPool artifactStorage */
+ artifactStorage?: (string|null);
+ }
+
+ /** Represents a DefaultPool. */
+ class DefaultPool implements IDefaultPool {
+
+ /**
+ * Constructs a new DefaultPool.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.deploy.v1.IDefaultPool);
+
+ /** DefaultPool serviceAccount. */
+ public serviceAccount: string;
+
+ /** DefaultPool artifactStorage. */
+ public artifactStorage: string;
+
+ /**
+ * Creates a new DefaultPool instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns DefaultPool instance
+ */
+ public static create(properties?: google.cloud.deploy.v1.IDefaultPool): google.cloud.deploy.v1.DefaultPool;
+
+ /**
+ * Encodes the specified DefaultPool message. Does not implicitly {@link google.cloud.deploy.v1.DefaultPool.verify|verify} messages.
+ * @param message DefaultPool message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.deploy.v1.IDefaultPool, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified DefaultPool message, length delimited. Does not implicitly {@link google.cloud.deploy.v1.DefaultPool.verify|verify} messages.
+ * @param message DefaultPool message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.deploy.v1.IDefaultPool, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a DefaultPool message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns DefaultPool
+ * @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.deploy.v1.DefaultPool;
+
+ /**
+ * Decodes a DefaultPool message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns DefaultPool
+ * @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.deploy.v1.DefaultPool;
+
+ /**
+ * Verifies a DefaultPool 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 DefaultPool message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns DefaultPool
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.deploy.v1.DefaultPool;
+
+ /**
+ * Creates a plain object from a DefaultPool message. Also converts values to other types if specified.
+ * @param message DefaultPool
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.deploy.v1.DefaultPool, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this DefaultPool to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for DefaultPool
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a PrivatePool. */
+ interface IPrivatePool {
+
+ /** PrivatePool workerPool */
+ workerPool?: (string|null);
+
+ /** PrivatePool serviceAccount */
+ serviceAccount?: (string|null);
+
+ /** PrivatePool artifactStorage */
+ artifactStorage?: (string|null);
+ }
+
+ /** Represents a PrivatePool. */
+ class PrivatePool implements IPrivatePool {
+
+ /**
+ * Constructs a new PrivatePool.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.deploy.v1.IPrivatePool);
+
+ /** PrivatePool workerPool. */
+ public workerPool: string;
+
+ /** PrivatePool serviceAccount. */
+ public serviceAccount: string;
+
+ /** PrivatePool artifactStorage. */
+ public artifactStorage: string;
+
+ /**
+ * Creates a new PrivatePool instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns PrivatePool instance
+ */
+ public static create(properties?: google.cloud.deploy.v1.IPrivatePool): google.cloud.deploy.v1.PrivatePool;
+
+ /**
+ * Encodes the specified PrivatePool message. Does not implicitly {@link google.cloud.deploy.v1.PrivatePool.verify|verify} messages.
+ * @param message PrivatePool message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.deploy.v1.IPrivatePool, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified PrivatePool message, length delimited. Does not implicitly {@link google.cloud.deploy.v1.PrivatePool.verify|verify} messages.
+ * @param message PrivatePool message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.deploy.v1.IPrivatePool, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a PrivatePool message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns PrivatePool
+ * @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.deploy.v1.PrivatePool;
+
+ /**
+ * Decodes a PrivatePool message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns PrivatePool
+ * @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.deploy.v1.PrivatePool;
+
+ /**
+ * Verifies a PrivatePool 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 PrivatePool message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns PrivatePool
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.deploy.v1.PrivatePool;
+
+ /**
+ * Creates a plain object from a PrivatePool message. Also converts values to other types if specified.
+ * @param message PrivatePool
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.deploy.v1.PrivatePool, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this PrivatePool to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for PrivatePool
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a GkeCluster. */
+ interface IGkeCluster {
+
+ /** GkeCluster cluster */
+ cluster?: (string|null);
+
+ /** GkeCluster internalIp */
+ internalIp?: (boolean|null);
+ }
+
+ /** Represents a GkeCluster. */
+ class GkeCluster implements IGkeCluster {
+
+ /**
+ * Constructs a new GkeCluster.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.deploy.v1.IGkeCluster);
+
+ /** GkeCluster cluster. */
+ public cluster: string;
+
+ /** GkeCluster internalIp. */
+ public internalIp: boolean;
+
+ /**
+ * Creates a new GkeCluster instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns GkeCluster instance
+ */
+ public static create(properties?: google.cloud.deploy.v1.IGkeCluster): google.cloud.deploy.v1.GkeCluster;
+
+ /**
+ * Encodes the specified GkeCluster message. Does not implicitly {@link google.cloud.deploy.v1.GkeCluster.verify|verify} messages.
+ * @param message GkeCluster message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.deploy.v1.IGkeCluster, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified GkeCluster message, length delimited. Does not implicitly {@link google.cloud.deploy.v1.GkeCluster.verify|verify} messages.
+ * @param message GkeCluster message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.deploy.v1.IGkeCluster, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a GkeCluster message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns GkeCluster
+ * @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.deploy.v1.GkeCluster;
+
+ /**
+ * Decodes a GkeCluster message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns GkeCluster
+ * @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.deploy.v1.GkeCluster;
+
+ /**
+ * Verifies a GkeCluster 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 GkeCluster message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns GkeCluster
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.deploy.v1.GkeCluster;
+
+ /**
+ * Creates a plain object from a GkeCluster message. Also converts values to other types if specified.
+ * @param message GkeCluster
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.deploy.v1.GkeCluster, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this GkeCluster to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for GkeCluster
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of an AnthosCluster. */
+ interface IAnthosCluster {
+
+ /** AnthosCluster membership */
+ membership?: (string|null);
+ }
+
+ /** Represents an AnthosCluster. */
+ class AnthosCluster implements IAnthosCluster {
+
+ /**
+ * Constructs a new AnthosCluster.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.deploy.v1.IAnthosCluster);
+
+ /** AnthosCluster membership. */
+ public membership: string;
+
+ /**
+ * Creates a new AnthosCluster instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns AnthosCluster instance
+ */
+ public static create(properties?: google.cloud.deploy.v1.IAnthosCluster): google.cloud.deploy.v1.AnthosCluster;
+
+ /**
+ * Encodes the specified AnthosCluster message. Does not implicitly {@link google.cloud.deploy.v1.AnthosCluster.verify|verify} messages.
+ * @param message AnthosCluster message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.deploy.v1.IAnthosCluster, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified AnthosCluster message, length delimited. Does not implicitly {@link google.cloud.deploy.v1.AnthosCluster.verify|verify} messages.
+ * @param message AnthosCluster message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.deploy.v1.IAnthosCluster, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an AnthosCluster message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns AnthosCluster
+ * @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.deploy.v1.AnthosCluster;
+
+ /**
+ * Decodes an AnthosCluster message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns AnthosCluster
+ * @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.deploy.v1.AnthosCluster;
+
+ /**
+ * Verifies an AnthosCluster 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 AnthosCluster message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns AnthosCluster
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.deploy.v1.AnthosCluster;
+
+ /**
+ * Creates a plain object from an AnthosCluster message. Also converts values to other types if specified.
+ * @param message AnthosCluster
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.deploy.v1.AnthosCluster, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this AnthosCluster to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for AnthosCluster
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a CloudRunLocation. */
+ interface ICloudRunLocation {
+
+ /** CloudRunLocation location */
+ location?: (string|null);
+ }
+
+ /** Represents a CloudRunLocation. */
+ class CloudRunLocation implements ICloudRunLocation {
+
+ /**
+ * Constructs a new CloudRunLocation.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.deploy.v1.ICloudRunLocation);
+
+ /** CloudRunLocation location. */
+ public location: string;
+
+ /**
+ * Creates a new CloudRunLocation instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns CloudRunLocation instance
+ */
+ public static create(properties?: google.cloud.deploy.v1.ICloudRunLocation): google.cloud.deploy.v1.CloudRunLocation;
+
+ /**
+ * Encodes the specified CloudRunLocation message. Does not implicitly {@link google.cloud.deploy.v1.CloudRunLocation.verify|verify} messages.
+ * @param message CloudRunLocation message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.deploy.v1.ICloudRunLocation, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified CloudRunLocation message, length delimited. Does not implicitly {@link google.cloud.deploy.v1.CloudRunLocation.verify|verify} messages.
+ * @param message CloudRunLocation message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.deploy.v1.ICloudRunLocation, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a CloudRunLocation message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns CloudRunLocation
+ * @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.deploy.v1.CloudRunLocation;
+
+ /**
+ * Decodes a CloudRunLocation message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns CloudRunLocation
+ * @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.deploy.v1.CloudRunLocation;
+
+ /**
+ * Verifies a CloudRunLocation 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 CloudRunLocation message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns CloudRunLocation
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.deploy.v1.CloudRunLocation;
+
+ /**
+ * Creates a plain object from a CloudRunLocation message. Also converts values to other types if specified.
+ * @param message CloudRunLocation
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.deploy.v1.CloudRunLocation, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this CloudRunLocation to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for CloudRunLocation
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a ListTargetsRequest. */
+ interface IListTargetsRequest {
+
+ /** ListTargetsRequest parent */
+ parent?: (string|null);
+
+ /** ListTargetsRequest pageSize */
+ pageSize?: (number|null);
+
+ /** ListTargetsRequest pageToken */
+ pageToken?: (string|null);
+
+ /** ListTargetsRequest filter */
+ filter?: (string|null);
+
+ /** ListTargetsRequest orderBy */
+ orderBy?: (string|null);
+ }
+
+ /** Represents a ListTargetsRequest. */
+ class ListTargetsRequest implements IListTargetsRequest {
+
+ /**
+ * Constructs a new ListTargetsRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.deploy.v1.IListTargetsRequest);
+
+ /** ListTargetsRequest parent. */
+ public parent: string;
+
+ /** ListTargetsRequest pageSize. */
+ public pageSize: number;
+
+ /** ListTargetsRequest pageToken. */
+ public pageToken: string;
+
+ /** ListTargetsRequest filter. */
+ public filter: string;
+
+ /** ListTargetsRequest orderBy. */
+ public orderBy: string;
+
+ /**
+ * Creates a new ListTargetsRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ListTargetsRequest instance
+ */
+ public static create(properties?: google.cloud.deploy.v1.IListTargetsRequest): google.cloud.deploy.v1.ListTargetsRequest;
+
+ /**
+ * Encodes the specified ListTargetsRequest message. Does not implicitly {@link google.cloud.deploy.v1.ListTargetsRequest.verify|verify} messages.
+ * @param message ListTargetsRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.deploy.v1.IListTargetsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ListTargetsRequest message, length delimited. Does not implicitly {@link google.cloud.deploy.v1.ListTargetsRequest.verify|verify} messages.
+ * @param message ListTargetsRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.deploy.v1.IListTargetsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ListTargetsRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ListTargetsRequest
+ * @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.deploy.v1.ListTargetsRequest;
+
+ /**
+ * Decodes a ListTargetsRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ListTargetsRequest
+ * @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.deploy.v1.ListTargetsRequest;
+
+ /**
+ * Verifies a ListTargetsRequest 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 ListTargetsRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ListTargetsRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.deploy.v1.ListTargetsRequest;
+
+ /**
+ * Creates a plain object from a ListTargetsRequest message. Also converts values to other types if specified.
+ * @param message ListTargetsRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.deploy.v1.ListTargetsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ListTargetsRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ListTargetsRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a ListTargetsResponse. */
+ interface IListTargetsResponse {
+
+ /** ListTargetsResponse targets */
+ targets?: (google.cloud.deploy.v1.ITarget[]|null);
+
+ /** ListTargetsResponse nextPageToken */
+ nextPageToken?: (string|null);
+
+ /** ListTargetsResponse unreachable */
+ unreachable?: (string[]|null);
+ }
+
+ /** Represents a ListTargetsResponse. */
+ class ListTargetsResponse implements IListTargetsResponse {
+
+ /**
+ * Constructs a new ListTargetsResponse.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.deploy.v1.IListTargetsResponse);
+
+ /** ListTargetsResponse targets. */
+ public targets: google.cloud.deploy.v1.ITarget[];
+
+ /** ListTargetsResponse nextPageToken. */
+ public nextPageToken: string;
+
+ /** ListTargetsResponse unreachable. */
+ public unreachable: string[];
+
+ /**
+ * Creates a new ListTargetsResponse instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ListTargetsResponse instance
+ */
+ public static create(properties?: google.cloud.deploy.v1.IListTargetsResponse): google.cloud.deploy.v1.ListTargetsResponse;
+
+ /**
+ * Encodes the specified ListTargetsResponse message. Does not implicitly {@link google.cloud.deploy.v1.ListTargetsResponse.verify|verify} messages.
+ * @param message ListTargetsResponse message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.deploy.v1.IListTargetsResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ListTargetsResponse message, length delimited. Does not implicitly {@link google.cloud.deploy.v1.ListTargetsResponse.verify|verify} messages.
+ * @param message ListTargetsResponse message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.deploy.v1.IListTargetsResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ListTargetsResponse message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ListTargetsResponse
+ * @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.deploy.v1.ListTargetsResponse;
+
+ /**
+ * Decodes a ListTargetsResponse message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ListTargetsResponse
+ * @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.deploy.v1.ListTargetsResponse;
+
+ /**
+ * Verifies a ListTargetsResponse 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 ListTargetsResponse message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ListTargetsResponse
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.deploy.v1.ListTargetsResponse;
+
+ /**
+ * Creates a plain object from a ListTargetsResponse message. Also converts values to other types if specified.
+ * @param message ListTargetsResponse
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.deploy.v1.ListTargetsResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ListTargetsResponse to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ListTargetsResponse
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a GetTargetRequest. */
+ interface IGetTargetRequest {
+
+ /** GetTargetRequest name */
+ name?: (string|null);
+ }
+
+ /** Represents a GetTargetRequest. */
+ class GetTargetRequest implements IGetTargetRequest {
+
+ /**
+ * Constructs a new GetTargetRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.deploy.v1.IGetTargetRequest);
+
+ /** GetTargetRequest name. */
+ public name: string;
+
+ /**
+ * Creates a new GetTargetRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns GetTargetRequest instance
+ */
+ public static create(properties?: google.cloud.deploy.v1.IGetTargetRequest): google.cloud.deploy.v1.GetTargetRequest;
+
+ /**
+ * Encodes the specified GetTargetRequest message. Does not implicitly {@link google.cloud.deploy.v1.GetTargetRequest.verify|verify} messages.
+ * @param message GetTargetRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.deploy.v1.IGetTargetRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified GetTargetRequest message, length delimited. Does not implicitly {@link google.cloud.deploy.v1.GetTargetRequest.verify|verify} messages.
+ * @param message GetTargetRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.deploy.v1.IGetTargetRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a GetTargetRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns GetTargetRequest
+ * @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.deploy.v1.GetTargetRequest;
+
+ /**
+ * Decodes a GetTargetRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns GetTargetRequest
+ * @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.deploy.v1.GetTargetRequest;
+
+ /**
+ * Verifies a GetTargetRequest 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 GetTargetRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns GetTargetRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.deploy.v1.GetTargetRequest;
+
+ /**
+ * Creates a plain object from a GetTargetRequest message. Also converts values to other types if specified.
+ * @param message GetTargetRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.deploy.v1.GetTargetRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this GetTargetRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for GetTargetRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a CreateTargetRequest. */
+ interface ICreateTargetRequest {
+
+ /** CreateTargetRequest parent */
+ parent?: (string|null);
+
+ /** CreateTargetRequest targetId */
+ targetId?: (string|null);
+
+ /** CreateTargetRequest target */
+ target?: (google.cloud.deploy.v1.ITarget|null);
+
+ /** CreateTargetRequest requestId */
+ requestId?: (string|null);
+
+ /** CreateTargetRequest validateOnly */
+ validateOnly?: (boolean|null);
+ }
+
+ /** Represents a CreateTargetRequest. */
+ class CreateTargetRequest implements ICreateTargetRequest {
+
+ /**
+ * Constructs a new CreateTargetRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.deploy.v1.ICreateTargetRequest);
+
+ /** CreateTargetRequest parent. */
+ public parent: string;
+
+ /** CreateTargetRequest targetId. */
+ public targetId: string;
+
+ /** CreateTargetRequest target. */
+ public target?: (google.cloud.deploy.v1.ITarget|null);
+
+ /** CreateTargetRequest requestId. */
+ public requestId: string;
+
+ /** CreateTargetRequest validateOnly. */
+ public validateOnly: boolean;
+
+ /**
+ * Creates a new CreateTargetRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns CreateTargetRequest instance
+ */
+ public static create(properties?: google.cloud.deploy.v1.ICreateTargetRequest): google.cloud.deploy.v1.CreateTargetRequest;
+
+ /**
+ * Encodes the specified CreateTargetRequest message. Does not implicitly {@link google.cloud.deploy.v1.CreateTargetRequest.verify|verify} messages.
+ * @param message CreateTargetRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.deploy.v1.ICreateTargetRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified CreateTargetRequest message, length delimited. Does not implicitly {@link google.cloud.deploy.v1.CreateTargetRequest.verify|verify} messages.
+ * @param message CreateTargetRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.deploy.v1.ICreateTargetRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a CreateTargetRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns CreateTargetRequest
+ * @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.deploy.v1.CreateTargetRequest;
+
+ /**
+ * Decodes a CreateTargetRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns CreateTargetRequest
+ * @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.deploy.v1.CreateTargetRequest;
+
+ /**
+ * Verifies a CreateTargetRequest 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 CreateTargetRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns CreateTargetRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.deploy.v1.CreateTargetRequest;
+
+ /**
+ * Creates a plain object from a CreateTargetRequest message. Also converts values to other types if specified.
+ * @param message CreateTargetRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.deploy.v1.CreateTargetRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this CreateTargetRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for CreateTargetRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of an UpdateTargetRequest. */
+ interface IUpdateTargetRequest {
+
+ /** UpdateTargetRequest updateMask */
+ updateMask?: (google.protobuf.IFieldMask|null);
+
+ /** UpdateTargetRequest target */
+ target?: (google.cloud.deploy.v1.ITarget|null);
+
+ /** UpdateTargetRequest requestId */
+ requestId?: (string|null);
+
+ /** UpdateTargetRequest allowMissing */
+ allowMissing?: (boolean|null);
+
+ /** UpdateTargetRequest validateOnly */
+ validateOnly?: (boolean|null);
+ }
+
+ /** Represents an UpdateTargetRequest. */
+ class UpdateTargetRequest implements IUpdateTargetRequest {
+
+ /**
+ * Constructs a new UpdateTargetRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.deploy.v1.IUpdateTargetRequest);
+
+ /** UpdateTargetRequest updateMask. */
+ public updateMask?: (google.protobuf.IFieldMask|null);
+
+ /** UpdateTargetRequest target. */
+ public target?: (google.cloud.deploy.v1.ITarget|null);
+
+ /** UpdateTargetRequest requestId. */
+ public requestId: string;
+
+ /** UpdateTargetRequest allowMissing. */
+ public allowMissing: boolean;
+
+ /** UpdateTargetRequest validateOnly. */
+ public validateOnly: boolean;
+
+ /**
+ * Creates a new UpdateTargetRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns UpdateTargetRequest instance
+ */
+ public static create(properties?: google.cloud.deploy.v1.IUpdateTargetRequest): google.cloud.deploy.v1.UpdateTargetRequest;
+
+ /**
+ * Encodes the specified UpdateTargetRequest message. Does not implicitly {@link google.cloud.deploy.v1.UpdateTargetRequest.verify|verify} messages.
+ * @param message UpdateTargetRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.deploy.v1.IUpdateTargetRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified UpdateTargetRequest message, length delimited. Does not implicitly {@link google.cloud.deploy.v1.UpdateTargetRequest.verify|verify} messages.
+ * @param message UpdateTargetRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.deploy.v1.IUpdateTargetRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an UpdateTargetRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns UpdateTargetRequest
+ * @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.deploy.v1.UpdateTargetRequest;
+
+ /**
+ * Decodes an UpdateTargetRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns UpdateTargetRequest
+ * @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.deploy.v1.UpdateTargetRequest;
+
+ /**
+ * Verifies an UpdateTargetRequest 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 UpdateTargetRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns UpdateTargetRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.deploy.v1.UpdateTargetRequest;
+
+ /**
+ * Creates a plain object from an UpdateTargetRequest message. Also converts values to other types if specified.
+ * @param message UpdateTargetRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.deploy.v1.UpdateTargetRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this UpdateTargetRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for UpdateTargetRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a DeleteTargetRequest. */
+ interface IDeleteTargetRequest {
+
+ /** DeleteTargetRequest name */
+ name?: (string|null);
+
+ /** DeleteTargetRequest requestId */
+ requestId?: (string|null);
+
+ /** DeleteTargetRequest allowMissing */
+ allowMissing?: (boolean|null);
+
+ /** DeleteTargetRequest validateOnly */
+ validateOnly?: (boolean|null);
+
+ /** DeleteTargetRequest etag */
+ etag?: (string|null);
+ }
+
+ /** Represents a DeleteTargetRequest. */
+ class DeleteTargetRequest implements IDeleteTargetRequest {
+
+ /**
+ * Constructs a new DeleteTargetRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.deploy.v1.IDeleteTargetRequest);
+
+ /** DeleteTargetRequest name. */
+ public name: string;
+
+ /** DeleteTargetRequest requestId. */
+ public requestId: string;
+
+ /** DeleteTargetRequest allowMissing. */
+ public allowMissing: boolean;
+
+ /** DeleteTargetRequest validateOnly. */
+ public validateOnly: boolean;
+
+ /** DeleteTargetRequest etag. */
+ public etag: string;
+
+ /**
+ * Creates a new DeleteTargetRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns DeleteTargetRequest instance
+ */
+ public static create(properties?: google.cloud.deploy.v1.IDeleteTargetRequest): google.cloud.deploy.v1.DeleteTargetRequest;
+
+ /**
+ * Encodes the specified DeleteTargetRequest message. Does not implicitly {@link google.cloud.deploy.v1.DeleteTargetRequest.verify|verify} messages.
+ * @param message DeleteTargetRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.deploy.v1.IDeleteTargetRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified DeleteTargetRequest message, length delimited. Does not implicitly {@link google.cloud.deploy.v1.DeleteTargetRequest.verify|verify} messages.
+ * @param message DeleteTargetRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.deploy.v1.IDeleteTargetRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a DeleteTargetRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns DeleteTargetRequest
+ * @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.deploy.v1.DeleteTargetRequest;
+
+ /**
+ * Decodes a DeleteTargetRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns DeleteTargetRequest
+ * @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.deploy.v1.DeleteTargetRequest;
+
+ /**
+ * Verifies a DeleteTargetRequest 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 DeleteTargetRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns DeleteTargetRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.deploy.v1.DeleteTargetRequest;
+
+ /**
+ * Creates a plain object from a DeleteTargetRequest message. Also converts values to other types if specified.
+ * @param message DeleteTargetRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.deploy.v1.DeleteTargetRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this DeleteTargetRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for DeleteTargetRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a Release. */
+ interface IRelease {
+
+ /** Release name */
+ name?: (string|null);
+
+ /** Release uid */
+ uid?: (string|null);
+
+ /** Release description */
+ description?: (string|null);
+
+ /** Release annotations */
+ annotations?: ({ [k: string]: string }|null);
+
+ /** Release labels */
+ labels?: ({ [k: string]: string }|null);
+
+ /** Release abandoned */
+ abandoned?: (boolean|null);
+
+ /** Release createTime */
+ createTime?: (google.protobuf.ITimestamp|null);
+
+ /** Release renderStartTime */
+ renderStartTime?: (google.protobuf.ITimestamp|null);
+
+ /** Release renderEndTime */
+ renderEndTime?: (google.protobuf.ITimestamp|null);
+
+ /** Release skaffoldConfigUri */
+ skaffoldConfigUri?: (string|null);
+
+ /** Release skaffoldConfigPath */
+ skaffoldConfigPath?: (string|null);
+
+ /** Release buildArtifacts */
+ buildArtifacts?: (google.cloud.deploy.v1.IBuildArtifact[]|null);
+
+ /** Release deliveryPipelineSnapshot */
+ deliveryPipelineSnapshot?: (google.cloud.deploy.v1.IDeliveryPipeline|null);
+
+ /** Release targetSnapshots */
+ targetSnapshots?: (google.cloud.deploy.v1.ITarget[]|null);
+
+ /** Release renderState */
+ renderState?: (google.cloud.deploy.v1.Release.RenderState|keyof typeof google.cloud.deploy.v1.Release.RenderState|null);
+
+ /** Release etag */
+ etag?: (string|null);
+
+ /** Release skaffoldVersion */
+ skaffoldVersion?: (string|null);
+
+ /** Release targetArtifacts */
+ targetArtifacts?: ({ [k: string]: google.cloud.deploy.v1.ITargetArtifact }|null);
+
+ /** Release targetRenders */
+ targetRenders?: ({ [k: string]: google.cloud.deploy.v1.Release.ITargetRender }|null);
+ }
+
+ /** Represents a Release. */
+ class Release implements IRelease {
+
+ /**
+ * Constructs a new Release.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.deploy.v1.IRelease);
+
+ /** Release name. */
+ public name: string;
+
+ /** Release uid. */
+ public uid: string;
+
+ /** Release description. */
+ public description: string;
+
+ /** Release annotations. */
+ public annotations: { [k: string]: string };
+
+ /** Release labels. */
+ public labels: { [k: string]: string };
+
+ /** Release abandoned. */
+ public abandoned: boolean;
+
+ /** Release createTime. */
+ public createTime?: (google.protobuf.ITimestamp|null);
+
+ /** Release renderStartTime. */
+ public renderStartTime?: (google.protobuf.ITimestamp|null);
+
+ /** Release renderEndTime. */
+ public renderEndTime?: (google.protobuf.ITimestamp|null);
+
+ /** Release skaffoldConfigUri. */
+ public skaffoldConfigUri: string;
+
+ /** Release skaffoldConfigPath. */
+ public skaffoldConfigPath: string;
+
+ /** Release buildArtifacts. */
+ public buildArtifacts: google.cloud.deploy.v1.IBuildArtifact[];
+
+ /** Release deliveryPipelineSnapshot. */
+ public deliveryPipelineSnapshot?: (google.cloud.deploy.v1.IDeliveryPipeline|null);
+
+ /** Release targetSnapshots. */
+ public targetSnapshots: google.cloud.deploy.v1.ITarget[];
+
+ /** Release renderState. */
+ public renderState: (google.cloud.deploy.v1.Release.RenderState|keyof typeof google.cloud.deploy.v1.Release.RenderState);
+
+ /** Release etag. */
+ public etag: string;
+
+ /** Release skaffoldVersion. */
+ public skaffoldVersion: string;
+
+ /** Release targetArtifacts. */
+ public targetArtifacts: { [k: string]: google.cloud.deploy.v1.ITargetArtifact };
+
+ /** Release targetRenders. */
+ public targetRenders: { [k: string]: google.cloud.deploy.v1.Release.ITargetRender };
+
+ /**
+ * Creates a new Release instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns Release instance
+ */
+ public static create(properties?: google.cloud.deploy.v1.IRelease): google.cloud.deploy.v1.Release;
+
+ /**
+ * Encodes the specified Release message. Does not implicitly {@link google.cloud.deploy.v1.Release.verify|verify} messages.
+ * @param message Release message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.deploy.v1.IRelease, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified Release message, length delimited. Does not implicitly {@link google.cloud.deploy.v1.Release.verify|verify} messages.
+ * @param message Release message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.deploy.v1.IRelease, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a Release message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns Release
+ * @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.deploy.v1.Release;
+
+ /**
+ * Decodes a Release message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns Release
+ * @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.deploy.v1.Release;
+
+ /**
+ * Verifies a Release 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 Release message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns Release
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.deploy.v1.Release;
+
+ /**
+ * Creates a plain object from a Release message. Also converts values to other types if specified.
+ * @param message Release
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.deploy.v1.Release, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this Release to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for Release
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace Release {
+
+ /** RenderState enum. */
+ enum RenderState {
+ RENDER_STATE_UNSPECIFIED = 0,
+ SUCCEEDED = 1,
+ FAILED = 2,
+ IN_PROGRESS = 3
+ }
+
+ /** Properties of a TargetRender. */
+ interface ITargetRender {
+
+ /** TargetRender renderingBuild */
+ renderingBuild?: (string|null);
+
+ /** TargetRender renderingState */
+ renderingState?: (google.cloud.deploy.v1.Release.TargetRender.TargetRenderState|keyof typeof google.cloud.deploy.v1.Release.TargetRender.TargetRenderState|null);
+
+ /** TargetRender failureCause */
+ failureCause?: (google.cloud.deploy.v1.Release.TargetRender.FailureCause|keyof typeof google.cloud.deploy.v1.Release.TargetRender.FailureCause|null);
+
+ /** TargetRender failureMessage */
+ failureMessage?: (string|null);
+ }
+
+ /** Represents a TargetRender. */
+ class TargetRender implements ITargetRender {
+
+ /**
+ * Constructs a new TargetRender.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.deploy.v1.Release.ITargetRender);
+
+ /** TargetRender renderingBuild. */
+ public renderingBuild: string;
+
+ /** TargetRender renderingState. */
+ public renderingState: (google.cloud.deploy.v1.Release.TargetRender.TargetRenderState|keyof typeof google.cloud.deploy.v1.Release.TargetRender.TargetRenderState);
+
+ /** TargetRender failureCause. */
+ public failureCause: (google.cloud.deploy.v1.Release.TargetRender.FailureCause|keyof typeof google.cloud.deploy.v1.Release.TargetRender.FailureCause);
+
+ /** TargetRender failureMessage. */
+ public failureMessage: string;
+
+ /**
+ * Creates a new TargetRender instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns TargetRender instance
+ */
+ public static create(properties?: google.cloud.deploy.v1.Release.ITargetRender): google.cloud.deploy.v1.Release.TargetRender;
+
+ /**
+ * Encodes the specified TargetRender message. Does not implicitly {@link google.cloud.deploy.v1.Release.TargetRender.verify|verify} messages.
+ * @param message TargetRender message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.deploy.v1.Release.ITargetRender, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified TargetRender message, length delimited. Does not implicitly {@link google.cloud.deploy.v1.Release.TargetRender.verify|verify} messages.
+ * @param message TargetRender message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.deploy.v1.Release.ITargetRender, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a TargetRender message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns TargetRender
+ * @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.deploy.v1.Release.TargetRender;
+
+ /**
+ * Decodes a TargetRender message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns TargetRender
+ * @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.deploy.v1.Release.TargetRender;
+
+ /**
+ * Verifies a TargetRender 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 TargetRender message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns TargetRender
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.deploy.v1.Release.TargetRender;
+
+ /**
+ * Creates a plain object from a TargetRender message. Also converts values to other types if specified.
+ * @param message TargetRender
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.deploy.v1.Release.TargetRender, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this TargetRender to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for TargetRender
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace TargetRender {
+
+ /** TargetRenderState enum. */
+ enum TargetRenderState {
+ TARGET_RENDER_STATE_UNSPECIFIED = 0,
+ SUCCEEDED = 1,
+ FAILED = 2,
+ IN_PROGRESS = 3
+ }
+
+ /** FailureCause enum. */
+ enum FailureCause {
+ FAILURE_CAUSE_UNSPECIFIED = 0,
+ CLOUD_BUILD_UNAVAILABLE = 1,
+ EXECUTION_FAILED = 2
+ }
+ }
+ }
+
+ /** Properties of a BuildArtifact. */
+ interface IBuildArtifact {
+
+ /** BuildArtifact image */
+ image?: (string|null);
+
+ /** BuildArtifact tag */
+ tag?: (string|null);
+ }
+
+ /** Represents a BuildArtifact. */
+ class BuildArtifact implements IBuildArtifact {
+
+ /**
+ * Constructs a new BuildArtifact.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.deploy.v1.IBuildArtifact);
+
+ /** BuildArtifact image. */
+ public image: string;
+
+ /** BuildArtifact tag. */
+ public tag: string;
+
+ /**
+ * Creates a new BuildArtifact instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns BuildArtifact instance
+ */
+ public static create(properties?: google.cloud.deploy.v1.IBuildArtifact): google.cloud.deploy.v1.BuildArtifact;
+
+ /**
+ * Encodes the specified BuildArtifact message. Does not implicitly {@link google.cloud.deploy.v1.BuildArtifact.verify|verify} messages.
+ * @param message BuildArtifact message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.deploy.v1.IBuildArtifact, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified BuildArtifact message, length delimited. Does not implicitly {@link google.cloud.deploy.v1.BuildArtifact.verify|verify} messages.
+ * @param message BuildArtifact message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.deploy.v1.IBuildArtifact, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a BuildArtifact message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns BuildArtifact
+ * @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.deploy.v1.BuildArtifact;
+
+ /**
+ * Decodes a BuildArtifact message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns BuildArtifact
+ * @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.deploy.v1.BuildArtifact;
+
+ /**
+ * Verifies a BuildArtifact 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 BuildArtifact message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns BuildArtifact
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.deploy.v1.BuildArtifact;
+
+ /**
+ * Creates a plain object from a BuildArtifact message. Also converts values to other types if specified.
+ * @param message BuildArtifact
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.deploy.v1.BuildArtifact, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this BuildArtifact to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for BuildArtifact
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a TargetArtifact. */
+ interface ITargetArtifact {
+
+ /** TargetArtifact artifactUri */
+ artifactUri?: (string|null);
+
+ /** TargetArtifact skaffoldConfigPath */
+ skaffoldConfigPath?: (string|null);
+
+ /** TargetArtifact manifestPath */
+ manifestPath?: (string|null);
+ }
+
+ /** Represents a TargetArtifact. */
+ class TargetArtifact implements ITargetArtifact {
+
+ /**
+ * Constructs a new TargetArtifact.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.deploy.v1.ITargetArtifact);
+
+ /** TargetArtifact artifactUri. */
+ public artifactUri?: (string|null);
+
+ /** TargetArtifact skaffoldConfigPath. */
+ public skaffoldConfigPath: string;
+
+ /** TargetArtifact manifestPath. */
+ public manifestPath: string;
+
+ /** TargetArtifact uri. */
+ public uri?: "artifactUri";
+
+ /**
+ * Creates a new TargetArtifact instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns TargetArtifact instance
+ */
+ public static create(properties?: google.cloud.deploy.v1.ITargetArtifact): google.cloud.deploy.v1.TargetArtifact;
+
+ /**
+ * Encodes the specified TargetArtifact message. Does not implicitly {@link google.cloud.deploy.v1.TargetArtifact.verify|verify} messages.
+ * @param message TargetArtifact message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.deploy.v1.ITargetArtifact, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified TargetArtifact message, length delimited. Does not implicitly {@link google.cloud.deploy.v1.TargetArtifact.verify|verify} messages.
+ * @param message TargetArtifact message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.deploy.v1.ITargetArtifact, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a TargetArtifact message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns TargetArtifact
+ * @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.deploy.v1.TargetArtifact;
+
+ /**
+ * Decodes a TargetArtifact message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns TargetArtifact
+ * @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.deploy.v1.TargetArtifact;
+
+ /**
+ * Verifies a TargetArtifact 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 TargetArtifact message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns TargetArtifact
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.deploy.v1.TargetArtifact;
+
+ /**
+ * Creates a plain object from a TargetArtifact message. Also converts values to other types if specified.
+ * @param message TargetArtifact
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.deploy.v1.TargetArtifact, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this TargetArtifact to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for TargetArtifact
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a ListReleasesRequest. */
+ interface IListReleasesRequest {
+
+ /** ListReleasesRequest parent */
+ parent?: (string|null);
+
+ /** ListReleasesRequest pageSize */
+ pageSize?: (number|null);
+
+ /** ListReleasesRequest pageToken */
+ pageToken?: (string|null);
+
+ /** ListReleasesRequest filter */
+ filter?: (string|null);
+
+ /** ListReleasesRequest orderBy */
+ orderBy?: (string|null);
+ }
+
+ /** Represents a ListReleasesRequest. */
+ class ListReleasesRequest implements IListReleasesRequest {
+
+ /**
+ * Constructs a new ListReleasesRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.deploy.v1.IListReleasesRequest);
+
+ /** ListReleasesRequest parent. */
+ public parent: string;
+
+ /** ListReleasesRequest pageSize. */
+ public pageSize: number;
+
+ /** ListReleasesRequest pageToken. */
+ public pageToken: string;
+
+ /** ListReleasesRequest filter. */
+ public filter: string;
+
+ /** ListReleasesRequest orderBy. */
+ public orderBy: string;
+
+ /**
+ * Creates a new ListReleasesRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ListReleasesRequest instance
+ */
+ public static create(properties?: google.cloud.deploy.v1.IListReleasesRequest): google.cloud.deploy.v1.ListReleasesRequest;
+
+ /**
+ * Encodes the specified ListReleasesRequest message. Does not implicitly {@link google.cloud.deploy.v1.ListReleasesRequest.verify|verify} messages.
+ * @param message ListReleasesRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.deploy.v1.IListReleasesRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ListReleasesRequest message, length delimited. Does not implicitly {@link google.cloud.deploy.v1.ListReleasesRequest.verify|verify} messages.
+ * @param message ListReleasesRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.deploy.v1.IListReleasesRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ListReleasesRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ListReleasesRequest
+ * @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.deploy.v1.ListReleasesRequest;
+
+ /**
+ * Decodes a ListReleasesRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ListReleasesRequest
+ * @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.deploy.v1.ListReleasesRequest;
+
+ /**
+ * Verifies a ListReleasesRequest 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 ListReleasesRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ListReleasesRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.deploy.v1.ListReleasesRequest;
+
+ /**
+ * Creates a plain object from a ListReleasesRequest message. Also converts values to other types if specified.
+ * @param message ListReleasesRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.deploy.v1.ListReleasesRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ListReleasesRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ListReleasesRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a ListReleasesResponse. */
+ interface IListReleasesResponse {
+
+ /** ListReleasesResponse releases */
+ releases?: (google.cloud.deploy.v1.IRelease[]|null);
+
+ /** ListReleasesResponse nextPageToken */
+ nextPageToken?: (string|null);
+
+ /** ListReleasesResponse unreachable */
+ unreachable?: (string[]|null);
+ }
+
+ /** Represents a ListReleasesResponse. */
+ class ListReleasesResponse implements IListReleasesResponse {
+
+ /**
+ * Constructs a new ListReleasesResponse.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.deploy.v1.IListReleasesResponse);
+
+ /** ListReleasesResponse releases. */
+ public releases: google.cloud.deploy.v1.IRelease[];
+
+ /** ListReleasesResponse nextPageToken. */
+ public nextPageToken: string;
+
+ /** ListReleasesResponse unreachable. */
+ public unreachable: string[];
+
+ /**
+ * Creates a new ListReleasesResponse instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ListReleasesResponse instance
+ */
+ public static create(properties?: google.cloud.deploy.v1.IListReleasesResponse): google.cloud.deploy.v1.ListReleasesResponse;
+
+ /**
+ * Encodes the specified ListReleasesResponse message. Does not implicitly {@link google.cloud.deploy.v1.ListReleasesResponse.verify|verify} messages.
+ * @param message ListReleasesResponse message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.deploy.v1.IListReleasesResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ListReleasesResponse message, length delimited. Does not implicitly {@link google.cloud.deploy.v1.ListReleasesResponse.verify|verify} messages.
+ * @param message ListReleasesResponse message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.deploy.v1.IListReleasesResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ListReleasesResponse message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ListReleasesResponse
+ * @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.deploy.v1.ListReleasesResponse;
+
+ /**
+ * Decodes a ListReleasesResponse message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ListReleasesResponse
+ * @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.deploy.v1.ListReleasesResponse;
+
+ /**
+ * Verifies a ListReleasesResponse 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 ListReleasesResponse message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ListReleasesResponse
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.deploy.v1.ListReleasesResponse;
+
+ /**
+ * Creates a plain object from a ListReleasesResponse message. Also converts values to other types if specified.
+ * @param message ListReleasesResponse
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.deploy.v1.ListReleasesResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ListReleasesResponse to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ListReleasesResponse
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a GetReleaseRequest. */
+ interface IGetReleaseRequest {
+
+ /** GetReleaseRequest name */
+ name?: (string|null);
+ }
+
+ /** Represents a GetReleaseRequest. */
+ class GetReleaseRequest implements IGetReleaseRequest {
+
+ /**
+ * Constructs a new GetReleaseRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.deploy.v1.IGetReleaseRequest);
+
+ /** GetReleaseRequest name. */
+ public name: string;
+
+ /**
+ * Creates a new GetReleaseRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns GetReleaseRequest instance
+ */
+ public static create(properties?: google.cloud.deploy.v1.IGetReleaseRequest): google.cloud.deploy.v1.GetReleaseRequest;
+
+ /**
+ * Encodes the specified GetReleaseRequest message. Does not implicitly {@link google.cloud.deploy.v1.GetReleaseRequest.verify|verify} messages.
+ * @param message GetReleaseRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.deploy.v1.IGetReleaseRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified GetReleaseRequest message, length delimited. Does not implicitly {@link google.cloud.deploy.v1.GetReleaseRequest.verify|verify} messages.
+ * @param message GetReleaseRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.deploy.v1.IGetReleaseRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a GetReleaseRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns GetReleaseRequest
+ * @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.deploy.v1.GetReleaseRequest;
+
+ /**
+ * Decodes a GetReleaseRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns GetReleaseRequest
+ * @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.deploy.v1.GetReleaseRequest;
+
+ /**
+ * Verifies a GetReleaseRequest 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 GetReleaseRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns GetReleaseRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.deploy.v1.GetReleaseRequest;
+
+ /**
+ * Creates a plain object from a GetReleaseRequest message. Also converts values to other types if specified.
+ * @param message GetReleaseRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.deploy.v1.GetReleaseRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this GetReleaseRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for GetReleaseRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a CreateReleaseRequest. */
+ interface ICreateReleaseRequest {
+
+ /** CreateReleaseRequest parent */
+ parent?: (string|null);
+
+ /** CreateReleaseRequest releaseId */
+ releaseId?: (string|null);
+
+ /** CreateReleaseRequest release */
+ release?: (google.cloud.deploy.v1.IRelease|null);
+
+ /** CreateReleaseRequest requestId */
+ requestId?: (string|null);
+
+ /** CreateReleaseRequest validateOnly */
+ validateOnly?: (boolean|null);
+ }
+
+ /** Represents a CreateReleaseRequest. */
+ class CreateReleaseRequest implements ICreateReleaseRequest {
+
+ /**
+ * Constructs a new CreateReleaseRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.deploy.v1.ICreateReleaseRequest);
+
+ /** CreateReleaseRequest parent. */
+ public parent: string;
+
+ /** CreateReleaseRequest releaseId. */
+ public releaseId: string;
+
+ /** CreateReleaseRequest release. */
+ public release?: (google.cloud.deploy.v1.IRelease|null);
+
+ /** CreateReleaseRequest requestId. */
+ public requestId: string;
+
+ /** CreateReleaseRequest validateOnly. */
+ public validateOnly: boolean;
+
+ /**
+ * Creates a new CreateReleaseRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns CreateReleaseRequest instance
+ */
+ public static create(properties?: google.cloud.deploy.v1.ICreateReleaseRequest): google.cloud.deploy.v1.CreateReleaseRequest;
+
+ /**
+ * Encodes the specified CreateReleaseRequest message. Does not implicitly {@link google.cloud.deploy.v1.CreateReleaseRequest.verify|verify} messages.
+ * @param message CreateReleaseRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.deploy.v1.ICreateReleaseRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified CreateReleaseRequest message, length delimited. Does not implicitly {@link google.cloud.deploy.v1.CreateReleaseRequest.verify|verify} messages.
+ * @param message CreateReleaseRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.deploy.v1.ICreateReleaseRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a CreateReleaseRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns CreateReleaseRequest
+ * @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.deploy.v1.CreateReleaseRequest;
+
+ /**
+ * Decodes a CreateReleaseRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns CreateReleaseRequest
+ * @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.deploy.v1.CreateReleaseRequest;
+
+ /**
+ * Verifies a CreateReleaseRequest 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 CreateReleaseRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns CreateReleaseRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.deploy.v1.CreateReleaseRequest;
+
+ /**
+ * Creates a plain object from a CreateReleaseRequest message. Also converts values to other types if specified.
+ * @param message CreateReleaseRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.deploy.v1.CreateReleaseRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this CreateReleaseRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for CreateReleaseRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a Rollout. */
+ interface IRollout {
+
+ /** Rollout name */
+ name?: (string|null);
+
+ /** Rollout uid */
+ uid?: (string|null);
+
+ /** Rollout description */
+ description?: (string|null);
+
+ /** Rollout annotations */
+ annotations?: ({ [k: string]: string }|null);
+
+ /** Rollout labels */
+ labels?: ({ [k: string]: string }|null);
+
+ /** Rollout createTime */
+ createTime?: (google.protobuf.ITimestamp|null);
+
+ /** Rollout approveTime */
+ approveTime?: (google.protobuf.ITimestamp|null);
+
+ /** Rollout enqueueTime */
+ enqueueTime?: (google.protobuf.ITimestamp|null);
+
+ /** Rollout deployStartTime */
+ deployStartTime?: (google.protobuf.ITimestamp|null);
+
+ /** Rollout deployEndTime */
+ deployEndTime?: (google.protobuf.ITimestamp|null);
+
+ /** Rollout targetId */
+ targetId?: (string|null);
+
+ /** Rollout approvalState */
+ approvalState?: (google.cloud.deploy.v1.Rollout.ApprovalState|keyof typeof google.cloud.deploy.v1.Rollout.ApprovalState|null);
+
+ /** Rollout state */
+ state?: (google.cloud.deploy.v1.Rollout.State|keyof typeof google.cloud.deploy.v1.Rollout.State|null);
+
+ /** Rollout failureReason */
+ failureReason?: (string|null);
+
+ /** Rollout deployingBuild */
+ deployingBuild?: (string|null);
+
+ /** Rollout etag */
+ etag?: (string|null);
+
+ /** Rollout deployFailureCause */
+ deployFailureCause?: (google.cloud.deploy.v1.Rollout.FailureCause|keyof typeof google.cloud.deploy.v1.Rollout.FailureCause|null);
+
+ /** Rollout phases */
+ phases?: (google.cloud.deploy.v1.IPhase[]|null);
+
+ /** Rollout metadata */
+ metadata?: (google.cloud.deploy.v1.IMetadata|null);
+ }
+
+ /** Represents a Rollout. */
+ class Rollout implements IRollout {
+
+ /**
+ * Constructs a new Rollout.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.deploy.v1.IRollout);
+
+ /** Rollout name. */
+ public name: string;
+
+ /** Rollout uid. */
+ public uid: string;
+
+ /** Rollout description. */
+ public description: string;
+
+ /** Rollout annotations. */
+ public annotations: { [k: string]: string };
+
+ /** Rollout labels. */
+ public labels: { [k: string]: string };
+
+ /** Rollout createTime. */
+ public createTime?: (google.protobuf.ITimestamp|null);
+
+ /** Rollout approveTime. */
+ public approveTime?: (google.protobuf.ITimestamp|null);
+
+ /** Rollout enqueueTime. */
+ public enqueueTime?: (google.protobuf.ITimestamp|null);
+
+ /** Rollout deployStartTime. */
+ public deployStartTime?: (google.protobuf.ITimestamp|null);
+
+ /** Rollout deployEndTime. */
+ public deployEndTime?: (google.protobuf.ITimestamp|null);
+
+ /** Rollout targetId. */
+ public targetId: string;
+
+ /** Rollout approvalState. */
+ public approvalState: (google.cloud.deploy.v1.Rollout.ApprovalState|keyof typeof google.cloud.deploy.v1.Rollout.ApprovalState);
+
+ /** Rollout state. */
+ public state: (google.cloud.deploy.v1.Rollout.State|keyof typeof google.cloud.deploy.v1.Rollout.State);
+
+ /** Rollout failureReason. */
+ public failureReason: string;
+
+ /** Rollout deployingBuild. */
+ public deployingBuild: string;
+
+ /** Rollout etag. */
+ public etag: string;
+
+ /** Rollout deployFailureCause. */
+ public deployFailureCause: (google.cloud.deploy.v1.Rollout.FailureCause|keyof typeof google.cloud.deploy.v1.Rollout.FailureCause);
+
+ /** Rollout phases. */
+ public phases: google.cloud.deploy.v1.IPhase[];
+
+ /** Rollout metadata. */
+ public metadata?: (google.cloud.deploy.v1.IMetadata|null);
+
+ /**
+ * Creates a new Rollout instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns Rollout instance
+ */
+ public static create(properties?: google.cloud.deploy.v1.IRollout): google.cloud.deploy.v1.Rollout;
+
+ /**
+ * Encodes the specified Rollout message. Does not implicitly {@link google.cloud.deploy.v1.Rollout.verify|verify} messages.
+ * @param message Rollout message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.deploy.v1.IRollout, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified Rollout message, length delimited. Does not implicitly {@link google.cloud.deploy.v1.Rollout.verify|verify} messages.
+ * @param message Rollout message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.deploy.v1.IRollout, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a Rollout message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns Rollout
+ * @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.deploy.v1.Rollout;
+
+ /**
+ * Decodes a Rollout message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns Rollout
+ * @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.deploy.v1.Rollout;
+
+ /**
+ * Verifies a Rollout 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 Rollout message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns Rollout
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.deploy.v1.Rollout;
+
+ /**
+ * Creates a plain object from a Rollout message. Also converts values to other types if specified.
+ * @param message Rollout
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.deploy.v1.Rollout, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this Rollout to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for Rollout
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace Rollout {
+
+ /** ApprovalState enum. */
+ enum ApprovalState {
+ APPROVAL_STATE_UNSPECIFIED = 0,
+ NEEDS_APPROVAL = 1,
+ DOES_NOT_NEED_APPROVAL = 2,
+ APPROVED = 3,
+ REJECTED = 4
+ }
+
+ /** State enum. */
+ enum State {
+ STATE_UNSPECIFIED = 0,
+ SUCCEEDED = 1,
+ FAILED = 2,
+ IN_PROGRESS = 3,
+ PENDING_APPROVAL = 4,
+ APPROVAL_REJECTED = 5,
+ PENDING = 6,
+ PENDING_RELEASE = 7
+ }
+
+ /** FailureCause enum. */
+ enum FailureCause {
+ FAILURE_CAUSE_UNSPECIFIED = 0,
+ CLOUD_BUILD_UNAVAILABLE = 1,
+ EXECUTION_FAILED = 2,
+ DEADLINE_EXCEEDED = 3,
+ RELEASE_FAILED = 4,
+ RELEASE_ABANDONED = 5,
+ VERIFICATION_CONFIG_NOT_FOUND = 6
+ }
+ }
+
+ /** Properties of a Metadata. */
+ interface IMetadata {
+
+ /** Metadata cloudRun */
+ cloudRun?: (google.cloud.deploy.v1.ICloudRunMetadata|null);
+ }
+
+ /** Represents a Metadata. */
+ class Metadata implements IMetadata {
+
+ /**
+ * Constructs a new Metadata.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.deploy.v1.IMetadata);
+
+ /** Metadata cloudRun. */
+ public cloudRun?: (google.cloud.deploy.v1.ICloudRunMetadata|null);
+
+ /**
+ * Creates a new Metadata instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns Metadata instance
+ */
+ public static create(properties?: google.cloud.deploy.v1.IMetadata): google.cloud.deploy.v1.Metadata;
+
+ /**
+ * Encodes the specified Metadata message. Does not implicitly {@link google.cloud.deploy.v1.Metadata.verify|verify} messages.
+ * @param message Metadata message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.deploy.v1.IMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified Metadata message, length delimited. Does not implicitly {@link google.cloud.deploy.v1.Metadata.verify|verify} messages.
+ * @param message Metadata message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.deploy.v1.IMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a Metadata message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns Metadata
+ * @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.deploy.v1.Metadata;
+
+ /**
+ * Decodes a Metadata message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns Metadata
+ * @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.deploy.v1.Metadata;
+
+ /**
+ * Verifies a Metadata 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 Metadata message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns Metadata
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.deploy.v1.Metadata;
+
+ /**
+ * Creates a plain object from a Metadata message. Also converts values to other types if specified.
+ * @param message Metadata
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.deploy.v1.Metadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this Metadata to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for Metadata
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a DeployJobRunMetadata. */
+ interface IDeployJobRunMetadata {
+
+ /** DeployJobRunMetadata cloudRun */
+ cloudRun?: (google.cloud.deploy.v1.ICloudRunMetadata|null);
+ }
+
+ /** Represents a DeployJobRunMetadata. */
+ class DeployJobRunMetadata implements IDeployJobRunMetadata {
+
+ /**
+ * Constructs a new DeployJobRunMetadata.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.deploy.v1.IDeployJobRunMetadata);
+
+ /** DeployJobRunMetadata cloudRun. */
+ public cloudRun?: (google.cloud.deploy.v1.ICloudRunMetadata|null);
+
+ /**
+ * Creates a new DeployJobRunMetadata instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns DeployJobRunMetadata instance
+ */
+ public static create(properties?: google.cloud.deploy.v1.IDeployJobRunMetadata): google.cloud.deploy.v1.DeployJobRunMetadata;
+
+ /**
+ * Encodes the specified DeployJobRunMetadata message. Does not implicitly {@link google.cloud.deploy.v1.DeployJobRunMetadata.verify|verify} messages.
+ * @param message DeployJobRunMetadata message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.deploy.v1.IDeployJobRunMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified DeployJobRunMetadata message, length delimited. Does not implicitly {@link google.cloud.deploy.v1.DeployJobRunMetadata.verify|verify} messages.
+ * @param message DeployJobRunMetadata message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.deploy.v1.IDeployJobRunMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a DeployJobRunMetadata message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns DeployJobRunMetadata
+ * @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.deploy.v1.DeployJobRunMetadata;
+
+ /**
+ * Decodes a DeployJobRunMetadata message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns DeployJobRunMetadata
+ * @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.deploy.v1.DeployJobRunMetadata;
+
+ /**
+ * Verifies a DeployJobRunMetadata 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 DeployJobRunMetadata message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns DeployJobRunMetadata
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.deploy.v1.DeployJobRunMetadata;
+
+ /**
+ * Creates a plain object from a DeployJobRunMetadata message. Also converts values to other types if specified.
+ * @param message DeployJobRunMetadata
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.deploy.v1.DeployJobRunMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this DeployJobRunMetadata to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for DeployJobRunMetadata
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a CloudRunMetadata. */
+ interface ICloudRunMetadata {
+
+ /** CloudRunMetadata service */
+ service?: (string|null);
+
+ /** CloudRunMetadata serviceUrls */
+ serviceUrls?: (string[]|null);
+
+ /** CloudRunMetadata revision */
+ revision?: (string|null);
+ }
+
+ /** Represents a CloudRunMetadata. */
+ class CloudRunMetadata implements ICloudRunMetadata {
+
+ /**
+ * Constructs a new CloudRunMetadata.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.deploy.v1.ICloudRunMetadata);
+
+ /** CloudRunMetadata service. */
+ public service: string;
+
+ /** CloudRunMetadata serviceUrls. */
+ public serviceUrls: string[];
+
+ /** CloudRunMetadata revision. */
+ public revision: string;
+
+ /**
+ * Creates a new CloudRunMetadata instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns CloudRunMetadata instance
+ */
+ public static create(properties?: google.cloud.deploy.v1.ICloudRunMetadata): google.cloud.deploy.v1.CloudRunMetadata;
+
+ /**
+ * Encodes the specified CloudRunMetadata message. Does not implicitly {@link google.cloud.deploy.v1.CloudRunMetadata.verify|verify} messages.
+ * @param message CloudRunMetadata message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.deploy.v1.ICloudRunMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified CloudRunMetadata message, length delimited. Does not implicitly {@link google.cloud.deploy.v1.CloudRunMetadata.verify|verify} messages.
+ * @param message CloudRunMetadata message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.deploy.v1.ICloudRunMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a CloudRunMetadata message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns CloudRunMetadata
+ * @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.deploy.v1.CloudRunMetadata;
+
+ /**
+ * Decodes a CloudRunMetadata message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns CloudRunMetadata
+ * @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.deploy.v1.CloudRunMetadata;
+
+ /**
+ * Verifies a CloudRunMetadata 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 CloudRunMetadata message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns CloudRunMetadata
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.deploy.v1.CloudRunMetadata;
+
+ /**
+ * Creates a plain object from a CloudRunMetadata message. Also converts values to other types if specified.
+ * @param message CloudRunMetadata
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.deploy.v1.CloudRunMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this CloudRunMetadata to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for CloudRunMetadata
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a Phase. */
+ interface IPhase {
+
+ /** Phase id */
+ id?: (string|null);
+
+ /** Phase state */
+ state?: (google.cloud.deploy.v1.Phase.State|keyof typeof google.cloud.deploy.v1.Phase.State|null);
+
+ /** Phase deploymentJobs */
+ deploymentJobs?: (google.cloud.deploy.v1.IDeploymentJobs|null);
+ }
+
+ /** Represents a Phase. */
+ class Phase implements IPhase {
+
+ /**
+ * Constructs a new Phase.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.deploy.v1.IPhase);
+
+ /** Phase id. */
+ public id: string;
+
+ /** Phase state. */
+ public state: (google.cloud.deploy.v1.Phase.State|keyof typeof google.cloud.deploy.v1.Phase.State);
+
+ /** Phase deploymentJobs. */
+ public deploymentJobs?: (google.cloud.deploy.v1.IDeploymentJobs|null);
+
+ /** Phase jobs. */
+ public jobs?: "deploymentJobs";
+
+ /**
+ * Creates a new Phase instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns Phase instance
+ */
+ public static create(properties?: google.cloud.deploy.v1.IPhase): google.cloud.deploy.v1.Phase;
+
+ /**
+ * Encodes the specified Phase message. Does not implicitly {@link google.cloud.deploy.v1.Phase.verify|verify} messages.
+ * @param message Phase message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.deploy.v1.IPhase, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified Phase message, length delimited. Does not implicitly {@link google.cloud.deploy.v1.Phase.verify|verify} messages.
+ * @param message Phase message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.deploy.v1.IPhase, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a Phase message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns Phase
+ * @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.deploy.v1.Phase;
+
+ /**
+ * Decodes a Phase message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns Phase
+ * @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.deploy.v1.Phase;
+
+ /**
+ * Verifies a Phase 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 Phase message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns Phase
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.deploy.v1.Phase;
+
+ /**
+ * Creates a plain object from a Phase message. Also converts values to other types if specified.
+ * @param message Phase
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.deploy.v1.Phase, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this Phase to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for Phase
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace Phase {
+
+ /** State enum. */
+ enum State {
+ STATE_UNSPECIFIED = 0,
+ PENDING = 1,
+ IN_PROGRESS = 2,
+ SUCCEEDED = 3,
+ FAILED = 4,
+ ABORTED = 5
+ }
+ }
+
+ /** Properties of a DeploymentJobs. */
+ interface IDeploymentJobs {
+
+ /** DeploymentJobs deployJob */
+ deployJob?: (google.cloud.deploy.v1.IJob|null);
+
+ /** DeploymentJobs verifyJob */
+ verifyJob?: (google.cloud.deploy.v1.IJob|null);
+ }
+
+ /** Represents a DeploymentJobs. */
+ class DeploymentJobs implements IDeploymentJobs {
+
+ /**
+ * Constructs a new DeploymentJobs.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.deploy.v1.IDeploymentJobs);
+
+ /** DeploymentJobs deployJob. */
+ public deployJob?: (google.cloud.deploy.v1.IJob|null);
+
+ /** DeploymentJobs verifyJob. */
+ public verifyJob?: (google.cloud.deploy.v1.IJob|null);
+
+ /**
+ * Creates a new DeploymentJobs instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns DeploymentJobs instance
+ */
+ public static create(properties?: google.cloud.deploy.v1.IDeploymentJobs): google.cloud.deploy.v1.DeploymentJobs;
+
+ /**
+ * Encodes the specified DeploymentJobs message. Does not implicitly {@link google.cloud.deploy.v1.DeploymentJobs.verify|verify} messages.
+ * @param message DeploymentJobs message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.deploy.v1.IDeploymentJobs, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified DeploymentJobs message, length delimited. Does not implicitly {@link google.cloud.deploy.v1.DeploymentJobs.verify|verify} messages.
+ * @param message DeploymentJobs message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.deploy.v1.IDeploymentJobs, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a DeploymentJobs message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns DeploymentJobs
+ * @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.deploy.v1.DeploymentJobs;
+
+ /**
+ * Decodes a DeploymentJobs message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns DeploymentJobs
+ * @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.deploy.v1.DeploymentJobs;
+
+ /**
+ * Verifies a DeploymentJobs 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 DeploymentJobs message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns DeploymentJobs
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.deploy.v1.DeploymentJobs;
+
+ /**
+ * Creates a plain object from a DeploymentJobs message. Also converts values to other types if specified.
+ * @param message DeploymentJobs
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.deploy.v1.DeploymentJobs, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this DeploymentJobs to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for DeploymentJobs
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a Job. */
+ interface IJob {
+
+ /** Job id */
+ id?: (string|null);
+
+ /** Job state */
+ state?: (google.cloud.deploy.v1.Job.State|keyof typeof google.cloud.deploy.v1.Job.State|null);
+
+ /** Job jobRun */
+ jobRun?: (string|null);
+
+ /** Job deployJob */
+ deployJob?: (google.cloud.deploy.v1.IDeployJob|null);
+
+ /** Job verifyJob */
+ verifyJob?: (google.cloud.deploy.v1.IVerifyJob|null);
+ }
+
+ /** Represents a Job. */
+ class Job implements IJob {
+
+ /**
+ * Constructs a new Job.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.deploy.v1.IJob);
+
+ /** Job id. */
+ public id: string;
+
+ /** Job state. */
+ public state: (google.cloud.deploy.v1.Job.State|keyof typeof google.cloud.deploy.v1.Job.State);
+
+ /** Job jobRun. */
+ public jobRun: string;
+
+ /** Job deployJob. */
+ public deployJob?: (google.cloud.deploy.v1.IDeployJob|null);
+
+ /** Job verifyJob. */
+ public verifyJob?: (google.cloud.deploy.v1.IVerifyJob|null);
+
+ /** Job jobType. */
+ public jobType?: ("deployJob"|"verifyJob");
+
+ /**
+ * Creates a new Job instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns Job instance
+ */
+ public static create(properties?: google.cloud.deploy.v1.IJob): google.cloud.deploy.v1.Job;
+
+ /**
+ * Encodes the specified Job message. Does not implicitly {@link google.cloud.deploy.v1.Job.verify|verify} messages.
+ * @param message Job message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.deploy.v1.IJob, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified Job message, length delimited. Does not implicitly {@link google.cloud.deploy.v1.Job.verify|verify} messages.
+ * @param message Job message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.deploy.v1.IJob, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a Job message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns Job
+ * @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.deploy.v1.Job;
+
+ /**
+ * Decodes a Job message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns Job
+ * @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.deploy.v1.Job;
+
+ /**
+ * Verifies a Job 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 Job message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns Job
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.deploy.v1.Job;
+
+ /**
+ * Creates a plain object from a Job message. Also converts values to other types if specified.
+ * @param message Job
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.deploy.v1.Job, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this Job to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for Job
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace Job {
+
+ /** State enum. */
+ enum State {
+ STATE_UNSPECIFIED = 0,
+ PENDING = 1,
+ DISABLED = 2,
+ IN_PROGRESS = 3,
+ SUCCEEDED = 4,
+ FAILED = 5,
+ ABORTED = 6
+ }
+ }
+
+ /** Properties of a DeployJob. */
+ interface IDeployJob {
+ }
+
+ /** Represents a DeployJob. */
+ class DeployJob implements IDeployJob {
+
+ /**
+ * Constructs a new DeployJob.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.deploy.v1.IDeployJob);
+
+ /**
+ * Creates a new DeployJob instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns DeployJob instance
+ */
+ public static create(properties?: google.cloud.deploy.v1.IDeployJob): google.cloud.deploy.v1.DeployJob;
+
+ /**
+ * Encodes the specified DeployJob message. Does not implicitly {@link google.cloud.deploy.v1.DeployJob.verify|verify} messages.
+ * @param message DeployJob message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.deploy.v1.IDeployJob, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified DeployJob message, length delimited. Does not implicitly {@link google.cloud.deploy.v1.DeployJob.verify|verify} messages.
+ * @param message DeployJob message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.deploy.v1.IDeployJob, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a DeployJob message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns DeployJob
+ * @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.deploy.v1.DeployJob;
+
+ /**
+ * Decodes a DeployJob message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns DeployJob
+ * @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.deploy.v1.DeployJob;
+
+ /**
+ * Verifies a DeployJob 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 DeployJob message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns DeployJob
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.deploy.v1.DeployJob;
+
+ /**
+ * Creates a plain object from a DeployJob message. Also converts values to other types if specified.
+ * @param message DeployJob
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.deploy.v1.DeployJob, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this DeployJob to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for DeployJob
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a VerifyJob. */
+ interface IVerifyJob {
+ }
+
+ /** Represents a VerifyJob. */
+ class VerifyJob implements IVerifyJob {
+
+ /**
+ * Constructs a new VerifyJob.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.deploy.v1.IVerifyJob);
+
+ /**
+ * Creates a new VerifyJob instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns VerifyJob instance
+ */
+ public static create(properties?: google.cloud.deploy.v1.IVerifyJob): google.cloud.deploy.v1.VerifyJob;
+
+ /**
+ * Encodes the specified VerifyJob message. Does not implicitly {@link google.cloud.deploy.v1.VerifyJob.verify|verify} messages.
+ * @param message VerifyJob message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.deploy.v1.IVerifyJob, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified VerifyJob message, length delimited. Does not implicitly {@link google.cloud.deploy.v1.VerifyJob.verify|verify} messages.
+ * @param message VerifyJob message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.deploy.v1.IVerifyJob, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a VerifyJob message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns VerifyJob
+ * @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.deploy.v1.VerifyJob;
+
+ /**
+ * Decodes a VerifyJob message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns VerifyJob
+ * @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.deploy.v1.VerifyJob;
+
+ /**
+ * Verifies a VerifyJob 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 VerifyJob message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns VerifyJob
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.deploy.v1.VerifyJob;
+
+ /**
+ * Creates a plain object from a VerifyJob message. Also converts values to other types if specified.
+ * @param message VerifyJob
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.deploy.v1.VerifyJob, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this VerifyJob to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for VerifyJob
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a ListRolloutsRequest. */
+ interface IListRolloutsRequest {
+
+ /** ListRolloutsRequest parent */
+ parent?: (string|null);
+
+ /** ListRolloutsRequest pageSize */
+ pageSize?: (number|null);
+
+ /** ListRolloutsRequest pageToken */
+ pageToken?: (string|null);
+
+ /** ListRolloutsRequest filter */
+ filter?: (string|null);
+
+ /** ListRolloutsRequest orderBy */
+ orderBy?: (string|null);
+ }
+
+ /** Represents a ListRolloutsRequest. */
+ class ListRolloutsRequest implements IListRolloutsRequest {
+
+ /**
+ * Constructs a new ListRolloutsRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.deploy.v1.IListRolloutsRequest);
+
+ /** ListRolloutsRequest parent. */
+ public parent: string;
+
+ /** ListRolloutsRequest pageSize. */
+ public pageSize: number;
+
+ /** ListRolloutsRequest pageToken. */
+ public pageToken: string;
+
+ /** ListRolloutsRequest filter. */
+ public filter: string;
+
+ /** ListRolloutsRequest orderBy. */
+ public orderBy: string;
+
+ /**
+ * Creates a new ListRolloutsRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ListRolloutsRequest instance
+ */
+ public static create(properties?: google.cloud.deploy.v1.IListRolloutsRequest): google.cloud.deploy.v1.ListRolloutsRequest;
+
+ /**
+ * Encodes the specified ListRolloutsRequest message. Does not implicitly {@link google.cloud.deploy.v1.ListRolloutsRequest.verify|verify} messages.
+ * @param message ListRolloutsRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.deploy.v1.IListRolloutsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ListRolloutsRequest message, length delimited. Does not implicitly {@link google.cloud.deploy.v1.ListRolloutsRequest.verify|verify} messages.
+ * @param message ListRolloutsRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.deploy.v1.IListRolloutsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ListRolloutsRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ListRolloutsRequest
+ * @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.deploy.v1.ListRolloutsRequest;
+
+ /**
+ * Decodes a ListRolloutsRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ListRolloutsRequest
+ * @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.deploy.v1.ListRolloutsRequest;
+
+ /**
+ * Verifies a ListRolloutsRequest 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 ListRolloutsRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ListRolloutsRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.deploy.v1.ListRolloutsRequest;
+
+ /**
+ * Creates a plain object from a ListRolloutsRequest message. Also converts values to other types if specified.
+ * @param message ListRolloutsRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.deploy.v1.ListRolloutsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ListRolloutsRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ListRolloutsRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a ListRolloutsResponse. */
+ interface IListRolloutsResponse {
+
+ /** ListRolloutsResponse rollouts */
+ rollouts?: (google.cloud.deploy.v1.IRollout[]|null);
+
+ /** ListRolloutsResponse nextPageToken */
+ nextPageToken?: (string|null);
+
+ /** ListRolloutsResponse unreachable */
+ unreachable?: (string[]|null);
+ }
+
+ /** Represents a ListRolloutsResponse. */
+ class ListRolloutsResponse implements IListRolloutsResponse {
+
+ /**
+ * Constructs a new ListRolloutsResponse.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.deploy.v1.IListRolloutsResponse);
+
+ /** ListRolloutsResponse rollouts. */
+ public rollouts: google.cloud.deploy.v1.IRollout[];
+
+ /** ListRolloutsResponse nextPageToken. */
+ public nextPageToken: string;
+
+ /** ListRolloutsResponse unreachable. */
+ public unreachable: string[];
+
+ /**
+ * Creates a new ListRolloutsResponse instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ListRolloutsResponse instance
+ */
+ public static create(properties?: google.cloud.deploy.v1.IListRolloutsResponse): google.cloud.deploy.v1.ListRolloutsResponse;
+
+ /**
+ * Encodes the specified ListRolloutsResponse message. Does not implicitly {@link google.cloud.deploy.v1.ListRolloutsResponse.verify|verify} messages.
+ * @param message ListRolloutsResponse message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.deploy.v1.IListRolloutsResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ListRolloutsResponse message, length delimited. Does not implicitly {@link google.cloud.deploy.v1.ListRolloutsResponse.verify|verify} messages.
+ * @param message ListRolloutsResponse message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.deploy.v1.IListRolloutsResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ListRolloutsResponse message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ListRolloutsResponse
+ * @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.deploy.v1.ListRolloutsResponse;
+
+ /**
+ * Decodes a ListRolloutsResponse message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ListRolloutsResponse
+ * @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.deploy.v1.ListRolloutsResponse;
+
+ /**
+ * Verifies a ListRolloutsResponse 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 ListRolloutsResponse message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ListRolloutsResponse
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.deploy.v1.ListRolloutsResponse;
+
+ /**
+ * Creates a plain object from a ListRolloutsResponse message. Also converts values to other types if specified.
+ * @param message ListRolloutsResponse
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.deploy.v1.ListRolloutsResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ListRolloutsResponse to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ListRolloutsResponse
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a GetRolloutRequest. */
+ interface IGetRolloutRequest {
+
+ /** GetRolloutRequest name */
+ name?: (string|null);
+ }
+
+ /** Represents a GetRolloutRequest. */
+ class GetRolloutRequest implements IGetRolloutRequest {
+
+ /**
+ * Constructs a new GetRolloutRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.deploy.v1.IGetRolloutRequest);
+
+ /** GetRolloutRequest name. */
+ public name: string;
+
+ /**
+ * Creates a new GetRolloutRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns GetRolloutRequest instance
+ */
+ public static create(properties?: google.cloud.deploy.v1.IGetRolloutRequest): google.cloud.deploy.v1.GetRolloutRequest;
+
+ /**
+ * Encodes the specified GetRolloutRequest message. Does not implicitly {@link google.cloud.deploy.v1.GetRolloutRequest.verify|verify} messages.
+ * @param message GetRolloutRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.deploy.v1.IGetRolloutRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified GetRolloutRequest message, length delimited. Does not implicitly {@link google.cloud.deploy.v1.GetRolloutRequest.verify|verify} messages.
+ * @param message GetRolloutRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.deploy.v1.IGetRolloutRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a GetRolloutRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns GetRolloutRequest
+ * @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.deploy.v1.GetRolloutRequest;
+
+ /**
+ * Decodes a GetRolloutRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns GetRolloutRequest
+ * @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.deploy.v1.GetRolloutRequest;
+
+ /**
+ * Verifies a GetRolloutRequest 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 GetRolloutRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns GetRolloutRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.deploy.v1.GetRolloutRequest;
+
+ /**
+ * Creates a plain object from a GetRolloutRequest message. Also converts values to other types if specified.
+ * @param message GetRolloutRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.deploy.v1.GetRolloutRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this GetRolloutRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for GetRolloutRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a CreateRolloutRequest. */
+ interface ICreateRolloutRequest {
+
+ /** CreateRolloutRequest parent */
+ parent?: (string|null);
+
+ /** CreateRolloutRequest rolloutId */
+ rolloutId?: (string|null);
+
+ /** CreateRolloutRequest rollout */
+ rollout?: (google.cloud.deploy.v1.IRollout|null);
+
+ /** CreateRolloutRequest requestId */
+ requestId?: (string|null);
+
+ /** CreateRolloutRequest validateOnly */
+ validateOnly?: (boolean|null);
+ }
+
+ /** Represents a CreateRolloutRequest. */
+ class CreateRolloutRequest implements ICreateRolloutRequest {
+
+ /**
+ * Constructs a new CreateRolloutRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.deploy.v1.ICreateRolloutRequest);
+
+ /** CreateRolloutRequest parent. */
+ public parent: string;
+
+ /** CreateRolloutRequest rolloutId. */
+ public rolloutId: string;
+
+ /** CreateRolloutRequest rollout. */
+ public rollout?: (google.cloud.deploy.v1.IRollout|null);
+
+ /** CreateRolloutRequest requestId. */
+ public requestId: string;
+
+ /** CreateRolloutRequest validateOnly. */
+ public validateOnly: boolean;
+
+ /**
+ * Creates a new CreateRolloutRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns CreateRolloutRequest instance
+ */
+ public static create(properties?: google.cloud.deploy.v1.ICreateRolloutRequest): google.cloud.deploy.v1.CreateRolloutRequest;
+
+ /**
+ * Encodes the specified CreateRolloutRequest message. Does not implicitly {@link google.cloud.deploy.v1.CreateRolloutRequest.verify|verify} messages.
+ * @param message CreateRolloutRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.deploy.v1.ICreateRolloutRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified CreateRolloutRequest message, length delimited. Does not implicitly {@link google.cloud.deploy.v1.CreateRolloutRequest.verify|verify} messages.
+ * @param message CreateRolloutRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.deploy.v1.ICreateRolloutRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a CreateRolloutRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns CreateRolloutRequest
+ * @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.deploy.v1.CreateRolloutRequest;
+
+ /**
+ * Decodes a CreateRolloutRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns CreateRolloutRequest
+ * @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.deploy.v1.CreateRolloutRequest;
+
+ /**
+ * Verifies a CreateRolloutRequest 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 CreateRolloutRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns CreateRolloutRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.deploy.v1.CreateRolloutRequest;
+
+ /**
+ * Creates a plain object from a CreateRolloutRequest message. Also converts values to other types if specified.
+ * @param message CreateRolloutRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.deploy.v1.CreateRolloutRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this CreateRolloutRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for CreateRolloutRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** 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);
+ }
+
+ /** Represents an OperationMetadata. */
+ class OperationMetadata implements IOperationMetadata {
+
+ /**
+ * Constructs a new OperationMetadata.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.deploy.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;
+
+ /**
+ * Creates a new OperationMetadata instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns OperationMetadata instance
+ */
+ public static create(properties?: google.cloud.deploy.v1.IOperationMetadata): google.cloud.deploy.v1.OperationMetadata;
+
+ /**
+ * Encodes the specified OperationMetadata message. Does not implicitly {@link google.cloud.deploy.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.deploy.v1.IOperationMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified OperationMetadata message, length delimited. Does not implicitly {@link google.cloud.deploy.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.deploy.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.deploy.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.deploy.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.deploy.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.deploy.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 ApproveRolloutRequest. */
+ interface IApproveRolloutRequest {
+
+ /** ApproveRolloutRequest name */
+ name?: (string|null);
+
+ /** ApproveRolloutRequest approved */
+ approved?: (boolean|null);
+ }
+
+ /** Represents an ApproveRolloutRequest. */
+ class ApproveRolloutRequest implements IApproveRolloutRequest {
+
+ /**
+ * Constructs a new ApproveRolloutRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.deploy.v1.IApproveRolloutRequest);
+
+ /** ApproveRolloutRequest name. */
+ public name: string;
+
+ /** ApproveRolloutRequest approved. */
+ public approved: boolean;
+
+ /**
+ * Creates a new ApproveRolloutRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ApproveRolloutRequest instance
+ */
+ public static create(properties?: google.cloud.deploy.v1.IApproveRolloutRequest): google.cloud.deploy.v1.ApproveRolloutRequest;
+
+ /**
+ * Encodes the specified ApproveRolloutRequest message. Does not implicitly {@link google.cloud.deploy.v1.ApproveRolloutRequest.verify|verify} messages.
+ * @param message ApproveRolloutRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.deploy.v1.IApproveRolloutRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ApproveRolloutRequest message, length delimited. Does not implicitly {@link google.cloud.deploy.v1.ApproveRolloutRequest.verify|verify} messages.
+ * @param message ApproveRolloutRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.deploy.v1.IApproveRolloutRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an ApproveRolloutRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ApproveRolloutRequest
+ * @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.deploy.v1.ApproveRolloutRequest;
+
+ /**
+ * Decodes an ApproveRolloutRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ApproveRolloutRequest
+ * @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.deploy.v1.ApproveRolloutRequest;
+
+ /**
+ * Verifies an ApproveRolloutRequest 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 ApproveRolloutRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ApproveRolloutRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.deploy.v1.ApproveRolloutRequest;
+
+ /**
+ * Creates a plain object from an ApproveRolloutRequest message. Also converts values to other types if specified.
+ * @param message ApproveRolloutRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.deploy.v1.ApproveRolloutRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ApproveRolloutRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ApproveRolloutRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of an ApproveRolloutResponse. */
+ interface IApproveRolloutResponse {
+ }
+
+ /** Represents an ApproveRolloutResponse. */
+ class ApproveRolloutResponse implements IApproveRolloutResponse {
+
+ /**
+ * Constructs a new ApproveRolloutResponse.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.deploy.v1.IApproveRolloutResponse);
+
+ /**
+ * Creates a new ApproveRolloutResponse instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ApproveRolloutResponse instance
+ */
+ public static create(properties?: google.cloud.deploy.v1.IApproveRolloutResponse): google.cloud.deploy.v1.ApproveRolloutResponse;
+
+ /**
+ * Encodes the specified ApproveRolloutResponse message. Does not implicitly {@link google.cloud.deploy.v1.ApproveRolloutResponse.verify|verify} messages.
+ * @param message ApproveRolloutResponse message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.deploy.v1.IApproveRolloutResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ApproveRolloutResponse message, length delimited. Does not implicitly {@link google.cloud.deploy.v1.ApproveRolloutResponse.verify|verify} messages.
+ * @param message ApproveRolloutResponse message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.deploy.v1.IApproveRolloutResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an ApproveRolloutResponse message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ApproveRolloutResponse
+ * @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.deploy.v1.ApproveRolloutResponse;
+
+ /**
+ * Decodes an ApproveRolloutResponse message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ApproveRolloutResponse
+ * @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.deploy.v1.ApproveRolloutResponse;
+
+ /**
+ * Verifies an ApproveRolloutResponse 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 ApproveRolloutResponse message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ApproveRolloutResponse
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.deploy.v1.ApproveRolloutResponse;
+
+ /**
+ * Creates a plain object from an ApproveRolloutResponse message. Also converts values to other types if specified.
+ * @param message ApproveRolloutResponse
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.deploy.v1.ApproveRolloutResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ApproveRolloutResponse to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ApproveRolloutResponse
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a RetryJobRequest. */
+ interface IRetryJobRequest {
+
+ /** RetryJobRequest rollout */
+ rollout?: (string|null);
+
+ /** RetryJobRequest phaseId */
+ phaseId?: (string|null);
+
+ /** RetryJobRequest jobId */
+ jobId?: (string|null);
+ }
+
+ /** Represents a RetryJobRequest. */
+ class RetryJobRequest implements IRetryJobRequest {
+
+ /**
+ * Constructs a new RetryJobRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.deploy.v1.IRetryJobRequest);
+
+ /** RetryJobRequest rollout. */
+ public rollout: string;
+
+ /** RetryJobRequest phaseId. */
+ public phaseId: string;
+
+ /** RetryJobRequest jobId. */
+ public jobId: string;
+
+ /**
+ * Creates a new RetryJobRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns RetryJobRequest instance
+ */
+ public static create(properties?: google.cloud.deploy.v1.IRetryJobRequest): google.cloud.deploy.v1.RetryJobRequest;
+
+ /**
+ * Encodes the specified RetryJobRequest message. Does not implicitly {@link google.cloud.deploy.v1.RetryJobRequest.verify|verify} messages.
+ * @param message RetryJobRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.deploy.v1.IRetryJobRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified RetryJobRequest message, length delimited. Does not implicitly {@link google.cloud.deploy.v1.RetryJobRequest.verify|verify} messages.
+ * @param message RetryJobRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.deploy.v1.IRetryJobRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a RetryJobRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns RetryJobRequest
+ * @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.deploy.v1.RetryJobRequest;
+
+ /**
+ * Decodes a RetryJobRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns RetryJobRequest
+ * @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.deploy.v1.RetryJobRequest;
+
+ /**
+ * Verifies a RetryJobRequest 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 RetryJobRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns RetryJobRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.deploy.v1.RetryJobRequest;
+
+ /**
+ * Creates a plain object from a RetryJobRequest message. Also converts values to other types if specified.
+ * @param message RetryJobRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.deploy.v1.RetryJobRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this RetryJobRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for RetryJobRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a RetryJobResponse. */
+ interface IRetryJobResponse {
+ }
+
+ /** Represents a RetryJobResponse. */
+ class RetryJobResponse implements IRetryJobResponse {
+
+ /**
+ * Constructs a new RetryJobResponse.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.deploy.v1.IRetryJobResponse);
+
+ /**
+ * Creates a new RetryJobResponse instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns RetryJobResponse instance
+ */
+ public static create(properties?: google.cloud.deploy.v1.IRetryJobResponse): google.cloud.deploy.v1.RetryJobResponse;
+
+ /**
+ * Encodes the specified RetryJobResponse message. Does not implicitly {@link google.cloud.deploy.v1.RetryJobResponse.verify|verify} messages.
+ * @param message RetryJobResponse message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.deploy.v1.IRetryJobResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified RetryJobResponse message, length delimited. Does not implicitly {@link google.cloud.deploy.v1.RetryJobResponse.verify|verify} messages.
+ * @param message RetryJobResponse message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.deploy.v1.IRetryJobResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a RetryJobResponse message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns RetryJobResponse
+ * @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.deploy.v1.RetryJobResponse;
+
+ /**
+ * Decodes a RetryJobResponse message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns RetryJobResponse
+ * @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.deploy.v1.RetryJobResponse;
+
+ /**
+ * Verifies a RetryJobResponse 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 RetryJobResponse message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns RetryJobResponse
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.deploy.v1.RetryJobResponse;
+
+ /**
+ * Creates a plain object from a RetryJobResponse message. Also converts values to other types if specified.
+ * @param message RetryJobResponse
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.deploy.v1.RetryJobResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this RetryJobResponse to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for RetryJobResponse
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of an AbandonReleaseRequest. */
+ interface IAbandonReleaseRequest {
+
+ /** AbandonReleaseRequest name */
+ name?: (string|null);
+ }
+
+ /** Represents an AbandonReleaseRequest. */
+ class AbandonReleaseRequest implements IAbandonReleaseRequest {
+
+ /**
+ * Constructs a new AbandonReleaseRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.deploy.v1.IAbandonReleaseRequest);
+
+ /** AbandonReleaseRequest name. */
+ public name: string;
+
+ /**
+ * Creates a new AbandonReleaseRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns AbandonReleaseRequest instance
+ */
+ public static create(properties?: google.cloud.deploy.v1.IAbandonReleaseRequest): google.cloud.deploy.v1.AbandonReleaseRequest;
+
+ /**
+ * Encodes the specified AbandonReleaseRequest message. Does not implicitly {@link google.cloud.deploy.v1.AbandonReleaseRequest.verify|verify} messages.
+ * @param message AbandonReleaseRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.deploy.v1.IAbandonReleaseRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified AbandonReleaseRequest message, length delimited. Does not implicitly {@link google.cloud.deploy.v1.AbandonReleaseRequest.verify|verify} messages.
+ * @param message AbandonReleaseRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.deploy.v1.IAbandonReleaseRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an AbandonReleaseRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns AbandonReleaseRequest
+ * @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.deploy.v1.AbandonReleaseRequest;
+
+ /**
+ * Decodes an AbandonReleaseRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns AbandonReleaseRequest
+ * @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.deploy.v1.AbandonReleaseRequest;
+
+ /**
+ * Verifies an AbandonReleaseRequest 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 AbandonReleaseRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns AbandonReleaseRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.deploy.v1.AbandonReleaseRequest;
+
+ /**
+ * Creates a plain object from an AbandonReleaseRequest message. Also converts values to other types if specified.
+ * @param message AbandonReleaseRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.deploy.v1.AbandonReleaseRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this AbandonReleaseRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for AbandonReleaseRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of an AbandonReleaseResponse. */
+ interface IAbandonReleaseResponse {
+ }
+
+ /** Represents an AbandonReleaseResponse. */
+ class AbandonReleaseResponse implements IAbandonReleaseResponse {
+
+ /**
+ * Constructs a new AbandonReleaseResponse.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.deploy.v1.IAbandonReleaseResponse);
+
+ /**
+ * Creates a new AbandonReleaseResponse instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns AbandonReleaseResponse instance
+ */
+ public static create(properties?: google.cloud.deploy.v1.IAbandonReleaseResponse): google.cloud.deploy.v1.AbandonReleaseResponse;
+
+ /**
+ * Encodes the specified AbandonReleaseResponse message. Does not implicitly {@link google.cloud.deploy.v1.AbandonReleaseResponse.verify|verify} messages.
+ * @param message AbandonReleaseResponse message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.deploy.v1.IAbandonReleaseResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified AbandonReleaseResponse message, length delimited. Does not implicitly {@link google.cloud.deploy.v1.AbandonReleaseResponse.verify|verify} messages.
+ * @param message AbandonReleaseResponse message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.deploy.v1.IAbandonReleaseResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an AbandonReleaseResponse message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns AbandonReleaseResponse
+ * @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.deploy.v1.AbandonReleaseResponse;
+
+ /**
+ * Decodes an AbandonReleaseResponse message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns AbandonReleaseResponse
+ * @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.deploy.v1.AbandonReleaseResponse;
+
+ /**
+ * Verifies an AbandonReleaseResponse 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 AbandonReleaseResponse message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns AbandonReleaseResponse
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.deploy.v1.AbandonReleaseResponse;
+
+ /**
+ * Creates a plain object from an AbandonReleaseResponse message. Also converts values to other types if specified.
+ * @param message AbandonReleaseResponse
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.deploy.v1.AbandonReleaseResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this AbandonReleaseResponse to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for AbandonReleaseResponse
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a JobRun. */
+ interface IJobRun {
+
+ /** JobRun name */
+ name?: (string|null);
+
+ /** JobRun uid */
+ uid?: (string|null);
+
+ /** JobRun phaseId */
+ phaseId?: (string|null);
+
+ /** JobRun jobId */
+ jobId?: (string|null);
+
+ /** JobRun createTime */
+ createTime?: (google.protobuf.ITimestamp|null);
+
+ /** JobRun startTime */
+ startTime?: (google.protobuf.ITimestamp|null);
+
+ /** JobRun endTime */
+ endTime?: (google.protobuf.ITimestamp|null);
+
+ /** JobRun state */
+ state?: (google.cloud.deploy.v1.JobRun.State|keyof typeof google.cloud.deploy.v1.JobRun.State|null);
+
+ /** JobRun deployJobRun */
+ deployJobRun?: (google.cloud.deploy.v1.IDeployJobRun|null);
+
+ /** JobRun verifyJobRun */
+ verifyJobRun?: (google.cloud.deploy.v1.IVerifyJobRun|null);
+
+ /** JobRun etag */
+ etag?: (string|null);
+ }
+
+ /** Represents a JobRun. */
+ class JobRun implements IJobRun {
+
+ /**
+ * Constructs a new JobRun.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.deploy.v1.IJobRun);
+
+ /** JobRun name. */
+ public name: string;
+
+ /** JobRun uid. */
+ public uid: string;
+
+ /** JobRun phaseId. */
+ public phaseId: string;
+
+ /** JobRun jobId. */
+ public jobId: string;
+
+ /** JobRun createTime. */
+ public createTime?: (google.protobuf.ITimestamp|null);
+
+ /** JobRun startTime. */
+ public startTime?: (google.protobuf.ITimestamp|null);
+
+ /** JobRun endTime. */
+ public endTime?: (google.protobuf.ITimestamp|null);
+
+ /** JobRun state. */
+ public state: (google.cloud.deploy.v1.JobRun.State|keyof typeof google.cloud.deploy.v1.JobRun.State);
+
+ /** JobRun deployJobRun. */
+ public deployJobRun?: (google.cloud.deploy.v1.IDeployJobRun|null);
+
+ /** JobRun verifyJobRun. */
+ public verifyJobRun?: (google.cloud.deploy.v1.IVerifyJobRun|null);
+
+ /** JobRun etag. */
+ public etag: string;
+
+ /** JobRun jobRun. */
+ public jobRun?: ("deployJobRun"|"verifyJobRun");
+
+ /**
+ * Creates a new JobRun instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns JobRun instance
+ */
+ public static create(properties?: google.cloud.deploy.v1.IJobRun): google.cloud.deploy.v1.JobRun;
+
+ /**
+ * Encodes the specified JobRun message. Does not implicitly {@link google.cloud.deploy.v1.JobRun.verify|verify} messages.
+ * @param message JobRun message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.deploy.v1.IJobRun, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified JobRun message, length delimited. Does not implicitly {@link google.cloud.deploy.v1.JobRun.verify|verify} messages.
+ * @param message JobRun message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.deploy.v1.IJobRun, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a JobRun message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns JobRun
+ * @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.deploy.v1.JobRun;
+
+ /**
+ * Decodes a JobRun message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns JobRun
+ * @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.deploy.v1.JobRun;
+
+ /**
+ * Verifies a JobRun 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 JobRun message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns JobRun
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.deploy.v1.JobRun;
+
+ /**
+ * Creates a plain object from a JobRun message. Also converts values to other types if specified.
+ * @param message JobRun
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.deploy.v1.JobRun, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this JobRun to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for JobRun
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace JobRun {
+
+ /** State enum. */
+ enum State {
+ STATE_UNSPECIFIED = 0,
+ IN_PROGRESS = 1,
+ SUCCEEDED = 2,
+ FAILED = 3
+ }
+ }
+
+ /** Properties of a DeployJobRun. */
+ interface IDeployJobRun {
+
+ /** DeployJobRun build */
+ build?: (string|null);
+
+ /** DeployJobRun failureCause */
+ failureCause?: (google.cloud.deploy.v1.DeployJobRun.FailureCause|keyof typeof google.cloud.deploy.v1.DeployJobRun.FailureCause|null);
+
+ /** DeployJobRun failureMessage */
+ failureMessage?: (string|null);
+
+ /** DeployJobRun metadata */
+ metadata?: (google.cloud.deploy.v1.IDeployJobRunMetadata|null);
+ }
+
+ /** Represents a DeployJobRun. */
+ class DeployJobRun implements IDeployJobRun {
+
+ /**
+ * Constructs a new DeployJobRun.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.deploy.v1.IDeployJobRun);
+
+ /** DeployJobRun build. */
+ public build: string;
+
+ /** DeployJobRun failureCause. */
+ public failureCause: (google.cloud.deploy.v1.DeployJobRun.FailureCause|keyof typeof google.cloud.deploy.v1.DeployJobRun.FailureCause);
+
+ /** DeployJobRun failureMessage. */
+ public failureMessage: string;
+
+ /** DeployJobRun metadata. */
+ public metadata?: (google.cloud.deploy.v1.IDeployJobRunMetadata|null);
+
+ /**
+ * Creates a new DeployJobRun instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns DeployJobRun instance
+ */
+ public static create(properties?: google.cloud.deploy.v1.IDeployJobRun): google.cloud.deploy.v1.DeployJobRun;
+
+ /**
+ * Encodes the specified DeployJobRun message. Does not implicitly {@link google.cloud.deploy.v1.DeployJobRun.verify|verify} messages.
+ * @param message DeployJobRun message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.deploy.v1.IDeployJobRun, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified DeployJobRun message, length delimited. Does not implicitly {@link google.cloud.deploy.v1.DeployJobRun.verify|verify} messages.
+ * @param message DeployJobRun message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.deploy.v1.IDeployJobRun, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a DeployJobRun message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns DeployJobRun
+ * @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.deploy.v1.DeployJobRun;
+
+ /**
+ * Decodes a DeployJobRun message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns DeployJobRun
+ * @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.deploy.v1.DeployJobRun;
+
+ /**
+ * Verifies a DeployJobRun 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 DeployJobRun message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns DeployJobRun
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.deploy.v1.DeployJobRun;
+
+ /**
+ * Creates a plain object from a DeployJobRun message. Also converts values to other types if specified.
+ * @param message DeployJobRun
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.deploy.v1.DeployJobRun, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this DeployJobRun to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for DeployJobRun
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace DeployJobRun {
+
+ /** FailureCause enum. */
+ enum FailureCause {
+ FAILURE_CAUSE_UNSPECIFIED = 0,
+ CLOUD_BUILD_UNAVAILABLE = 1,
+ EXECUTION_FAILED = 2,
+ DEADLINE_EXCEEDED = 3
+ }
+ }
+
+ /** Properties of a VerifyJobRun. */
+ interface IVerifyJobRun {
+
+ /** VerifyJobRun build */
+ build?: (string|null);
+
+ /** VerifyJobRun artifactUri */
+ artifactUri?: (string|null);
+
+ /** VerifyJobRun eventLogPath */
+ eventLogPath?: (string|null);
+
+ /** VerifyJobRun failureCause */
+ failureCause?: (google.cloud.deploy.v1.VerifyJobRun.FailureCause|keyof typeof google.cloud.deploy.v1.VerifyJobRun.FailureCause|null);
+
+ /** VerifyJobRun failureMessage */
+ failureMessage?: (string|null);
+ }
+
+ /** Represents a VerifyJobRun. */
+ class VerifyJobRun implements IVerifyJobRun {
+
+ /**
+ * Constructs a new VerifyJobRun.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.deploy.v1.IVerifyJobRun);
+
+ /** VerifyJobRun build. */
+ public build: string;
+
+ /** VerifyJobRun artifactUri. */
+ public artifactUri: string;
+
+ /** VerifyJobRun eventLogPath. */
+ public eventLogPath: string;
+
+ /** VerifyJobRun failureCause. */
+ public failureCause: (google.cloud.deploy.v1.VerifyJobRun.FailureCause|keyof typeof google.cloud.deploy.v1.VerifyJobRun.FailureCause);
+
+ /** VerifyJobRun failureMessage. */
+ public failureMessage: string;
+
+ /**
+ * Creates a new VerifyJobRun instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns VerifyJobRun instance
+ */
+ public static create(properties?: google.cloud.deploy.v1.IVerifyJobRun): google.cloud.deploy.v1.VerifyJobRun;
+
+ /**
+ * Encodes the specified VerifyJobRun message. Does not implicitly {@link google.cloud.deploy.v1.VerifyJobRun.verify|verify} messages.
+ * @param message VerifyJobRun message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.deploy.v1.IVerifyJobRun, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified VerifyJobRun message, length delimited. Does not implicitly {@link google.cloud.deploy.v1.VerifyJobRun.verify|verify} messages.
+ * @param message VerifyJobRun message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.deploy.v1.IVerifyJobRun, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a VerifyJobRun message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns VerifyJobRun
+ * @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.deploy.v1.VerifyJobRun;
+
+ /**
+ * Decodes a VerifyJobRun message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns VerifyJobRun
+ * @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.deploy.v1.VerifyJobRun;
+
+ /**
+ * Verifies a VerifyJobRun 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 VerifyJobRun message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns VerifyJobRun
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.deploy.v1.VerifyJobRun;
+
+ /**
+ * Creates a plain object from a VerifyJobRun message. Also converts values to other types if specified.
+ * @param message VerifyJobRun
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.deploy.v1.VerifyJobRun, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this VerifyJobRun to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for VerifyJobRun
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace VerifyJobRun {
+
+ /** FailureCause enum. */
+ enum FailureCause {
+ FAILURE_CAUSE_UNSPECIFIED = 0,
+ CLOUD_BUILD_UNAVAILABLE = 1,
+ EXECUTION_FAILED = 2,
+ DEADLINE_EXCEEDED = 3,
+ VERIFICATION_CONFIG_NOT_FOUND = 4
+ }
+ }
+
+ /** Properties of a ListJobRunsRequest. */
+ interface IListJobRunsRequest {
+
+ /** ListJobRunsRequest parent */
+ parent?: (string|null);
+
+ /** ListJobRunsRequest pageSize */
+ pageSize?: (number|null);
+
+ /** ListJobRunsRequest pageToken */
+ pageToken?: (string|null);
+
+ /** ListJobRunsRequest filter */
+ filter?: (string|null);
+
+ /** ListJobRunsRequest orderBy */
+ orderBy?: (string|null);
+ }
+
+ /** Represents a ListJobRunsRequest. */
+ class ListJobRunsRequest implements IListJobRunsRequest {
+
+ /**
+ * Constructs a new ListJobRunsRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.deploy.v1.IListJobRunsRequest);
+
+ /** ListJobRunsRequest parent. */
+ public parent: string;
+
+ /** ListJobRunsRequest pageSize. */
+ public pageSize: number;
+
+ /** ListJobRunsRequest pageToken. */
+ public pageToken: string;
+
+ /** ListJobRunsRequest filter. */
+ public filter: string;
+
+ /** ListJobRunsRequest orderBy. */
+ public orderBy: string;
+
+ /**
+ * Creates a new ListJobRunsRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ListJobRunsRequest instance
+ */
+ public static create(properties?: google.cloud.deploy.v1.IListJobRunsRequest): google.cloud.deploy.v1.ListJobRunsRequest;
+
+ /**
+ * Encodes the specified ListJobRunsRequest message. Does not implicitly {@link google.cloud.deploy.v1.ListJobRunsRequest.verify|verify} messages.
+ * @param message ListJobRunsRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.deploy.v1.IListJobRunsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ListJobRunsRequest message, length delimited. Does not implicitly {@link google.cloud.deploy.v1.ListJobRunsRequest.verify|verify} messages.
+ * @param message ListJobRunsRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.deploy.v1.IListJobRunsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ListJobRunsRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ListJobRunsRequest
+ * @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.deploy.v1.ListJobRunsRequest;
+
+ /**
+ * Decodes a ListJobRunsRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ListJobRunsRequest
+ * @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.deploy.v1.ListJobRunsRequest;
+
+ /**
+ * Verifies a ListJobRunsRequest 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 ListJobRunsRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ListJobRunsRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.deploy.v1.ListJobRunsRequest;
+
+ /**
+ * Creates a plain object from a ListJobRunsRequest message. Also converts values to other types if specified.
+ * @param message ListJobRunsRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.deploy.v1.ListJobRunsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ListJobRunsRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ListJobRunsRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a ListJobRunsResponse. */
+ interface IListJobRunsResponse {
+
+ /** ListJobRunsResponse jobRuns */
+ jobRuns?: (google.cloud.deploy.v1.IJobRun[]|null);
+
+ /** ListJobRunsResponse nextPageToken */
+ nextPageToken?: (string|null);
+
+ /** ListJobRunsResponse unreachable */
+ unreachable?: (string[]|null);
+ }
+
+ /** Represents a ListJobRunsResponse. */
+ class ListJobRunsResponse implements IListJobRunsResponse {
+
+ /**
+ * Constructs a new ListJobRunsResponse.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.deploy.v1.IListJobRunsResponse);
+
+ /** ListJobRunsResponse jobRuns. */
+ public jobRuns: google.cloud.deploy.v1.IJobRun[];
+
+ /** ListJobRunsResponse nextPageToken. */
+ public nextPageToken: string;
+
+ /** ListJobRunsResponse unreachable. */
+ public unreachable: string[];
+
+ /**
+ * Creates a new ListJobRunsResponse instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ListJobRunsResponse instance
+ */
+ public static create(properties?: google.cloud.deploy.v1.IListJobRunsResponse): google.cloud.deploy.v1.ListJobRunsResponse;
+
+ /**
+ * Encodes the specified ListJobRunsResponse message. Does not implicitly {@link google.cloud.deploy.v1.ListJobRunsResponse.verify|verify} messages.
+ * @param message ListJobRunsResponse message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.deploy.v1.IListJobRunsResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ListJobRunsResponse message, length delimited. Does not implicitly {@link google.cloud.deploy.v1.ListJobRunsResponse.verify|verify} messages.
+ * @param message ListJobRunsResponse message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.deploy.v1.IListJobRunsResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ListJobRunsResponse message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ListJobRunsResponse
+ * @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.deploy.v1.ListJobRunsResponse;
+
+ /**
+ * Decodes a ListJobRunsResponse message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ListJobRunsResponse
+ * @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.deploy.v1.ListJobRunsResponse;
+
+ /**
+ * Verifies a ListJobRunsResponse 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 ListJobRunsResponse message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ListJobRunsResponse
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.deploy.v1.ListJobRunsResponse;
+
+ /**
+ * Creates a plain object from a ListJobRunsResponse message. Also converts values to other types if specified.
+ * @param message ListJobRunsResponse
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.deploy.v1.ListJobRunsResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ListJobRunsResponse to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ListJobRunsResponse
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a GetJobRunRequest. */
+ interface IGetJobRunRequest {
+
+ /** GetJobRunRequest name */
+ name?: (string|null);
+ }
+
+ /** Represents a GetJobRunRequest. */
+ class GetJobRunRequest implements IGetJobRunRequest {
+
+ /**
+ * Constructs a new GetJobRunRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.deploy.v1.IGetJobRunRequest);
+
+ /** GetJobRunRequest name. */
+ public name: string;
+
+ /**
+ * Creates a new GetJobRunRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns GetJobRunRequest instance
+ */
+ public static create(properties?: google.cloud.deploy.v1.IGetJobRunRequest): google.cloud.deploy.v1.GetJobRunRequest;
+
+ /**
+ * Encodes the specified GetJobRunRequest message. Does not implicitly {@link google.cloud.deploy.v1.GetJobRunRequest.verify|verify} messages.
+ * @param message GetJobRunRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.deploy.v1.IGetJobRunRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified GetJobRunRequest message, length delimited. Does not implicitly {@link google.cloud.deploy.v1.GetJobRunRequest.verify|verify} messages.
+ * @param message GetJobRunRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.deploy.v1.IGetJobRunRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a GetJobRunRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns GetJobRunRequest
+ * @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.deploy.v1.GetJobRunRequest;
+
+ /**
+ * Decodes a GetJobRunRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns GetJobRunRequest
+ * @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.deploy.v1.GetJobRunRequest;
+
+ /**
+ * Verifies a GetJobRunRequest 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 GetJobRunRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns GetJobRunRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.deploy.v1.GetJobRunRequest;
+
+ /**
+ * Creates a plain object from a GetJobRunRequest message. Also converts values to other types if specified.
+ * @param message GetJobRunRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.deploy.v1.GetJobRunRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this GetJobRunRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for GetJobRunRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a Config. */
+ interface IConfig {
+
+ /** Config name */
+ name?: (string|null);
+
+ /** Config supportedVersions */
+ supportedVersions?: (google.cloud.deploy.v1.ISkaffoldVersion[]|null);
+
+ /** Config defaultSkaffoldVersion */
+ defaultSkaffoldVersion?: (string|null);
+ }
+
+ /** Represents a Config. */
+ class Config implements IConfig {
+
+ /**
+ * Constructs a new Config.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.deploy.v1.IConfig);
+
+ /** Config name. */
+ public name: string;
+
+ /** Config supportedVersions. */
+ public supportedVersions: google.cloud.deploy.v1.ISkaffoldVersion[];
+
+ /** Config defaultSkaffoldVersion. */
+ public defaultSkaffoldVersion: string;
+
+ /**
+ * Creates a new Config instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns Config instance
+ */
+ public static create(properties?: google.cloud.deploy.v1.IConfig): google.cloud.deploy.v1.Config;
+
+ /**
+ * Encodes the specified Config message. Does not implicitly {@link google.cloud.deploy.v1.Config.verify|verify} messages.
+ * @param message Config message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.deploy.v1.IConfig, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified Config message, length delimited. Does not implicitly {@link google.cloud.deploy.v1.Config.verify|verify} messages.
+ * @param message Config message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.deploy.v1.IConfig, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a Config message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns Config
+ * @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.deploy.v1.Config;
+
+ /**
+ * Decodes a Config message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns Config
+ * @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.deploy.v1.Config;
+
+ /**
+ * Verifies a Config 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 Config message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns Config
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.deploy.v1.Config;
+
+ /**
+ * Creates a plain object from a Config message. Also converts values to other types if specified.
+ * @param message Config
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.deploy.v1.Config, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this Config to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for Config
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a SkaffoldVersion. */
+ interface ISkaffoldVersion {
+
+ /** SkaffoldVersion version */
+ version?: (string|null);
+
+ /** SkaffoldVersion supportEndDate */
+ supportEndDate?: (google.type.IDate|null);
+ }
+
+ /** Represents a SkaffoldVersion. */
+ class SkaffoldVersion implements ISkaffoldVersion {
+
+ /**
+ * Constructs a new SkaffoldVersion.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.deploy.v1.ISkaffoldVersion);
+
+ /** SkaffoldVersion version. */
+ public version: string;
+
+ /** SkaffoldVersion supportEndDate. */
+ public supportEndDate?: (google.type.IDate|null);
+
+ /**
+ * Creates a new SkaffoldVersion instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns SkaffoldVersion instance
+ */
+ public static create(properties?: google.cloud.deploy.v1.ISkaffoldVersion): google.cloud.deploy.v1.SkaffoldVersion;
+
+ /**
+ * Encodes the specified SkaffoldVersion message. Does not implicitly {@link google.cloud.deploy.v1.SkaffoldVersion.verify|verify} messages.
+ * @param message SkaffoldVersion message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.deploy.v1.ISkaffoldVersion, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified SkaffoldVersion message, length delimited. Does not implicitly {@link google.cloud.deploy.v1.SkaffoldVersion.verify|verify} messages.
+ * @param message SkaffoldVersion message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.deploy.v1.ISkaffoldVersion, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a SkaffoldVersion message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns SkaffoldVersion
+ * @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.deploy.v1.SkaffoldVersion;
+
+ /**
+ * Decodes a SkaffoldVersion message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns SkaffoldVersion
+ * @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.deploy.v1.SkaffoldVersion;
+
+ /**
+ * Verifies a SkaffoldVersion 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 SkaffoldVersion message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns SkaffoldVersion
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.deploy.v1.SkaffoldVersion;
+
+ /**
+ * Creates a plain object from a SkaffoldVersion message. Also converts values to other types if specified.
+ * @param message SkaffoldVersion
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.deploy.v1.SkaffoldVersion, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this SkaffoldVersion to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for SkaffoldVersion
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a GetConfigRequest. */
+ interface IGetConfigRequest {
+
+ /** GetConfigRequest name */
+ name?: (string|null);
+ }
+
+ /** Represents a GetConfigRequest. */
+ class GetConfigRequest implements IGetConfigRequest {
+
+ /**
+ * Constructs a new GetConfigRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.deploy.v1.IGetConfigRequest);
+
+ /** GetConfigRequest name. */
+ public name: string;
+
+ /**
+ * Creates a new GetConfigRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns GetConfigRequest instance
+ */
+ public static create(properties?: google.cloud.deploy.v1.IGetConfigRequest): google.cloud.deploy.v1.GetConfigRequest;
+
+ /**
+ * Encodes the specified GetConfigRequest message. Does not implicitly {@link google.cloud.deploy.v1.GetConfigRequest.verify|verify} messages.
+ * @param message GetConfigRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.deploy.v1.IGetConfigRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified GetConfigRequest message, length delimited. Does not implicitly {@link google.cloud.deploy.v1.GetConfigRequest.verify|verify} messages.
+ * @param message GetConfigRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.deploy.v1.IGetConfigRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a GetConfigRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns GetConfigRequest
+ * @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.deploy.v1.GetConfigRequest;
+
+ /**
+ * Decodes a GetConfigRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns GetConfigRequest
+ * @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.deploy.v1.GetConfigRequest;
+
+ /**
+ * Verifies a GetConfigRequest 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 GetConfigRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns GetConfigRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.deploy.v1.GetConfigRequest;
+
+ /**
+ * Creates a plain object from a GetConfigRequest message. Also converts values to other types if specified.
+ * @param message GetConfigRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.deploy.v1.GetConfigRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this GetConfigRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for GetConfigRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a DeliveryPipelineNotificationEvent. */
+ interface IDeliveryPipelineNotificationEvent {
+
+ /** DeliveryPipelineNotificationEvent message */
+ message?: (string|null);
+
+ /** DeliveryPipelineNotificationEvent deliveryPipeline */
+ deliveryPipeline?: (string|null);
+
+ /** DeliveryPipelineNotificationEvent type */
+ type?: (google.cloud.deploy.v1.Type|keyof typeof google.cloud.deploy.v1.Type|null);
+ }
+
+ /** Represents a DeliveryPipelineNotificationEvent. */
+ class DeliveryPipelineNotificationEvent implements IDeliveryPipelineNotificationEvent {
+
+ /**
+ * Constructs a new DeliveryPipelineNotificationEvent.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.deploy.v1.IDeliveryPipelineNotificationEvent);
+
+ /** DeliveryPipelineNotificationEvent message. */
+ public message: string;
+
+ /** DeliveryPipelineNotificationEvent deliveryPipeline. */
+ public deliveryPipeline: string;
+
+ /** DeliveryPipelineNotificationEvent type. */
+ public type: (google.cloud.deploy.v1.Type|keyof typeof google.cloud.deploy.v1.Type);
+
+ /**
+ * Creates a new DeliveryPipelineNotificationEvent instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns DeliveryPipelineNotificationEvent instance
+ */
+ public static create(properties?: google.cloud.deploy.v1.IDeliveryPipelineNotificationEvent): google.cloud.deploy.v1.DeliveryPipelineNotificationEvent;
+
+ /**
+ * Encodes the specified DeliveryPipelineNotificationEvent message. Does not implicitly {@link google.cloud.deploy.v1.DeliveryPipelineNotificationEvent.verify|verify} messages.
+ * @param message DeliveryPipelineNotificationEvent message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.deploy.v1.IDeliveryPipelineNotificationEvent, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified DeliveryPipelineNotificationEvent message, length delimited. Does not implicitly {@link google.cloud.deploy.v1.DeliveryPipelineNotificationEvent.verify|verify} messages.
+ * @param message DeliveryPipelineNotificationEvent message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.deploy.v1.IDeliveryPipelineNotificationEvent, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a DeliveryPipelineNotificationEvent message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns DeliveryPipelineNotificationEvent
+ * @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.deploy.v1.DeliveryPipelineNotificationEvent;
+
+ /**
+ * Decodes a DeliveryPipelineNotificationEvent message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns DeliveryPipelineNotificationEvent
+ * @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.deploy.v1.DeliveryPipelineNotificationEvent;
+
+ /**
+ * Verifies a DeliveryPipelineNotificationEvent 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 DeliveryPipelineNotificationEvent message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns DeliveryPipelineNotificationEvent
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.deploy.v1.DeliveryPipelineNotificationEvent;
+
+ /**
+ * Creates a plain object from a DeliveryPipelineNotificationEvent message. Also converts values to other types if specified.
+ * @param message DeliveryPipelineNotificationEvent
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.deploy.v1.DeliveryPipelineNotificationEvent, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this DeliveryPipelineNotificationEvent to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for DeliveryPipelineNotificationEvent
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Type enum. */
+ enum Type {
+ TYPE_UNSPECIFIED = 0,
+ TYPE_PUBSUB_NOTIFICATION_FAILURE = 1,
+ TYPE_RENDER_STATUES_CHANGE = 2
+ }
+
+ /** Properties of a JobRunNotificationEvent. */
+ interface IJobRunNotificationEvent {
+
+ /** JobRunNotificationEvent message */
+ message?: (string|null);
+
+ /** JobRunNotificationEvent jobRun */
+ jobRun?: (string|null);
+
+ /** JobRunNotificationEvent pipelineUid */
+ pipelineUid?: (string|null);
+
+ /** JobRunNotificationEvent releaseUid */
+ releaseUid?: (string|null);
+
+ /** JobRunNotificationEvent rolloutUid */
+ rolloutUid?: (string|null);
+
+ /** JobRunNotificationEvent targetId */
+ targetId?: (string|null);
+
+ /** JobRunNotificationEvent type */
+ type?: (google.cloud.deploy.v1.Type|keyof typeof google.cloud.deploy.v1.Type|null);
+ }
+
+ /** Represents a JobRunNotificationEvent. */
+ class JobRunNotificationEvent implements IJobRunNotificationEvent {
+
+ /**
+ * Constructs a new JobRunNotificationEvent.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.deploy.v1.IJobRunNotificationEvent);
+
+ /** JobRunNotificationEvent message. */
+ public message: string;
+
+ /** JobRunNotificationEvent jobRun. */
+ public jobRun: string;
+
+ /** JobRunNotificationEvent pipelineUid. */
+ public pipelineUid: string;
+
+ /** JobRunNotificationEvent releaseUid. */
+ public releaseUid: string;
+
+ /** JobRunNotificationEvent rolloutUid. */
+ public rolloutUid: string;
+
+ /** JobRunNotificationEvent targetId. */
+ public targetId: string;
+
+ /** JobRunNotificationEvent type. */
+ public type: (google.cloud.deploy.v1.Type|keyof typeof google.cloud.deploy.v1.Type);
+
+ /**
+ * Creates a new JobRunNotificationEvent instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns JobRunNotificationEvent instance
+ */
+ public static create(properties?: google.cloud.deploy.v1.IJobRunNotificationEvent): google.cloud.deploy.v1.JobRunNotificationEvent;
+
+ /**
+ * Encodes the specified JobRunNotificationEvent message. Does not implicitly {@link google.cloud.deploy.v1.JobRunNotificationEvent.verify|verify} messages.
+ * @param message JobRunNotificationEvent message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.deploy.v1.IJobRunNotificationEvent, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified JobRunNotificationEvent message, length delimited. Does not implicitly {@link google.cloud.deploy.v1.JobRunNotificationEvent.verify|verify} messages.
+ * @param message JobRunNotificationEvent message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.deploy.v1.IJobRunNotificationEvent, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a JobRunNotificationEvent message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns JobRunNotificationEvent
+ * @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.deploy.v1.JobRunNotificationEvent;
+
+ /**
+ * Decodes a JobRunNotificationEvent message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns JobRunNotificationEvent
+ * @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.deploy.v1.JobRunNotificationEvent;
+
+ /**
+ * Verifies a JobRunNotificationEvent 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 JobRunNotificationEvent message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns JobRunNotificationEvent
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.deploy.v1.JobRunNotificationEvent;
+
+ /**
+ * Creates a plain object from a JobRunNotificationEvent message. Also converts values to other types if specified.
+ * @param message JobRunNotificationEvent
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.deploy.v1.JobRunNotificationEvent, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this JobRunNotificationEvent to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for JobRunNotificationEvent
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a ReleaseNotificationEvent. */
+ interface IReleaseNotificationEvent {
+
+ /** ReleaseNotificationEvent message */
+ message?: (string|null);
+
+ /** ReleaseNotificationEvent release */
+ release?: (string|null);
+
+ /** ReleaseNotificationEvent type */
+ type?: (google.cloud.deploy.v1.Type|keyof typeof google.cloud.deploy.v1.Type|null);
+ }
+
+ /** Represents a ReleaseNotificationEvent. */
+ class ReleaseNotificationEvent implements IReleaseNotificationEvent {
+
+ /**
+ * Constructs a new ReleaseNotificationEvent.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.deploy.v1.IReleaseNotificationEvent);
+
+ /** ReleaseNotificationEvent message. */
+ public message: string;
+
+ /** ReleaseNotificationEvent release. */
+ public release: string;
+
+ /** ReleaseNotificationEvent type. */
+ public type: (google.cloud.deploy.v1.Type|keyof typeof google.cloud.deploy.v1.Type);
+
+ /**
+ * Creates a new ReleaseNotificationEvent instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ReleaseNotificationEvent instance
+ */
+ public static create(properties?: google.cloud.deploy.v1.IReleaseNotificationEvent): google.cloud.deploy.v1.ReleaseNotificationEvent;
+
+ /**
+ * Encodes the specified ReleaseNotificationEvent message. Does not implicitly {@link google.cloud.deploy.v1.ReleaseNotificationEvent.verify|verify} messages.
+ * @param message ReleaseNotificationEvent message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.deploy.v1.IReleaseNotificationEvent, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ReleaseNotificationEvent message, length delimited. Does not implicitly {@link google.cloud.deploy.v1.ReleaseNotificationEvent.verify|verify} messages.
+ * @param message ReleaseNotificationEvent message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.deploy.v1.IReleaseNotificationEvent, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ReleaseNotificationEvent message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ReleaseNotificationEvent
+ * @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.deploy.v1.ReleaseNotificationEvent;
+
+ /**
+ * Decodes a ReleaseNotificationEvent message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ReleaseNotificationEvent
+ * @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.deploy.v1.ReleaseNotificationEvent;
+
+ /**
+ * Verifies a ReleaseNotificationEvent 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 ReleaseNotificationEvent message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ReleaseNotificationEvent
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.deploy.v1.ReleaseNotificationEvent;
+
+ /**
+ * Creates a plain object from a ReleaseNotificationEvent message. Also converts values to other types if specified.
+ * @param message ReleaseNotificationEvent
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.deploy.v1.ReleaseNotificationEvent, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ReleaseNotificationEvent to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ReleaseNotificationEvent
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a ReleaseRenderEvent. */
+ interface IReleaseRenderEvent {
+
+ /** ReleaseRenderEvent message */
+ message?: (string|null);
+
+ /** ReleaseRenderEvent release */
+ release?: (string|null);
+ }
+
+ /** Represents a ReleaseRenderEvent. */
+ class ReleaseRenderEvent implements IReleaseRenderEvent {
+
+ /**
+ * Constructs a new ReleaseRenderEvent.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.deploy.v1.IReleaseRenderEvent);
+
+ /** ReleaseRenderEvent message. */
+ public message: string;
+
+ /** ReleaseRenderEvent release. */
+ public release: string;
+
+ /**
+ * Creates a new ReleaseRenderEvent instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ReleaseRenderEvent instance
+ */
+ public static create(properties?: google.cloud.deploy.v1.IReleaseRenderEvent): google.cloud.deploy.v1.ReleaseRenderEvent;
+
+ /**
+ * Encodes the specified ReleaseRenderEvent message. Does not implicitly {@link google.cloud.deploy.v1.ReleaseRenderEvent.verify|verify} messages.
+ * @param message ReleaseRenderEvent message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.deploy.v1.IReleaseRenderEvent, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ReleaseRenderEvent message, length delimited. Does not implicitly {@link google.cloud.deploy.v1.ReleaseRenderEvent.verify|verify} messages.
+ * @param message ReleaseRenderEvent message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.deploy.v1.IReleaseRenderEvent, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ReleaseRenderEvent message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ReleaseRenderEvent
+ * @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.deploy.v1.ReleaseRenderEvent;
+
+ /**
+ * Decodes a ReleaseRenderEvent message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ReleaseRenderEvent
+ * @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.deploy.v1.ReleaseRenderEvent;
+
+ /**
+ * Verifies a ReleaseRenderEvent 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 ReleaseRenderEvent message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ReleaseRenderEvent
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.deploy.v1.ReleaseRenderEvent;
+
+ /**
+ * Creates a plain object from a ReleaseRenderEvent message. Also converts values to other types if specified.
+ * @param message ReleaseRenderEvent
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.deploy.v1.ReleaseRenderEvent, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ReleaseRenderEvent to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ReleaseRenderEvent
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a RolloutNotificationEvent. */
+ interface IRolloutNotificationEvent {
+
+ /** RolloutNotificationEvent message */
+ message?: (string|null);
+
+ /** RolloutNotificationEvent pipelineUid */
+ pipelineUid?: (string|null);
+
+ /** RolloutNotificationEvent releaseUid */
+ releaseUid?: (string|null);
+
+ /** RolloutNotificationEvent rollout */
+ rollout?: (string|null);
+
+ /** RolloutNotificationEvent type */
+ type?: (google.cloud.deploy.v1.Type|keyof typeof google.cloud.deploy.v1.Type|null);
+
+ /** RolloutNotificationEvent targetId */
+ targetId?: (string|null);
+ }
+
+ /** Represents a RolloutNotificationEvent. */
+ class RolloutNotificationEvent implements IRolloutNotificationEvent {
+
+ /**
+ * Constructs a new RolloutNotificationEvent.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.deploy.v1.IRolloutNotificationEvent);
+
+ /** RolloutNotificationEvent message. */
+ public message: string;
+
+ /** RolloutNotificationEvent pipelineUid. */
+ public pipelineUid: string;
+
+ /** RolloutNotificationEvent releaseUid. */
+ public releaseUid: string;
+
+ /** RolloutNotificationEvent rollout. */
+ public rollout: string;
+
+ /** RolloutNotificationEvent type. */
+ public type: (google.cloud.deploy.v1.Type|keyof typeof google.cloud.deploy.v1.Type);
+
+ /** RolloutNotificationEvent targetId. */
+ public targetId: string;
+
+ /**
+ * Creates a new RolloutNotificationEvent instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns RolloutNotificationEvent instance
+ */
+ public static create(properties?: google.cloud.deploy.v1.IRolloutNotificationEvent): google.cloud.deploy.v1.RolloutNotificationEvent;
+
+ /**
+ * Encodes the specified RolloutNotificationEvent message. Does not implicitly {@link google.cloud.deploy.v1.RolloutNotificationEvent.verify|verify} messages.
+ * @param message RolloutNotificationEvent message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.deploy.v1.IRolloutNotificationEvent, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified RolloutNotificationEvent message, length delimited. Does not implicitly {@link google.cloud.deploy.v1.RolloutNotificationEvent.verify|verify} messages.
+ * @param message RolloutNotificationEvent message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.deploy.v1.IRolloutNotificationEvent, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a RolloutNotificationEvent message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns RolloutNotificationEvent
+ * @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.deploy.v1.RolloutNotificationEvent;
+
+ /**
+ * Decodes a RolloutNotificationEvent message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns RolloutNotificationEvent
+ * @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.deploy.v1.RolloutNotificationEvent;
+
+ /**
+ * Verifies a RolloutNotificationEvent 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 RolloutNotificationEvent message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns RolloutNotificationEvent
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.deploy.v1.RolloutNotificationEvent;
+
+ /**
+ * Creates a plain object from a RolloutNotificationEvent message. Also converts values to other types if specified.
+ * @param message RolloutNotificationEvent
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.deploy.v1.RolloutNotificationEvent, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this RolloutNotificationEvent to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for RolloutNotificationEvent
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a TargetNotificationEvent. */
+ interface ITargetNotificationEvent {
+
+ /** TargetNotificationEvent message */
+ message?: (string|null);
+
+ /** TargetNotificationEvent target */
+ target?: (string|null);
+
+ /** TargetNotificationEvent type */
+ type?: (google.cloud.deploy.v1.Type|keyof typeof google.cloud.deploy.v1.Type|null);
+ }
+
+ /** Represents a TargetNotificationEvent. */
+ class TargetNotificationEvent implements ITargetNotificationEvent {
+
+ /**
+ * Constructs a new TargetNotificationEvent.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.deploy.v1.ITargetNotificationEvent);
+
+ /** TargetNotificationEvent message. */
+ public message: string;
+
+ /** TargetNotificationEvent target. */
+ public target: string;
+
+ /** TargetNotificationEvent type. */
+ public type: (google.cloud.deploy.v1.Type|keyof typeof google.cloud.deploy.v1.Type);
+
+ /**
+ * Creates a new TargetNotificationEvent instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns TargetNotificationEvent instance
+ */
+ public static create(properties?: google.cloud.deploy.v1.ITargetNotificationEvent): google.cloud.deploy.v1.TargetNotificationEvent;
+
+ /**
+ * Encodes the specified TargetNotificationEvent message. Does not implicitly {@link google.cloud.deploy.v1.TargetNotificationEvent.verify|verify} messages.
+ * @param message TargetNotificationEvent message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.deploy.v1.ITargetNotificationEvent, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified TargetNotificationEvent message, length delimited. Does not implicitly {@link google.cloud.deploy.v1.TargetNotificationEvent.verify|verify} messages.
+ * @param message TargetNotificationEvent message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.deploy.v1.ITargetNotificationEvent, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a TargetNotificationEvent message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns TargetNotificationEvent
+ * @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.deploy.v1.TargetNotificationEvent;
+
+ /**
+ * Decodes a TargetNotificationEvent message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns TargetNotificationEvent
+ * @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.deploy.v1.TargetNotificationEvent;
+
+ /**
+ * Verifies a TargetNotificationEvent 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 TargetNotificationEvent message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns TargetNotificationEvent
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.deploy.v1.TargetNotificationEvent;
+
+ /**
+ * Creates a plain object from a TargetNotificationEvent message. Also converts values to other types if specified.
+ * @param message TargetNotificationEvent
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.deploy.v1.TargetNotificationEvent, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this TargetNotificationEvent to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for TargetNotificationEvent
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+ }
+ }
+ }
+
+ /** Namespace api. */
+ namespace api {
+
+ /** 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;
+ }
+
+ /** 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;
+ }
+ }
+
+ /** 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 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 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 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;
+ }
+
+ /** 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 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;
+ }
+ }
+
+ /** 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;
+ }
+ }
+
+ /** Namespace type. */
+ namespace type {
+
+ /** Properties of a Date. */
+ interface IDate {
+
+ /** Date year */
+ year?: (number|null);
+
+ /** Date month */
+ month?: (number|null);
+
+ /** Date day */
+ day?: (number|null);
+ }
+
+ /** Represents a Date. */
+ class Date implements IDate {
+
+ /**
+ * Constructs a new Date.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.type.IDate);
+
+ /** Date year. */
+ public year: number;
+
+ /** Date month. */
+ public month: number;
+
+ /** Date day. */
+ public day: number;
+
+ /**
+ * Creates a new Date instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns Date instance
+ */
+ public static create(properties?: google.type.IDate): google.type.Date;
+
+ /**
+ * Encodes the specified Date message. Does not implicitly {@link google.type.Date.verify|verify} messages.
+ * @param message Date message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.type.IDate, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified Date message, length delimited. Does not implicitly {@link google.type.Date.verify|verify} messages.
+ * @param message Date message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.type.IDate, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a Date message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns Date
+ * @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.type.Date;
+
+ /**
+ * Decodes a Date message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns Date
+ * @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.type.Date;
+
+ /**
+ * Verifies a Date 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 Date message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns Date
+ */
+ public static fromObject(object: { [k: string]: any }): google.type.Date;
+
+ /**
+ * Creates a plain object from a Date message. Also converts values to other types if specified.
+ * @param message Date
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.type.Date, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this Date to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for Date
+ * @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-deploy/protos/protos.js b/packages/google-cloud-deploy/protos/protos.js
new file mode 100644
index 00000000000..4ff10bf8582
--- /dev/null
+++ b/packages/google-cloud-deploy/protos/protos.js
@@ -0,0 +1,36309 @@
+// 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_deploy_protos || ($protobuf.roots._google_cloud_deploy_protos = {});
+
+ $root.google = (function() {
+
+ /**
+ * Namespace google.
+ * @exports google
+ * @namespace
+ */
+ var google = {};
+
+ google.cloud = (function() {
+
+ /**
+ * Namespace cloud.
+ * @memberof google
+ * @namespace
+ */
+ var cloud = {};
+
+ cloud.deploy = (function() {
+
+ /**
+ * Namespace deploy.
+ * @memberof google.cloud
+ * @namespace
+ */
+ var deploy = {};
+
+ deploy.v1 = (function() {
+
+ /**
+ * Namespace v1.
+ * @memberof google.cloud.deploy
+ * @namespace
+ */
+ var v1 = {};
+
+ v1.CloudDeploy = (function() {
+
+ /**
+ * Constructs a new CloudDeploy service.
+ * @memberof google.cloud.deploy.v1
+ * @classdesc Represents a CloudDeploy
+ * @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 CloudDeploy(rpcImpl, requestDelimited, responseDelimited) {
+ $protobuf.rpc.Service.call(this, rpcImpl, requestDelimited, responseDelimited);
+ }
+
+ (CloudDeploy.prototype = Object.create($protobuf.rpc.Service.prototype)).constructor = CloudDeploy;
+
+ /**
+ * Creates new CloudDeploy service using the specified rpc implementation.
+ * @function create
+ * @memberof google.cloud.deploy.v1.CloudDeploy
+ * @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 {CloudDeploy} RPC service. Useful where requests and/or responses are streamed.
+ */
+ CloudDeploy.create = function create(rpcImpl, requestDelimited, responseDelimited) {
+ return new this(rpcImpl, requestDelimited, responseDelimited);
+ };
+
+ /**
+ * Callback as used by {@link google.cloud.deploy.v1.CloudDeploy|listDeliveryPipelines}.
+ * @memberof google.cloud.deploy.v1.CloudDeploy
+ * @typedef ListDeliveryPipelinesCallback
+ * @type {function}
+ * @param {Error|null} error Error, if any
+ * @param {google.cloud.deploy.v1.ListDeliveryPipelinesResponse} [response] ListDeliveryPipelinesResponse
+ */
+
+ /**
+ * Calls ListDeliveryPipelines.
+ * @function listDeliveryPipelines
+ * @memberof google.cloud.deploy.v1.CloudDeploy
+ * @instance
+ * @param {google.cloud.deploy.v1.IListDeliveryPipelinesRequest} request ListDeliveryPipelinesRequest message or plain object
+ * @param {google.cloud.deploy.v1.CloudDeploy.ListDeliveryPipelinesCallback} callback Node-style callback called with the error, if any, and ListDeliveryPipelinesResponse
+ * @returns {undefined}
+ * @variation 1
+ */
+ Object.defineProperty(CloudDeploy.prototype.listDeliveryPipelines = function listDeliveryPipelines(request, callback) {
+ return this.rpcCall(listDeliveryPipelines, $root.google.cloud.deploy.v1.ListDeliveryPipelinesRequest, $root.google.cloud.deploy.v1.ListDeliveryPipelinesResponse, request, callback);
+ }, "name", { value: "ListDeliveryPipelines" });
+
+ /**
+ * Calls ListDeliveryPipelines.
+ * @function listDeliveryPipelines
+ * @memberof google.cloud.deploy.v1.CloudDeploy
+ * @instance
+ * @param {google.cloud.deploy.v1.IListDeliveryPipelinesRequest} request ListDeliveryPipelinesRequest message or plain object
+ * @returns {Promise} Promise
+ * @variation 2
+ */
+
+ /**
+ * Callback as used by {@link google.cloud.deploy.v1.CloudDeploy|getDeliveryPipeline}.
+ * @memberof google.cloud.deploy.v1.CloudDeploy
+ * @typedef GetDeliveryPipelineCallback
+ * @type {function}
+ * @param {Error|null} error Error, if any
+ * @param {google.cloud.deploy.v1.DeliveryPipeline} [response] DeliveryPipeline
+ */
+
+ /**
+ * Calls GetDeliveryPipeline.
+ * @function getDeliveryPipeline
+ * @memberof google.cloud.deploy.v1.CloudDeploy
+ * @instance
+ * @param {google.cloud.deploy.v1.IGetDeliveryPipelineRequest} request GetDeliveryPipelineRequest message or plain object
+ * @param {google.cloud.deploy.v1.CloudDeploy.GetDeliveryPipelineCallback} callback Node-style callback called with the error, if any, and DeliveryPipeline
+ * @returns {undefined}
+ * @variation 1
+ */
+ Object.defineProperty(CloudDeploy.prototype.getDeliveryPipeline = function getDeliveryPipeline(request, callback) {
+ return this.rpcCall(getDeliveryPipeline, $root.google.cloud.deploy.v1.GetDeliveryPipelineRequest, $root.google.cloud.deploy.v1.DeliveryPipeline, request, callback);
+ }, "name", { value: "GetDeliveryPipeline" });
+
+ /**
+ * Calls GetDeliveryPipeline.
+ * @function getDeliveryPipeline
+ * @memberof google.cloud.deploy.v1.CloudDeploy
+ * @instance
+ * @param {google.cloud.deploy.v1.IGetDeliveryPipelineRequest} request GetDeliveryPipelineRequest message or plain object
+ * @returns {Promise} Promise
+ * @variation 2
+ */
+
+ /**
+ * Callback as used by {@link google.cloud.deploy.v1.CloudDeploy|createDeliveryPipeline}.
+ * @memberof google.cloud.deploy.v1.CloudDeploy
+ * @typedef CreateDeliveryPipelineCallback
+ * @type {function}
+ * @param {Error|null} error Error, if any
+ * @param {google.longrunning.Operation} [response] Operation
+ */
+
+ /**
+ * Calls CreateDeliveryPipeline.
+ * @function createDeliveryPipeline
+ * @memberof google.cloud.deploy.v1.CloudDeploy
+ * @instance
+ * @param {google.cloud.deploy.v1.ICreateDeliveryPipelineRequest} request CreateDeliveryPipelineRequest message or plain object
+ * @param {google.cloud.deploy.v1.CloudDeploy.CreateDeliveryPipelineCallback} callback Node-style callback called with the error, if any, and Operation
+ * @returns {undefined}
+ * @variation 1
+ */
+ Object.defineProperty(CloudDeploy.prototype.createDeliveryPipeline = function createDeliveryPipeline(request, callback) {
+ return this.rpcCall(createDeliveryPipeline, $root.google.cloud.deploy.v1.CreateDeliveryPipelineRequest, $root.google.longrunning.Operation, request, callback);
+ }, "name", { value: "CreateDeliveryPipeline" });
+
+ /**
+ * Calls CreateDeliveryPipeline.
+ * @function createDeliveryPipeline
+ * @memberof google.cloud.deploy.v1.CloudDeploy
+ * @instance
+ * @param {google.cloud.deploy.v1.ICreateDeliveryPipelineRequest} request CreateDeliveryPipelineRequest message or plain object
+ * @returns {Promise} Promise
+ * @variation 2
+ */
+
+ /**
+ * Callback as used by {@link google.cloud.deploy.v1.CloudDeploy|updateDeliveryPipeline}.
+ * @memberof google.cloud.deploy.v1.CloudDeploy
+ * @typedef UpdateDeliveryPipelineCallback
+ * @type {function}
+ * @param {Error|null} error Error, if any
+ * @param {google.longrunning.Operation} [response] Operation
+ */
+
+ /**
+ * Calls UpdateDeliveryPipeline.
+ * @function updateDeliveryPipeline
+ * @memberof google.cloud.deploy.v1.CloudDeploy
+ * @instance
+ * @param {google.cloud.deploy.v1.IUpdateDeliveryPipelineRequest} request UpdateDeliveryPipelineRequest message or plain object
+ * @param {google.cloud.deploy.v1.CloudDeploy.UpdateDeliveryPipelineCallback} callback Node-style callback called with the error, if any, and Operation
+ * @returns {undefined}
+ * @variation 1
+ */
+ Object.defineProperty(CloudDeploy.prototype.updateDeliveryPipeline = function updateDeliveryPipeline(request, callback) {
+ return this.rpcCall(updateDeliveryPipeline, $root.google.cloud.deploy.v1.UpdateDeliveryPipelineRequest, $root.google.longrunning.Operation, request, callback);
+ }, "name", { value: "UpdateDeliveryPipeline" });
+
+ /**
+ * Calls UpdateDeliveryPipeline.
+ * @function updateDeliveryPipeline
+ * @memberof google.cloud.deploy.v1.CloudDeploy
+ * @instance
+ * @param {google.cloud.deploy.v1.IUpdateDeliveryPipelineRequest} request UpdateDeliveryPipelineRequest message or plain object
+ * @returns {Promise} Promise
+ * @variation 2
+ */
+
+ /**
+ * Callback as used by {@link google.cloud.deploy.v1.CloudDeploy|deleteDeliveryPipeline}.
+ * @memberof google.cloud.deploy.v1.CloudDeploy
+ * @typedef DeleteDeliveryPipelineCallback
+ * @type {function}
+ * @param {Error|null} error Error, if any
+ * @param {google.longrunning.Operation} [response] Operation
+ */
+
+ /**
+ * Calls DeleteDeliveryPipeline.
+ * @function deleteDeliveryPipeline
+ * @memberof google.cloud.deploy.v1.CloudDeploy
+ * @instance
+ * @param {google.cloud.deploy.v1.IDeleteDeliveryPipelineRequest} request DeleteDeliveryPipelineRequest message or plain object
+ * @param {google.cloud.deploy.v1.CloudDeploy.DeleteDeliveryPipelineCallback} callback Node-style callback called with the error, if any, and Operation
+ * @returns {undefined}
+ * @variation 1
+ */
+ Object.defineProperty(CloudDeploy.prototype.deleteDeliveryPipeline = function deleteDeliveryPipeline(request, callback) {
+ return this.rpcCall(deleteDeliveryPipeline, $root.google.cloud.deploy.v1.DeleteDeliveryPipelineRequest, $root.google.longrunning.Operation, request, callback);
+ }, "name", { value: "DeleteDeliveryPipeline" });
+
+ /**
+ * Calls DeleteDeliveryPipeline.
+ * @function deleteDeliveryPipeline
+ * @memberof google.cloud.deploy.v1.CloudDeploy
+ * @instance
+ * @param {google.cloud.deploy.v1.IDeleteDeliveryPipelineRequest} request DeleteDeliveryPipelineRequest message or plain object
+ * @returns {Promise} Promise
+ * @variation 2
+ */
+
+ /**
+ * Callback as used by {@link google.cloud.deploy.v1.CloudDeploy|listTargets}.
+ * @memberof google.cloud.deploy.v1.CloudDeploy
+ * @typedef ListTargetsCallback
+ * @type {function}
+ * @param {Error|null} error Error, if any
+ * @param {google.cloud.deploy.v1.ListTargetsResponse} [response] ListTargetsResponse
+ */
+
+ /**
+ * Calls ListTargets.
+ * @function listTargets
+ * @memberof google.cloud.deploy.v1.CloudDeploy
+ * @instance
+ * @param {google.cloud.deploy.v1.IListTargetsRequest} request ListTargetsRequest message or plain object
+ * @param {google.cloud.deploy.v1.CloudDeploy.ListTargetsCallback} callback Node-style callback called with the error, if any, and ListTargetsResponse
+ * @returns {undefined}
+ * @variation 1
+ */
+ Object.defineProperty(CloudDeploy.prototype.listTargets = function listTargets(request, callback) {
+ return this.rpcCall(listTargets, $root.google.cloud.deploy.v1.ListTargetsRequest, $root.google.cloud.deploy.v1.ListTargetsResponse, request, callback);
+ }, "name", { value: "ListTargets" });
+
+ /**
+ * Calls ListTargets.
+ * @function listTargets
+ * @memberof google.cloud.deploy.v1.CloudDeploy
+ * @instance
+ * @param {google.cloud.deploy.v1.IListTargetsRequest} request ListTargetsRequest message or plain object
+ * @returns {Promise} Promise
+ * @variation 2
+ */
+
+ /**
+ * Callback as used by {@link google.cloud.deploy.v1.CloudDeploy|getTarget}.
+ * @memberof google.cloud.deploy.v1.CloudDeploy
+ * @typedef GetTargetCallback
+ * @type {function}
+ * @param {Error|null} error Error, if any
+ * @param {google.cloud.deploy.v1.Target} [response] Target
+ */
+
+ /**
+ * Calls GetTarget.
+ * @function getTarget
+ * @memberof google.cloud.deploy.v1.CloudDeploy
+ * @instance
+ * @param {google.cloud.deploy.v1.IGetTargetRequest} request GetTargetRequest message or plain object
+ * @param {google.cloud.deploy.v1.CloudDeploy.GetTargetCallback} callback Node-style callback called with the error, if any, and Target
+ * @returns {undefined}
+ * @variation 1
+ */
+ Object.defineProperty(CloudDeploy.prototype.getTarget = function getTarget(request, callback) {
+ return this.rpcCall(getTarget, $root.google.cloud.deploy.v1.GetTargetRequest, $root.google.cloud.deploy.v1.Target, request, callback);
+ }, "name", { value: "GetTarget" });
+
+ /**
+ * Calls GetTarget.
+ * @function getTarget
+ * @memberof google.cloud.deploy.v1.CloudDeploy
+ * @instance
+ * @param {google.cloud.deploy.v1.IGetTargetRequest} request GetTargetRequest message or plain object
+ * @returns {Promise} Promise
+ * @variation 2
+ */
+
+ /**
+ * Callback as used by {@link google.cloud.deploy.v1.CloudDeploy|createTarget}.
+ * @memberof google.cloud.deploy.v1.CloudDeploy
+ * @typedef CreateTargetCallback
+ * @type {function}
+ * @param {Error|null} error Error, if any
+ * @param {google.longrunning.Operation} [response] Operation
+ */
+
+ /**
+ * Calls CreateTarget.
+ * @function createTarget
+ * @memberof google.cloud.deploy.v1.CloudDeploy
+ * @instance
+ * @param {google.cloud.deploy.v1.ICreateTargetRequest} request CreateTargetRequest message or plain object
+ * @param {google.cloud.deploy.v1.CloudDeploy.CreateTargetCallback} callback Node-style callback called with the error, if any, and Operation
+ * @returns {undefined}
+ * @variation 1
+ */
+ Object.defineProperty(CloudDeploy.prototype.createTarget = function createTarget(request, callback) {
+ return this.rpcCall(createTarget, $root.google.cloud.deploy.v1.CreateTargetRequest, $root.google.longrunning.Operation, request, callback);
+ }, "name", { value: "CreateTarget" });
+
+ /**
+ * Calls CreateTarget.
+ * @function createTarget
+ * @memberof google.cloud.deploy.v1.CloudDeploy
+ * @instance
+ * @param {google.cloud.deploy.v1.ICreateTargetRequest} request CreateTargetRequest message or plain object
+ * @returns {Promise} Promise
+ * @variation 2
+ */
+
+ /**
+ * Callback as used by {@link google.cloud.deploy.v1.CloudDeploy|updateTarget}.
+ * @memberof google.cloud.deploy.v1.CloudDeploy
+ * @typedef UpdateTargetCallback
+ * @type {function}
+ * @param {Error|null} error Error, if any
+ * @param {google.longrunning.Operation} [response] Operation
+ */
+
+ /**
+ * Calls UpdateTarget.
+ * @function updateTarget
+ * @memberof google.cloud.deploy.v1.CloudDeploy
+ * @instance
+ * @param {google.cloud.deploy.v1.IUpdateTargetRequest} request UpdateTargetRequest message or plain object
+ * @param {google.cloud.deploy.v1.CloudDeploy.UpdateTargetCallback} callback Node-style callback called with the error, if any, and Operation
+ * @returns {undefined}
+ * @variation 1
+ */
+ Object.defineProperty(CloudDeploy.prototype.updateTarget = function updateTarget(request, callback) {
+ return this.rpcCall(updateTarget, $root.google.cloud.deploy.v1.UpdateTargetRequest, $root.google.longrunning.Operation, request, callback);
+ }, "name", { value: "UpdateTarget" });
+
+ /**
+ * Calls UpdateTarget.
+ * @function updateTarget
+ * @memberof google.cloud.deploy.v1.CloudDeploy
+ * @instance
+ * @param {google.cloud.deploy.v1.IUpdateTargetRequest} request UpdateTargetRequest message or plain object
+ * @returns {Promise} Promise
+ * @variation 2
+ */
+
+ /**
+ * Callback as used by {@link google.cloud.deploy.v1.CloudDeploy|deleteTarget}.
+ * @memberof google.cloud.deploy.v1.CloudDeploy
+ * @typedef DeleteTargetCallback
+ * @type {function}
+ * @param {Error|null} error Error, if any
+ * @param {google.longrunning.Operation} [response] Operation
+ */
+
+ /**
+ * Calls DeleteTarget.
+ * @function deleteTarget
+ * @memberof google.cloud.deploy.v1.CloudDeploy
+ * @instance
+ * @param {google.cloud.deploy.v1.IDeleteTargetRequest} request DeleteTargetRequest message or plain object
+ * @param {google.cloud.deploy.v1.CloudDeploy.DeleteTargetCallback} callback Node-style callback called with the error, if any, and Operation
+ * @returns {undefined}
+ * @variation 1
+ */
+ Object.defineProperty(CloudDeploy.prototype.deleteTarget = function deleteTarget(request, callback) {
+ return this.rpcCall(deleteTarget, $root.google.cloud.deploy.v1.DeleteTargetRequest, $root.google.longrunning.Operation, request, callback);
+ }, "name", { value: "DeleteTarget" });
+
+ /**
+ * Calls DeleteTarget.
+ * @function deleteTarget
+ * @memberof google.cloud.deploy.v1.CloudDeploy
+ * @instance
+ * @param {google.cloud.deploy.v1.IDeleteTargetRequest} request DeleteTargetRequest message or plain object
+ * @returns {Promise} Promise
+ * @variation 2
+ */
+
+ /**
+ * Callback as used by {@link google.cloud.deploy.v1.CloudDeploy|listReleases}.
+ * @memberof google.cloud.deploy.v1.CloudDeploy
+ * @typedef ListReleasesCallback
+ * @type {function}
+ * @param {Error|null} error Error, if any
+ * @param {google.cloud.deploy.v1.ListReleasesResponse} [response] ListReleasesResponse
+ */
+
+ /**
+ * Calls ListReleases.
+ * @function listReleases
+ * @memberof google.cloud.deploy.v1.CloudDeploy
+ * @instance
+ * @param {google.cloud.deploy.v1.IListReleasesRequest} request ListReleasesRequest message or plain object
+ * @param {google.cloud.deploy.v1.CloudDeploy.ListReleasesCallback} callback Node-style callback called with the error, if any, and ListReleasesResponse
+ * @returns {undefined}
+ * @variation 1
+ */
+ Object.defineProperty(CloudDeploy.prototype.listReleases = function listReleases(request, callback) {
+ return this.rpcCall(listReleases, $root.google.cloud.deploy.v1.ListReleasesRequest, $root.google.cloud.deploy.v1.ListReleasesResponse, request, callback);
+ }, "name", { value: "ListReleases" });
+
+ /**
+ * Calls ListReleases.
+ * @function listReleases
+ * @memberof google.cloud.deploy.v1.CloudDeploy
+ * @instance
+ * @param {google.cloud.deploy.v1.IListReleasesRequest} request ListReleasesRequest message or plain object
+ * @returns {Promise} Promise
+ * @variation 2
+ */
+
+ /**
+ * Callback as used by {@link google.cloud.deploy.v1.CloudDeploy|getRelease}.
+ * @memberof google.cloud.deploy.v1.CloudDeploy
+ * @typedef GetReleaseCallback
+ * @type {function}
+ * @param {Error|null} error Error, if any
+ * @param {google.cloud.deploy.v1.Release} [response] Release
+ */
+
+ /**
+ * Calls GetRelease.
+ * @function getRelease
+ * @memberof google.cloud.deploy.v1.CloudDeploy
+ * @instance
+ * @param {google.cloud.deploy.v1.IGetReleaseRequest} request GetReleaseRequest message or plain object
+ * @param {google.cloud.deploy.v1.CloudDeploy.GetReleaseCallback} callback Node-style callback called with the error, if any, and Release
+ * @returns {undefined}
+ * @variation 1
+ */
+ Object.defineProperty(CloudDeploy.prototype.getRelease = function getRelease(request, callback) {
+ return this.rpcCall(getRelease, $root.google.cloud.deploy.v1.GetReleaseRequest, $root.google.cloud.deploy.v1.Release, request, callback);
+ }, "name", { value: "GetRelease" });
+
+ /**
+ * Calls GetRelease.
+ * @function getRelease
+ * @memberof google.cloud.deploy.v1.CloudDeploy
+ * @instance
+ * @param {google.cloud.deploy.v1.IGetReleaseRequest} request GetReleaseRequest message or plain object
+ * @returns {Promise} Promise
+ * @variation 2
+ */
+
+ /**
+ * Callback as used by {@link google.cloud.deploy.v1.CloudDeploy|createRelease}.
+ * @memberof google.cloud.deploy.v1.CloudDeploy
+ * @typedef CreateReleaseCallback
+ * @type {function}
+ * @param {Error|null} error Error, if any
+ * @param {google.longrunning.Operation} [response] Operation
+ */
+
+ /**
+ * Calls CreateRelease.
+ * @function createRelease
+ * @memberof google.cloud.deploy.v1.CloudDeploy
+ * @instance
+ * @param {google.cloud.deploy.v1.ICreateReleaseRequest} request CreateReleaseRequest message or plain object
+ * @param {google.cloud.deploy.v1.CloudDeploy.CreateReleaseCallback} callback Node-style callback called with the error, if any, and Operation
+ * @returns {undefined}
+ * @variation 1
+ */
+ Object.defineProperty(CloudDeploy.prototype.createRelease = function createRelease(request, callback) {
+ return this.rpcCall(createRelease, $root.google.cloud.deploy.v1.CreateReleaseRequest, $root.google.longrunning.Operation, request, callback);
+ }, "name", { value: "CreateRelease" });
+
+ /**
+ * Calls CreateRelease.
+ * @function createRelease
+ * @memberof google.cloud.deploy.v1.CloudDeploy
+ * @instance
+ * @param {google.cloud.deploy.v1.ICreateReleaseRequest} request CreateReleaseRequest message or plain object
+ * @returns {Promise} Promise
+ * @variation 2
+ */
+
+ /**
+ * Callback as used by {@link google.cloud.deploy.v1.CloudDeploy|abandonRelease}.
+ * @memberof google.cloud.deploy.v1.CloudDeploy
+ * @typedef AbandonReleaseCallback
+ * @type {function}
+ * @param {Error|null} error Error, if any
+ * @param {google.cloud.deploy.v1.AbandonReleaseResponse} [response] AbandonReleaseResponse
+ */
+
+ /**
+ * Calls AbandonRelease.
+ * @function abandonRelease
+ * @memberof google.cloud.deploy.v1.CloudDeploy
+ * @instance
+ * @param {google.cloud.deploy.v1.IAbandonReleaseRequest} request AbandonReleaseRequest message or plain object
+ * @param {google.cloud.deploy.v1.CloudDeploy.AbandonReleaseCallback} callback Node-style callback called with the error, if any, and AbandonReleaseResponse
+ * @returns {undefined}
+ * @variation 1
+ */
+ Object.defineProperty(CloudDeploy.prototype.abandonRelease = function abandonRelease(request, callback) {
+ return this.rpcCall(abandonRelease, $root.google.cloud.deploy.v1.AbandonReleaseRequest, $root.google.cloud.deploy.v1.AbandonReleaseResponse, request, callback);
+ }, "name", { value: "AbandonRelease" });
+
+ /**
+ * Calls AbandonRelease.
+ * @function abandonRelease
+ * @memberof google.cloud.deploy.v1.CloudDeploy
+ * @instance
+ * @param {google.cloud.deploy.v1.IAbandonReleaseRequest} request AbandonReleaseRequest message or plain object
+ * @returns {Promise} Promise
+ * @variation 2
+ */
+
+ /**
+ * Callback as used by {@link google.cloud.deploy.v1.CloudDeploy|approveRollout}.
+ * @memberof google.cloud.deploy.v1.CloudDeploy
+ * @typedef ApproveRolloutCallback
+ * @type {function}
+ * @param {Error|null} error Error, if any
+ * @param {google.cloud.deploy.v1.ApproveRolloutResponse} [response] ApproveRolloutResponse
+ */
+
+ /**
+ * Calls ApproveRollout.
+ * @function approveRollout
+ * @memberof google.cloud.deploy.v1.CloudDeploy
+ * @instance
+ * @param {google.cloud.deploy.v1.IApproveRolloutRequest} request ApproveRolloutRequest message or plain object
+ * @param {google.cloud.deploy.v1.CloudDeploy.ApproveRolloutCallback} callback Node-style callback called with the error, if any, and ApproveRolloutResponse
+ * @returns {undefined}
+ * @variation 1
+ */
+ Object.defineProperty(CloudDeploy.prototype.approveRollout = function approveRollout(request, callback) {
+ return this.rpcCall(approveRollout, $root.google.cloud.deploy.v1.ApproveRolloutRequest, $root.google.cloud.deploy.v1.ApproveRolloutResponse, request, callback);
+ }, "name", { value: "ApproveRollout" });
+
+ /**
+ * Calls ApproveRollout.
+ * @function approveRollout
+ * @memberof google.cloud.deploy.v1.CloudDeploy
+ * @instance
+ * @param {google.cloud.deploy.v1.IApproveRolloutRequest} request ApproveRolloutRequest message or plain object
+ * @returns {Promise} Promise
+ * @variation 2
+ */
+
+ /**
+ * Callback as used by {@link google.cloud.deploy.v1.CloudDeploy|listRollouts}.
+ * @memberof google.cloud.deploy.v1.CloudDeploy
+ * @typedef ListRolloutsCallback
+ * @type {function}
+ * @param {Error|null} error Error, if any
+ * @param {google.cloud.deploy.v1.ListRolloutsResponse} [response] ListRolloutsResponse
+ */
+
+ /**
+ * Calls ListRollouts.
+ * @function listRollouts
+ * @memberof google.cloud.deploy.v1.CloudDeploy
+ * @instance
+ * @param {google.cloud.deploy.v1.IListRolloutsRequest} request ListRolloutsRequest message or plain object
+ * @param {google.cloud.deploy.v1.CloudDeploy.ListRolloutsCallback} callback Node-style callback called with the error, if any, and ListRolloutsResponse
+ * @returns {undefined}
+ * @variation 1
+ */
+ Object.defineProperty(CloudDeploy.prototype.listRollouts = function listRollouts(request, callback) {
+ return this.rpcCall(listRollouts, $root.google.cloud.deploy.v1.ListRolloutsRequest, $root.google.cloud.deploy.v1.ListRolloutsResponse, request, callback);
+ }, "name", { value: "ListRollouts" });
+
+ /**
+ * Calls ListRollouts.
+ * @function listRollouts
+ * @memberof google.cloud.deploy.v1.CloudDeploy
+ * @instance
+ * @param {google.cloud.deploy.v1.IListRolloutsRequest} request ListRolloutsRequest message or plain object
+ * @returns {Promise} Promise
+ * @variation 2
+ */
+
+ /**
+ * Callback as used by {@link google.cloud.deploy.v1.CloudDeploy|getRollout}.
+ * @memberof google.cloud.deploy.v1.CloudDeploy
+ * @typedef GetRolloutCallback
+ * @type {function}
+ * @param {Error|null} error Error, if any
+ * @param {google.cloud.deploy.v1.Rollout} [response] Rollout
+ */
+
+ /**
+ * Calls GetRollout.
+ * @function getRollout
+ * @memberof google.cloud.deploy.v1.CloudDeploy
+ * @instance
+ * @param {google.cloud.deploy.v1.IGetRolloutRequest} request GetRolloutRequest message or plain object
+ * @param {google.cloud.deploy.v1.CloudDeploy.GetRolloutCallback} callback Node-style callback called with the error, if any, and Rollout
+ * @returns {undefined}
+ * @variation 1
+ */
+ Object.defineProperty(CloudDeploy.prototype.getRollout = function getRollout(request, callback) {
+ return this.rpcCall(getRollout, $root.google.cloud.deploy.v1.GetRolloutRequest, $root.google.cloud.deploy.v1.Rollout, request, callback);
+ }, "name", { value: "GetRollout" });
+
+ /**
+ * Calls GetRollout.
+ * @function getRollout
+ * @memberof google.cloud.deploy.v1.CloudDeploy
+ * @instance
+ * @param {google.cloud.deploy.v1.IGetRolloutRequest} request GetRolloutRequest message or plain object
+ * @returns {Promise} Promise
+ * @variation 2
+ */
+
+ /**
+ * Callback as used by {@link google.cloud.deploy.v1.CloudDeploy|createRollout}.
+ * @memberof google.cloud.deploy.v1.CloudDeploy
+ * @typedef CreateRolloutCallback
+ * @type {function}
+ * @param {Error|null} error Error, if any
+ * @param {google.longrunning.Operation} [response] Operation
+ */
+
+ /**
+ * Calls CreateRollout.
+ * @function createRollout
+ * @memberof google.cloud.deploy.v1.CloudDeploy
+ * @instance
+ * @param {google.cloud.deploy.v1.ICreateRolloutRequest} request CreateRolloutRequest message or plain object
+ * @param {google.cloud.deploy.v1.CloudDeploy.CreateRolloutCallback} callback Node-style callback called with the error, if any, and Operation
+ * @returns {undefined}
+ * @variation 1
+ */
+ Object.defineProperty(CloudDeploy.prototype.createRollout = function createRollout(request, callback) {
+ return this.rpcCall(createRollout, $root.google.cloud.deploy.v1.CreateRolloutRequest, $root.google.longrunning.Operation, request, callback);
+ }, "name", { value: "CreateRollout" });
+
+ /**
+ * Calls CreateRollout.
+ * @function createRollout
+ * @memberof google.cloud.deploy.v1.CloudDeploy
+ * @instance
+ * @param {google.cloud.deploy.v1.ICreateRolloutRequest} request CreateRolloutRequest message or plain object
+ * @returns {Promise} Promise
+ * @variation 2
+ */
+
+ /**
+ * Callback as used by {@link google.cloud.deploy.v1.CloudDeploy|retryJob}.
+ * @memberof google.cloud.deploy.v1.CloudDeploy
+ * @typedef RetryJobCallback
+ * @type {function}
+ * @param {Error|null} error Error, if any
+ * @param {google.cloud.deploy.v1.RetryJobResponse} [response] RetryJobResponse
+ */
+
+ /**
+ * Calls RetryJob.
+ * @function retryJob
+ * @memberof google.cloud.deploy.v1.CloudDeploy
+ * @instance
+ * @param {google.cloud.deploy.v1.IRetryJobRequest} request RetryJobRequest message or plain object
+ * @param {google.cloud.deploy.v1.CloudDeploy.RetryJobCallback} callback Node-style callback called with the error, if any, and RetryJobResponse
+ * @returns {undefined}
+ * @variation 1
+ */
+ Object.defineProperty(CloudDeploy.prototype.retryJob = function retryJob(request, callback) {
+ return this.rpcCall(retryJob, $root.google.cloud.deploy.v1.RetryJobRequest, $root.google.cloud.deploy.v1.RetryJobResponse, request, callback);
+ }, "name", { value: "RetryJob" });
+
+ /**
+ * Calls RetryJob.
+ * @function retryJob
+ * @memberof google.cloud.deploy.v1.CloudDeploy
+ * @instance
+ * @param {google.cloud.deploy.v1.IRetryJobRequest} request RetryJobRequest message or plain object
+ * @returns {Promise} Promise
+ * @variation 2
+ */
+
+ /**
+ * Callback as used by {@link google.cloud.deploy.v1.CloudDeploy|listJobRuns}.
+ * @memberof google.cloud.deploy.v1.CloudDeploy
+ * @typedef ListJobRunsCallback
+ * @type {function}
+ * @param {Error|null} error Error, if any
+ * @param {google.cloud.deploy.v1.ListJobRunsResponse} [response] ListJobRunsResponse
+ */
+
+ /**
+ * Calls ListJobRuns.
+ * @function listJobRuns
+ * @memberof google.cloud.deploy.v1.CloudDeploy
+ * @instance
+ * @param {google.cloud.deploy.v1.IListJobRunsRequest} request ListJobRunsRequest message or plain object
+ * @param {google.cloud.deploy.v1.CloudDeploy.ListJobRunsCallback} callback Node-style callback called with the error, if any, and ListJobRunsResponse
+ * @returns {undefined}
+ * @variation 1
+ */
+ Object.defineProperty(CloudDeploy.prototype.listJobRuns = function listJobRuns(request, callback) {
+ return this.rpcCall(listJobRuns, $root.google.cloud.deploy.v1.ListJobRunsRequest, $root.google.cloud.deploy.v1.ListJobRunsResponse, request, callback);
+ }, "name", { value: "ListJobRuns" });
+
+ /**
+ * Calls ListJobRuns.
+ * @function listJobRuns
+ * @memberof google.cloud.deploy.v1.CloudDeploy
+ * @instance
+ * @param {google.cloud.deploy.v1.IListJobRunsRequest} request ListJobRunsRequest message or plain object
+ * @returns {Promise} Promise
+ * @variation 2
+ */
+
+ /**
+ * Callback as used by {@link google.cloud.deploy.v1.CloudDeploy|getJobRun}.
+ * @memberof google.cloud.deploy.v1.CloudDeploy
+ * @typedef GetJobRunCallback
+ * @type {function}
+ * @param {Error|null} error Error, if any
+ * @param {google.cloud.deploy.v1.JobRun} [response] JobRun
+ */
+
+ /**
+ * Calls GetJobRun.
+ * @function getJobRun
+ * @memberof google.cloud.deploy.v1.CloudDeploy
+ * @instance
+ * @param {google.cloud.deploy.v1.IGetJobRunRequest} request GetJobRunRequest message or plain object
+ * @param {google.cloud.deploy.v1.CloudDeploy.GetJobRunCallback} callback Node-style callback called with the error, if any, and JobRun
+ * @returns {undefined}
+ * @variation 1
+ */
+ Object.defineProperty(CloudDeploy.prototype.getJobRun = function getJobRun(request, callback) {
+ return this.rpcCall(getJobRun, $root.google.cloud.deploy.v1.GetJobRunRequest, $root.google.cloud.deploy.v1.JobRun, request, callback);
+ }, "name", { value: "GetJobRun" });
+
+ /**
+ * Calls GetJobRun.
+ * @function getJobRun
+ * @memberof google.cloud.deploy.v1.CloudDeploy
+ * @instance
+ * @param {google.cloud.deploy.v1.IGetJobRunRequest} request GetJobRunRequest message or plain object
+ * @returns {Promise} Promise
+ * @variation 2
+ */
+
+ /**
+ * Callback as used by {@link google.cloud.deploy.v1.CloudDeploy|getConfig}.
+ * @memberof google.cloud.deploy.v1.CloudDeploy
+ * @typedef GetConfigCallback
+ * @type {function}
+ * @param {Error|null} error Error, if any
+ * @param {google.cloud.deploy.v1.Config} [response] Config
+ */
+
+ /**
+ * Calls GetConfig.
+ * @function getConfig
+ * @memberof google.cloud.deploy.v1.CloudDeploy
+ * @instance
+ * @param {google.cloud.deploy.v1.IGetConfigRequest} request GetConfigRequest message or plain object
+ * @param {google.cloud.deploy.v1.CloudDeploy.GetConfigCallback} callback Node-style callback called with the error, if any, and Config
+ * @returns {undefined}
+ * @variation 1
+ */
+ Object.defineProperty(CloudDeploy.prototype.getConfig = function getConfig(request, callback) {
+ return this.rpcCall(getConfig, $root.google.cloud.deploy.v1.GetConfigRequest, $root.google.cloud.deploy.v1.Config, request, callback);
+ }, "name", { value: "GetConfig" });
+
+ /**
+ * Calls GetConfig.
+ * @function getConfig
+ * @memberof google.cloud.deploy.v1.CloudDeploy
+ * @instance
+ * @param {google.cloud.deploy.v1.IGetConfigRequest} request GetConfigRequest message or plain object
+ * @returns {Promise} Promise
+ * @variation 2
+ */
+
+ return CloudDeploy;
+ })();
+
+ v1.DeliveryPipeline = (function() {
+
+ /**
+ * Properties of a DeliveryPipeline.
+ * @memberof google.cloud.deploy.v1
+ * @interface IDeliveryPipeline
+ * @property {string|null} [name] DeliveryPipeline name
+ * @property {string|null} [uid] DeliveryPipeline uid
+ * @property {string|null} [description] DeliveryPipeline description
+ * @property {Object.|null} [annotations] DeliveryPipeline annotations
+ * @property {Object.|null} [labels] DeliveryPipeline labels
+ * @property {google.protobuf.ITimestamp|null} [createTime] DeliveryPipeline createTime
+ * @property {google.protobuf.ITimestamp|null} [updateTime] DeliveryPipeline updateTime
+ * @property {google.cloud.deploy.v1.ISerialPipeline|null} [serialPipeline] DeliveryPipeline serialPipeline
+ * @property {google.cloud.deploy.v1.IPipelineCondition|null} [condition] DeliveryPipeline condition
+ * @property {string|null} [etag] DeliveryPipeline etag
+ * @property {boolean|null} [suspended] DeliveryPipeline suspended
+ */
+
+ /**
+ * Constructs a new DeliveryPipeline.
+ * @memberof google.cloud.deploy.v1
+ * @classdesc Represents a DeliveryPipeline.
+ * @implements IDeliveryPipeline
+ * @constructor
+ * @param {google.cloud.deploy.v1.IDeliveryPipeline=} [properties] Properties to set
+ */
+ function DeliveryPipeline(properties) {
+ this.annotations = {};
+ 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]];
+ }
+
+ /**
+ * DeliveryPipeline name.
+ * @member {string} name
+ * @memberof google.cloud.deploy.v1.DeliveryPipeline
+ * @instance
+ */
+ DeliveryPipeline.prototype.name = "";
+
+ /**
+ * DeliveryPipeline uid.
+ * @member {string} uid
+ * @memberof google.cloud.deploy.v1.DeliveryPipeline
+ * @instance
+ */
+ DeliveryPipeline.prototype.uid = "";
+
+ /**
+ * DeliveryPipeline description.
+ * @member {string} description
+ * @memberof google.cloud.deploy.v1.DeliveryPipeline
+ * @instance
+ */
+ DeliveryPipeline.prototype.description = "";
+
+ /**
+ * DeliveryPipeline annotations.
+ * @member {Object.} annotations
+ * @memberof google.cloud.deploy.v1.DeliveryPipeline
+ * @instance
+ */
+ DeliveryPipeline.prototype.annotations = $util.emptyObject;
+
+ /**
+ * DeliveryPipeline labels.
+ * @member {Object.} labels
+ * @memberof google.cloud.deploy.v1.DeliveryPipeline
+ * @instance
+ */
+ DeliveryPipeline.prototype.labels = $util.emptyObject;
+
+ /**
+ * DeliveryPipeline createTime.
+ * @member {google.protobuf.ITimestamp|null|undefined} createTime
+ * @memberof google.cloud.deploy.v1.DeliveryPipeline
+ * @instance
+ */
+ DeliveryPipeline.prototype.createTime = null;
+
+ /**
+ * DeliveryPipeline updateTime.
+ * @member {google.protobuf.ITimestamp|null|undefined} updateTime
+ * @memberof google.cloud.deploy.v1.DeliveryPipeline
+ * @instance
+ */
+ DeliveryPipeline.prototype.updateTime = null;
+
+ /**
+ * DeliveryPipeline serialPipeline.
+ * @member {google.cloud.deploy.v1.ISerialPipeline|null|undefined} serialPipeline
+ * @memberof google.cloud.deploy.v1.DeliveryPipeline
+ * @instance
+ */
+ DeliveryPipeline.prototype.serialPipeline = null;
+
+ /**
+ * DeliveryPipeline condition.
+ * @member {google.cloud.deploy.v1.IPipelineCondition|null|undefined} condition
+ * @memberof google.cloud.deploy.v1.DeliveryPipeline
+ * @instance
+ */
+ DeliveryPipeline.prototype.condition = null;
+
+ /**
+ * DeliveryPipeline etag.
+ * @member {string} etag
+ * @memberof google.cloud.deploy.v1.DeliveryPipeline
+ * @instance
+ */
+ DeliveryPipeline.prototype.etag = "";
+
+ /**
+ * DeliveryPipeline suspended.
+ * @member {boolean} suspended
+ * @memberof google.cloud.deploy.v1.DeliveryPipeline
+ * @instance
+ */
+ DeliveryPipeline.prototype.suspended = false;
+
+ // OneOf field names bound to virtual getters and setters
+ var $oneOfFields;
+
+ /**
+ * DeliveryPipeline pipeline.
+ * @member {"serialPipeline"|undefined} pipeline
+ * @memberof google.cloud.deploy.v1.DeliveryPipeline
+ * @instance
+ */
+ Object.defineProperty(DeliveryPipeline.prototype, "pipeline", {
+ get: $util.oneOfGetter($oneOfFields = ["serialPipeline"]),
+ set: $util.oneOfSetter($oneOfFields)
+ });
+
+ /**
+ * Creates a new DeliveryPipeline instance using the specified properties.
+ * @function create
+ * @memberof google.cloud.deploy.v1.DeliveryPipeline
+ * @static
+ * @param {google.cloud.deploy.v1.IDeliveryPipeline=} [properties] Properties to set
+ * @returns {google.cloud.deploy.v1.DeliveryPipeline} DeliveryPipeline instance
+ */
+ DeliveryPipeline.create = function create(properties) {
+ return new DeliveryPipeline(properties);
+ };
+
+ /**
+ * Encodes the specified DeliveryPipeline message. Does not implicitly {@link google.cloud.deploy.v1.DeliveryPipeline.verify|verify} messages.
+ * @function encode
+ * @memberof google.cloud.deploy.v1.DeliveryPipeline
+ * @static
+ * @param {google.cloud.deploy.v1.IDeliveryPipeline} message DeliveryPipeline message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ DeliveryPipeline.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.uid != null && Object.hasOwnProperty.call(message, "uid"))
+ writer.uint32(/* id 2, wireType 2 =*/18).string(message.uid);
+ if (message.description != null && Object.hasOwnProperty.call(message, "description"))
+ writer.uint32(/* id 3, wireType 2 =*/26).string(message.description);
+ if (message.annotations != null && Object.hasOwnProperty.call(message, "annotations"))
+ for (var keys = Object.keys(message.annotations), 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.annotations[keys[i]]).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 5, wireType 2 =*/42).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]).uint32(/* id 2, wireType 2 =*/18).string(message.labels[keys[i]]).ldelim();
+ if (message.createTime != null && Object.hasOwnProperty.call(message, "createTime"))
+ $root.google.protobuf.Timestamp.encode(message.createTime, writer.uint32(/* id 6, wireType 2 =*/50).fork()).ldelim();
+ if (message.updateTime != null && Object.hasOwnProperty.call(message, "updateTime"))
+ $root.google.protobuf.Timestamp.encode(message.updateTime, writer.uint32(/* id 7, wireType 2 =*/58).fork()).ldelim();
+ if (message.serialPipeline != null && Object.hasOwnProperty.call(message, "serialPipeline"))
+ $root.google.cloud.deploy.v1.SerialPipeline.encode(message.serialPipeline, writer.uint32(/* id 8, wireType 2 =*/66).fork()).ldelim();
+ if (message.etag != null && Object.hasOwnProperty.call(message, "etag"))
+ writer.uint32(/* id 10, wireType 2 =*/82).string(message.etag);
+ if (message.condition != null && Object.hasOwnProperty.call(message, "condition"))
+ $root.google.cloud.deploy.v1.PipelineCondition.encode(message.condition, writer.uint32(/* id 11, wireType 2 =*/90).fork()).ldelim();
+ if (message.suspended != null && Object.hasOwnProperty.call(message, "suspended"))
+ writer.uint32(/* id 12, wireType 0 =*/96).bool(message.suspended);
+ return writer;
+ };
+
+ /**
+ * Encodes the specified DeliveryPipeline message, length delimited. Does not implicitly {@link google.cloud.deploy.v1.DeliveryPipeline.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.cloud.deploy.v1.DeliveryPipeline
+ * @static
+ * @param {google.cloud.deploy.v1.IDeliveryPipeline} message DeliveryPipeline message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ DeliveryPipeline.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes a DeliveryPipeline message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.cloud.deploy.v1.DeliveryPipeline
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.cloud.deploy.v1.DeliveryPipeline} DeliveryPipeline
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ DeliveryPipeline.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.deploy.v1.DeliveryPipeline(), key, value;
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ switch (tag >>> 3) {
+ case 1: {
+ message.name = reader.string();
+ break;
+ }
+ case 2: {
+ message.uid = reader.string();
+ break;
+ }
+ case 3: {
+ message.description = reader.string();
+ break;
+ }
+ case 4: {
+ if (message.annotations === $util.emptyObject)
+ message.annotations = {};
+ 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.annotations[key] = value;
+ break;
+ }
+ case 5: {
+ 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 6: {
+ message.createTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32());
+ break;
+ }
+ case 7: {
+ message.updateTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32());
+ break;
+ }
+ case 8: {
+ message.serialPipeline = $root.google.cloud.deploy.v1.SerialPipeline.decode(reader, reader.uint32());
+ break;
+ }
+ case 11: {
+ message.condition = $root.google.cloud.deploy.v1.PipelineCondition.decode(reader, reader.uint32());
+ break;
+ }
+ case 10: {
+ message.etag = reader.string();
+ break;
+ }
+ case 12: {
+ message.suspended = reader.bool();
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes a DeliveryPipeline message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.cloud.deploy.v1.DeliveryPipeline
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.cloud.deploy.v1.DeliveryPipeline} DeliveryPipeline
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ DeliveryPipeline.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies a DeliveryPipeline message.
+ * @function verify
+ * @memberof google.cloud.deploy.v1.DeliveryPipeline
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ DeliveryPipeline.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ var properties = {};
+ if (message.name != null && message.hasOwnProperty("name"))
+ if (!$util.isString(message.name))
+ return "name: string expected";
+ if (message.uid != null && message.hasOwnProperty("uid"))
+ if (!$util.isString(message.uid))
+ return "uid: string expected";
+ if (message.description != null && message.hasOwnProperty("description"))
+ if (!$util.isString(message.description))
+ return "description: string expected";
+ if (message.annotations != null && message.hasOwnProperty("annotations")) {
+ if (!$util.isObject(message.annotations))
+ return "annotations: object expected";
+ var key = Object.keys(message.annotations);
+ for (var i = 0; i < key.length; ++i)
+ if (!$util.isString(message.annotations[key[i]]))
+ return "annotations: string{k:string} 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";
+ }
+ 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.serialPipeline != null && message.hasOwnProperty("serialPipeline")) {
+ properties.pipeline = 1;
+ {
+ var error = $root.google.cloud.deploy.v1.SerialPipeline.verify(message.serialPipeline);
+ if (error)
+ return "serialPipeline." + error;
+ }
+ }
+ if (message.condition != null && message.hasOwnProperty("condition")) {
+ var error = $root.google.cloud.deploy.v1.PipelineCondition.verify(message.condition);
+ if (error)
+ return "condition." + error;
+ }
+ if (message.etag != null && message.hasOwnProperty("etag"))
+ if (!$util.isString(message.etag))
+ return "etag: string expected";
+ if (message.suspended != null && message.hasOwnProperty("suspended"))
+ if (typeof message.suspended !== "boolean")
+ return "suspended: boolean expected";
+ return null;
+ };
+
+ /**
+ * Creates a DeliveryPipeline message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.cloud.deploy.v1.DeliveryPipeline
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.cloud.deploy.v1.DeliveryPipeline} DeliveryPipeline
+ */
+ DeliveryPipeline.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.cloud.deploy.v1.DeliveryPipeline)
+ return object;
+ var message = new $root.google.cloud.deploy.v1.DeliveryPipeline();
+ if (object.name != null)
+ message.name = String(object.name);
+ if (object.uid != null)
+ message.uid = String(object.uid);
+ if (object.description != null)
+ message.description = String(object.description);
+ if (object.annotations) {
+ if (typeof object.annotations !== "object")
+ throw TypeError(".google.cloud.deploy.v1.DeliveryPipeline.annotations: object expected");
+ message.annotations = {};
+ for (var keys = Object.keys(object.annotations), i = 0; i < keys.length; ++i)
+ message.annotations[keys[i]] = String(object.annotations[keys[i]]);
+ }
+ if (object.labels) {
+ if (typeof object.labels !== "object")
+ throw TypeError(".google.cloud.deploy.v1.DeliveryPipeline.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.createTime != null) {
+ if (typeof object.createTime !== "object")
+ throw TypeError(".google.cloud.deploy.v1.DeliveryPipeline.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.deploy.v1.DeliveryPipeline.updateTime: object expected");
+ message.updateTime = $root.google.protobuf.Timestamp.fromObject(object.updateTime);
+ }
+ if (object.serialPipeline != null) {
+ if (typeof object.serialPipeline !== "object")
+ throw TypeError(".google.cloud.deploy.v1.DeliveryPipeline.serialPipeline: object expected");
+ message.serialPipeline = $root.google.cloud.deploy.v1.SerialPipeline.fromObject(object.serialPipeline);
+ }
+ if (object.condition != null) {
+ if (typeof object.condition !== "object")
+ throw TypeError(".google.cloud.deploy.v1.DeliveryPipeline.condition: object expected");
+ message.condition = $root.google.cloud.deploy.v1.PipelineCondition.fromObject(object.condition);
+ }
+ if (object.etag != null)
+ message.etag = String(object.etag);
+ if (object.suspended != null)
+ message.suspended = Boolean(object.suspended);
+ return message;
+ };
+
+ /**
+ * Creates a plain object from a DeliveryPipeline message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.cloud.deploy.v1.DeliveryPipeline
+ * @static
+ * @param {google.cloud.deploy.v1.DeliveryPipeline} message DeliveryPipeline
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ DeliveryPipeline.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.objects || options.defaults) {
+ object.annotations = {};
+ object.labels = {};
+ }
+ if (options.defaults) {
+ object.name = "";
+ object.uid = "";
+ object.description = "";
+ object.createTime = null;
+ object.updateTime = null;
+ object.etag = "";
+ object.condition = null;
+ object.suspended = false;
+ }
+ if (message.name != null && message.hasOwnProperty("name"))
+ object.name = message.name;
+ if (message.uid != null && message.hasOwnProperty("uid"))
+ object.uid = message.uid;
+ if (message.description != null && message.hasOwnProperty("description"))
+ object.description = message.description;
+ var keys2;
+ if (message.annotations && (keys2 = Object.keys(message.annotations)).length) {
+ object.annotations = {};
+ for (var j = 0; j < keys2.length; ++j)
+ object.annotations[keys2[j]] = message.annotations[keys2[j]];
+ }
+ 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.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);
+ if (message.serialPipeline != null && message.hasOwnProperty("serialPipeline")) {
+ object.serialPipeline = $root.google.cloud.deploy.v1.SerialPipeline.toObject(message.serialPipeline, options);
+ if (options.oneofs)
+ object.pipeline = "serialPipeline";
+ }
+ if (message.etag != null && message.hasOwnProperty("etag"))
+ object.etag = message.etag;
+ if (message.condition != null && message.hasOwnProperty("condition"))
+ object.condition = $root.google.cloud.deploy.v1.PipelineCondition.toObject(message.condition, options);
+ if (message.suspended != null && message.hasOwnProperty("suspended"))
+ object.suspended = message.suspended;
+ return object;
+ };
+
+ /**
+ * Converts this DeliveryPipeline to JSON.
+ * @function toJSON
+ * @memberof google.cloud.deploy.v1.DeliveryPipeline
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ DeliveryPipeline.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for DeliveryPipeline
+ * @function getTypeUrl
+ * @memberof google.cloud.deploy.v1.DeliveryPipeline
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ DeliveryPipeline.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.cloud.deploy.v1.DeliveryPipeline";
+ };
+
+ return DeliveryPipeline;
+ })();
+
+ v1.SerialPipeline = (function() {
+
+ /**
+ * Properties of a SerialPipeline.
+ * @memberof google.cloud.deploy.v1
+ * @interface ISerialPipeline
+ * @property {Array.|null} [stages] SerialPipeline stages
+ */
+
+ /**
+ * Constructs a new SerialPipeline.
+ * @memberof google.cloud.deploy.v1
+ * @classdesc Represents a SerialPipeline.
+ * @implements ISerialPipeline
+ * @constructor
+ * @param {google.cloud.deploy.v1.ISerialPipeline=} [properties] Properties to set
+ */
+ function SerialPipeline(properties) {
+ this.stages = [];
+ 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]];
+ }
+
+ /**
+ * SerialPipeline stages.
+ * @member {Array.} stages
+ * @memberof google.cloud.deploy.v1.SerialPipeline
+ * @instance
+ */
+ SerialPipeline.prototype.stages = $util.emptyArray;
+
+ /**
+ * Creates a new SerialPipeline instance using the specified properties.
+ * @function create
+ * @memberof google.cloud.deploy.v1.SerialPipeline
+ * @static
+ * @param {google.cloud.deploy.v1.ISerialPipeline=} [properties] Properties to set
+ * @returns {google.cloud.deploy.v1.SerialPipeline} SerialPipeline instance
+ */
+ SerialPipeline.create = function create(properties) {
+ return new SerialPipeline(properties);
+ };
+
+ /**
+ * Encodes the specified SerialPipeline message. Does not implicitly {@link google.cloud.deploy.v1.SerialPipeline.verify|verify} messages.
+ * @function encode
+ * @memberof google.cloud.deploy.v1.SerialPipeline
+ * @static
+ * @param {google.cloud.deploy.v1.ISerialPipeline} message SerialPipeline message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ SerialPipeline.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.stages != null && message.stages.length)
+ for (var i = 0; i < message.stages.length; ++i)
+ $root.google.cloud.deploy.v1.Stage.encode(message.stages[i], writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
+ return writer;
+ };
+
+ /**
+ * Encodes the specified SerialPipeline message, length delimited. Does not implicitly {@link google.cloud.deploy.v1.SerialPipeline.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.cloud.deploy.v1.SerialPipeline
+ * @static
+ * @param {google.cloud.deploy.v1.ISerialPipeline} message SerialPipeline message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ SerialPipeline.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes a SerialPipeline message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.cloud.deploy.v1.SerialPipeline
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.cloud.deploy.v1.SerialPipeline} SerialPipeline
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ SerialPipeline.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.deploy.v1.SerialPipeline();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ switch (tag >>> 3) {
+ case 1: {
+ if (!(message.stages && message.stages.length))
+ message.stages = [];
+ message.stages.push($root.google.cloud.deploy.v1.Stage.decode(reader, reader.uint32()));
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes a SerialPipeline message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.cloud.deploy.v1.SerialPipeline
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.cloud.deploy.v1.SerialPipeline} SerialPipeline
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ SerialPipeline.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies a SerialPipeline message.
+ * @function verify
+ * @memberof google.cloud.deploy.v1.SerialPipeline
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ SerialPipeline.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ if (message.stages != null && message.hasOwnProperty("stages")) {
+ if (!Array.isArray(message.stages))
+ return "stages: array expected";
+ for (var i = 0; i < message.stages.length; ++i) {
+ var error = $root.google.cloud.deploy.v1.Stage.verify(message.stages[i]);
+ if (error)
+ return "stages." + error;
+ }
+ }
+ return null;
+ };
+
+ /**
+ * Creates a SerialPipeline message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.cloud.deploy.v1.SerialPipeline
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.cloud.deploy.v1.SerialPipeline} SerialPipeline
+ */
+ SerialPipeline.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.cloud.deploy.v1.SerialPipeline)
+ return object;
+ var message = new $root.google.cloud.deploy.v1.SerialPipeline();
+ if (object.stages) {
+ if (!Array.isArray(object.stages))
+ throw TypeError(".google.cloud.deploy.v1.SerialPipeline.stages: array expected");
+ message.stages = [];
+ for (var i = 0; i < object.stages.length; ++i) {
+ if (typeof object.stages[i] !== "object")
+ throw TypeError(".google.cloud.deploy.v1.SerialPipeline.stages: object expected");
+ message.stages[i] = $root.google.cloud.deploy.v1.Stage.fromObject(object.stages[i]);
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Creates a plain object from a SerialPipeline message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.cloud.deploy.v1.SerialPipeline
+ * @static
+ * @param {google.cloud.deploy.v1.SerialPipeline} message SerialPipeline
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ SerialPipeline.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.arrays || options.defaults)
+ object.stages = [];
+ if (message.stages && message.stages.length) {
+ object.stages = [];
+ for (var j = 0; j < message.stages.length; ++j)
+ object.stages[j] = $root.google.cloud.deploy.v1.Stage.toObject(message.stages[j], options);
+ }
+ return object;
+ };
+
+ /**
+ * Converts this SerialPipeline to JSON.
+ * @function toJSON
+ * @memberof google.cloud.deploy.v1.SerialPipeline
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ SerialPipeline.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for SerialPipeline
+ * @function getTypeUrl
+ * @memberof google.cloud.deploy.v1.SerialPipeline
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ SerialPipeline.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.cloud.deploy.v1.SerialPipeline";
+ };
+
+ return SerialPipeline;
+ })();
+
+ v1.Stage = (function() {
+
+ /**
+ * Properties of a Stage.
+ * @memberof google.cloud.deploy.v1
+ * @interface IStage
+ * @property {string|null} [targetId] Stage targetId
+ * @property {Array.|null} [profiles] Stage profiles
+ * @property {google.cloud.deploy.v1.IStrategy|null} [strategy] Stage strategy
+ */
+
+ /**
+ * Constructs a new Stage.
+ * @memberof google.cloud.deploy.v1
+ * @classdesc Represents a Stage.
+ * @implements IStage
+ * @constructor
+ * @param {google.cloud.deploy.v1.IStage=} [properties] Properties to set
+ */
+ function Stage(properties) {
+ this.profiles = [];
+ 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]];
+ }
+
+ /**
+ * Stage targetId.
+ * @member {string} targetId
+ * @memberof google.cloud.deploy.v1.Stage
+ * @instance
+ */
+ Stage.prototype.targetId = "";
+
+ /**
+ * Stage profiles.
+ * @member {Array.} profiles
+ * @memberof google.cloud.deploy.v1.Stage
+ * @instance
+ */
+ Stage.prototype.profiles = $util.emptyArray;
+
+ /**
+ * Stage strategy.
+ * @member {google.cloud.deploy.v1.IStrategy|null|undefined} strategy
+ * @memberof google.cloud.deploy.v1.Stage
+ * @instance
+ */
+ Stage.prototype.strategy = null;
+
+ /**
+ * Creates a new Stage instance using the specified properties.
+ * @function create
+ * @memberof google.cloud.deploy.v1.Stage
+ * @static
+ * @param {google.cloud.deploy.v1.IStage=} [properties] Properties to set
+ * @returns {google.cloud.deploy.v1.Stage} Stage instance
+ */
+ Stage.create = function create(properties) {
+ return new Stage(properties);
+ };
+
+ /**
+ * Encodes the specified Stage message. Does not implicitly {@link google.cloud.deploy.v1.Stage.verify|verify} messages.
+ * @function encode
+ * @memberof google.cloud.deploy.v1.Stage
+ * @static
+ * @param {google.cloud.deploy.v1.IStage} message Stage message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ Stage.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.targetId != null && Object.hasOwnProperty.call(message, "targetId"))
+ writer.uint32(/* id 1, wireType 2 =*/10).string(message.targetId);
+ if (message.profiles != null && message.profiles.length)
+ for (var i = 0; i < message.profiles.length; ++i)
+ writer.uint32(/* id 2, wireType 2 =*/18).string(message.profiles[i]);
+ if (message.strategy != null && Object.hasOwnProperty.call(message, "strategy"))
+ $root.google.cloud.deploy.v1.Strategy.encode(message.strategy, writer.uint32(/* id 5, wireType 2 =*/42).fork()).ldelim();
+ return writer;
+ };
+
+ /**
+ * Encodes the specified Stage message, length delimited. Does not implicitly {@link google.cloud.deploy.v1.Stage.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.cloud.deploy.v1.Stage
+ * @static
+ * @param {google.cloud.deploy.v1.IStage} message Stage message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ Stage.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes a Stage message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.cloud.deploy.v1.Stage
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.cloud.deploy.v1.Stage} Stage
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ Stage.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.deploy.v1.Stage();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ switch (tag >>> 3) {
+ case 1: {
+ message.targetId = reader.string();
+ break;
+ }
+ case 2: {
+ if (!(message.profiles && message.profiles.length))
+ message.profiles = [];
+ message.profiles.push(reader.string());
+ break;
+ }
+ case 5: {
+ message.strategy = $root.google.cloud.deploy.v1.Strategy.decode(reader, reader.uint32());
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes a Stage message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.cloud.deploy.v1.Stage
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.cloud.deploy.v1.Stage} Stage
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ Stage.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies a Stage message.
+ * @function verify
+ * @memberof google.cloud.deploy.v1.Stage
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ Stage.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ if (message.targetId != null && message.hasOwnProperty("targetId"))
+ if (!$util.isString(message.targetId))
+ return "targetId: string expected";
+ if (message.profiles != null && message.hasOwnProperty("profiles")) {
+ if (!Array.isArray(message.profiles))
+ return "profiles: array expected";
+ for (var i = 0; i < message.profiles.length; ++i)
+ if (!$util.isString(message.profiles[i]))
+ return "profiles: string[] expected";
+ }
+ if (message.strategy != null && message.hasOwnProperty("strategy")) {
+ var error = $root.google.cloud.deploy.v1.Strategy.verify(message.strategy);
+ if (error)
+ return "strategy." + error;
+ }
+ return null;
+ };
+
+ /**
+ * Creates a Stage message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.cloud.deploy.v1.Stage
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.cloud.deploy.v1.Stage} Stage
+ */
+ Stage.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.cloud.deploy.v1.Stage)
+ return object;
+ var message = new $root.google.cloud.deploy.v1.Stage();
+ if (object.targetId != null)
+ message.targetId = String(object.targetId);
+ if (object.profiles) {
+ if (!Array.isArray(object.profiles))
+ throw TypeError(".google.cloud.deploy.v1.Stage.profiles: array expected");
+ message.profiles = [];
+ for (var i = 0; i < object.profiles.length; ++i)
+ message.profiles[i] = String(object.profiles[i]);
+ }
+ if (object.strategy != null) {
+ if (typeof object.strategy !== "object")
+ throw TypeError(".google.cloud.deploy.v1.Stage.strategy: object expected");
+ message.strategy = $root.google.cloud.deploy.v1.Strategy.fromObject(object.strategy);
+ }
+ return message;
+ };
+
+ /**
+ * Creates a plain object from a Stage message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.cloud.deploy.v1.Stage
+ * @static
+ * @param {google.cloud.deploy.v1.Stage} message Stage
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ Stage.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.arrays || options.defaults)
+ object.profiles = [];
+ if (options.defaults) {
+ object.targetId = "";
+ object.strategy = null;
+ }
+ if (message.targetId != null && message.hasOwnProperty("targetId"))
+ object.targetId = message.targetId;
+ if (message.profiles && message.profiles.length) {
+ object.profiles = [];
+ for (var j = 0; j < message.profiles.length; ++j)
+ object.profiles[j] = message.profiles[j];
+ }
+ if (message.strategy != null && message.hasOwnProperty("strategy"))
+ object.strategy = $root.google.cloud.deploy.v1.Strategy.toObject(message.strategy, options);
+ return object;
+ };
+
+ /**
+ * Converts this Stage to JSON.
+ * @function toJSON
+ * @memberof google.cloud.deploy.v1.Stage
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ Stage.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for Stage
+ * @function getTypeUrl
+ * @memberof google.cloud.deploy.v1.Stage
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ Stage.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.cloud.deploy.v1.Stage";
+ };
+
+ return Stage;
+ })();
+
+ v1.Strategy = (function() {
+
+ /**
+ * Properties of a Strategy.
+ * @memberof google.cloud.deploy.v1
+ * @interface IStrategy
+ * @property {google.cloud.deploy.v1.IStandard|null} [standard] Strategy standard
+ */
+
+ /**
+ * Constructs a new Strategy.
+ * @memberof google.cloud.deploy.v1
+ * @classdesc Represents a Strategy.
+ * @implements IStrategy
+ * @constructor
+ * @param {google.cloud.deploy.v1.IStrategy=} [properties] Properties to set
+ */
+ function Strategy(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]];
+ }
+
+ /**
+ * Strategy standard.
+ * @member {google.cloud.deploy.v1.IStandard|null|undefined} standard
+ * @memberof google.cloud.deploy.v1.Strategy
+ * @instance
+ */
+ Strategy.prototype.standard = null;
+
+ // OneOf field names bound to virtual getters and setters
+ var $oneOfFields;
+
+ /**
+ * Strategy deploymentStrategy.
+ * @member {"standard"|undefined} deploymentStrategy
+ * @memberof google.cloud.deploy.v1.Strategy
+ * @instance
+ */
+ Object.defineProperty(Strategy.prototype, "deploymentStrategy", {
+ get: $util.oneOfGetter($oneOfFields = ["standard"]),
+ set: $util.oneOfSetter($oneOfFields)
+ });
+
+ /**
+ * Creates a new Strategy instance using the specified properties.
+ * @function create
+ * @memberof google.cloud.deploy.v1.Strategy
+ * @static
+ * @param {google.cloud.deploy.v1.IStrategy=} [properties] Properties to set
+ * @returns {google.cloud.deploy.v1.Strategy} Strategy instance
+ */
+ Strategy.create = function create(properties) {
+ return new Strategy(properties);
+ };
+
+ /**
+ * Encodes the specified Strategy message. Does not implicitly {@link google.cloud.deploy.v1.Strategy.verify|verify} messages.
+ * @function encode
+ * @memberof google.cloud.deploy.v1.Strategy
+ * @static
+ * @param {google.cloud.deploy.v1.IStrategy} message Strategy message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ Strategy.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.standard != null && Object.hasOwnProperty.call(message, "standard"))
+ $root.google.cloud.deploy.v1.Standard.encode(message.standard, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
+ return writer;
+ };
+
+ /**
+ * Encodes the specified Strategy message, length delimited. Does not implicitly {@link google.cloud.deploy.v1.Strategy.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.cloud.deploy.v1.Strategy
+ * @static
+ * @param {google.cloud.deploy.v1.IStrategy} message Strategy message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ Strategy.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes a Strategy message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.cloud.deploy.v1.Strategy
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.cloud.deploy.v1.Strategy} Strategy
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ Strategy.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.deploy.v1.Strategy();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ switch (tag >>> 3) {
+ case 1: {
+ message.standard = $root.google.cloud.deploy.v1.Standard.decode(reader, reader.uint32());
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes a Strategy message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.cloud.deploy.v1.Strategy
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.cloud.deploy.v1.Strategy} Strategy
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ Strategy.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies a Strategy message.
+ * @function verify
+ * @memberof google.cloud.deploy.v1.Strategy
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ Strategy.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ var properties = {};
+ if (message.standard != null && message.hasOwnProperty("standard")) {
+ properties.deploymentStrategy = 1;
+ {
+ var error = $root.google.cloud.deploy.v1.Standard.verify(message.standard);
+ if (error)
+ return "standard." + error;
+ }
+ }
+ return null;
+ };
+
+ /**
+ * Creates a Strategy message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.cloud.deploy.v1.Strategy
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.cloud.deploy.v1.Strategy} Strategy
+ */
+ Strategy.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.cloud.deploy.v1.Strategy)
+ return object;
+ var message = new $root.google.cloud.deploy.v1.Strategy();
+ if (object.standard != null) {
+ if (typeof object.standard !== "object")
+ throw TypeError(".google.cloud.deploy.v1.Strategy.standard: object expected");
+ message.standard = $root.google.cloud.deploy.v1.Standard.fromObject(object.standard);
+ }
+ return message;
+ };
+
+ /**
+ * Creates a plain object from a Strategy message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.cloud.deploy.v1.Strategy
+ * @static
+ * @param {google.cloud.deploy.v1.Strategy} message Strategy
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ Strategy.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (message.standard != null && message.hasOwnProperty("standard")) {
+ object.standard = $root.google.cloud.deploy.v1.Standard.toObject(message.standard, options);
+ if (options.oneofs)
+ object.deploymentStrategy = "standard";
+ }
+ return object;
+ };
+
+ /**
+ * Converts this Strategy to JSON.
+ * @function toJSON
+ * @memberof google.cloud.deploy.v1.Strategy
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ Strategy.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for Strategy
+ * @function getTypeUrl
+ * @memberof google.cloud.deploy.v1.Strategy
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ Strategy.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.cloud.deploy.v1.Strategy";
+ };
+
+ return Strategy;
+ })();
+
+ v1.Standard = (function() {
+
+ /**
+ * Properties of a Standard.
+ * @memberof google.cloud.deploy.v1
+ * @interface IStandard
+ * @property {boolean|null} [verify] Standard verify
+ */
+
+ /**
+ * Constructs a new Standard.
+ * @memberof google.cloud.deploy.v1
+ * @classdesc Represents a Standard.
+ * @implements IStandard
+ * @constructor
+ * @param {google.cloud.deploy.v1.IStandard=} [properties] Properties to set
+ */
+ function Standard(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]];
+ }
+
+ /**
+ * Standard verify.
+ * @member {boolean} verify
+ * @memberof google.cloud.deploy.v1.Standard
+ * @instance
+ */
+ Standard.prototype.verify = false;
+
+ /**
+ * Creates a new Standard instance using the specified properties.
+ * @function create
+ * @memberof google.cloud.deploy.v1.Standard
+ * @static
+ * @param {google.cloud.deploy.v1.IStandard=} [properties] Properties to set
+ * @returns {google.cloud.deploy.v1.Standard} Standard instance
+ */
+ Standard.create = function create(properties) {
+ return new Standard(properties);
+ };
+
+ /**
+ * Encodes the specified Standard message. Does not implicitly {@link google.cloud.deploy.v1.Standard.verify|verify} messages.
+ * @function encode
+ * @memberof google.cloud.deploy.v1.Standard
+ * @static
+ * @param {google.cloud.deploy.v1.IStandard} message Standard message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ Standard.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.verify != null && Object.hasOwnProperty.call(message, "verify"))
+ writer.uint32(/* id 1, wireType 0 =*/8).bool(message.verify);
+ return writer;
+ };
+
+ /**
+ * Encodes the specified Standard message, length delimited. Does not implicitly {@link google.cloud.deploy.v1.Standard.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.cloud.deploy.v1.Standard
+ * @static
+ * @param {google.cloud.deploy.v1.IStandard} message Standard message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ Standard.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes a Standard message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.cloud.deploy.v1.Standard
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.cloud.deploy.v1.Standard} Standard
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ Standard.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.deploy.v1.Standard();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ switch (tag >>> 3) {
+ case 1: {
+ message.verify = reader.bool();
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes a Standard message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.cloud.deploy.v1.Standard
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.cloud.deploy.v1.Standard} Standard
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ Standard.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies a Standard message.
+ * @function verify
+ * @memberof google.cloud.deploy.v1.Standard
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ Standard.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ if (message.verify != null && message.hasOwnProperty("verify"))
+ if (typeof message.verify !== "boolean")
+ return "verify: boolean expected";
+ return null;
+ };
+
+ /**
+ * Creates a Standard message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.cloud.deploy.v1.Standard
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.cloud.deploy.v1.Standard} Standard
+ */
+ Standard.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.cloud.deploy.v1.Standard)
+ return object;
+ var message = new $root.google.cloud.deploy.v1.Standard();
+ if (object.verify != null)
+ message.verify = Boolean(object.verify);
+ return message;
+ };
+
+ /**
+ * Creates a plain object from a Standard message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.cloud.deploy.v1.Standard
+ * @static
+ * @param {google.cloud.deploy.v1.Standard} message Standard
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ Standard.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.defaults)
+ object.verify = false;
+ if (message.verify != null && message.hasOwnProperty("verify"))
+ object.verify = message.verify;
+ return object;
+ };
+
+ /**
+ * Converts this Standard to JSON.
+ * @function toJSON
+ * @memberof google.cloud.deploy.v1.Standard
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ Standard.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for Standard
+ * @function getTypeUrl
+ * @memberof google.cloud.deploy.v1.Standard
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ Standard.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.cloud.deploy.v1.Standard";
+ };
+
+ return Standard;
+ })();
+
+ v1.PipelineReadyCondition = (function() {
+
+ /**
+ * Properties of a PipelineReadyCondition.
+ * @memberof google.cloud.deploy.v1
+ * @interface IPipelineReadyCondition
+ * @property {boolean|null} [status] PipelineReadyCondition status
+ * @property {google.protobuf.ITimestamp|null} [updateTime] PipelineReadyCondition updateTime
+ */
+
+ /**
+ * Constructs a new PipelineReadyCondition.
+ * @memberof google.cloud.deploy.v1
+ * @classdesc Represents a PipelineReadyCondition.
+ * @implements IPipelineReadyCondition
+ * @constructor
+ * @param {google.cloud.deploy.v1.IPipelineReadyCondition=} [properties] Properties to set
+ */
+ function PipelineReadyCondition(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]];
+ }
+
+ /**
+ * PipelineReadyCondition status.
+ * @member {boolean} status
+ * @memberof google.cloud.deploy.v1.PipelineReadyCondition
+ * @instance
+ */
+ PipelineReadyCondition.prototype.status = false;
+
+ /**
+ * PipelineReadyCondition updateTime.
+ * @member {google.protobuf.ITimestamp|null|undefined} updateTime
+ * @memberof google.cloud.deploy.v1.PipelineReadyCondition
+ * @instance
+ */
+ PipelineReadyCondition.prototype.updateTime = null;
+
+ /**
+ * Creates a new PipelineReadyCondition instance using the specified properties.
+ * @function create
+ * @memberof google.cloud.deploy.v1.PipelineReadyCondition
+ * @static
+ * @param {google.cloud.deploy.v1.IPipelineReadyCondition=} [properties] Properties to set
+ * @returns {google.cloud.deploy.v1.PipelineReadyCondition} PipelineReadyCondition instance
+ */
+ PipelineReadyCondition.create = function create(properties) {
+ return new PipelineReadyCondition(properties);
+ };
+
+ /**
+ * Encodes the specified PipelineReadyCondition message. Does not implicitly {@link google.cloud.deploy.v1.PipelineReadyCondition.verify|verify} messages.
+ * @function encode
+ * @memberof google.cloud.deploy.v1.PipelineReadyCondition
+ * @static
+ * @param {google.cloud.deploy.v1.IPipelineReadyCondition} message PipelineReadyCondition message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ PipelineReadyCondition.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.status != null && Object.hasOwnProperty.call(message, "status"))
+ writer.uint32(/* id 3, wireType 0 =*/24).bool(message.status);
+ if (message.updateTime != null && Object.hasOwnProperty.call(message, "updateTime"))
+ $root.google.protobuf.Timestamp.encode(message.updateTime, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim();
+ return writer;
+ };
+
+ /**
+ * Encodes the specified PipelineReadyCondition message, length delimited. Does not implicitly {@link google.cloud.deploy.v1.PipelineReadyCondition.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.cloud.deploy.v1.PipelineReadyCondition
+ * @static
+ * @param {google.cloud.deploy.v1.IPipelineReadyCondition} message PipelineReadyCondition message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ PipelineReadyCondition.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes a PipelineReadyCondition message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.cloud.deploy.v1.PipelineReadyCondition
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.cloud.deploy.v1.PipelineReadyCondition} PipelineReadyCondition
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ PipelineReadyCondition.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.deploy.v1.PipelineReadyCondition();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ switch (tag >>> 3) {
+ case 3: {
+ message.status = reader.bool();
+ break;
+ }
+ case 4: {
+ message.updateTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32());
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes a PipelineReadyCondition message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.cloud.deploy.v1.PipelineReadyCondition
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.cloud.deploy.v1.PipelineReadyCondition} PipelineReadyCondition
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ PipelineReadyCondition.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies a PipelineReadyCondition message.
+ * @function verify
+ * @memberof google.cloud.deploy.v1.PipelineReadyCondition
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ PipelineReadyCondition.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ if (message.status != null && message.hasOwnProperty("status"))
+ if (typeof message.status !== "boolean")
+ return "status: boolean expected";
+ if (message.updateTime != null && message.hasOwnProperty("updateTime")) {
+ var error = $root.google.protobuf.Timestamp.verify(message.updateTime);
+ if (error)
+ return "updateTime." + error;
+ }
+ return null;
+ };
+
+ /**
+ * Creates a PipelineReadyCondition message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.cloud.deploy.v1.PipelineReadyCondition
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.cloud.deploy.v1.PipelineReadyCondition} PipelineReadyCondition
+ */
+ PipelineReadyCondition.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.cloud.deploy.v1.PipelineReadyCondition)
+ return object;
+ var message = new $root.google.cloud.deploy.v1.PipelineReadyCondition();
+ if (object.status != null)
+ message.status = Boolean(object.status);
+ if (object.updateTime != null) {
+ if (typeof object.updateTime !== "object")
+ throw TypeError(".google.cloud.deploy.v1.PipelineReadyCondition.updateTime: object expected");
+ message.updateTime = $root.google.protobuf.Timestamp.fromObject(object.updateTime);
+ }
+ return message;
+ };
+
+ /**
+ * Creates a plain object from a PipelineReadyCondition message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.cloud.deploy.v1.PipelineReadyCondition
+ * @static
+ * @param {google.cloud.deploy.v1.PipelineReadyCondition} message PipelineReadyCondition
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ PipelineReadyCondition.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.defaults) {
+ object.status = false;
+ object.updateTime = null;
+ }
+ if (message.status != null && message.hasOwnProperty("status"))
+ object.status = message.status;
+ if (message.updateTime != null && message.hasOwnProperty("updateTime"))
+ object.updateTime = $root.google.protobuf.Timestamp.toObject(message.updateTime, options);
+ return object;
+ };
+
+ /**
+ * Converts this PipelineReadyCondition to JSON.
+ * @function toJSON
+ * @memberof google.cloud.deploy.v1.PipelineReadyCondition
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ PipelineReadyCondition.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for PipelineReadyCondition
+ * @function getTypeUrl
+ * @memberof google.cloud.deploy.v1.PipelineReadyCondition
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ PipelineReadyCondition.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.cloud.deploy.v1.PipelineReadyCondition";
+ };
+
+ return PipelineReadyCondition;
+ })();
+
+ v1.TargetsPresentCondition = (function() {
+
+ /**
+ * Properties of a TargetsPresentCondition.
+ * @memberof google.cloud.deploy.v1
+ * @interface ITargetsPresentCondition
+ * @property {boolean|null} [status] TargetsPresentCondition status
+ * @property {Array.|null} [missingTargets] TargetsPresentCondition missingTargets
+ * @property {google.protobuf.ITimestamp|null} [updateTime] TargetsPresentCondition updateTime
+ */
+
+ /**
+ * Constructs a new TargetsPresentCondition.
+ * @memberof google.cloud.deploy.v1
+ * @classdesc Represents a TargetsPresentCondition.
+ * @implements ITargetsPresentCondition
+ * @constructor
+ * @param {google.cloud.deploy.v1.ITargetsPresentCondition=} [properties] Properties to set
+ */
+ function TargetsPresentCondition(properties) {
+ this.missingTargets = [];
+ 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]];
+ }
+
+ /**
+ * TargetsPresentCondition status.
+ * @member {boolean} status
+ * @memberof google.cloud.deploy.v1.TargetsPresentCondition
+ * @instance
+ */
+ TargetsPresentCondition.prototype.status = false;
+
+ /**
+ * TargetsPresentCondition missingTargets.
+ * @member {Array.} missingTargets
+ * @memberof google.cloud.deploy.v1.TargetsPresentCondition
+ * @instance
+ */
+ TargetsPresentCondition.prototype.missingTargets = $util.emptyArray;
+
+ /**
+ * TargetsPresentCondition updateTime.
+ * @member {google.protobuf.ITimestamp|null|undefined} updateTime
+ * @memberof google.cloud.deploy.v1.TargetsPresentCondition
+ * @instance
+ */
+ TargetsPresentCondition.prototype.updateTime = null;
+
+ /**
+ * Creates a new TargetsPresentCondition instance using the specified properties.
+ * @function create
+ * @memberof google.cloud.deploy.v1.TargetsPresentCondition
+ * @static
+ * @param {google.cloud.deploy.v1.ITargetsPresentCondition=} [properties] Properties to set
+ * @returns {google.cloud.deploy.v1.TargetsPresentCondition} TargetsPresentCondition instance
+ */
+ TargetsPresentCondition.create = function create(properties) {
+ return new TargetsPresentCondition(properties);
+ };
+
+ /**
+ * Encodes the specified TargetsPresentCondition message. Does not implicitly {@link google.cloud.deploy.v1.TargetsPresentCondition.verify|verify} messages.
+ * @function encode
+ * @memberof google.cloud.deploy.v1.TargetsPresentCondition
+ * @static
+ * @param {google.cloud.deploy.v1.ITargetsPresentCondition} message TargetsPresentCondition message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ TargetsPresentCondition.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.status != null && Object.hasOwnProperty.call(message, "status"))
+ writer.uint32(/* id 1, wireType 0 =*/8).bool(message.status);
+ if (message.missingTargets != null && message.missingTargets.length)
+ for (var i = 0; i < message.missingTargets.length; ++i)
+ writer.uint32(/* id 2, wireType 2 =*/18).string(message.missingTargets[i]);
+ if (message.updateTime != null && Object.hasOwnProperty.call(message, "updateTime"))
+ $root.google.protobuf.Timestamp.encode(message.updateTime, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim();
+ return writer;
+ };
+
+ /**
+ * Encodes the specified TargetsPresentCondition message, length delimited. Does not implicitly {@link google.cloud.deploy.v1.TargetsPresentCondition.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.cloud.deploy.v1.TargetsPresentCondition
+ * @static
+ * @param {google.cloud.deploy.v1.ITargetsPresentCondition} message TargetsPresentCondition message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ TargetsPresentCondition.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes a TargetsPresentCondition message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.cloud.deploy.v1.TargetsPresentCondition
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.cloud.deploy.v1.TargetsPresentCondition} TargetsPresentCondition
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ TargetsPresentCondition.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.deploy.v1.TargetsPresentCondition();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ switch (tag >>> 3) {
+ case 1: {
+ message.status = reader.bool();
+ break;
+ }
+ case 2: {
+ if (!(message.missingTargets && message.missingTargets.length))
+ message.missingTargets = [];
+ message.missingTargets.push(reader.string());
+ break;
+ }
+ case 4: {
+ message.updateTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32());
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes a TargetsPresentCondition message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.cloud.deploy.v1.TargetsPresentCondition
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.cloud.deploy.v1.TargetsPresentCondition} TargetsPresentCondition
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ TargetsPresentCondition.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies a TargetsPresentCondition message.
+ * @function verify
+ * @memberof google.cloud.deploy.v1.TargetsPresentCondition
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ TargetsPresentCondition.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ if (message.status != null && message.hasOwnProperty("status"))
+ if (typeof message.status !== "boolean")
+ return "status: boolean expected";
+ if (message.missingTargets != null && message.hasOwnProperty("missingTargets")) {
+ if (!Array.isArray(message.missingTargets))
+ return "missingTargets: array expected";
+ for (var i = 0; i < message.missingTargets.length; ++i)
+ if (!$util.isString(message.missingTargets[i]))
+ return "missingTargets: string[] expected";
+ }
+ if (message.updateTime != null && message.hasOwnProperty("updateTime")) {
+ var error = $root.google.protobuf.Timestamp.verify(message.updateTime);
+ if (error)
+ return "updateTime." + error;
+ }
+ return null;
+ };
+
+ /**
+ * Creates a TargetsPresentCondition message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.cloud.deploy.v1.TargetsPresentCondition
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.cloud.deploy.v1.TargetsPresentCondition} TargetsPresentCondition
+ */
+ TargetsPresentCondition.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.cloud.deploy.v1.TargetsPresentCondition)
+ return object;
+ var message = new $root.google.cloud.deploy.v1.TargetsPresentCondition();
+ if (object.status != null)
+ message.status = Boolean(object.status);
+ if (object.missingTargets) {
+ if (!Array.isArray(object.missingTargets))
+ throw TypeError(".google.cloud.deploy.v1.TargetsPresentCondition.missingTargets: array expected");
+ message.missingTargets = [];
+ for (var i = 0; i < object.missingTargets.length; ++i)
+ message.missingTargets[i] = String(object.missingTargets[i]);
+ }
+ if (object.updateTime != null) {
+ if (typeof object.updateTime !== "object")
+ throw TypeError(".google.cloud.deploy.v1.TargetsPresentCondition.updateTime: object expected");
+ message.updateTime = $root.google.protobuf.Timestamp.fromObject(object.updateTime);
+ }
+ return message;
+ };
+
+ /**
+ * Creates a plain object from a TargetsPresentCondition message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.cloud.deploy.v1.TargetsPresentCondition
+ * @static
+ * @param {google.cloud.deploy.v1.TargetsPresentCondition} message TargetsPresentCondition
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ TargetsPresentCondition.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.arrays || options.defaults)
+ object.missingTargets = [];
+ if (options.defaults) {
+ object.status = false;
+ object.updateTime = null;
+ }
+ if (message.status != null && message.hasOwnProperty("status"))
+ object.status = message.status;
+ if (message.missingTargets && message.missingTargets.length) {
+ object.missingTargets = [];
+ for (var j = 0; j < message.missingTargets.length; ++j)
+ object.missingTargets[j] = message.missingTargets[j];
+ }
+ if (message.updateTime != null && message.hasOwnProperty("updateTime"))
+ object.updateTime = $root.google.protobuf.Timestamp.toObject(message.updateTime, options);
+ return object;
+ };
+
+ /**
+ * Converts this TargetsPresentCondition to JSON.
+ * @function toJSON
+ * @memberof google.cloud.deploy.v1.TargetsPresentCondition
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ TargetsPresentCondition.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for TargetsPresentCondition
+ * @function getTypeUrl
+ * @memberof google.cloud.deploy.v1.TargetsPresentCondition
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ TargetsPresentCondition.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.cloud.deploy.v1.TargetsPresentCondition";
+ };
+
+ return TargetsPresentCondition;
+ })();
+
+ v1.PipelineCondition = (function() {
+
+ /**
+ * Properties of a PipelineCondition.
+ * @memberof google.cloud.deploy.v1
+ * @interface IPipelineCondition
+ * @property {google.cloud.deploy.v1.IPipelineReadyCondition|null} [pipelineReadyCondition] PipelineCondition pipelineReadyCondition
+ * @property {google.cloud.deploy.v1.ITargetsPresentCondition|null} [targetsPresentCondition] PipelineCondition targetsPresentCondition
+ */
+
+ /**
+ * Constructs a new PipelineCondition.
+ * @memberof google.cloud.deploy.v1
+ * @classdesc Represents a PipelineCondition.
+ * @implements IPipelineCondition
+ * @constructor
+ * @param {google.cloud.deploy.v1.IPipelineCondition=} [properties] Properties to set
+ */
+ function PipelineCondition(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]];
+ }
+
+ /**
+ * PipelineCondition pipelineReadyCondition.
+ * @member {google.cloud.deploy.v1.IPipelineReadyCondition|null|undefined} pipelineReadyCondition
+ * @memberof google.cloud.deploy.v1.PipelineCondition
+ * @instance
+ */
+ PipelineCondition.prototype.pipelineReadyCondition = null;
+
+ /**
+ * PipelineCondition targetsPresentCondition.
+ * @member {google.cloud.deploy.v1.ITargetsPresentCondition|null|undefined} targetsPresentCondition
+ * @memberof google.cloud.deploy.v1.PipelineCondition
+ * @instance
+ */
+ PipelineCondition.prototype.targetsPresentCondition = null;
+
+ /**
+ * Creates a new PipelineCondition instance using the specified properties.
+ * @function create
+ * @memberof google.cloud.deploy.v1.PipelineCondition
+ * @static
+ * @param {google.cloud.deploy.v1.IPipelineCondition=} [properties] Properties to set
+ * @returns {google.cloud.deploy.v1.PipelineCondition} PipelineCondition instance
+ */
+ PipelineCondition.create = function create(properties) {
+ return new PipelineCondition(properties);
+ };
+
+ /**
+ * Encodes the specified PipelineCondition message. Does not implicitly {@link google.cloud.deploy.v1.PipelineCondition.verify|verify} messages.
+ * @function encode
+ * @memberof google.cloud.deploy.v1.PipelineCondition
+ * @static
+ * @param {google.cloud.deploy.v1.IPipelineCondition} message PipelineCondition message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ PipelineCondition.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.pipelineReadyCondition != null && Object.hasOwnProperty.call(message, "pipelineReadyCondition"))
+ $root.google.cloud.deploy.v1.PipelineReadyCondition.encode(message.pipelineReadyCondition, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
+ if (message.targetsPresentCondition != null && Object.hasOwnProperty.call(message, "targetsPresentCondition"))
+ $root.google.cloud.deploy.v1.TargetsPresentCondition.encode(message.targetsPresentCondition, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim();
+ return writer;
+ };
+
+ /**
+ * Encodes the specified PipelineCondition message, length delimited. Does not implicitly {@link google.cloud.deploy.v1.PipelineCondition.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.cloud.deploy.v1.PipelineCondition
+ * @static
+ * @param {google.cloud.deploy.v1.IPipelineCondition} message PipelineCondition message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ PipelineCondition.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes a PipelineCondition message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.cloud.deploy.v1.PipelineCondition
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.cloud.deploy.v1.PipelineCondition} PipelineCondition
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ PipelineCondition.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.deploy.v1.PipelineCondition();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ switch (tag >>> 3) {
+ case 1: {
+ message.pipelineReadyCondition = $root.google.cloud.deploy.v1.PipelineReadyCondition.decode(reader, reader.uint32());
+ break;
+ }
+ case 3: {
+ message.targetsPresentCondition = $root.google.cloud.deploy.v1.TargetsPresentCondition.decode(reader, reader.uint32());
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes a PipelineCondition message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.cloud.deploy.v1.PipelineCondition
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.cloud.deploy.v1.PipelineCondition} PipelineCondition
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ PipelineCondition.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies a PipelineCondition message.
+ * @function verify
+ * @memberof google.cloud.deploy.v1.PipelineCondition
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ PipelineCondition.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ if (message.pipelineReadyCondition != null && message.hasOwnProperty("pipelineReadyCondition")) {
+ var error = $root.google.cloud.deploy.v1.PipelineReadyCondition.verify(message.pipelineReadyCondition);
+ if (error)
+ return "pipelineReadyCondition." + error;
+ }
+ if (message.targetsPresentCondition != null && message.hasOwnProperty("targetsPresentCondition")) {
+ var error = $root.google.cloud.deploy.v1.TargetsPresentCondition.verify(message.targetsPresentCondition);
+ if (error)
+ return "targetsPresentCondition." + error;
+ }
+ return null;
+ };
+
+ /**
+ * Creates a PipelineCondition message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.cloud.deploy.v1.PipelineCondition
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.cloud.deploy.v1.PipelineCondition} PipelineCondition
+ */
+ PipelineCondition.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.cloud.deploy.v1.PipelineCondition)
+ return object;
+ var message = new $root.google.cloud.deploy.v1.PipelineCondition();
+ if (object.pipelineReadyCondition != null) {
+ if (typeof object.pipelineReadyCondition !== "object")
+ throw TypeError(".google.cloud.deploy.v1.PipelineCondition.pipelineReadyCondition: object expected");
+ message.pipelineReadyCondition = $root.google.cloud.deploy.v1.PipelineReadyCondition.fromObject(object.pipelineReadyCondition);
+ }
+ if (object.targetsPresentCondition != null) {
+ if (typeof object.targetsPresentCondition !== "object")
+ throw TypeError(".google.cloud.deploy.v1.PipelineCondition.targetsPresentCondition: object expected");
+ message.targetsPresentCondition = $root.google.cloud.deploy.v1.TargetsPresentCondition.fromObject(object.targetsPresentCondition);
+ }
+ return message;
+ };
+
+ /**
+ * Creates a plain object from a PipelineCondition message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.cloud.deploy.v1.PipelineCondition
+ * @static
+ * @param {google.cloud.deploy.v1.PipelineCondition} message PipelineCondition
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ PipelineCondition.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.defaults) {
+ object.pipelineReadyCondition = null;
+ object.targetsPresentCondition = null;
+ }
+ if (message.pipelineReadyCondition != null && message.hasOwnProperty("pipelineReadyCondition"))
+ object.pipelineReadyCondition = $root.google.cloud.deploy.v1.PipelineReadyCondition.toObject(message.pipelineReadyCondition, options);
+ if (message.targetsPresentCondition != null && message.hasOwnProperty("targetsPresentCondition"))
+ object.targetsPresentCondition = $root.google.cloud.deploy.v1.TargetsPresentCondition.toObject(message.targetsPresentCondition, options);
+ return object;
+ };
+
+ /**
+ * Converts this PipelineCondition to JSON.
+ * @function toJSON
+ * @memberof google.cloud.deploy.v1.PipelineCondition
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ PipelineCondition.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for PipelineCondition
+ * @function getTypeUrl
+ * @memberof google.cloud.deploy.v1.PipelineCondition
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ PipelineCondition.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.cloud.deploy.v1.PipelineCondition";
+ };
+
+ return PipelineCondition;
+ })();
+
+ v1.ListDeliveryPipelinesRequest = (function() {
+
+ /**
+ * Properties of a ListDeliveryPipelinesRequest.
+ * @memberof google.cloud.deploy.v1
+ * @interface IListDeliveryPipelinesRequest
+ * @property {string|null} [parent] ListDeliveryPipelinesRequest parent
+ * @property {number|null} [pageSize] ListDeliveryPipelinesRequest pageSize
+ * @property {string|null} [pageToken] ListDeliveryPipelinesRequest pageToken
+ * @property {string|null} [filter] ListDeliveryPipelinesRequest filter
+ * @property {string|null} [orderBy] ListDeliveryPipelinesRequest orderBy
+ */
+
+ /**
+ * Constructs a new ListDeliveryPipelinesRequest.
+ * @memberof google.cloud.deploy.v1
+ * @classdesc Represents a ListDeliveryPipelinesRequest.
+ * @implements IListDeliveryPipelinesRequest
+ * @constructor
+ * @param {google.cloud.deploy.v1.IListDeliveryPipelinesRequest=} [properties] Properties to set
+ */
+ function ListDeliveryPipelinesRequest(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]];
+ }
+
+ /**
+ * ListDeliveryPipelinesRequest parent.
+ * @member {string} parent
+ * @memberof google.cloud.deploy.v1.ListDeliveryPipelinesRequest
+ * @instance
+ */
+ ListDeliveryPipelinesRequest.prototype.parent = "";
+
+ /**
+ * ListDeliveryPipelinesRequest pageSize.
+ * @member {number} pageSize
+ * @memberof google.cloud.deploy.v1.ListDeliveryPipelinesRequest
+ * @instance
+ */
+ ListDeliveryPipelinesRequest.prototype.pageSize = 0;
+
+ /**
+ * ListDeliveryPipelinesRequest pageToken.
+ * @member {string} pageToken
+ * @memberof google.cloud.deploy.v1.ListDeliveryPipelinesRequest
+ * @instance
+ */
+ ListDeliveryPipelinesRequest.prototype.pageToken = "";
+
+ /**
+ * ListDeliveryPipelinesRequest filter.
+ * @member {string} filter
+ * @memberof google.cloud.deploy.v1.ListDeliveryPipelinesRequest
+ * @instance
+ */
+ ListDeliveryPipelinesRequest.prototype.filter = "";
+
+ /**
+ * ListDeliveryPipelinesRequest orderBy.
+ * @member {string} orderBy
+ * @memberof google.cloud.deploy.v1.ListDeliveryPipelinesRequest
+ * @instance
+ */
+ ListDeliveryPipelinesRequest.prototype.orderBy = "";
+
+ /**
+ * Creates a new ListDeliveryPipelinesRequest instance using the specified properties.
+ * @function create
+ * @memberof google.cloud.deploy.v1.ListDeliveryPipelinesRequest
+ * @static
+ * @param {google.cloud.deploy.v1.IListDeliveryPipelinesRequest=} [properties] Properties to set
+ * @returns {google.cloud.deploy.v1.ListDeliveryPipelinesRequest} ListDeliveryPipelinesRequest instance
+ */
+ ListDeliveryPipelinesRequest.create = function create(properties) {
+ return new ListDeliveryPipelinesRequest(properties);
+ };
+
+ /**
+ * Encodes the specified ListDeliveryPipelinesRequest message. Does not implicitly {@link google.cloud.deploy.v1.ListDeliveryPipelinesRequest.verify|verify} messages.
+ * @function encode
+ * @memberof google.cloud.deploy.v1.ListDeliveryPipelinesRequest
+ * @static
+ * @param {google.cloud.deploy.v1.IListDeliveryPipelinesRequest} message ListDeliveryPipelinesRequest message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ ListDeliveryPipelinesRequest.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 ListDeliveryPipelinesRequest message, length delimited. Does not implicitly {@link google.cloud.deploy.v1.ListDeliveryPipelinesRequest.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.cloud.deploy.v1.ListDeliveryPipelinesRequest
+ * @static
+ * @param {google.cloud.deploy.v1.IListDeliveryPipelinesRequest} message ListDeliveryPipelinesRequest message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ ListDeliveryPipelinesRequest.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes a ListDeliveryPipelinesRequest message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.cloud.deploy.v1.ListDeliveryPipelinesRequest
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.cloud.deploy.v1.ListDeliveryPipelinesRequest} ListDeliveryPipelinesRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ ListDeliveryPipelinesRequest.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.deploy.v1.ListDeliveryPipelinesRequest();
+ 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 ListDeliveryPipelinesRequest message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.cloud.deploy.v1.ListDeliveryPipelinesRequest
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.cloud.deploy.v1.ListDeliveryPipelinesRequest} ListDeliveryPipelinesRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ ListDeliveryPipelinesRequest.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies a ListDeliveryPipelinesRequest message.
+ * @function verify
+ * @memberof google.cloud.deploy.v1.ListDeliveryPipelinesRequest
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ ListDeliveryPipelinesRequest.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 ListDeliveryPipelinesRequest message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.cloud.deploy.v1.ListDeliveryPipelinesRequest
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.cloud.deploy.v1.ListDeliveryPipelinesRequest} ListDeliveryPipelinesRequest
+ */
+ ListDeliveryPipelinesRequest.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.cloud.deploy.v1.ListDeliveryPipelinesRequest)
+ return object;
+ var message = new $root.google.cloud.deploy.v1.ListDeliveryPipelinesRequest();
+ 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 ListDeliveryPipelinesRequest message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.cloud.deploy.v1.ListDeliveryPipelinesRequest
+ * @static
+ * @param {google.cloud.deploy.v1.ListDeliveryPipelinesRequest} message ListDeliveryPipelinesRequest
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ ListDeliveryPipelinesRequest.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 ListDeliveryPipelinesRequest to JSON.
+ * @function toJSON
+ * @memberof google.cloud.deploy.v1.ListDeliveryPipelinesRequest
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ ListDeliveryPipelinesRequest.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for ListDeliveryPipelinesRequest
+ * @function getTypeUrl
+ * @memberof google.cloud.deploy.v1.ListDeliveryPipelinesRequest
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ ListDeliveryPipelinesRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.cloud.deploy.v1.ListDeliveryPipelinesRequest";
+ };
+
+ return ListDeliveryPipelinesRequest;
+ })();
+
+ v1.ListDeliveryPipelinesResponse = (function() {
+
+ /**
+ * Properties of a ListDeliveryPipelinesResponse.
+ * @memberof google.cloud.deploy.v1
+ * @interface IListDeliveryPipelinesResponse
+ * @property {Array.|null} [deliveryPipelines] ListDeliveryPipelinesResponse deliveryPipelines
+ * @property {string|null} [nextPageToken] ListDeliveryPipelinesResponse nextPageToken
+ * @property {Array.|null} [unreachable] ListDeliveryPipelinesResponse unreachable
+ */
+
+ /**
+ * Constructs a new ListDeliveryPipelinesResponse.
+ * @memberof google.cloud.deploy.v1
+ * @classdesc Represents a ListDeliveryPipelinesResponse.
+ * @implements IListDeliveryPipelinesResponse
+ * @constructor
+ * @param {google.cloud.deploy.v1.IListDeliveryPipelinesResponse=} [properties] Properties to set
+ */
+ function ListDeliveryPipelinesResponse(properties) {
+ this.deliveryPipelines = [];
+ 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]];
+ }
+
+ /**
+ * ListDeliveryPipelinesResponse deliveryPipelines.
+ * @member {Array.} deliveryPipelines
+ * @memberof google.cloud.deploy.v1.ListDeliveryPipelinesResponse
+ * @instance
+ */
+ ListDeliveryPipelinesResponse.prototype.deliveryPipelines = $util.emptyArray;
+
+ /**
+ * ListDeliveryPipelinesResponse nextPageToken.
+ * @member {string} nextPageToken
+ * @memberof google.cloud.deploy.v1.ListDeliveryPipelinesResponse
+ * @instance
+ */
+ ListDeliveryPipelinesResponse.prototype.nextPageToken = "";
+
+ /**
+ * ListDeliveryPipelinesResponse unreachable.
+ * @member {Array.} unreachable
+ * @memberof google.cloud.deploy.v1.ListDeliveryPipelinesResponse
+ * @instance
+ */
+ ListDeliveryPipelinesResponse.prototype.unreachable = $util.emptyArray;
+
+ /**
+ * Creates a new ListDeliveryPipelinesResponse instance using the specified properties.
+ * @function create
+ * @memberof google.cloud.deploy.v1.ListDeliveryPipelinesResponse
+ * @static
+ * @param {google.cloud.deploy.v1.IListDeliveryPipelinesResponse=} [properties] Properties to set
+ * @returns {google.cloud.deploy.v1.ListDeliveryPipelinesResponse} ListDeliveryPipelinesResponse instance
+ */
+ ListDeliveryPipelinesResponse.create = function create(properties) {
+ return new ListDeliveryPipelinesResponse(properties);
+ };
+
+ /**
+ * Encodes the specified ListDeliveryPipelinesResponse message. Does not implicitly {@link google.cloud.deploy.v1.ListDeliveryPipelinesResponse.verify|verify} messages.
+ * @function encode
+ * @memberof google.cloud.deploy.v1.ListDeliveryPipelinesResponse
+ * @static
+ * @param {google.cloud.deploy.v1.IListDeliveryPipelinesResponse} message ListDeliveryPipelinesResponse message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ ListDeliveryPipelinesResponse.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.deliveryPipelines != null && message.deliveryPipelines.length)
+ for (var i = 0; i < message.deliveryPipelines.length; ++i)
+ $root.google.cloud.deploy.v1.DeliveryPipeline.encode(message.deliveryPipelines[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 3, wireType 2 =*/26).string(message.unreachable[i]);
+ return writer;
+ };
+
+ /**
+ * Encodes the specified ListDeliveryPipelinesResponse message, length delimited. Does not implicitly {@link google.cloud.deploy.v1.ListDeliveryPipelinesResponse.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.cloud.deploy.v1.ListDeliveryPipelinesResponse
+ * @static
+ * @param {google.cloud.deploy.v1.IListDeliveryPipelinesResponse} message ListDeliveryPipelinesResponse message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ ListDeliveryPipelinesResponse.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes a ListDeliveryPipelinesResponse message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.cloud.deploy.v1.ListDeliveryPipelinesResponse
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.cloud.deploy.v1.ListDeliveryPipelinesResponse} ListDeliveryPipelinesResponse
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ ListDeliveryPipelinesResponse.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.deploy.v1.ListDeliveryPipelinesResponse();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ switch (tag >>> 3) {
+ case 1: {
+ if (!(message.deliveryPipelines && message.deliveryPipelines.length))
+ message.deliveryPipelines = [];
+ message.deliveryPipelines.push($root.google.cloud.deploy.v1.DeliveryPipeline.decode(reader, reader.uint32()));
+ break;
+ }
+ case 2: {
+ message.nextPageToken = reader.string();
+ break;
+ }
+ case 3: {
+ if (!(message.unreachable && message.unreachable.length))
+ message.unreachable = [];
+ message.unreachable.push(reader.string());
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes a ListDeliveryPipelinesResponse message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.cloud.deploy.v1.ListDeliveryPipelinesResponse
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.cloud.deploy.v1.ListDeliveryPipelinesResponse} ListDeliveryPipelinesResponse
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ ListDeliveryPipelinesResponse.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies a ListDeliveryPipelinesResponse message.
+ * @function verify
+ * @memberof google.cloud.deploy.v1.ListDeliveryPipelinesResponse
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ ListDeliveryPipelinesResponse.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ if (message.deliveryPipelines != null && message.hasOwnProperty("deliveryPipelines")) {
+ if (!Array.isArray(message.deliveryPipelines))
+ return "deliveryPipelines: array expected";
+ for (var i = 0; i < message.deliveryPipelines.length; ++i) {
+ var error = $root.google.cloud.deploy.v1.DeliveryPipeline.verify(message.deliveryPipelines[i]);
+ if (error)
+ return "deliveryPipelines." + 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 ListDeliveryPipelinesResponse message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.cloud.deploy.v1.ListDeliveryPipelinesResponse
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.cloud.deploy.v1.ListDeliveryPipelinesResponse} ListDeliveryPipelinesResponse
+ */
+ ListDeliveryPipelinesResponse.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.cloud.deploy.v1.ListDeliveryPipelinesResponse)
+ return object;
+ var message = new $root.google.cloud.deploy.v1.ListDeliveryPipelinesResponse();
+ if (object.deliveryPipelines) {
+ if (!Array.isArray(object.deliveryPipelines))
+ throw TypeError(".google.cloud.deploy.v1.ListDeliveryPipelinesResponse.deliveryPipelines: array expected");
+ message.deliveryPipelines = [];
+ for (var i = 0; i < object.deliveryPipelines.length; ++i) {
+ if (typeof object.deliveryPipelines[i] !== "object")
+ throw TypeError(".google.cloud.deploy.v1.ListDeliveryPipelinesResponse.deliveryPipelines: object expected");
+ message.deliveryPipelines[i] = $root.google.cloud.deploy.v1.DeliveryPipeline.fromObject(object.deliveryPipelines[i]);
+ }
+ }
+ if (object.nextPageToken != null)
+ message.nextPageToken = String(object.nextPageToken);
+ if (object.unreachable) {
+ if (!Array.isArray(object.unreachable))
+ throw TypeError(".google.cloud.deploy.v1.ListDeliveryPipelinesResponse.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 ListDeliveryPipelinesResponse message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.cloud.deploy.v1.ListDeliveryPipelinesResponse
+ * @static
+ * @param {google.cloud.deploy.v1.ListDeliveryPipelinesResponse} message ListDeliveryPipelinesResponse
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ ListDeliveryPipelinesResponse.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.arrays || options.defaults) {
+ object.deliveryPipelines = [];
+ object.unreachable = [];
+ }
+ if (options.defaults)
+ object.nextPageToken = "";
+ if (message.deliveryPipelines && message.deliveryPipelines.length) {
+ object.deliveryPipelines = [];
+ for (var j = 0; j < message.deliveryPipelines.length; ++j)
+ object.deliveryPipelines[j] = $root.google.cloud.deploy.v1.DeliveryPipeline.toObject(message.deliveryPipelines[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 ListDeliveryPipelinesResponse to JSON.
+ * @function toJSON
+ * @memberof google.cloud.deploy.v1.ListDeliveryPipelinesResponse
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ ListDeliveryPipelinesResponse.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for ListDeliveryPipelinesResponse
+ * @function getTypeUrl
+ * @memberof google.cloud.deploy.v1.ListDeliveryPipelinesResponse
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ ListDeliveryPipelinesResponse.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.cloud.deploy.v1.ListDeliveryPipelinesResponse";
+ };
+
+ return ListDeliveryPipelinesResponse;
+ })();
+
+ v1.GetDeliveryPipelineRequest = (function() {
+
+ /**
+ * Properties of a GetDeliveryPipelineRequest.
+ * @memberof google.cloud.deploy.v1
+ * @interface IGetDeliveryPipelineRequest
+ * @property {string|null} [name] GetDeliveryPipelineRequest name
+ */
+
+ /**
+ * Constructs a new GetDeliveryPipelineRequest.
+ * @memberof google.cloud.deploy.v1
+ * @classdesc Represents a GetDeliveryPipelineRequest.
+ * @implements IGetDeliveryPipelineRequest
+ * @constructor
+ * @param {google.cloud.deploy.v1.IGetDeliveryPipelineRequest=} [properties] Properties to set
+ */
+ function GetDeliveryPipelineRequest(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]];
+ }
+
+ /**
+ * GetDeliveryPipelineRequest name.
+ * @member {string} name
+ * @memberof google.cloud.deploy.v1.GetDeliveryPipelineRequest
+ * @instance
+ */
+ GetDeliveryPipelineRequest.prototype.name = "";
+
+ /**
+ * Creates a new GetDeliveryPipelineRequest instance using the specified properties.
+ * @function create
+ * @memberof google.cloud.deploy.v1.GetDeliveryPipelineRequest
+ * @static
+ * @param {google.cloud.deploy.v1.IGetDeliveryPipelineRequest=} [properties] Properties to set
+ * @returns {google.cloud.deploy.v1.GetDeliveryPipelineRequest} GetDeliveryPipelineRequest instance
+ */
+ GetDeliveryPipelineRequest.create = function create(properties) {
+ return new GetDeliveryPipelineRequest(properties);
+ };
+
+ /**
+ * Encodes the specified GetDeliveryPipelineRequest message. Does not implicitly {@link google.cloud.deploy.v1.GetDeliveryPipelineRequest.verify|verify} messages.
+ * @function encode
+ * @memberof google.cloud.deploy.v1.GetDeliveryPipelineRequest
+ * @static
+ * @param {google.cloud.deploy.v1.IGetDeliveryPipelineRequest} message GetDeliveryPipelineRequest message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ GetDeliveryPipelineRequest.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 GetDeliveryPipelineRequest message, length delimited. Does not implicitly {@link google.cloud.deploy.v1.GetDeliveryPipelineRequest.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.cloud.deploy.v1.GetDeliveryPipelineRequest
+ * @static
+ * @param {google.cloud.deploy.v1.IGetDeliveryPipelineRequest} message GetDeliveryPipelineRequest message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ GetDeliveryPipelineRequest.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes a GetDeliveryPipelineRequest message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.cloud.deploy.v1.GetDeliveryPipelineRequest
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.cloud.deploy.v1.GetDeliveryPipelineRequest} GetDeliveryPipelineRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ GetDeliveryPipelineRequest.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.deploy.v1.GetDeliveryPipelineRequest();
+ 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 GetDeliveryPipelineRequest message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.cloud.deploy.v1.GetDeliveryPipelineRequest
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.cloud.deploy.v1.GetDeliveryPipelineRequest} GetDeliveryPipelineRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ GetDeliveryPipelineRequest.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies a GetDeliveryPipelineRequest message.
+ * @function verify
+ * @memberof google.cloud.deploy.v1.GetDeliveryPipelineRequest
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ GetDeliveryPipelineRequest.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 GetDeliveryPipelineRequest message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.cloud.deploy.v1.GetDeliveryPipelineRequest
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.cloud.deploy.v1.GetDeliveryPipelineRequest} GetDeliveryPipelineRequest
+ */
+ GetDeliveryPipelineRequest.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.cloud.deploy.v1.GetDeliveryPipelineRequest)
+ return object;
+ var message = new $root.google.cloud.deploy.v1.GetDeliveryPipelineRequest();
+ if (object.name != null)
+ message.name = String(object.name);
+ return message;
+ };
+
+ /**
+ * Creates a plain object from a GetDeliveryPipelineRequest message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.cloud.deploy.v1.GetDeliveryPipelineRequest
+ * @static
+ * @param {google.cloud.deploy.v1.GetDeliveryPipelineRequest} message GetDeliveryPipelineRequest
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ GetDeliveryPipelineRequest.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 GetDeliveryPipelineRequest to JSON.
+ * @function toJSON
+ * @memberof google.cloud.deploy.v1.GetDeliveryPipelineRequest
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ GetDeliveryPipelineRequest.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for GetDeliveryPipelineRequest
+ * @function getTypeUrl
+ * @memberof google.cloud.deploy.v1.GetDeliveryPipelineRequest
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ GetDeliveryPipelineRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.cloud.deploy.v1.GetDeliveryPipelineRequest";
+ };
+
+ return GetDeliveryPipelineRequest;
+ })();
+
+ v1.CreateDeliveryPipelineRequest = (function() {
+
+ /**
+ * Properties of a CreateDeliveryPipelineRequest.
+ * @memberof google.cloud.deploy.v1
+ * @interface ICreateDeliveryPipelineRequest
+ * @property {string|null} [parent] CreateDeliveryPipelineRequest parent
+ * @property {string|null} [deliveryPipelineId] CreateDeliveryPipelineRequest deliveryPipelineId
+ * @property {google.cloud.deploy.v1.IDeliveryPipeline|null} [deliveryPipeline] CreateDeliveryPipelineRequest deliveryPipeline
+ * @property {string|null} [requestId] CreateDeliveryPipelineRequest requestId
+ * @property {boolean|null} [validateOnly] CreateDeliveryPipelineRequest validateOnly
+ */
+
+ /**
+ * Constructs a new CreateDeliveryPipelineRequest.
+ * @memberof google.cloud.deploy.v1
+ * @classdesc Represents a CreateDeliveryPipelineRequest.
+ * @implements ICreateDeliveryPipelineRequest
+ * @constructor
+ * @param {google.cloud.deploy.v1.ICreateDeliveryPipelineRequest=} [properties] Properties to set
+ */
+ function CreateDeliveryPipelineRequest(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]];
+ }
+
+ /**
+ * CreateDeliveryPipelineRequest parent.
+ * @member {string} parent
+ * @memberof google.cloud.deploy.v1.CreateDeliveryPipelineRequest
+ * @instance
+ */
+ CreateDeliveryPipelineRequest.prototype.parent = "";
+
+ /**
+ * CreateDeliveryPipelineRequest deliveryPipelineId.
+ * @member {string} deliveryPipelineId
+ * @memberof google.cloud.deploy.v1.CreateDeliveryPipelineRequest
+ * @instance
+ */
+ CreateDeliveryPipelineRequest.prototype.deliveryPipelineId = "";
+
+ /**
+ * CreateDeliveryPipelineRequest deliveryPipeline.
+ * @member {google.cloud.deploy.v1.IDeliveryPipeline|null|undefined} deliveryPipeline
+ * @memberof google.cloud.deploy.v1.CreateDeliveryPipelineRequest
+ * @instance
+ */
+ CreateDeliveryPipelineRequest.prototype.deliveryPipeline = null;
+
+ /**
+ * CreateDeliveryPipelineRequest requestId.
+ * @member {string} requestId
+ * @memberof google.cloud.deploy.v1.CreateDeliveryPipelineRequest
+ * @instance
+ */
+ CreateDeliveryPipelineRequest.prototype.requestId = "";
+
+ /**
+ * CreateDeliveryPipelineRequest validateOnly.
+ * @member {boolean} validateOnly
+ * @memberof google.cloud.deploy.v1.CreateDeliveryPipelineRequest
+ * @instance
+ */
+ CreateDeliveryPipelineRequest.prototype.validateOnly = false;
+
+ /**
+ * Creates a new CreateDeliveryPipelineRequest instance using the specified properties.
+ * @function create
+ * @memberof google.cloud.deploy.v1.CreateDeliveryPipelineRequest
+ * @static
+ * @param {google.cloud.deploy.v1.ICreateDeliveryPipelineRequest=} [properties] Properties to set
+ * @returns {google.cloud.deploy.v1.CreateDeliveryPipelineRequest} CreateDeliveryPipelineRequest instance
+ */
+ CreateDeliveryPipelineRequest.create = function create(properties) {
+ return new CreateDeliveryPipelineRequest(properties);
+ };
+
+ /**
+ * Encodes the specified CreateDeliveryPipelineRequest message. Does not implicitly {@link google.cloud.deploy.v1.CreateDeliveryPipelineRequest.verify|verify} messages.
+ * @function encode
+ * @memberof google.cloud.deploy.v1.CreateDeliveryPipelineRequest
+ * @static
+ * @param {google.cloud.deploy.v1.ICreateDeliveryPipelineRequest} message CreateDeliveryPipelineRequest message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ CreateDeliveryPipelineRequest.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.deliveryPipelineId != null && Object.hasOwnProperty.call(message, "deliveryPipelineId"))
+ writer.uint32(/* id 2, wireType 2 =*/18).string(message.deliveryPipelineId);
+ if (message.deliveryPipeline != null && Object.hasOwnProperty.call(message, "deliveryPipeline"))
+ $root.google.cloud.deploy.v1.DeliveryPipeline.encode(message.deliveryPipeline, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim();
+ if (message.requestId != null && Object.hasOwnProperty.call(message, "requestId"))
+ writer.uint32(/* id 4, wireType 2 =*/34).string(message.requestId);
+ if (message.validateOnly != null && Object.hasOwnProperty.call(message, "validateOnly"))
+ writer.uint32(/* id 5, wireType 0 =*/40).bool(message.validateOnly);
+ return writer;
+ };
+
+ /**
+ * Encodes the specified CreateDeliveryPipelineRequest message, length delimited. Does not implicitly {@link google.cloud.deploy.v1.CreateDeliveryPipelineRequest.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.cloud.deploy.v1.CreateDeliveryPipelineRequest
+ * @static
+ * @param {google.cloud.deploy.v1.ICreateDeliveryPipelineRequest} message CreateDeliveryPipelineRequest message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ CreateDeliveryPipelineRequest.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes a CreateDeliveryPipelineRequest message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.cloud.deploy.v1.CreateDeliveryPipelineRequest
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.cloud.deploy.v1.CreateDeliveryPipelineRequest} CreateDeliveryPipelineRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ CreateDeliveryPipelineRequest.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.deploy.v1.CreateDeliveryPipelineRequest();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ switch (tag >>> 3) {
+ case 1: {
+ message.parent = reader.string();
+ break;
+ }
+ case 2: {
+ message.deliveryPipelineId = reader.string();
+ break;
+ }
+ case 3: {
+ message.deliveryPipeline = $root.google.cloud.deploy.v1.DeliveryPipeline.decode(reader, reader.uint32());
+ break;
+ }
+ case 4: {
+ message.requestId = reader.string();
+ break;
+ }
+ case 5: {
+ message.validateOnly = reader.bool();
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes a CreateDeliveryPipelineRequest message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.cloud.deploy.v1.CreateDeliveryPipelineRequest
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.cloud.deploy.v1.CreateDeliveryPipelineRequest} CreateDeliveryPipelineRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ CreateDeliveryPipelineRequest.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies a CreateDeliveryPipelineRequest message.
+ * @function verify
+ * @memberof google.cloud.deploy.v1.CreateDeliveryPipelineRequest
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ CreateDeliveryPipelineRequest.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.deliveryPipelineId != null && message.hasOwnProperty("deliveryPipelineId"))
+ if (!$util.isString(message.deliveryPipelineId))
+ return "deliveryPipelineId: string expected";
+ if (message.deliveryPipeline != null && message.hasOwnProperty("deliveryPipeline")) {
+ var error = $root.google.cloud.deploy.v1.DeliveryPipeline.verify(message.deliveryPipeline);
+ if (error)
+ return "deliveryPipeline." + error;
+ }
+ if (message.requestId != null && message.hasOwnProperty("requestId"))
+ if (!$util.isString(message.requestId))
+ return "requestId: string expected";
+ if (message.validateOnly != null && message.hasOwnProperty("validateOnly"))
+ if (typeof message.validateOnly !== "boolean")
+ return "validateOnly: boolean expected";
+ return null;
+ };
+
+ /**
+ * Creates a CreateDeliveryPipelineRequest message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.cloud.deploy.v1.CreateDeliveryPipelineRequest
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.cloud.deploy.v1.CreateDeliveryPipelineRequest} CreateDeliveryPipelineRequest
+ */
+ CreateDeliveryPipelineRequest.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.cloud.deploy.v1.CreateDeliveryPipelineRequest)
+ return object;
+ var message = new $root.google.cloud.deploy.v1.CreateDeliveryPipelineRequest();
+ if (object.parent != null)
+ message.parent = String(object.parent);
+ if (object.deliveryPipelineId != null)
+ message.deliveryPipelineId = String(object.deliveryPipelineId);
+ if (object.deliveryPipeline != null) {
+ if (typeof object.deliveryPipeline !== "object")
+ throw TypeError(".google.cloud.deploy.v1.CreateDeliveryPipelineRequest.deliveryPipeline: object expected");
+ message.deliveryPipeline = $root.google.cloud.deploy.v1.DeliveryPipeline.fromObject(object.deliveryPipeline);
+ }
+ if (object.requestId != null)
+ message.requestId = String(object.requestId);
+ if (object.validateOnly != null)
+ message.validateOnly = Boolean(object.validateOnly);
+ return message;
+ };
+
+ /**
+ * Creates a plain object from a CreateDeliveryPipelineRequest message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.cloud.deploy.v1.CreateDeliveryPipelineRequest
+ * @static
+ * @param {google.cloud.deploy.v1.CreateDeliveryPipelineRequest} message CreateDeliveryPipelineRequest
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ CreateDeliveryPipelineRequest.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.defaults) {
+ object.parent = "";
+ object.deliveryPipelineId = "";
+ object.deliveryPipeline = null;
+ object.requestId = "";
+ object.validateOnly = false;
+ }
+ if (message.parent != null && message.hasOwnProperty("parent"))
+ object.parent = message.parent;
+ if (message.deliveryPipelineId != null && message.hasOwnProperty("deliveryPipelineId"))
+ object.deliveryPipelineId = message.deliveryPipelineId;
+ if (message.deliveryPipeline != null && message.hasOwnProperty("deliveryPipeline"))
+ object.deliveryPipeline = $root.google.cloud.deploy.v1.DeliveryPipeline.toObject(message.deliveryPipeline, options);
+ if (message.requestId != null && message.hasOwnProperty("requestId"))
+ object.requestId = message.requestId;
+ if (message.validateOnly != null && message.hasOwnProperty("validateOnly"))
+ object.validateOnly = message.validateOnly;
+ return object;
+ };
+
+ /**
+ * Converts this CreateDeliveryPipelineRequest to JSON.
+ * @function toJSON
+ * @memberof google.cloud.deploy.v1.CreateDeliveryPipelineRequest
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ CreateDeliveryPipelineRequest.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for CreateDeliveryPipelineRequest
+ * @function getTypeUrl
+ * @memberof google.cloud.deploy.v1.CreateDeliveryPipelineRequest
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ CreateDeliveryPipelineRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.cloud.deploy.v1.CreateDeliveryPipelineRequest";
+ };
+
+ return CreateDeliveryPipelineRequest;
+ })();
+
+ v1.UpdateDeliveryPipelineRequest = (function() {
+
+ /**
+ * Properties of an UpdateDeliveryPipelineRequest.
+ * @memberof google.cloud.deploy.v1
+ * @interface IUpdateDeliveryPipelineRequest
+ * @property {google.protobuf.IFieldMask|null} [updateMask] UpdateDeliveryPipelineRequest updateMask
+ * @property {google.cloud.deploy.v1.IDeliveryPipeline|null} [deliveryPipeline] UpdateDeliveryPipelineRequest deliveryPipeline
+ * @property {string|null} [requestId] UpdateDeliveryPipelineRequest requestId
+ * @property {boolean|null} [allowMissing] UpdateDeliveryPipelineRequest allowMissing
+ * @property {boolean|null} [validateOnly] UpdateDeliveryPipelineRequest validateOnly
+ */
+
+ /**
+ * Constructs a new UpdateDeliveryPipelineRequest.
+ * @memberof google.cloud.deploy.v1
+ * @classdesc Represents an UpdateDeliveryPipelineRequest.
+ * @implements IUpdateDeliveryPipelineRequest
+ * @constructor
+ * @param {google.cloud.deploy.v1.IUpdateDeliveryPipelineRequest=} [properties] Properties to set
+ */
+ function UpdateDeliveryPipelineRequest(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]];
+ }
+
+ /**
+ * UpdateDeliveryPipelineRequest updateMask.
+ * @member {google.protobuf.IFieldMask|null|undefined} updateMask
+ * @memberof google.cloud.deploy.v1.UpdateDeliveryPipelineRequest
+ * @instance
+ */
+ UpdateDeliveryPipelineRequest.prototype.updateMask = null;
+
+ /**
+ * UpdateDeliveryPipelineRequest deliveryPipeline.
+ * @member {google.cloud.deploy.v1.IDeliveryPipeline|null|undefined} deliveryPipeline
+ * @memberof google.cloud.deploy.v1.UpdateDeliveryPipelineRequest
+ * @instance
+ */
+ UpdateDeliveryPipelineRequest.prototype.deliveryPipeline = null;
+
+ /**
+ * UpdateDeliveryPipelineRequest requestId.
+ * @member {string} requestId
+ * @memberof google.cloud.deploy.v1.UpdateDeliveryPipelineRequest
+ * @instance
+ */
+ UpdateDeliveryPipelineRequest.prototype.requestId = "";
+
+ /**
+ * UpdateDeliveryPipelineRequest allowMissing.
+ * @member {boolean} allowMissing
+ * @memberof google.cloud.deploy.v1.UpdateDeliveryPipelineRequest
+ * @instance
+ */
+ UpdateDeliveryPipelineRequest.prototype.allowMissing = false;
+
+ /**
+ * UpdateDeliveryPipelineRequest validateOnly.
+ * @member {boolean} validateOnly
+ * @memberof google.cloud.deploy.v1.UpdateDeliveryPipelineRequest
+ * @instance
+ */
+ UpdateDeliveryPipelineRequest.prototype.validateOnly = false;
+
+ /**
+ * Creates a new UpdateDeliveryPipelineRequest instance using the specified properties.
+ * @function create
+ * @memberof google.cloud.deploy.v1.UpdateDeliveryPipelineRequest
+ * @static
+ * @param {google.cloud.deploy.v1.IUpdateDeliveryPipelineRequest=} [properties] Properties to set
+ * @returns {google.cloud.deploy.v1.UpdateDeliveryPipelineRequest} UpdateDeliveryPipelineRequest instance
+ */
+ UpdateDeliveryPipelineRequest.create = function create(properties) {
+ return new UpdateDeliveryPipelineRequest(properties);
+ };
+
+ /**
+ * Encodes the specified UpdateDeliveryPipelineRequest message. Does not implicitly {@link google.cloud.deploy.v1.UpdateDeliveryPipelineRequest.verify|verify} messages.
+ * @function encode
+ * @memberof google.cloud.deploy.v1.UpdateDeliveryPipelineRequest
+ * @static
+ * @param {google.cloud.deploy.v1.IUpdateDeliveryPipelineRequest} message UpdateDeliveryPipelineRequest message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ UpdateDeliveryPipelineRequest.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.updateMask != null && Object.hasOwnProperty.call(message, "updateMask"))
+ $root.google.protobuf.FieldMask.encode(message.updateMask, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
+ if (message.deliveryPipeline != null && Object.hasOwnProperty.call(message, "deliveryPipeline"))
+ $root.google.cloud.deploy.v1.DeliveryPipeline.encode(message.deliveryPipeline, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
+ if (message.requestId != null && Object.hasOwnProperty.call(message, "requestId"))
+ writer.uint32(/* id 3, wireType 2 =*/26).string(message.requestId);
+ if (message.allowMissing != null && Object.hasOwnProperty.call(message, "allowMissing"))
+ writer.uint32(/* id 4, wireType 0 =*/32).bool(message.allowMissing);
+ if (message.validateOnly != null && Object.hasOwnProperty.call(message, "validateOnly"))
+ writer.uint32(/* id 5, wireType 0 =*/40).bool(message.validateOnly);
+ return writer;
+ };
+
+ /**
+ * Encodes the specified UpdateDeliveryPipelineRequest message, length delimited. Does not implicitly {@link google.cloud.deploy.v1.UpdateDeliveryPipelineRequest.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.cloud.deploy.v1.UpdateDeliveryPipelineRequest
+ * @static
+ * @param {google.cloud.deploy.v1.IUpdateDeliveryPipelineRequest} message UpdateDeliveryPipelineRequest message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ UpdateDeliveryPipelineRequest.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes an UpdateDeliveryPipelineRequest message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.cloud.deploy.v1.UpdateDeliveryPipelineRequest
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.cloud.deploy.v1.UpdateDeliveryPipelineRequest} UpdateDeliveryPipelineRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ UpdateDeliveryPipelineRequest.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.deploy.v1.UpdateDeliveryPipelineRequest();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ switch (tag >>> 3) {
+ case 1: {
+ message.updateMask = $root.google.protobuf.FieldMask.decode(reader, reader.uint32());
+ break;
+ }
+ case 2: {
+ message.deliveryPipeline = $root.google.cloud.deploy.v1.DeliveryPipeline.decode(reader, reader.uint32());
+ break;
+ }
+ case 3: {
+ message.requestId = reader.string();
+ break;
+ }
+ case 4: {
+ message.allowMissing = reader.bool();
+ break;
+ }
+ case 5: {
+ message.validateOnly = reader.bool();
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes an UpdateDeliveryPipelineRequest message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.cloud.deploy.v1.UpdateDeliveryPipelineRequest
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.cloud.deploy.v1.UpdateDeliveryPipelineRequest} UpdateDeliveryPipelineRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ UpdateDeliveryPipelineRequest.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies an UpdateDeliveryPipelineRequest message.
+ * @function verify
+ * @memberof google.cloud.deploy.v1.UpdateDeliveryPipelineRequest
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ UpdateDeliveryPipelineRequest.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ if (message.updateMask != null && message.hasOwnProperty("updateMask")) {
+ var error = $root.google.protobuf.FieldMask.verify(message.updateMask);
+ if (error)
+ return "updateMask." + error;
+ }
+ if (message.deliveryPipeline != null && message.hasOwnProperty("deliveryPipeline")) {
+ var error = $root.google.cloud.deploy.v1.DeliveryPipeline.verify(message.deliveryPipeline);
+ if (error)
+ return "deliveryPipeline." + error;
+ }
+ if (message.requestId != null && message.hasOwnProperty("requestId"))
+ if (!$util.isString(message.requestId))
+ return "requestId: string expected";
+ if (message.allowMissing != null && message.hasOwnProperty("allowMissing"))
+ if (typeof message.allowMissing !== "boolean")
+ return "allowMissing: boolean expected";
+ if (message.validateOnly != null && message.hasOwnProperty("validateOnly"))
+ if (typeof message.validateOnly !== "boolean")
+ return "validateOnly: boolean expected";
+ return null;
+ };
+
+ /**
+ * Creates an UpdateDeliveryPipelineRequest message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.cloud.deploy.v1.UpdateDeliveryPipelineRequest
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.cloud.deploy.v1.UpdateDeliveryPipelineRequest} UpdateDeliveryPipelineRequest
+ */
+ UpdateDeliveryPipelineRequest.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.cloud.deploy.v1.UpdateDeliveryPipelineRequest)
+ return object;
+ var message = new $root.google.cloud.deploy.v1.UpdateDeliveryPipelineRequest();
+ if (object.updateMask != null) {
+ if (typeof object.updateMask !== "object")
+ throw TypeError(".google.cloud.deploy.v1.UpdateDeliveryPipelineRequest.updateMask: object expected");
+ message.updateMask = $root.google.protobuf.FieldMask.fromObject(object.updateMask);
+ }
+ if (object.deliveryPipeline != null) {
+ if (typeof object.deliveryPipeline !== "object")
+ throw TypeError(".google.cloud.deploy.v1.UpdateDeliveryPipelineRequest.deliveryPipeline: object expected");
+ message.deliveryPipeline = $root.google.cloud.deploy.v1.DeliveryPipeline.fromObject(object.deliveryPipeline);
+ }
+ if (object.requestId != null)
+ message.requestId = String(object.requestId);
+ if (object.allowMissing != null)
+ message.allowMissing = Boolean(object.allowMissing);
+ if (object.validateOnly != null)
+ message.validateOnly = Boolean(object.validateOnly);
+ return message;
+ };
+
+ /**
+ * Creates a plain object from an UpdateDeliveryPipelineRequest message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.cloud.deploy.v1.UpdateDeliveryPipelineRequest
+ * @static
+ * @param {google.cloud.deploy.v1.UpdateDeliveryPipelineRequest} message UpdateDeliveryPipelineRequest
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ UpdateDeliveryPipelineRequest.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.defaults) {
+ object.updateMask = null;
+ object.deliveryPipeline = null;
+ object.requestId = "";
+ object.allowMissing = false;
+ object.validateOnly = false;
+ }
+ if (message.updateMask != null && message.hasOwnProperty("updateMask"))
+ object.updateMask = $root.google.protobuf.FieldMask.toObject(message.updateMask, options);
+ if (message.deliveryPipeline != null && message.hasOwnProperty("deliveryPipeline"))
+ object.deliveryPipeline = $root.google.cloud.deploy.v1.DeliveryPipeline.toObject(message.deliveryPipeline, options);
+ if (message.requestId != null && message.hasOwnProperty("requestId"))
+ object.requestId = message.requestId;
+ if (message.allowMissing != null && message.hasOwnProperty("allowMissing"))
+ object.allowMissing = message.allowMissing;
+ if (message.validateOnly != null && message.hasOwnProperty("validateOnly"))
+ object.validateOnly = message.validateOnly;
+ return object;
+ };
+
+ /**
+ * Converts this UpdateDeliveryPipelineRequest to JSON.
+ * @function toJSON
+ * @memberof google.cloud.deploy.v1.UpdateDeliveryPipelineRequest
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ UpdateDeliveryPipelineRequest.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for UpdateDeliveryPipelineRequest
+ * @function getTypeUrl
+ * @memberof google.cloud.deploy.v1.UpdateDeliveryPipelineRequest
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ UpdateDeliveryPipelineRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.cloud.deploy.v1.UpdateDeliveryPipelineRequest";
+ };
+
+ return UpdateDeliveryPipelineRequest;
+ })();
+
+ v1.DeleteDeliveryPipelineRequest = (function() {
+
+ /**
+ * Properties of a DeleteDeliveryPipelineRequest.
+ * @memberof google.cloud.deploy.v1
+ * @interface IDeleteDeliveryPipelineRequest
+ * @property {string|null} [name] DeleteDeliveryPipelineRequest name
+ * @property {string|null} [requestId] DeleteDeliveryPipelineRequest requestId
+ * @property {boolean|null} [allowMissing] DeleteDeliveryPipelineRequest allowMissing
+ * @property {boolean|null} [validateOnly] DeleteDeliveryPipelineRequest validateOnly
+ * @property {boolean|null} [force] DeleteDeliveryPipelineRequest force
+ * @property {string|null} [etag] DeleteDeliveryPipelineRequest etag
+ */
+
+ /**
+ * Constructs a new DeleteDeliveryPipelineRequest.
+ * @memberof google.cloud.deploy.v1
+ * @classdesc Represents a DeleteDeliveryPipelineRequest.
+ * @implements IDeleteDeliveryPipelineRequest
+ * @constructor
+ * @param {google.cloud.deploy.v1.IDeleteDeliveryPipelineRequest=} [properties] Properties to set
+ */
+ function DeleteDeliveryPipelineRequest(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]];
+ }
+
+ /**
+ * DeleteDeliveryPipelineRequest name.
+ * @member {string} name
+ * @memberof google.cloud.deploy.v1.DeleteDeliveryPipelineRequest
+ * @instance
+ */
+ DeleteDeliveryPipelineRequest.prototype.name = "";
+
+ /**
+ * DeleteDeliveryPipelineRequest requestId.
+ * @member {string} requestId
+ * @memberof google.cloud.deploy.v1.DeleteDeliveryPipelineRequest
+ * @instance
+ */
+ DeleteDeliveryPipelineRequest.prototype.requestId = "";
+
+ /**
+ * DeleteDeliveryPipelineRequest allowMissing.
+ * @member {boolean} allowMissing
+ * @memberof google.cloud.deploy.v1.DeleteDeliveryPipelineRequest
+ * @instance
+ */
+ DeleteDeliveryPipelineRequest.prototype.allowMissing = false;
+
+ /**
+ * DeleteDeliveryPipelineRequest validateOnly.
+ * @member {boolean} validateOnly
+ * @memberof google.cloud.deploy.v1.DeleteDeliveryPipelineRequest
+ * @instance
+ */
+ DeleteDeliveryPipelineRequest.prototype.validateOnly = false;
+
+ /**
+ * DeleteDeliveryPipelineRequest force.
+ * @member {boolean} force
+ * @memberof google.cloud.deploy.v1.DeleteDeliveryPipelineRequest
+ * @instance
+ */
+ DeleteDeliveryPipelineRequest.prototype.force = false;
+
+ /**
+ * DeleteDeliveryPipelineRequest etag.
+ * @member {string} etag
+ * @memberof google.cloud.deploy.v1.DeleteDeliveryPipelineRequest
+ * @instance
+ */
+ DeleteDeliveryPipelineRequest.prototype.etag = "";
+
+ /**
+ * Creates a new DeleteDeliveryPipelineRequest instance using the specified properties.
+ * @function create
+ * @memberof google.cloud.deploy.v1.DeleteDeliveryPipelineRequest
+ * @static
+ * @param {google.cloud.deploy.v1.IDeleteDeliveryPipelineRequest=} [properties] Properties to set
+ * @returns {google.cloud.deploy.v1.DeleteDeliveryPipelineRequest} DeleteDeliveryPipelineRequest instance
+ */
+ DeleteDeliveryPipelineRequest.create = function create(properties) {
+ return new DeleteDeliveryPipelineRequest(properties);
+ };
+
+ /**
+ * Encodes the specified DeleteDeliveryPipelineRequest message. Does not implicitly {@link google.cloud.deploy.v1.DeleteDeliveryPipelineRequest.verify|verify} messages.
+ * @function encode
+ * @memberof google.cloud.deploy.v1.DeleteDeliveryPipelineRequest
+ * @static
+ * @param {google.cloud.deploy.v1.IDeleteDeliveryPipelineRequest} message DeleteDeliveryPipelineRequest message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ DeleteDeliveryPipelineRequest.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.requestId != null && Object.hasOwnProperty.call(message, "requestId"))
+ writer.uint32(/* id 2, wireType 2 =*/18).string(message.requestId);
+ if (message.allowMissing != null && Object.hasOwnProperty.call(message, "allowMissing"))
+ writer.uint32(/* id 3, wireType 0 =*/24).bool(message.allowMissing);
+ if (message.validateOnly != null && Object.hasOwnProperty.call(message, "validateOnly"))
+ writer.uint32(/* id 4, wireType 0 =*/32).bool(message.validateOnly);
+ if (message.etag != null && Object.hasOwnProperty.call(message, "etag"))
+ writer.uint32(/* id 5, wireType 2 =*/42).string(message.etag);
+ if (message.force != null && Object.hasOwnProperty.call(message, "force"))
+ writer.uint32(/* id 6, wireType 0 =*/48).bool(message.force);
+ return writer;
+ };
+
+ /**
+ * Encodes the specified DeleteDeliveryPipelineRequest message, length delimited. Does not implicitly {@link google.cloud.deploy.v1.DeleteDeliveryPipelineRequest.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.cloud.deploy.v1.DeleteDeliveryPipelineRequest
+ * @static
+ * @param {google.cloud.deploy.v1.IDeleteDeliveryPipelineRequest} message DeleteDeliveryPipelineRequest message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ DeleteDeliveryPipelineRequest.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes a DeleteDeliveryPipelineRequest message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.cloud.deploy.v1.DeleteDeliveryPipelineRequest
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.cloud.deploy.v1.DeleteDeliveryPipelineRequest} DeleteDeliveryPipelineRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ DeleteDeliveryPipelineRequest.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.deploy.v1.DeleteDeliveryPipelineRequest();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ switch (tag >>> 3) {
+ case 1: {
+ message.name = reader.string();
+ break;
+ }
+ case 2: {
+ message.requestId = reader.string();
+ break;
+ }
+ case 3: {
+ message.allowMissing = reader.bool();
+ break;
+ }
+ case 4: {
+ message.validateOnly = reader.bool();
+ break;
+ }
+ case 6: {
+ message.force = reader.bool();
+ break;
+ }
+ case 5: {
+ message.etag = reader.string();
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes a DeleteDeliveryPipelineRequest message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.cloud.deploy.v1.DeleteDeliveryPipelineRequest
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.cloud.deploy.v1.DeleteDeliveryPipelineRequest} DeleteDeliveryPipelineRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ DeleteDeliveryPipelineRequest.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies a DeleteDeliveryPipelineRequest message.
+ * @function verify
+ * @memberof google.cloud.deploy.v1.DeleteDeliveryPipelineRequest
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ DeleteDeliveryPipelineRequest.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.requestId != null && message.hasOwnProperty("requestId"))
+ if (!$util.isString(message.requestId))
+ return "requestId: string expected";
+ if (message.allowMissing != null && message.hasOwnProperty("allowMissing"))
+ if (typeof message.allowMissing !== "boolean")
+ return "allowMissing: boolean expected";
+ if (message.validateOnly != null && message.hasOwnProperty("validateOnly"))
+ if (typeof message.validateOnly !== "boolean")
+ return "validateOnly: boolean expected";
+ if (message.force != null && message.hasOwnProperty("force"))
+ if (typeof message.force !== "boolean")
+ return "force: boolean expected";
+ if (message.etag != null && message.hasOwnProperty("etag"))
+ if (!$util.isString(message.etag))
+ return "etag: string expected";
+ return null;
+ };
+
+ /**
+ * Creates a DeleteDeliveryPipelineRequest message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.cloud.deploy.v1.DeleteDeliveryPipelineRequest
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.cloud.deploy.v1.DeleteDeliveryPipelineRequest} DeleteDeliveryPipelineRequest
+ */
+ DeleteDeliveryPipelineRequest.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.cloud.deploy.v1.DeleteDeliveryPipelineRequest)
+ return object;
+ var message = new $root.google.cloud.deploy.v1.DeleteDeliveryPipelineRequest();
+ if (object.name != null)
+ message.name = String(object.name);
+ if (object.requestId != null)
+ message.requestId = String(object.requestId);
+ if (object.allowMissing != null)
+ message.allowMissing = Boolean(object.allowMissing);
+ if (object.validateOnly != null)
+ message.validateOnly = Boolean(object.validateOnly);
+ if (object.force != null)
+ message.force = Boolean(object.force);
+ if (object.etag != null)
+ message.etag = String(object.etag);
+ return message;
+ };
+
+ /**
+ * Creates a plain object from a DeleteDeliveryPipelineRequest message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.cloud.deploy.v1.DeleteDeliveryPipelineRequest
+ * @static
+ * @param {google.cloud.deploy.v1.DeleteDeliveryPipelineRequest} message DeleteDeliveryPipelineRequest
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ DeleteDeliveryPipelineRequest.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.defaults) {
+ object.name = "";
+ object.requestId = "";
+ object.allowMissing = false;
+ object.validateOnly = false;
+ object.etag = "";
+ object.force = false;
+ }
+ if (message.name != null && message.hasOwnProperty("name"))
+ object.name = message.name;
+ if (message.requestId != null && message.hasOwnProperty("requestId"))
+ object.requestId = message.requestId;
+ if (message.allowMissing != null && message.hasOwnProperty("allowMissing"))
+ object.allowMissing = message.allowMissing;
+ if (message.validateOnly != null && message.hasOwnProperty("validateOnly"))
+ object.validateOnly = message.validateOnly;
+ if (message.etag != null && message.hasOwnProperty("etag"))
+ object.etag = message.etag;
+ if (message.force != null && message.hasOwnProperty("force"))
+ object.force = message.force;
+ return object;
+ };
+
+ /**
+ * Converts this DeleteDeliveryPipelineRequest to JSON.
+ * @function toJSON
+ * @memberof google.cloud.deploy.v1.DeleteDeliveryPipelineRequest
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ DeleteDeliveryPipelineRequest.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for DeleteDeliveryPipelineRequest
+ * @function getTypeUrl
+ * @memberof google.cloud.deploy.v1.DeleteDeliveryPipelineRequest
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ DeleteDeliveryPipelineRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.cloud.deploy.v1.DeleteDeliveryPipelineRequest";
+ };
+
+ return DeleteDeliveryPipelineRequest;
+ })();
+
+ v1.Target = (function() {
+
+ /**
+ * Properties of a Target.
+ * @memberof google.cloud.deploy.v1
+ * @interface ITarget
+ * @property {string|null} [name] Target name
+ * @property {string|null} [targetId] Target targetId
+ * @property {string|null} [uid] Target uid
+ * @property {string|null} [description] Target description
+ * @property {Object.|null} [annotations] Target annotations
+ * @property {Object.|null} [labels] Target labels
+ * @property {boolean|null} [requireApproval] Target requireApproval
+ * @property {google.protobuf.ITimestamp|null} [createTime] Target createTime
+ * @property {google.protobuf.ITimestamp|null} [updateTime] Target updateTime
+ * @property {google.cloud.deploy.v1.IGkeCluster|null} [gke] Target gke
+ * @property {google.cloud.deploy.v1.IAnthosCluster|null} [anthosCluster] Target anthosCluster
+ * @property {google.cloud.deploy.v1.ICloudRunLocation|null} [run] Target run
+ * @property {string|null} [etag] Target etag
+ * @property {Array.|null} [executionConfigs] Target executionConfigs
+ */
+
+ /**
+ * Constructs a new Target.
+ * @memberof google.cloud.deploy.v1
+ * @classdesc Represents a Target.
+ * @implements ITarget
+ * @constructor
+ * @param {google.cloud.deploy.v1.ITarget=} [properties] Properties to set
+ */
+ function Target(properties) {
+ this.annotations = {};
+ this.labels = {};
+ this.executionConfigs = [];
+ 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]];
+ }
+
+ /**
+ * Target name.
+ * @member {string} name
+ * @memberof google.cloud.deploy.v1.Target
+ * @instance
+ */
+ Target.prototype.name = "";
+
+ /**
+ * Target targetId.
+ * @member {string} targetId
+ * @memberof google.cloud.deploy.v1.Target
+ * @instance
+ */
+ Target.prototype.targetId = "";
+
+ /**
+ * Target uid.
+ * @member {string} uid
+ * @memberof google.cloud.deploy.v1.Target
+ * @instance
+ */
+ Target.prototype.uid = "";
+
+ /**
+ * Target description.
+ * @member {string} description
+ * @memberof google.cloud.deploy.v1.Target
+ * @instance
+ */
+ Target.prototype.description = "";
+
+ /**
+ * Target annotations.
+ * @member {Object.} annotations
+ * @memberof google.cloud.deploy.v1.Target
+ * @instance
+ */
+ Target.prototype.annotations = $util.emptyObject;
+
+ /**
+ * Target labels.
+ * @member {Object.} labels
+ * @memberof google.cloud.deploy.v1.Target
+ * @instance
+ */
+ Target.prototype.labels = $util.emptyObject;
+
+ /**
+ * Target requireApproval.
+ * @member {boolean} requireApproval
+ * @memberof google.cloud.deploy.v1.Target
+ * @instance
+ */
+ Target.prototype.requireApproval = false;
+
+ /**
+ * Target createTime.
+ * @member {google.protobuf.ITimestamp|null|undefined} createTime
+ * @memberof google.cloud.deploy.v1.Target
+ * @instance
+ */
+ Target.prototype.createTime = null;
+
+ /**
+ * Target updateTime.
+ * @member {google.protobuf.ITimestamp|null|undefined} updateTime
+ * @memberof google.cloud.deploy.v1.Target
+ * @instance
+ */
+ Target.prototype.updateTime = null;
+
+ /**
+ * Target gke.
+ * @member {google.cloud.deploy.v1.IGkeCluster|null|undefined} gke
+ * @memberof google.cloud.deploy.v1.Target
+ * @instance
+ */
+ Target.prototype.gke = null;
+
+ /**
+ * Target anthosCluster.
+ * @member {google.cloud.deploy.v1.IAnthosCluster|null|undefined} anthosCluster
+ * @memberof google.cloud.deploy.v1.Target
+ * @instance
+ */
+ Target.prototype.anthosCluster = null;
+
+ /**
+ * Target run.
+ * @member {google.cloud.deploy.v1.ICloudRunLocation|null|undefined} run
+ * @memberof google.cloud.deploy.v1.Target
+ * @instance
+ */
+ Target.prototype.run = null;
+
+ /**
+ * Target etag.
+ * @member {string} etag
+ * @memberof google.cloud.deploy.v1.Target
+ * @instance
+ */
+ Target.prototype.etag = "";
+
+ /**
+ * Target executionConfigs.
+ * @member {Array.} executionConfigs
+ * @memberof google.cloud.deploy.v1.Target
+ * @instance
+ */
+ Target.prototype.executionConfigs = $util.emptyArray;
+
+ // OneOf field names bound to virtual getters and setters
+ var $oneOfFields;
+
+ /**
+ * Target deploymentTarget.
+ * @member {"gke"|"anthosCluster"|"run"|undefined} deploymentTarget
+ * @memberof google.cloud.deploy.v1.Target
+ * @instance
+ */
+ Object.defineProperty(Target.prototype, "deploymentTarget", {
+ get: $util.oneOfGetter($oneOfFields = ["gke", "anthosCluster", "run"]),
+ set: $util.oneOfSetter($oneOfFields)
+ });
+
+ /**
+ * Creates a new Target instance using the specified properties.
+ * @function create
+ * @memberof google.cloud.deploy.v1.Target
+ * @static
+ * @param {google.cloud.deploy.v1.ITarget=} [properties] Properties to set
+ * @returns {google.cloud.deploy.v1.Target} Target instance
+ */
+ Target.create = function create(properties) {
+ return new Target(properties);
+ };
+
+ /**
+ * Encodes the specified Target message. Does not implicitly {@link google.cloud.deploy.v1.Target.verify|verify} messages.
+ * @function encode
+ * @memberof google.cloud.deploy.v1.Target
+ * @static
+ * @param {google.cloud.deploy.v1.ITarget} message Target message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ Target.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.targetId != null && Object.hasOwnProperty.call(message, "targetId"))
+ writer.uint32(/* id 2, wireType 2 =*/18).string(message.targetId);
+ if (message.uid != null && Object.hasOwnProperty.call(message, "uid"))
+ writer.uint32(/* id 3, wireType 2 =*/26).string(message.uid);
+ if (message.description != null && Object.hasOwnProperty.call(message, "description"))
+ writer.uint32(/* id 4, wireType 2 =*/34).string(message.description);
+ if (message.annotations != null && Object.hasOwnProperty.call(message, "annotations"))
+ for (var keys = Object.keys(message.annotations), i = 0; i < keys.length; ++i)
+ writer.uint32(/* id 5, wireType 2 =*/42).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]).uint32(/* id 2, wireType 2 =*/18).string(message.annotations[keys[i]]).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 6, wireType 2 =*/50).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]).uint32(/* id 2, wireType 2 =*/18).string(message.labels[keys[i]]).ldelim();
+ if (message.createTime != null && Object.hasOwnProperty.call(message, "createTime"))
+ $root.google.protobuf.Timestamp.encode(message.createTime, writer.uint32(/* id 8, wireType 2 =*/66).fork()).ldelim();
+ if (message.updateTime != null && Object.hasOwnProperty.call(message, "updateTime"))
+ $root.google.protobuf.Timestamp.encode(message.updateTime, writer.uint32(/* id 9, wireType 2 =*/74).fork()).ldelim();
+ if (message.etag != null && Object.hasOwnProperty.call(message, "etag"))
+ writer.uint32(/* id 12, wireType 2 =*/98).string(message.etag);
+ if (message.requireApproval != null && Object.hasOwnProperty.call(message, "requireApproval"))
+ writer.uint32(/* id 13, wireType 0 =*/104).bool(message.requireApproval);
+ if (message.gke != null && Object.hasOwnProperty.call(message, "gke"))
+ $root.google.cloud.deploy.v1.GkeCluster.encode(message.gke, writer.uint32(/* id 15, wireType 2 =*/122).fork()).ldelim();
+ if (message.executionConfigs != null && message.executionConfigs.length)
+ for (var i = 0; i < message.executionConfigs.length; ++i)
+ $root.google.cloud.deploy.v1.ExecutionConfig.encode(message.executionConfigs[i], writer.uint32(/* id 16, wireType 2 =*/130).fork()).ldelim();
+ if (message.anthosCluster != null && Object.hasOwnProperty.call(message, "anthosCluster"))
+ $root.google.cloud.deploy.v1.AnthosCluster.encode(message.anthosCluster, writer.uint32(/* id 17, wireType 2 =*/138).fork()).ldelim();
+ if (message.run != null && Object.hasOwnProperty.call(message, "run"))
+ $root.google.cloud.deploy.v1.CloudRunLocation.encode(message.run, writer.uint32(/* id 18, wireType 2 =*/146).fork()).ldelim();
+ return writer;
+ };
+
+ /**
+ * Encodes the specified Target message, length delimited. Does not implicitly {@link google.cloud.deploy.v1.Target.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.cloud.deploy.v1.Target
+ * @static
+ * @param {google.cloud.deploy.v1.ITarget} message Target message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ Target.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes a Target message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.cloud.deploy.v1.Target
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.cloud.deploy.v1.Target} Target
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ Target.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.deploy.v1.Target(), key, value;
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ switch (tag >>> 3) {
+ case 1: {
+ message.name = reader.string();
+ break;
+ }
+ case 2: {
+ message.targetId = reader.string();
+ break;
+ }
+ case 3: {
+ message.uid = reader.string();
+ break;
+ }
+ case 4: {
+ message.description = reader.string();
+ break;
+ }
+ case 5: {
+ if (message.annotations === $util.emptyObject)
+ message.annotations = {};
+ 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.annotations[key] = value;
+ break;
+ }
+ case 6: {
+ 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 13: {
+ message.requireApproval = reader.bool();
+ break;
+ }
+ case 8: {
+ message.createTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32());
+ break;
+ }
+ case 9: {
+ message.updateTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32());
+ break;
+ }
+ case 15: {
+ message.gke = $root.google.cloud.deploy.v1.GkeCluster.decode(reader, reader.uint32());
+ break;
+ }
+ case 17: {
+ message.anthosCluster = $root.google.cloud.deploy.v1.AnthosCluster.decode(reader, reader.uint32());
+ break;
+ }
+ case 18: {
+ message.run = $root.google.cloud.deploy.v1.CloudRunLocation.decode(reader, reader.uint32());
+ break;
+ }
+ case 12: {
+ message.etag = reader.string();
+ break;
+ }
+ case 16: {
+ if (!(message.executionConfigs && message.executionConfigs.length))
+ message.executionConfigs = [];
+ message.executionConfigs.push($root.google.cloud.deploy.v1.ExecutionConfig.decode(reader, reader.uint32()));
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes a Target message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.cloud.deploy.v1.Target
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.cloud.deploy.v1.Target} Target
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ Target.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies a Target message.
+ * @function verify
+ * @memberof google.cloud.deploy.v1.Target
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ Target.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ var properties = {};
+ if (message.name != null && message.hasOwnProperty("name"))
+ if (!$util.isString(message.name))
+ return "name: string expected";
+ if (message.targetId != null && message.hasOwnProperty("targetId"))
+ if (!$util.isString(message.targetId))
+ return "targetId: string expected";
+ if (message.uid != null && message.hasOwnProperty("uid"))
+ if (!$util.isString(message.uid))
+ return "uid: string expected";
+ if (message.description != null && message.hasOwnProperty("description"))
+ if (!$util.isString(message.description))
+ return "description: string expected";
+ if (message.annotations != null && message.hasOwnProperty("annotations")) {
+ if (!$util.isObject(message.annotations))
+ return "annotations: object expected";
+ var key = Object.keys(message.annotations);
+ for (var i = 0; i < key.length; ++i)
+ if (!$util.isString(message.annotations[key[i]]))
+ return "annotations: string{k:string} 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";
+ }
+ if (message.requireApproval != null && message.hasOwnProperty("requireApproval"))
+ if (typeof message.requireApproval !== "boolean")
+ return "requireApproval: boolean 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.gke != null && message.hasOwnProperty("gke")) {
+ properties.deploymentTarget = 1;
+ {
+ var error = $root.google.cloud.deploy.v1.GkeCluster.verify(message.gke);
+ if (error)
+ return "gke." + error;
+ }
+ }
+ if (message.anthosCluster != null && message.hasOwnProperty("anthosCluster")) {
+ if (properties.deploymentTarget === 1)
+ return "deploymentTarget: multiple values";
+ properties.deploymentTarget = 1;
+ {
+ var error = $root.google.cloud.deploy.v1.AnthosCluster.verify(message.anthosCluster);
+ if (error)
+ return "anthosCluster." + error;
+ }
+ }
+ if (message.run != null && message.hasOwnProperty("run")) {
+ if (properties.deploymentTarget === 1)
+ return "deploymentTarget: multiple values";
+ properties.deploymentTarget = 1;
+ {
+ var error = $root.google.cloud.deploy.v1.CloudRunLocation.verify(message.run);
+ if (error)
+ return "run." + error;
+ }
+ }
+ if (message.etag != null && message.hasOwnProperty("etag"))
+ if (!$util.isString(message.etag))
+ return "etag: string expected";
+ if (message.executionConfigs != null && message.hasOwnProperty("executionConfigs")) {
+ if (!Array.isArray(message.executionConfigs))
+ return "executionConfigs: array expected";
+ for (var i = 0; i < message.executionConfigs.length; ++i) {
+ var error = $root.google.cloud.deploy.v1.ExecutionConfig.verify(message.executionConfigs[i]);
+ if (error)
+ return "executionConfigs." + error;
+ }
+ }
+ return null;
+ };
+
+ /**
+ * Creates a Target message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.cloud.deploy.v1.Target
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.cloud.deploy.v1.Target} Target
+ */
+ Target.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.cloud.deploy.v1.Target)
+ return object;
+ var message = new $root.google.cloud.deploy.v1.Target();
+ if (object.name != null)
+ message.name = String(object.name);
+ if (object.targetId != null)
+ message.targetId = String(object.targetId);
+ if (object.uid != null)
+ message.uid = String(object.uid);
+ if (object.description != null)
+ message.description = String(object.description);
+ if (object.annotations) {
+ if (typeof object.annotations !== "object")
+ throw TypeError(".google.cloud.deploy.v1.Target.annotations: object expected");
+ message.annotations = {};
+ for (var keys = Object.keys(object.annotations), i = 0; i < keys.length; ++i)
+ message.annotations[keys[i]] = String(object.annotations[keys[i]]);
+ }
+ if (object.labels) {
+ if (typeof object.labels !== "object")
+ throw TypeError(".google.cloud.deploy.v1.Target.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.requireApproval != null)
+ message.requireApproval = Boolean(object.requireApproval);
+ if (object.createTime != null) {
+ if (typeof object.createTime !== "object")
+ throw TypeError(".google.cloud.deploy.v1.Target.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.deploy.v1.Target.updateTime: object expected");
+ message.updateTime = $root.google.protobuf.Timestamp.fromObject(object.updateTime);
+ }
+ if (object.gke != null) {
+ if (typeof object.gke !== "object")
+ throw TypeError(".google.cloud.deploy.v1.Target.gke: object expected");
+ message.gke = $root.google.cloud.deploy.v1.GkeCluster.fromObject(object.gke);
+ }
+ if (object.anthosCluster != null) {
+ if (typeof object.anthosCluster !== "object")
+ throw TypeError(".google.cloud.deploy.v1.Target.anthosCluster: object expected");
+ message.anthosCluster = $root.google.cloud.deploy.v1.AnthosCluster.fromObject(object.anthosCluster);
+ }
+ if (object.run != null) {
+ if (typeof object.run !== "object")
+ throw TypeError(".google.cloud.deploy.v1.Target.run: object expected");
+ message.run = $root.google.cloud.deploy.v1.CloudRunLocation.fromObject(object.run);
+ }
+ if (object.etag != null)
+ message.etag = String(object.etag);
+ if (object.executionConfigs) {
+ if (!Array.isArray(object.executionConfigs))
+ throw TypeError(".google.cloud.deploy.v1.Target.executionConfigs: array expected");
+ message.executionConfigs = [];
+ for (var i = 0; i < object.executionConfigs.length; ++i) {
+ if (typeof object.executionConfigs[i] !== "object")
+ throw TypeError(".google.cloud.deploy.v1.Target.executionConfigs: object expected");
+ message.executionConfigs[i] = $root.google.cloud.deploy.v1.ExecutionConfig.fromObject(object.executionConfigs[i]);
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Creates a plain object from a Target message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.cloud.deploy.v1.Target
+ * @static
+ * @param {google.cloud.deploy.v1.Target} message Target
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ Target.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.arrays || options.defaults)
+ object.executionConfigs = [];
+ if (options.objects || options.defaults) {
+ object.annotations = {};
+ object.labels = {};
+ }
+ if (options.defaults) {
+ object.name = "";
+ object.targetId = "";
+ object.uid = "";
+ object.description = "";
+ object.createTime = null;
+ object.updateTime = null;
+ object.etag = "";
+ object.requireApproval = false;
+ }
+ if (message.name != null && message.hasOwnProperty("name"))
+ object.name = message.name;
+ if (message.targetId != null && message.hasOwnProperty("targetId"))
+ object.targetId = message.targetId;
+ if (message.uid != null && message.hasOwnProperty("uid"))
+ object.uid = message.uid;
+ if (message.description != null && message.hasOwnProperty("description"))
+ object.description = message.description;
+ var keys2;
+ if (message.annotations && (keys2 = Object.keys(message.annotations)).length) {
+ object.annotations = {};
+ for (var j = 0; j < keys2.length; ++j)
+ object.annotations[keys2[j]] = message.annotations[keys2[j]];
+ }
+ 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.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);
+ if (message.etag != null && message.hasOwnProperty("etag"))
+ object.etag = message.etag;
+ if (message.requireApproval != null && message.hasOwnProperty("requireApproval"))
+ object.requireApproval = message.requireApproval;
+ if (message.gke != null && message.hasOwnProperty("gke")) {
+ object.gke = $root.google.cloud.deploy.v1.GkeCluster.toObject(message.gke, options);
+ if (options.oneofs)
+ object.deploymentTarget = "gke";
+ }
+ if (message.executionConfigs && message.executionConfigs.length) {
+ object.executionConfigs = [];
+ for (var j = 0; j < message.executionConfigs.length; ++j)
+ object.executionConfigs[j] = $root.google.cloud.deploy.v1.ExecutionConfig.toObject(message.executionConfigs[j], options);
+ }
+ if (message.anthosCluster != null && message.hasOwnProperty("anthosCluster")) {
+ object.anthosCluster = $root.google.cloud.deploy.v1.AnthosCluster.toObject(message.anthosCluster, options);
+ if (options.oneofs)
+ object.deploymentTarget = "anthosCluster";
+ }
+ if (message.run != null && message.hasOwnProperty("run")) {
+ object.run = $root.google.cloud.deploy.v1.CloudRunLocation.toObject(message.run, options);
+ if (options.oneofs)
+ object.deploymentTarget = "run";
+ }
+ return object;
+ };
+
+ /**
+ * Converts this Target to JSON.
+ * @function toJSON
+ * @memberof google.cloud.deploy.v1.Target
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ Target.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for Target
+ * @function getTypeUrl
+ * @memberof google.cloud.deploy.v1.Target
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ Target.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.cloud.deploy.v1.Target";
+ };
+
+ return Target;
+ })();
+
+ v1.ExecutionConfig = (function() {
+
+ /**
+ * Properties of an ExecutionConfig.
+ * @memberof google.cloud.deploy.v1
+ * @interface IExecutionConfig
+ * @property {Array.|null} [usages] ExecutionConfig usages
+ * @property {google.cloud.deploy.v1.IDefaultPool|null} [defaultPool] ExecutionConfig defaultPool
+ * @property {google.cloud.deploy.v1.IPrivatePool|null} [privatePool] ExecutionConfig privatePool
+ * @property {string|null} [workerPool] ExecutionConfig workerPool
+ * @property {string|null} [serviceAccount] ExecutionConfig serviceAccount
+ * @property {string|null} [artifactStorage] ExecutionConfig artifactStorage
+ * @property {google.protobuf.IDuration|null} [executionTimeout] ExecutionConfig executionTimeout
+ */
+
+ /**
+ * Constructs a new ExecutionConfig.
+ * @memberof google.cloud.deploy.v1
+ * @classdesc Represents an ExecutionConfig.
+ * @implements IExecutionConfig
+ * @constructor
+ * @param {google.cloud.deploy.v1.IExecutionConfig=} [properties] Properties to set
+ */
+ function ExecutionConfig(properties) {
+ this.usages = [];
+ 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]];
+ }
+
+ /**
+ * ExecutionConfig usages.
+ * @member {Array.} usages
+ * @memberof google.cloud.deploy.v1.ExecutionConfig
+ * @instance
+ */
+ ExecutionConfig.prototype.usages = $util.emptyArray;
+
+ /**
+ * ExecutionConfig defaultPool.
+ * @member {google.cloud.deploy.v1.IDefaultPool|null|undefined} defaultPool
+ * @memberof google.cloud.deploy.v1.ExecutionConfig
+ * @instance
+ */
+ ExecutionConfig.prototype.defaultPool = null;
+
+ /**
+ * ExecutionConfig privatePool.
+ * @member {google.cloud.deploy.v1.IPrivatePool|null|undefined} privatePool
+ * @memberof google.cloud.deploy.v1.ExecutionConfig
+ * @instance
+ */
+ ExecutionConfig.prototype.privatePool = null;
+
+ /**
+ * ExecutionConfig workerPool.
+ * @member {string} workerPool
+ * @memberof google.cloud.deploy.v1.ExecutionConfig
+ * @instance
+ */
+ ExecutionConfig.prototype.workerPool = "";
+
+ /**
+ * ExecutionConfig serviceAccount.
+ * @member {string} serviceAccount
+ * @memberof google.cloud.deploy.v1.ExecutionConfig
+ * @instance
+ */
+ ExecutionConfig.prototype.serviceAccount = "";
+
+ /**
+ * ExecutionConfig artifactStorage.
+ * @member {string} artifactStorage
+ * @memberof google.cloud.deploy.v1.ExecutionConfig
+ * @instance
+ */
+ ExecutionConfig.prototype.artifactStorage = "";
+
+ /**
+ * ExecutionConfig executionTimeout.
+ * @member {google.protobuf.IDuration|null|undefined} executionTimeout
+ * @memberof google.cloud.deploy.v1.ExecutionConfig
+ * @instance
+ */
+ ExecutionConfig.prototype.executionTimeout = null;
+
+ // OneOf field names bound to virtual getters and setters
+ var $oneOfFields;
+
+ /**
+ * ExecutionConfig executionEnvironment.
+ * @member {"defaultPool"|"privatePool"|undefined} executionEnvironment
+ * @memberof google.cloud.deploy.v1.ExecutionConfig
+ * @instance
+ */
+ Object.defineProperty(ExecutionConfig.prototype, "executionEnvironment", {
+ get: $util.oneOfGetter($oneOfFields = ["defaultPool", "privatePool"]),
+ set: $util.oneOfSetter($oneOfFields)
+ });
+
+ /**
+ * Creates a new ExecutionConfig instance using the specified properties.
+ * @function create
+ * @memberof google.cloud.deploy.v1.ExecutionConfig
+ * @static
+ * @param {google.cloud.deploy.v1.IExecutionConfig=} [properties] Properties to set
+ * @returns {google.cloud.deploy.v1.ExecutionConfig} ExecutionConfig instance
+ */
+ ExecutionConfig.create = function create(properties) {
+ return new ExecutionConfig(properties);
+ };
+
+ /**
+ * Encodes the specified ExecutionConfig message. Does not implicitly {@link google.cloud.deploy.v1.ExecutionConfig.verify|verify} messages.
+ * @function encode
+ * @memberof google.cloud.deploy.v1.ExecutionConfig
+ * @static
+ * @param {google.cloud.deploy.v1.IExecutionConfig} message ExecutionConfig message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ ExecutionConfig.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.usages != null && message.usages.length) {
+ writer.uint32(/* id 1, wireType 2 =*/10).fork();
+ for (var i = 0; i < message.usages.length; ++i)
+ writer.int32(message.usages[i]);
+ writer.ldelim();
+ }
+ if (message.defaultPool != null && Object.hasOwnProperty.call(message, "defaultPool"))
+ $root.google.cloud.deploy.v1.DefaultPool.encode(message.defaultPool, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
+ if (message.privatePool != null && Object.hasOwnProperty.call(message, "privatePool"))
+ $root.google.cloud.deploy.v1.PrivatePool.encode(message.privatePool, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim();
+ if (message.workerPool != null && Object.hasOwnProperty.call(message, "workerPool"))
+ writer.uint32(/* id 4, wireType 2 =*/34).string(message.workerPool);
+ if (message.serviceAccount != null && Object.hasOwnProperty.call(message, "serviceAccount"))
+ writer.uint32(/* id 5, wireType 2 =*/42).string(message.serviceAccount);
+ if (message.artifactStorage != null && Object.hasOwnProperty.call(message, "artifactStorage"))
+ writer.uint32(/* id 6, wireType 2 =*/50).string(message.artifactStorage);
+ if (message.executionTimeout != null && Object.hasOwnProperty.call(message, "executionTimeout"))
+ $root.google.protobuf.Duration.encode(message.executionTimeout, writer.uint32(/* id 7, wireType 2 =*/58).fork()).ldelim();
+ return writer;
+ };
+
+ /**
+ * Encodes the specified ExecutionConfig message, length delimited. Does not implicitly {@link google.cloud.deploy.v1.ExecutionConfig.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.cloud.deploy.v1.ExecutionConfig
+ * @static
+ * @param {google.cloud.deploy.v1.IExecutionConfig} message ExecutionConfig message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ ExecutionConfig.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes an ExecutionConfig message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.cloud.deploy.v1.ExecutionConfig
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.cloud.deploy.v1.ExecutionConfig} ExecutionConfig
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ ExecutionConfig.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.deploy.v1.ExecutionConfig();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ switch (tag >>> 3) {
+ case 1: {
+ if (!(message.usages && message.usages.length))
+ message.usages = [];
+ if ((tag & 7) === 2) {
+ var end2 = reader.uint32() + reader.pos;
+ while (reader.pos < end2)
+ message.usages.push(reader.int32());
+ } else
+ message.usages.push(reader.int32());
+ break;
+ }
+ case 2: {
+ message.defaultPool = $root.google.cloud.deploy.v1.DefaultPool.decode(reader, reader.uint32());
+ break;
+ }
+ case 3: {
+ message.privatePool = $root.google.cloud.deploy.v1.PrivatePool.decode(reader, reader.uint32());
+ break;
+ }
+ case 4: {
+ message.workerPool = reader.string();
+ break;
+ }
+ case 5: {
+ message.serviceAccount = reader.string();
+ break;
+ }
+ case 6: {
+ message.artifactStorage = reader.string();
+ break;
+ }
+ case 7: {
+ message.executionTimeout = $root.google.protobuf.Duration.decode(reader, reader.uint32());
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes an ExecutionConfig message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.cloud.deploy.v1.ExecutionConfig
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.cloud.deploy.v1.ExecutionConfig} ExecutionConfig
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ ExecutionConfig.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies an ExecutionConfig message.
+ * @function verify
+ * @memberof google.cloud.deploy.v1.ExecutionConfig
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ ExecutionConfig.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ var properties = {};
+ if (message.usages != null && message.hasOwnProperty("usages")) {
+ if (!Array.isArray(message.usages))
+ return "usages: array expected";
+ for (var i = 0; i < message.usages.length; ++i)
+ switch (message.usages[i]) {
+ default:
+ return "usages: enum value[] expected";
+ case 0:
+ case 1:
+ case 2:
+ case 3:
+ break;
+ }
+ }
+ if (message.defaultPool != null && message.hasOwnProperty("defaultPool")) {
+ properties.executionEnvironment = 1;
+ {
+ var error = $root.google.cloud.deploy.v1.DefaultPool.verify(message.defaultPool);
+ if (error)
+ return "defaultPool." + error;
+ }
+ }
+ if (message.privatePool != null && message.hasOwnProperty("privatePool")) {
+ if (properties.executionEnvironment === 1)
+ return "executionEnvironment: multiple values";
+ properties.executionEnvironment = 1;
+ {
+ var error = $root.google.cloud.deploy.v1.PrivatePool.verify(message.privatePool);
+ if (error)
+ return "privatePool." + error;
+ }
+ }
+ if (message.workerPool != null && message.hasOwnProperty("workerPool"))
+ if (!$util.isString(message.workerPool))
+ return "workerPool: string expected";
+ if (message.serviceAccount != null && message.hasOwnProperty("serviceAccount"))
+ if (!$util.isString(message.serviceAccount))
+ return "serviceAccount: string expected";
+ if (message.artifactStorage != null && message.hasOwnProperty("artifactStorage"))
+ if (!$util.isString(message.artifactStorage))
+ return "artifactStorage: string expected";
+ if (message.executionTimeout != null && message.hasOwnProperty("executionTimeout")) {
+ var error = $root.google.protobuf.Duration.verify(message.executionTimeout);
+ if (error)
+ return "executionTimeout." + error;
+ }
+ return null;
+ };
+
+ /**
+ * Creates an ExecutionConfig message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.cloud.deploy.v1.ExecutionConfig
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.cloud.deploy.v1.ExecutionConfig} ExecutionConfig
+ */
+ ExecutionConfig.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.cloud.deploy.v1.ExecutionConfig)
+ return object;
+ var message = new $root.google.cloud.deploy.v1.ExecutionConfig();
+ if (object.usages) {
+ if (!Array.isArray(object.usages))
+ throw TypeError(".google.cloud.deploy.v1.ExecutionConfig.usages: array expected");
+ message.usages = [];
+ for (var i = 0; i < object.usages.length; ++i)
+ switch (object.usages[i]) {
+ default:
+ case "EXECUTION_ENVIRONMENT_USAGE_UNSPECIFIED":
+ case 0:
+ message.usages[i] = 0;
+ break;
+ case "RENDER":
+ case 1:
+ message.usages[i] = 1;
+ break;
+ case "DEPLOY":
+ case 2:
+ message.usages[i] = 2;
+ break;
+ case "VERIFY":
+ case 3:
+ message.usages[i] = 3;
+ break;
+ }
+ }
+ if (object.defaultPool != null) {
+ if (typeof object.defaultPool !== "object")
+ throw TypeError(".google.cloud.deploy.v1.ExecutionConfig.defaultPool: object expected");
+ message.defaultPool = $root.google.cloud.deploy.v1.DefaultPool.fromObject(object.defaultPool);
+ }
+ if (object.privatePool != null) {
+ if (typeof object.privatePool !== "object")
+ throw TypeError(".google.cloud.deploy.v1.ExecutionConfig.privatePool: object expected");
+ message.privatePool = $root.google.cloud.deploy.v1.PrivatePool.fromObject(object.privatePool);
+ }
+ if (object.workerPool != null)
+ message.workerPool = String(object.workerPool);
+ if (object.serviceAccount != null)
+ message.serviceAccount = String(object.serviceAccount);
+ if (object.artifactStorage != null)
+ message.artifactStorage = String(object.artifactStorage);
+ if (object.executionTimeout != null) {
+ if (typeof object.executionTimeout !== "object")
+ throw TypeError(".google.cloud.deploy.v1.ExecutionConfig.executionTimeout: object expected");
+ message.executionTimeout = $root.google.protobuf.Duration.fromObject(object.executionTimeout);
+ }
+ return message;
+ };
+
+ /**
+ * Creates a plain object from an ExecutionConfig message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.cloud.deploy.v1.ExecutionConfig
+ * @static
+ * @param {google.cloud.deploy.v1.ExecutionConfig} message ExecutionConfig
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ ExecutionConfig.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.arrays || options.defaults)
+ object.usages = [];
+ if (options.defaults) {
+ object.workerPool = "";
+ object.serviceAccount = "";
+ object.artifactStorage = "";
+ object.executionTimeout = null;
+ }
+ if (message.usages && message.usages.length) {
+ object.usages = [];
+ for (var j = 0; j < message.usages.length; ++j)
+ object.usages[j] = options.enums === String ? $root.google.cloud.deploy.v1.ExecutionConfig.ExecutionEnvironmentUsage[message.usages[j]] : message.usages[j];
+ }
+ if (message.defaultPool != null && message.hasOwnProperty("defaultPool")) {
+ object.defaultPool = $root.google.cloud.deploy.v1.DefaultPool.toObject(message.defaultPool, options);
+ if (options.oneofs)
+ object.executionEnvironment = "defaultPool";
+ }
+ if (message.privatePool != null && message.hasOwnProperty("privatePool")) {
+ object.privatePool = $root.google.cloud.deploy.v1.PrivatePool.toObject(message.privatePool, options);
+ if (options.oneofs)
+ object.executionEnvironment = "privatePool";
+ }
+ if (message.workerPool != null && message.hasOwnProperty("workerPool"))
+ object.workerPool = message.workerPool;
+ if (message.serviceAccount != null && message.hasOwnProperty("serviceAccount"))
+ object.serviceAccount = message.serviceAccount;
+ if (message.artifactStorage != null && message.hasOwnProperty("artifactStorage"))
+ object.artifactStorage = message.artifactStorage;
+ if (message.executionTimeout != null && message.hasOwnProperty("executionTimeout"))
+ object.executionTimeout = $root.google.protobuf.Duration.toObject(message.executionTimeout, options);
+ return object;
+ };
+
+ /**
+ * Converts this ExecutionConfig to JSON.
+ * @function toJSON
+ * @memberof google.cloud.deploy.v1.ExecutionConfig
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ ExecutionConfig.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for ExecutionConfig
+ * @function getTypeUrl
+ * @memberof google.cloud.deploy.v1.ExecutionConfig
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ ExecutionConfig.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.cloud.deploy.v1.ExecutionConfig";
+ };
+
+ /**
+ * ExecutionEnvironmentUsage enum.
+ * @name google.cloud.deploy.v1.ExecutionConfig.ExecutionEnvironmentUsage
+ * @enum {number}
+ * @property {number} EXECUTION_ENVIRONMENT_USAGE_UNSPECIFIED=0 EXECUTION_ENVIRONMENT_USAGE_UNSPECIFIED value
+ * @property {number} RENDER=1 RENDER value
+ * @property {number} DEPLOY=2 DEPLOY value
+ * @property {number} VERIFY=3 VERIFY value
+ */
+ ExecutionConfig.ExecutionEnvironmentUsage = (function() {
+ var valuesById = {}, values = Object.create(valuesById);
+ values[valuesById[0] = "EXECUTION_ENVIRONMENT_USAGE_UNSPECIFIED"] = 0;
+ values[valuesById[1] = "RENDER"] = 1;
+ values[valuesById[2] = "DEPLOY"] = 2;
+ values[valuesById[3] = "VERIFY"] = 3;
+ return values;
+ })();
+
+ return ExecutionConfig;
+ })();
+
+ v1.DefaultPool = (function() {
+
+ /**
+ * Properties of a DefaultPool.
+ * @memberof google.cloud.deploy.v1
+ * @interface IDefaultPool
+ * @property {string|null} [serviceAccount] DefaultPool serviceAccount
+ * @property {string|null} [artifactStorage] DefaultPool artifactStorage
+ */
+
+ /**
+ * Constructs a new DefaultPool.
+ * @memberof google.cloud.deploy.v1
+ * @classdesc Represents a DefaultPool.
+ * @implements IDefaultPool
+ * @constructor
+ * @param {google.cloud.deploy.v1.IDefaultPool=} [properties] Properties to set
+ */
+ function DefaultPool(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]];
+ }
+
+ /**
+ * DefaultPool serviceAccount.
+ * @member {string} serviceAccount
+ * @memberof google.cloud.deploy.v1.DefaultPool
+ * @instance
+ */
+ DefaultPool.prototype.serviceAccount = "";
+
+ /**
+ * DefaultPool artifactStorage.
+ * @member {string} artifactStorage
+ * @memberof google.cloud.deploy.v1.DefaultPool
+ * @instance
+ */
+ DefaultPool.prototype.artifactStorage = "";
+
+ /**
+ * Creates a new DefaultPool instance using the specified properties.
+ * @function create
+ * @memberof google.cloud.deploy.v1.DefaultPool
+ * @static
+ * @param {google.cloud.deploy.v1.IDefaultPool=} [properties] Properties to set
+ * @returns {google.cloud.deploy.v1.DefaultPool} DefaultPool instance
+ */
+ DefaultPool.create = function create(properties) {
+ return new DefaultPool(properties);
+ };
+
+ /**
+ * Encodes the specified DefaultPool message. Does not implicitly {@link google.cloud.deploy.v1.DefaultPool.verify|verify} messages.
+ * @function encode
+ * @memberof google.cloud.deploy.v1.DefaultPool
+ * @static
+ * @param {google.cloud.deploy.v1.IDefaultPool} message DefaultPool message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ DefaultPool.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.serviceAccount != null && Object.hasOwnProperty.call(message, "serviceAccount"))
+ writer.uint32(/* id 1, wireType 2 =*/10).string(message.serviceAccount);
+ if (message.artifactStorage != null && Object.hasOwnProperty.call(message, "artifactStorage"))
+ writer.uint32(/* id 2, wireType 2 =*/18).string(message.artifactStorage);
+ return writer;
+ };
+
+ /**
+ * Encodes the specified DefaultPool message, length delimited. Does not implicitly {@link google.cloud.deploy.v1.DefaultPool.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.cloud.deploy.v1.DefaultPool
+ * @static
+ * @param {google.cloud.deploy.v1.IDefaultPool} message DefaultPool message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ DefaultPool.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes a DefaultPool message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.cloud.deploy.v1.DefaultPool
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.cloud.deploy.v1.DefaultPool} DefaultPool
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ DefaultPool.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.deploy.v1.DefaultPool();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ switch (tag >>> 3) {
+ case 1: {
+ message.serviceAccount = reader.string();
+ break;
+ }
+ case 2: {
+ message.artifactStorage = reader.string();
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes a DefaultPool message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.cloud.deploy.v1.DefaultPool
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.cloud.deploy.v1.DefaultPool} DefaultPool
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ DefaultPool.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies a DefaultPool message.
+ * @function verify
+ * @memberof google.cloud.deploy.v1.DefaultPool
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ DefaultPool.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ if (message.serviceAccount != null && message.hasOwnProperty("serviceAccount"))
+ if (!$util.isString(message.serviceAccount))
+ return "serviceAccount: string expected";
+ if (message.artifactStorage != null && message.hasOwnProperty("artifactStorage"))
+ if (!$util.isString(message.artifactStorage))
+ return "artifactStorage: string expected";
+ return null;
+ };
+
+ /**
+ * Creates a DefaultPool message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.cloud.deploy.v1.DefaultPool
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.cloud.deploy.v1.DefaultPool} DefaultPool
+ */
+ DefaultPool.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.cloud.deploy.v1.DefaultPool)
+ return object;
+ var message = new $root.google.cloud.deploy.v1.DefaultPool();
+ if (object.serviceAccount != null)
+ message.serviceAccount = String(object.serviceAccount);
+ if (object.artifactStorage != null)
+ message.artifactStorage = String(object.artifactStorage);
+ return message;
+ };
+
+ /**
+ * Creates a plain object from a DefaultPool message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.cloud.deploy.v1.DefaultPool
+ * @static
+ * @param {google.cloud.deploy.v1.DefaultPool} message DefaultPool
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ DefaultPool.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.defaults) {
+ object.serviceAccount = "";
+ object.artifactStorage = "";
+ }
+ if (message.serviceAccount != null && message.hasOwnProperty("serviceAccount"))
+ object.serviceAccount = message.serviceAccount;
+ if (message.artifactStorage != null && message.hasOwnProperty("artifactStorage"))
+ object.artifactStorage = message.artifactStorage;
+ return object;
+ };
+
+ /**
+ * Converts this DefaultPool to JSON.
+ * @function toJSON
+ * @memberof google.cloud.deploy.v1.DefaultPool
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ DefaultPool.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for DefaultPool
+ * @function getTypeUrl
+ * @memberof google.cloud.deploy.v1.DefaultPool
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ DefaultPool.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.cloud.deploy.v1.DefaultPool";
+ };
+
+ return DefaultPool;
+ })();
+
+ v1.PrivatePool = (function() {
+
+ /**
+ * Properties of a PrivatePool.
+ * @memberof google.cloud.deploy.v1
+ * @interface IPrivatePool
+ * @property {string|null} [workerPool] PrivatePool workerPool
+ * @property {string|null} [serviceAccount] PrivatePool serviceAccount
+ * @property {string|null} [artifactStorage] PrivatePool artifactStorage
+ */
+
+ /**
+ * Constructs a new PrivatePool.
+ * @memberof google.cloud.deploy.v1
+ * @classdesc Represents a PrivatePool.
+ * @implements IPrivatePool
+ * @constructor
+ * @param {google.cloud.deploy.v1.IPrivatePool=} [properties] Properties to set
+ */
+ function PrivatePool(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]];
+ }
+
+ /**
+ * PrivatePool workerPool.
+ * @member {string} workerPool
+ * @memberof google.cloud.deploy.v1.PrivatePool
+ * @instance
+ */
+ PrivatePool.prototype.workerPool = "";
+
+ /**
+ * PrivatePool serviceAccount.
+ * @member {string} serviceAccount
+ * @memberof google.cloud.deploy.v1.PrivatePool
+ * @instance
+ */
+ PrivatePool.prototype.serviceAccount = "";
+
+ /**
+ * PrivatePool artifactStorage.
+ * @member {string} artifactStorage
+ * @memberof google.cloud.deploy.v1.PrivatePool
+ * @instance
+ */
+ PrivatePool.prototype.artifactStorage = "";
+
+ /**
+ * Creates a new PrivatePool instance using the specified properties.
+ * @function create
+ * @memberof google.cloud.deploy.v1.PrivatePool
+ * @static
+ * @param {google.cloud.deploy.v1.IPrivatePool=} [properties] Properties to set
+ * @returns {google.cloud.deploy.v1.PrivatePool} PrivatePool instance
+ */
+ PrivatePool.create = function create(properties) {
+ return new PrivatePool(properties);
+ };
+
+ /**
+ * Encodes the specified PrivatePool message. Does not implicitly {@link google.cloud.deploy.v1.PrivatePool.verify|verify} messages.
+ * @function encode
+ * @memberof google.cloud.deploy.v1.PrivatePool
+ * @static
+ * @param {google.cloud.deploy.v1.IPrivatePool} message PrivatePool message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ PrivatePool.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.workerPool != null && Object.hasOwnProperty.call(message, "workerPool"))
+ writer.uint32(/* id 1, wireType 2 =*/10).string(message.workerPool);
+ if (message.serviceAccount != null && Object.hasOwnProperty.call(message, "serviceAccount"))
+ writer.uint32(/* id 2, wireType 2 =*/18).string(message.serviceAccount);
+ if (message.artifactStorage != null && Object.hasOwnProperty.call(message, "artifactStorage"))
+ writer.uint32(/* id 3, wireType 2 =*/26).string(message.artifactStorage);
+ return writer;
+ };
+
+ /**
+ * Encodes the specified PrivatePool message, length delimited. Does not implicitly {@link google.cloud.deploy.v1.PrivatePool.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.cloud.deploy.v1.PrivatePool
+ * @static
+ * @param {google.cloud.deploy.v1.IPrivatePool} message PrivatePool message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ PrivatePool.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes a PrivatePool message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.cloud.deploy.v1.PrivatePool
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.cloud.deploy.v1.PrivatePool} PrivatePool
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ PrivatePool.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.deploy.v1.PrivatePool();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ switch (tag >>> 3) {
+ case 1: {
+ message.workerPool = reader.string();
+ break;
+ }
+ case 2: {
+ message.serviceAccount = reader.string();
+ break;
+ }
+ case 3: {
+ message.artifactStorage = reader.string();
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes a PrivatePool message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.cloud.deploy.v1.PrivatePool
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.cloud.deploy.v1.PrivatePool} PrivatePool
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ PrivatePool.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies a PrivatePool message.
+ * @function verify
+ * @memberof google.cloud.deploy.v1.PrivatePool
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ PrivatePool.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ if (message.workerPool != null && message.hasOwnProperty("workerPool"))
+ if (!$util.isString(message.workerPool))
+ return "workerPool: string expected";
+ if (message.serviceAccount != null && message.hasOwnProperty("serviceAccount"))
+ if (!$util.isString(message.serviceAccount))
+ return "serviceAccount: string expected";
+ if (message.artifactStorage != null && message.hasOwnProperty("artifactStorage"))
+ if (!$util.isString(message.artifactStorage))
+ return "artifactStorage: string expected";
+ return null;
+ };
+
+ /**
+ * Creates a PrivatePool message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.cloud.deploy.v1.PrivatePool
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.cloud.deploy.v1.PrivatePool} PrivatePool
+ */
+ PrivatePool.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.cloud.deploy.v1.PrivatePool)
+ return object;
+ var message = new $root.google.cloud.deploy.v1.PrivatePool();
+ if (object.workerPool != null)
+ message.workerPool = String(object.workerPool);
+ if (object.serviceAccount != null)
+ message.serviceAccount = String(object.serviceAccount);
+ if (object.artifactStorage != null)
+ message.artifactStorage = String(object.artifactStorage);
+ return message;
+ };
+
+ /**
+ * Creates a plain object from a PrivatePool message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.cloud.deploy.v1.PrivatePool
+ * @static
+ * @param {google.cloud.deploy.v1.PrivatePool} message PrivatePool
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ PrivatePool.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.defaults) {
+ object.workerPool = "";
+ object.serviceAccount = "";
+ object.artifactStorage = "";
+ }
+ if (message.workerPool != null && message.hasOwnProperty("workerPool"))
+ object.workerPool = message.workerPool;
+ if (message.serviceAccount != null && message.hasOwnProperty("serviceAccount"))
+ object.serviceAccount = message.serviceAccount;
+ if (message.artifactStorage != null && message.hasOwnProperty("artifactStorage"))
+ object.artifactStorage = message.artifactStorage;
+ return object;
+ };
+
+ /**
+ * Converts this PrivatePool to JSON.
+ * @function toJSON
+ * @memberof google.cloud.deploy.v1.PrivatePool
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ PrivatePool.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for PrivatePool
+ * @function getTypeUrl
+ * @memberof google.cloud.deploy.v1.PrivatePool
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ PrivatePool.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.cloud.deploy.v1.PrivatePool";
+ };
+
+ return PrivatePool;
+ })();
+
+ v1.GkeCluster = (function() {
+
+ /**
+ * Properties of a GkeCluster.
+ * @memberof google.cloud.deploy.v1
+ * @interface IGkeCluster
+ * @property {string|null} [cluster] GkeCluster cluster
+ * @property {boolean|null} [internalIp] GkeCluster internalIp
+ */
+
+ /**
+ * Constructs a new GkeCluster.
+ * @memberof google.cloud.deploy.v1
+ * @classdesc Represents a GkeCluster.
+ * @implements IGkeCluster
+ * @constructor
+ * @param {google.cloud.deploy.v1.IGkeCluster=} [properties] Properties to set
+ */
+ function GkeCluster(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]];
+ }
+
+ /**
+ * GkeCluster cluster.
+ * @member {string} cluster
+ * @memberof google.cloud.deploy.v1.GkeCluster
+ * @instance
+ */
+ GkeCluster.prototype.cluster = "";
+
+ /**
+ * GkeCluster internalIp.
+ * @member {boolean} internalIp
+ * @memberof google.cloud.deploy.v1.GkeCluster
+ * @instance
+ */
+ GkeCluster.prototype.internalIp = false;
+
+ /**
+ * Creates a new GkeCluster instance using the specified properties.
+ * @function create
+ * @memberof google.cloud.deploy.v1.GkeCluster
+ * @static
+ * @param {google.cloud.deploy.v1.IGkeCluster=} [properties] Properties to set
+ * @returns {google.cloud.deploy.v1.GkeCluster} GkeCluster instance
+ */
+ GkeCluster.create = function create(properties) {
+ return new GkeCluster(properties);
+ };
+
+ /**
+ * Encodes the specified GkeCluster message. Does not implicitly {@link google.cloud.deploy.v1.GkeCluster.verify|verify} messages.
+ * @function encode
+ * @memberof google.cloud.deploy.v1.GkeCluster
+ * @static
+ * @param {google.cloud.deploy.v1.IGkeCluster} message GkeCluster message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ GkeCluster.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);
+ if (message.internalIp != null && Object.hasOwnProperty.call(message, "internalIp"))
+ writer.uint32(/* id 2, wireType 0 =*/16).bool(message.internalIp);
+ return writer;
+ };
+
+ /**
+ * Encodes the specified GkeCluster message, length delimited. Does not implicitly {@link google.cloud.deploy.v1.GkeCluster.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.cloud.deploy.v1.GkeCluster
+ * @static
+ * @param {google.cloud.deploy.v1.IGkeCluster} message GkeCluster message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ GkeCluster.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes a GkeCluster message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.cloud.deploy.v1.GkeCluster
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.cloud.deploy.v1.GkeCluster} GkeCluster
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ GkeCluster.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.deploy.v1.GkeCluster();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ switch (tag >>> 3) {
+ case 1: {
+ message.cluster = reader.string();
+ break;
+ }
+ case 2: {
+ message.internalIp = reader.bool();
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes a GkeCluster message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.cloud.deploy.v1.GkeCluster
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.cloud.deploy.v1.GkeCluster} GkeCluster
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ GkeCluster.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies a GkeCluster message.
+ * @function verify
+ * @memberof google.cloud.deploy.v1.GkeCluster
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ GkeCluster.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";
+ if (message.internalIp != null && message.hasOwnProperty("internalIp"))
+ if (typeof message.internalIp !== "boolean")
+ return "internalIp: boolean expected";
+ return null;
+ };
+
+ /**
+ * Creates a GkeCluster message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.cloud.deploy.v1.GkeCluster
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.cloud.deploy.v1.GkeCluster} GkeCluster
+ */
+ GkeCluster.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.cloud.deploy.v1.GkeCluster)
+ return object;
+ var message = new $root.google.cloud.deploy.v1.GkeCluster();
+ if (object.cluster != null)
+ message.cluster = String(object.cluster);
+ if (object.internalIp != null)
+ message.internalIp = Boolean(object.internalIp);
+ return message;
+ };
+
+ /**
+ * Creates a plain object from a GkeCluster message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.cloud.deploy.v1.GkeCluster
+ * @static
+ * @param {google.cloud.deploy.v1.GkeCluster} message GkeCluster
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ GkeCluster.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.defaults) {
+ object.cluster = "";
+ object.internalIp = false;
+ }
+ if (message.cluster != null && message.hasOwnProperty("cluster"))
+ object.cluster = message.cluster;
+ if (message.internalIp != null && message.hasOwnProperty("internalIp"))
+ object.internalIp = message.internalIp;
+ return object;
+ };
+
+ /**
+ * Converts this GkeCluster to JSON.
+ * @function toJSON
+ * @memberof google.cloud.deploy.v1.GkeCluster
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ GkeCluster.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for GkeCluster
+ * @function getTypeUrl
+ * @memberof google.cloud.deploy.v1.GkeCluster
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ GkeCluster.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.cloud.deploy.v1.GkeCluster";
+ };
+
+ return GkeCluster;
+ })();
+
+ v1.AnthosCluster = (function() {
+
+ /**
+ * Properties of an AnthosCluster.
+ * @memberof google.cloud.deploy.v1
+ * @interface IAnthosCluster
+ * @property {string|null} [membership] AnthosCluster membership
+ */
+
+ /**
+ * Constructs a new AnthosCluster.
+ * @memberof google.cloud.deploy.v1
+ * @classdesc Represents an AnthosCluster.
+ * @implements IAnthosCluster
+ * @constructor
+ * @param {google.cloud.deploy.v1.IAnthosCluster=} [properties] Properties to set
+ */
+ function AnthosCluster(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]];
+ }
+
+ /**
+ * AnthosCluster membership.
+ * @member {string} membership
+ * @memberof google.cloud.deploy.v1.AnthosCluster
+ * @instance
+ */
+ AnthosCluster.prototype.membership = "";
+
+ /**
+ * Creates a new AnthosCluster instance using the specified properties.
+ * @function create
+ * @memberof google.cloud.deploy.v1.AnthosCluster
+ * @static
+ * @param {google.cloud.deploy.v1.IAnthosCluster=} [properties] Properties to set
+ * @returns {google.cloud.deploy.v1.AnthosCluster} AnthosCluster instance
+ */
+ AnthosCluster.create = function create(properties) {
+ return new AnthosCluster(properties);
+ };
+
+ /**
+ * Encodes the specified AnthosCluster message. Does not implicitly {@link google.cloud.deploy.v1.AnthosCluster.verify|verify} messages.
+ * @function encode
+ * @memberof google.cloud.deploy.v1.AnthosCluster
+ * @static
+ * @param {google.cloud.deploy.v1.IAnthosCluster} message AnthosCluster message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ AnthosCluster.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.membership != null && Object.hasOwnProperty.call(message, "membership"))
+ writer.uint32(/* id 1, wireType 2 =*/10).string(message.membership);
+ return writer;
+ };
+
+ /**
+ * Encodes the specified AnthosCluster message, length delimited. Does not implicitly {@link google.cloud.deploy.v1.AnthosCluster.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.cloud.deploy.v1.AnthosCluster
+ * @static
+ * @param {google.cloud.deploy.v1.IAnthosCluster} message AnthosCluster message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ AnthosCluster.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes an AnthosCluster message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.cloud.deploy.v1.AnthosCluster
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.cloud.deploy.v1.AnthosCluster} AnthosCluster
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ AnthosCluster.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.deploy.v1.AnthosCluster();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ switch (tag >>> 3) {
+ case 1: {
+ message.membership = reader.string();
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes an AnthosCluster message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.cloud.deploy.v1.AnthosCluster
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.cloud.deploy.v1.AnthosCluster} AnthosCluster
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ AnthosCluster.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies an AnthosCluster message.
+ * @function verify
+ * @memberof google.cloud.deploy.v1.AnthosCluster
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ AnthosCluster.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ if (message.membership != null && message.hasOwnProperty("membership"))
+ if (!$util.isString(message.membership))
+ return "membership: string expected";
+ return null;
+ };
+
+ /**
+ * Creates an AnthosCluster message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.cloud.deploy.v1.AnthosCluster
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.cloud.deploy.v1.AnthosCluster} AnthosCluster
+ */
+ AnthosCluster.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.cloud.deploy.v1.AnthosCluster)
+ return object;
+ var message = new $root.google.cloud.deploy.v1.AnthosCluster();
+ if (object.membership != null)
+ message.membership = String(object.membership);
+ return message;
+ };
+
+ /**
+ * Creates a plain object from an AnthosCluster message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.cloud.deploy.v1.AnthosCluster
+ * @static
+ * @param {google.cloud.deploy.v1.AnthosCluster} message AnthosCluster
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ AnthosCluster.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.defaults)
+ object.membership = "";
+ if (message.membership != null && message.hasOwnProperty("membership"))
+ object.membership = message.membership;
+ return object;
+ };
+
+ /**
+ * Converts this AnthosCluster to JSON.
+ * @function toJSON
+ * @memberof google.cloud.deploy.v1.AnthosCluster
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ AnthosCluster.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for AnthosCluster
+ * @function getTypeUrl
+ * @memberof google.cloud.deploy.v1.AnthosCluster
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ AnthosCluster.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.cloud.deploy.v1.AnthosCluster";
+ };
+
+ return AnthosCluster;
+ })();
+
+ v1.CloudRunLocation = (function() {
+
+ /**
+ * Properties of a CloudRunLocation.
+ * @memberof google.cloud.deploy.v1
+ * @interface ICloudRunLocation
+ * @property {string|null} [location] CloudRunLocation location
+ */
+
+ /**
+ * Constructs a new CloudRunLocation.
+ * @memberof google.cloud.deploy.v1
+ * @classdesc Represents a CloudRunLocation.
+ * @implements ICloudRunLocation
+ * @constructor
+ * @param {google.cloud.deploy.v1.ICloudRunLocation=} [properties] Properties to set
+ */
+ function CloudRunLocation(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]];
+ }
+
+ /**
+ * CloudRunLocation location.
+ * @member {string} location
+ * @memberof google.cloud.deploy.v1.CloudRunLocation
+ * @instance
+ */
+ CloudRunLocation.prototype.location = "";
+
+ /**
+ * Creates a new CloudRunLocation instance using the specified properties.
+ * @function create
+ * @memberof google.cloud.deploy.v1.CloudRunLocation
+ * @static
+ * @param {google.cloud.deploy.v1.ICloudRunLocation=} [properties] Properties to set
+ * @returns {google.cloud.deploy.v1.CloudRunLocation} CloudRunLocation instance
+ */
+ CloudRunLocation.create = function create(properties) {
+ return new CloudRunLocation(properties);
+ };
+
+ /**
+ * Encodes the specified CloudRunLocation message. Does not implicitly {@link google.cloud.deploy.v1.CloudRunLocation.verify|verify} messages.
+ * @function encode
+ * @memberof google.cloud.deploy.v1.CloudRunLocation
+ * @static
+ * @param {google.cloud.deploy.v1.ICloudRunLocation} message CloudRunLocation message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ CloudRunLocation.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.location != null && Object.hasOwnProperty.call(message, "location"))
+ writer.uint32(/* id 1, wireType 2 =*/10).string(message.location);
+ return writer;
+ };
+
+ /**
+ * Encodes the specified CloudRunLocation message, length delimited. Does not implicitly {@link google.cloud.deploy.v1.CloudRunLocation.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.cloud.deploy.v1.CloudRunLocation
+ * @static
+ * @param {google.cloud.deploy.v1.ICloudRunLocation} message CloudRunLocation message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ CloudRunLocation.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes a CloudRunLocation message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.cloud.deploy.v1.CloudRunLocation
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.cloud.deploy.v1.CloudRunLocation} CloudRunLocation
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ CloudRunLocation.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.deploy.v1.CloudRunLocation();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ switch (tag >>> 3) {
+ case 1: {
+ message.location = reader.string();
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes a CloudRunLocation message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.cloud.deploy.v1.CloudRunLocation
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.cloud.deploy.v1.CloudRunLocation} CloudRunLocation
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ CloudRunLocation.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies a CloudRunLocation message.
+ * @function verify
+ * @memberof google.cloud.deploy.v1.CloudRunLocation
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ CloudRunLocation.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ if (message.location != null && message.hasOwnProperty("location"))
+ if (!$util.isString(message.location))
+ return "location: string expected";
+ return null;
+ };
+
+ /**
+ * Creates a CloudRunLocation message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.cloud.deploy.v1.CloudRunLocation
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.cloud.deploy.v1.CloudRunLocation} CloudRunLocation
+ */
+ CloudRunLocation.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.cloud.deploy.v1.CloudRunLocation)
+ return object;
+ var message = new $root.google.cloud.deploy.v1.CloudRunLocation();
+ if (object.location != null)
+ message.location = String(object.location);
+ return message;
+ };
+
+ /**
+ * Creates a plain object from a CloudRunLocation message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.cloud.deploy.v1.CloudRunLocation
+ * @static
+ * @param {google.cloud.deploy.v1.CloudRunLocation} message CloudRunLocation
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ CloudRunLocation.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.defaults)
+ object.location = "";
+ if (message.location != null && message.hasOwnProperty("location"))
+ object.location = message.location;
+ return object;
+ };
+
+ /**
+ * Converts this CloudRunLocation to JSON.
+ * @function toJSON
+ * @memberof google.cloud.deploy.v1.CloudRunLocation
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ CloudRunLocation.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for CloudRunLocation
+ * @function getTypeUrl
+ * @memberof google.cloud.deploy.v1.CloudRunLocation
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ CloudRunLocation.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.cloud.deploy.v1.CloudRunLocation";
+ };
+
+ return CloudRunLocation;
+ })();
+
+ v1.ListTargetsRequest = (function() {
+
+ /**
+ * Properties of a ListTargetsRequest.
+ * @memberof google.cloud.deploy.v1
+ * @interface IListTargetsRequest
+ * @property {string|null} [parent] ListTargetsRequest parent
+ * @property {number|null} [pageSize] ListTargetsRequest pageSize
+ * @property {string|null} [pageToken] ListTargetsRequest pageToken
+ * @property {string|null} [filter] ListTargetsRequest filter
+ * @property {string|null} [orderBy] ListTargetsRequest orderBy
+ */
+
+ /**
+ * Constructs a new ListTargetsRequest.
+ * @memberof google.cloud.deploy.v1
+ * @classdesc Represents a ListTargetsRequest.
+ * @implements IListTargetsRequest
+ * @constructor
+ * @param {google.cloud.deploy.v1.IListTargetsRequest=} [properties] Properties to set
+ */
+ function ListTargetsRequest(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]];
+ }
+
+ /**
+ * ListTargetsRequest parent.
+ * @member {string} parent
+ * @memberof google.cloud.deploy.v1.ListTargetsRequest
+ * @instance
+ */
+ ListTargetsRequest.prototype.parent = "";
+
+ /**
+ * ListTargetsRequest pageSize.
+ * @member {number} pageSize
+ * @memberof google.cloud.deploy.v1.ListTargetsRequest
+ * @instance
+ */
+ ListTargetsRequest.prototype.pageSize = 0;
+
+ /**
+ * ListTargetsRequest pageToken.
+ * @member {string} pageToken
+ * @memberof google.cloud.deploy.v1.ListTargetsRequest
+ * @instance
+ */
+ ListTargetsRequest.prototype.pageToken = "";
+
+ /**
+ * ListTargetsRequest filter.
+ * @member {string} filter
+ * @memberof google.cloud.deploy.v1.ListTargetsRequest
+ * @instance
+ */
+ ListTargetsRequest.prototype.filter = "";
+
+ /**
+ * ListTargetsRequest orderBy.
+ * @member {string} orderBy
+ * @memberof google.cloud.deploy.v1.ListTargetsRequest
+ * @instance
+ */
+ ListTargetsRequest.prototype.orderBy = "";
+
+ /**
+ * Creates a new ListTargetsRequest instance using the specified properties.
+ * @function create
+ * @memberof google.cloud.deploy.v1.ListTargetsRequest
+ * @static
+ * @param {google.cloud.deploy.v1.IListTargetsRequest=} [properties] Properties to set
+ * @returns {google.cloud.deploy.v1.ListTargetsRequest} ListTargetsRequest instance
+ */
+ ListTargetsRequest.create = function create(properties) {
+ return new ListTargetsRequest(properties);
+ };
+
+ /**
+ * Encodes the specified ListTargetsRequest message. Does not implicitly {@link google.cloud.deploy.v1.ListTargetsRequest.verify|verify} messages.
+ * @function encode
+ * @memberof google.cloud.deploy.v1.ListTargetsRequest
+ * @static
+ * @param {google.cloud.deploy.v1.IListTargetsRequest} message ListTargetsRequest message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ ListTargetsRequest.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 ListTargetsRequest message, length delimited. Does not implicitly {@link google.cloud.deploy.v1.ListTargetsRequest.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.cloud.deploy.v1.ListTargetsRequest
+ * @static
+ * @param {google.cloud.deploy.v1.IListTargetsRequest} message ListTargetsRequest message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ ListTargetsRequest.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes a ListTargetsRequest message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.cloud.deploy.v1.ListTargetsRequest
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.cloud.deploy.v1.ListTargetsRequest} ListTargetsRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ ListTargetsRequest.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.deploy.v1.ListTargetsRequest();
+ 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 ListTargetsRequest message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.cloud.deploy.v1.ListTargetsRequest
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.cloud.deploy.v1.ListTargetsRequest} ListTargetsRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ ListTargetsRequest.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies a ListTargetsRequest message.
+ * @function verify
+ * @memberof google.cloud.deploy.v1.ListTargetsRequest
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ ListTargetsRequest.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 ListTargetsRequest message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.cloud.deploy.v1.ListTargetsRequest
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.cloud.deploy.v1.ListTargetsRequest} ListTargetsRequest
+ */
+ ListTargetsRequest.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.cloud.deploy.v1.ListTargetsRequest)
+ return object;
+ var message = new $root.google.cloud.deploy.v1.ListTargetsRequest();
+ 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 ListTargetsRequest message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.cloud.deploy.v1.ListTargetsRequest
+ * @static
+ * @param {google.cloud.deploy.v1.ListTargetsRequest} message ListTargetsRequest
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ ListTargetsRequest.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 ListTargetsRequest to JSON.
+ * @function toJSON
+ * @memberof google.cloud.deploy.v1.ListTargetsRequest
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ ListTargetsRequest.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for ListTargetsRequest
+ * @function getTypeUrl
+ * @memberof google.cloud.deploy.v1.ListTargetsRequest
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ ListTargetsRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.cloud.deploy.v1.ListTargetsRequest";
+ };
+
+ return ListTargetsRequest;
+ })();
+
+ v1.ListTargetsResponse = (function() {
+
+ /**
+ * Properties of a ListTargetsResponse.
+ * @memberof google.cloud.deploy.v1
+ * @interface IListTargetsResponse
+ * @property {Array.|null} [targets] ListTargetsResponse targets
+ * @property {string|null} [nextPageToken] ListTargetsResponse nextPageToken
+ * @property {Array.|null} [unreachable] ListTargetsResponse unreachable
+ */
+
+ /**
+ * Constructs a new ListTargetsResponse.
+ * @memberof google.cloud.deploy.v1
+ * @classdesc Represents a ListTargetsResponse.
+ * @implements IListTargetsResponse
+ * @constructor
+ * @param {google.cloud.deploy.v1.IListTargetsResponse=} [properties] Properties to set
+ */
+ function ListTargetsResponse(properties) {
+ this.targets = [];
+ 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]];
+ }
+
+ /**
+ * ListTargetsResponse targets.
+ * @member {Array.} targets
+ * @memberof google.cloud.deploy.v1.ListTargetsResponse
+ * @instance
+ */
+ ListTargetsResponse.prototype.targets = $util.emptyArray;
+
+ /**
+ * ListTargetsResponse nextPageToken.
+ * @member {string} nextPageToken
+ * @memberof google.cloud.deploy.v1.ListTargetsResponse
+ * @instance
+ */
+ ListTargetsResponse.prototype.nextPageToken = "";
+
+ /**
+ * ListTargetsResponse unreachable.
+ * @member {Array.} unreachable
+ * @memberof google.cloud.deploy.v1.ListTargetsResponse
+ * @instance
+ */
+ ListTargetsResponse.prototype.unreachable = $util.emptyArray;
+
+ /**
+ * Creates a new ListTargetsResponse instance using the specified properties.
+ * @function create
+ * @memberof google.cloud.deploy.v1.ListTargetsResponse
+ * @static
+ * @param {google.cloud.deploy.v1.IListTargetsResponse=} [properties] Properties to set
+ * @returns {google.cloud.deploy.v1.ListTargetsResponse} ListTargetsResponse instance
+ */
+ ListTargetsResponse.create = function create(properties) {
+ return new ListTargetsResponse(properties);
+ };
+
+ /**
+ * Encodes the specified ListTargetsResponse message. Does not implicitly {@link google.cloud.deploy.v1.ListTargetsResponse.verify|verify} messages.
+ * @function encode
+ * @memberof google.cloud.deploy.v1.ListTargetsResponse
+ * @static
+ * @param {google.cloud.deploy.v1.IListTargetsResponse} message ListTargetsResponse message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ ListTargetsResponse.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.targets != null && message.targets.length)
+ for (var i = 0; i < message.targets.length; ++i)
+ $root.google.cloud.deploy.v1.Target.encode(message.targets[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 3, wireType 2 =*/26).string(message.unreachable[i]);
+ return writer;
+ };
+
+ /**
+ * Encodes the specified ListTargetsResponse message, length delimited. Does not implicitly {@link google.cloud.deploy.v1.ListTargetsResponse.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.cloud.deploy.v1.ListTargetsResponse
+ * @static
+ * @param {google.cloud.deploy.v1.IListTargetsResponse} message ListTargetsResponse message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ ListTargetsResponse.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes a ListTargetsResponse message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.cloud.deploy.v1.ListTargetsResponse
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.cloud.deploy.v1.ListTargetsResponse} ListTargetsResponse
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ ListTargetsResponse.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.deploy.v1.ListTargetsResponse();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ switch (tag >>> 3) {
+ case 1: {
+ if (!(message.targets && message.targets.length))
+ message.targets = [];
+ message.targets.push($root.google.cloud.deploy.v1.Target.decode(reader, reader.uint32()));
+ break;
+ }
+ case 2: {
+ message.nextPageToken = reader.string();
+ break;
+ }
+ case 3: {
+ if (!(message.unreachable && message.unreachable.length))
+ message.unreachable = [];
+ message.unreachable.push(reader.string());
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes a ListTargetsResponse message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.cloud.deploy.v1.ListTargetsResponse
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.cloud.deploy.v1.ListTargetsResponse} ListTargetsResponse
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ ListTargetsResponse.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies a ListTargetsResponse message.
+ * @function verify
+ * @memberof google.cloud.deploy.v1.ListTargetsResponse
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ ListTargetsResponse.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ if (message.targets != null && message.hasOwnProperty("targets")) {
+ if (!Array.isArray(message.targets))
+ return "targets: array expected";
+ for (var i = 0; i < message.targets.length; ++i) {
+ var error = $root.google.cloud.deploy.v1.Target.verify(message.targets[i]);
+ if (error)
+ return "targets." + 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 ListTargetsResponse message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.cloud.deploy.v1.ListTargetsResponse
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.cloud.deploy.v1.ListTargetsResponse} ListTargetsResponse
+ */
+ ListTargetsResponse.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.cloud.deploy.v1.ListTargetsResponse)
+ return object;
+ var message = new $root.google.cloud.deploy.v1.ListTargetsResponse();
+ if (object.targets) {
+ if (!Array.isArray(object.targets))
+ throw TypeError(".google.cloud.deploy.v1.ListTargetsResponse.targets: array expected");
+ message.targets = [];
+ for (var i = 0; i < object.targets.length; ++i) {
+ if (typeof object.targets[i] !== "object")
+ throw TypeError(".google.cloud.deploy.v1.ListTargetsResponse.targets: object expected");
+ message.targets[i] = $root.google.cloud.deploy.v1.Target.fromObject(object.targets[i]);
+ }
+ }
+ if (object.nextPageToken != null)
+ message.nextPageToken = String(object.nextPageToken);
+ if (object.unreachable) {
+ if (!Array.isArray(object.unreachable))
+ throw TypeError(".google.cloud.deploy.v1.ListTargetsResponse.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 ListTargetsResponse message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.cloud.deploy.v1.ListTargetsResponse
+ * @static
+ * @param {google.cloud.deploy.v1.ListTargetsResponse} message ListTargetsResponse
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ ListTargetsResponse.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.arrays || options.defaults) {
+ object.targets = [];
+ object.unreachable = [];
+ }
+ if (options.defaults)
+ object.nextPageToken = "";
+ if (message.targets && message.targets.length) {
+ object.targets = [];
+ for (var j = 0; j < message.targets.length; ++j)
+ object.targets[j] = $root.google.cloud.deploy.v1.Target.toObject(message.targets[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 ListTargetsResponse to JSON.
+ * @function toJSON
+ * @memberof google.cloud.deploy.v1.ListTargetsResponse
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ ListTargetsResponse.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for ListTargetsResponse
+ * @function getTypeUrl
+ * @memberof google.cloud.deploy.v1.ListTargetsResponse
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ ListTargetsResponse.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.cloud.deploy.v1.ListTargetsResponse";
+ };
+
+ return ListTargetsResponse;
+ })();
+
+ v1.GetTargetRequest = (function() {
+
+ /**
+ * Properties of a GetTargetRequest.
+ * @memberof google.cloud.deploy.v1
+ * @interface IGetTargetRequest
+ * @property {string|null} [name] GetTargetRequest name
+ */
+
+ /**
+ * Constructs a new GetTargetRequest.
+ * @memberof google.cloud.deploy.v1
+ * @classdesc Represents a GetTargetRequest.
+ * @implements IGetTargetRequest
+ * @constructor
+ * @param {google.cloud.deploy.v1.IGetTargetRequest=} [properties] Properties to set
+ */
+ function GetTargetRequest(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]];
+ }
+
+ /**
+ * GetTargetRequest name.
+ * @member {string} name
+ * @memberof google.cloud.deploy.v1.GetTargetRequest
+ * @instance
+ */
+ GetTargetRequest.prototype.name = "";
+
+ /**
+ * Creates a new GetTargetRequest instance using the specified properties.
+ * @function create
+ * @memberof google.cloud.deploy.v1.GetTargetRequest
+ * @static
+ * @param {google.cloud.deploy.v1.IGetTargetRequest=} [properties] Properties to set
+ * @returns {google.cloud.deploy.v1.GetTargetRequest} GetTargetRequest instance
+ */
+ GetTargetRequest.create = function create(properties) {
+ return new GetTargetRequest(properties);
+ };
+
+ /**
+ * Encodes the specified GetTargetRequest message. Does not implicitly {@link google.cloud.deploy.v1.GetTargetRequest.verify|verify} messages.
+ * @function encode
+ * @memberof google.cloud.deploy.v1.GetTargetRequest
+ * @static
+ * @param {google.cloud.deploy.v1.IGetTargetRequest} message GetTargetRequest message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ GetTargetRequest.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 GetTargetRequest message, length delimited. Does not implicitly {@link google.cloud.deploy.v1.GetTargetRequest.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.cloud.deploy.v1.GetTargetRequest
+ * @static
+ * @param {google.cloud.deploy.v1.IGetTargetRequest} message GetTargetRequest message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ GetTargetRequest.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes a GetTargetRequest message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.cloud.deploy.v1.GetTargetRequest
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.cloud.deploy.v1.GetTargetRequest} GetTargetRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ GetTargetRequest.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.deploy.v1.GetTargetRequest();
+ 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 GetTargetRequest message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.cloud.deploy.v1.GetTargetRequest
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.cloud.deploy.v1.GetTargetRequest} GetTargetRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ GetTargetRequest.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies a GetTargetRequest message.
+ * @function verify
+ * @memberof google.cloud.deploy.v1.GetTargetRequest
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ GetTargetRequest.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 GetTargetRequest message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.cloud.deploy.v1.GetTargetRequest
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.cloud.deploy.v1.GetTargetRequest} GetTargetRequest
+ */
+ GetTargetRequest.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.cloud.deploy.v1.GetTargetRequest)
+ return object;
+ var message = new $root.google.cloud.deploy.v1.GetTargetRequest();
+ if (object.name != null)
+ message.name = String(object.name);
+ return message;
+ };
+
+ /**
+ * Creates a plain object from a GetTargetRequest message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.cloud.deploy.v1.GetTargetRequest
+ * @static
+ * @param {google.cloud.deploy.v1.GetTargetRequest} message GetTargetRequest
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ GetTargetRequest.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 GetTargetRequest to JSON.
+ * @function toJSON
+ * @memberof google.cloud.deploy.v1.GetTargetRequest
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ GetTargetRequest.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for GetTargetRequest
+ * @function getTypeUrl
+ * @memberof google.cloud.deploy.v1.GetTargetRequest
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ GetTargetRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.cloud.deploy.v1.GetTargetRequest";
+ };
+
+ return GetTargetRequest;
+ })();
+
+ v1.CreateTargetRequest = (function() {
+
+ /**
+ * Properties of a CreateTargetRequest.
+ * @memberof google.cloud.deploy.v1
+ * @interface ICreateTargetRequest
+ * @property {string|null} [parent] CreateTargetRequest parent
+ * @property {string|null} [targetId] CreateTargetRequest targetId
+ * @property {google.cloud.deploy.v1.ITarget|null} [target] CreateTargetRequest target
+ * @property {string|null} [requestId] CreateTargetRequest requestId
+ * @property {boolean|null} [validateOnly] CreateTargetRequest validateOnly
+ */
+
+ /**
+ * Constructs a new CreateTargetRequest.
+ * @memberof google.cloud.deploy.v1
+ * @classdesc Represents a CreateTargetRequest.
+ * @implements ICreateTargetRequest
+ * @constructor
+ * @param {google.cloud.deploy.v1.ICreateTargetRequest=} [properties] Properties to set
+ */
+ function CreateTargetRequest(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]];
+ }
+
+ /**
+ * CreateTargetRequest parent.
+ * @member {string} parent
+ * @memberof google.cloud.deploy.v1.CreateTargetRequest
+ * @instance
+ */
+ CreateTargetRequest.prototype.parent = "";
+
+ /**
+ * CreateTargetRequest targetId.
+ * @member {string} targetId
+ * @memberof google.cloud.deploy.v1.CreateTargetRequest
+ * @instance
+ */
+ CreateTargetRequest.prototype.targetId = "";
+
+ /**
+ * CreateTargetRequest target.
+ * @member {google.cloud.deploy.v1.ITarget|null|undefined} target
+ * @memberof google.cloud.deploy.v1.CreateTargetRequest
+ * @instance
+ */
+ CreateTargetRequest.prototype.target = null;
+
+ /**
+ * CreateTargetRequest requestId.
+ * @member {string} requestId
+ * @memberof google.cloud.deploy.v1.CreateTargetRequest
+ * @instance
+ */
+ CreateTargetRequest.prototype.requestId = "";
+
+ /**
+ * CreateTargetRequest validateOnly.
+ * @member {boolean} validateOnly
+ * @memberof google.cloud.deploy.v1.CreateTargetRequest
+ * @instance
+ */
+ CreateTargetRequest.prototype.validateOnly = false;
+
+ /**
+ * Creates a new CreateTargetRequest instance using the specified properties.
+ * @function create
+ * @memberof google.cloud.deploy.v1.CreateTargetRequest
+ * @static
+ * @param {google.cloud.deploy.v1.ICreateTargetRequest=} [properties] Properties to set
+ * @returns {google.cloud.deploy.v1.CreateTargetRequest} CreateTargetRequest instance
+ */
+ CreateTargetRequest.create = function create(properties) {
+ return new CreateTargetRequest(properties);
+ };
+
+ /**
+ * Encodes the specified CreateTargetRequest message. Does not implicitly {@link google.cloud.deploy.v1.CreateTargetRequest.verify|verify} messages.
+ * @function encode
+ * @memberof google.cloud.deploy.v1.CreateTargetRequest
+ * @static
+ * @param {google.cloud.deploy.v1.ICreateTargetRequest} message CreateTargetRequest message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ CreateTargetRequest.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.targetId != null && Object.hasOwnProperty.call(message, "targetId"))
+ writer.uint32(/* id 2, wireType 2 =*/18).string(message.targetId);
+ if (message.target != null && Object.hasOwnProperty.call(message, "target"))
+ $root.google.cloud.deploy.v1.Target.encode(message.target, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim();
+ if (message.requestId != null && Object.hasOwnProperty.call(message, "requestId"))
+ writer.uint32(/* id 4, wireType 2 =*/34).string(message.requestId);
+ if (message.validateOnly != null && Object.hasOwnProperty.call(message, "validateOnly"))
+ writer.uint32(/* id 5, wireType 0 =*/40).bool(message.validateOnly);
+ return writer;
+ };
+
+ /**
+ * Encodes the specified CreateTargetRequest message, length delimited. Does not implicitly {@link google.cloud.deploy.v1.CreateTargetRequest.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.cloud.deploy.v1.CreateTargetRequest
+ * @static
+ * @param {google.cloud.deploy.v1.ICreateTargetRequest} message CreateTargetRequest message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ CreateTargetRequest.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes a CreateTargetRequest message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.cloud.deploy.v1.CreateTargetRequest
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.cloud.deploy.v1.CreateTargetRequest} CreateTargetRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ CreateTargetRequest.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.deploy.v1.CreateTargetRequest();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ switch (tag >>> 3) {
+ case 1: {
+ message.parent = reader.string();
+ break;
+ }
+ case 2: {
+ message.targetId = reader.string();
+ break;
+ }
+ case 3: {
+ message.target = $root.google.cloud.deploy.v1.Target.decode(reader, reader.uint32());
+ break;
+ }
+ case 4: {
+ message.requestId = reader.string();
+ break;
+ }
+ case 5: {
+ message.validateOnly = reader.bool();
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes a CreateTargetRequest message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.cloud.deploy.v1.CreateTargetRequest
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.cloud.deploy.v1.CreateTargetRequest} CreateTargetRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ CreateTargetRequest.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies a CreateTargetRequest message.
+ * @function verify
+ * @memberof google.cloud.deploy.v1.CreateTargetRequest
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ CreateTargetRequest.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.targetId != null && message.hasOwnProperty("targetId"))
+ if (!$util.isString(message.targetId))
+ return "targetId: string expected";
+ if (message.target != null && message.hasOwnProperty("target")) {
+ var error = $root.google.cloud.deploy.v1.Target.verify(message.target);
+ if (error)
+ return "target." + error;
+ }
+ if (message.requestId != null && message.hasOwnProperty("requestId"))
+ if (!$util.isString(message.requestId))
+ return "requestId: string expected";
+ if (message.validateOnly != null && message.hasOwnProperty("validateOnly"))
+ if (typeof message.validateOnly !== "boolean")
+ return "validateOnly: boolean expected";
+ return null;
+ };
+
+ /**
+ * Creates a CreateTargetRequest message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.cloud.deploy.v1.CreateTargetRequest
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.cloud.deploy.v1.CreateTargetRequest} CreateTargetRequest
+ */
+ CreateTargetRequest.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.cloud.deploy.v1.CreateTargetRequest)
+ return object;
+ var message = new $root.google.cloud.deploy.v1.CreateTargetRequest();
+ if (object.parent != null)
+ message.parent = String(object.parent);
+ if (object.targetId != null)
+ message.targetId = String(object.targetId);
+ if (object.target != null) {
+ if (typeof object.target !== "object")
+ throw TypeError(".google.cloud.deploy.v1.CreateTargetRequest.target: object expected");
+ message.target = $root.google.cloud.deploy.v1.Target.fromObject(object.target);
+ }
+ if (object.requestId != null)
+ message.requestId = String(object.requestId);
+ if (object.validateOnly != null)
+ message.validateOnly = Boolean(object.validateOnly);
+ return message;
+ };
+
+ /**
+ * Creates a plain object from a CreateTargetRequest message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.cloud.deploy.v1.CreateTargetRequest
+ * @static
+ * @param {google.cloud.deploy.v1.CreateTargetRequest} message CreateTargetRequest
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ CreateTargetRequest.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.defaults) {
+ object.parent = "";
+ object.targetId = "";
+ object.target = null;
+ object.requestId = "";
+ object.validateOnly = false;
+ }
+ if (message.parent != null && message.hasOwnProperty("parent"))
+ object.parent = message.parent;
+ if (message.targetId != null && message.hasOwnProperty("targetId"))
+ object.targetId = message.targetId;
+ if (message.target != null && message.hasOwnProperty("target"))
+ object.target = $root.google.cloud.deploy.v1.Target.toObject(message.target, options);
+ if (message.requestId != null && message.hasOwnProperty("requestId"))
+ object.requestId = message.requestId;
+ if (message.validateOnly != null && message.hasOwnProperty("validateOnly"))
+ object.validateOnly = message.validateOnly;
+ return object;
+ };
+
+ /**
+ * Converts this CreateTargetRequest to JSON.
+ * @function toJSON
+ * @memberof google.cloud.deploy.v1.CreateTargetRequest
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ CreateTargetRequest.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for CreateTargetRequest
+ * @function getTypeUrl
+ * @memberof google.cloud.deploy.v1.CreateTargetRequest
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ CreateTargetRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.cloud.deploy.v1.CreateTargetRequest";
+ };
+
+ return CreateTargetRequest;
+ })();
+
+ v1.UpdateTargetRequest = (function() {
+
+ /**
+ * Properties of an UpdateTargetRequest.
+ * @memberof google.cloud.deploy.v1
+ * @interface IUpdateTargetRequest
+ * @property {google.protobuf.IFieldMask|null} [updateMask] UpdateTargetRequest updateMask
+ * @property {google.cloud.deploy.v1.ITarget|null} [target] UpdateTargetRequest target
+ * @property {string|null} [requestId] UpdateTargetRequest requestId
+ * @property {boolean|null} [allowMissing] UpdateTargetRequest allowMissing
+ * @property {boolean|null} [validateOnly] UpdateTargetRequest validateOnly
+ */
+
+ /**
+ * Constructs a new UpdateTargetRequest.
+ * @memberof google.cloud.deploy.v1
+ * @classdesc Represents an UpdateTargetRequest.
+ * @implements IUpdateTargetRequest
+ * @constructor
+ * @param {google.cloud.deploy.v1.IUpdateTargetRequest=} [properties] Properties to set
+ */
+ function UpdateTargetRequest(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]];
+ }
+
+ /**
+ * UpdateTargetRequest updateMask.
+ * @member {google.protobuf.IFieldMask|null|undefined} updateMask
+ * @memberof google.cloud.deploy.v1.UpdateTargetRequest
+ * @instance
+ */
+ UpdateTargetRequest.prototype.updateMask = null;
+
+ /**
+ * UpdateTargetRequest target.
+ * @member {google.cloud.deploy.v1.ITarget|null|undefined} target
+ * @memberof google.cloud.deploy.v1.UpdateTargetRequest
+ * @instance
+ */
+ UpdateTargetRequest.prototype.target = null;
+
+ /**
+ * UpdateTargetRequest requestId.
+ * @member {string} requestId
+ * @memberof google.cloud.deploy.v1.UpdateTargetRequest
+ * @instance
+ */
+ UpdateTargetRequest.prototype.requestId = "";
+
+ /**
+ * UpdateTargetRequest allowMissing.
+ * @member {boolean} allowMissing
+ * @memberof google.cloud.deploy.v1.UpdateTargetRequest
+ * @instance
+ */
+ UpdateTargetRequest.prototype.allowMissing = false;
+
+ /**
+ * UpdateTargetRequest validateOnly.
+ * @member {boolean} validateOnly
+ * @memberof google.cloud.deploy.v1.UpdateTargetRequest
+ * @instance
+ */
+ UpdateTargetRequest.prototype.validateOnly = false;
+
+ /**
+ * Creates a new UpdateTargetRequest instance using the specified properties.
+ * @function create
+ * @memberof google.cloud.deploy.v1.UpdateTargetRequest
+ * @static
+ * @param {google.cloud.deploy.v1.IUpdateTargetRequest=} [properties] Properties to set
+ * @returns {google.cloud.deploy.v1.UpdateTargetRequest} UpdateTargetRequest instance
+ */
+ UpdateTargetRequest.create = function create(properties) {
+ return new UpdateTargetRequest(properties);
+ };
+
+ /**
+ * Encodes the specified UpdateTargetRequest message. Does not implicitly {@link google.cloud.deploy.v1.UpdateTargetRequest.verify|verify} messages.
+ * @function encode
+ * @memberof google.cloud.deploy.v1.UpdateTargetRequest
+ * @static
+ * @param {google.cloud.deploy.v1.IUpdateTargetRequest} message UpdateTargetRequest message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ UpdateTargetRequest.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.updateMask != null && Object.hasOwnProperty.call(message, "updateMask"))
+ $root.google.protobuf.FieldMask.encode(message.updateMask, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
+ if (message.target != null && Object.hasOwnProperty.call(message, "target"))
+ $root.google.cloud.deploy.v1.Target.encode(message.target, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
+ if (message.requestId != null && Object.hasOwnProperty.call(message, "requestId"))
+ writer.uint32(/* id 3, wireType 2 =*/26).string(message.requestId);
+ if (message.allowMissing != null && Object.hasOwnProperty.call(message, "allowMissing"))
+ writer.uint32(/* id 4, wireType 0 =*/32).bool(message.allowMissing);
+ if (message.validateOnly != null && Object.hasOwnProperty.call(message, "validateOnly"))
+ writer.uint32(/* id 5, wireType 0 =*/40).bool(message.validateOnly);
+ return writer;
+ };
+
+ /**
+ * Encodes the specified UpdateTargetRequest message, length delimited. Does not implicitly {@link google.cloud.deploy.v1.UpdateTargetRequest.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.cloud.deploy.v1.UpdateTargetRequest
+ * @static
+ * @param {google.cloud.deploy.v1.IUpdateTargetRequest} message UpdateTargetRequest message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ UpdateTargetRequest.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes an UpdateTargetRequest message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.cloud.deploy.v1.UpdateTargetRequest
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.cloud.deploy.v1.UpdateTargetRequest} UpdateTargetRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ UpdateTargetRequest.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.deploy.v1.UpdateTargetRequest();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ switch (tag >>> 3) {
+ case 1: {
+ message.updateMask = $root.google.protobuf.FieldMask.decode(reader, reader.uint32());
+ break;
+ }
+ case 2: {
+ message.target = $root.google.cloud.deploy.v1.Target.decode(reader, reader.uint32());
+ break;
+ }
+ case 3: {
+ message.requestId = reader.string();
+ break;
+ }
+ case 4: {
+ message.allowMissing = reader.bool();
+ break;
+ }
+ case 5: {
+ message.validateOnly = reader.bool();
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes an UpdateTargetRequest message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.cloud.deploy.v1.UpdateTargetRequest
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.cloud.deploy.v1.UpdateTargetRequest} UpdateTargetRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ UpdateTargetRequest.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies an UpdateTargetRequest message.
+ * @function verify
+ * @memberof google.cloud.deploy.v1.UpdateTargetRequest
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ UpdateTargetRequest.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ if (message.updateMask != null && message.hasOwnProperty("updateMask")) {
+ var error = $root.google.protobuf.FieldMask.verify(message.updateMask);
+ if (error)
+ return "updateMask." + error;
+ }
+ if (message.target != null && message.hasOwnProperty("target")) {
+ var error = $root.google.cloud.deploy.v1.Target.verify(message.target);
+ if (error)
+ return "target." + error;
+ }
+ if (message.requestId != null && message.hasOwnProperty("requestId"))
+ if (!$util.isString(message.requestId))
+ return "requestId: string expected";
+ if (message.allowMissing != null && message.hasOwnProperty("allowMissing"))
+ if (typeof message.allowMissing !== "boolean")
+ return "allowMissing: boolean expected";
+ if (message.validateOnly != null && message.hasOwnProperty("validateOnly"))
+ if (typeof message.validateOnly !== "boolean")
+ return "validateOnly: boolean expected";
+ return null;
+ };
+
+ /**
+ * Creates an UpdateTargetRequest message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.cloud.deploy.v1.UpdateTargetRequest
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.cloud.deploy.v1.UpdateTargetRequest} UpdateTargetRequest
+ */
+ UpdateTargetRequest.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.cloud.deploy.v1.UpdateTargetRequest)
+ return object;
+ var message = new $root.google.cloud.deploy.v1.UpdateTargetRequest();
+ if (object.updateMask != null) {
+ if (typeof object.updateMask !== "object")
+ throw TypeError(".google.cloud.deploy.v1.UpdateTargetRequest.updateMask: object expected");
+ message.updateMask = $root.google.protobuf.FieldMask.fromObject(object.updateMask);
+ }
+ if (object.target != null) {
+ if (typeof object.target !== "object")
+ throw TypeError(".google.cloud.deploy.v1.UpdateTargetRequest.target: object expected");
+ message.target = $root.google.cloud.deploy.v1.Target.fromObject(object.target);
+ }
+ if (object.requestId != null)
+ message.requestId = String(object.requestId);
+ if (object.allowMissing != null)
+ message.allowMissing = Boolean(object.allowMissing);
+ if (object.validateOnly != null)
+ message.validateOnly = Boolean(object.validateOnly);
+ return message;
+ };
+
+ /**
+ * Creates a plain object from an UpdateTargetRequest message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.cloud.deploy.v1.UpdateTargetRequest
+ * @static
+ * @param {google.cloud.deploy.v1.UpdateTargetRequest} message UpdateTargetRequest
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ UpdateTargetRequest.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.defaults) {
+ object.updateMask = null;
+ object.target = null;
+ object.requestId = "";
+ object.allowMissing = false;
+ object.validateOnly = false;
+ }
+ if (message.updateMask != null && message.hasOwnProperty("updateMask"))
+ object.updateMask = $root.google.protobuf.FieldMask.toObject(message.updateMask, options);
+ if (message.target != null && message.hasOwnProperty("target"))
+ object.target = $root.google.cloud.deploy.v1.Target.toObject(message.target, options);
+ if (message.requestId != null && message.hasOwnProperty("requestId"))
+ object.requestId = message.requestId;
+ if (message.allowMissing != null && message.hasOwnProperty("allowMissing"))
+ object.allowMissing = message.allowMissing;
+ if (message.validateOnly != null && message.hasOwnProperty("validateOnly"))
+ object.validateOnly = message.validateOnly;
+ return object;
+ };
+
+ /**
+ * Converts this UpdateTargetRequest to JSON.
+ * @function toJSON
+ * @memberof google.cloud.deploy.v1.UpdateTargetRequest
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ UpdateTargetRequest.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for UpdateTargetRequest
+ * @function getTypeUrl
+ * @memberof google.cloud.deploy.v1.UpdateTargetRequest
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ UpdateTargetRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.cloud.deploy.v1.UpdateTargetRequest";
+ };
+
+ return UpdateTargetRequest;
+ })();
+
+ v1.DeleteTargetRequest = (function() {
+
+ /**
+ * Properties of a DeleteTargetRequest.
+ * @memberof google.cloud.deploy.v1
+ * @interface IDeleteTargetRequest
+ * @property {string|null} [name] DeleteTargetRequest name
+ * @property {string|null} [requestId] DeleteTargetRequest requestId
+ * @property {boolean|null} [allowMissing] DeleteTargetRequest allowMissing
+ * @property {boolean|null} [validateOnly] DeleteTargetRequest validateOnly
+ * @property {string|null} [etag] DeleteTargetRequest etag
+ */
+
+ /**
+ * Constructs a new DeleteTargetRequest.
+ * @memberof google.cloud.deploy.v1
+ * @classdesc Represents a DeleteTargetRequest.
+ * @implements IDeleteTargetRequest
+ * @constructor
+ * @param {google.cloud.deploy.v1.IDeleteTargetRequest=} [properties] Properties to set
+ */
+ function DeleteTargetRequest(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]];
+ }
+
+ /**
+ * DeleteTargetRequest name.
+ * @member {string} name
+ * @memberof google.cloud.deploy.v1.DeleteTargetRequest
+ * @instance
+ */
+ DeleteTargetRequest.prototype.name = "";
+
+ /**
+ * DeleteTargetRequest requestId.
+ * @member {string} requestId
+ * @memberof google.cloud.deploy.v1.DeleteTargetRequest
+ * @instance
+ */
+ DeleteTargetRequest.prototype.requestId = "";
+
+ /**
+ * DeleteTargetRequest allowMissing.
+ * @member {boolean} allowMissing
+ * @memberof google.cloud.deploy.v1.DeleteTargetRequest
+ * @instance
+ */
+ DeleteTargetRequest.prototype.allowMissing = false;
+
+ /**
+ * DeleteTargetRequest validateOnly.
+ * @member {boolean} validateOnly
+ * @memberof google.cloud.deploy.v1.DeleteTargetRequest
+ * @instance
+ */
+ DeleteTargetRequest.prototype.validateOnly = false;
+
+ /**
+ * DeleteTargetRequest etag.
+ * @member {string} etag
+ * @memberof google.cloud.deploy.v1.DeleteTargetRequest
+ * @instance
+ */
+ DeleteTargetRequest.prototype.etag = "";
+
+ /**
+ * Creates a new DeleteTargetRequest instance using the specified properties.
+ * @function create
+ * @memberof google.cloud.deploy.v1.DeleteTargetRequest
+ * @static
+ * @param {google.cloud.deploy.v1.IDeleteTargetRequest=} [properties] Properties to set
+ * @returns {google.cloud.deploy.v1.DeleteTargetRequest} DeleteTargetRequest instance
+ */
+ DeleteTargetRequest.create = function create(properties) {
+ return new DeleteTargetRequest(properties);
+ };
+
+ /**
+ * Encodes the specified DeleteTargetRequest message. Does not implicitly {@link google.cloud.deploy.v1.DeleteTargetRequest.verify|verify} messages.
+ * @function encode
+ * @memberof google.cloud.deploy.v1.DeleteTargetRequest
+ * @static
+ * @param {google.cloud.deploy.v1.IDeleteTargetRequest} message DeleteTargetRequest message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ DeleteTargetRequest.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.requestId != null && Object.hasOwnProperty.call(message, "requestId"))
+ writer.uint32(/* id 2, wireType 2 =*/18).string(message.requestId);
+ if (message.allowMissing != null && Object.hasOwnProperty.call(message, "allowMissing"))
+ writer.uint32(/* id 3, wireType 0 =*/24).bool(message.allowMissing);
+ if (message.validateOnly != null && Object.hasOwnProperty.call(message, "validateOnly"))
+ writer.uint32(/* id 4, wireType 0 =*/32).bool(message.validateOnly);
+ if (message.etag != null && Object.hasOwnProperty.call(message, "etag"))
+ writer.uint32(/* id 5, wireType 2 =*/42).string(message.etag);
+ return writer;
+ };
+
+ /**
+ * Encodes the specified DeleteTargetRequest message, length delimited. Does not implicitly {@link google.cloud.deploy.v1.DeleteTargetRequest.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.cloud.deploy.v1.DeleteTargetRequest
+ * @static
+ * @param {google.cloud.deploy.v1.IDeleteTargetRequest} message DeleteTargetRequest message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ DeleteTargetRequest.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes a DeleteTargetRequest message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.cloud.deploy.v1.DeleteTargetRequest
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.cloud.deploy.v1.DeleteTargetRequest} DeleteTargetRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ DeleteTargetRequest.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.deploy.v1.DeleteTargetRequest();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ switch (tag >>> 3) {
+ case 1: {
+ message.name = reader.string();
+ break;
+ }
+ case 2: {
+ message.requestId = reader.string();
+ break;
+ }
+ case 3: {
+ message.allowMissing = reader.bool();
+ break;
+ }
+ case 4: {
+ message.validateOnly = reader.bool();
+ break;
+ }
+ case 5: {
+ message.etag = reader.string();
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes a DeleteTargetRequest message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.cloud.deploy.v1.DeleteTargetRequest
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.cloud.deploy.v1.DeleteTargetRequest} DeleteTargetRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ DeleteTargetRequest.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies a DeleteTargetRequest message.
+ * @function verify
+ * @memberof google.cloud.deploy.v1.DeleteTargetRequest
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ DeleteTargetRequest.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.requestId != null && message.hasOwnProperty("requestId"))
+ if (!$util.isString(message.requestId))
+ return "requestId: string expected";
+ if (message.allowMissing != null && message.hasOwnProperty("allowMissing"))
+ if (typeof message.allowMissing !== "boolean")
+ return "allowMissing: boolean expected";
+ if (message.validateOnly != null && message.hasOwnProperty("validateOnly"))
+ if (typeof message.validateOnly !== "boolean")
+ return "validateOnly: boolean expected";
+ if (message.etag != null && message.hasOwnProperty("etag"))
+ if (!$util.isString(message.etag))
+ return "etag: string expected";
+ return null;
+ };
+
+ /**
+ * Creates a DeleteTargetRequest message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.cloud.deploy.v1.DeleteTargetRequest
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.cloud.deploy.v1.DeleteTargetRequest} DeleteTargetRequest
+ */
+ DeleteTargetRequest.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.cloud.deploy.v1.DeleteTargetRequest)
+ return object;
+ var message = new $root.google.cloud.deploy.v1.DeleteTargetRequest();
+ if (object.name != null)
+ message.name = String(object.name);
+ if (object.requestId != null)
+ message.requestId = String(object.requestId);
+ if (object.allowMissing != null)
+ message.allowMissing = Boolean(object.allowMissing);
+ if (object.validateOnly != null)
+ message.validateOnly = Boolean(object.validateOnly);
+ if (object.etag != null)
+ message.etag = String(object.etag);
+ return message;
+ };
+
+ /**
+ * Creates a plain object from a DeleteTargetRequest message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.cloud.deploy.v1.DeleteTargetRequest
+ * @static
+ * @param {google.cloud.deploy.v1.DeleteTargetRequest} message DeleteTargetRequest
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ DeleteTargetRequest.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.defaults) {
+ object.name = "";
+ object.requestId = "";
+ object.allowMissing = false;
+ object.validateOnly = false;
+ object.etag = "";
+ }
+ if (message.name != null && message.hasOwnProperty("name"))
+ object.name = message.name;
+ if (message.requestId != null && message.hasOwnProperty("requestId"))
+ object.requestId = message.requestId;
+ if (message.allowMissing != null && message.hasOwnProperty("allowMissing"))
+ object.allowMissing = message.allowMissing;
+ if (message.validateOnly != null && message.hasOwnProperty("validateOnly"))
+ object.validateOnly = message.validateOnly;
+ if (message.etag != null && message.hasOwnProperty("etag"))
+ object.etag = message.etag;
+ return object;
+ };
+
+ /**
+ * Converts this DeleteTargetRequest to JSON.
+ * @function toJSON
+ * @memberof google.cloud.deploy.v1.DeleteTargetRequest
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ DeleteTargetRequest.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for DeleteTargetRequest
+ * @function getTypeUrl
+ * @memberof google.cloud.deploy.v1.DeleteTargetRequest
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ DeleteTargetRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.cloud.deploy.v1.DeleteTargetRequest";
+ };
+
+ return DeleteTargetRequest;
+ })();
+
+ v1.Release = (function() {
+
+ /**
+ * Properties of a Release.
+ * @memberof google.cloud.deploy.v1
+ * @interface IRelease
+ * @property {string|null} [name] Release name
+ * @property {string|null} [uid] Release uid
+ * @property {string|null} [description] Release description
+ * @property {Object.|null} [annotations] Release annotations
+ * @property {Object.|null} [labels] Release labels
+ * @property {boolean|null} [abandoned] Release abandoned
+ * @property {google.protobuf.ITimestamp|null} [createTime] Release createTime
+ * @property {google.protobuf.ITimestamp|null} [renderStartTime] Release renderStartTime
+ * @property {google.protobuf.ITimestamp|null} [renderEndTime] Release renderEndTime
+ * @property {string|null} [skaffoldConfigUri] Release skaffoldConfigUri
+ * @property {string|null} [skaffoldConfigPath] Release skaffoldConfigPath
+ * @property {Array.|null} [buildArtifacts] Release buildArtifacts
+ * @property {google.cloud.deploy.v1.IDeliveryPipeline|null} [deliveryPipelineSnapshot] Release deliveryPipelineSnapshot
+ * @property {Array.|null} [targetSnapshots] Release targetSnapshots
+ * @property {google.cloud.deploy.v1.Release.RenderState|null} [renderState] Release renderState
+ * @property {string|null} [etag] Release etag
+ * @property {string|null} [skaffoldVersion] Release skaffoldVersion
+ * @property {Object.|null} [targetArtifacts] Release targetArtifacts
+ * @property {Object.|null} [targetRenders] Release targetRenders
+ */
+
+ /**
+ * Constructs a new Release.
+ * @memberof google.cloud.deploy.v1
+ * @classdesc Represents a Release.
+ * @implements IRelease
+ * @constructor
+ * @param {google.cloud.deploy.v1.IRelease=} [properties] Properties to set
+ */
+ function Release(properties) {
+ this.annotations = {};
+ this.labels = {};
+ this.buildArtifacts = [];
+ this.targetSnapshots = [];
+ this.targetArtifacts = {};
+ this.targetRenders = {};
+ 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]];
+ }
+
+ /**
+ * Release name.
+ * @member {string} name
+ * @memberof google.cloud.deploy.v1.Release
+ * @instance
+ */
+ Release.prototype.name = "";
+
+ /**
+ * Release uid.
+ * @member {string} uid
+ * @memberof google.cloud.deploy.v1.Release
+ * @instance
+ */
+ Release.prototype.uid = "";
+
+ /**
+ * Release description.
+ * @member {string} description
+ * @memberof google.cloud.deploy.v1.Release
+ * @instance
+ */
+ Release.prototype.description = "";
+
+ /**
+ * Release annotations.
+ * @member {Object.} annotations
+ * @memberof google.cloud.deploy.v1.Release
+ * @instance
+ */
+ Release.prototype.annotations = $util.emptyObject;
+
+ /**
+ * Release labels.
+ * @member {Object.} labels
+ * @memberof google.cloud.deploy.v1.Release
+ * @instance
+ */
+ Release.prototype.labels = $util.emptyObject;
+
+ /**
+ * Release abandoned.
+ * @member {boolean} abandoned
+ * @memberof google.cloud.deploy.v1.Release
+ * @instance
+ */
+ Release.prototype.abandoned = false;
+
+ /**
+ * Release createTime.
+ * @member {google.protobuf.ITimestamp|null|undefined} createTime
+ * @memberof google.cloud.deploy.v1.Release
+ * @instance
+ */
+ Release.prototype.createTime = null;
+
+ /**
+ * Release renderStartTime.
+ * @member {google.protobuf.ITimestamp|null|undefined} renderStartTime
+ * @memberof google.cloud.deploy.v1.Release
+ * @instance
+ */
+ Release.prototype.renderStartTime = null;
+
+ /**
+ * Release renderEndTime.
+ * @member {google.protobuf.ITimestamp|null|undefined} renderEndTime
+ * @memberof google.cloud.deploy.v1.Release
+ * @instance
+ */
+ Release.prototype.renderEndTime = null;
+
+ /**
+ * Release skaffoldConfigUri.
+ * @member {string} skaffoldConfigUri
+ * @memberof google.cloud.deploy.v1.Release
+ * @instance
+ */
+ Release.prototype.skaffoldConfigUri = "";
+
+ /**
+ * Release skaffoldConfigPath.
+ * @member {string} skaffoldConfigPath
+ * @memberof google.cloud.deploy.v1.Release
+ * @instance
+ */
+ Release.prototype.skaffoldConfigPath = "";
+
+ /**
+ * Release buildArtifacts.
+ * @member {Array.} buildArtifacts
+ * @memberof google.cloud.deploy.v1.Release
+ * @instance
+ */
+ Release.prototype.buildArtifacts = $util.emptyArray;
+
+ /**
+ * Release deliveryPipelineSnapshot.
+ * @member {google.cloud.deploy.v1.IDeliveryPipeline|null|undefined} deliveryPipelineSnapshot
+ * @memberof google.cloud.deploy.v1.Release
+ * @instance
+ */
+ Release.prototype.deliveryPipelineSnapshot = null;
+
+ /**
+ * Release targetSnapshots.
+ * @member {Array.} targetSnapshots
+ * @memberof google.cloud.deploy.v1.Release
+ * @instance
+ */
+ Release.prototype.targetSnapshots = $util.emptyArray;
+
+ /**
+ * Release renderState.
+ * @member {google.cloud.deploy.v1.Release.RenderState} renderState
+ * @memberof google.cloud.deploy.v1.Release
+ * @instance
+ */
+ Release.prototype.renderState = 0;
+
+ /**
+ * Release etag.
+ * @member {string} etag
+ * @memberof google.cloud.deploy.v1.Release
+ * @instance
+ */
+ Release.prototype.etag = "";
+
+ /**
+ * Release skaffoldVersion.
+ * @member {string} skaffoldVersion
+ * @memberof google.cloud.deploy.v1.Release
+ * @instance
+ */
+ Release.prototype.skaffoldVersion = "";
+
+ /**
+ * Release targetArtifacts.
+ * @member {Object.} targetArtifacts
+ * @memberof google.cloud.deploy.v1.Release
+ * @instance
+ */
+ Release.prototype.targetArtifacts = $util.emptyObject;
+
+ /**
+ * Release targetRenders.
+ * @member {Object.} targetRenders
+ * @memberof google.cloud.deploy.v1.Release
+ * @instance
+ */
+ Release.prototype.targetRenders = $util.emptyObject;
+
+ /**
+ * Creates a new Release instance using the specified properties.
+ * @function create
+ * @memberof google.cloud.deploy.v1.Release
+ * @static
+ * @param {google.cloud.deploy.v1.IRelease=} [properties] Properties to set
+ * @returns {google.cloud.deploy.v1.Release} Release instance
+ */
+ Release.create = function create(properties) {
+ return new Release(properties);
+ };
+
+ /**
+ * Encodes the specified Release message. Does not implicitly {@link google.cloud.deploy.v1.Release.verify|verify} messages.
+ * @function encode
+ * @memberof google.cloud.deploy.v1.Release
+ * @static
+ * @param {google.cloud.deploy.v1.IRelease} message Release message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ Release.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.uid != null && Object.hasOwnProperty.call(message, "uid"))
+ writer.uint32(/* id 2, wireType 2 =*/18).string(message.uid);
+ if (message.description != null && Object.hasOwnProperty.call(message, "description"))
+ writer.uint32(/* id 3, wireType 2 =*/26).string(message.description);
+ if (message.annotations != null && Object.hasOwnProperty.call(message, "annotations"))
+ for (var keys = Object.keys(message.annotations), 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.annotations[keys[i]]).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 5, wireType 2 =*/42).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]).uint32(/* id 2, wireType 2 =*/18).string(message.labels[keys[i]]).ldelim();
+ if (message.createTime != null && Object.hasOwnProperty.call(message, "createTime"))
+ $root.google.protobuf.Timestamp.encode(message.createTime, writer.uint32(/* id 6, wireType 2 =*/50).fork()).ldelim();
+ if (message.renderStartTime != null && Object.hasOwnProperty.call(message, "renderStartTime"))
+ $root.google.protobuf.Timestamp.encode(message.renderStartTime, writer.uint32(/* id 7, wireType 2 =*/58).fork()).ldelim();
+ if (message.renderEndTime != null && Object.hasOwnProperty.call(message, "renderEndTime"))
+ $root.google.protobuf.Timestamp.encode(message.renderEndTime, writer.uint32(/* id 8, wireType 2 =*/66).fork()).ldelim();
+ if (message.skaffoldConfigPath != null && Object.hasOwnProperty.call(message, "skaffoldConfigPath"))
+ writer.uint32(/* id 9, wireType 2 =*/74).string(message.skaffoldConfigPath);
+ if (message.buildArtifacts != null && message.buildArtifacts.length)
+ for (var i = 0; i < message.buildArtifacts.length; ++i)
+ $root.google.cloud.deploy.v1.BuildArtifact.encode(message.buildArtifacts[i], writer.uint32(/* id 10, wireType 2 =*/82).fork()).ldelim();
+ if (message.deliveryPipelineSnapshot != null && Object.hasOwnProperty.call(message, "deliveryPipelineSnapshot"))
+ $root.google.cloud.deploy.v1.DeliveryPipeline.encode(message.deliveryPipelineSnapshot, writer.uint32(/* id 11, wireType 2 =*/90).fork()).ldelim();
+ if (message.targetSnapshots != null && message.targetSnapshots.length)
+ for (var i = 0; i < message.targetSnapshots.length; ++i)
+ $root.google.cloud.deploy.v1.Target.encode(message.targetSnapshots[i], writer.uint32(/* id 12, wireType 2 =*/98).fork()).ldelim();
+ if (message.renderState != null && Object.hasOwnProperty.call(message, "renderState"))
+ writer.uint32(/* id 13, wireType 0 =*/104).int32(message.renderState);
+ if (message.etag != null && Object.hasOwnProperty.call(message, "etag"))
+ writer.uint32(/* id 16, wireType 2 =*/130).string(message.etag);
+ if (message.skaffoldConfigUri != null && Object.hasOwnProperty.call(message, "skaffoldConfigUri"))
+ writer.uint32(/* id 17, wireType 2 =*/138).string(message.skaffoldConfigUri);
+ if (message.skaffoldVersion != null && Object.hasOwnProperty.call(message, "skaffoldVersion"))
+ writer.uint32(/* id 19, wireType 2 =*/154).string(message.skaffoldVersion);
+ if (message.targetArtifacts != null && Object.hasOwnProperty.call(message, "targetArtifacts"))
+ for (var keys = Object.keys(message.targetArtifacts), i = 0; i < keys.length; ++i) {
+ writer.uint32(/* id 20, wireType 2 =*/162).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]);
+ $root.google.cloud.deploy.v1.TargetArtifact.encode(message.targetArtifacts[keys[i]], writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim().ldelim();
+ }
+ if (message.targetRenders != null && Object.hasOwnProperty.call(message, "targetRenders"))
+ for (var keys = Object.keys(message.targetRenders), i = 0; i < keys.length; ++i) {
+ writer.uint32(/* id 22, wireType 2 =*/178).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]);
+ $root.google.cloud.deploy.v1.Release.TargetRender.encode(message.targetRenders[keys[i]], writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim().ldelim();
+ }
+ if (message.abandoned != null && Object.hasOwnProperty.call(message, "abandoned"))
+ writer.uint32(/* id 23, wireType 0 =*/184).bool(message.abandoned);
+ return writer;
+ };
+
+ /**
+ * Encodes the specified Release message, length delimited. Does not implicitly {@link google.cloud.deploy.v1.Release.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.cloud.deploy.v1.Release
+ * @static
+ * @param {google.cloud.deploy.v1.IRelease} message Release message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ Release.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes a Release message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.cloud.deploy.v1.Release
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.cloud.deploy.v1.Release} Release
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ Release.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.deploy.v1.Release(), key, value;
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ switch (tag >>> 3) {
+ case 1: {
+ message.name = reader.string();
+ break;
+ }
+ case 2: {
+ message.uid = reader.string();
+ break;
+ }
+ case 3: {
+ message.description = reader.string();
+ break;
+ }
+ case 4: {
+ if (message.annotations === $util.emptyObject)
+ message.annotations = {};
+ 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.annotations[key] = value;
+ break;
+ }
+ case 5: {
+ 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 23: {
+ message.abandoned = reader.bool();
+ break;
+ }
+ case 6: {
+ message.createTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32());
+ break;
+ }
+ case 7: {
+ message.renderStartTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32());
+ break;
+ }
+ case 8: {
+ message.renderEndTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32());
+ break;
+ }
+ case 17: {
+ message.skaffoldConfigUri = reader.string();
+ break;
+ }
+ case 9: {
+ message.skaffoldConfigPath = reader.string();
+ break;
+ }
+ case 10: {
+ if (!(message.buildArtifacts && message.buildArtifacts.length))
+ message.buildArtifacts = [];
+ message.buildArtifacts.push($root.google.cloud.deploy.v1.BuildArtifact.decode(reader, reader.uint32()));
+ break;
+ }
+ case 11: {
+ message.deliveryPipelineSnapshot = $root.google.cloud.deploy.v1.DeliveryPipeline.decode(reader, reader.uint32());
+ break;
+ }
+ case 12: {
+ if (!(message.targetSnapshots && message.targetSnapshots.length))
+ message.targetSnapshots = [];
+ message.targetSnapshots.push($root.google.cloud.deploy.v1.Target.decode(reader, reader.uint32()));
+ break;
+ }
+ case 13: {
+ message.renderState = reader.int32();
+ break;
+ }
+ case 16: {
+ message.etag = reader.string();
+ break;
+ }
+ case 19: {
+ message.skaffoldVersion = reader.string();
+ break;
+ }
+ case 20: {
+ if (message.targetArtifacts === $util.emptyObject)
+ message.targetArtifacts = {};
+ 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.deploy.v1.TargetArtifact.decode(reader, reader.uint32());
+ break;
+ default:
+ reader.skipType(tag2 & 7);
+ break;
+ }
+ }
+ message.targetArtifacts[key] = value;
+ break;
+ }
+ case 22: {
+ if (message.targetRenders === $util.emptyObject)
+ message.targetRenders = {};
+ 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.deploy.v1.Release.TargetRender.decode(reader, reader.uint32());
+ break;
+ default:
+ reader.skipType(tag2 & 7);
+ break;
+ }
+ }
+ message.targetRenders[key] = value;
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes a Release message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.cloud.deploy.v1.Release
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.cloud.deploy.v1.Release} Release
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ Release.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies a Release message.
+ * @function verify
+ * @memberof google.cloud.deploy.v1.Release
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ Release.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.uid != null && message.hasOwnProperty("uid"))
+ if (!$util.isString(message.uid))
+ return "uid: string expected";
+ if (message.description != null && message.hasOwnProperty("description"))
+ if (!$util.isString(message.description))
+ return "description: string expected";
+ if (message.annotations != null && message.hasOwnProperty("annotations")) {
+ if (!$util.isObject(message.annotations))
+ return "annotations: object expected";
+ var key = Object.keys(message.annotations);
+ for (var i = 0; i < key.length; ++i)
+ if (!$util.isString(message.annotations[key[i]]))
+ return "annotations: string{k:string} 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";
+ }
+ if (message.abandoned != null && message.hasOwnProperty("abandoned"))
+ if (typeof message.abandoned !== "boolean")
+ return "abandoned: boolean expected";
+ if (message.createTime != null && message.hasOwnProperty("createTime")) {
+ var error = $root.google.protobuf.Timestamp.verify(message.createTime);
+ if (error)
+ return "createTime." + error;
+ }
+ if (message.renderStartTime != null && message.hasOwnProperty("renderStartTime")) {
+ var error = $root.google.protobuf.Timestamp.verify(message.renderStartTime);
+ if (error)
+ return "renderStartTime." + error;
+ }
+ if (message.renderEndTime != null && message.hasOwnProperty("renderEndTime")) {
+ var error = $root.google.protobuf.Timestamp.verify(message.renderEndTime);
+ if (error)
+ return "renderEndTime." + error;
+ }
+ if (message.skaffoldConfigUri != null && message.hasOwnProperty("skaffoldConfigUri"))
+ if (!$util.isString(message.skaffoldConfigUri))
+ return "skaffoldConfigUri: string expected";
+ if (message.skaffoldConfigPath != null && message.hasOwnProperty("skaffoldConfigPath"))
+ if (!$util.isString(message.skaffoldConfigPath))
+ return "skaffoldConfigPath: string expected";
+ if (message.buildArtifacts != null && message.hasOwnProperty("buildArtifacts")) {
+ if (!Array.isArray(message.buildArtifacts))
+ return "buildArtifacts: array expected";
+ for (var i = 0; i < message.buildArtifacts.length; ++i) {
+ var error = $root.google.cloud.deploy.v1.BuildArtifact.verify(message.buildArtifacts[i]);
+ if (error)
+ return "buildArtifacts." + error;
+ }
+ }
+ if (message.deliveryPipelineSnapshot != null && message.hasOwnProperty("deliveryPipelineSnapshot")) {
+ var error = $root.google.cloud.deploy.v1.DeliveryPipeline.verify(message.deliveryPipelineSnapshot);
+ if (error)
+ return "deliveryPipelineSnapshot." + error;
+ }
+ if (message.targetSnapshots != null && message.hasOwnProperty("targetSnapshots")) {
+ if (!Array.isArray(message.targetSnapshots))
+ return "targetSnapshots: array expected";
+ for (var i = 0; i < message.targetSnapshots.length; ++i) {
+ var error = $root.google.cloud.deploy.v1.Target.verify(message.targetSnapshots[i]);
+ if (error)
+ return "targetSnapshots." + error;
+ }
+ }
+ if (message.renderState != null && message.hasOwnProperty("renderState"))
+ switch (message.renderState) {
+ default:
+ return "renderState: enum value expected";
+ case 0:
+ case 1:
+ case 2:
+ case 3:
+ break;
+ }
+ if (message.etag != null && message.hasOwnProperty("etag"))
+ if (!$util.isString(message.etag))
+ return "etag: string expected";
+ if (message.skaffoldVersion != null && message.hasOwnProperty("skaffoldVersion"))
+ if (!$util.isString(message.skaffoldVersion))
+ return "skaffoldVersion: string expected";
+ if (message.targetArtifacts != null && message.hasOwnProperty("targetArtifacts")) {
+ if (!$util.isObject(message.targetArtifacts))
+ return "targetArtifacts: object expected";
+ var key = Object.keys(message.targetArtifacts);
+ for (var i = 0; i < key.length; ++i) {
+ var error = $root.google.cloud.deploy.v1.TargetArtifact.verify(message.targetArtifacts[key[i]]);
+ if (error)
+ return "targetArtifacts." + error;
+ }
+ }
+ if (message.targetRenders != null && message.hasOwnProperty("targetRenders")) {
+ if (!$util.isObject(message.targetRenders))
+ return "targetRenders: object expected";
+ var key = Object.keys(message.targetRenders);
+ for (var i = 0; i < key.length; ++i) {
+ var error = $root.google.cloud.deploy.v1.Release.TargetRender.verify(message.targetRenders[key[i]]);
+ if (error)
+ return "targetRenders." + error;
+ }
+ }
+ return null;
+ };
+
+ /**
+ * Creates a Release message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.cloud.deploy.v1.Release
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.cloud.deploy.v1.Release} Release
+ */
+ Release.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.cloud.deploy.v1.Release)
+ return object;
+ var message = new $root.google.cloud.deploy.v1.Release();
+ if (object.name != null)
+ message.name = String(object.name);
+ if (object.uid != null)
+ message.uid = String(object.uid);
+ if (object.description != null)
+ message.description = String(object.description);
+ if (object.annotations) {
+ if (typeof object.annotations !== "object")
+ throw TypeError(".google.cloud.deploy.v1.Release.annotations: object expected");
+ message.annotations = {};
+ for (var keys = Object.keys(object.annotations), i = 0; i < keys.length; ++i)
+ message.annotations[keys[i]] = String(object.annotations[keys[i]]);
+ }
+ if (object.labels) {
+ if (typeof object.labels !== "object")
+ throw TypeError(".google.cloud.deploy.v1.Release.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.abandoned != null)
+ message.abandoned = Boolean(object.abandoned);
+ if (object.createTime != null) {
+ if (typeof object.createTime !== "object")
+ throw TypeError(".google.cloud.deploy.v1.Release.createTime: object expected");
+ message.createTime = $root.google.protobuf.Timestamp.fromObject(object.createTime);
+ }
+ if (object.renderStartTime != null) {
+ if (typeof object.renderStartTime !== "object")
+ throw TypeError(".google.cloud.deploy.v1.Release.renderStartTime: object expected");
+ message.renderStartTime = $root.google.protobuf.Timestamp.fromObject(object.renderStartTime);
+ }
+ if (object.renderEndTime != null) {
+ if (typeof object.renderEndTime !== "object")
+ throw TypeError(".google.cloud.deploy.v1.Release.renderEndTime: object expected");
+ message.renderEndTime = $root.google.protobuf.Timestamp.fromObject(object.renderEndTime);
+ }
+ if (object.skaffoldConfigUri != null)
+ message.skaffoldConfigUri = String(object.skaffoldConfigUri);
+ if (object.skaffoldConfigPath != null)
+ message.skaffoldConfigPath = String(object.skaffoldConfigPath);
+ if (object.buildArtifacts) {
+ if (!Array.isArray(object.buildArtifacts))
+ throw TypeError(".google.cloud.deploy.v1.Release.buildArtifacts: array expected");
+ message.buildArtifacts = [];
+ for (var i = 0; i < object.buildArtifacts.length; ++i) {
+ if (typeof object.buildArtifacts[i] !== "object")
+ throw TypeError(".google.cloud.deploy.v1.Release.buildArtifacts: object expected");
+ message.buildArtifacts[i] = $root.google.cloud.deploy.v1.BuildArtifact.fromObject(object.buildArtifacts[i]);
+ }
+ }
+ if (object.deliveryPipelineSnapshot != null) {
+ if (typeof object.deliveryPipelineSnapshot !== "object")
+ throw TypeError(".google.cloud.deploy.v1.Release.deliveryPipelineSnapshot: object expected");
+ message.deliveryPipelineSnapshot = $root.google.cloud.deploy.v1.DeliveryPipeline.fromObject(object.deliveryPipelineSnapshot);
+ }
+ if (object.targetSnapshots) {
+ if (!Array.isArray(object.targetSnapshots))
+ throw TypeError(".google.cloud.deploy.v1.Release.targetSnapshots: array expected");
+ message.targetSnapshots = [];
+ for (var i = 0; i < object.targetSnapshots.length; ++i) {
+ if (typeof object.targetSnapshots[i] !== "object")
+ throw TypeError(".google.cloud.deploy.v1.Release.targetSnapshots: object expected");
+ message.targetSnapshots[i] = $root.google.cloud.deploy.v1.Target.fromObject(object.targetSnapshots[i]);
+ }
+ }
+ switch (object.renderState) {
+ case "RENDER_STATE_UNSPECIFIED":
+ case 0:
+ message.renderState = 0;
+ break;
+ case "SUCCEEDED":
+ case 1:
+ message.renderState = 1;
+ break;
+ case "FAILED":
+ case 2:
+ message.renderState = 2;
+ break;
+ case "IN_PROGRESS":
+ case 3:
+ message.renderState = 3;
+ break;
+ }
+ if (object.etag != null)
+ message.etag = String(object.etag);
+ if (object.skaffoldVersion != null)
+ message.skaffoldVersion = String(object.skaffoldVersion);
+ if (object.targetArtifacts) {
+ if (typeof object.targetArtifacts !== "object")
+ throw TypeError(".google.cloud.deploy.v1.Release.targetArtifacts: object expected");
+ message.targetArtifacts = {};
+ for (var keys = Object.keys(object.targetArtifacts), i = 0; i < keys.length; ++i) {
+ if (typeof object.targetArtifacts[keys[i]] !== "object")
+ throw TypeError(".google.cloud.deploy.v1.Release.targetArtifacts: object expected");
+ message.targetArtifacts[keys[i]] = $root.google.cloud.deploy.v1.TargetArtifact.fromObject(object.targetArtifacts[keys[i]]);
+ }
+ }
+ if (object.targetRenders) {
+ if (typeof object.targetRenders !== "object")
+ throw TypeError(".google.cloud.deploy.v1.Release.targetRenders: object expected");
+ message.targetRenders = {};
+ for (var keys = Object.keys(object.targetRenders), i = 0; i < keys.length; ++i) {
+ if (typeof object.targetRenders[keys[i]] !== "object")
+ throw TypeError(".google.cloud.deploy.v1.Release.targetRenders: object expected");
+ message.targetRenders[keys[i]] = $root.google.cloud.deploy.v1.Release.TargetRender.fromObject(object.targetRenders[keys[i]]);
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Creates a plain object from a Release message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.cloud.deploy.v1.Release
+ * @static
+ * @param {google.cloud.deploy.v1.Release} message Release
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ Release.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.arrays || options.defaults) {
+ object.buildArtifacts = [];
+ object.targetSnapshots = [];
+ }
+ if (options.objects || options.defaults) {
+ object.annotations = {};
+ object.labels = {};
+ object.targetArtifacts = {};
+ object.targetRenders = {};
+ }
+ if (options.defaults) {
+ object.name = "";
+ object.uid = "";
+ object.description = "";
+ object.createTime = null;
+ object.renderStartTime = null;
+ object.renderEndTime = null;
+ object.skaffoldConfigPath = "";
+ object.deliveryPipelineSnapshot = null;
+ object.renderState = options.enums === String ? "RENDER_STATE_UNSPECIFIED" : 0;
+ object.etag = "";
+ object.skaffoldConfigUri = "";
+ object.skaffoldVersion = "";
+ object.abandoned = false;
+ }
+ if (message.name != null && message.hasOwnProperty("name"))
+ object.name = message.name;
+ if (message.uid != null && message.hasOwnProperty("uid"))
+ object.uid = message.uid;
+ if (message.description != null && message.hasOwnProperty("description"))
+ object.description = message.description;
+ var keys2;
+ if (message.annotations && (keys2 = Object.keys(message.annotations)).length) {
+ object.annotations = {};
+ for (var j = 0; j < keys2.length; ++j)
+ object.annotations[keys2[j]] = message.annotations[keys2[j]];
+ }
+ 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.createTime != null && message.hasOwnProperty("createTime"))
+ object.createTime = $root.google.protobuf.Timestamp.toObject(message.createTime, options);
+ if (message.renderStartTime != null && message.hasOwnProperty("renderStartTime"))
+ object.renderStartTime = $root.google.protobuf.Timestamp.toObject(message.renderStartTime, options);
+ if (message.renderEndTime != null && message.hasOwnProperty("renderEndTime"))
+ object.renderEndTime = $root.google.protobuf.Timestamp.toObject(message.renderEndTime, options);
+ if (message.skaffoldConfigPath != null && message.hasOwnProperty("skaffoldConfigPath"))
+ object.skaffoldConfigPath = message.skaffoldConfigPath;
+ if (message.buildArtifacts && message.buildArtifacts.length) {
+ object.buildArtifacts = [];
+ for (var j = 0; j < message.buildArtifacts.length; ++j)
+ object.buildArtifacts[j] = $root.google.cloud.deploy.v1.BuildArtifact.toObject(message.buildArtifacts[j], options);
+ }
+ if (message.deliveryPipelineSnapshot != null && message.hasOwnProperty("deliveryPipelineSnapshot"))
+ object.deliveryPipelineSnapshot = $root.google.cloud.deploy.v1.DeliveryPipeline.toObject(message.deliveryPipelineSnapshot, options);
+ if (message.targetSnapshots && message.targetSnapshots.length) {
+ object.targetSnapshots = [];
+ for (var j = 0; j < message.targetSnapshots.length; ++j)
+ object.targetSnapshots[j] = $root.google.cloud.deploy.v1.Target.toObject(message.targetSnapshots[j], options);
+ }
+ if (message.renderState != null && message.hasOwnProperty("renderState"))
+ object.renderState = options.enums === String ? $root.google.cloud.deploy.v1.Release.RenderState[message.renderState] : message.renderState;
+ if (message.etag != null && message.hasOwnProperty("etag"))
+ object.etag = message.etag;
+ if (message.skaffoldConfigUri != null && message.hasOwnProperty("skaffoldConfigUri"))
+ object.skaffoldConfigUri = message.skaffoldConfigUri;
+ if (message.skaffoldVersion != null && message.hasOwnProperty("skaffoldVersion"))
+ object.skaffoldVersion = message.skaffoldVersion;
+ if (message.targetArtifacts && (keys2 = Object.keys(message.targetArtifacts)).length) {
+ object.targetArtifacts = {};
+ for (var j = 0; j < keys2.length; ++j)
+ object.targetArtifacts[keys2[j]] = $root.google.cloud.deploy.v1.TargetArtifact.toObject(message.targetArtifacts[keys2[j]], options);
+ }
+ if (message.targetRenders && (keys2 = Object.keys(message.targetRenders)).length) {
+ object.targetRenders = {};
+ for (var j = 0; j < keys2.length; ++j)
+ object.targetRenders[keys2[j]] = $root.google.cloud.deploy.v1.Release.TargetRender.toObject(message.targetRenders[keys2[j]], options);
+ }
+ if (message.abandoned != null && message.hasOwnProperty("abandoned"))
+ object.abandoned = message.abandoned;
+ return object;
+ };
+
+ /**
+ * Converts this Release to JSON.
+ * @function toJSON
+ * @memberof google.cloud.deploy.v1.Release
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ Release.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for Release
+ * @function getTypeUrl
+ * @memberof google.cloud.deploy.v1.Release
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ Release.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.cloud.deploy.v1.Release";
+ };
+
+ /**
+ * RenderState enum.
+ * @name google.cloud.deploy.v1.Release.RenderState
+ * @enum {number}
+ * @property {number} RENDER_STATE_UNSPECIFIED=0 RENDER_STATE_UNSPECIFIED value
+ * @property {number} SUCCEEDED=1 SUCCEEDED value
+ * @property {number} FAILED=2 FAILED value
+ * @property {number} IN_PROGRESS=3 IN_PROGRESS value
+ */
+ Release.RenderState = (function() {
+ var valuesById = {}, values = Object.create(valuesById);
+ values[valuesById[0] = "RENDER_STATE_UNSPECIFIED"] = 0;
+ values[valuesById[1] = "SUCCEEDED"] = 1;
+ values[valuesById[2] = "FAILED"] = 2;
+ values[valuesById[3] = "IN_PROGRESS"] = 3;
+ return values;
+ })();
+
+ Release.TargetRender = (function() {
+
+ /**
+ * Properties of a TargetRender.
+ * @memberof google.cloud.deploy.v1.Release
+ * @interface ITargetRender
+ * @property {string|null} [renderingBuild] TargetRender renderingBuild
+ * @property {google.cloud.deploy.v1.Release.TargetRender.TargetRenderState|null} [renderingState] TargetRender renderingState
+ * @property {google.cloud.deploy.v1.Release.TargetRender.FailureCause|null} [failureCause] TargetRender failureCause
+ * @property {string|null} [failureMessage] TargetRender failureMessage
+ */
+
+ /**
+ * Constructs a new TargetRender.
+ * @memberof google.cloud.deploy.v1.Release
+ * @classdesc Represents a TargetRender.
+ * @implements ITargetRender
+ * @constructor
+ * @param {google.cloud.deploy.v1.Release.ITargetRender=} [properties] Properties to set
+ */
+ function TargetRender(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]];
+ }
+
+ /**
+ * TargetRender renderingBuild.
+ * @member {string} renderingBuild
+ * @memberof google.cloud.deploy.v1.Release.TargetRender
+ * @instance
+ */
+ TargetRender.prototype.renderingBuild = "";
+
+ /**
+ * TargetRender renderingState.
+ * @member {google.cloud.deploy.v1.Release.TargetRender.TargetRenderState} renderingState
+ * @memberof google.cloud.deploy.v1.Release.TargetRender
+ * @instance
+ */
+ TargetRender.prototype.renderingState = 0;
+
+ /**
+ * TargetRender failureCause.
+ * @member {google.cloud.deploy.v1.Release.TargetRender.FailureCause} failureCause
+ * @memberof google.cloud.deploy.v1.Release.TargetRender
+ * @instance
+ */
+ TargetRender.prototype.failureCause = 0;
+
+ /**
+ * TargetRender failureMessage.
+ * @member {string} failureMessage
+ * @memberof google.cloud.deploy.v1.Release.TargetRender
+ * @instance
+ */
+ TargetRender.prototype.failureMessage = "";
+
+ /**
+ * Creates a new TargetRender instance using the specified properties.
+ * @function create
+ * @memberof google.cloud.deploy.v1.Release.TargetRender
+ * @static
+ * @param {google.cloud.deploy.v1.Release.ITargetRender=} [properties] Properties to set
+ * @returns {google.cloud.deploy.v1.Release.TargetRender} TargetRender instance
+ */
+ TargetRender.create = function create(properties) {
+ return new TargetRender(properties);
+ };
+
+ /**
+ * Encodes the specified TargetRender message. Does not implicitly {@link google.cloud.deploy.v1.Release.TargetRender.verify|verify} messages.
+ * @function encode
+ * @memberof google.cloud.deploy.v1.Release.TargetRender
+ * @static
+ * @param {google.cloud.deploy.v1.Release.ITargetRender} message TargetRender message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ TargetRender.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.renderingBuild != null && Object.hasOwnProperty.call(message, "renderingBuild"))
+ writer.uint32(/* id 1, wireType 2 =*/10).string(message.renderingBuild);
+ if (message.renderingState != null && Object.hasOwnProperty.call(message, "renderingState"))
+ writer.uint32(/* id 2, wireType 0 =*/16).int32(message.renderingState);
+ if (message.failureCause != null && Object.hasOwnProperty.call(message, "failureCause"))
+ writer.uint32(/* id 4, wireType 0 =*/32).int32(message.failureCause);
+ if (message.failureMessage != null && Object.hasOwnProperty.call(message, "failureMessage"))
+ writer.uint32(/* id 5, wireType 2 =*/42).string(message.failureMessage);
+ return writer;
+ };
+
+ /**
+ * Encodes the specified TargetRender message, length delimited. Does not implicitly {@link google.cloud.deploy.v1.Release.TargetRender.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.cloud.deploy.v1.Release.TargetRender
+ * @static
+ * @param {google.cloud.deploy.v1.Release.ITargetRender} message TargetRender message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ TargetRender.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes a TargetRender message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.cloud.deploy.v1.Release.TargetRender
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.cloud.deploy.v1.Release.TargetRender} TargetRender
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ TargetRender.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.deploy.v1.Release.TargetRender();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ switch (tag >>> 3) {
+ case 1: {
+ message.renderingBuild = reader.string();
+ break;
+ }
+ case 2: {
+ message.renderingState = reader.int32();
+ break;
+ }
+ case 4: {
+ message.failureCause = reader.int32();
+ break;
+ }
+ case 5: {
+ message.failureMessage = reader.string();
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes a TargetRender message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.cloud.deploy.v1.Release.TargetRender
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.cloud.deploy.v1.Release.TargetRender} TargetRender
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ TargetRender.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies a TargetRender message.
+ * @function verify
+ * @memberof google.cloud.deploy.v1.Release.TargetRender
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ TargetRender.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ if (message.renderingBuild != null && message.hasOwnProperty("renderingBuild"))
+ if (!$util.isString(message.renderingBuild))
+ return "renderingBuild: string expected";
+ if (message.renderingState != null && message.hasOwnProperty("renderingState"))
+ switch (message.renderingState) {
+ default:
+ return "renderingState: enum value expected";
+ case 0:
+ case 1:
+ case 2:
+ case 3:
+ break;
+ }
+ if (message.failureCause != null && message.hasOwnProperty("failureCause"))
+ switch (message.failureCause) {
+ default:
+ return "failureCause: enum value expected";
+ case 0:
+ case 1:
+ case 2:
+ break;
+ }
+ if (message.failureMessage != null && message.hasOwnProperty("failureMessage"))
+ if (!$util.isString(message.failureMessage))
+ return "failureMessage: string expected";
+ return null;
+ };
+
+ /**
+ * Creates a TargetRender message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.cloud.deploy.v1.Release.TargetRender
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.cloud.deploy.v1.Release.TargetRender} TargetRender
+ */
+ TargetRender.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.cloud.deploy.v1.Release.TargetRender)
+ return object;
+ var message = new $root.google.cloud.deploy.v1.Release.TargetRender();
+ if (object.renderingBuild != null)
+ message.renderingBuild = String(object.renderingBuild);
+ switch (object.renderingState) {
+ case "TARGET_RENDER_STATE_UNSPECIFIED":
+ case 0:
+ message.renderingState = 0;
+ break;
+ case "SUCCEEDED":
+ case 1:
+ message.renderingState = 1;
+ break;
+ case "FAILED":
+ case 2:
+ message.renderingState = 2;
+ break;
+ case "IN_PROGRESS":
+ case 3:
+ message.renderingState = 3;
+ break;
+ }
+ switch (object.failureCause) {
+ case "FAILURE_CAUSE_UNSPECIFIED":
+ case 0:
+ message.failureCause = 0;
+ break;
+ case "CLOUD_BUILD_UNAVAILABLE":
+ case 1:
+ message.failureCause = 1;
+ break;
+ case "EXECUTION_FAILED":
+ case 2:
+ message.failureCause = 2;
+ break;
+ }
+ if (object.failureMessage != null)
+ message.failureMessage = String(object.failureMessage);
+ return message;
+ };
+
+ /**
+ * Creates a plain object from a TargetRender message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.cloud.deploy.v1.Release.TargetRender
+ * @static
+ * @param {google.cloud.deploy.v1.Release.TargetRender} message TargetRender
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ TargetRender.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.defaults) {
+ object.renderingBuild = "";
+ object.renderingState = options.enums === String ? "TARGET_RENDER_STATE_UNSPECIFIED" : 0;
+ object.failureCause = options.enums === String ? "FAILURE_CAUSE_UNSPECIFIED" : 0;
+ object.failureMessage = "";
+ }
+ if (message.renderingBuild != null && message.hasOwnProperty("renderingBuild"))
+ object.renderingBuild = message.renderingBuild;
+ if (message.renderingState != null && message.hasOwnProperty("renderingState"))
+ object.renderingState = options.enums === String ? $root.google.cloud.deploy.v1.Release.TargetRender.TargetRenderState[message.renderingState] : message.renderingState;
+ if (message.failureCause != null && message.hasOwnProperty("failureCause"))
+ object.failureCause = options.enums === String ? $root.google.cloud.deploy.v1.Release.TargetRender.FailureCause[message.failureCause] : message.failureCause;
+ if (message.failureMessage != null && message.hasOwnProperty("failureMessage"))
+ object.failureMessage = message.failureMessage;
+ return object;
+ };
+
+ /**
+ * Converts this TargetRender to JSON.
+ * @function toJSON
+ * @memberof google.cloud.deploy.v1.Release.TargetRender
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ TargetRender.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for TargetRender
+ * @function getTypeUrl
+ * @memberof google.cloud.deploy.v1.Release.TargetRender
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ TargetRender.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.cloud.deploy.v1.Release.TargetRender";
+ };
+
+ /**
+ * TargetRenderState enum.
+ * @name google.cloud.deploy.v1.Release.TargetRender.TargetRenderState
+ * @enum {number}
+ * @property {number} TARGET_RENDER_STATE_UNSPECIFIED=0 TARGET_RENDER_STATE_UNSPECIFIED value
+ * @property {number} SUCCEEDED=1 SUCCEEDED value
+ * @property {number} FAILED=2 FAILED value
+ * @property {number} IN_PROGRESS=3 IN_PROGRESS value
+ */
+ TargetRender.TargetRenderState = (function() {
+ var valuesById = {}, values = Object.create(valuesById);
+ values[valuesById[0] = "TARGET_RENDER_STATE_UNSPECIFIED"] = 0;
+ values[valuesById[1] = "SUCCEEDED"] = 1;
+ values[valuesById[2] = "FAILED"] = 2;
+ values[valuesById[3] = "IN_PROGRESS"] = 3;
+ return values;
+ })();
+
+ /**
+ * FailureCause enum.
+ * @name google.cloud.deploy.v1.Release.TargetRender.FailureCause
+ * @enum {number}
+ * @property {number} FAILURE_CAUSE_UNSPECIFIED=0 FAILURE_CAUSE_UNSPECIFIED value
+ * @property {number} CLOUD_BUILD_UNAVAILABLE=1 CLOUD_BUILD_UNAVAILABLE value
+ * @property {number} EXECUTION_FAILED=2 EXECUTION_FAILED value
+ */
+ TargetRender.FailureCause = (function() {
+ var valuesById = {}, values = Object.create(valuesById);
+ values[valuesById[0] = "FAILURE_CAUSE_UNSPECIFIED"] = 0;
+ values[valuesById[1] = "CLOUD_BUILD_UNAVAILABLE"] = 1;
+ values[valuesById[2] = "EXECUTION_FAILED"] = 2;
+ return values;
+ })();
+
+ return TargetRender;
+ })();
+
+ return Release;
+ })();
+
+ v1.BuildArtifact = (function() {
+
+ /**
+ * Properties of a BuildArtifact.
+ * @memberof google.cloud.deploy.v1
+ * @interface IBuildArtifact
+ * @property {string|null} [image] BuildArtifact image
+ * @property {string|null} [tag] BuildArtifact tag
+ */
+
+ /**
+ * Constructs a new BuildArtifact.
+ * @memberof google.cloud.deploy.v1
+ * @classdesc Represents a BuildArtifact.
+ * @implements IBuildArtifact
+ * @constructor
+ * @param {google.cloud.deploy.v1.IBuildArtifact=} [properties] Properties to set
+ */
+ function BuildArtifact(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]];
+ }
+
+ /**
+ * BuildArtifact image.
+ * @member {string} image
+ * @memberof google.cloud.deploy.v1.BuildArtifact
+ * @instance
+ */
+ BuildArtifact.prototype.image = "";
+
+ /**
+ * BuildArtifact tag.
+ * @member {string} tag
+ * @memberof google.cloud.deploy.v1.BuildArtifact
+ * @instance
+ */
+ BuildArtifact.prototype.tag = "";
+
+ /**
+ * Creates a new BuildArtifact instance using the specified properties.
+ * @function create
+ * @memberof google.cloud.deploy.v1.BuildArtifact
+ * @static
+ * @param {google.cloud.deploy.v1.IBuildArtifact=} [properties] Properties to set
+ * @returns {google.cloud.deploy.v1.BuildArtifact} BuildArtifact instance
+ */
+ BuildArtifact.create = function create(properties) {
+ return new BuildArtifact(properties);
+ };
+
+ /**
+ * Encodes the specified BuildArtifact message. Does not implicitly {@link google.cloud.deploy.v1.BuildArtifact.verify|verify} messages.
+ * @function encode
+ * @memberof google.cloud.deploy.v1.BuildArtifact
+ * @static
+ * @param {google.cloud.deploy.v1.IBuildArtifact} message BuildArtifact message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ BuildArtifact.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.tag != null && Object.hasOwnProperty.call(message, "tag"))
+ writer.uint32(/* id 2, wireType 2 =*/18).string(message.tag);
+ if (message.image != null && Object.hasOwnProperty.call(message, "image"))
+ writer.uint32(/* id 3, wireType 2 =*/26).string(message.image);
+ return writer;
+ };
+
+ /**
+ * Encodes the specified BuildArtifact message, length delimited. Does not implicitly {@link google.cloud.deploy.v1.BuildArtifact.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.cloud.deploy.v1.BuildArtifact
+ * @static
+ * @param {google.cloud.deploy.v1.IBuildArtifact} message BuildArtifact message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ BuildArtifact.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes a BuildArtifact message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.cloud.deploy.v1.BuildArtifact
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.cloud.deploy.v1.BuildArtifact} BuildArtifact
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ BuildArtifact.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.deploy.v1.BuildArtifact();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ switch (tag >>> 3) {
+ case 3: {
+ message.image = reader.string();
+ break;
+ }
+ case 2: {
+ message.tag = reader.string();
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes a BuildArtifact message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.cloud.deploy.v1.BuildArtifact
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.cloud.deploy.v1.BuildArtifact} BuildArtifact
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ BuildArtifact.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies a BuildArtifact message.
+ * @function verify
+ * @memberof google.cloud.deploy.v1.BuildArtifact
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ BuildArtifact.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ if (message.image != null && message.hasOwnProperty("image"))
+ if (!$util.isString(message.image))
+ return "image: string expected";
+ if (message.tag != null && message.hasOwnProperty("tag"))
+ if (!$util.isString(message.tag))
+ return "tag: string expected";
+ return null;
+ };
+
+ /**
+ * Creates a BuildArtifact message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.cloud.deploy.v1.BuildArtifact
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.cloud.deploy.v1.BuildArtifact} BuildArtifact
+ */
+ BuildArtifact.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.cloud.deploy.v1.BuildArtifact)
+ return object;
+ var message = new $root.google.cloud.deploy.v1.BuildArtifact();
+ if (object.image != null)
+ message.image = String(object.image);
+ if (object.tag != null)
+ message.tag = String(object.tag);
+ return message;
+ };
+
+ /**
+ * Creates a plain object from a BuildArtifact message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.cloud.deploy.v1.BuildArtifact
+ * @static
+ * @param {google.cloud.deploy.v1.BuildArtifact} message BuildArtifact
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ BuildArtifact.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.defaults) {
+ object.tag = "";
+ object.image = "";
+ }
+ if (message.tag != null && message.hasOwnProperty("tag"))
+ object.tag = message.tag;
+ if (message.image != null && message.hasOwnProperty("image"))
+ object.image = message.image;
+ return object;
+ };
+
+ /**
+ * Converts this BuildArtifact to JSON.
+ * @function toJSON
+ * @memberof google.cloud.deploy.v1.BuildArtifact
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ BuildArtifact.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for BuildArtifact
+ * @function getTypeUrl
+ * @memberof google.cloud.deploy.v1.BuildArtifact
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ BuildArtifact.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.cloud.deploy.v1.BuildArtifact";
+ };
+
+ return BuildArtifact;
+ })();
+
+ v1.TargetArtifact = (function() {
+
+ /**
+ * Properties of a TargetArtifact.
+ * @memberof google.cloud.deploy.v1
+ * @interface ITargetArtifact
+ * @property {string|null} [artifactUri] TargetArtifact artifactUri
+ * @property {string|null} [skaffoldConfigPath] TargetArtifact skaffoldConfigPath
+ * @property {string|null} [manifestPath] TargetArtifact manifestPath
+ */
+
+ /**
+ * Constructs a new TargetArtifact.
+ * @memberof google.cloud.deploy.v1
+ * @classdesc Represents a TargetArtifact.
+ * @implements ITargetArtifact
+ * @constructor
+ * @param {google.cloud.deploy.v1.ITargetArtifact=} [properties] Properties to set
+ */
+ function TargetArtifact(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]];
+ }
+
+ /**
+ * TargetArtifact artifactUri.
+ * @member {string|null|undefined} artifactUri
+ * @memberof google.cloud.deploy.v1.TargetArtifact
+ * @instance
+ */
+ TargetArtifact.prototype.artifactUri = null;
+
+ /**
+ * TargetArtifact skaffoldConfigPath.
+ * @member {string} skaffoldConfigPath
+ * @memberof google.cloud.deploy.v1.TargetArtifact
+ * @instance
+ */
+ TargetArtifact.prototype.skaffoldConfigPath = "";
+
+ /**
+ * TargetArtifact manifestPath.
+ * @member {string} manifestPath
+ * @memberof google.cloud.deploy.v1.TargetArtifact
+ * @instance
+ */
+ TargetArtifact.prototype.manifestPath = "";
+
+ // OneOf field names bound to virtual getters and setters
+ var $oneOfFields;
+
+ /**
+ * TargetArtifact uri.
+ * @member {"artifactUri"|undefined} uri
+ * @memberof google.cloud.deploy.v1.TargetArtifact
+ * @instance
+ */
+ Object.defineProperty(TargetArtifact.prototype, "uri", {
+ get: $util.oneOfGetter($oneOfFields = ["artifactUri"]),
+ set: $util.oneOfSetter($oneOfFields)
+ });
+
+ /**
+ * Creates a new TargetArtifact instance using the specified properties.
+ * @function create
+ * @memberof google.cloud.deploy.v1.TargetArtifact
+ * @static
+ * @param {google.cloud.deploy.v1.ITargetArtifact=} [properties] Properties to set
+ * @returns {google.cloud.deploy.v1.TargetArtifact} TargetArtifact instance
+ */
+ TargetArtifact.create = function create(properties) {
+ return new TargetArtifact(properties);
+ };
+
+ /**
+ * Encodes the specified TargetArtifact message. Does not implicitly {@link google.cloud.deploy.v1.TargetArtifact.verify|verify} messages.
+ * @function encode
+ * @memberof google.cloud.deploy.v1.TargetArtifact
+ * @static
+ * @param {google.cloud.deploy.v1.ITargetArtifact} message TargetArtifact message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ TargetArtifact.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.skaffoldConfigPath != null && Object.hasOwnProperty.call(message, "skaffoldConfigPath"))
+ writer.uint32(/* id 2, wireType 2 =*/18).string(message.skaffoldConfigPath);
+ if (message.manifestPath != null && Object.hasOwnProperty.call(message, "manifestPath"))
+ writer.uint32(/* id 3, wireType 2 =*/26).string(message.manifestPath);
+ if (message.artifactUri != null && Object.hasOwnProperty.call(message, "artifactUri"))
+ writer.uint32(/* id 4, wireType 2 =*/34).string(message.artifactUri);
+ return writer;
+ };
+
+ /**
+ * Encodes the specified TargetArtifact message, length delimited. Does not implicitly {@link google.cloud.deploy.v1.TargetArtifact.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.cloud.deploy.v1.TargetArtifact
+ * @static
+ * @param {google.cloud.deploy.v1.ITargetArtifact} message TargetArtifact message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ TargetArtifact.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes a TargetArtifact message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.cloud.deploy.v1.TargetArtifact
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.cloud.deploy.v1.TargetArtifact} TargetArtifact
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ TargetArtifact.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.deploy.v1.TargetArtifact();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ switch (tag >>> 3) {
+ case 4: {
+ message.artifactUri = reader.string();
+ break;
+ }
+ case 2: {
+ message.skaffoldConfigPath = reader.string();
+ break;
+ }
+ case 3: {
+ message.manifestPath = reader.string();
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes a TargetArtifact message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.cloud.deploy.v1.TargetArtifact
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.cloud.deploy.v1.TargetArtifact} TargetArtifact
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ TargetArtifact.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies a TargetArtifact message.
+ * @function verify
+ * @memberof google.cloud.deploy.v1.TargetArtifact
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ TargetArtifact.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ var properties = {};
+ if (message.artifactUri != null && message.hasOwnProperty("artifactUri")) {
+ properties.uri = 1;
+ if (!$util.isString(message.artifactUri))
+ return "artifactUri: string expected";
+ }
+ if (message.skaffoldConfigPath != null && message.hasOwnProperty("skaffoldConfigPath"))
+ if (!$util.isString(message.skaffoldConfigPath))
+ return "skaffoldConfigPath: string expected";
+ if (message.manifestPath != null && message.hasOwnProperty("manifestPath"))
+ if (!$util.isString(message.manifestPath))
+ return "manifestPath: string expected";
+ return null;
+ };
+
+ /**
+ * Creates a TargetArtifact message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.cloud.deploy.v1.TargetArtifact
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.cloud.deploy.v1.TargetArtifact} TargetArtifact
+ */
+ TargetArtifact.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.cloud.deploy.v1.TargetArtifact)
+ return object;
+ var message = new $root.google.cloud.deploy.v1.TargetArtifact();
+ if (object.artifactUri != null)
+ message.artifactUri = String(object.artifactUri);
+ if (object.skaffoldConfigPath != null)
+ message.skaffoldConfigPath = String(object.skaffoldConfigPath);
+ if (object.manifestPath != null)
+ message.manifestPath = String(object.manifestPath);
+ return message;
+ };
+
+ /**
+ * Creates a plain object from a TargetArtifact message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.cloud.deploy.v1.TargetArtifact
+ * @static
+ * @param {google.cloud.deploy.v1.TargetArtifact} message TargetArtifact
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ TargetArtifact.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.defaults) {
+ object.skaffoldConfigPath = "";
+ object.manifestPath = "";
+ }
+ if (message.skaffoldConfigPath != null && message.hasOwnProperty("skaffoldConfigPath"))
+ object.skaffoldConfigPath = message.skaffoldConfigPath;
+ if (message.manifestPath != null && message.hasOwnProperty("manifestPath"))
+ object.manifestPath = message.manifestPath;
+ if (message.artifactUri != null && message.hasOwnProperty("artifactUri")) {
+ object.artifactUri = message.artifactUri;
+ if (options.oneofs)
+ object.uri = "artifactUri";
+ }
+ return object;
+ };
+
+ /**
+ * Converts this TargetArtifact to JSON.
+ * @function toJSON
+ * @memberof google.cloud.deploy.v1.TargetArtifact
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ TargetArtifact.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for TargetArtifact
+ * @function getTypeUrl
+ * @memberof google.cloud.deploy.v1.TargetArtifact
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ TargetArtifact.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.cloud.deploy.v1.TargetArtifact";
+ };
+
+ return TargetArtifact;
+ })();
+
+ v1.ListReleasesRequest = (function() {
+
+ /**
+ * Properties of a ListReleasesRequest.
+ * @memberof google.cloud.deploy.v1
+ * @interface IListReleasesRequest
+ * @property {string|null} [parent] ListReleasesRequest parent
+ * @property {number|null} [pageSize] ListReleasesRequest pageSize
+ * @property {string|null} [pageToken] ListReleasesRequest pageToken
+ * @property {string|null} [filter] ListReleasesRequest filter
+ * @property {string|null} [orderBy] ListReleasesRequest orderBy
+ */
+
+ /**
+ * Constructs a new ListReleasesRequest.
+ * @memberof google.cloud.deploy.v1
+ * @classdesc Represents a ListReleasesRequest.
+ * @implements IListReleasesRequest
+ * @constructor
+ * @param {google.cloud.deploy.v1.IListReleasesRequest=} [properties] Properties to set
+ */
+ function ListReleasesRequest(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]];
+ }
+
+ /**
+ * ListReleasesRequest parent.
+ * @member {string} parent
+ * @memberof google.cloud.deploy.v1.ListReleasesRequest
+ * @instance
+ */
+ ListReleasesRequest.prototype.parent = "";
+
+ /**
+ * ListReleasesRequest pageSize.
+ * @member {number} pageSize
+ * @memberof google.cloud.deploy.v1.ListReleasesRequest
+ * @instance
+ */
+ ListReleasesRequest.prototype.pageSize = 0;
+
+ /**
+ * ListReleasesRequest pageToken.
+ * @member {string} pageToken
+ * @memberof google.cloud.deploy.v1.ListReleasesRequest
+ * @instance
+ */
+ ListReleasesRequest.prototype.pageToken = "";
+
+ /**
+ * ListReleasesRequest filter.
+ * @member {string} filter
+ * @memberof google.cloud.deploy.v1.ListReleasesRequest
+ * @instance
+ */
+ ListReleasesRequest.prototype.filter = "";
+
+ /**
+ * ListReleasesRequest orderBy.
+ * @member {string} orderBy
+ * @memberof google.cloud.deploy.v1.ListReleasesRequest
+ * @instance
+ */
+ ListReleasesRequest.prototype.orderBy = "";
+
+ /**
+ * Creates a new ListReleasesRequest instance using the specified properties.
+ * @function create
+ * @memberof google.cloud.deploy.v1.ListReleasesRequest
+ * @static
+ * @param {google.cloud.deploy.v1.IListReleasesRequest=} [properties] Properties to set
+ * @returns {google.cloud.deploy.v1.ListReleasesRequest} ListReleasesRequest instance
+ */
+ ListReleasesRequest.create = function create(properties) {
+ return new ListReleasesRequest(properties);
+ };
+
+ /**
+ * Encodes the specified ListReleasesRequest message. Does not implicitly {@link google.cloud.deploy.v1.ListReleasesRequest.verify|verify} messages.
+ * @function encode
+ * @memberof google.cloud.deploy.v1.ListReleasesRequest
+ * @static
+ * @param {google.cloud.deploy.v1.IListReleasesRequest} message ListReleasesRequest message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ ListReleasesRequest.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 ListReleasesRequest message, length delimited. Does not implicitly {@link google.cloud.deploy.v1.ListReleasesRequest.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.cloud.deploy.v1.ListReleasesRequest
+ * @static
+ * @param {google.cloud.deploy.v1.IListReleasesRequest} message ListReleasesRequest message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ ListReleasesRequest.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes a ListReleasesRequest message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.cloud.deploy.v1.ListReleasesRequest
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.cloud.deploy.v1.ListReleasesRequest} ListReleasesRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ ListReleasesRequest.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.deploy.v1.ListReleasesRequest();
+ 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 ListReleasesRequest message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.cloud.deploy.v1.ListReleasesRequest
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.cloud.deploy.v1.ListReleasesRequest} ListReleasesRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ ListReleasesRequest.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies a ListReleasesRequest message.
+ * @function verify
+ * @memberof google.cloud.deploy.v1.ListReleasesRequest
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ ListReleasesRequest.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 ListReleasesRequest message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.cloud.deploy.v1.ListReleasesRequest
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.cloud.deploy.v1.ListReleasesRequest} ListReleasesRequest
+ */
+ ListReleasesRequest.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.cloud.deploy.v1.ListReleasesRequest)
+ return object;
+ var message = new $root.google.cloud.deploy.v1.ListReleasesRequest();
+ 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 ListReleasesRequest message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.cloud.deploy.v1.ListReleasesRequest
+ * @static
+ * @param {google.cloud.deploy.v1.ListReleasesRequest} message ListReleasesRequest
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ ListReleasesRequest.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 ListReleasesRequest to JSON.
+ * @function toJSON
+ * @memberof google.cloud.deploy.v1.ListReleasesRequest
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ ListReleasesRequest.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for ListReleasesRequest
+ * @function getTypeUrl
+ * @memberof google.cloud.deploy.v1.ListReleasesRequest
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ ListReleasesRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.cloud.deploy.v1.ListReleasesRequest";
+ };
+
+ return ListReleasesRequest;
+ })();
+
+ v1.ListReleasesResponse = (function() {
+
+ /**
+ * Properties of a ListReleasesResponse.
+ * @memberof google.cloud.deploy.v1
+ * @interface IListReleasesResponse
+ * @property {Array.|null} [releases] ListReleasesResponse releases
+ * @property {string|null} [nextPageToken] ListReleasesResponse nextPageToken
+ * @property {Array.|null} [unreachable] ListReleasesResponse unreachable
+ */
+
+ /**
+ * Constructs a new ListReleasesResponse.
+ * @memberof google.cloud.deploy.v1
+ * @classdesc Represents a ListReleasesResponse.
+ * @implements IListReleasesResponse
+ * @constructor
+ * @param {google.cloud.deploy.v1.IListReleasesResponse=} [properties] Properties to set
+ */
+ function ListReleasesResponse(properties) {
+ this.releases = [];
+ 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]];
+ }
+
+ /**
+ * ListReleasesResponse releases.
+ * @member {Array.} releases
+ * @memberof google.cloud.deploy.v1.ListReleasesResponse
+ * @instance
+ */
+ ListReleasesResponse.prototype.releases = $util.emptyArray;
+
+ /**
+ * ListReleasesResponse nextPageToken.
+ * @member {string} nextPageToken
+ * @memberof google.cloud.deploy.v1.ListReleasesResponse
+ * @instance
+ */
+ ListReleasesResponse.prototype.nextPageToken = "";
+
+ /**
+ * ListReleasesResponse unreachable.
+ * @member {Array.} unreachable
+ * @memberof google.cloud.deploy.v1.ListReleasesResponse
+ * @instance
+ */
+ ListReleasesResponse.prototype.unreachable = $util.emptyArray;
+
+ /**
+ * Creates a new ListReleasesResponse instance using the specified properties.
+ * @function create
+ * @memberof google.cloud.deploy.v1.ListReleasesResponse
+ * @static
+ * @param {google.cloud.deploy.v1.IListReleasesResponse=} [properties] Properties to set
+ * @returns {google.cloud.deploy.v1.ListReleasesResponse} ListReleasesResponse instance
+ */
+ ListReleasesResponse.create = function create(properties) {
+ return new ListReleasesResponse(properties);
+ };
+
+ /**
+ * Encodes the specified ListReleasesResponse message. Does not implicitly {@link google.cloud.deploy.v1.ListReleasesResponse.verify|verify} messages.
+ * @function encode
+ * @memberof google.cloud.deploy.v1.ListReleasesResponse
+ * @static
+ * @param {google.cloud.deploy.v1.IListReleasesResponse} message ListReleasesResponse message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ ListReleasesResponse.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.releases != null && message.releases.length)
+ for (var i = 0; i < message.releases.length; ++i)
+ $root.google.cloud.deploy.v1.Release.encode(message.releases[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 3, wireType 2 =*/26).string(message.unreachable[i]);
+ return writer;
+ };
+
+ /**
+ * Encodes the specified ListReleasesResponse message, length delimited. Does not implicitly {@link google.cloud.deploy.v1.ListReleasesResponse.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.cloud.deploy.v1.ListReleasesResponse
+ * @static
+ * @param {google.cloud.deploy.v1.IListReleasesResponse} message ListReleasesResponse message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ ListReleasesResponse.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes a ListReleasesResponse message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.cloud.deploy.v1.ListReleasesResponse
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.cloud.deploy.v1.ListReleasesResponse} ListReleasesResponse
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ ListReleasesResponse.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.deploy.v1.ListReleasesResponse();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ switch (tag >>> 3) {
+ case 1: {
+ if (!(message.releases && message.releases.length))
+ message.releases = [];
+ message.releases.push($root.google.cloud.deploy.v1.Release.decode(reader, reader.uint32()));
+ break;
+ }
+ case 2: {
+ message.nextPageToken = reader.string();
+ break;
+ }
+ case 3: {
+ if (!(message.unreachable && message.unreachable.length))
+ message.unreachable = [];
+ message.unreachable.push(reader.string());
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes a ListReleasesResponse message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.cloud.deploy.v1.ListReleasesResponse
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.cloud.deploy.v1.ListReleasesResponse} ListReleasesResponse
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ ListReleasesResponse.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies a ListReleasesResponse message.
+ * @function verify
+ * @memberof google.cloud.deploy.v1.ListReleasesResponse
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ ListReleasesResponse.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ if (message.releases != null && message.hasOwnProperty("releases")) {
+ if (!Array.isArray(message.releases))
+ return "releases: array expected";
+ for (var i = 0; i < message.releases.length; ++i) {
+ var error = $root.google.cloud.deploy.v1.Release.verify(message.releases[i]);
+ if (error)
+ return "releases." + 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 ListReleasesResponse message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.cloud.deploy.v1.ListReleasesResponse
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.cloud.deploy.v1.ListReleasesResponse} ListReleasesResponse
+ */
+ ListReleasesResponse.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.cloud.deploy.v1.ListReleasesResponse)
+ return object;
+ var message = new $root.google.cloud.deploy.v1.ListReleasesResponse();
+ if (object.releases) {
+ if (!Array.isArray(object.releases))
+ throw TypeError(".google.cloud.deploy.v1.ListReleasesResponse.releases: array expected");
+ message.releases = [];
+ for (var i = 0; i < object.releases.length; ++i) {
+ if (typeof object.releases[i] !== "object")
+ throw TypeError(".google.cloud.deploy.v1.ListReleasesResponse.releases: object expected");
+ message.releases[i] = $root.google.cloud.deploy.v1.Release.fromObject(object.releases[i]);
+ }
+ }
+ if (object.nextPageToken != null)
+ message.nextPageToken = String(object.nextPageToken);
+ if (object.unreachable) {
+ if (!Array.isArray(object.unreachable))
+ throw TypeError(".google.cloud.deploy.v1.ListReleasesResponse.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 ListReleasesResponse message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.cloud.deploy.v1.ListReleasesResponse
+ * @static
+ * @param {google.cloud.deploy.v1.ListReleasesResponse} message ListReleasesResponse
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ ListReleasesResponse.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.arrays || options.defaults) {
+ object.releases = [];
+ object.unreachable = [];
+ }
+ if (options.defaults)
+ object.nextPageToken = "";
+ if (message.releases && message.releases.length) {
+ object.releases = [];
+ for (var j = 0; j < message.releases.length; ++j)
+ object.releases[j] = $root.google.cloud.deploy.v1.Release.toObject(message.releases[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 ListReleasesResponse to JSON.
+ * @function toJSON
+ * @memberof google.cloud.deploy.v1.ListReleasesResponse
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ ListReleasesResponse.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for ListReleasesResponse
+ * @function getTypeUrl
+ * @memberof google.cloud.deploy.v1.ListReleasesResponse
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ ListReleasesResponse.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.cloud.deploy.v1.ListReleasesResponse";
+ };
+
+ return ListReleasesResponse;
+ })();
+
+ v1.GetReleaseRequest = (function() {
+
+ /**
+ * Properties of a GetReleaseRequest.
+ * @memberof google.cloud.deploy.v1
+ * @interface IGetReleaseRequest
+ * @property {string|null} [name] GetReleaseRequest name
+ */
+
+ /**
+ * Constructs a new GetReleaseRequest.
+ * @memberof google.cloud.deploy.v1
+ * @classdesc Represents a GetReleaseRequest.
+ * @implements IGetReleaseRequest
+ * @constructor
+ * @param {google.cloud.deploy.v1.IGetReleaseRequest=} [properties] Properties to set
+ */
+ function GetReleaseRequest(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]];
+ }
+
+ /**
+ * GetReleaseRequest name.
+ * @member {string} name
+ * @memberof google.cloud.deploy.v1.GetReleaseRequest
+ * @instance
+ */
+ GetReleaseRequest.prototype.name = "";
+
+ /**
+ * Creates a new GetReleaseRequest instance using the specified properties.
+ * @function create
+ * @memberof google.cloud.deploy.v1.GetReleaseRequest
+ * @static
+ * @param {google.cloud.deploy.v1.IGetReleaseRequest=} [properties] Properties to set
+ * @returns {google.cloud.deploy.v1.GetReleaseRequest} GetReleaseRequest instance
+ */
+ GetReleaseRequest.create = function create(properties) {
+ return new GetReleaseRequest(properties);
+ };
+
+ /**
+ * Encodes the specified GetReleaseRequest message. Does not implicitly {@link google.cloud.deploy.v1.GetReleaseRequest.verify|verify} messages.
+ * @function encode
+ * @memberof google.cloud.deploy.v1.GetReleaseRequest
+ * @static
+ * @param {google.cloud.deploy.v1.IGetReleaseRequest} message GetReleaseRequest message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ GetReleaseRequest.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 GetReleaseRequest message, length delimited. Does not implicitly {@link google.cloud.deploy.v1.GetReleaseRequest.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.cloud.deploy.v1.GetReleaseRequest
+ * @static
+ * @param {google.cloud.deploy.v1.IGetReleaseRequest} message GetReleaseRequest message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ GetReleaseRequest.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes a GetReleaseRequest message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.cloud.deploy.v1.GetReleaseRequest
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.cloud.deploy.v1.GetReleaseRequest} GetReleaseRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ GetReleaseRequest.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.deploy.v1.GetReleaseRequest();
+ 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 GetReleaseRequest message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.cloud.deploy.v1.GetReleaseRequest
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.cloud.deploy.v1.GetReleaseRequest} GetReleaseRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ GetReleaseRequest.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies a GetReleaseRequest message.
+ * @function verify
+ * @memberof google.cloud.deploy.v1.GetReleaseRequest
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ GetReleaseRequest.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 GetReleaseRequest message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.cloud.deploy.v1.GetReleaseRequest
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.cloud.deploy.v1.GetReleaseRequest} GetReleaseRequest
+ */
+ GetReleaseRequest.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.cloud.deploy.v1.GetReleaseRequest)
+ return object;
+ var message = new $root.google.cloud.deploy.v1.GetReleaseRequest();
+ if (object.name != null)
+ message.name = String(object.name);
+ return message;
+ };
+
+ /**
+ * Creates a plain object from a GetReleaseRequest message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.cloud.deploy.v1.GetReleaseRequest
+ * @static
+ * @param {google.cloud.deploy.v1.GetReleaseRequest} message GetReleaseRequest
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ GetReleaseRequest.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 GetReleaseRequest to JSON.
+ * @function toJSON
+ * @memberof google.cloud.deploy.v1.GetReleaseRequest
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ GetReleaseRequest.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for GetReleaseRequest
+ * @function getTypeUrl
+ * @memberof google.cloud.deploy.v1.GetReleaseRequest
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ GetReleaseRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.cloud.deploy.v1.GetReleaseRequest";
+ };
+
+ return GetReleaseRequest;
+ })();
+
+ v1.CreateReleaseRequest = (function() {
+
+ /**
+ * Properties of a CreateReleaseRequest.
+ * @memberof google.cloud.deploy.v1
+ * @interface ICreateReleaseRequest
+ * @property {string|null} [parent] CreateReleaseRequest parent
+ * @property {string|null} [releaseId] CreateReleaseRequest releaseId
+ * @property {google.cloud.deploy.v1.IRelease|null} [release] CreateReleaseRequest release
+ * @property {string|null} [requestId] CreateReleaseRequest requestId
+ * @property {boolean|null} [validateOnly] CreateReleaseRequest validateOnly
+ */
+
+ /**
+ * Constructs a new CreateReleaseRequest.
+ * @memberof google.cloud.deploy.v1
+ * @classdesc Represents a CreateReleaseRequest.
+ * @implements ICreateReleaseRequest
+ * @constructor
+ * @param {google.cloud.deploy.v1.ICreateReleaseRequest=} [properties] Properties to set
+ */
+ function CreateReleaseRequest(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]];
+ }
+
+ /**
+ * CreateReleaseRequest parent.
+ * @member {string} parent
+ * @memberof google.cloud.deploy.v1.CreateReleaseRequest
+ * @instance
+ */
+ CreateReleaseRequest.prototype.parent = "";
+
+ /**
+ * CreateReleaseRequest releaseId.
+ * @member {string} releaseId
+ * @memberof google.cloud.deploy.v1.CreateReleaseRequest
+ * @instance
+ */
+ CreateReleaseRequest.prototype.releaseId = "";
+
+ /**
+ * CreateReleaseRequest release.
+ * @member {google.cloud.deploy.v1.IRelease|null|undefined} release
+ * @memberof google.cloud.deploy.v1.CreateReleaseRequest
+ * @instance
+ */
+ CreateReleaseRequest.prototype.release = null;
+
+ /**
+ * CreateReleaseRequest requestId.
+ * @member {string} requestId
+ * @memberof google.cloud.deploy.v1.CreateReleaseRequest
+ * @instance
+ */
+ CreateReleaseRequest.prototype.requestId = "";
+
+ /**
+ * CreateReleaseRequest validateOnly.
+ * @member {boolean} validateOnly
+ * @memberof google.cloud.deploy.v1.CreateReleaseRequest
+ * @instance
+ */
+ CreateReleaseRequest.prototype.validateOnly = false;
+
+ /**
+ * Creates a new CreateReleaseRequest instance using the specified properties.
+ * @function create
+ * @memberof google.cloud.deploy.v1.CreateReleaseRequest
+ * @static
+ * @param {google.cloud.deploy.v1.ICreateReleaseRequest=} [properties] Properties to set
+ * @returns {google.cloud.deploy.v1.CreateReleaseRequest} CreateReleaseRequest instance
+ */
+ CreateReleaseRequest.create = function create(properties) {
+ return new CreateReleaseRequest(properties);
+ };
+
+ /**
+ * Encodes the specified CreateReleaseRequest message. Does not implicitly {@link google.cloud.deploy.v1.CreateReleaseRequest.verify|verify} messages.
+ * @function encode
+ * @memberof google.cloud.deploy.v1.CreateReleaseRequest
+ * @static
+ * @param {google.cloud.deploy.v1.ICreateReleaseRequest} message CreateReleaseRequest message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ CreateReleaseRequest.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.releaseId != null && Object.hasOwnProperty.call(message, "releaseId"))
+ writer.uint32(/* id 2, wireType 2 =*/18).string(message.releaseId);
+ if (message.release != null && Object.hasOwnProperty.call(message, "release"))
+ $root.google.cloud.deploy.v1.Release.encode(message.release, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim();
+ if (message.requestId != null && Object.hasOwnProperty.call(message, "requestId"))
+ writer.uint32(/* id 4, wireType 2 =*/34).string(message.requestId);
+ if (message.validateOnly != null && Object.hasOwnProperty.call(message, "validateOnly"))
+ writer.uint32(/* id 5, wireType 0 =*/40).bool(message.validateOnly);
+ return writer;
+ };
+
+ /**
+ * Encodes the specified CreateReleaseRequest message, length delimited. Does not implicitly {@link google.cloud.deploy.v1.CreateReleaseRequest.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.cloud.deploy.v1.CreateReleaseRequest
+ * @static
+ * @param {google.cloud.deploy.v1.ICreateReleaseRequest} message CreateReleaseRequest message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ CreateReleaseRequest.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes a CreateReleaseRequest message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.cloud.deploy.v1.CreateReleaseRequest
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.cloud.deploy.v1.CreateReleaseRequest} CreateReleaseRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ CreateReleaseRequest.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.deploy.v1.CreateReleaseRequest();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ switch (tag >>> 3) {
+ case 1: {
+ message.parent = reader.string();
+ break;
+ }
+ case 2: {
+ message.releaseId = reader.string();
+ break;
+ }
+ case 3: {
+ message.release = $root.google.cloud.deploy.v1.Release.decode(reader, reader.uint32());
+ break;
+ }
+ case 4: {
+ message.requestId = reader.string();
+ break;
+ }
+ case 5: {
+ message.validateOnly = reader.bool();
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes a CreateReleaseRequest message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.cloud.deploy.v1.CreateReleaseRequest
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.cloud.deploy.v1.CreateReleaseRequest} CreateReleaseRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ CreateReleaseRequest.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies a CreateReleaseRequest message.
+ * @function verify
+ * @memberof google.cloud.deploy.v1.CreateReleaseRequest
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ CreateReleaseRequest.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.releaseId != null && message.hasOwnProperty("releaseId"))
+ if (!$util.isString(message.releaseId))
+ return "releaseId: string expected";
+ if (message.release != null && message.hasOwnProperty("release")) {
+ var error = $root.google.cloud.deploy.v1.Release.verify(message.release);
+ if (error)
+ return "release." + error;
+ }
+ if (message.requestId != null && message.hasOwnProperty("requestId"))
+ if (!$util.isString(message.requestId))
+ return "requestId: string expected";
+ if (message.validateOnly != null && message.hasOwnProperty("validateOnly"))
+ if (typeof message.validateOnly !== "boolean")
+ return "validateOnly: boolean expected";
+ return null;
+ };
+
+ /**
+ * Creates a CreateReleaseRequest message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.cloud.deploy.v1.CreateReleaseRequest
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.cloud.deploy.v1.CreateReleaseRequest} CreateReleaseRequest
+ */
+ CreateReleaseRequest.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.cloud.deploy.v1.CreateReleaseRequest)
+ return object;
+ var message = new $root.google.cloud.deploy.v1.CreateReleaseRequest();
+ if (object.parent != null)
+ message.parent = String(object.parent);
+ if (object.releaseId != null)
+ message.releaseId = String(object.releaseId);
+ if (object.release != null) {
+ if (typeof object.release !== "object")
+ throw TypeError(".google.cloud.deploy.v1.CreateReleaseRequest.release: object expected");
+ message.release = $root.google.cloud.deploy.v1.Release.fromObject(object.release);
+ }
+ if (object.requestId != null)
+ message.requestId = String(object.requestId);
+ if (object.validateOnly != null)
+ message.validateOnly = Boolean(object.validateOnly);
+ return message;
+ };
+
+ /**
+ * Creates a plain object from a CreateReleaseRequest message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.cloud.deploy.v1.CreateReleaseRequest
+ * @static
+ * @param {google.cloud.deploy.v1.CreateReleaseRequest} message CreateReleaseRequest
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ CreateReleaseRequest.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.defaults) {
+ object.parent = "";
+ object.releaseId = "";
+ object.release = null;
+ object.requestId = "";
+ object.validateOnly = false;
+ }
+ if (message.parent != null && message.hasOwnProperty("parent"))
+ object.parent = message.parent;
+ if (message.releaseId != null && message.hasOwnProperty("releaseId"))
+ object.releaseId = message.releaseId;
+ if (message.release != null && message.hasOwnProperty("release"))
+ object.release = $root.google.cloud.deploy.v1.Release.toObject(message.release, options);
+ if (message.requestId != null && message.hasOwnProperty("requestId"))
+ object.requestId = message.requestId;
+ if (message.validateOnly != null && message.hasOwnProperty("validateOnly"))
+ object.validateOnly = message.validateOnly;
+ return object;
+ };
+
+ /**
+ * Converts this CreateReleaseRequest to JSON.
+ * @function toJSON
+ * @memberof google.cloud.deploy.v1.CreateReleaseRequest
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ CreateReleaseRequest.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for CreateReleaseRequest
+ * @function getTypeUrl
+ * @memberof google.cloud.deploy.v1.CreateReleaseRequest
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ CreateReleaseRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.cloud.deploy.v1.CreateReleaseRequest";
+ };
+
+ return CreateReleaseRequest;
+ })();
+
+ v1.Rollout = (function() {
+
+ /**
+ * Properties of a Rollout.
+ * @memberof google.cloud.deploy.v1
+ * @interface IRollout
+ * @property {string|null} [name] Rollout name
+ * @property {string|null} [uid] Rollout uid
+ * @property {string|null} [description] Rollout description
+ * @property {Object.|null} [annotations] Rollout annotations
+ * @property {Object.|null} [labels] Rollout labels
+ * @property {google.protobuf.ITimestamp|null} [createTime] Rollout createTime
+ * @property {google.protobuf.ITimestamp|null} [approveTime] Rollout approveTime
+ * @property {google.protobuf.ITimestamp|null} [enqueueTime] Rollout enqueueTime
+ * @property {google.protobuf.ITimestamp|null} [deployStartTime] Rollout deployStartTime
+ * @property {google.protobuf.ITimestamp|null} [deployEndTime] Rollout deployEndTime
+ * @property {string|null} [targetId] Rollout targetId
+ * @property {google.cloud.deploy.v1.Rollout.ApprovalState|null} [approvalState] Rollout approvalState
+ * @property {google.cloud.deploy.v1.Rollout.State|null} [state] Rollout state
+ * @property {string|null} [failureReason] Rollout failureReason
+ * @property {string|null} [deployingBuild] Rollout deployingBuild
+ * @property {string|null} [etag] Rollout etag
+ * @property {google.cloud.deploy.v1.Rollout.FailureCause|null} [deployFailureCause] Rollout deployFailureCause
+ * @property {Array.|null} [phases] Rollout phases
+ * @property {google.cloud.deploy.v1.IMetadata|null} [metadata] Rollout metadata
+ */
+
+ /**
+ * Constructs a new Rollout.
+ * @memberof google.cloud.deploy.v1
+ * @classdesc Represents a Rollout.
+ * @implements IRollout
+ * @constructor
+ * @param {google.cloud.deploy.v1.IRollout=} [properties] Properties to set
+ */
+ function Rollout(properties) {
+ this.annotations = {};
+ this.labels = {};
+ this.phases = [];
+ 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]];
+ }
+
+ /**
+ * Rollout name.
+ * @member {string} name
+ * @memberof google.cloud.deploy.v1.Rollout
+ * @instance
+ */
+ Rollout.prototype.name = "";
+
+ /**
+ * Rollout uid.
+ * @member {string} uid
+ * @memberof google.cloud.deploy.v1.Rollout
+ * @instance
+ */
+ Rollout.prototype.uid = "";
+
+ /**
+ * Rollout description.
+ * @member {string} description
+ * @memberof google.cloud.deploy.v1.Rollout
+ * @instance
+ */
+ Rollout.prototype.description = "";
+
+ /**
+ * Rollout annotations.
+ * @member {Object.} annotations
+ * @memberof google.cloud.deploy.v1.Rollout
+ * @instance
+ */
+ Rollout.prototype.annotations = $util.emptyObject;
+
+ /**
+ * Rollout labels.
+ * @member {Object.} labels
+ * @memberof google.cloud.deploy.v1.Rollout
+ * @instance
+ */
+ Rollout.prototype.labels = $util.emptyObject;
+
+ /**
+ * Rollout createTime.
+ * @member {google.protobuf.ITimestamp|null|undefined} createTime
+ * @memberof google.cloud.deploy.v1.Rollout
+ * @instance
+ */
+ Rollout.prototype.createTime = null;
+
+ /**
+ * Rollout approveTime.
+ * @member {google.protobuf.ITimestamp|null|undefined} approveTime
+ * @memberof google.cloud.deploy.v1.Rollout
+ * @instance
+ */
+ Rollout.prototype.approveTime = null;
+
+ /**
+ * Rollout enqueueTime.
+ * @member {google.protobuf.ITimestamp|null|undefined} enqueueTime
+ * @memberof google.cloud.deploy.v1.Rollout
+ * @instance
+ */
+ Rollout.prototype.enqueueTime = null;
+
+ /**
+ * Rollout deployStartTime.
+ * @member {google.protobuf.ITimestamp|null|undefined} deployStartTime
+ * @memberof google.cloud.deploy.v1.Rollout
+ * @instance
+ */
+ Rollout.prototype.deployStartTime = null;
+
+ /**
+ * Rollout deployEndTime.
+ * @member {google.protobuf.ITimestamp|null|undefined} deployEndTime
+ * @memberof google.cloud.deploy.v1.Rollout
+ * @instance
+ */
+ Rollout.prototype.deployEndTime = null;
+
+ /**
+ * Rollout targetId.
+ * @member {string} targetId
+ * @memberof google.cloud.deploy.v1.Rollout
+ * @instance
+ */
+ Rollout.prototype.targetId = "";
+
+ /**
+ * Rollout approvalState.
+ * @member {google.cloud.deploy.v1.Rollout.ApprovalState} approvalState
+ * @memberof google.cloud.deploy.v1.Rollout
+ * @instance
+ */
+ Rollout.prototype.approvalState = 0;
+
+ /**
+ * Rollout state.
+ * @member {google.cloud.deploy.v1.Rollout.State} state
+ * @memberof google.cloud.deploy.v1.Rollout
+ * @instance
+ */
+ Rollout.prototype.state = 0;
+
+ /**
+ * Rollout failureReason.
+ * @member {string} failureReason
+ * @memberof google.cloud.deploy.v1.Rollout
+ * @instance
+ */
+ Rollout.prototype.failureReason = "";
+
+ /**
+ * Rollout deployingBuild.
+ * @member {string} deployingBuild
+ * @memberof google.cloud.deploy.v1.Rollout
+ * @instance
+ */
+ Rollout.prototype.deployingBuild = "";
+
+ /**
+ * Rollout etag.
+ * @member {string} etag
+ * @memberof google.cloud.deploy.v1.Rollout
+ * @instance
+ */
+ Rollout.prototype.etag = "";
+
+ /**
+ * Rollout deployFailureCause.
+ * @member {google.cloud.deploy.v1.Rollout.FailureCause} deployFailureCause
+ * @memberof google.cloud.deploy.v1.Rollout
+ * @instance
+ */
+ Rollout.prototype.deployFailureCause = 0;
+
+ /**
+ * Rollout phases.
+ * @member {Array.} phases
+ * @memberof google.cloud.deploy.v1.Rollout
+ * @instance
+ */
+ Rollout.prototype.phases = $util.emptyArray;
+
+ /**
+ * Rollout metadata.
+ * @member {google.cloud.deploy.v1.IMetadata|null|undefined} metadata
+ * @memberof google.cloud.deploy.v1.Rollout
+ * @instance
+ */
+ Rollout.prototype.metadata = null;
+
+ /**
+ * Creates a new Rollout instance using the specified properties.
+ * @function create
+ * @memberof google.cloud.deploy.v1.Rollout
+ * @static
+ * @param {google.cloud.deploy.v1.IRollout=} [properties] Properties to set
+ * @returns {google.cloud.deploy.v1.Rollout} Rollout instance
+ */
+ Rollout.create = function create(properties) {
+ return new Rollout(properties);
+ };
+
+ /**
+ * Encodes the specified Rollout message. Does not implicitly {@link google.cloud.deploy.v1.Rollout.verify|verify} messages.
+ * @function encode
+ * @memberof google.cloud.deploy.v1.Rollout
+ * @static
+ * @param {google.cloud.deploy.v1.IRollout} message Rollout message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ Rollout.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.uid != null && Object.hasOwnProperty.call(message, "uid"))
+ writer.uint32(/* id 2, wireType 2 =*/18).string(message.uid);
+ if (message.description != null && Object.hasOwnProperty.call(message, "description"))
+ writer.uint32(/* id 3, wireType 2 =*/26).string(message.description);
+ if (message.annotations != null && Object.hasOwnProperty.call(message, "annotations"))
+ for (var keys = Object.keys(message.annotations), 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.annotations[keys[i]]).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 5, wireType 2 =*/42).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]).uint32(/* id 2, wireType 2 =*/18).string(message.labels[keys[i]]).ldelim();
+ if (message.createTime != null && Object.hasOwnProperty.call(message, "createTime"))
+ $root.google.protobuf.Timestamp.encode(message.createTime, writer.uint32(/* id 6, wireType 2 =*/50).fork()).ldelim();
+ if (message.approveTime != null && Object.hasOwnProperty.call(message, "approveTime"))
+ $root.google.protobuf.Timestamp.encode(message.approveTime, writer.uint32(/* id 7, wireType 2 =*/58).fork()).ldelim();
+ if (message.enqueueTime != null && Object.hasOwnProperty.call(message, "enqueueTime"))
+ $root.google.protobuf.Timestamp.encode(message.enqueueTime, writer.uint32(/* id 8, wireType 2 =*/66).fork()).ldelim();
+ if (message.deployStartTime != null && Object.hasOwnProperty.call(message, "deployStartTime"))
+ $root.google.protobuf.Timestamp.encode(message.deployStartTime, writer.uint32(/* id 9, wireType 2 =*/74).fork()).ldelim();
+ if (message.deployEndTime != null && Object.hasOwnProperty.call(message, "deployEndTime"))
+ $root.google.protobuf.Timestamp.encode(message.deployEndTime, writer.uint32(/* id 10, wireType 2 =*/82).fork()).ldelim();
+ if (message.approvalState != null && Object.hasOwnProperty.call(message, "approvalState"))
+ writer.uint32(/* id 12, wireType 0 =*/96).int32(message.approvalState);
+ if (message.state != null && Object.hasOwnProperty.call(message, "state"))
+ writer.uint32(/* id 13, wireType 0 =*/104).int32(message.state);
+ if (message.failureReason != null && Object.hasOwnProperty.call(message, "failureReason"))
+ writer.uint32(/* id 14, wireType 2 =*/114).string(message.failureReason);
+ if (message.etag != null && Object.hasOwnProperty.call(message, "etag"))
+ writer.uint32(/* id 16, wireType 2 =*/130).string(message.etag);
+ if (message.deployingBuild != null && Object.hasOwnProperty.call(message, "deployingBuild"))
+ writer.uint32(/* id 17, wireType 2 =*/138).string(message.deployingBuild);
+ if (message.targetId != null && Object.hasOwnProperty.call(message, "targetId"))
+ writer.uint32(/* id 18, wireType 2 =*/146).string(message.targetId);
+ if (message.deployFailureCause != null && Object.hasOwnProperty.call(message, "deployFailureCause"))
+ writer.uint32(/* id 19, wireType 0 =*/152).int32(message.deployFailureCause);
+ if (message.phases != null && message.phases.length)
+ for (var i = 0; i < message.phases.length; ++i)
+ $root.google.cloud.deploy.v1.Phase.encode(message.phases[i], writer.uint32(/* id 23, wireType 2 =*/186).fork()).ldelim();
+ if (message.metadata != null && Object.hasOwnProperty.call(message, "metadata"))
+ $root.google.cloud.deploy.v1.Metadata.encode(message.metadata, writer.uint32(/* id 24, wireType 2 =*/194).fork()).ldelim();
+ return writer;
+ };
+
+ /**
+ * Encodes the specified Rollout message, length delimited. Does not implicitly {@link google.cloud.deploy.v1.Rollout.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.cloud.deploy.v1.Rollout
+ * @static
+ * @param {google.cloud.deploy.v1.IRollout} message Rollout message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ Rollout.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes a Rollout message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.cloud.deploy.v1.Rollout
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.cloud.deploy.v1.Rollout} Rollout
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ Rollout.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.deploy.v1.Rollout(), key, value;
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ switch (tag >>> 3) {
+ case 1: {
+ message.name = reader.string();
+ break;
+ }
+ case 2: {
+ message.uid = reader.string();
+ break;
+ }
+ case 3: {
+ message.description = reader.string();
+ break;
+ }
+ case 4: {
+ if (message.annotations === $util.emptyObject)
+ message.annotations = {};
+ 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.annotations[key] = value;
+ break;
+ }
+ case 5: {
+ 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 6: {
+ message.createTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32());
+ break;
+ }
+ case 7: {
+ message.approveTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32());
+ break;
+ }
+ case 8: {
+ message.enqueueTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32());
+ break;
+ }
+ case 9: {
+ message.deployStartTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32());
+ break;
+ }
+ case 10: {
+ message.deployEndTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32());
+ break;
+ }
+ case 18: {
+ message.targetId = reader.string();
+ break;
+ }
+ case 12: {
+ message.approvalState = reader.int32();
+ break;
+ }
+ case 13: {
+ message.state = reader.int32();
+ break;
+ }
+ case 14: {
+ message.failureReason = reader.string();
+ break;
+ }
+ case 17: {
+ message.deployingBuild = reader.string();
+ break;
+ }
+ case 16: {
+ message.etag = reader.string();
+ break;
+ }
+ case 19: {
+ message.deployFailureCause = reader.int32();
+ break;
+ }
+ case 23: {
+ if (!(message.phases && message.phases.length))
+ message.phases = [];
+ message.phases.push($root.google.cloud.deploy.v1.Phase.decode(reader, reader.uint32()));
+ break;
+ }
+ case 24: {
+ message.metadata = $root.google.cloud.deploy.v1.Metadata.decode(reader, reader.uint32());
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes a Rollout message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.cloud.deploy.v1.Rollout
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.cloud.deploy.v1.Rollout} Rollout
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ Rollout.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies a Rollout message.
+ * @function verify
+ * @memberof google.cloud.deploy.v1.Rollout
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ Rollout.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.uid != null && message.hasOwnProperty("uid"))
+ if (!$util.isString(message.uid))
+ return "uid: string expected";
+ if (message.description != null && message.hasOwnProperty("description"))
+ if (!$util.isString(message.description))
+ return "description: string expected";
+ if (message.annotations != null && message.hasOwnProperty("annotations")) {
+ if (!$util.isObject(message.annotations))
+ return "annotations: object expected";
+ var key = Object.keys(message.annotations);
+ for (var i = 0; i < key.length; ++i)
+ if (!$util.isString(message.annotations[key[i]]))
+ return "annotations: string{k:string} 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";
+ }
+ if (message.createTime != null && message.hasOwnProperty("createTime")) {
+ var error = $root.google.protobuf.Timestamp.verify(message.createTime);
+ if (error)
+ return "createTime." + error;
+ }
+ if (message.approveTime != null && message.hasOwnProperty("approveTime")) {
+ var error = $root.google.protobuf.Timestamp.verify(message.approveTime);
+ if (error)
+ return "approveTime." + error;
+ }
+ if (message.enqueueTime != null && message.hasOwnProperty("enqueueTime")) {
+ var error = $root.google.protobuf.Timestamp.verify(message.enqueueTime);
+ if (error)
+ return "enqueueTime." + error;
+ }
+ if (message.deployStartTime != null && message.hasOwnProperty("deployStartTime")) {
+ var error = $root.google.protobuf.Timestamp.verify(message.deployStartTime);
+ if (error)
+ return "deployStartTime." + error;
+ }
+ if (message.deployEndTime != null && message.hasOwnProperty("deployEndTime")) {
+ var error = $root.google.protobuf.Timestamp.verify(message.deployEndTime);
+ if (error)
+ return "deployEndTime." + error;
+ }
+ if (message.targetId != null && message.hasOwnProperty("targetId"))
+ if (!$util.isString(message.targetId))
+ return "targetId: string expected";
+ if (message.approvalState != null && message.hasOwnProperty("approvalState"))
+ switch (message.approvalState) {
+ default:
+ return "approvalState: enum value expected";
+ case 0:
+ case 1:
+ case 2:
+ case 3:
+ case 4:
+ break;
+ }
+ if (message.state != null && message.hasOwnProperty("state"))
+ switch (message.state) {
+ default:
+ return "state: enum value expected";
+ case 0:
+ case 1:
+ case 2:
+ case 3:
+ case 4:
+ case 5:
+ case 6:
+ case 7:
+ break;
+ }
+ if (message.failureReason != null && message.hasOwnProperty("failureReason"))
+ if (!$util.isString(message.failureReason))
+ return "failureReason: string expected";
+ if (message.deployingBuild != null && message.hasOwnProperty("deployingBuild"))
+ if (!$util.isString(message.deployingBuild))
+ return "deployingBuild: string expected";
+ if (message.etag != null && message.hasOwnProperty("etag"))
+ if (!$util.isString(message.etag))
+ return "etag: string expected";
+ if (message.deployFailureCause != null && message.hasOwnProperty("deployFailureCause"))
+ switch (message.deployFailureCause) {
+ default:
+ return "deployFailureCause: enum value expected";
+ case 0:
+ case 1:
+ case 2:
+ case 3:
+ case 4:
+ case 5:
+ case 6:
+ break;
+ }
+ if (message.phases != null && message.hasOwnProperty("phases")) {
+ if (!Array.isArray(message.phases))
+ return "phases: array expected";
+ for (var i = 0; i < message.phases.length; ++i) {
+ var error = $root.google.cloud.deploy.v1.Phase.verify(message.phases[i]);
+ if (error)
+ return "phases." + error;
+ }
+ }
+ if (message.metadata != null && message.hasOwnProperty("metadata")) {
+ var error = $root.google.cloud.deploy.v1.Metadata.verify(message.metadata);
+ if (error)
+ return "metadata." + error;
+ }
+ return null;
+ };
+
+ /**
+ * Creates a Rollout message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.cloud.deploy.v1.Rollout
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.cloud.deploy.v1.Rollout} Rollout
+ */
+ Rollout.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.cloud.deploy.v1.Rollout)
+ return object;
+ var message = new $root.google.cloud.deploy.v1.Rollout();
+ if (object.name != null)
+ message.name = String(object.name);
+ if (object.uid != null)
+ message.uid = String(object.uid);
+ if (object.description != null)
+ message.description = String(object.description);
+ if (object.annotations) {
+ if (typeof object.annotations !== "object")
+ throw TypeError(".google.cloud.deploy.v1.Rollout.annotations: object expected");
+ message.annotations = {};
+ for (var keys = Object.keys(object.annotations), i = 0; i < keys.length; ++i)
+ message.annotations[keys[i]] = String(object.annotations[keys[i]]);
+ }
+ if (object.labels) {
+ if (typeof object.labels !== "object")
+ throw TypeError(".google.cloud.deploy.v1.Rollout.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.createTime != null) {
+ if (typeof object.createTime !== "object")
+ throw TypeError(".google.cloud.deploy.v1.Rollout.createTime: object expected");
+ message.createTime = $root.google.protobuf.Timestamp.fromObject(object.createTime);
+ }
+ if (object.approveTime != null) {
+ if (typeof object.approveTime !== "object")
+ throw TypeError(".google.cloud.deploy.v1.Rollout.approveTime: object expected");
+ message.approveTime = $root.google.protobuf.Timestamp.fromObject(object.approveTime);
+ }
+ if (object.enqueueTime != null) {
+ if (typeof object.enqueueTime !== "object")
+ throw TypeError(".google.cloud.deploy.v1.Rollout.enqueueTime: object expected");
+ message.enqueueTime = $root.google.protobuf.Timestamp.fromObject(object.enqueueTime);
+ }
+ if (object.deployStartTime != null) {
+ if (typeof object.deployStartTime !== "object")
+ throw TypeError(".google.cloud.deploy.v1.Rollout.deployStartTime: object expected");
+ message.deployStartTime = $root.google.protobuf.Timestamp.fromObject(object.deployStartTime);
+ }
+ if (object.deployEndTime != null) {
+ if (typeof object.deployEndTime !== "object")
+ throw TypeError(".google.cloud.deploy.v1.Rollout.deployEndTime: object expected");
+ message.deployEndTime = $root.google.protobuf.Timestamp.fromObject(object.deployEndTime);
+ }
+ if (object.targetId != null)
+ message.targetId = String(object.targetId);
+ switch (object.approvalState) {
+ case "APPROVAL_STATE_UNSPECIFIED":
+ case 0:
+ message.approvalState = 0;
+ break;
+ case "NEEDS_APPROVAL":
+ case 1:
+ message.approvalState = 1;
+ break;
+ case "DOES_NOT_NEED_APPROVAL":
+ case 2:
+ message.approvalState = 2;
+ break;
+ case "APPROVED":
+ case 3:
+ message.approvalState = 3;
+ break;
+ case "REJECTED":
+ case 4:
+ message.approvalState = 4;
+ break;
+ }
+ switch (object.state) {
+ case "STATE_UNSPECIFIED":
+ case 0:
+ message.state = 0;
+ break;
+ case "SUCCEEDED":
+ case 1:
+ message.state = 1;
+ break;
+ case "FAILED":
+ case 2:
+ message.state = 2;
+ break;
+ case "IN_PROGRESS":
+ case 3:
+ message.state = 3;
+ break;
+ case "PENDING_APPROVAL":
+ case 4:
+ message.state = 4;
+ break;
+ case "APPROVAL_REJECTED":
+ case 5:
+ message.state = 5;
+ break;
+ case "PENDING":
+ case 6:
+ message.state = 6;
+ break;
+ case "PENDING_RELEASE":
+ case 7:
+ message.state = 7;
+ break;
+ }
+ if (object.failureReason != null)
+ message.failureReason = String(object.failureReason);
+ if (object.deployingBuild != null)
+ message.deployingBuild = String(object.deployingBuild);
+ if (object.etag != null)
+ message.etag = String(object.etag);
+ switch (object.deployFailureCause) {
+ case "FAILURE_CAUSE_UNSPECIFIED":
+ case 0:
+ message.deployFailureCause = 0;
+ break;
+ case "CLOUD_BUILD_UNAVAILABLE":
+ case 1:
+ message.deployFailureCause = 1;
+ break;
+ case "EXECUTION_FAILED":
+ case 2:
+ message.deployFailureCause = 2;
+ break;
+ case "DEADLINE_EXCEEDED":
+ case 3:
+ message.deployFailureCause = 3;
+ break;
+ case "RELEASE_FAILED":
+ case 4:
+ message.deployFailureCause = 4;
+ break;
+ case "RELEASE_ABANDONED":
+ case 5:
+ message.deployFailureCause = 5;
+ break;
+ case "VERIFICATION_CONFIG_NOT_FOUND":
+ case 6:
+ message.deployFailureCause = 6;
+ break;
+ }
+ if (object.phases) {
+ if (!Array.isArray(object.phases))
+ throw TypeError(".google.cloud.deploy.v1.Rollout.phases: array expected");
+ message.phases = [];
+ for (var i = 0; i < object.phases.length; ++i) {
+ if (typeof object.phases[i] !== "object")
+ throw TypeError(".google.cloud.deploy.v1.Rollout.phases: object expected");
+ message.phases[i] = $root.google.cloud.deploy.v1.Phase.fromObject(object.phases[i]);
+ }
+ }
+ if (object.metadata != null) {
+ if (typeof object.metadata !== "object")
+ throw TypeError(".google.cloud.deploy.v1.Rollout.metadata: object expected");
+ message.metadata = $root.google.cloud.deploy.v1.Metadata.fromObject(object.metadata);
+ }
+ return message;
+ };
+
+ /**
+ * Creates a plain object from a Rollout message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.cloud.deploy.v1.Rollout
+ * @static
+ * @param {google.cloud.deploy.v1.Rollout} message Rollout
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ Rollout.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.arrays || options.defaults)
+ object.phases = [];
+ if (options.objects || options.defaults) {
+ object.annotations = {};
+ object.labels = {};
+ }
+ if (options.defaults) {
+ object.name = "";
+ object.uid = "";
+ object.description = "";
+ object.createTime = null;
+ object.approveTime = null;
+ object.enqueueTime = null;
+ object.deployStartTime = null;
+ object.deployEndTime = null;
+ object.approvalState = options.enums === String ? "APPROVAL_STATE_UNSPECIFIED" : 0;
+ object.state = options.enums === String ? "STATE_UNSPECIFIED" : 0;
+ object.failureReason = "";
+ object.etag = "";
+ object.deployingBuild = "";
+ object.targetId = "";
+ object.deployFailureCause = options.enums === String ? "FAILURE_CAUSE_UNSPECIFIED" : 0;
+ object.metadata = null;
+ }
+ if (message.name != null && message.hasOwnProperty("name"))
+ object.name = message.name;
+ if (message.uid != null && message.hasOwnProperty("uid"))
+ object.uid = message.uid;
+ if (message.description != null && message.hasOwnProperty("description"))
+ object.description = message.description;
+ var keys2;
+ if (message.annotations && (keys2 = Object.keys(message.annotations)).length) {
+ object.annotations = {};
+ for (var j = 0; j < keys2.length; ++j)
+ object.annotations[keys2[j]] = message.annotations[keys2[j]];
+ }
+ 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.createTime != null && message.hasOwnProperty("createTime"))
+ object.createTime = $root.google.protobuf.Timestamp.toObject(message.createTime, options);
+ if (message.approveTime != null && message.hasOwnProperty("approveTime"))
+ object.approveTime = $root.google.protobuf.Timestamp.toObject(message.approveTime, options);
+ if (message.enqueueTime != null && message.hasOwnProperty("enqueueTime"))
+ object.enqueueTime = $root.google.protobuf.Timestamp.toObject(message.enqueueTime, options);
+ if (message.deployStartTime != null && message.hasOwnProperty("deployStartTime"))
+ object.deployStartTime = $root.google.protobuf.Timestamp.toObject(message.deployStartTime, options);
+ if (message.deployEndTime != null && message.hasOwnProperty("deployEndTime"))
+ object.deployEndTime = $root.google.protobuf.Timestamp.toObject(message.deployEndTime, options);
+ if (message.approvalState != null && message.hasOwnProperty("approvalState"))
+ object.approvalState = options.enums === String ? $root.google.cloud.deploy.v1.Rollout.ApprovalState[message.approvalState] : message.approvalState;
+ if (message.state != null && message.hasOwnProperty("state"))
+ object.state = options.enums === String ? $root.google.cloud.deploy.v1.Rollout.State[message.state] : message.state;
+ if (message.failureReason != null && message.hasOwnProperty("failureReason"))
+ object.failureReason = message.failureReason;
+ if (message.etag != null && message.hasOwnProperty("etag"))
+ object.etag = message.etag;
+ if (message.deployingBuild != null && message.hasOwnProperty("deployingBuild"))
+ object.deployingBuild = message.deployingBuild;
+ if (message.targetId != null && message.hasOwnProperty("targetId"))
+ object.targetId = message.targetId;
+ if (message.deployFailureCause != null && message.hasOwnProperty("deployFailureCause"))
+ object.deployFailureCause = options.enums === String ? $root.google.cloud.deploy.v1.Rollout.FailureCause[message.deployFailureCause] : message.deployFailureCause;
+ if (message.phases && message.phases.length) {
+ object.phases = [];
+ for (var j = 0; j < message.phases.length; ++j)
+ object.phases[j] = $root.google.cloud.deploy.v1.Phase.toObject(message.phases[j], options);
+ }
+ if (message.metadata != null && message.hasOwnProperty("metadata"))
+ object.metadata = $root.google.cloud.deploy.v1.Metadata.toObject(message.metadata, options);
+ return object;
+ };
+
+ /**
+ * Converts this Rollout to JSON.
+ * @function toJSON
+ * @memberof google.cloud.deploy.v1.Rollout
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ Rollout.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for Rollout
+ * @function getTypeUrl
+ * @memberof google.cloud.deploy.v1.Rollout
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ Rollout.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.cloud.deploy.v1.Rollout";
+ };
+
+ /**
+ * ApprovalState enum.
+ * @name google.cloud.deploy.v1.Rollout.ApprovalState
+ * @enum {number}
+ * @property {number} APPROVAL_STATE_UNSPECIFIED=0 APPROVAL_STATE_UNSPECIFIED value
+ * @property {number} NEEDS_APPROVAL=1 NEEDS_APPROVAL value
+ * @property {number} DOES_NOT_NEED_APPROVAL=2 DOES_NOT_NEED_APPROVAL value
+ * @property {number} APPROVED=3 APPROVED value
+ * @property {number} REJECTED=4 REJECTED value
+ */
+ Rollout.ApprovalState = (function() {
+ var valuesById = {}, values = Object.create(valuesById);
+ values[valuesById[0] = "APPROVAL_STATE_UNSPECIFIED"] = 0;
+ values[valuesById[1] = "NEEDS_APPROVAL"] = 1;
+ values[valuesById[2] = "DOES_NOT_NEED_APPROVAL"] = 2;
+ values[valuesById[3] = "APPROVED"] = 3;
+ values[valuesById[4] = "REJECTED"] = 4;
+ return values;
+ })();
+
+ /**
+ * State enum.
+ * @name google.cloud.deploy.v1.Rollout.State
+ * @enum {number}
+ * @property {number} STATE_UNSPECIFIED=0 STATE_UNSPECIFIED value
+ * @property {number} SUCCEEDED=1 SUCCEEDED value
+ * @property {number} FAILED=2 FAILED value
+ * @property {number} IN_PROGRESS=3 IN_PROGRESS value
+ * @property {number} PENDING_APPROVAL=4 PENDING_APPROVAL value
+ * @property {number} APPROVAL_REJECTED=5 APPROVAL_REJECTED value
+ * @property {number} PENDING=6 PENDING value
+ * @property {number} PENDING_RELEASE=7 PENDING_RELEASE value
+ */
+ Rollout.State = (function() {
+ var valuesById = {}, values = Object.create(valuesById);
+ values[valuesById[0] = "STATE_UNSPECIFIED"] = 0;
+ values[valuesById[1] = "SUCCEEDED"] = 1;
+ values[valuesById[2] = "FAILED"] = 2;
+ values[valuesById[3] = "IN_PROGRESS"] = 3;
+ values[valuesById[4] = "PENDING_APPROVAL"] = 4;
+ values[valuesById[5] = "APPROVAL_REJECTED"] = 5;
+ values[valuesById[6] = "PENDING"] = 6;
+ values[valuesById[7] = "PENDING_RELEASE"] = 7;
+ return values;
+ })();
+
+ /**
+ * FailureCause enum.
+ * @name google.cloud.deploy.v1.Rollout.FailureCause
+ * @enum {number}
+ * @property {number} FAILURE_CAUSE_UNSPECIFIED=0 FAILURE_CAUSE_UNSPECIFIED value
+ * @property {number} CLOUD_BUILD_UNAVAILABLE=1 CLOUD_BUILD_UNAVAILABLE value
+ * @property {number} EXECUTION_FAILED=2 EXECUTION_FAILED value
+ * @property {number} DEADLINE_EXCEEDED=3 DEADLINE_EXCEEDED value
+ * @property {number} RELEASE_FAILED=4 RELEASE_FAILED value
+ * @property {number} RELEASE_ABANDONED=5 RELEASE_ABANDONED value
+ * @property {number} VERIFICATION_CONFIG_NOT_FOUND=6 VERIFICATION_CONFIG_NOT_FOUND value
+ */
+ Rollout.FailureCause = (function() {
+ var valuesById = {}, values = Object.create(valuesById);
+ values[valuesById[0] = "FAILURE_CAUSE_UNSPECIFIED"] = 0;
+ values[valuesById[1] = "CLOUD_BUILD_UNAVAILABLE"] = 1;
+ values[valuesById[2] = "EXECUTION_FAILED"] = 2;
+ values[valuesById[3] = "DEADLINE_EXCEEDED"] = 3;
+ values[valuesById[4] = "RELEASE_FAILED"] = 4;
+ values[valuesById[5] = "RELEASE_ABANDONED"] = 5;
+ values[valuesById[6] = "VERIFICATION_CONFIG_NOT_FOUND"] = 6;
+ return values;
+ })();
+
+ return Rollout;
+ })();
+
+ v1.Metadata = (function() {
+
+ /**
+ * Properties of a Metadata.
+ * @memberof google.cloud.deploy.v1
+ * @interface IMetadata
+ * @property {google.cloud.deploy.v1.ICloudRunMetadata|null} [cloudRun] Metadata cloudRun
+ */
+
+ /**
+ * Constructs a new Metadata.
+ * @memberof google.cloud.deploy.v1
+ * @classdesc Represents a Metadata.
+ * @implements IMetadata
+ * @constructor
+ * @param {google.cloud.deploy.v1.IMetadata=} [properties] Properties to set
+ */
+ function Metadata(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]];
+ }
+
+ /**
+ * Metadata cloudRun.
+ * @member {google.cloud.deploy.v1.ICloudRunMetadata|null|undefined} cloudRun
+ * @memberof google.cloud.deploy.v1.Metadata
+ * @instance
+ */
+ Metadata.prototype.cloudRun = null;
+
+ /**
+ * Creates a new Metadata instance using the specified properties.
+ * @function create
+ * @memberof google.cloud.deploy.v1.Metadata
+ * @static
+ * @param {google.cloud.deploy.v1.IMetadata=} [properties] Properties to set
+ * @returns {google.cloud.deploy.v1.Metadata} Metadata instance
+ */
+ Metadata.create = function create(properties) {
+ return new Metadata(properties);
+ };
+
+ /**
+ * Encodes the specified Metadata message. Does not implicitly {@link google.cloud.deploy.v1.Metadata.verify|verify} messages.
+ * @function encode
+ * @memberof google.cloud.deploy.v1.Metadata
+ * @static
+ * @param {google.cloud.deploy.v1.IMetadata} message Metadata message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ Metadata.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.cloudRun != null && Object.hasOwnProperty.call(message, "cloudRun"))
+ $root.google.cloud.deploy.v1.CloudRunMetadata.encode(message.cloudRun, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
+ return writer;
+ };
+
+ /**
+ * Encodes the specified Metadata message, length delimited. Does not implicitly {@link google.cloud.deploy.v1.Metadata.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.cloud.deploy.v1.Metadata
+ * @static
+ * @param {google.cloud.deploy.v1.IMetadata} message Metadata message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ Metadata.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes a Metadata message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.cloud.deploy.v1.Metadata
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.cloud.deploy.v1.Metadata} Metadata
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ Metadata.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.deploy.v1.Metadata();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ switch (tag >>> 3) {
+ case 1: {
+ message.cloudRun = $root.google.cloud.deploy.v1.CloudRunMetadata.decode(reader, reader.uint32());
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes a Metadata message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.cloud.deploy.v1.Metadata
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.cloud.deploy.v1.Metadata} Metadata
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ Metadata.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies a Metadata message.
+ * @function verify
+ * @memberof google.cloud.deploy.v1.Metadata
+ * @static
+ * @param {Object.