diff --git a/.release-please-manifest.json b/.release-please-manifest.json
index 73f4a7b696d..8be1c430a26 100644
--- a/.release-please-manifest.json
+++ b/.release-please-manifest.json
@@ -12,15 +12,20 @@
"packages/google-cloud-bigquery-datapolicies": "0.1.0",
"packages/google-cloud-bigquery-datatransfer": "3.1.3",
"packages/google-cloud-bigquery-reservation": "2.0.2",
+ "packages/google-cloud-gkeconnect-gateway": "2.0.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",
"packages/google-cloud-language": "5.1.0",
"packages/google-cloud-oslogin": "4.0.2",
"packages/google-cloud-phishingprotection": "3.0.4",
+ "packages/google-cloud-policytroubleshooter": "2.0.4",
"packages/google-cloud-recommender": "5.0.2",
"packages/google-cloud-redis": "3.1.3",
"packages/google-cloud-resourcemanager": "4.1.1",
"packages/google-cloud-security-publicca": "0.1.1",
+ "packages/google-cloud-shell": "2.0.1",
"packages/google-devtools-artifactregistry": "2.0.0",
"packages/google-iam": "0.2.0",
"packages/google-maps-routing": "0.1.1",
diff --git a/packages/google-cloud-dataplex/.OwlBot.yaml b/packages/google-cloud-dataplex/.OwlBot.yaml
new file mode 100644
index 00000000000..7356a0314e2
--- /dev/null
+++ b/packages/google-cloud-dataplex/.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/dataplex/(.*)/.*-nodejs
+ dest: /owl-bot-staging/google-cloud-dataplex/$1
diff --git a/packages/google-cloud-dataplex/.eslintignore b/packages/google-cloud-dataplex/.eslintignore
new file mode 100644
index 00000000000..ea5b04aebe6
--- /dev/null
+++ b/packages/google-cloud-dataplex/.eslintignore
@@ -0,0 +1,7 @@
+**/node_modules
+**/coverage
+test/fixtures
+build/
+docs/
+protos/
+samples/generated/
diff --git a/packages/google-cloud-dataplex/.eslintrc.json b/packages/google-cloud-dataplex/.eslintrc.json
new file mode 100644
index 00000000000..78215349546
--- /dev/null
+++ b/packages/google-cloud-dataplex/.eslintrc.json
@@ -0,0 +1,3 @@
+{
+ "extends": "./node_modules/gts"
+}
diff --git a/packages/google-cloud-dataplex/.gitattributes b/packages/google-cloud-dataplex/.gitattributes
new file mode 100644
index 00000000000..33739cb74e4
--- /dev/null
+++ b/packages/google-cloud-dataplex/.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-dataplex/.gitignore b/packages/google-cloud-dataplex/.gitignore
new file mode 100644
index 00000000000..5d32b23782f
--- /dev/null
+++ b/packages/google-cloud-dataplex/.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-dataplex/.jsdoc.js b/packages/google-cloud-dataplex/.jsdoc.js
new file mode 100644
index 00000000000..ee5e526879d
--- /dev/null
+++ b/packages/google-cloud-dataplex/.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/dataplex',
+ theme: 'lumen',
+ default: {
+ outputSourceFiles: false
+ }
+ },
+ markdown: {
+ idInHeadings: true
+ }
+};
diff --git a/packages/google-cloud-dataplex/.mocharc.js b/packages/google-cloud-dataplex/.mocharc.js
new file mode 100644
index 00000000000..cdb7b752160
--- /dev/null
+++ b/packages/google-cloud-dataplex/.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-dataplex/.nycrc b/packages/google-cloud-dataplex/.nycrc
new file mode 100644
index 00000000000..b18d5472b62
--- /dev/null
+++ b/packages/google-cloud-dataplex/.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-dataplex/.prettierignore b/packages/google-cloud-dataplex/.prettierignore
new file mode 100644
index 00000000000..9340ad9b86d
--- /dev/null
+++ b/packages/google-cloud-dataplex/.prettierignore
@@ -0,0 +1,6 @@
+**/node_modules
+**/coverage
+test/fixtures
+build/
+docs/
+protos/
diff --git a/packages/google-cloud-dataplex/.prettierrc.js b/packages/google-cloud-dataplex/.prettierrc.js
new file mode 100644
index 00000000000..d546a4ad546
--- /dev/null
+++ b/packages/google-cloud-dataplex/.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-dataplex/.repo-metadata.json b/packages/google-cloud-dataplex/.repo-metadata.json
new file mode 100644
index 00000000000..b2ed29676d8
--- /dev/null
+++ b/packages/google-cloud-dataplex/.repo-metadata.json
@@ -0,0 +1,16 @@
+{
+ "name": "dataplex",
+ "name_pretty": "Cloud Dataplex",
+ "product_documentation": "https://cloud.google.com/dataplex/",
+ "client_documentation": "https://cloud.google.com/dataplex",
+ "issue_tracker": "https://github.com/googleapis/google-cloud-node/issues",
+ "release_level": "stable",
+ "language": "nodejs",
+ "repo": "googleapis/google-cloud-node",
+ "distribution_name": "@google-cloud/dataplex",
+ "api_id": "dataplex.googleapis.com",
+ "default_version": "v1",
+ "requires_billing": true,
+ "library_type": "GAPIC_AUTO",
+ "api_shortname": "dataplex"
+}
diff --git a/packages/google-cloud-dataplex/CHANGELOG.md b/packages/google-cloud-dataplex/CHANGELOG.md
new file mode 100644
index 00000000000..3d934ffb43f
--- /dev/null
+++ b/packages/google-cloud-dataplex/CHANGELOG.md
@@ -0,0 +1,58 @@
+# Changelog
+
+## [2.2.0](https://github.com/googleapis/nodejs-dataplex/compare/v2.1.1...v2.2.0) (2022-09-21)
+
+
+### Features
+
+* Custom container, encryption key, cross project for Task, and more ([#51](https://github.com/googleapis/nodejs-dataplex/issues/51)) ([c6ab09d](https://github.com/googleapis/nodejs-dataplex/commit/c6ab09d06acd14bc182de9afda2d2da683a7a041))
+
+## [2.1.1](https://github.com/googleapis/nodejs-dataplex/compare/v2.1.0...v2.1.1) (2022-08-27)
+
+
+### Bug Fixes
+
+* change import long to require ([#45](https://github.com/googleapis/nodejs-dataplex/issues/45)) ([7f3455c](https://github.com/googleapis/nodejs-dataplex/commit/7f3455c33f91a950b28d71e4af317eb31549a035))
+* do not import the whole google-gax from proto JS ([#1553](https://github.com/googleapis/nodejs-dataplex/issues/1553)) ([#48](https://github.com/googleapis/nodejs-dataplex/issues/48)) ([8ced1a1](https://github.com/googleapis/nodejs-dataplex/commit/8ced1a11ec7a280d8fe10b5180dd7b7252377441))
+* remove pip install statements ([#1546](https://github.com/googleapis/nodejs-dataplex/issues/1546)) ([#47](https://github.com/googleapis/nodejs-dataplex/issues/47)) ([76d8469](https://github.com/googleapis/nodejs-dataplex/commit/76d84695d49aec32df66626ea7cfa6f9d4eb2516))
+* use google-gax v3.3.0 ([8ced1a1](https://github.com/googleapis/nodejs-dataplex/commit/8ced1a11ec7a280d8fe10b5180dd7b7252377441))
+
+## [2.1.0](https://github.com/googleapis/nodejs-dataplex/compare/v2.0.0...v2.1.0) (2022-06-30)
+
+
+### Features
+
+* support regapic LRO ([#40](https://github.com/googleapis/nodejs-dataplex/issues/40)) ([b41c45d](https://github.com/googleapis/nodejs-dataplex/commit/b41c45db754f2bbead96bd6a1ee327d7db7d05ae))
+
+## [2.0.0](https://github.com/googleapis/nodejs-dataplex/compare/v1.2.0...v2.0.0) (2022-05-19)
+
+
+### ⚠ BREAKING CHANGES
+
+* update library to use Node 12 (#35)
+
+### Build System
+
+* update library to use Node 12 ([#35](https://github.com/googleapis/nodejs-dataplex/issues/35)) ([5eacc44](https://github.com/googleapis/nodejs-dataplex/commit/5eacc440fb9d16a200d7a4c79edd1a52fbc17848))
+
+## [1.2.0](https://github.com/googleapis/nodejs-dataplex/compare/v1.1.0...v1.2.0) (2022-03-24)
+
+
+### Features
+
+* promote to stable ([#18](https://github.com/googleapis/nodejs-dataplex/issues/18)) ([a66995c](https://github.com/googleapis/nodejs-dataplex/commit/a66995c55005f941e1d43ca2befca1b497c6d9d4)), closes [#6](https://github.com/googleapis/nodejs-dataplex/issues/6)
+
+## [1.1.0](https://github.com/googleapis/nodejs-dataplex/compare/v1.0.0...v1.1.0) (2022-02-16)
+
+
+### Features
+
+* add Content APIs ([#11](https://github.com/googleapis/nodejs-dataplex/issues/11)) ([09ea109](https://github.com/googleapis/nodejs-dataplex/commit/09ea109f0e9a6edc5e6eefa345833689422785eb))
+* add Create|Update|Delete Metadata APIs (e.g. Entity and/or Partition). ([09ea109](https://github.com/googleapis/nodejs-dataplex/commit/09ea109f0e9a6edc5e6eefa345833689422785eb))
+
+## 1.0.0 (2022-02-07)
+
+
+### Features
+
+* initial generation ([0315f09](https://github.com/googleapis/nodejs-dataplex/commit/0315f09e8c2768b8acb46793694cf7ba64432f2f))
diff --git a/packages/google-cloud-dataplex/CODE_OF_CONDUCT.md b/packages/google-cloud-dataplex/CODE_OF_CONDUCT.md
new file mode 100644
index 00000000000..2add2547a81
--- /dev/null
+++ b/packages/google-cloud-dataplex/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-dataplex/CONTRIBUTING.md b/packages/google-cloud-dataplex/CONTRIBUTING.md
new file mode 100644
index 00000000000..7786ca4f303
--- /dev/null
+++ b/packages/google-cloud-dataplex/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 Cloud Dataplex 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=dataplex.googleapis.com
+[auth]: https://cloud.google.com/docs/authentication/getting-started
\ No newline at end of file
diff --git a/packages/google-cloud-dataplex/LICENSE b/packages/google-cloud-dataplex/LICENSE
new file mode 100644
index 00000000000..d6456956733
--- /dev/null
+++ b/packages/google-cloud-dataplex/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-dataplex/README.md b/packages/google-cloud-dataplex/README.md
new file mode 100644
index 00000000000..90002399119
--- /dev/null
+++ b/packages/google-cloud-dataplex/README.md
@@ -0,0 +1,211 @@
+[//]: # "This README.md file is auto-generated, all changes to this file will be lost."
+[//]: # "To regenerate it, use `python -m synthtool`."
+
+
+# [Cloud Dataplex: Node.js Client](https://github.com/googleapis/google-cloud-node)
+
+[![release level](https://img.shields.io/badge/release%20level-stable-brightgreen.svg?style=flat)](https://cloud.google.com/terms/launch-stages)
+[![npm version](https://img.shields.io/npm/v/@google-cloud/dataplex.svg)](https://www.npmjs.org/package/@google-cloud/dataplex)
+
+
+
+
+dataplex 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).
+
+* [Cloud Dataplex Node.js Client API Reference][client-docs]
+* [Cloud Dataplex 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 Cloud Dataplex 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/dataplex
+```
+
+
+### Using the client library
+
+```javascript
+// Imports the Google Cloud client library
+
+// eslint-disable-next-line node/no-missing-require
+const {DataplexServiceClient} = require('@google-cloud/dataplex');
+
+// TODO(developer): replace with your prefered project ID.
+// const projectId = 'my-project'
+// const location = 'my-location'
+
+// Creates a client1046198160504
+// eslint-disable-next-line no-unused-vars
+const client = new DataplexServiceClient();
+
+async function listLakes() {
+ const [lakes] = await client.listLakes({
+ parent: `projects/${projectId}/locations/${location}`,
+ });
+ console.info(lakes);
+}
+listLakes();
+
+```
+
+
+
+## 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 |
+| --------------------------- | --------------------------------- | ------ |
+| Content_service.create_content | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dataplex/samples/generated/v1/content_service.create_content.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-dataplex/samples/generated/v1/content_service.create_content.js,samples/README.md) |
+| Content_service.delete_content | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dataplex/samples/generated/v1/content_service.delete_content.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-dataplex/samples/generated/v1/content_service.delete_content.js,samples/README.md) |
+| Content_service.get_content | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dataplex/samples/generated/v1/content_service.get_content.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-dataplex/samples/generated/v1/content_service.get_content.js,samples/README.md) |
+| Content_service.get_iam_policy | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dataplex/samples/generated/v1/content_service.get_iam_policy.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-dataplex/samples/generated/v1/content_service.get_iam_policy.js,samples/README.md) |
+| Content_service.list_content | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dataplex/samples/generated/v1/content_service.list_content.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-dataplex/samples/generated/v1/content_service.list_content.js,samples/README.md) |
+| Content_service.set_iam_policy | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dataplex/samples/generated/v1/content_service.set_iam_policy.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-dataplex/samples/generated/v1/content_service.set_iam_policy.js,samples/README.md) |
+| Content_service.test_iam_permissions | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dataplex/samples/generated/v1/content_service.test_iam_permissions.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-dataplex/samples/generated/v1/content_service.test_iam_permissions.js,samples/README.md) |
+| Content_service.update_content | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dataplex/samples/generated/v1/content_service.update_content.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-dataplex/samples/generated/v1/content_service.update_content.js,samples/README.md) |
+| Dataplex_service.cancel_job | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dataplex/samples/generated/v1/dataplex_service.cancel_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-dataplex/samples/generated/v1/dataplex_service.cancel_job.js,samples/README.md) |
+| Dataplex_service.create_asset | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dataplex/samples/generated/v1/dataplex_service.create_asset.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-dataplex/samples/generated/v1/dataplex_service.create_asset.js,samples/README.md) |
+| Dataplex_service.create_environment | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dataplex/samples/generated/v1/dataplex_service.create_environment.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-dataplex/samples/generated/v1/dataplex_service.create_environment.js,samples/README.md) |
+| Dataplex_service.create_lake | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dataplex/samples/generated/v1/dataplex_service.create_lake.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-dataplex/samples/generated/v1/dataplex_service.create_lake.js,samples/README.md) |
+| Dataplex_service.create_task | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dataplex/samples/generated/v1/dataplex_service.create_task.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-dataplex/samples/generated/v1/dataplex_service.create_task.js,samples/README.md) |
+| Dataplex_service.create_zone | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dataplex/samples/generated/v1/dataplex_service.create_zone.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-dataplex/samples/generated/v1/dataplex_service.create_zone.js,samples/README.md) |
+| Dataplex_service.delete_asset | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dataplex/samples/generated/v1/dataplex_service.delete_asset.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-dataplex/samples/generated/v1/dataplex_service.delete_asset.js,samples/README.md) |
+| Dataplex_service.delete_environment | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dataplex/samples/generated/v1/dataplex_service.delete_environment.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-dataplex/samples/generated/v1/dataplex_service.delete_environment.js,samples/README.md) |
+| Dataplex_service.delete_lake | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dataplex/samples/generated/v1/dataplex_service.delete_lake.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-dataplex/samples/generated/v1/dataplex_service.delete_lake.js,samples/README.md) |
+| Dataplex_service.delete_task | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dataplex/samples/generated/v1/dataplex_service.delete_task.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-dataplex/samples/generated/v1/dataplex_service.delete_task.js,samples/README.md) |
+| Dataplex_service.delete_zone | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dataplex/samples/generated/v1/dataplex_service.delete_zone.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-dataplex/samples/generated/v1/dataplex_service.delete_zone.js,samples/README.md) |
+| Dataplex_service.get_asset | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dataplex/samples/generated/v1/dataplex_service.get_asset.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-dataplex/samples/generated/v1/dataplex_service.get_asset.js,samples/README.md) |
+| Dataplex_service.get_environment | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dataplex/samples/generated/v1/dataplex_service.get_environment.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-dataplex/samples/generated/v1/dataplex_service.get_environment.js,samples/README.md) |
+| Dataplex_service.get_job | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dataplex/samples/generated/v1/dataplex_service.get_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-dataplex/samples/generated/v1/dataplex_service.get_job.js,samples/README.md) |
+| Dataplex_service.get_lake | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dataplex/samples/generated/v1/dataplex_service.get_lake.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-dataplex/samples/generated/v1/dataplex_service.get_lake.js,samples/README.md) |
+| Dataplex_service.get_task | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dataplex/samples/generated/v1/dataplex_service.get_task.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-dataplex/samples/generated/v1/dataplex_service.get_task.js,samples/README.md) |
+| Dataplex_service.get_zone | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dataplex/samples/generated/v1/dataplex_service.get_zone.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-dataplex/samples/generated/v1/dataplex_service.get_zone.js,samples/README.md) |
+| Dataplex_service.list_asset_actions | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dataplex/samples/generated/v1/dataplex_service.list_asset_actions.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-dataplex/samples/generated/v1/dataplex_service.list_asset_actions.js,samples/README.md) |
+| Dataplex_service.list_assets | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dataplex/samples/generated/v1/dataplex_service.list_assets.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-dataplex/samples/generated/v1/dataplex_service.list_assets.js,samples/README.md) |
+| Dataplex_service.list_environments | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dataplex/samples/generated/v1/dataplex_service.list_environments.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-dataplex/samples/generated/v1/dataplex_service.list_environments.js,samples/README.md) |
+| Dataplex_service.list_jobs | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dataplex/samples/generated/v1/dataplex_service.list_jobs.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-dataplex/samples/generated/v1/dataplex_service.list_jobs.js,samples/README.md) |
+| Dataplex_service.list_lake_actions | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dataplex/samples/generated/v1/dataplex_service.list_lake_actions.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-dataplex/samples/generated/v1/dataplex_service.list_lake_actions.js,samples/README.md) |
+| Dataplex_service.list_lakes | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dataplex/samples/generated/v1/dataplex_service.list_lakes.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-dataplex/samples/generated/v1/dataplex_service.list_lakes.js,samples/README.md) |
+| Dataplex_service.list_sessions | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dataplex/samples/generated/v1/dataplex_service.list_sessions.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-dataplex/samples/generated/v1/dataplex_service.list_sessions.js,samples/README.md) |
+| Dataplex_service.list_tasks | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dataplex/samples/generated/v1/dataplex_service.list_tasks.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-dataplex/samples/generated/v1/dataplex_service.list_tasks.js,samples/README.md) |
+| Dataplex_service.list_zone_actions | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dataplex/samples/generated/v1/dataplex_service.list_zone_actions.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-dataplex/samples/generated/v1/dataplex_service.list_zone_actions.js,samples/README.md) |
+| Dataplex_service.list_zones | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dataplex/samples/generated/v1/dataplex_service.list_zones.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-dataplex/samples/generated/v1/dataplex_service.list_zones.js,samples/README.md) |
+| Dataplex_service.update_asset | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dataplex/samples/generated/v1/dataplex_service.update_asset.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-dataplex/samples/generated/v1/dataplex_service.update_asset.js,samples/README.md) |
+| Dataplex_service.update_environment | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dataplex/samples/generated/v1/dataplex_service.update_environment.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-dataplex/samples/generated/v1/dataplex_service.update_environment.js,samples/README.md) |
+| Dataplex_service.update_lake | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dataplex/samples/generated/v1/dataplex_service.update_lake.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-dataplex/samples/generated/v1/dataplex_service.update_lake.js,samples/README.md) |
+| Dataplex_service.update_task | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dataplex/samples/generated/v1/dataplex_service.update_task.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-dataplex/samples/generated/v1/dataplex_service.update_task.js,samples/README.md) |
+| Dataplex_service.update_zone | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dataplex/samples/generated/v1/dataplex_service.update_zone.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-dataplex/samples/generated/v1/dataplex_service.update_zone.js,samples/README.md) |
+| Metadata_service.create_entity | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dataplex/samples/generated/v1/metadata_service.create_entity.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-dataplex/samples/generated/v1/metadata_service.create_entity.js,samples/README.md) |
+| Metadata_service.create_partition | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dataplex/samples/generated/v1/metadata_service.create_partition.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-dataplex/samples/generated/v1/metadata_service.create_partition.js,samples/README.md) |
+| Metadata_service.delete_entity | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dataplex/samples/generated/v1/metadata_service.delete_entity.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-dataplex/samples/generated/v1/metadata_service.delete_entity.js,samples/README.md) |
+| Metadata_service.delete_partition | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dataplex/samples/generated/v1/metadata_service.delete_partition.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-dataplex/samples/generated/v1/metadata_service.delete_partition.js,samples/README.md) |
+| Metadata_service.get_entity | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dataplex/samples/generated/v1/metadata_service.get_entity.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-dataplex/samples/generated/v1/metadata_service.get_entity.js,samples/README.md) |
+| Metadata_service.get_partition | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dataplex/samples/generated/v1/metadata_service.get_partition.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-dataplex/samples/generated/v1/metadata_service.get_partition.js,samples/README.md) |
+| Metadata_service.list_entities | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dataplex/samples/generated/v1/metadata_service.list_entities.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-dataplex/samples/generated/v1/metadata_service.list_entities.js,samples/README.md) |
+| Metadata_service.list_partitions | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dataplex/samples/generated/v1/metadata_service.list_partitions.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-dataplex/samples/generated/v1/metadata_service.list_partitions.js,samples/README.md) |
+| Metadata_service.update_entity | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dataplex/samples/generated/v1/metadata_service.update_entity.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-dataplex/samples/generated/v1/metadata_service.update_entity.js,samples/README.md) |
+| Quickstart | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dataplex/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-dataplex/samples/quickstart.js,samples/README.md) |
+| Quickstart | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dataplex/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-dataplex/samples/test/quickstart.js,samples/README.md) |
+
+
+
+The [Cloud Dataplex 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/dataplex@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/dataplex
+[product-docs]: https://cloud.google.com/dataplex/
+[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=dataplex.googleapis.com
+[auth]: https://cloud.google.com/docs/authentication/getting-started
diff --git a/packages/google-cloud-dataplex/linkinator.config.json b/packages/google-cloud-dataplex/linkinator.config.json
new file mode 100644
index 00000000000..befd23c8633
--- /dev/null
+++ b/packages/google-cloud-dataplex/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-dataplex/package.json b/packages/google-cloud-dataplex/package.json
new file mode 100644
index 00000000000..fea3e5359c0
--- /dev/null
+++ b/packages/google-cloud-dataplex/package.json
@@ -0,0 +1,67 @@
+{
+ "name": "@google-cloud/dataplex",
+ "version": "2.2.0",
+ "description": "dataplex client for Node.js",
+ "repository": "googleapis/nodejs-dataplex",
+ "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 dataplex",
+ "dataplex",
+ "dataplex service"
+ ],
+ "scripts": {
+ "samples-test": "npm run compile && cd samples/ && npm link ../ && npm i && npm test",
+ "samples-test-suite": "cd samples/ && npm link ../ && npm test && cd ../",
+ "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"
+ },
+ "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",
+ "chai": "^4.3.6",
+ "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-dataplex/protos/google/cloud/dataplex/v1/analyze.proto b/packages/google-cloud-dataplex/protos/google/cloud/dataplex/v1/analyze.proto
new file mode 100644
index 00000000000..6f987fafad0
--- /dev/null
+++ b/packages/google-cloud-dataplex/protos/google/cloud/dataplex/v1/analyze.proto
@@ -0,0 +1,264 @@
+// 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.dataplex.v1;
+
+import "google/api/field_behavior.proto";
+import "google/api/resource.proto";
+import "google/cloud/dataplex/v1/resources.proto";
+import "google/protobuf/duration.proto";
+import "google/protobuf/timestamp.proto";
+
+option go_package = "google.golang.org/genproto/googleapis/cloud/dataplex/v1;dataplex";
+option java_multiple_files = true;
+option java_outer_classname = "AnalyzeProto";
+option java_package = "com.google.cloud.dataplex.v1";
+
+// Environment represents a user-visible compute infrastructure for analytics
+// within a lake.
+message Environment {
+ option (google.api.resource) = {
+ type: "dataplex.googleapis.com/Environment"
+ pattern: "projects/{project}/locations/{location}/lakes/{lake}/environments/{environment}"
+ };
+
+ // Configuration for the underlying infrastructure used to run workloads.
+ message InfrastructureSpec {
+ // Compute resources associated with the analyze interactive workloads.
+ message ComputeResources {
+ // Optional. Size in GB of the disk. Default is 100 GB.
+ int32 disk_size_gb = 1 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. Total number of nodes in the sessions created for this environment.
+ int32 node_count = 2 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. Max configurable nodes.
+ // If max_node_count > node_count, then auto-scaling is enabled.
+ int32 max_node_count = 3 [(google.api.field_behavior) = OPTIONAL];
+ }
+
+ // Software Runtime Configuration to run Analyze.
+ message OsImageRuntime {
+ // Required. Dataplex Image version.
+ string image_version = 1 [(google.api.field_behavior) = REQUIRED];
+
+ // Optional. List of Java jars to be included in the runtime environment.
+ // Valid input includes Cloud Storage URIs to Jar binaries.
+ // For example, gs://bucket-name/my/path/to/file.jar
+ repeated string java_libraries = 2 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. A list of python packages to be installed.
+ // Valid formats include Cloud Storage URI to a PIP installable library.
+ // For example, gs://bucket-name/my/path/to/lib.tar.gz
+ repeated string python_packages = 3 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. Spark properties to provide configuration for use in sessions created
+ // for this environment. The properties to set on daemon config files.
+ // Property keys are specified in `prefix:property` format.
+ // The prefix must be "spark".
+ map properties = 4 [(google.api.field_behavior) = OPTIONAL];
+ }
+
+ // Hardware config
+ oneof resources {
+ // Optional. Compute resources needed for analyze interactive workloads.
+ ComputeResources compute = 50 [(google.api.field_behavior) = OPTIONAL];
+ }
+
+ // Software config
+ oneof runtime {
+ // Required. Software Runtime Configuration for analyze interactive workloads.
+ OsImageRuntime os_image = 100 [(google.api.field_behavior) = REQUIRED];
+ }
+ }
+
+ message SessionSpec {
+ // Optional. The idle time configuration of the session. The session will be
+ // auto-terminated at the end of this period.
+ google.protobuf.Duration max_idle_duration = 1 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. If True, this causes sessions to be pre-created and available for faster
+ // startup to enable interactive exploration use-cases. This defaults to
+ // False to avoid additional billed charges.
+ // These can only be set to True for the environment with name set to
+ // "default", and with default configuration.
+ bool enable_fast_startup = 2 [(google.api.field_behavior) = OPTIONAL];
+ }
+
+ message SessionStatus {
+ // Output only. Queries over sessions to mark whether the environment is currently
+ // active or not
+ bool active = 1 [(google.api.field_behavior) = OUTPUT_ONLY];
+ }
+
+ message Endpoints {
+ // Output only. URI to serve notebook APIs
+ string notebooks = 1 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Output only. URI to serve SQL APIs
+ string sql = 2 [(google.api.field_behavior) = OUTPUT_ONLY];
+ }
+
+ // Output only. The relative resource name of the environment, of the form:
+ // projects/{project_id}/locations/{location_id}/lakes/{lake_id}/environment/{environment_id}
+ string name = 1 [
+ (google.api.field_behavior) = OUTPUT_ONLY,
+ (google.api.resource_reference) = {
+ type: "dataplex.googleapis.com/Environment"
+ }
+ ];
+
+ // Optional. User friendly display name.
+ string display_name = 2 [(google.api.field_behavior) = OPTIONAL];
+
+ // Output only. System generated globally unique ID for the environment. This ID will be
+ // different if the environment is deleted and re-created with the same name.
+ string uid = 3 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Output only. Environment creation time.
+ google.protobuf.Timestamp create_time = 4 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Output only. The time when the environment was last updated.
+ google.protobuf.Timestamp update_time = 5 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Optional. User defined labels for the environment.
+ map labels = 6 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. Description of the environment.
+ string description = 7 [(google.api.field_behavior) = OPTIONAL];
+
+ // Output only. Current state of the environment.
+ State state = 8 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Required. Infrastructure specification for the Environment.
+ InfrastructureSpec infrastructure_spec = 100 [(google.api.field_behavior) = REQUIRED];
+
+ // Optional. Configuration for sessions created for this environment.
+ SessionSpec session_spec = 101 [(google.api.field_behavior) = OPTIONAL];
+
+ // Output only. Status of sessions created for this environment.
+ SessionStatus session_status = 102 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Output only. URI Endpoints to access sessions associated with the Environment.
+ Endpoints endpoints = 200 [(google.api.field_behavior) = OUTPUT_ONLY];
+}
+
+// Content represents a user-visible notebook or a sql script
+message Content {
+ option (google.api.resource) = {
+ type: "dataplex.googleapis.com/Content"
+ pattern: "projects/{project}/locations/{location}/lakes/{lake}/content/{content}"
+ };
+
+ // Configuration for the Sql Script content.
+ message SqlScript {
+ // Query Engine Type of the SQL Script.
+ enum QueryEngine {
+ // Value was unspecified.
+ QUERY_ENGINE_UNSPECIFIED = 0;
+
+ // Spark SQL Query.
+ SPARK = 2;
+ }
+
+ // Required. Query Engine to be used for the Sql Query.
+ QueryEngine engine = 1 [(google.api.field_behavior) = REQUIRED];
+ }
+
+ // Configuration for Notebook content.
+ message Notebook {
+ // Kernel Type of the Jupyter notebook.
+ enum KernelType {
+ // Kernel Type unspecified.
+ KERNEL_TYPE_UNSPECIFIED = 0;
+
+ // Python 3 Kernel.
+ PYTHON3 = 1;
+ }
+
+ // Required. Kernel Type of the notebook.
+ KernelType kernel_type = 1 [(google.api.field_behavior) = REQUIRED];
+ }
+
+ // Output only. The relative resource name of the content, of the form:
+ // projects/{project_id}/locations/{location_id}/lakes/{lake_id}/content/{content_id}
+ string name = 1 [
+ (google.api.field_behavior) = OUTPUT_ONLY,
+ (google.api.resource_reference) = {
+ type: "dataplex.googleapis.com/Content"
+ }
+ ];
+
+ // Output only. System generated globally unique ID for the content. This ID will be
+ // different if the content is deleted and re-created with the same name.
+ string uid = 2 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Required. The path for the Content file, represented as directory structure.
+ // Unique within a lake.
+ // Limited to alphanumerics, hyphens, underscores, dots and slashes.
+ string path = 3 [(google.api.field_behavior) = REQUIRED];
+
+ // Output only. Content creation time.
+ google.protobuf.Timestamp create_time = 4 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Output only. The time when the content was last updated.
+ google.protobuf.Timestamp update_time = 5 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Optional. User defined labels for the content.
+ map labels = 6 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. Description of the content.
+ string description = 7 [(google.api.field_behavior) = OPTIONAL];
+
+ // Only returned in `GetContent` requests and not in `ListContent` request.
+ oneof data {
+ // Required. Content data in string format.
+ string data_text = 9 [(google.api.field_behavior) = REQUIRED];
+ }
+
+ oneof content {
+ // Sql Script related configurations.
+ SqlScript sql_script = 100;
+
+ // Notebook related configurations.
+ Notebook notebook = 101;
+ }
+}
+
+// Represents an active analyze session running for a user.
+message Session {
+ option (google.api.resource) = {
+ type: "dataplex.googleapis.com/Session"
+ pattern: "projects/{project}/locations/{location}/lakes/{lake}/environments/{environment}/sessions/{session}"
+ };
+
+ // Output only. The relative resource name of the content, of the form:
+ // projects/{project_id}/locations/{location_id}/lakes/{lake_id}/environment/{environment_id}/sessions/{session_id}
+ string name = 1 [
+ (google.api.field_behavior) = OUTPUT_ONLY,
+ (google.api.resource_reference) = {
+ type: "dataplex.googleapis.com/Session"
+ }
+ ];
+
+ // Output only. Email of user running the session.
+ string user_id = 2 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Output only. Session start time.
+ google.protobuf.Timestamp create_time = 3 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ State state = 4 [(google.api.field_behavior) = OUTPUT_ONLY];
+}
diff --git a/packages/google-cloud-dataplex/protos/google/cloud/dataplex/v1/content.proto b/packages/google-cloud-dataplex/protos/google/cloud/dataplex/v1/content.proto
new file mode 100644
index 00000000000..cd335a58cfd
--- /dev/null
+++ b/packages/google-cloud-dataplex/protos/google/cloud/dataplex/v1/content.proto
@@ -0,0 +1,268 @@
+// 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.dataplex.v1;
+
+import "google/api/annotations.proto";
+import "google/api/client.proto";
+import "google/api/field_behavior.proto";
+import "google/api/resource.proto";
+import "google/cloud/dataplex/v1/analyze.proto";
+import "google/iam/v1/iam_policy.proto";
+import "google/iam/v1/policy.proto";
+import "google/protobuf/empty.proto";
+import "google/protobuf/field_mask.proto";
+
+option go_package = "google.golang.org/genproto/googleapis/cloud/dataplex/v1;dataplex";
+option java_multiple_files = true;
+option java_outer_classname = "ContentProto";
+option java_package = "com.google.cloud.dataplex.v1";
+
+// ContentService manages Notebook and SQL Scripts for Dataplex.
+service ContentService {
+ option (google.api.default_host) = "dataplex.googleapis.com";
+ option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/cloud-platform";
+
+ // Create a content.
+ rpc CreateContent(CreateContentRequest) returns (Content) {
+ option (google.api.http) = {
+ post: "/v1/{parent=projects/*/locations/*/lakes/*}/contentitems"
+ body: "content"
+ additional_bindings {
+ post: "/v1/{parent=projects/*/locations/*/lakes/*}/content"
+ body: "content"
+ }
+ };
+ option (google.api.method_signature) = "parent,content";
+ }
+
+ // Update a content. Only supports full resource update.
+ rpc UpdateContent(UpdateContentRequest) returns (Content) {
+ option (google.api.http) = {
+ patch: "/v1/{content.name=projects/*/locations/*/lakes/*/contentitems/**}"
+ body: "content"
+ additional_bindings {
+ patch: "/v1/{content.name=projects/*/locations/*/lakes/*/content/**}"
+ body: "content"
+ }
+ };
+ option (google.api.method_signature) = "content,update_mask";
+ }
+
+ // Delete a content.
+ rpc DeleteContent(DeleteContentRequest) returns (google.protobuf.Empty) {
+ option (google.api.http) = {
+ delete: "/v1/{name=projects/*/locations/*/lakes/*/contentitems/**}"
+ additional_bindings {
+ delete: "/v1/{name=projects/*/locations/*/lakes/*/content/**}"
+ }
+ };
+ option (google.api.method_signature) = "name";
+ }
+
+ // Get a content resource.
+ rpc GetContent(GetContentRequest) returns (Content) {
+ option (google.api.http) = {
+ get: "/v1/{name=projects/*/locations/*/lakes/*/contentitems/**}"
+ additional_bindings {
+ get: "/v1/{name=projects/*/locations/*/lakes/*/content/**}"
+ }
+ };
+ option (google.api.method_signature) = "name";
+ }
+
+ // Gets the access control policy for a contentitem resource. A `NOT_FOUND`
+ // error is returned if the resource does not exist. An empty policy is
+ // returned if the resource exists but does not have a policy set on it.
+ //
+ // Caller must have Google IAM `dataplex.content.getIamPolicy` permission
+ // on the resource.
+ rpc GetIamPolicy(google.iam.v1.GetIamPolicyRequest) returns (google.iam.v1.Policy) {
+ option (google.api.http) = {
+ get: "/v1/{resource=projects/*/locations/*/lakes/*/contentitems/**}:getIamPolicy"
+ additional_bindings {
+ get: "/v1/{resource=projects/*/locations/*/lakes/*/content/**}:getIamPolicy"
+ }
+ };
+ option (google.api.method_signature) = "resource";
+ }
+
+ // Sets the access control policy on the specified contentitem resource.
+ // Replaces any existing policy.
+ //
+ // Caller must have Google IAM `dataplex.content.setIamPolicy` permission
+ // on the resource.
+ rpc SetIamPolicy(google.iam.v1.SetIamPolicyRequest) returns (google.iam.v1.Policy) {
+ option (google.api.http) = {
+ post: "/v1/{resource=projects/*/locations/*/lakes/*/contentitems/**}:setIamPolicy"
+ body: "*"
+ additional_bindings {
+ post: "/v1/{resource=projects/*/locations/*/lakes/*/content/**}:setIamPolicy"
+ body: "*"
+ }
+ };
+ }
+
+ // Returns the caller's permissions on a resource.
+ // If the resource does not exist, an empty set of
+ // permissions is returned (a `NOT_FOUND` error is not returned).
+ //
+ // A caller is not required to have Google IAM permission to make this
+ // request.
+ //
+ // Note: This operation is designed to be used for building permission-aware
+ // UIs and command-line tools, not for authorization checking. This operation
+ // may "fail open" without warning.
+ rpc TestIamPermissions(google.iam.v1.TestIamPermissionsRequest) returns (google.iam.v1.TestIamPermissionsResponse) {
+ option (google.api.http) = {
+ post: "/v1/{resource=projects/*/locations/*/lakes/*/contentitems/**}:testIamPermissions"
+ body: "*"
+ additional_bindings {
+ post: "/v1/{resource=projects/*/locations/*/lakes/*/content/**}:testIamPermissions"
+ body: "*"
+ }
+ };
+ }
+
+ // List content.
+ rpc ListContent(ListContentRequest) returns (ListContentResponse) {
+ option (google.api.http) = {
+ get: "/v1/{parent=projects/*/locations/*/lakes/*}/contentitems"
+ additional_bindings {
+ get: "/v1/{parent=projects/*/locations/*/lakes/*}/content"
+ }
+ };
+ option (google.api.method_signature) = "parent";
+ }
+}
+
+// Create content request.
+message CreateContentRequest {
+ // Required. The resource name of the parent lake:
+ // projects/{project_id}/locations/{location_id}/lakes/{lake_id}
+ string parent = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ type: "dataplex.googleapis.com/Lake"
+ }
+ ];
+
+ // Required. Content resource.
+ Content content = 2 [(google.api.field_behavior) = REQUIRED];
+
+ // Optional. Only validate the request, but do not perform mutations.
+ // The default is false.
+ bool validate_only = 3 [(google.api.field_behavior) = OPTIONAL];
+}
+
+// Update content request.
+message UpdateContentRequest {
+ // Required. Mask of fields to update.
+ google.protobuf.FieldMask update_mask = 1 [(google.api.field_behavior) = REQUIRED];
+
+ // Required. Update description.
+ // Only fields specified in `update_mask` are updated.
+ Content content = 2 [(google.api.field_behavior) = REQUIRED];
+
+ // Optional. Only validate the request, but do not perform mutations.
+ // The default is false.
+ bool validate_only = 3 [(google.api.field_behavior) = OPTIONAL];
+}
+
+// Delete content request.
+message DeleteContentRequest {
+ // Required. The resource name of the content:
+ // projects/{project_id}/locations/{location_id}/lakes/{lake_id}/content/{content_id}
+ string name = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ type: "dataplex.googleapis.com/Content"
+ }
+ ];
+}
+
+// List content request. Returns the BASIC Content view.
+message ListContentRequest {
+ // Required. The resource name of the parent lake:
+ // projects/{project_id}/locations/{location_id}/lakes/{lake_id}
+ string parent = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ type: "dataplex.googleapis.com/Lake"
+ }
+ ];
+
+ // Optional. Maximum number of content to return. The service may return fewer than
+ // this value. If unspecified, at most 10 content will be returned. The
+ // maximum value is 1000; values above 1000 will be coerced to 1000.
+ int32 page_size = 2 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. Page token received from a previous `ListContent` call. Provide this
+ // to retrieve the subsequent page. When paginating, all other parameters
+ // provided to `ListContent` must match the call that provided the page
+ // token.
+ string page_token = 3 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. Filter request. Filters are case-sensitive.
+ // The following formats are supported:
+ //
+ // labels.key1 = "value1"
+ // labels:key1
+ // type = "NOTEBOOK"
+ // type = "SQL_SCRIPT"
+ //
+ // These restrictions can be coinjoined with AND, OR and NOT conjunctions.
+ string filter = 4 [(google.api.field_behavior) = OPTIONAL];
+}
+
+// List content response.
+message ListContentResponse {
+ // Content under the given parent lake.
+ repeated Content content = 1;
+
+ // Token to retrieve the next page of results, or empty if there are no more
+ // results in the list.
+ string next_page_token = 2;
+}
+
+// Get content request.
+message GetContentRequest {
+ // Specifies whether the request should return the full or the partial
+ // representation.
+ enum ContentView {
+ // Content view not specified. Defaults to BASIC.
+ // The API will default to the BASIC view.
+ CONTENT_VIEW_UNSPECIFIED = 0;
+
+ // Will not return the `data_text` field.
+ BASIC = 1;
+
+ // Returns the complete proto.
+ FULL = 2;
+ }
+
+ // Required. The resource name of the content:
+ // projects/{project_id}/locations/{location_id}/lakes/{lake_id}/content/{content_id}
+ string name = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ type: "dataplex.googleapis.com/Content"
+ }
+ ];
+
+ // Optional. Specify content view to make a partial request.
+ ContentView view = 2 [(google.api.field_behavior) = OPTIONAL];
+}
diff --git a/packages/google-cloud-dataplex/protos/google/cloud/dataplex/v1/logs.proto b/packages/google-cloud-dataplex/protos/google/cloud/dataplex/v1/logs.proto
new file mode 100644
index 00000000000..0cec184809b
--- /dev/null
+++ b/packages/google-cloud-dataplex/protos/google/cloud/dataplex/v1/logs.proto
@@ -0,0 +1,300 @@
+// 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.dataplex.v1;
+
+import "google/api/resource.proto";
+import "google/protobuf/duration.proto";
+import "google/protobuf/timestamp.proto";
+
+option go_package = "google.golang.org/genproto/googleapis/cloud/dataplex/v1;dataplex";
+option java_multiple_files = true;
+option java_outer_classname = "LogsProto";
+option java_package = "com.google.cloud.dataplex.v1";
+
+// The payload associated with Discovery data processing.
+message DiscoveryEvent {
+ // The type of the event.
+ enum EventType {
+ // An unspecified event type.
+ EVENT_TYPE_UNSPECIFIED = 0;
+
+ // An event representing discovery configuration in effect.
+ CONFIG = 1;
+
+ // An event representing a metadata entity being created.
+ ENTITY_CREATED = 2;
+
+ // An event representing a metadata entity being updated.
+ ENTITY_UPDATED = 3;
+
+ // An event representing a metadata entity being deleted.
+ ENTITY_DELETED = 4;
+
+ // An event representing a partition being created.
+ PARTITION_CREATED = 5;
+
+ // An event representing a partition being updated.
+ PARTITION_UPDATED = 6;
+
+ // An event representing a partition being deleted.
+ PARTITION_DELETED = 7;
+ }
+
+ // The type of the entity.
+ enum EntityType {
+ // An unspecified event type.
+ ENTITY_TYPE_UNSPECIFIED = 0;
+
+ // Entities representing structured data.
+ TABLE = 1;
+
+ // Entities representing unstructured data.
+ FILESET = 2;
+ }
+
+ // Details about configuration events.
+ message ConfigDetails {
+ // A list of discovery configuration parameters in effect.
+ // The keys are the field paths within DiscoverySpec.
+ // Eg. includePatterns, excludePatterns, csvOptions.disableTypeInference,
+ // etc.
+ map parameters = 1;
+ }
+
+ // Details about the entity.
+ message EntityDetails {
+ // The name of the entity resource.
+ // The name is the fully-qualified resource name.
+ string entity = 1;
+
+ // The type of the entity resource.
+ EntityType type = 2;
+ }
+
+ // Details about the partition.
+ message PartitionDetails {
+ // The name to the partition resource.
+ // The name is the fully-qualified resource name.
+ string partition = 1;
+
+ // The name to the containing entity resource.
+ // The name is the fully-qualified resource name.
+ string entity = 2;
+
+ // The type of the containing entity resource.
+ EntityType type = 3;
+
+ // The locations of the data items (e.g., a Cloud Storage objects) sampled
+ // for metadata inference.
+ repeated string sampled_data_locations = 4;
+ }
+
+ // Details about the action.
+ message ActionDetails {
+ // The type of action.
+ // Eg. IncompatibleDataSchema, InvalidDataFormat
+ string type = 1;
+ }
+
+ // The log message.
+ string message = 1;
+
+ // The id of the associated lake.
+ string lake_id = 2;
+
+ // The id of the associated zone.
+ string zone_id = 3;
+
+ // The id of the associated asset.
+ string asset_id = 4;
+
+ // The data location associated with the event.
+ string data_location = 5;
+
+ // The type of the event being logged.
+ EventType type = 10;
+
+ // Additional details about the event.
+ oneof details {
+ // Details about discovery configuration in effect.
+ ConfigDetails config = 20;
+
+ // Details about the entity associated with the event.
+ EntityDetails entity = 21;
+
+ // Details about the partition associated with the event.
+ PartitionDetails partition = 22;
+
+ // Details about the action associated with the event.
+ ActionDetails action = 23;
+ }
+}
+
+// The payload associated with Job logs that contains events describing jobs
+// that have run within a Lake.
+message JobEvent {
+ // The type of the job.
+ enum Type {
+ // Unspecified job type.
+ TYPE_UNSPECIFIED = 0;
+
+ // Spark jobs.
+ SPARK = 1;
+
+ // Notebook jobs.
+ NOTEBOOK = 2;
+ }
+
+ // The completion status of the job.
+ enum State {
+ // Unspecified job state.
+ STATE_UNSPECIFIED = 0;
+
+ // Job successfully completed.
+ SUCCEEDED = 1;
+
+ // Job was unsuccessful.
+ FAILED = 2;
+
+ // Job was cancelled by the user.
+ CANCELLED = 3;
+
+ // Job was cancelled or aborted via the service executing the job.
+ ABORTED = 4;
+ }
+
+ // The service used to execute the job.
+ enum Service {
+ // Unspecified service.
+ SERVICE_UNSPECIFIED = 0;
+
+ // Cloud Dataproc.
+ DATAPROC = 1;
+ }
+
+ // The log message.
+ string message = 1;
+
+ // The unique id identifying the job.
+ string job_id = 2;
+
+ // The time when the job started running.
+ google.protobuf.Timestamp start_time = 3;
+
+ // The time when the job ended running.
+ google.protobuf.Timestamp end_time = 4;
+
+ // The job state on completion.
+ State state = 5;
+
+ // The number of retries.
+ int32 retries = 6;
+
+ // The type of the job.
+ Type type = 7;
+
+ // The service used to execute the job.
+ Service service = 8;
+
+ // The reference to the job within the service.
+ string service_job = 9;
+}
+
+// These messages contain information about sessions within an environment.
+// The monitored resource is 'Environment'.
+message SessionEvent {
+ // The type of the event.
+ enum EventType {
+ // An unspecified event type.
+ EVENT_TYPE_UNSPECIFIED = 0;
+
+ // Event when the session is assigned to a user.
+ START = 1;
+
+ // Event for stop of a session.
+ STOP = 2;
+
+ // Query events in the session.
+ QUERY = 3;
+
+ // Event for creation of a cluster. It is not yet assigned to a user.
+ // This comes before START in the sequence
+ CREATE = 4;
+ }
+
+ // Execution details of the query.
+ message QueryDetail {
+ // Query Execution engine.
+ enum Engine {
+ // An unspecified Engine type.
+ ENGINE_UNSPECIFIED = 0;
+
+ // Spark-sql engine is specified in Query.
+ SPARK_SQL = 1;
+
+ // BigQuery engine is specified in Query.
+ BIGQUERY = 2;
+ }
+
+ // The unique Query id identifying the query.
+ string query_id = 1;
+
+ // The query text executed.
+ string query_text = 2;
+
+ // Query Execution engine.
+ Engine engine = 3;
+
+ // Time taken for execution of the query.
+ google.protobuf.Duration duration = 4;
+
+ // The size of results the query produced.
+ int64 result_size_bytes = 5;
+
+ // The data processed by the query.
+ int64 data_processed_bytes = 6;
+ }
+
+ // The log message.
+ string message = 1;
+
+ // The information about the user that created the session. It will be the
+ // email address of the user.
+ string user_id = 2;
+
+ // Unique identifier for the session.
+ string session_id = 3;
+
+ // The type of the event.
+ EventType type = 4;
+
+ // Additional information about the Query metadata.
+ oneof detail {
+ // The execution details of the query.
+ QueryDetail query = 5;
+ }
+
+ // The status of the event.
+ bool event_succeeded = 6;
+
+ // If the session is associated with an Environment with fast startup enabled,
+ // and was pre-created before being assigned to a user.
+ bool fast_startup_enabled = 7;
+
+ // The idle duration of a warm pooled session before it is assigned to user.
+ google.protobuf.Duration unassigned_duration = 8;
+}
diff --git a/packages/google-cloud-dataplex/protos/google/cloud/dataplex/v1/metadata.proto b/packages/google-cloud-dataplex/protos/google/cloud/dataplex/v1/metadata.proto
new file mode 100644
index 00000000000..290d9406628
--- /dev/null
+++ b/packages/google-cloud-dataplex/protos/google/cloud/dataplex/v1/metadata.proto
@@ -0,0 +1,793 @@
+// 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.dataplex.v1;
+
+import "google/api/annotations.proto";
+import "google/api/client.proto";
+import "google/api/field_behavior.proto";
+import "google/api/resource.proto";
+import "google/protobuf/empty.proto";
+import "google/protobuf/timestamp.proto";
+
+option go_package = "google.golang.org/genproto/googleapis/cloud/dataplex/v1;dataplex";
+option java_multiple_files = true;
+option java_outer_classname = "MetadataProto";
+option java_package = "com.google.cloud.dataplex.v1";
+
+// Metadata service manages metadata resources such as tables, filesets and
+// partitions.
+service MetadataService {
+ option (google.api.default_host) = "dataplex.googleapis.com";
+ option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/cloud-platform";
+
+ // Create a metadata entity.
+ rpc CreateEntity(CreateEntityRequest) returns (Entity) {
+ option (google.api.http) = {
+ post: "/v1/{parent=projects/*/locations/*/lakes/*/zones/*}/entities"
+ body: "entity"
+ };
+ option (google.api.method_signature) = "parent,entity";
+ }
+
+ // Update a metadata entity. Only supports full resource update.
+ rpc UpdateEntity(UpdateEntityRequest) returns (Entity) {
+ option (google.api.http) = {
+ put: "/v1/{entity.name=projects/*/locations/*/lakes/*/zones/*/entities/*}"
+ body: "entity"
+ };
+ }
+
+ // Delete a metadata entity.
+ rpc DeleteEntity(DeleteEntityRequest) returns (google.protobuf.Empty) {
+ option (google.api.http) = {
+ delete: "/v1/{name=projects/*/locations/*/lakes/*/zones/*/entities/*}"
+ };
+ option (google.api.method_signature) = "name";
+ }
+
+ // Get a metadata entity.
+ rpc GetEntity(GetEntityRequest) returns (Entity) {
+ option (google.api.http) = {
+ get: "/v1/{name=projects/*/locations/*/lakes/*/zones/*/entities/*}"
+ };
+ option (google.api.method_signature) = "name";
+ }
+
+ // List metadata entities in a zone.
+ rpc ListEntities(ListEntitiesRequest) returns (ListEntitiesResponse) {
+ option (google.api.http) = {
+ get: "/v1/{parent=projects/*/locations/*/lakes/*/zones/*}/entities"
+ };
+ option (google.api.method_signature) = "parent";
+ }
+
+ // Create a metadata partition.
+ rpc CreatePartition(CreatePartitionRequest) returns (Partition) {
+ option (google.api.http) = {
+ post: "/v1/{parent=projects/*/locations/*/lakes/*/zones/*/entities/*}/partitions"
+ body: "partition"
+ };
+ option (google.api.method_signature) = "parent,partition";
+ }
+
+ // Delete a metadata partition.
+ rpc DeletePartition(DeletePartitionRequest) returns (google.protobuf.Empty) {
+ option (google.api.http) = {
+ delete: "/v1/{name=projects/*/locations/*/lakes/*/zones/*/entities/*/partitions/**}"
+ };
+ option (google.api.method_signature) = "name";
+ }
+
+ // Get a metadata partition of an entity.
+ rpc GetPartition(GetPartitionRequest) returns (Partition) {
+ option (google.api.http) = {
+ get: "/v1/{name=projects/*/locations/*/lakes/*/zones/*/entities/*/partitions/**}"
+ };
+ option (google.api.method_signature) = "name";
+ }
+
+ // List metadata partitions of an entity.
+ rpc ListPartitions(ListPartitionsRequest) returns (ListPartitionsResponse) {
+ option (google.api.http) = {
+ get: "/v1/{parent=projects/*/locations/*/lakes/*/zones/*/entities/*}/partitions"
+ };
+ option (google.api.method_signature) = "parent";
+ }
+}
+
+// Create a metadata entity request.
+message CreateEntityRequest {
+ // Required. The resource name of the parent zone:
+ // `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}`.
+ string parent = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ type: "dataplex.googleapis.com/Zone"
+ }
+ ];
+
+ // Required. Entity resource.
+ Entity entity = 3 [(google.api.field_behavior) = REQUIRED];
+
+ // Optional. Only validate the request, but do not perform mutations.
+ // The default is false.
+ bool validate_only = 4 [(google.api.field_behavior) = OPTIONAL];
+}
+
+// Update a metadata entity request.
+// The exiting entity will be fully replaced by the entity in the request.
+// The entity ID is mutable. To modify the ID, use the current entity ID in the
+// request URL and specify the new ID in the request body.
+message UpdateEntityRequest {
+ // Required. Update description.
+ Entity entity = 2 [(google.api.field_behavior) = REQUIRED];
+
+ // Optional. Only validate the request, but do not perform mutations.
+ // The default is false.
+ bool validate_only = 3 [(google.api.field_behavior) = OPTIONAL];
+}
+
+// Delete a metadata entity request.
+message DeleteEntityRequest {
+ // Required. The resource name of the entity:
+ // `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/entities/{entity_id}`.
+ string name = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ type: "dataplex.googleapis.com/Entity"
+ }
+ ];
+
+ // Required. The etag associated with the entity, which can be retrieved with a
+ // [GetEntity][] request.
+ string etag = 2 [(google.api.field_behavior) = REQUIRED];
+}
+
+// List metadata entities request.
+message ListEntitiesRequest {
+ // Entity views.
+ enum EntityView {
+ // The default unset value. Return both table and fileset entities
+ // if unspecified.
+ ENTITY_VIEW_UNSPECIFIED = 0;
+
+ // Only list table entities.
+ TABLES = 1;
+
+ // Only list fileset entities.
+ FILESETS = 2;
+ }
+
+ // Required. The resource name of the parent zone:
+ // `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}`.
+ string parent = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ type: "dataplex.googleapis.com/Zone"
+ }
+ ];
+
+ // Required. Specify the entity view to make a partial list request.
+ EntityView view = 2 [(google.api.field_behavior) = REQUIRED];
+
+ // Optional. Maximum number of entities to return. The service may return fewer than
+ // this value. If unspecified, 100 entities will be returned by default. The
+ // maximum value is 500; larger values will will be truncated to 500.
+ int32 page_size = 3 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. Page token received from a previous `ListEntities` call. Provide
+ // this to retrieve the subsequent page. When paginating, all other parameters
+ // provided to `ListEntities` must match the call that provided the
+ // page token.
+ string page_token = 4 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. The following filter parameters can be added to the URL to limit the
+ // entities returned by the API:
+ //
+ // - Entity ID: ?filter="id=entityID"
+ // - Asset ID: ?filter="asset=assetID"
+ // - Data path ?filter="data_path=gs://my-bucket"
+ // - Is HIVE compatible: ?filter="hive_compatible=true"
+ // - Is BigQuery compatible: ?filter="bigquery_compatible=true"
+ string filter = 5 [(google.api.field_behavior) = OPTIONAL];
+}
+
+// List metadata entities response.
+message ListEntitiesResponse {
+ // Entities in the specified parent zone.
+ repeated Entity entities = 1;
+
+ // Token to retrieve the next page of results, or empty if there are no
+ // remaining results in the list.
+ string next_page_token = 2;
+}
+
+// Get metadata entity request.
+message GetEntityRequest {
+ // Entity views for get entity partial result.
+ enum EntityView {
+ // The API will default to the `BASIC` view.
+ ENTITY_VIEW_UNSPECIFIED = 0;
+
+ // Minimal view that does not include the schema.
+ BASIC = 1;
+
+ // Include basic information and schema.
+ SCHEMA = 2;
+
+ // Include everything. Currently, this is the same as the SCHEMA view.
+ FULL = 4;
+ }
+
+ // Required. The resource name of the entity:
+ // `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/entities/{entity_id}.`
+ string name = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ type: "dataplex.googleapis.com/Entity"
+ }
+ ];
+
+ // Optional. Used to select the subset of entity information to return.
+ // Defaults to `BASIC`.
+ EntityView view = 2 [(google.api.field_behavior) = OPTIONAL];
+}
+
+// List metadata partitions request.
+message ListPartitionsRequest {
+ // Required. The resource name of the parent entity:
+ // `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/entities/{entity_id}`.
+ string parent = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ type: "dataplex.googleapis.com/Entity"
+ }
+ ];
+
+ // Optional. Maximum number of partitions to return. The service may return fewer than
+ // this value. If unspecified, 100 partitions will be returned by default. The
+ // maximum page size is 500; larger values will will be truncated to 500.
+ int32 page_size = 2 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. Page token received from a previous `ListPartitions` call. Provide
+ // this to retrieve the subsequent page. When paginating, all other parameters
+ // provided to `ListPartitions` must match the call that provided the
+ // page token.
+ string page_token = 3 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. Filter the partitions returned to the caller using a key value pair
+ // expression. Supported operators and syntax:
+ //
+ // - logic operators: AND, OR
+ // - comparison operators: <, >, >=, <= ,=, !=
+ // - LIKE operators:
+ // - The right hand of a LIKE operator supports "." and
+ // "*" for wildcard searches, for example "value1 LIKE ".*oo.*"
+ // - parenthetical grouping: ( )
+ //
+ // Sample filter expression: `?filter="key1 < value1 OR key2 > value2"
+ //
+ // **Notes:**
+ //
+ // - Keys to the left of operators are case insensitive.
+ // - Partition results are sorted first by creation time, then by
+ // lexicographic order.
+ // - Up to 20 key value filter pairs are allowed, but due to performance
+ // considerations, only the first 10 will be used as a filter.
+ string filter = 4 [(google.api.field_behavior) = OPTIONAL];
+}
+
+// Create metadata partition request.
+message CreatePartitionRequest {
+ // Required. The resource name of the parent zone:
+ // `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/entities/{entity_id}`.
+ string parent = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ type: "dataplex.googleapis.com/Entity"
+ }
+ ];
+
+ // Required. Partition resource.
+ Partition partition = 3 [(google.api.field_behavior) = REQUIRED];
+
+ // Optional. Only validate the request, but do not perform mutations.
+ // The default is false.
+ bool validate_only = 4 [(google.api.field_behavior) = OPTIONAL];
+}
+
+// Delete metadata partition request.
+message DeletePartitionRequest {
+ // Required. The resource name of the partition.
+ // format:
+ // `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/entities/{entity_id}/partitions/{partition_value_path}`.
+ // The {partition_value_path} segment consists of an ordered sequence of
+ // partition values separated by "/". All values must be provided.
+ string name = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ type: "dataplex.googleapis.com/Partition"
+ }
+ ];
+
+ // Optional. The etag associated with the partition.
+ string etag = 2 [
+ deprecated = true,
+ (google.api.field_behavior) = OPTIONAL
+ ];
+}
+
+// List metadata partitions response.
+message ListPartitionsResponse {
+ // Partitions under the specified parent entity.
+ repeated Partition partitions = 1;
+
+ // Token to retrieve the next page of results, or empty if there are no
+ // remaining results in the list.
+ string next_page_token = 2;
+}
+
+// Get metadata partition request.
+message GetPartitionRequest {
+ // Required. The resource name of the partition:
+ // `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/entities/{entity_id}/partitions/{partition_value_path}`.
+ // The {partition_value_path} segment consists of an ordered sequence of
+ // partition values separated by "/". All values must be provided.
+ string name = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ type: "dataplex.googleapis.com/Partition"
+ }
+ ];
+}
+
+// Represents tables and fileset metadata contained within a zone.
+message Entity {
+ option (google.api.resource) = {
+ type: "dataplex.googleapis.com/Entity"
+ pattern: "projects/{project}/locations/{location}/lakes/{lake}/zones/{zone}/entities/{entity}"
+ };
+
+ // The type of entity.
+ enum Type {
+ // Type unspecified.
+ TYPE_UNSPECIFIED = 0;
+
+ // Structured and semi-structured data.
+ TABLE = 1;
+
+ // Unstructured data.
+ FILESET = 2;
+ }
+
+ // Provides compatibility information for various metadata stores.
+ message CompatibilityStatus {
+ // Provides compatibility information for a specific metadata store.
+ message Compatibility {
+ // Output only. Whether the entity is compatible and can be represented in the metadata
+ // store.
+ bool compatible = 1 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Output only. Provides additional detail if the entity is incompatible with the
+ // metadata store.
+ string reason = 2 [(google.api.field_behavior) = OUTPUT_ONLY];
+ }
+
+ // Output only. Whether this entity is compatible with Hive Metastore.
+ Compatibility hive_metastore = 1 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Output only. Whether this entity is compatible with BigQuery.
+ Compatibility bigquery = 2 [(google.api.field_behavior) = OUTPUT_ONLY];
+ }
+
+ // Output only. The resource name of the entity, of the form:
+ // `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/entities/{id}`.
+ string name = 1 [
+ (google.api.field_behavior) = OUTPUT_ONLY,
+ (google.api.resource_reference) = {
+ type: "dataplex.googleapis.com/Entity"
+ }
+ ];
+
+ // Optional. Display name must be shorter than or equal to 256 characters.
+ string display_name = 2 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. User friendly longer description text. Must be shorter than or equal to
+ // 1024 characters.
+ string description = 3 [(google.api.field_behavior) = OPTIONAL];
+
+ // Output only. The time when the entity was created.
+ google.protobuf.Timestamp create_time = 5 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Output only. The time when the entity was last updated.
+ google.protobuf.Timestamp update_time = 6 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Required. A user-provided entity ID. It is mutable, and will be used as the
+ // published table name. Specifying a new ID in an update entity
+ // request will override the existing value.
+ // The ID must contain only letters (a-z, A-Z), numbers (0-9), and
+ // underscores. Must begin with a letter and consist of 256 or fewer
+ // characters.
+ string id = 7 [(google.api.field_behavior) = REQUIRED];
+
+ // Optional. The etag associated with the entity, which can be retrieved with a
+ // [GetEntity][] request. Required for update and delete requests.
+ string etag = 8 [(google.api.field_behavior) = OPTIONAL];
+
+ // Required. Immutable. The type of entity.
+ Type type = 10 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.field_behavior) = IMMUTABLE
+ ];
+
+ // Required. Immutable. The ID of the asset associated with the storage location containing the
+ // entity data. The entity must be with in the same zone with the asset.
+ string asset = 11 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.field_behavior) = IMMUTABLE
+ ];
+
+ // Required. Immutable. The storage path of the entity data.
+ // For Cloud Storage data, this is the fully-qualified path to the entity,
+ // such as `gs://bucket/path/to/data`. For BigQuery data, this is the name of
+ // the table resource, such as
+ // `projects/project_id/datasets/dataset_id/tables/table_id`.
+ string data_path = 12 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.field_behavior) = IMMUTABLE
+ ];
+
+ // Optional. The set of items within the data path constituting the data in the entity,
+ // represented as a glob path.
+ // Example: `gs://bucket/path/to/data/**/*.csv`.
+ string data_path_pattern = 13 [(google.api.field_behavior) = OPTIONAL];
+
+ // Output only. The name of the associated Data Catalog entry.
+ string catalog_entry = 14 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Required. Immutable. Identifies the storage system of the entity data.
+ StorageSystem system = 15 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.field_behavior) = IMMUTABLE
+ ];
+
+ // Required. Identifies the storage format of the entity data.
+ // It does not apply to entities with data stored in BigQuery.
+ StorageFormat format = 16 [(google.api.field_behavior) = REQUIRED];
+
+ // Output only. Metadata stores that the entity is compatible with.
+ CompatibilityStatus compatibility = 19 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Required. The description of the data structure and layout.
+ // The schema is not included in list responses. It is only included in
+ // `SCHEMA` and `FULL` entity views of a `GetEntity` response.
+ Schema schema = 50 [(google.api.field_behavior) = REQUIRED];
+}
+
+// Represents partition metadata contained within entity instances.
+message Partition {
+ option (google.api.resource) = {
+ type: "dataplex.googleapis.com/Partition"
+ pattern: "projects/{project}/locations/{location}/lakes/{lake}/zones/{zone}/entities/{entity}/partitions/{partition}"
+ };
+
+ // Output only. Partition values used in the HTTP URL must be
+ // double encoded. For example, `url_encode(url_encode(value))` can be used
+ // to encode "US:CA/CA#Sunnyvale so that the request URL ends
+ // with "/partitions/US%253ACA/CA%2523Sunnyvale".
+ // The name field in the response retains the encoded format.
+ string name = 1 [
+ (google.api.field_behavior) = OUTPUT_ONLY,
+ (google.api.resource_reference) = {
+ type: "dataplex.googleapis.com/Partition"
+ }
+ ];
+
+ // Required. Immutable. The set of values representing the partition, which correspond to the
+ // partition schema defined in the parent entity.
+ repeated string values = 2 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.field_behavior) = IMMUTABLE
+ ];
+
+ // Required. Immutable. The location of the entity data within the partition, for example,
+ // `gs://bucket/path/to/entity/key1=value1/key2=value2`.
+ // Or `projects//datasets//tables/`
+ string location = 3 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.field_behavior) = IMMUTABLE
+ ];
+
+ // Optional. The etag for this partition.
+ string etag = 4 [
+ deprecated = true,
+ (google.api.field_behavior) = OPTIONAL
+ ];
+}
+
+// Schema information describing the structure and layout of the data.
+message Schema {
+ // Type information for fields in schemas and partition schemas.
+ enum Type {
+ // SchemaType unspecified.
+ TYPE_UNSPECIFIED = 0;
+
+ // Boolean field.
+ BOOLEAN = 1;
+
+ // Single byte numeric field.
+ BYTE = 2;
+
+ // 16-bit numeric field.
+ INT16 = 3;
+
+ // 32-bit numeric field.
+ INT32 = 4;
+
+ // 64-bit numeric field.
+ INT64 = 5;
+
+ // Floating point numeric field.
+ FLOAT = 6;
+
+ // Double precision numeric field.
+ DOUBLE = 7;
+
+ // Real value numeric field.
+ DECIMAL = 8;
+
+ // Sequence of characters field.
+ STRING = 9;
+
+ // Sequence of bytes field.
+ BINARY = 10;
+
+ // Date and time field.
+ TIMESTAMP = 11;
+
+ // Date field.
+ DATE = 12;
+
+ // Time field.
+ TIME = 13;
+
+ // Structured field. Nested fields that define the structure of the map.
+ // If all nested fields are nullable, this field represents a union.
+ RECORD = 14;
+
+ // Null field that does not have values.
+ NULL = 100;
+ }
+
+ // Additional qualifiers to define field semantics.
+ enum Mode {
+ // Mode unspecified.
+ MODE_UNSPECIFIED = 0;
+
+ // The field has required semantics.
+ REQUIRED = 1;
+
+ // The field has optional semantics, and may be null.
+ NULLABLE = 2;
+
+ // The field has repeated (0 or more) semantics, and is a list of values.
+ REPEATED = 3;
+ }
+
+ // Represents a column field within a table schema.
+ message SchemaField {
+ // Required. The name of the field. Must contain only letters, numbers and
+ // underscores, with a maximum length of 767 characters,
+ // and must begin with a letter or underscore.
+ string name = 1 [(google.api.field_behavior) = REQUIRED];
+
+ // Optional. User friendly field description. Must be less than or equal to 1024
+ // characters.
+ string description = 2 [(google.api.field_behavior) = OPTIONAL];
+
+ // Required. The type of field.
+ Type type = 3 [(google.api.field_behavior) = REQUIRED];
+
+ // Required. Additional field semantics.
+ Mode mode = 4 [(google.api.field_behavior) = REQUIRED];
+
+ // Optional. Any nested field for complex types.
+ repeated SchemaField fields = 10 [(google.api.field_behavior) = OPTIONAL];
+ }
+
+ // Represents a key field within the entity's partition structure. You could
+ // have up to 20 partition fields, but only the first 10 partitions have the
+ // filtering ability due to performance consideration. **Note:**
+ // Partition fields are immutable.
+ message PartitionField {
+ // Required. Partition field name must consist of letters, numbers, and underscores
+ // only, with a maximum of length of 256 characters,
+ // and must begin with a letter or underscore..
+ string name = 1 [(google.api.field_behavior) = REQUIRED];
+
+ // Required. Immutable. The type of field.
+ Type type = 2 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.field_behavior) = IMMUTABLE
+ ];
+ }
+
+ // The structure of paths within the entity, which represent partitions.
+ enum PartitionStyle {
+ // PartitionStyle unspecified
+ PARTITION_STYLE_UNSPECIFIED = 0;
+
+ // Partitions are hive-compatible.
+ // Examples: `gs://bucket/path/to/table/dt=2019-10-31/lang=en`,
+ // `gs://bucket/path/to/table/dt=2019-10-31/lang=en/late`.
+ HIVE_COMPATIBLE = 1;
+ }
+
+ // Required. Set to `true` if user-managed or `false` if managed by Dataplex. The
+ // default is `false` (managed by Dataplex).
+ //
+ // - Set to `false`to enable Dataplex discovery to update the schema.
+ // including new data discovery, schema inference, and schema evolution.
+ // Users retain the ability to input and edit the schema. Dataplex
+ // treats schema input by the user as though produced
+ // by a previous Dataplex discovery operation, and it will
+ // evolve the schema and take action based on that treatment.
+ //
+ // - Set to `true` to fully manage the entity
+ // schema. This setting guarantees that Dataplex will not
+ // change schema fields.
+ bool user_managed = 1 [(google.api.field_behavior) = REQUIRED];
+
+ // Optional. The sequence of fields describing data in table entities.
+ // **Note:** BigQuery SchemaFields are immutable.
+ repeated SchemaField fields = 2 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. The sequence of fields describing the partition structure in entities.
+ // If this field is empty, there are no partitions within the data.
+ repeated PartitionField partition_fields = 3 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. The structure of paths containing partition data within the entity.
+ PartitionStyle partition_style = 4 [(google.api.field_behavior) = OPTIONAL];
+}
+
+// Describes the format of the data within its storage location.
+message StorageFormat {
+ // Describes CSV and similar semi-structured data formats.
+ message CsvOptions {
+ // Optional. The character encoding of the data. Accepts "US-ASCII", "UTF-8", and
+ // "ISO-8859-1". Defaults to UTF-8 if unspecified.
+ string encoding = 1 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. The number of rows to interpret as header rows that should be skipped
+ // when reading data rows. Defaults to 0.
+ int32 header_rows = 2 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. The delimiter used to separate values. Defaults to ','.
+ string delimiter = 3 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. The character used to quote column values. Accepts '"'
+ // (double quotation mark) or ''' (single quotation mark). Defaults to
+ // '"' (double quotation mark) if unspecified.
+ string quote = 4 [(google.api.field_behavior) = OPTIONAL];
+ }
+
+ // Describes JSON data format.
+ message JsonOptions {
+ // Optional. The character encoding of the data. Accepts "US-ASCII", "UTF-8" and
+ // "ISO-8859-1". Defaults to UTF-8 if not specified.
+ string encoding = 1 [(google.api.field_behavior) = OPTIONAL];
+ }
+
+ // The specific file format of the data.
+ enum Format {
+ // Format unspecified.
+ FORMAT_UNSPECIFIED = 0;
+
+ // Parquet-formatted structured data.
+ PARQUET = 1;
+
+ // Avro-formatted structured data.
+ AVRO = 2;
+
+ // Orc-formatted structured data.
+ ORC = 3;
+
+ // Csv-formatted semi-structured data.
+ CSV = 100;
+
+ // Json-formatted semi-structured data.
+ JSON = 101;
+
+ // Image data formats (such as jpg and png).
+ IMAGE = 200;
+
+ // Audio data formats (such as mp3, and wav).
+ AUDIO = 201;
+
+ // Video data formats (such as mp4 and mpg).
+ VIDEO = 202;
+
+ // Textual data formats (such as txt and xml).
+ TEXT = 203;
+
+ // TensorFlow record format.
+ TFRECORD = 204;
+
+ // Data that doesn't match a specific format.
+ OTHER = 1000;
+
+ // Data of an unknown format.
+ UNKNOWN = 1001;
+ }
+
+ // The specific compressed file format of the data.
+ enum CompressionFormat {
+ // CompressionFormat unspecified. Implies uncompressed data.
+ COMPRESSION_FORMAT_UNSPECIFIED = 0;
+
+ // GZip compressed set of files.
+ GZIP = 2;
+
+ // BZip2 compressed set of files.
+ BZIP2 = 3;
+ }
+
+ // Output only. The data format associated with the stored data, which represents
+ // content type values. The value is inferred from mime type.
+ Format format = 1 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Optional. The compression type associated with the stored data.
+ // If unspecified, the data is uncompressed.
+ CompressionFormat compression_format = 2 [(google.api.field_behavior) = OPTIONAL];
+
+ // Required. The mime type descriptor for the data. Must match the pattern
+ // {type}/{subtype}. Supported values:
+ //
+ // - application/x-parquet
+ // - application/x-avro
+ // - application/x-orc
+ // - application/x-tfrecord
+ // - application/json
+ // - application/{subtypes}
+ // - text/csv
+ // - text/
+ // - image/{image subtype}
+ // - video/{video subtype}
+ // - audio/{audio subtype}
+ string mime_type = 3 [(google.api.field_behavior) = REQUIRED];
+
+ // Additional format-specific options.
+ oneof options {
+ // Optional. Additional information about CSV formatted data.
+ CsvOptions csv = 10 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. Additional information about CSV formatted data.
+ JsonOptions json = 11 [(google.api.field_behavior) = OPTIONAL];
+ }
+}
+
+// Identifies the cloud system that manages the data storage.
+enum StorageSystem {
+ // Storage system unspecified.
+ STORAGE_SYSTEM_UNSPECIFIED = 0;
+
+ // The entity data is contained within a Cloud Storage bucket.
+ CLOUD_STORAGE = 1;
+
+ // The entity data is contained within a BigQuery dataset.
+ BIGQUERY = 2;
+}
diff --git a/packages/google-cloud-dataplex/protos/google/cloud/dataplex/v1/resources.proto b/packages/google-cloud-dataplex/protos/google/cloud/dataplex/v1/resources.proto
new file mode 100644
index 00000000000..e07caac233a
--- /dev/null
+++ b/packages/google-cloud-dataplex/protos/google/cloud/dataplex/v1/resources.proto
@@ -0,0 +1,790 @@
+// 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.dataplex.v1;
+
+import "google/api/field_behavior.proto";
+import "google/api/resource.proto";
+import "google/protobuf/duration.proto";
+import "google/protobuf/timestamp.proto";
+
+option go_package = "google.golang.org/genproto/googleapis/cloud/dataplex/v1;dataplex";
+option java_multiple_files = true;
+option java_outer_classname = "ResourcesProto";
+option java_package = "com.google.cloud.dataplex.v1";
+
+// A lake is a centralized repository for managing enterprise data across the
+// organization distributed across many cloud projects, and stored in a variety
+// of storage services such as Google Cloud Storage and BigQuery. The resources
+// attached to a lake are referred to as managed resources. Data within these
+// managed resources can be structured or unstructured. A lake provides data
+// admins with tools to organize, secure and manage their data at scale, and
+// provides data scientists and data engineers an integrated experience to
+// easily search, discover, analyze and transform data and associated metadata.
+message Lake {
+ option (google.api.resource) = {
+ type: "dataplex.googleapis.com/Lake"
+ pattern: "projects/{project}/locations/{location}/lakes/{lake}"
+ };
+
+ // Settings to manage association of Dataproc Metastore with a lake.
+ message Metastore {
+ // Optional. A relative reference to the Dataproc Metastore
+ // (https://cloud.google.com/dataproc-metastore/docs) service associated
+ // with the lake:
+ // `projects/{project_id}/locations/{location_id}/services/{service_id}`
+ string service = 1 [(google.api.field_behavior) = OPTIONAL];
+ }
+
+ // Status of Lake and Dataproc Metastore service instance association.
+ message MetastoreStatus {
+ // Current state of association.
+ enum State {
+ // Unspecified.
+ STATE_UNSPECIFIED = 0;
+
+ // A Metastore service instance is not associated with the lake.
+ NONE = 1;
+
+ // A Metastore service instance is attached to the lake.
+ READY = 2;
+
+ // Attach/detach is in progress.
+ UPDATING = 3;
+
+ // Attach/detach could not be done due to errors.
+ ERROR = 4;
+ }
+
+ // Current state of association.
+ State state = 1;
+
+ // Additional information about the current status.
+ string message = 2;
+
+ // Last update time of the metastore status of the lake.
+ google.protobuf.Timestamp update_time = 3;
+
+ // The URI of the endpoint used to access the Metastore service.
+ string endpoint = 4;
+ }
+
+ // Output only. The relative resource name of the lake, of the form:
+ // `projects/{project_number}/locations/{location_id}/lakes/{lake_id}`.
+ string name = 1 [
+ (google.api.field_behavior) = OUTPUT_ONLY,
+ (google.api.resource_reference) = {
+ type: "dataplex.googleapis.com/Lake"
+ }
+ ];
+
+ // Optional. User friendly display name.
+ string display_name = 2 [(google.api.field_behavior) = OPTIONAL];
+
+ // Output only. System generated globally unique ID for the lake. This ID will be
+ // different if the lake is deleted and re-created with the same name.
+ string uid = 3 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Output only. The time when the lake was created.
+ google.protobuf.Timestamp create_time = 4 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Output only. The time when the lake was last updated.
+ google.protobuf.Timestamp update_time = 5 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Optional. User-defined labels for the lake.
+ map labels = 6 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. Description of the lake.
+ string description = 7 [(google.api.field_behavior) = OPTIONAL];
+
+ // Output only. Current state of the lake.
+ State state = 8 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Output only. Service account associated with this lake. This service account must be
+ // authorized to access or operate on resources managed by the lake.
+ string service_account = 9 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Optional. Settings to manage lake and Dataproc Metastore service instance
+ // association.
+ Metastore metastore = 102 [(google.api.field_behavior) = OPTIONAL];
+
+ // Output only. Aggregated status of the underlying assets of the lake.
+ AssetStatus asset_status = 103 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Output only. Metastore status of the lake.
+ MetastoreStatus metastore_status = 104 [(google.api.field_behavior) = OUTPUT_ONLY];
+}
+
+// Aggregated status of the underlying assets of a lake or zone.
+message AssetStatus {
+ // Last update time of the status.
+ google.protobuf.Timestamp update_time = 1;
+
+ // Number of active assets.
+ int32 active_assets = 2;
+
+ // Number of assets that are in process of updating the security policy on
+ // attached resources.
+ int32 security_policy_applying_assets = 3;
+}
+
+// A zone represents a logical group of related assets within a lake. A zone can
+// be used to map to organizational structure or represent stages of data
+// readiness from raw to curated. It provides managing behavior that is shared
+// or inherited by all contained assets.
+message Zone {
+ option (google.api.resource) = {
+ type: "dataplex.googleapis.com/Zone"
+ pattern: "projects/{project}/locations/{location}/lakes/{lake}/zones/{zone}"
+ };
+
+ // Type of zone.
+ enum Type {
+ // Zone type not specified.
+ TYPE_UNSPECIFIED = 0;
+
+ // A zone that contains data that needs further processing before it is
+ // considered generally ready for consumption and analytics workloads.
+ RAW = 1;
+
+ // A zone that contains data that is considered to be ready for broader
+ // consumption and analytics workloads. Curated structured data stored in
+ // Cloud Storage must conform to certain file formats (parquet, avro and
+ // orc) and organized in a hive-compatible directory layout.
+ CURATED = 2;
+ }
+
+ // Settings for resources attached as assets within a zone.
+ message ResourceSpec {
+ // Location type of the resources attached to a zone.
+ enum LocationType {
+ // Unspecified location type.
+ LOCATION_TYPE_UNSPECIFIED = 0;
+
+ // Resources that are associated with a single region.
+ SINGLE_REGION = 1;
+
+ // Resources that are associated with a multi-region location.
+ MULTI_REGION = 2;
+ }
+
+ // Required. Immutable. The location type of the resources that are allowed to be attached to the
+ // assets within this zone.
+ LocationType location_type = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.field_behavior) = IMMUTABLE
+ ];
+ }
+
+ // Settings to manage the metadata discovery and publishing in a zone.
+ message DiscoverySpec {
+ // Describe CSV and similar semi-structured data formats.
+ message CsvOptions {
+ // Optional. The number of rows to interpret as header rows that should be skipped
+ // when reading data rows.
+ int32 header_rows = 1 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. The delimiter being used to separate values. This defaults to ','.
+ string delimiter = 2 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. The character encoding of the data. The default is UTF-8.
+ string encoding = 3 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. Whether to disable the inference of data type for CSV data.
+ // If true, all columns will be registered as strings.
+ bool disable_type_inference = 4 [(google.api.field_behavior) = OPTIONAL];
+ }
+
+ // Describe JSON data format.
+ message JsonOptions {
+ // Optional. The character encoding of the data. The default is UTF-8.
+ string encoding = 1 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. Whether to disable the inference of data type for Json data.
+ // If true, all columns will be registered as their primitive types
+ // (strings, number or boolean).
+ bool disable_type_inference = 2 [(google.api.field_behavior) = OPTIONAL];
+ }
+
+ // Required. Whether discovery is enabled.
+ bool enabled = 1 [(google.api.field_behavior) = REQUIRED];
+
+ // Optional. The list of patterns to apply for selecting data to include during
+ // discovery if only a subset of the data should considered. For Cloud
+ // Storage bucket assets, these are interpreted as glob patterns used to
+ // match object names. For BigQuery dataset assets, these are
+ // interpreted as patterns to match table names.
+ repeated string include_patterns = 2 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. The list of patterns to apply for selecting data to exclude during
+ // discovery. For Cloud Storage bucket assets, these are interpreted as
+ // glob patterns used to match object names. For BigQuery dataset assets,
+ // these are interpreted as patterns to match table names.
+ repeated string exclude_patterns = 3 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. Configuration for CSV data.
+ CsvOptions csv_options = 4 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. Configuration for Json data.
+ JsonOptions json_options = 5 [(google.api.field_behavior) = OPTIONAL];
+
+ // Determines when discovery is triggered.
+ oneof trigger {
+ // Optional. Cron schedule (https://en.wikipedia.org/wiki/Cron) for running
+ // discovery periodically. Successive discovery runs must be scheduled at
+ // least 60 minutes apart.
+ // The default value is to run discovery every 60 minutes.
+ // To explicitly set a timezone to the cron tab, apply a prefix in the
+ // cron tab: "CRON_TZ=${IANA_TIME_ZONE}" or TZ=${IANA_TIME_ZONE}".
+ // The ${IANA_TIME_ZONE} may only be a valid string from IANA time zone
+ // database. For example, "CRON_TZ=America/New_York 1 * * * *", or
+ // "TZ=America/New_York 1 * * * *".
+ string schedule = 10 [(google.api.field_behavior) = OPTIONAL];
+ }
+ }
+
+ // Output only. The relative resource name of the zone, of the form:
+ // `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}`.
+ string name = 1 [
+ (google.api.field_behavior) = OUTPUT_ONLY,
+ (google.api.resource_reference) = {
+ type: "dataplex.googleapis.com/Zone"
+ }
+ ];
+
+ // Optional. User friendly display name.
+ string display_name = 2 [(google.api.field_behavior) = OPTIONAL];
+
+ // Output only. System generated globally unique ID for the zone. This ID will be
+ // different if the zone is deleted and re-created with the same name.
+ string uid = 3 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Output only. The time when the zone was created.
+ google.protobuf.Timestamp create_time = 4 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Output only. The time when the zone was last updated.
+ google.protobuf.Timestamp update_time = 5 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Optional. User defined labels for the zone.
+ map labels = 6 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. Description of the zone.
+ string description = 7 [(google.api.field_behavior) = OPTIONAL];
+
+ // Output only. Current state of the zone.
+ State state = 8 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Required. Immutable. The type of the zone.
+ Type type = 9 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.field_behavior) = IMMUTABLE
+ ];
+
+ // Optional. Specification of the discovery feature applied to data in this zone.
+ DiscoverySpec discovery_spec = 103 [(google.api.field_behavior) = OPTIONAL];
+
+ // Required. Specification of the resources that are referenced by the assets within
+ // this zone.
+ ResourceSpec resource_spec = 104 [(google.api.field_behavior) = REQUIRED];
+
+ // Output only. Aggregated status of the underlying assets of the zone.
+ AssetStatus asset_status = 105 [(google.api.field_behavior) = OUTPUT_ONLY];
+}
+
+// Action represents an issue requiring administrator action for resolution.
+message Action {
+ option (google.api.resource) = {
+ type: "dataplex.googleapis.com/Action"
+ pattern: "projects/{project}/locations/{location}/lakes/{lake}/actions/{action}"
+ pattern: "projects/{project}/locations/{location}/lakes/{lake}/zones/{zone}/actions/{action}"
+ pattern: "projects/{project}/locations/{location}/lakes/{lake}/zones/{zone}/assets/{asset}/actions/{action}"
+ };
+
+ // The category of issues.
+ enum Category {
+ // Unspecified category.
+ CATEGORY_UNSPECIFIED = 0;
+
+ // Resource management related issues.
+ RESOURCE_MANAGEMENT = 1;
+
+ // Security policy related issues.
+ SECURITY_POLICY = 2;
+
+ // Data and discovery related issues.
+ DATA_DISCOVERY = 3;
+ }
+
+ // Action details for resource references in assets that cannot be located.
+ message MissingResource {
+
+ }
+
+ // Action details for unauthorized resource issues raised to indicate that the
+ // service account associated with the lake instance is not authorized to
+ // access or manage the resource associated with an asset.
+ message UnauthorizedResource {
+
+ }
+
+ // Failed to apply security policy to the managed resource(s) under a
+ // lake, zone or an asset. For a lake or zone resource, one or more underlying
+ // assets has a failure applying security policy to the associated managed
+ // resource.
+ message FailedSecurityPolicyApply {
+ // Resource name of one of the assets with failing security policy
+ // application. Populated for a lake or zone resource only.
+ string asset = 1;
+ }
+
+ // Action details for invalid or unsupported data files detected by discovery.
+ message InvalidDataFormat {
+ // The list of data locations sampled and used for format/schema
+ // inference.
+ repeated string sampled_data_locations = 1;
+
+ // The expected data format of the entity.
+ string expected_format = 2;
+
+ // The new unexpected data format within the entity.
+ string new_format = 3;
+ }
+
+ // Action details for incompatible schemas detected by discovery.
+ message IncompatibleDataSchema {
+ // Whether the action relates to a schema that is incompatible or modified.
+ enum SchemaChange {
+ // Schema change unspecified.
+ SCHEMA_CHANGE_UNSPECIFIED = 0;
+
+ // Newly discovered schema is incompatible with existing schema.
+ INCOMPATIBLE = 1;
+
+ // Newly discovered schema has changed from existing schema for data in a
+ // curated zone.
+ MODIFIED = 2;
+ }
+
+ // The name of the table containing invalid data.
+ string table = 1;
+
+ // The existing and expected schema of the table. The schema is provided as
+ // a JSON formatted structure listing columns and data types.
+ string existing_schema = 2;
+
+ // The new and incompatible schema within the table. The schema is provided
+ // as a JSON formatted structured listing columns and data types.
+ string new_schema = 3;
+
+ // The list of data locations sampled and used for format/schema
+ // inference.
+ repeated string sampled_data_locations = 4;
+
+ // Whether the action relates to a schema that is incompatible or modified.
+ SchemaChange schema_change = 5;
+ }
+
+ // Action details for invalid or unsupported partitions detected by discovery.
+ message InvalidDataPartition {
+ // The expected partition structure.
+ enum PartitionStructure {
+ // PartitionStructure unspecified.
+ PARTITION_STRUCTURE_UNSPECIFIED = 0;
+
+ // Consistent hive-style partition definition (both raw and curated zone).
+ CONSISTENT_KEYS = 1;
+
+ // Hive style partition definition (curated zone only).
+ HIVE_STYLE_KEYS = 2;
+ }
+
+ // The issue type of InvalidDataPartition.
+ PartitionStructure expected_structure = 1;
+ }
+
+ // Action details for absence of data detected by discovery.
+ message MissingData {
+
+ }
+
+ // Action details for invalid data arrangement.
+ message InvalidDataOrganization {
+
+ }
+
+ // The category of issue associated with the action.
+ Category category = 1;
+
+ // Detailed description of the issue requiring action.
+ string issue = 2;
+
+ // The time that the issue was detected.
+ google.protobuf.Timestamp detect_time = 4;
+
+ // Output only. The relative resource name of the action, of the form:
+ // `projects/{project}/locations/{location}/lakes/{lake}/actions/{action}`
+ // `projects/{project}/locations/{location}/lakes/{lake}/zones/{zone}/actions/{action}`
+ // `projects/{project}/locations/{location}/lakes/{lake}/zones/{zone}/assets/{asset}/actions/{action}`.
+ string name = 5 [
+ (google.api.field_behavior) = OUTPUT_ONLY,
+ (google.api.resource_reference) = {
+ type: "dataplex.googleapis.com/Action"
+ }
+ ];
+
+ // Output only. The relative resource name of the lake, of the form:
+ // `projects/{project_number}/locations/{location_id}/lakes/{lake_id}`.
+ string lake = 6 [
+ (google.api.field_behavior) = OUTPUT_ONLY,
+ (google.api.resource_reference) = {
+ type: "dataplex.googleapis.com/Lake"
+ }
+ ];
+
+ // Output only. The relative resource name of the zone, of the form:
+ // `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}`.
+ string zone = 7 [
+ (google.api.field_behavior) = OUTPUT_ONLY,
+ (google.api.resource_reference) = {
+ type: "dataplex.googleapis.com/Zone"
+ }
+ ];
+
+ // Output only. The relative resource name of the asset, of the form:
+ // `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/assets/{asset_id}`.
+ string asset = 8 [
+ (google.api.field_behavior) = OUTPUT_ONLY,
+ (google.api.resource_reference) = {
+ type: "dataplex.googleapis.com/Asset"
+ }
+ ];
+
+ // The list of data locations associated with this action. Cloud Storage
+ // locations are represented as URI paths(E.g.
+ // `gs://bucket/table1/year=2020/month=Jan/`). BigQuery locations refer to
+ // resource names(E.g.
+ // `bigquery.googleapis.com/projects/project-id/datasets/dataset-id`).
+ repeated string data_locations = 9;
+
+ // Additional details about the action based on the action category.
+ oneof details {
+ // Details for issues related to invalid or unsupported data formats.
+ InvalidDataFormat invalid_data_format = 10;
+
+ // Details for issues related to incompatible schemas detected within data.
+ IncompatibleDataSchema incompatible_data_schema = 11;
+
+ // Details for issues related to invalid or unsupported data partition
+ // structure.
+ InvalidDataPartition invalid_data_partition = 12;
+
+ // Details for issues related to absence of data within managed resources.
+ MissingData missing_data = 13;
+
+ // Details for issues related to absence of a managed resource.
+ MissingResource missing_resource = 14;
+
+ // Details for issues related to lack of permissions to access data
+ // resources.
+ UnauthorizedResource unauthorized_resource = 15;
+
+ // Details for issues related to applying security policy.
+ FailedSecurityPolicyApply failed_security_policy_apply = 21;
+
+ // Details for issues related to invalid data arrangement.
+ InvalidDataOrganization invalid_data_organization = 22;
+ }
+}
+
+// An asset represents a cloud resource that is being managed within a lake as a
+// member of a zone.
+message Asset {
+ option (google.api.resource) = {
+ type: "dataplex.googleapis.com/Asset"
+ pattern: "projects/{project}/locations/{location}/lakes/{lake}/zones/{zone}/assets/{asset}"
+ };
+
+ // Security policy status of the asset. Data security policy, i.e., readers,
+ // writers & owners, should be specified in the lake/zone/asset IAM policy.
+ message SecurityStatus {
+ // The state of the security policy.
+ enum State {
+ // State unspecified.
+ STATE_UNSPECIFIED = 0;
+
+ // Security policy has been successfully applied to the attached resource.
+ READY = 1;
+
+ // Security policy is in the process of being applied to the attached
+ // resource.
+ APPLYING = 2;
+
+ // Security policy could not be applied to the attached resource due to
+ // errors.
+ ERROR = 3;
+ }
+
+ // The current state of the security policy applied to the attached
+ // resource.
+ State state = 1;
+
+ // Additional information about the current state.
+ string message = 2;
+
+ // Last update time of the status.
+ google.protobuf.Timestamp update_time = 3;
+ }
+
+ // Settings to manage the metadata discovery and publishing for an asset.
+ message DiscoverySpec {
+ // Describe CSV and similar semi-structured data formats.
+ message CsvOptions {
+ // Optional. The number of rows to interpret as header rows that should be skipped
+ // when reading data rows.
+ int32 header_rows = 1 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. The delimiter being used to separate values. This defaults to ','.
+ string delimiter = 2 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. The character encoding of the data. The default is UTF-8.
+ string encoding = 3 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. Whether to disable the inference of data type for CSV data.
+ // If true, all columns will be registered as strings.
+ bool disable_type_inference = 4 [(google.api.field_behavior) = OPTIONAL];
+ }
+
+ // Describe JSON data format.
+ message JsonOptions {
+ // Optional. The character encoding of the data. The default is UTF-8.
+ string encoding = 1 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. Whether to disable the inference of data type for Json data.
+ // If true, all columns will be registered as their primitive types
+ // (strings, number or boolean).
+ bool disable_type_inference = 2 [(google.api.field_behavior) = OPTIONAL];
+ }
+
+ // Optional. Whether discovery is enabled.
+ bool enabled = 1 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. The list of patterns to apply for selecting data to include during
+ // discovery if only a subset of the data should considered. For Cloud
+ // Storage bucket assets, these are interpreted as glob patterns used to
+ // match object names. For BigQuery dataset assets, these are interpreted as
+ // patterns to match table names.
+ repeated string include_patterns = 2 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. The list of patterns to apply for selecting data to exclude during
+ // discovery. For Cloud Storage bucket assets, these are interpreted as
+ // glob patterns used to match object names. For BigQuery dataset assets,
+ // these are interpreted as patterns to match table names.
+ repeated string exclude_patterns = 3 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. Configuration for CSV data.
+ CsvOptions csv_options = 4 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. Configuration for Json data.
+ JsonOptions json_options = 5 [(google.api.field_behavior) = OPTIONAL];
+
+ // Determines when discovery is triggered.
+ oneof trigger {
+ // Optional. Cron schedule (https://en.wikipedia.org/wiki/Cron) for running
+ // discovery periodically. Successive discovery runs must be scheduled at
+ // least 60 minutes apart.
+ // The default value is to run discovery every 60 minutes.
+ // To explicitly set a timezone to the cron tab, apply a prefix in the
+ // cron tab: "CRON_TZ=${IANA_TIME_ZONE}" or TZ=${IANA_TIME_ZONE}".
+ // The ${IANA_TIME_ZONE} may only be a valid string from IANA time zone
+ // database. For example, "CRON_TZ=America/New_York 1 * * * *", or
+ // "TZ=America/New_York 1 * * * *".
+ string schedule = 10 [(google.api.field_behavior) = OPTIONAL];
+ }
+ }
+
+ // Identifies the cloud resource that is referenced by this asset.
+ message ResourceSpec {
+ // Type of resource.
+ enum Type {
+ // Type not specified.
+ TYPE_UNSPECIFIED = 0;
+
+ // Cloud Storage bucket.
+ STORAGE_BUCKET = 1;
+
+ // BigQuery dataset.
+ BIGQUERY_DATASET = 2;
+ }
+
+ // Immutable. Relative name of the cloud resource that contains the data that is
+ // being managed within a lake. For example:
+ // `projects/{project_number}/buckets/{bucket_id}`
+ // `projects/{project_number}/datasets/{dataset_id}`
+ string name = 1 [(google.api.field_behavior) = IMMUTABLE];
+
+ // Required. Immutable. Type of resource.
+ Type type = 2 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.field_behavior) = IMMUTABLE
+ ];
+ }
+
+ // Status of the resource referenced by an asset.
+ message ResourceStatus {
+ // The state of a resource.
+ enum State {
+ // State unspecified.
+ STATE_UNSPECIFIED = 0;
+
+ // Resource does not have any errors.
+ READY = 1;
+
+ // Resource has errors.
+ ERROR = 2;
+ }
+
+ // The current state of the managed resource.
+ State state = 1;
+
+ // Additional information about the current state.
+ string message = 2;
+
+ // Last update time of the status.
+ google.protobuf.Timestamp update_time = 3;
+ }
+
+ // Status of discovery for an asset.
+ message DiscoveryStatus {
+ // Current state of discovery.
+ enum State {
+ // State is unspecified.
+ STATE_UNSPECIFIED = 0;
+
+ // Discovery for the asset is scheduled.
+ SCHEDULED = 1;
+
+ // Discovery for the asset is running.
+ IN_PROGRESS = 2;
+
+ // Discovery for the asset is currently paused (e.g. due to a lack
+ // of available resources). It will be automatically resumed.
+ PAUSED = 3;
+
+ // Discovery for the asset is disabled.
+ DISABLED = 5;
+ }
+
+ // The aggregated data statistics for the asset reported by discovery.
+ message Stats {
+ // The count of data items within the referenced resource.
+ int64 data_items = 1;
+
+ // The number of stored data bytes within the referenced resource.
+ int64 data_size = 2;
+
+ // The count of table entities within the referenced resource.
+ int64 tables = 3;
+
+ // The count of fileset entities within the referenced resource.
+ int64 filesets = 4;
+ }
+
+ // The current status of the discovery feature.
+ State state = 1;
+
+ // Additional information about the current state.
+ string message = 2;
+
+ // Last update time of the status.
+ google.protobuf.Timestamp update_time = 3;
+
+ // The start time of the last discovery run.
+ google.protobuf.Timestamp last_run_time = 4;
+
+ // Data Stats of the asset reported by discovery.
+ Stats stats = 6;
+
+ // The duration of the last discovery run.
+ google.protobuf.Duration last_run_duration = 7;
+ }
+
+ // Output only. The relative resource name of the asset, of the form:
+ // `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/assets/{asset_id}`.
+ string name = 1 [
+ (google.api.field_behavior) = OUTPUT_ONLY,
+ (google.api.resource_reference) = {
+ type: "dataplex.googleapis.com/Asset"
+ }
+ ];
+
+ // Optional. User friendly display name.
+ string display_name = 2 [(google.api.field_behavior) = OPTIONAL];
+
+ // Output only. System generated globally unique ID for the asset. This ID will be
+ // different if the asset is deleted and re-created with the same name.
+ string uid = 3 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Output only. The time when the asset was created.
+ google.protobuf.Timestamp create_time = 4 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Output only. The time when the asset was last updated.
+ google.protobuf.Timestamp update_time = 5 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Optional. User defined labels for the asset.
+ map labels = 6 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. Description of the asset.
+ string description = 7 [(google.api.field_behavior) = OPTIONAL];
+
+ // Output only. Current state of the asset.
+ State state = 8 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Required. Specification of the resource that is referenced by this asset.
+ ResourceSpec resource_spec = 100 [(google.api.field_behavior) = REQUIRED];
+
+ // Output only. Status of the resource referenced by this asset.
+ ResourceStatus resource_status = 101 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Output only. Status of the security policy applied to resource referenced by this asset.
+ SecurityStatus security_status = 103 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Optional. Specification of the discovery feature applied to data referenced by this
+ // asset.
+ // When this spec is left unset, the asset will use the spec set on the parent
+ // zone.
+ DiscoverySpec discovery_spec = 106 [(google.api.field_behavior) = OPTIONAL];
+
+ // Output only. Status of the discovery feature applied to data referenced by this asset.
+ DiscoveryStatus discovery_status = 107 [(google.api.field_behavior) = OUTPUT_ONLY];
+}
+
+// State of a resource.
+enum State {
+ // State is not specified.
+ STATE_UNSPECIFIED = 0;
+
+ // Resource is active, i.e., ready to use.
+ ACTIVE = 1;
+
+ // Resource is under creation.
+ CREATING = 2;
+
+ // Resource is under deletion.
+ DELETING = 3;
+
+ // Resource is active but has unresolved actions.
+ ACTION_REQUIRED = 4;
+}
diff --git a/packages/google-cloud-dataplex/protos/google/cloud/dataplex/v1/service.proto b/packages/google-cloud-dataplex/protos/google/cloud/dataplex/v1/service.proto
new file mode 100644
index 00000000000..f7995c07b75
--- /dev/null
+++ b/packages/google-cloud-dataplex/protos/google/cloud/dataplex/v1/service.proto
@@ -0,0 +1,1109 @@
+// 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.dataplex.v1;
+
+import "google/api/annotations.proto";
+import "google/api/client.proto";
+import "google/api/field_behavior.proto";
+import "google/api/resource.proto";
+import "google/cloud/dataplex/v1/analyze.proto";
+import "google/cloud/dataplex/v1/resources.proto";
+import "google/cloud/dataplex/v1/tasks.proto";
+import "google/longrunning/operations.proto";
+import "google/protobuf/empty.proto";
+import "google/protobuf/field_mask.proto";
+import "google/protobuf/timestamp.proto";
+
+option go_package = "google.golang.org/genproto/googleapis/cloud/dataplex/v1;dataplex";
+option java_multiple_files = true;
+option java_outer_classname = "ServiceProto";
+option java_package = "com.google.cloud.dataplex.v1";
+
+// Dataplex service provides data lakes as a service. The primary resources
+// offered by this service are Lakes, Zones and Assets which collectively allow
+// a data administrator to organize, manage, secure and catalog data across
+// their organization located across cloud projects in a variety of storage
+// systems including Cloud Storage and BigQuery.
+service DataplexService {
+ option (google.api.default_host) = "dataplex.googleapis.com";
+ option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/cloud-platform";
+
+ // Creates a lake resource.
+ rpc CreateLake(CreateLakeRequest) returns (google.longrunning.Operation) {
+ option (google.api.http) = {
+ post: "/v1/{parent=projects/*/locations/*}/lakes"
+ body: "lake"
+ };
+ option (google.api.method_signature) = "parent,lake,lake_id";
+ option (google.longrunning.operation_info) = {
+ response_type: "Lake"
+ metadata_type: "OperationMetadata"
+ };
+ }
+
+ // Updates a lake resource.
+ rpc UpdateLake(UpdateLakeRequest) returns (google.longrunning.Operation) {
+ option (google.api.http) = {
+ patch: "/v1/{lake.name=projects/*/locations/*/lakes/*}"
+ body: "lake"
+ };
+ option (google.api.method_signature) = "lake,update_mask";
+ option (google.longrunning.operation_info) = {
+ response_type: "Lake"
+ metadata_type: "OperationMetadata"
+ };
+ }
+
+ // Deletes a lake resource. All zones within the lake must be deleted before
+ // the lake can be deleted.
+ rpc DeleteLake(DeleteLakeRequest) returns (google.longrunning.Operation) {
+ option (google.api.http) = {
+ delete: "/v1/{name=projects/*/locations/*/lakes/*}"
+ };
+ option (google.api.method_signature) = "name";
+ option (google.longrunning.operation_info) = {
+ response_type: "google.protobuf.Empty"
+ metadata_type: "OperationMetadata"
+ };
+ }
+
+ // Lists lake resources in a project and location.
+ rpc ListLakes(ListLakesRequest) returns (ListLakesResponse) {
+ option (google.api.http) = {
+ get: "/v1/{parent=projects/*/locations/*}/lakes"
+ };
+ option (google.api.method_signature) = "parent";
+ }
+
+ // Retrieves a lake resource.
+ rpc GetLake(GetLakeRequest) returns (Lake) {
+ option (google.api.http) = {
+ get: "/v1/{name=projects/*/locations/*/lakes/*}"
+ };
+ option (google.api.method_signature) = "name";
+ }
+
+ // Lists action resources in a lake.
+ rpc ListLakeActions(ListLakeActionsRequest) returns (ListActionsResponse) {
+ option (google.api.http) = {
+ get: "/v1/{parent=projects/*/locations/*/lakes/*}/actions"
+ };
+ option (google.api.method_signature) = "parent";
+ }
+
+ // Creates a zone resource within a lake.
+ rpc CreateZone(CreateZoneRequest) returns (google.longrunning.Operation) {
+ option (google.api.http) = {
+ post: "/v1/{parent=projects/*/locations/*/lakes/*}/zones"
+ body: "zone"
+ };
+ option (google.api.method_signature) = "parent,zone,zone_id";
+ option (google.longrunning.operation_info) = {
+ response_type: "Zone"
+ metadata_type: "OperationMetadata"
+ };
+ }
+
+ // Updates a zone resource.
+ rpc UpdateZone(UpdateZoneRequest) returns (google.longrunning.Operation) {
+ option (google.api.http) = {
+ patch: "/v1/{zone.name=projects/*/locations/*/lakes/*/zones/*}"
+ body: "zone"
+ };
+ option (google.api.method_signature) = "zone,update_mask";
+ option (google.longrunning.operation_info) = {
+ response_type: "Zone"
+ metadata_type: "OperationMetadata"
+ };
+ }
+
+ // Deletes a zone resource. All assets within a zone must be deleted before
+ // the zone can be deleted.
+ rpc DeleteZone(DeleteZoneRequest) returns (google.longrunning.Operation) {
+ option (google.api.http) = {
+ delete: "/v1/{name=projects/*/locations/*/lakes/*/zones/*}"
+ };
+ option (google.api.method_signature) = "name";
+ option (google.longrunning.operation_info) = {
+ response_type: "google.protobuf.Empty"
+ metadata_type: "OperationMetadata"
+ };
+ }
+
+ // Lists zone resources in a lake.
+ rpc ListZones(ListZonesRequest) returns (ListZonesResponse) {
+ option (google.api.http) = {
+ get: "/v1/{parent=projects/*/locations/*/lakes/*}/zones"
+ };
+ option (google.api.method_signature) = "parent";
+ }
+
+ // Retrieves a zone resource.
+ rpc GetZone(GetZoneRequest) returns (Zone) {
+ option (google.api.http) = {
+ get: "/v1/{name=projects/*/locations/*/lakes/*/zones/*}"
+ };
+ option (google.api.method_signature) = "name";
+ }
+
+ // Lists action resources in a zone.
+ rpc ListZoneActions(ListZoneActionsRequest) returns (ListActionsResponse) {
+ option (google.api.http) = {
+ get: "/v1/{parent=projects/*/locations/*/lakes/*/zones/*}/actions"
+ };
+ option (google.api.method_signature) = "parent";
+ }
+
+ // Creates an asset resource.
+ rpc CreateAsset(CreateAssetRequest) returns (google.longrunning.Operation) {
+ option (google.api.http) = {
+ post: "/v1/{parent=projects/*/locations/*/lakes/*/zones/*}/assets"
+ body: "asset"
+ };
+ option (google.api.method_signature) = "parent,asset,asset_id";
+ option (google.longrunning.operation_info) = {
+ response_type: "Asset"
+ metadata_type: "OperationMetadata"
+ };
+ }
+
+ // Updates an asset resource.
+ rpc UpdateAsset(UpdateAssetRequest) returns (google.longrunning.Operation) {
+ option (google.api.http) = {
+ patch: "/v1/{asset.name=projects/*/locations/*/lakes/*/zones/*/assets/*}"
+ body: "asset"
+ };
+ option (google.api.method_signature) = "asset,update_mask";
+ option (google.longrunning.operation_info) = {
+ response_type: "Asset"
+ metadata_type: "OperationMetadata"
+ };
+ }
+
+ // Deletes an asset resource. The referenced storage resource is detached
+ // (default) or deleted based on the associated Lifecycle policy.
+ rpc DeleteAsset(DeleteAssetRequest) returns (google.longrunning.Operation) {
+ option (google.api.http) = {
+ delete: "/v1/{name=projects/*/locations/*/lakes/*/zones/*/assets/*}"
+ };
+ option (google.api.method_signature) = "name";
+ option (google.longrunning.operation_info) = {
+ response_type: "google.protobuf.Empty"
+ metadata_type: "OperationMetadata"
+ };
+ }
+
+ // Lists asset resources in a zone.
+ rpc ListAssets(ListAssetsRequest) returns (ListAssetsResponse) {
+ option (google.api.http) = {
+ get: "/v1/{parent=projects/*/locations/*/lakes/*/zones/*}/assets"
+ };
+ option (google.api.method_signature) = "parent";
+ }
+
+ // Retrieves an asset resource.
+ rpc GetAsset(GetAssetRequest) returns (Asset) {
+ option (google.api.http) = {
+ get: "/v1/{name=projects/*/locations/*/lakes/*/zones/*/assets/*}"
+ };
+ option (google.api.method_signature) = "name";
+ }
+
+ // Lists action resources in an asset.
+ rpc ListAssetActions(ListAssetActionsRequest) returns (ListActionsResponse) {
+ option (google.api.http) = {
+ get: "/v1/{parent=projects/*/locations/*/lakes/*/zones/*/assets/*}/actions"
+ };
+ option (google.api.method_signature) = "parent";
+ }
+
+ // Creates a task resource within a lake.
+ rpc CreateTask(CreateTaskRequest) returns (google.longrunning.Operation) {
+ option (google.api.http) = {
+ post: "/v1/{parent=projects/*/locations/*/lakes/*}/tasks"
+ body: "task"
+ };
+ option (google.api.method_signature) = "parent,task,task_id";
+ option (google.longrunning.operation_info) = {
+ response_type: "Task"
+ metadata_type: "OperationMetadata"
+ };
+ }
+
+ // Update the task resource.
+ rpc UpdateTask(UpdateTaskRequest) returns (google.longrunning.Operation) {
+ option (google.api.http) = {
+ patch: "/v1/{task.name=projects/*/locations/*/lakes/*/tasks/*}"
+ body: "task"
+ };
+ option (google.api.method_signature) = "task,update_mask";
+ option (google.longrunning.operation_info) = {
+ response_type: "Task"
+ metadata_type: "OperationMetadata"
+ };
+ }
+
+ // Delete the task resource.
+ rpc DeleteTask(DeleteTaskRequest) returns (google.longrunning.Operation) {
+ option (google.api.http) = {
+ delete: "/v1/{name=projects/*/locations/*/lakes/*/tasks/*}"
+ };
+ option (google.api.method_signature) = "name";
+ option (google.longrunning.operation_info) = {
+ response_type: "google.protobuf.Empty"
+ metadata_type: "OperationMetadata"
+ };
+ }
+
+ // Lists tasks under the given lake.
+ rpc ListTasks(ListTasksRequest) returns (ListTasksResponse) {
+ option (google.api.http) = {
+ get: "/v1/{parent=projects/*/locations/*/lakes/*}/tasks"
+ };
+ option (google.api.method_signature) = "parent";
+ }
+
+ // Get task resource.
+ rpc GetTask(GetTaskRequest) returns (Task) {
+ option (google.api.http) = {
+ get: "/v1/{name=projects/*/locations/*/lakes/*/tasks/*}"
+ };
+ option (google.api.method_signature) = "name";
+ }
+
+ // Lists Jobs under the given task.
+ rpc ListJobs(ListJobsRequest) returns (ListJobsResponse) {
+ option (google.api.http) = {
+ get: "/v1/{parent=projects/*/locations/*/lakes/*/tasks/*}/jobs"
+ };
+ option (google.api.method_signature) = "parent";
+ }
+
+ // Get job resource.
+ rpc GetJob(GetJobRequest) returns (Job) {
+ option (google.api.http) = {
+ get: "/v1/{name=projects/*/locations/*/lakes/*/tasks/*/jobs/*}"
+ };
+ option (google.api.method_signature) = "name";
+ }
+
+ // Cancel jobs running for the task resource.
+ rpc CancelJob(CancelJobRequest) returns (google.protobuf.Empty) {
+ option (google.api.http) = {
+ post: "/v1/{name=projects/*/locations/*/lakes/*/tasks/*/jobs/*}:cancel"
+ body: "*"
+ };
+ option (google.api.method_signature) = "name";
+ }
+
+ // Create an environment resource.
+ rpc CreateEnvironment(CreateEnvironmentRequest) returns (google.longrunning.Operation) {
+ option (google.api.http) = {
+ post: "/v1/{parent=projects/*/locations/*/lakes/*}/environments"
+ body: "environment"
+ };
+ option (google.api.method_signature) = "parent,environment,environment_id";
+ option (google.longrunning.operation_info) = {
+ response_type: "Environment"
+ metadata_type: "OperationMetadata"
+ };
+ }
+
+ // Update the environment resource.
+ rpc UpdateEnvironment(UpdateEnvironmentRequest) returns (google.longrunning.Operation) {
+ option (google.api.http) = {
+ patch: "/v1/{environment.name=projects/*/locations/*/lakes/*/environments/*}"
+ body: "environment"
+ };
+ option (google.api.method_signature) = "environment,update_mask";
+ option (google.longrunning.operation_info) = {
+ response_type: "Environment"
+ metadata_type: "OperationMetadata"
+ };
+ }
+
+ // Delete the environment resource. All the child resources must have been
+ // deleted before environment deletion can be initiated.
+ rpc DeleteEnvironment(DeleteEnvironmentRequest) returns (google.longrunning.Operation) {
+ option (google.api.http) = {
+ delete: "/v1/{name=projects/*/locations/*/lakes/*/environments/*}"
+ };
+ option (google.api.method_signature) = "name";
+ option (google.longrunning.operation_info) = {
+ response_type: "google.protobuf.Empty"
+ metadata_type: "OperationMetadata"
+ };
+ }
+
+ // Lists environments under the given lake.
+ rpc ListEnvironments(ListEnvironmentsRequest) returns (ListEnvironmentsResponse) {
+ option (google.api.http) = {
+ get: "/v1/{parent=projects/*/locations/*/lakes/*}/environments"
+ };
+ option (google.api.method_signature) = "parent";
+ }
+
+ // Get environment resource.
+ rpc GetEnvironment(GetEnvironmentRequest) returns (Environment) {
+ option (google.api.http) = {
+ get: "/v1/{name=projects/*/locations/*/lakes/*/environments/*}"
+ };
+ option (google.api.method_signature) = "name";
+ }
+
+ // Lists session resources in an environment.
+ rpc ListSessions(ListSessionsRequest) returns (ListSessionsResponse) {
+ option (google.api.http) = {
+ get: "/v1/{parent=projects/*/locations/*/lakes/*/environments/*}/sessions"
+ };
+ option (google.api.method_signature) = "parent";
+ }
+}
+
+// Create lake request.
+message CreateLakeRequest {
+ // Required. The resource name of the lake location, of the form:
+ // projects/{project_number}/locations/{location_id}
+ // where `location_id` refers to a GCP region.
+ string parent = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ type: "locations.googleapis.com/Location"
+ }
+ ];
+
+ // Required. Lake identifier.
+ // This ID will be used to generate names such as database and dataset names
+ // when publishing metadata to Hive Metastore and BigQuery.
+ // * Must contain only lowercase letters, numbers and hyphens.
+ // * Must start with a letter.
+ // * Must end with a number or a letter.
+ // * Must be between 1-63 characters.
+ // * Must be unique within the customer project / location.
+ string lake_id = 2 [(google.api.field_behavior) = REQUIRED];
+
+ // Required. Lake resource
+ Lake lake = 3 [(google.api.field_behavior) = REQUIRED];
+
+ // Optional. Only validate the request, but do not perform mutations.
+ // The default is false.
+ bool validate_only = 4 [(google.api.field_behavior) = OPTIONAL];
+}
+
+// Update lake request.
+message UpdateLakeRequest {
+ // Required. Mask of fields to update.
+ google.protobuf.FieldMask update_mask = 1 [(google.api.field_behavior) = REQUIRED];
+
+ // Required. Update description.
+ // Only fields specified in `update_mask` are updated.
+ Lake lake = 2 [(google.api.field_behavior) = REQUIRED];
+
+ // Optional. Only validate the request, but do not perform mutations.
+ // The default is false.
+ bool validate_only = 3 [(google.api.field_behavior) = OPTIONAL];
+}
+
+// Delete lake request.
+message DeleteLakeRequest {
+ // Required. The resource name of the lake:
+ // `projects/{project_number}/locations/{location_id}/lakes/{lake_id}`.
+ string name = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ type: "dataplex.googleapis.com/Lake"
+ }
+ ];
+}
+
+// List lakes request.
+message ListLakesRequest {
+ // Required. The resource name of the lake location, of the form:
+ // `projects/{project_number}/locations/{location_id}`
+ // where `location_id` refers to a GCP region.
+ string parent = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ type: "locations.googleapis.com/Location"
+ }
+ ];
+
+ // Optional. Maximum number of Lakes to return. The service may return fewer than this
+ // value. If unspecified, at most 10 lakes will be returned. The maximum
+ // value is 1000; values above 1000 will be coerced to 1000.
+ int32 page_size = 2 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. Page token received from a previous `ListLakes` call. Provide this to
+ // retrieve the subsequent page. When paginating, all other parameters
+ // provided to `ListLakes` must match the call that provided the page token.
+ string page_token = 3 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. Filter request.
+ string filter = 4 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. Order by fields for the result.
+ string order_by = 5 [(google.api.field_behavior) = OPTIONAL];
+}
+
+// List lakes response.
+message ListLakesResponse {
+ // Lakes under the given parent location.
+ repeated Lake lakes = 1;
+
+ // Token to retrieve the next page of results, or empty if there are no more
+ // results in the list.
+ string next_page_token = 2;
+
+ // Locations that could not be reached.
+ repeated string unreachable_locations = 3;
+}
+
+// List lake actions request.
+message ListLakeActionsRequest {
+ // Required. The resource name of the parent lake:
+ // `projects/{project_number}/locations/{location_id}/lakes/{lake_id}`.
+ string parent = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ type: "dataplex.googleapis.com/Lake"
+ }
+ ];
+
+ // Optional. Maximum number of actions to return. The service may return fewer than this
+ // value. If unspecified, at most 10 actions will be returned. The maximum
+ // value is 1000; values above 1000 will be coerced to 1000.
+ int32 page_size = 2 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. Page token received from a previous `ListLakeActions` call. Provide this to
+ // retrieve the subsequent page. When paginating, all other parameters
+ // provided to `ListLakeActions` must match the call that provided the page
+ // token.
+ string page_token = 3 [(google.api.field_behavior) = OPTIONAL];
+}
+
+// List actions response.
+message ListActionsResponse {
+ // Actions under the given parent lake/zone/asset.
+ repeated Action actions = 1;
+
+ // Token to retrieve the next page of results, or empty if there are no more
+ // results in the list.
+ string next_page_token = 2;
+}
+
+// Get lake request.
+message GetLakeRequest {
+ // Required. The resource name of the lake:
+ // `projects/{project_number}/locations/{location_id}/lakes/{lake_id}`.
+ string name = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ type: "dataplex.googleapis.com/Lake"
+ }
+ ];
+}
+
+// Create zone request.
+message CreateZoneRequest {
+ // Required. The resource name of the parent lake:
+ // `projects/{project_number}/locations/{location_id}/lakes/{lake_id}`.
+ string parent = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ type: "dataplex.googleapis.com/Lake"
+ }
+ ];
+
+ // Required. Zone identifier.
+ // This ID will be used to generate names such as database and dataset names
+ // when publishing metadata to Hive Metastore and BigQuery.
+ // * Must contain only lowercase letters, numbers and hyphens.
+ // * Must start with a letter.
+ // * Must end with a number or a letter.
+ // * Must be between 1-63 characters.
+ // * Must be unique across all lakes from all locations in a project.
+ // * Must not be one of the reserved IDs (i.e. "default", "global-temp")
+ string zone_id = 2 [(google.api.field_behavior) = REQUIRED];
+
+ // Required. Zone resource.
+ Zone zone = 3 [(google.api.field_behavior) = REQUIRED];
+
+ // Optional. Only validate the request, but do not perform mutations.
+ // The default is false.
+ bool validate_only = 4 [(google.api.field_behavior) = OPTIONAL];
+}
+
+// Update zone request.
+message UpdateZoneRequest {
+ // Required. Mask of fields to update.
+ google.protobuf.FieldMask update_mask = 1 [(google.api.field_behavior) = REQUIRED];
+
+ // Required. Update description.
+ // Only fields specified in `update_mask` are updated.
+ Zone zone = 2 [(google.api.field_behavior) = REQUIRED];
+
+ // Optional. Only validate the request, but do not perform mutations.
+ // The default is false.
+ bool validate_only = 3 [(google.api.field_behavior) = OPTIONAL];
+}
+
+// Delete zone request.
+message DeleteZoneRequest {
+ // Required. The resource name of the zone:
+ // `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}`.
+ string name = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ type: "dataplex.googleapis.com/Zone"
+ }
+ ];
+}
+
+// List zones request.
+message ListZonesRequest {
+ // Required. The resource name of the parent lake:
+ // `projects/{project_number}/locations/{location_id}/lakes/{lake_id}`.
+ string parent = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ type: "dataplex.googleapis.com/Lake"
+ }
+ ];
+
+ // Optional. Maximum number of zones to return. The service may return fewer than this
+ // value. If unspecified, at most 10 zones will be returned. The maximum
+ // value is 1000; values above 1000 will be coerced to 1000.
+ int32 page_size = 2 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. Page token received from a previous `ListZones` call. Provide this to
+ // retrieve the subsequent page. When paginating, all other parameters
+ // provided to `ListZones` must match the call that provided the page token.
+ string page_token = 3 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. Filter request.
+ string filter = 4 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. Order by fields for the result.
+ string order_by = 5 [(google.api.field_behavior) = OPTIONAL];
+}
+
+// List zones response.
+message ListZonesResponse {
+ // Zones under the given parent lake.
+ repeated Zone zones = 1;
+
+ // Token to retrieve the next page of results, or empty if there are no more
+ // results in the list.
+ string next_page_token = 2;
+}
+
+// List zone actions request.
+message ListZoneActionsRequest {
+ // Required. The resource name of the parent zone:
+ // `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}`.
+ string parent = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ type: "dataplex.googleapis.com/Zone"
+ }
+ ];
+
+ // Optional. Maximum number of actions to return. The service may return fewer than this
+ // value. If unspecified, at most 10 actions will be returned. The maximum
+ // value is 1000; values above 1000 will be coerced to 1000.
+ int32 page_size = 2 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. Page token received from a previous `ListZoneActions` call. Provide this to
+ // retrieve the subsequent page. When paginating, all other parameters
+ // provided to `ListZoneActions` must match the call that provided the page
+ // token.
+ string page_token = 3 [(google.api.field_behavior) = OPTIONAL];
+}
+
+// Get zone request.
+message GetZoneRequest {
+ // Required. The resource name of the zone:
+ // `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}`.
+ string name = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ type: "dataplex.googleapis.com/Zone"
+ }
+ ];
+}
+
+// Create asset request.
+message CreateAssetRequest {
+ // Required. The resource name of the parent zone:
+ // `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}`.
+ string parent = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ type: "dataplex.googleapis.com/Zone"
+ }
+ ];
+
+ // Required. Asset identifier.
+ // This ID will be used to generate names such as table names when publishing
+ // metadata to Hive Metastore and BigQuery.
+ // * Must contain only lowercase letters, numbers and hyphens.
+ // * Must start with a letter.
+ // * Must end with a number or a letter.
+ // * Must be between 1-63 characters.
+ // * Must be unique within the zone.
+ string asset_id = 2 [(google.api.field_behavior) = REQUIRED];
+
+ // Required. Asset resource.
+ Asset asset = 3 [(google.api.field_behavior) = REQUIRED];
+
+ // Optional. Only validate the request, but do not perform mutations.
+ // The default is false.
+ bool validate_only = 4 [(google.api.field_behavior) = OPTIONAL];
+}
+
+// Update asset request.
+message UpdateAssetRequest {
+ // Required. Mask of fields to update.
+ google.protobuf.FieldMask update_mask = 1 [(google.api.field_behavior) = REQUIRED];
+
+ // Required. Update description.
+ // Only fields specified in `update_mask` are updated.
+ Asset asset = 2 [(google.api.field_behavior) = REQUIRED];
+
+ // Optional. Only validate the request, but do not perform mutations.
+ // The default is false.
+ bool validate_only = 3 [(google.api.field_behavior) = OPTIONAL];
+}
+
+// Delete asset request.
+message DeleteAssetRequest {
+ // Required. The resource name of the asset:
+ // `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/assets/{asset_id}`.
+ string name = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ type: "dataplex.googleapis.com/Asset"
+ }
+ ];
+}
+
+// List assets request.
+message ListAssetsRequest {
+ // Required. The resource name of the parent zone:
+ // `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}`.
+ string parent = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ type: "dataplex.googleapis.com/Zone"
+ }
+ ];
+
+ // Optional. Maximum number of asset to return. The service may return fewer than
+ // this value. If unspecified, at most 10 assets will be returned. The
+ // maximum value is 1000; values above 1000 will be coerced to 1000.
+ int32 page_size = 2 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. Page token received from a previous `ListAssets` call. Provide this to
+ // retrieve the subsequent page. When paginating, all other parameters
+ // provided to `ListAssets` must match the call that provided the page
+ // token.
+ string page_token = 3 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. Filter request.
+ string filter = 4 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. Order by fields for the result.
+ string order_by = 5 [(google.api.field_behavior) = OPTIONAL];
+}
+
+// List assets response.
+message ListAssetsResponse {
+ // Asset under the given parent zone.
+ repeated Asset assets = 1;
+
+ // Token to retrieve the next page of results, or empty if there are no more
+ // results in the list.
+ string next_page_token = 2;
+}
+
+// List asset actions request.
+message ListAssetActionsRequest {
+ // Required. The resource name of the parent asset:
+ // `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/assets/{asset_id}`.
+ string parent = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ type: "dataplex.googleapis.com/Asset"
+ }
+ ];
+
+ // Optional. Maximum number of actions to return. The service may return fewer than this
+ // value. If unspecified, at most 10 actions will be returned. The maximum
+ // value is 1000; values above 1000 will be coerced to 1000.
+ int32 page_size = 2 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. Page token received from a previous `ListAssetActions` call. Provide this
+ // to retrieve the subsequent page. When paginating, all other parameters
+ // provided to `ListAssetActions` must match the call that provided the page
+ // token.
+ string page_token = 3 [(google.api.field_behavior) = OPTIONAL];
+}
+
+// Get asset request.
+message GetAssetRequest {
+ // Required. The resource name of the asset:
+ // `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/assets/{asset_id}`.
+ string name = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ type: "dataplex.googleapis.com/Asset"
+ }
+ ];
+}
+
+// Represents the metadata of a 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];
+}
+
+// Create task request.
+message CreateTaskRequest {
+ // Required. The resource name of the parent lake:
+ // `projects/{project_number}/locations/{location_id}/lakes/{lake_id}`.
+ string parent = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ type: "dataplex.googleapis.com/Lake"
+ }
+ ];
+
+ // Required. Task identifier.
+ string task_id = 2 [(google.api.field_behavior) = REQUIRED];
+
+ // Required. Task resource.
+ Task task = 3 [(google.api.field_behavior) = REQUIRED];
+
+ // Optional. Only validate the request, but do not perform mutations.
+ // The default is false.
+ bool validate_only = 4 [(google.api.field_behavior) = OPTIONAL];
+}
+
+// Update task request.
+message UpdateTaskRequest {
+ // Required. Mask of fields to update.
+ google.protobuf.FieldMask update_mask = 1 [(google.api.field_behavior) = REQUIRED];
+
+ // Required. Update description.
+ // Only fields specified in `update_mask` are updated.
+ Task task = 2 [(google.api.field_behavior) = REQUIRED];
+
+ // Optional. Only validate the request, but do not perform mutations.
+ // The default is false.
+ bool validate_only = 3 [(google.api.field_behavior) = OPTIONAL];
+}
+
+// Delete task request.
+message DeleteTaskRequest {
+ // Required. The resource name of the task:
+ // `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/task/{task_id}`.
+ string name = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ type: "dataplex.googleapis.com/Task"
+ }
+ ];
+}
+
+// List tasks request.
+message ListTasksRequest {
+ // Required. The resource name of the parent lake:
+ // `projects/{project_number}/locations/{location_id}/lakes/{lake_id}`.
+ string parent = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ type: "dataplex.googleapis.com/Lake"
+ }
+ ];
+
+ // Optional. Maximum number of tasks to return. The service may return fewer than this
+ // value. If unspecified, at most 10 tasks will be returned. The maximum
+ // value is 1000; values above 1000 will be coerced to 1000.
+ int32 page_size = 2 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. Page token received from a previous `ListZones` call. Provide this to
+ // retrieve the subsequent page. When paginating, all other parameters
+ // provided to `ListZones` must match the call that provided the page token.
+ string page_token = 3 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. Filter request.
+ string filter = 4 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. Order by fields for the result.
+ string order_by = 5 [(google.api.field_behavior) = OPTIONAL];
+}
+
+// List tasks response.
+message ListTasksResponse {
+ // Tasks under the given parent lake.
+ repeated Task tasks = 1;
+
+ // Token to retrieve the next page of results, or empty if there are no more
+ // results in the list.
+ string next_page_token = 2;
+
+ // Locations that could not be reached.
+ repeated string unreachable_locations = 3;
+}
+
+// Get task request.
+message GetTaskRequest {
+ // Required. The resource name of the task:
+ // `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/tasks/{tasks_id}`.
+ string name = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ type: "dataplex.googleapis.com/Task"
+ }
+ ];
+}
+
+// Get job request.
+message GetJobRequest {
+ // Required. The resource name of the job:
+ // `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/tasks/{task_id}/jobs/{job_id}`.
+ string name = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ type: "dataplex.googleapis.com/Job"
+ }
+ ];
+}
+
+// List jobs request.
+message ListJobsRequest {
+ // Required. The resource name of the parent environment:
+ // `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/tasks/{task_id}`.
+ string parent = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ type: "dataplex.googleapis.com/Task"
+ }
+ ];
+
+ // Optional. Maximum number of jobs to return. The service may return fewer than
+ // this value. If unspecified, at most 10 jobs will be returned. The
+ // maximum value is 1000; values above 1000 will be coerced to 1000.
+ int32 page_size = 2 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. Page token received from a previous `ListJobs` call. Provide this to
+ // retrieve the subsequent page. When paginating, all other parameters
+ // provided to `ListJobs` must match the call that provided the page
+ // token.
+ string page_token = 3 [(google.api.field_behavior) = OPTIONAL];
+}
+
+// List jobs response.
+message ListJobsResponse {
+ // Jobs under a given task.
+ repeated Job jobs = 1;
+
+ // Token to retrieve the next page of results, or empty if there are no more
+ // results in the list.
+ string next_page_token = 2;
+}
+
+// Cancel task jobs.
+message CancelJobRequest {
+ // Required. The resource name of the job:
+ // `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/task/{task_id}/job/{job_id}`.
+ string name = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ type: "dataplex.googleapis.com/Job"
+ }
+ ];
+}
+
+// Create environment request.
+message CreateEnvironmentRequest {
+ // Required. The resource name of the parent lake:
+ // `projects/{project_id}/locations/{location_id}/lakes/{lake_id}`.
+ string parent = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ type: "dataplex.googleapis.com/Lake"
+ }
+ ];
+
+ // Required. Environment identifier.
+ // * Must contain only lowercase letters, numbers and hyphens.
+ // * Must start with a letter.
+ // * Must be between 1-63 characters.
+ // * Must end with a number or a letter.
+ // * Must be unique within the lake.
+ string environment_id = 2 [(google.api.field_behavior) = REQUIRED];
+
+ // Required. Environment resource.
+ Environment environment = 3 [(google.api.field_behavior) = REQUIRED];
+
+ // Optional. Only validate the request, but do not perform mutations.
+ // The default is false.
+ bool validate_only = 4 [(google.api.field_behavior) = OPTIONAL];
+}
+
+// Update environment request.
+message UpdateEnvironmentRequest {
+ // Required. Mask of fields to update.
+ google.protobuf.FieldMask update_mask = 1 [(google.api.field_behavior) = REQUIRED];
+
+ // Required. Update description.
+ // Only fields specified in `update_mask` are updated.
+ Environment environment = 2 [(google.api.field_behavior) = REQUIRED];
+
+ // Optional. Only validate the request, but do not perform mutations.
+ // The default is false.
+ bool validate_only = 3 [(google.api.field_behavior) = OPTIONAL];
+}
+
+// Delete environment request.
+message DeleteEnvironmentRequest {
+ // Required. The resource name of the environment:
+ // `projects/{project_id}/locations/{location_id}/lakes/{lake_id}/environments/{environment_id}`.
+ string name = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ type: "dataplex.googleapis.com/Environment"
+ }
+ ];
+}
+
+// List environments request.
+message ListEnvironmentsRequest {
+ // Required. The resource name of the parent lake:
+ // `projects/{project_id}/locations/{location_id}/lakes/{lake_id}`.
+ string parent = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ type: "dataplex.googleapis.com/Lake"
+ }
+ ];
+
+ // Optional. Maximum number of environments to return. The service may return fewer than
+ // this value. If unspecified, at most 10 environments will be returned. The
+ // maximum value is 1000; values above 1000 will be coerced to 1000.
+ int32 page_size = 2 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. Page token received from a previous `ListEnvironments` call. Provide this
+ // to retrieve the subsequent page. When paginating, all other parameters
+ // provided to `ListEnvironments` must match the call that provided the page
+ // token.
+ string page_token = 3 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. Filter request.
+ string filter = 4 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. Order by fields for the result.
+ string order_by = 5 [(google.api.field_behavior) = OPTIONAL];
+}
+
+// List environments response.
+message ListEnvironmentsResponse {
+ // Environments under the given parent lake.
+ repeated Environment environments = 1;
+
+ // Token to retrieve the next page of results, or empty if there are no more
+ // results in the list.
+ string next_page_token = 2;
+}
+
+// Get environment request.
+message GetEnvironmentRequest {
+ // Required. The resource name of the environment:
+ // `projects/{project_id}/locations/{location_id}/lakes/{lake_id}/environments/{environment_id}`.
+ string name = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ type: "dataplex.googleapis.com/Environment"
+ }
+ ];
+}
+
+// List sessions request.
+message ListSessionsRequest {
+ // Required. The resource name of the parent environment:
+ // `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/environment/{environment_id}`.
+ string parent = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ type: "dataplex.googleapis.com/Environment"
+ }
+ ];
+
+ // Optional. Maximum number of sessions to return. The service may return fewer than
+ // this value. If unspecified, at most 10 sessions will be returned. The
+ // maximum value is 1000; values above 1000 will be coerced to 1000.
+ int32 page_size = 2 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. Page token received from a previous `ListSessions` call. Provide this to
+ // retrieve the subsequent page. When paginating, all other parameters
+ // provided to `ListSessions` must match the call that provided the page
+ // token.
+ string page_token = 3 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. Filter request. The following `mode` filter is supported to return only the
+ // sessions belonging to the requester when the mode is USER and return
+ // sessions of all the users when the mode is ADMIN. When no filter is sent
+ // default to USER mode.
+ // NOTE: When the mode is ADMIN, the requester should have
+ // `dataplex.environments.listAllSessions` permission to list all sessions,
+ // in absence of the permission, the request fails.
+ //
+ // mode = ADMIN | USER
+ string filter = 4 [(google.api.field_behavior) = OPTIONAL];
+}
+
+// List sessions response.
+message ListSessionsResponse {
+ // Sessions under a given environment.
+ repeated Session sessions = 1;
+
+ // Token to retrieve the next page of results, or empty if there are no more
+ // results in the list.
+ string next_page_token = 2;
+}
diff --git a/packages/google-cloud-dataplex/protos/google/cloud/dataplex/v1/tasks.proto b/packages/google-cloud-dataplex/protos/google/cloud/dataplex/v1/tasks.proto
new file mode 100644
index 00000000000..214be25582e
--- /dev/null
+++ b/packages/google-cloud-dataplex/protos/google/cloud/dataplex/v1/tasks.proto
@@ -0,0 +1,393 @@
+// 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.dataplex.v1;
+
+import "google/api/field_behavior.proto";
+import "google/api/resource.proto";
+import "google/cloud/dataplex/v1/resources.proto";
+import "google/protobuf/duration.proto";
+import "google/protobuf/timestamp.proto";
+
+option go_package = "google.golang.org/genproto/googleapis/cloud/dataplex/v1;dataplex";
+option java_multiple_files = true;
+option java_outer_classname = "TasksProto";
+option java_package = "com.google.cloud.dataplex.v1";
+
+// A task represents a user-visible job.
+message Task {
+ option (google.api.resource) = {
+ type: "dataplex.googleapis.com/Task"
+ pattern: "projects/{project}/locations/{location}/lakes/{lake}/tasks/{task}"
+ };
+
+ // Configuration for the underlying infrastructure used to run workloads.
+ message InfrastructureSpec {
+ // Batch compute resources associated with the task.
+ message BatchComputeResources {
+ // Optional. Total number of job executors.
+ // Executor Count should be between 2 and 100. [Default=2]
+ int32 executors_count = 1 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. Max configurable executors.
+ // If max_executors_count > executors_count, then auto-scaling is enabled.
+ // Max Executor Count should be between 2 and 1000. [Default=1000]
+ int32 max_executors_count = 2 [(google.api.field_behavior) = OPTIONAL];
+ }
+
+ // Container Image Runtime Configuration used with Batch execution.
+ message ContainerImageRuntime {
+ // Optional. Container image to use.
+ string image = 1 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. A list of Java JARS to add to the classpath.
+ // Valid input includes Cloud Storage URIs to Jar binaries.
+ // For example, gs://bucket-name/my/path/to/file.jar
+ repeated string java_jars = 2 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. A list of python packages to be installed.
+ // Valid formats include Cloud Storage URI to a PIP installable library.
+ // For example, gs://bucket-name/my/path/to/lib.tar.gz
+ repeated string python_packages = 3 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. Override to common configuration of open source components installed on
+ // the Dataproc cluster.
+ // The properties to set on daemon config files.
+ // Property keys are specified in `prefix:property` format, for example
+ // `core:hadoop.tmp.dir`.
+ // For more information, see [Cluster
+ // properties](https://cloud.google.com/dataproc/docs/concepts/cluster-properties).
+ map properties = 4 [(google.api.field_behavior) = OPTIONAL];
+ }
+
+ // Cloud VPC Network used to run the infrastructure.
+ message VpcNetwork {
+ // The Cloud VPC network identifier.
+ oneof network_name {
+ // Optional. The Cloud VPC network in which the job is run. By default, the Cloud
+ // VPC network named Default within the project is used.
+ string network = 1 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. The Cloud VPC sub-network in which the job is run.
+ string sub_network = 2 [(google.api.field_behavior) = OPTIONAL];
+ }
+
+ // Optional. List of network tags to apply to the job.
+ repeated string network_tags = 3 [(google.api.field_behavior) = OPTIONAL];
+ }
+
+ // Hardware config.
+ oneof resources {
+ // Compute resources needed for a Task when using Dataproc Serverless.
+ BatchComputeResources batch = 52;
+ }
+
+ // Software config.
+ oneof runtime {
+ // Container Image Runtime Configuration.
+ ContainerImageRuntime container_image = 101;
+ }
+
+ // Networking config.
+ oneof network {
+ // Vpc network.
+ VpcNetwork vpc_network = 150;
+ }
+ }
+
+ // Task scheduling and trigger settings.
+ message TriggerSpec {
+ // Determines how often and when the job will run.
+ enum Type {
+ // Unspecified trigger type.
+ TYPE_UNSPECIFIED = 0;
+
+ // The task runs one-time shortly after Task Creation.
+ ON_DEMAND = 1;
+
+ // The task is scheduled to run periodically.
+ RECURRING = 2;
+ }
+
+ // Required. Immutable. Trigger type of the user-specified Task.
+ Type type = 5 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.field_behavior) = IMMUTABLE
+ ];
+
+ // Optional. The first run of the task will be after this time.
+ // If not specified, the task will run shortly after being submitted if
+ // ON_DEMAND and based on the schedule if RECURRING.
+ google.protobuf.Timestamp start_time = 6 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. Prevent the task from executing.
+ // This does not cancel already running tasks. It is intended to temporarily
+ // disable RECURRING tasks.
+ bool disabled = 4 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. Number of retry attempts before aborting.
+ // Set to zero to never attempt to retry a failed task.
+ int32 max_retries = 7 [(google.api.field_behavior) = OPTIONAL];
+
+ // Trigger only applies for RECURRING tasks.
+ oneof trigger {
+ // Optional. Cron schedule (https://en.wikipedia.org/wiki/Cron) for running
+ // tasks periodically.
+ // To explicitly set a timezone to the cron tab, apply a prefix in the
+ // cron tab: "CRON_TZ=${IANA_TIME_ZONE}" or "TZ=${IANA_TIME_ZONE}".
+ // The ${IANA_TIME_ZONE} may only be a valid string from IANA time zone
+ // database. For example, "CRON_TZ=America/New_York 1 * * * *", or
+ // "TZ=America/New_York 1 * * * *".
+ // This field is required for RECURRING tasks.
+ string schedule = 100 [(google.api.field_behavior) = OPTIONAL];
+ }
+ }
+
+ // Execution related settings, like retry and service_account.
+ message ExecutionSpec {
+ // Optional. The arguments to pass to the task.
+ // The args can use placeholders of the format ${placeholder} as
+ // part of key/value string. These will be interpolated before passing the
+ // args to the driver. Currently supported placeholders:
+ // - ${task_id}
+ // - ${job_time}
+ // To pass positional args, set the key as TASK_ARGS. The value should be a
+ // comma-separated string of all the positional arguments. To use a
+ // delimiter other than comma, refer to
+ // https://cloud.google.com/sdk/gcloud/reference/topic/escaping. In case of
+ // other keys being present in the args, then TASK_ARGS will be passed as
+ // the last argument.
+ map args = 4 [(google.api.field_behavior) = OPTIONAL];
+
+ // Required. Service account to use to execute a task.
+ // If not provided, the default Compute service account for the project is
+ // used.
+ string service_account = 5 [(google.api.field_behavior) = REQUIRED];
+
+ // Optional. The project in which jobs are run. By default, the project containing the
+ // Lake is used. If a project is provided, the
+ // [ExecutionSpec.service_account][google.cloud.dataplex.v1.Task.ExecutionSpec.service_account] must belong to this project.
+ string project = 7 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. The maximum duration after which the job execution is expired.
+ google.protobuf.Duration max_job_execution_lifetime = 8 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. The Cloud KMS key to use for encryption, of the form:
+ // `projects/{project_number}/locations/{location_id}/keyRings/{key-ring-name}/cryptoKeys/{key-name}`.
+ string kms_key = 9 [(google.api.field_behavior) = OPTIONAL];
+ }
+
+ // User-specified config for running a Spark task.
+ message SparkTaskConfig {
+ // Required. The specification of the main method to call to drive the
+ // job. Specify either the jar file that contains the main class or the
+ // main class name.
+ oneof driver {
+ // The Cloud Storage URI of the jar file that contains the main class.
+ // The execution args are passed in as a sequence of named process
+ // arguments (`--key=value`).
+ string main_jar_file_uri = 100;
+
+ // The name of the driver's main class. The jar file that contains the
+ // class must be in the default CLASSPATH or specified in
+ // `jar_file_uris`.
+ // The execution args are passed in as a sequence of named process
+ // arguments (`--key=value`).
+ string main_class = 101;
+
+ // The Gcloud Storage URI of the main Python file to use as the driver.
+ // Must be a .py file. The execution args are passed in as a sequence of
+ // named process arguments (`--key=value`).
+ string python_script_file = 102;
+
+ // A reference to a query file. This can be the Cloud Storage URI of the
+ // query file or it can the path to a SqlScript Content. The execution
+ // args are used to declare a set of script variables
+ // (`set key="value";`).
+ string sql_script_file = 104;
+
+ // The query text.
+ // The execution args are used to declare a set of script variables
+ // (`set key="value";`).
+ string sql_script = 105;
+ }
+
+ // Optional. Cloud Storage URIs of files to be placed in the working directory of each
+ // executor.
+ repeated string file_uris = 3 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. Cloud Storage URIs of archives to be extracted into the working directory
+ // of each executor. Supported file types: .jar, .tar, .tar.gz, .tgz, and
+ // .zip.
+ repeated string archive_uris = 4 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. Infrastructure specification for the execution.
+ InfrastructureSpec infrastructure_spec = 6 [(google.api.field_behavior) = OPTIONAL];
+ }
+
+ // Config for running scheduled notebooks.
+ message NotebookTaskConfig {
+ // Required. Path to input notebook. This can be the Cloud Storage URI of the notebook
+ // file or the path to a Notebook Content. The execution args are accessible
+ // as environment variables
+ // (`TASK_key=value`).
+ string notebook = 4 [(google.api.field_behavior) = REQUIRED];
+
+ // Optional. Infrastructure specification for the execution.
+ InfrastructureSpec infrastructure_spec = 3 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. Cloud Storage URIs of files to be placed in the working directory of each
+ // executor.
+ repeated string file_uris = 5 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. Cloud Storage URIs of archives to be extracted into the working directory
+ // of each executor. Supported file types: .jar, .tar, .tar.gz, .tgz, and
+ // .zip.
+ repeated string archive_uris = 6 [(google.api.field_behavior) = OPTIONAL];
+ }
+
+ // Status of the task execution (e.g. Jobs).
+ message ExecutionStatus {
+ // Output only. Last update time of the status.
+ google.protobuf.Timestamp update_time = 3 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Output only. latest job execution
+ Job latest_job = 9 [(google.api.field_behavior) = OUTPUT_ONLY];
+ }
+
+ // Output only. The relative resource name of the task, of the form:
+ // projects/{project_number}/locations/{location_id}/lakes/{lake_id}/
+ // tasks/{task_id}.
+ string name = 1 [
+ (google.api.field_behavior) = OUTPUT_ONLY,
+ (google.api.resource_reference) = {
+ type: "dataplex.googleapis.com/Task"
+ }
+ ];
+
+ // Output only. System generated globally unique ID for the task. This ID will be
+ // different if the task is deleted and re-created with the same name.
+ string uid = 2 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Output only. The time when the task was created.
+ google.protobuf.Timestamp create_time = 3 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Output only. The time when the task was last updated.
+ google.protobuf.Timestamp update_time = 4 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Optional. Description of the task.
+ string description = 5 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. User friendly display name.
+ string display_name = 6 [(google.api.field_behavior) = OPTIONAL];
+
+ // Output only. Current state of the task.
+ State state = 7 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Optional. User-defined labels for the task.
+ map labels = 8 [(google.api.field_behavior) = OPTIONAL];
+
+ // Required. Spec related to how often and when a task should be triggered.
+ TriggerSpec trigger_spec = 100 [(google.api.field_behavior) = REQUIRED];
+
+ // Required. Spec related to how a task is executed.
+ ExecutionSpec execution_spec = 101 [(google.api.field_behavior) = REQUIRED];
+
+ // Output only. Status of the latest task executions.
+ ExecutionStatus execution_status = 201 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Task template specific user-specified config.
+ oneof config {
+ // Config related to running custom Spark tasks.
+ SparkTaskConfig spark = 300;
+
+ // Config related to running scheduled Notebooks.
+ NotebookTaskConfig notebook = 302;
+ }
+}
+
+// A job represents an instance of a task.
+message Job {
+ option (google.api.resource) = {
+ type: "dataplex.googleapis.com/Job"
+ pattern: "projects/{project}/locations/{location}/lakes/{lake}/tasks/{task}/jobs/{job}"
+ };
+
+ enum Service {
+ // Service used to run the job is unspecified.
+ SERVICE_UNSPECIFIED = 0;
+
+ // Dataproc service is used to run this job.
+ DATAPROC = 1;
+ }
+
+ enum State {
+ // The job state is unknown.
+ STATE_UNSPECIFIED = 0;
+
+ // The job is running.
+ RUNNING = 1;
+
+ // The job is cancelling.
+ CANCELLING = 2;
+
+ // The job cancellation was successful.
+ CANCELLED = 3;
+
+ // The job completed successfully.
+ SUCCEEDED = 4;
+
+ // The job is no longer running due to an error.
+ FAILED = 5;
+
+ // The job was cancelled outside of Dataplex.
+ ABORTED = 6;
+ }
+
+ // Output only. The relative resource name of the job, of the form:
+ // `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/tasks/{task_id}/jobs/{job_id}`.
+ string name = 1 [
+ (google.api.field_behavior) = OUTPUT_ONLY,
+ (google.api.resource_reference) = {
+ type: "dataplex.googleapis.com/Job"
+ }
+ ];
+
+ // Output only. System generated globally unique ID for the job.
+ string uid = 2 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Output only. The time when the job was started.
+ google.protobuf.Timestamp start_time = 3 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Output only. The time when the job ended.
+ google.protobuf.Timestamp end_time = 4 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Output only. Execution state for the job.
+ State state = 5 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Output only. The number of times the job has been retried (excluding the
+ // initial attempt).
+ uint32 retry_count = 6 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Output only. The underlying service running a job.
+ Service service = 7 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Output only. The full resource name for the job run under a particular service.
+ string service_job = 8 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Output only. Additional information about the current state.
+ string message = 9 [(google.api.field_behavior) = OUTPUT_ONLY];
+}
diff --git a/packages/google-cloud-dataplex/protos/protos.d.ts b/packages/google-cloud-dataplex/protos/protos.d.ts
new file mode 100644
index 00000000000..99f6b00514f
--- /dev/null
+++ b/packages/google-cloud-dataplex/protos/protos.d.ts
@@ -0,0 +1,22745 @@
+// 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 dataplex. */
+ namespace dataplex {
+
+ /** Namespace v1. */
+ namespace v1 {
+
+ /** Properties of an Environment. */
+ interface IEnvironment {
+
+ /** Environment name */
+ name?: (string|null);
+
+ /** Environment displayName */
+ displayName?: (string|null);
+
+ /** Environment uid */
+ uid?: (string|null);
+
+ /** Environment createTime */
+ createTime?: (google.protobuf.ITimestamp|null);
+
+ /** Environment updateTime */
+ updateTime?: (google.protobuf.ITimestamp|null);
+
+ /** Environment labels */
+ labels?: ({ [k: string]: string }|null);
+
+ /** Environment description */
+ description?: (string|null);
+
+ /** Environment state */
+ state?: (google.cloud.dataplex.v1.State|keyof typeof google.cloud.dataplex.v1.State|null);
+
+ /** Environment infrastructureSpec */
+ infrastructureSpec?: (google.cloud.dataplex.v1.Environment.IInfrastructureSpec|null);
+
+ /** Environment sessionSpec */
+ sessionSpec?: (google.cloud.dataplex.v1.Environment.ISessionSpec|null);
+
+ /** Environment sessionStatus */
+ sessionStatus?: (google.cloud.dataplex.v1.Environment.ISessionStatus|null);
+
+ /** Environment endpoints */
+ endpoints?: (google.cloud.dataplex.v1.Environment.IEndpoints|null);
+ }
+
+ /** Represents an Environment. */
+ class Environment implements IEnvironment {
+
+ /**
+ * Constructs a new Environment.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.dataplex.v1.IEnvironment);
+
+ /** Environment name. */
+ public name: string;
+
+ /** Environment displayName. */
+ public displayName: string;
+
+ /** Environment uid. */
+ public uid: string;
+
+ /** Environment createTime. */
+ public createTime?: (google.protobuf.ITimestamp|null);
+
+ /** Environment updateTime. */
+ public updateTime?: (google.protobuf.ITimestamp|null);
+
+ /** Environment labels. */
+ public labels: { [k: string]: string };
+
+ /** Environment description. */
+ public description: string;
+
+ /** Environment state. */
+ public state: (google.cloud.dataplex.v1.State|keyof typeof google.cloud.dataplex.v1.State);
+
+ /** Environment infrastructureSpec. */
+ public infrastructureSpec?: (google.cloud.dataplex.v1.Environment.IInfrastructureSpec|null);
+
+ /** Environment sessionSpec. */
+ public sessionSpec?: (google.cloud.dataplex.v1.Environment.ISessionSpec|null);
+
+ /** Environment sessionStatus. */
+ public sessionStatus?: (google.cloud.dataplex.v1.Environment.ISessionStatus|null);
+
+ /** Environment endpoints. */
+ public endpoints?: (google.cloud.dataplex.v1.Environment.IEndpoints|null);
+
+ /**
+ * Creates a new Environment instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns Environment instance
+ */
+ public static create(properties?: google.cloud.dataplex.v1.IEnvironment): google.cloud.dataplex.v1.Environment;
+
+ /**
+ * Encodes the specified Environment message. Does not implicitly {@link google.cloud.dataplex.v1.Environment.verify|verify} messages.
+ * @param message Environment message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.dataplex.v1.IEnvironment, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified Environment message, length delimited. Does not implicitly {@link google.cloud.dataplex.v1.Environment.verify|verify} messages.
+ * @param message Environment message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.dataplex.v1.IEnvironment, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an Environment message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns Environment
+ * @throws {Error} If the payload is not 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.dataplex.v1.Environment;
+
+ /**
+ * Decodes an Environment message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns Environment
+ * @throws {Error} If the payload 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.dataplex.v1.Environment;
+
+ /**
+ * Verifies an Environment message.
+ * @param message Plain 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 Environment message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns Environment
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.dataplex.v1.Environment;
+
+ /**
+ * Creates a plain object from an Environment message. Also converts values to other types if specified.
+ * @param message Environment
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.dataplex.v1.Environment, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this Environment to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for Environment
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace Environment {
+
+ /** Properties of an InfrastructureSpec. */
+ interface IInfrastructureSpec {
+
+ /** InfrastructureSpec compute */
+ compute?: (google.cloud.dataplex.v1.Environment.InfrastructureSpec.IComputeResources|null);
+
+ /** InfrastructureSpec osImage */
+ osImage?: (google.cloud.dataplex.v1.Environment.InfrastructureSpec.IOsImageRuntime|null);
+ }
+
+ /** Represents an InfrastructureSpec. */
+ class InfrastructureSpec implements IInfrastructureSpec {
+
+ /**
+ * Constructs a new InfrastructureSpec.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.dataplex.v1.Environment.IInfrastructureSpec);
+
+ /** InfrastructureSpec compute. */
+ public compute?: (google.cloud.dataplex.v1.Environment.InfrastructureSpec.IComputeResources|null);
+
+ /** InfrastructureSpec osImage. */
+ public osImage?: (google.cloud.dataplex.v1.Environment.InfrastructureSpec.IOsImageRuntime|null);
+
+ /** InfrastructureSpec resources. */
+ public resources?: "compute";
+
+ /** InfrastructureSpec runtime. */
+ public runtime?: "osImage";
+
+ /**
+ * Creates a new InfrastructureSpec instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns InfrastructureSpec instance
+ */
+ public static create(properties?: google.cloud.dataplex.v1.Environment.IInfrastructureSpec): google.cloud.dataplex.v1.Environment.InfrastructureSpec;
+
+ /**
+ * Encodes the specified InfrastructureSpec message. Does not implicitly {@link google.cloud.dataplex.v1.Environment.InfrastructureSpec.verify|verify} messages.
+ * @param message InfrastructureSpec message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.dataplex.v1.Environment.IInfrastructureSpec, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified InfrastructureSpec message, length delimited. Does not implicitly {@link google.cloud.dataplex.v1.Environment.InfrastructureSpec.verify|verify} messages.
+ * @param message InfrastructureSpec message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.dataplex.v1.Environment.IInfrastructureSpec, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an InfrastructureSpec message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns InfrastructureSpec
+ * @throws {Error} If the payload is not 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.dataplex.v1.Environment.InfrastructureSpec;
+
+ /**
+ * Decodes an InfrastructureSpec message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns InfrastructureSpec
+ * @throws {Error} If the payload 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.dataplex.v1.Environment.InfrastructureSpec;
+
+ /**
+ * Verifies an InfrastructureSpec message.
+ * @param message Plain 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 InfrastructureSpec message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns InfrastructureSpec
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.dataplex.v1.Environment.InfrastructureSpec;
+
+ /**
+ * Creates a plain object from an InfrastructureSpec message. Also converts values to other types if specified.
+ * @param message InfrastructureSpec
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.dataplex.v1.Environment.InfrastructureSpec, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this InfrastructureSpec to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for InfrastructureSpec
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace InfrastructureSpec {
+
+ /** Properties of a ComputeResources. */
+ interface IComputeResources {
+
+ /** ComputeResources diskSizeGb */
+ diskSizeGb?: (number|null);
+
+ /** ComputeResources nodeCount */
+ nodeCount?: (number|null);
+
+ /** ComputeResources maxNodeCount */
+ maxNodeCount?: (number|null);
+ }
+
+ /** Represents a ComputeResources. */
+ class ComputeResources implements IComputeResources {
+
+ /**
+ * Constructs a new ComputeResources.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.dataplex.v1.Environment.InfrastructureSpec.IComputeResources);
+
+ /** ComputeResources diskSizeGb. */
+ public diskSizeGb: number;
+
+ /** ComputeResources nodeCount. */
+ public nodeCount: number;
+
+ /** ComputeResources maxNodeCount. */
+ public maxNodeCount: number;
+
+ /**
+ * Creates a new ComputeResources instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ComputeResources instance
+ */
+ public static create(properties?: google.cloud.dataplex.v1.Environment.InfrastructureSpec.IComputeResources): google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources;
+
+ /**
+ * Encodes the specified ComputeResources message. Does not implicitly {@link google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources.verify|verify} messages.
+ * @param message ComputeResources message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.dataplex.v1.Environment.InfrastructureSpec.IComputeResources, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ComputeResources message, length delimited. Does not implicitly {@link google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources.verify|verify} messages.
+ * @param message ComputeResources message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.dataplex.v1.Environment.InfrastructureSpec.IComputeResources, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ComputeResources message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ComputeResources
+ * @throws {Error} If the payload is not 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.dataplex.v1.Environment.InfrastructureSpec.ComputeResources;
+
+ /**
+ * Decodes a ComputeResources message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ComputeResources
+ * @throws {Error} If the payload 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.dataplex.v1.Environment.InfrastructureSpec.ComputeResources;
+
+ /**
+ * Verifies a ComputeResources message.
+ * @param message Plain 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 ComputeResources message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ComputeResources
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources;
+
+ /**
+ * Creates a plain object from a ComputeResources message. Also converts values to other types if specified.
+ * @param message ComputeResources
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ComputeResources to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ComputeResources
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of an OsImageRuntime. */
+ interface IOsImageRuntime {
+
+ /** OsImageRuntime imageVersion */
+ imageVersion?: (string|null);
+
+ /** OsImageRuntime javaLibraries */
+ javaLibraries?: (string[]|null);
+
+ /** OsImageRuntime pythonPackages */
+ pythonPackages?: (string[]|null);
+
+ /** OsImageRuntime properties */
+ properties?: ({ [k: string]: string }|null);
+ }
+
+ /** Represents an OsImageRuntime. */
+ class OsImageRuntime implements IOsImageRuntime {
+
+ /**
+ * Constructs a new OsImageRuntime.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.dataplex.v1.Environment.InfrastructureSpec.IOsImageRuntime);
+
+ /** OsImageRuntime imageVersion. */
+ public imageVersion: string;
+
+ /** OsImageRuntime javaLibraries. */
+ public javaLibraries: string[];
+
+ /** OsImageRuntime pythonPackages. */
+ public pythonPackages: string[];
+
+ /** OsImageRuntime properties. */
+ public properties: { [k: string]: string };
+
+ /**
+ * Creates a new OsImageRuntime instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns OsImageRuntime instance
+ */
+ public static create(properties?: google.cloud.dataplex.v1.Environment.InfrastructureSpec.IOsImageRuntime): google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime;
+
+ /**
+ * Encodes the specified OsImageRuntime message. Does not implicitly {@link google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime.verify|verify} messages.
+ * @param message OsImageRuntime message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.dataplex.v1.Environment.InfrastructureSpec.IOsImageRuntime, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified OsImageRuntime message, length delimited. Does not implicitly {@link google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime.verify|verify} messages.
+ * @param message OsImageRuntime message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.dataplex.v1.Environment.InfrastructureSpec.IOsImageRuntime, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an OsImageRuntime message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns OsImageRuntime
+ * @throws {Error} If the payload is not 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.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime;
+
+ /**
+ * Decodes an OsImageRuntime message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns OsImageRuntime
+ * @throws {Error} If the payload 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.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime;
+
+ /**
+ * Verifies an OsImageRuntime message.
+ * @param message Plain 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 OsImageRuntime message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns OsImageRuntime
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime;
+
+ /**
+ * Creates a plain object from an OsImageRuntime message. Also converts values to other types if specified.
+ * @param message OsImageRuntime
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this OsImageRuntime to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for OsImageRuntime
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+ }
+
+ /** Properties of a SessionSpec. */
+ interface ISessionSpec {
+
+ /** SessionSpec maxIdleDuration */
+ maxIdleDuration?: (google.protobuf.IDuration|null);
+
+ /** SessionSpec enableFastStartup */
+ enableFastStartup?: (boolean|null);
+ }
+
+ /** Represents a SessionSpec. */
+ class SessionSpec implements ISessionSpec {
+
+ /**
+ * Constructs a new SessionSpec.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.dataplex.v1.Environment.ISessionSpec);
+
+ /** SessionSpec maxIdleDuration. */
+ public maxIdleDuration?: (google.protobuf.IDuration|null);
+
+ /** SessionSpec enableFastStartup. */
+ public enableFastStartup: boolean;
+
+ /**
+ * Creates a new SessionSpec instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns SessionSpec instance
+ */
+ public static create(properties?: google.cloud.dataplex.v1.Environment.ISessionSpec): google.cloud.dataplex.v1.Environment.SessionSpec;
+
+ /**
+ * Encodes the specified SessionSpec message. Does not implicitly {@link google.cloud.dataplex.v1.Environment.SessionSpec.verify|verify} messages.
+ * @param message SessionSpec message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.dataplex.v1.Environment.ISessionSpec, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified SessionSpec message, length delimited. Does not implicitly {@link google.cloud.dataplex.v1.Environment.SessionSpec.verify|verify} messages.
+ * @param message SessionSpec message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.dataplex.v1.Environment.ISessionSpec, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a SessionSpec message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns SessionSpec
+ * @throws {Error} If the payload is not 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.dataplex.v1.Environment.SessionSpec;
+
+ /**
+ * Decodes a SessionSpec message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns SessionSpec
+ * @throws {Error} If the payload 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.dataplex.v1.Environment.SessionSpec;
+
+ /**
+ * Verifies a SessionSpec message.
+ * @param message Plain 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 SessionSpec message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns SessionSpec
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.dataplex.v1.Environment.SessionSpec;
+
+ /**
+ * Creates a plain object from a SessionSpec message. Also converts values to other types if specified.
+ * @param message SessionSpec
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.dataplex.v1.Environment.SessionSpec, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this SessionSpec to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for SessionSpec
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a SessionStatus. */
+ interface ISessionStatus {
+
+ /** SessionStatus active */
+ active?: (boolean|null);
+ }
+
+ /** Represents a SessionStatus. */
+ class SessionStatus implements ISessionStatus {
+
+ /**
+ * Constructs a new SessionStatus.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.dataplex.v1.Environment.ISessionStatus);
+
+ /** SessionStatus active. */
+ public active: boolean;
+
+ /**
+ * Creates a new SessionStatus instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns SessionStatus instance
+ */
+ public static create(properties?: google.cloud.dataplex.v1.Environment.ISessionStatus): google.cloud.dataplex.v1.Environment.SessionStatus;
+
+ /**
+ * Encodes the specified SessionStatus message. Does not implicitly {@link google.cloud.dataplex.v1.Environment.SessionStatus.verify|verify} messages.
+ * @param message SessionStatus message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.dataplex.v1.Environment.ISessionStatus, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified SessionStatus message, length delimited. Does not implicitly {@link google.cloud.dataplex.v1.Environment.SessionStatus.verify|verify} messages.
+ * @param message SessionStatus message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.dataplex.v1.Environment.ISessionStatus, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a SessionStatus message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns SessionStatus
+ * @throws {Error} If the payload is not 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.dataplex.v1.Environment.SessionStatus;
+
+ /**
+ * Decodes a SessionStatus message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns SessionStatus
+ * @throws {Error} If the payload 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.dataplex.v1.Environment.SessionStatus;
+
+ /**
+ * Verifies a SessionStatus message.
+ * @param message Plain 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 SessionStatus message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns SessionStatus
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.dataplex.v1.Environment.SessionStatus;
+
+ /**
+ * Creates a plain object from a SessionStatus message. Also converts values to other types if specified.
+ * @param message SessionStatus
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.dataplex.v1.Environment.SessionStatus, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this SessionStatus to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for SessionStatus
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of an Endpoints. */
+ interface IEndpoints {
+
+ /** Endpoints notebooks */
+ notebooks?: (string|null);
+
+ /** Endpoints sql */
+ sql?: (string|null);
+ }
+
+ /** Represents an Endpoints. */
+ class Endpoints implements IEndpoints {
+
+ /**
+ * Constructs a new Endpoints.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.dataplex.v1.Environment.IEndpoints);
+
+ /** Endpoints notebooks. */
+ public notebooks: string;
+
+ /** Endpoints sql. */
+ public sql: string;
+
+ /**
+ * Creates a new Endpoints instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns Endpoints instance
+ */
+ public static create(properties?: google.cloud.dataplex.v1.Environment.IEndpoints): google.cloud.dataplex.v1.Environment.Endpoints;
+
+ /**
+ * Encodes the specified Endpoints message. Does not implicitly {@link google.cloud.dataplex.v1.Environment.Endpoints.verify|verify} messages.
+ * @param message Endpoints message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.dataplex.v1.Environment.IEndpoints, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified Endpoints message, length delimited. Does not implicitly {@link google.cloud.dataplex.v1.Environment.Endpoints.verify|verify} messages.
+ * @param message Endpoints message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.dataplex.v1.Environment.IEndpoints, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an Endpoints message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns Endpoints
+ * @throws {Error} If the payload is not 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.dataplex.v1.Environment.Endpoints;
+
+ /**
+ * Decodes an Endpoints message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns Endpoints
+ * @throws {Error} If the payload 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.dataplex.v1.Environment.Endpoints;
+
+ /**
+ * Verifies an Endpoints message.
+ * @param message Plain 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 Endpoints message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns Endpoints
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.dataplex.v1.Environment.Endpoints;
+
+ /**
+ * Creates a plain object from an Endpoints message. Also converts values to other types if specified.
+ * @param message Endpoints
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.dataplex.v1.Environment.Endpoints, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this Endpoints to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for Endpoints
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+ }
+
+ /** Properties of a Content. */
+ interface IContent {
+
+ /** Content name */
+ name?: (string|null);
+
+ /** Content uid */
+ uid?: (string|null);
+
+ /** Content path */
+ path?: (string|null);
+
+ /** Content createTime */
+ createTime?: (google.protobuf.ITimestamp|null);
+
+ /** Content updateTime */
+ updateTime?: (google.protobuf.ITimestamp|null);
+
+ /** Content labels */
+ labels?: ({ [k: string]: string }|null);
+
+ /** Content description */
+ description?: (string|null);
+
+ /** Content dataText */
+ dataText?: (string|null);
+
+ /** Content sqlScript */
+ sqlScript?: (google.cloud.dataplex.v1.Content.ISqlScript|null);
+
+ /** Content notebook */
+ notebook?: (google.cloud.dataplex.v1.Content.INotebook|null);
+ }
+
+ /** Represents a Content. */
+ class Content implements IContent {
+
+ /**
+ * Constructs a new Content.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.dataplex.v1.IContent);
+
+ /** Content name. */
+ public name: string;
+
+ /** Content uid. */
+ public uid: string;
+
+ /** Content path. */
+ public path: string;
+
+ /** Content createTime. */
+ public createTime?: (google.protobuf.ITimestamp|null);
+
+ /** Content updateTime. */
+ public updateTime?: (google.protobuf.ITimestamp|null);
+
+ /** Content labels. */
+ public labels: { [k: string]: string };
+
+ /** Content description. */
+ public description: string;
+
+ /** Content dataText. */
+ public dataText?: (string|null);
+
+ /** Content sqlScript. */
+ public sqlScript?: (google.cloud.dataplex.v1.Content.ISqlScript|null);
+
+ /** Content notebook. */
+ public notebook?: (google.cloud.dataplex.v1.Content.INotebook|null);
+
+ /** Content data. */
+ public data?: "dataText";
+
+ /** Content content. */
+ public content?: ("sqlScript"|"notebook");
+
+ /**
+ * Creates a new Content instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns Content instance
+ */
+ public static create(properties?: google.cloud.dataplex.v1.IContent): google.cloud.dataplex.v1.Content;
+
+ /**
+ * Encodes the specified Content message. Does not implicitly {@link google.cloud.dataplex.v1.Content.verify|verify} messages.
+ * @param message Content message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.dataplex.v1.IContent, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified Content message, length delimited. Does not implicitly {@link google.cloud.dataplex.v1.Content.verify|verify} messages.
+ * @param message Content message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.dataplex.v1.IContent, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a Content message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns Content
+ * @throws {Error} If the payload is not 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.dataplex.v1.Content;
+
+ /**
+ * Decodes a Content message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns Content
+ * @throws {Error} If the payload 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.dataplex.v1.Content;
+
+ /**
+ * Verifies a Content message.
+ * @param message Plain 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 Content message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns Content
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.dataplex.v1.Content;
+
+ /**
+ * Creates a plain object from a Content message. Also converts values to other types if specified.
+ * @param message Content
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.dataplex.v1.Content, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this Content to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for Content
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace Content {
+
+ /** Properties of a SqlScript. */
+ interface ISqlScript {
+
+ /** SqlScript engine */
+ engine?: (google.cloud.dataplex.v1.Content.SqlScript.QueryEngine|keyof typeof google.cloud.dataplex.v1.Content.SqlScript.QueryEngine|null);
+ }
+
+ /** Represents a SqlScript. */
+ class SqlScript implements ISqlScript {
+
+ /**
+ * Constructs a new SqlScript.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.dataplex.v1.Content.ISqlScript);
+
+ /** SqlScript engine. */
+ public engine: (google.cloud.dataplex.v1.Content.SqlScript.QueryEngine|keyof typeof google.cloud.dataplex.v1.Content.SqlScript.QueryEngine);
+
+ /**
+ * Creates a new SqlScript instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns SqlScript instance
+ */
+ public static create(properties?: google.cloud.dataplex.v1.Content.ISqlScript): google.cloud.dataplex.v1.Content.SqlScript;
+
+ /**
+ * Encodes the specified SqlScript message. Does not implicitly {@link google.cloud.dataplex.v1.Content.SqlScript.verify|verify} messages.
+ * @param message SqlScript message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.dataplex.v1.Content.ISqlScript, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified SqlScript message, length delimited. Does not implicitly {@link google.cloud.dataplex.v1.Content.SqlScript.verify|verify} messages.
+ * @param message SqlScript message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.dataplex.v1.Content.ISqlScript, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a SqlScript message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns SqlScript
+ * @throws {Error} If the payload is not 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.dataplex.v1.Content.SqlScript;
+
+ /**
+ * Decodes a SqlScript message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns SqlScript
+ * @throws {Error} If the payload 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.dataplex.v1.Content.SqlScript;
+
+ /**
+ * Verifies a SqlScript message.
+ * @param message Plain 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 SqlScript message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns SqlScript
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.dataplex.v1.Content.SqlScript;
+
+ /**
+ * Creates a plain object from a SqlScript message. Also converts values to other types if specified.
+ * @param message SqlScript
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.dataplex.v1.Content.SqlScript, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this SqlScript to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for SqlScript
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace SqlScript {
+
+ /** QueryEngine enum. */
+ enum QueryEngine {
+ QUERY_ENGINE_UNSPECIFIED = 0,
+ SPARK = 2
+ }
+ }
+
+ /** Properties of a Notebook. */
+ interface INotebook {
+
+ /** Notebook kernelType */
+ kernelType?: (google.cloud.dataplex.v1.Content.Notebook.KernelType|keyof typeof google.cloud.dataplex.v1.Content.Notebook.KernelType|null);
+ }
+
+ /** Represents a Notebook. */
+ class Notebook implements INotebook {
+
+ /**
+ * Constructs a new Notebook.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.dataplex.v1.Content.INotebook);
+
+ /** Notebook kernelType. */
+ public kernelType: (google.cloud.dataplex.v1.Content.Notebook.KernelType|keyof typeof google.cloud.dataplex.v1.Content.Notebook.KernelType);
+
+ /**
+ * Creates a new Notebook instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns Notebook instance
+ */
+ public static create(properties?: google.cloud.dataplex.v1.Content.INotebook): google.cloud.dataplex.v1.Content.Notebook;
+
+ /**
+ * Encodes the specified Notebook message. Does not implicitly {@link google.cloud.dataplex.v1.Content.Notebook.verify|verify} messages.
+ * @param message Notebook message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.dataplex.v1.Content.INotebook, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified Notebook message, length delimited. Does not implicitly {@link google.cloud.dataplex.v1.Content.Notebook.verify|verify} messages.
+ * @param message Notebook message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.dataplex.v1.Content.INotebook, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a Notebook message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns Notebook
+ * @throws {Error} If the payload is not 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.dataplex.v1.Content.Notebook;
+
+ /**
+ * Decodes a Notebook message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns Notebook
+ * @throws {Error} If the payload 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.dataplex.v1.Content.Notebook;
+
+ /**
+ * Verifies a Notebook message.
+ * @param message Plain 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 Notebook message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns Notebook
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.dataplex.v1.Content.Notebook;
+
+ /**
+ * Creates a plain object from a Notebook message. Also converts values to other types if specified.
+ * @param message Notebook
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.dataplex.v1.Content.Notebook, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this Notebook to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for Notebook
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace Notebook {
+
+ /** KernelType enum. */
+ enum KernelType {
+ KERNEL_TYPE_UNSPECIFIED = 0,
+ PYTHON3 = 1
+ }
+ }
+ }
+
+ /** Properties of a Session. */
+ interface ISession {
+
+ /** Session name */
+ name?: (string|null);
+
+ /** Session userId */
+ userId?: (string|null);
+
+ /** Session createTime */
+ createTime?: (google.protobuf.ITimestamp|null);
+
+ /** Session state */
+ state?: (google.cloud.dataplex.v1.State|keyof typeof google.cloud.dataplex.v1.State|null);
+ }
+
+ /** Represents a Session. */
+ class Session implements ISession {
+
+ /**
+ * Constructs a new Session.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.dataplex.v1.ISession);
+
+ /** Session name. */
+ public name: string;
+
+ /** Session userId. */
+ public userId: string;
+
+ /** Session createTime. */
+ public createTime?: (google.protobuf.ITimestamp|null);
+
+ /** Session state. */
+ public state: (google.cloud.dataplex.v1.State|keyof typeof google.cloud.dataplex.v1.State);
+
+ /**
+ * Creates a new Session instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns Session instance
+ */
+ public static create(properties?: google.cloud.dataplex.v1.ISession): google.cloud.dataplex.v1.Session;
+
+ /**
+ * Encodes the specified Session message. Does not implicitly {@link google.cloud.dataplex.v1.Session.verify|verify} messages.
+ * @param message Session message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.dataplex.v1.ISession, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified Session message, length delimited. Does not implicitly {@link google.cloud.dataplex.v1.Session.verify|verify} messages.
+ * @param message Session message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.dataplex.v1.ISession, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a Session message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns Session
+ * @throws {Error} If the payload is not 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.dataplex.v1.Session;
+
+ /**
+ * Decodes a Session message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns Session
+ * @throws {Error} If the payload 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.dataplex.v1.Session;
+
+ /**
+ * Verifies a Session message.
+ * @param message Plain 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 Session message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns Session
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.dataplex.v1.Session;
+
+ /**
+ * Creates a plain object from a Session message. Also converts values to other types if specified.
+ * @param message Session
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.dataplex.v1.Session, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this Session to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for Session
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a Lake. */
+ interface ILake {
+
+ /** Lake name */
+ name?: (string|null);
+
+ /** Lake displayName */
+ displayName?: (string|null);
+
+ /** Lake uid */
+ uid?: (string|null);
+
+ /** Lake createTime */
+ createTime?: (google.protobuf.ITimestamp|null);
+
+ /** Lake updateTime */
+ updateTime?: (google.protobuf.ITimestamp|null);
+
+ /** Lake labels */
+ labels?: ({ [k: string]: string }|null);
+
+ /** Lake description */
+ description?: (string|null);
+
+ /** Lake state */
+ state?: (google.cloud.dataplex.v1.Lake.MetastoreStatus.State|keyof typeof google.cloud.dataplex.v1.Lake.MetastoreStatus.State|null);
+
+ /** Lake serviceAccount */
+ serviceAccount?: (string|null);
+
+ /** Lake metastore */
+ metastore?: (google.cloud.dataplex.v1.Lake.IMetastore|null);
+
+ /** Lake assetStatus */
+ assetStatus?: (google.cloud.dataplex.v1.IAssetStatus|null);
+
+ /** Lake metastoreStatus */
+ metastoreStatus?: (google.cloud.dataplex.v1.Lake.IMetastoreStatus|null);
+ }
+
+ /** Represents a Lake. */
+ class Lake implements ILake {
+
+ /**
+ * Constructs a new Lake.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.dataplex.v1.ILake);
+
+ /** Lake name. */
+ public name: string;
+
+ /** Lake displayName. */
+ public displayName: string;
+
+ /** Lake uid. */
+ public uid: string;
+
+ /** Lake createTime. */
+ public createTime?: (google.protobuf.ITimestamp|null);
+
+ /** Lake updateTime. */
+ public updateTime?: (google.protobuf.ITimestamp|null);
+
+ /** Lake labels. */
+ public labels: { [k: string]: string };
+
+ /** Lake description. */
+ public description: string;
+
+ /** Lake state. */
+ public state: (google.cloud.dataplex.v1.Lake.MetastoreStatus.State|keyof typeof google.cloud.dataplex.v1.Lake.MetastoreStatus.State);
+
+ /** Lake serviceAccount. */
+ public serviceAccount: string;
+
+ /** Lake metastore. */
+ public metastore?: (google.cloud.dataplex.v1.Lake.IMetastore|null);
+
+ /** Lake assetStatus. */
+ public assetStatus?: (google.cloud.dataplex.v1.IAssetStatus|null);
+
+ /** Lake metastoreStatus. */
+ public metastoreStatus?: (google.cloud.dataplex.v1.Lake.IMetastoreStatus|null);
+
+ /**
+ * Creates a new Lake instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns Lake instance
+ */
+ public static create(properties?: google.cloud.dataplex.v1.ILake): google.cloud.dataplex.v1.Lake;
+
+ /**
+ * Encodes the specified Lake message. Does not implicitly {@link google.cloud.dataplex.v1.Lake.verify|verify} messages.
+ * @param message Lake message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.dataplex.v1.ILake, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified Lake message, length delimited. Does not implicitly {@link google.cloud.dataplex.v1.Lake.verify|verify} messages.
+ * @param message Lake message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.dataplex.v1.ILake, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a Lake message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns Lake
+ * @throws {Error} If the payload is not 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.dataplex.v1.Lake;
+
+ /**
+ * Decodes a Lake message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns Lake
+ * @throws {Error} If the payload 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.dataplex.v1.Lake;
+
+ /**
+ * Verifies a Lake message.
+ * @param message Plain 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 Lake message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns Lake
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.dataplex.v1.Lake;
+
+ /**
+ * Creates a plain object from a Lake message. Also converts values to other types if specified.
+ * @param message Lake
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.dataplex.v1.Lake, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this Lake to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for Lake
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace Lake {
+
+ /** Properties of a Metastore. */
+ interface IMetastore {
+
+ /** Metastore service */
+ service?: (string|null);
+ }
+
+ /** Represents a Metastore. */
+ class Metastore implements IMetastore {
+
+ /**
+ * Constructs a new Metastore.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.dataplex.v1.Lake.IMetastore);
+
+ /** Metastore service. */
+ public service: string;
+
+ /**
+ * Creates a new Metastore instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns Metastore instance
+ */
+ public static create(properties?: google.cloud.dataplex.v1.Lake.IMetastore): google.cloud.dataplex.v1.Lake.Metastore;
+
+ /**
+ * Encodes the specified Metastore message. Does not implicitly {@link google.cloud.dataplex.v1.Lake.Metastore.verify|verify} messages.
+ * @param message Metastore message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.dataplex.v1.Lake.IMetastore, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified Metastore message, length delimited. Does not implicitly {@link google.cloud.dataplex.v1.Lake.Metastore.verify|verify} messages.
+ * @param message Metastore message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.dataplex.v1.Lake.IMetastore, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a Metastore message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns Metastore
+ * @throws {Error} If the payload is not 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.dataplex.v1.Lake.Metastore;
+
+ /**
+ * Decodes a Metastore message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns Metastore
+ * @throws {Error} If the payload 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.dataplex.v1.Lake.Metastore;
+
+ /**
+ * Verifies a Metastore message.
+ * @param message Plain 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 Metastore message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns Metastore
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.dataplex.v1.Lake.Metastore;
+
+ /**
+ * Creates a plain object from a Metastore message. Also converts values to other types if specified.
+ * @param message Metastore
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.dataplex.v1.Lake.Metastore, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this Metastore to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for Metastore
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a MetastoreStatus. */
+ interface IMetastoreStatus {
+
+ /** MetastoreStatus state */
+ state?: (google.cloud.dataplex.v1.Lake.MetastoreStatus.State|keyof typeof google.cloud.dataplex.v1.Lake.MetastoreStatus.State|null);
+
+ /** MetastoreStatus message */
+ message?: (string|null);
+
+ /** MetastoreStatus updateTime */
+ updateTime?: (google.protobuf.ITimestamp|null);
+
+ /** MetastoreStatus endpoint */
+ endpoint?: (string|null);
+ }
+
+ /** Represents a MetastoreStatus. */
+ class MetastoreStatus implements IMetastoreStatus {
+
+ /**
+ * Constructs a new MetastoreStatus.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.dataplex.v1.Lake.IMetastoreStatus);
+
+ /** MetastoreStatus state. */
+ public state: (google.cloud.dataplex.v1.Lake.MetastoreStatus.State|keyof typeof google.cloud.dataplex.v1.Lake.MetastoreStatus.State);
+
+ /** MetastoreStatus message. */
+ public message: string;
+
+ /** MetastoreStatus updateTime. */
+ public updateTime?: (google.protobuf.ITimestamp|null);
+
+ /** MetastoreStatus endpoint. */
+ public endpoint: string;
+
+ /**
+ * Creates a new MetastoreStatus instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns MetastoreStatus instance
+ */
+ public static create(properties?: google.cloud.dataplex.v1.Lake.IMetastoreStatus): google.cloud.dataplex.v1.Lake.MetastoreStatus;
+
+ /**
+ * Encodes the specified MetastoreStatus message. Does not implicitly {@link google.cloud.dataplex.v1.Lake.MetastoreStatus.verify|verify} messages.
+ * @param message MetastoreStatus message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.dataplex.v1.Lake.IMetastoreStatus, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified MetastoreStatus message, length delimited. Does not implicitly {@link google.cloud.dataplex.v1.Lake.MetastoreStatus.verify|verify} messages.
+ * @param message MetastoreStatus message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.dataplex.v1.Lake.IMetastoreStatus, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a MetastoreStatus message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns MetastoreStatus
+ * @throws {Error} If the payload is not 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.dataplex.v1.Lake.MetastoreStatus;
+
+ /**
+ * Decodes a MetastoreStatus message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns MetastoreStatus
+ * @throws {Error} If the payload 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.dataplex.v1.Lake.MetastoreStatus;
+
+ /**
+ * Verifies a MetastoreStatus message.
+ * @param message Plain 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 MetastoreStatus message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns MetastoreStatus
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.dataplex.v1.Lake.MetastoreStatus;
+
+ /**
+ * Creates a plain object from a MetastoreStatus message. Also converts values to other types if specified.
+ * @param message MetastoreStatus
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.dataplex.v1.Lake.MetastoreStatus, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this MetastoreStatus to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for MetastoreStatus
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace MetastoreStatus {
+
+ /** State enum. */
+ enum State {
+ STATE_UNSPECIFIED = 0,
+ NONE = 1,
+ READY = 2,
+ UPDATING = 3,
+ ERROR = 4
+ }
+ }
+ }
+
+ /** Properties of an AssetStatus. */
+ interface IAssetStatus {
+
+ /** AssetStatus updateTime */
+ updateTime?: (google.protobuf.ITimestamp|null);
+
+ /** AssetStatus activeAssets */
+ activeAssets?: (number|null);
+
+ /** AssetStatus securityPolicyApplyingAssets */
+ securityPolicyApplyingAssets?: (number|null);
+ }
+
+ /** Represents an AssetStatus. */
+ class AssetStatus implements IAssetStatus {
+
+ /**
+ * Constructs a new AssetStatus.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.dataplex.v1.IAssetStatus);
+
+ /** AssetStatus updateTime. */
+ public updateTime?: (google.protobuf.ITimestamp|null);
+
+ /** AssetStatus activeAssets. */
+ public activeAssets: number;
+
+ /** AssetStatus securityPolicyApplyingAssets. */
+ public securityPolicyApplyingAssets: number;
+
+ /**
+ * Creates a new AssetStatus instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns AssetStatus instance
+ */
+ public static create(properties?: google.cloud.dataplex.v1.IAssetStatus): google.cloud.dataplex.v1.AssetStatus;
+
+ /**
+ * Encodes the specified AssetStatus message. Does not implicitly {@link google.cloud.dataplex.v1.AssetStatus.verify|verify} messages.
+ * @param message AssetStatus message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.dataplex.v1.IAssetStatus, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified AssetStatus message, length delimited. Does not implicitly {@link google.cloud.dataplex.v1.AssetStatus.verify|verify} messages.
+ * @param message AssetStatus message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.dataplex.v1.IAssetStatus, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an AssetStatus message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns AssetStatus
+ * @throws {Error} If the payload is not 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.dataplex.v1.AssetStatus;
+
+ /**
+ * Decodes an AssetStatus message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns AssetStatus
+ * @throws {Error} If the payload 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.dataplex.v1.AssetStatus;
+
+ /**
+ * Verifies an AssetStatus message.
+ * @param message Plain 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 AssetStatus message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns AssetStatus
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.dataplex.v1.AssetStatus;
+
+ /**
+ * Creates a plain object from an AssetStatus message. Also converts values to other types if specified.
+ * @param message AssetStatus
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.dataplex.v1.AssetStatus, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this AssetStatus to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for AssetStatus
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a Zone. */
+ interface IZone {
+
+ /** Zone name */
+ name?: (string|null);
+
+ /** Zone displayName */
+ displayName?: (string|null);
+
+ /** Zone uid */
+ uid?: (string|null);
+
+ /** Zone createTime */
+ createTime?: (google.protobuf.ITimestamp|null);
+
+ /** Zone updateTime */
+ updateTime?: (google.protobuf.ITimestamp|null);
+
+ /** Zone labels */
+ labels?: ({ [k: string]: string }|null);
+
+ /** Zone description */
+ description?: (string|null);
+
+ /** Zone state */
+ state?: (google.cloud.dataplex.v1.State|keyof typeof google.cloud.dataplex.v1.State|null);
+
+ /** Zone type */
+ type?: (google.cloud.dataplex.v1.Zone.Type|keyof typeof google.cloud.dataplex.v1.Zone.Type|null);
+
+ /** Zone discoverySpec */
+ discoverySpec?: (google.cloud.dataplex.v1.Zone.IDiscoverySpec|null);
+
+ /** Zone resourceSpec */
+ resourceSpec?: (google.cloud.dataplex.v1.Zone.IResourceSpec|null);
+
+ /** Zone assetStatus */
+ assetStatus?: (google.cloud.dataplex.v1.IAssetStatus|null);
+ }
+
+ /** Represents a Zone. */
+ class Zone implements IZone {
+
+ /**
+ * Constructs a new Zone.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.dataplex.v1.IZone);
+
+ /** Zone name. */
+ public name: string;
+
+ /** Zone displayName. */
+ public displayName: string;
+
+ /** Zone uid. */
+ public uid: string;
+
+ /** Zone createTime. */
+ public createTime?: (google.protobuf.ITimestamp|null);
+
+ /** Zone updateTime. */
+ public updateTime?: (google.protobuf.ITimestamp|null);
+
+ /** Zone labels. */
+ public labels: { [k: string]: string };
+
+ /** Zone description. */
+ public description: string;
+
+ /** Zone state. */
+ public state: (google.cloud.dataplex.v1.State|keyof typeof google.cloud.dataplex.v1.State);
+
+ /** Zone type. */
+ public type: (google.cloud.dataplex.v1.Zone.Type|keyof typeof google.cloud.dataplex.v1.Zone.Type);
+
+ /** Zone discoverySpec. */
+ public discoverySpec?: (google.cloud.dataplex.v1.Zone.IDiscoverySpec|null);
+
+ /** Zone resourceSpec. */
+ public resourceSpec?: (google.cloud.dataplex.v1.Zone.IResourceSpec|null);
+
+ /** Zone assetStatus. */
+ public assetStatus?: (google.cloud.dataplex.v1.IAssetStatus|null);
+
+ /**
+ * Creates a new Zone instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns Zone instance
+ */
+ public static create(properties?: google.cloud.dataplex.v1.IZone): google.cloud.dataplex.v1.Zone;
+
+ /**
+ * Encodes the specified Zone message. Does not implicitly {@link google.cloud.dataplex.v1.Zone.verify|verify} messages.
+ * @param message Zone message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.dataplex.v1.IZone, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified Zone message, length delimited. Does not implicitly {@link google.cloud.dataplex.v1.Zone.verify|verify} messages.
+ * @param message Zone message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.dataplex.v1.IZone, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a Zone message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns Zone
+ * @throws {Error} If the payload is not 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.dataplex.v1.Zone;
+
+ /**
+ * Decodes a Zone message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns Zone
+ * @throws {Error} If the payload 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.dataplex.v1.Zone;
+
+ /**
+ * Verifies a Zone message.
+ * @param message Plain 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 Zone message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns Zone
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.dataplex.v1.Zone;
+
+ /**
+ * Creates a plain object from a Zone message. Also converts values to other types if specified.
+ * @param message Zone
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.dataplex.v1.Zone, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this Zone to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for Zone
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace Zone {
+
+ /** Type enum. */
+ enum Type {
+ TYPE_UNSPECIFIED = 0,
+ RAW = 1,
+ CURATED = 2
+ }
+
+ /** Properties of a ResourceSpec. */
+ interface IResourceSpec {
+
+ /** ResourceSpec locationType */
+ locationType?: (google.cloud.dataplex.v1.Zone.ResourceSpec.LocationType|keyof typeof google.cloud.dataplex.v1.Zone.ResourceSpec.LocationType|null);
+ }
+
+ /** Represents a ResourceSpec. */
+ class ResourceSpec implements IResourceSpec {
+
+ /**
+ * Constructs a new ResourceSpec.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.dataplex.v1.Zone.IResourceSpec);
+
+ /** ResourceSpec locationType. */
+ public locationType: (google.cloud.dataplex.v1.Zone.ResourceSpec.LocationType|keyof typeof google.cloud.dataplex.v1.Zone.ResourceSpec.LocationType);
+
+ /**
+ * Creates a new ResourceSpec instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ResourceSpec instance
+ */
+ public static create(properties?: google.cloud.dataplex.v1.Zone.IResourceSpec): google.cloud.dataplex.v1.Zone.ResourceSpec;
+
+ /**
+ * Encodes the specified ResourceSpec message. Does not implicitly {@link google.cloud.dataplex.v1.Zone.ResourceSpec.verify|verify} messages.
+ * @param message ResourceSpec message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.dataplex.v1.Zone.IResourceSpec, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ResourceSpec message, length delimited. Does not implicitly {@link google.cloud.dataplex.v1.Zone.ResourceSpec.verify|verify} messages.
+ * @param message ResourceSpec message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.dataplex.v1.Zone.IResourceSpec, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ResourceSpec message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ResourceSpec
+ * @throws {Error} If the payload is not 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.dataplex.v1.Zone.ResourceSpec;
+
+ /**
+ * Decodes a ResourceSpec message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ResourceSpec
+ * @throws {Error} If the payload 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.dataplex.v1.Zone.ResourceSpec;
+
+ /**
+ * Verifies a ResourceSpec message.
+ * @param message Plain 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 ResourceSpec message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ResourceSpec
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.dataplex.v1.Zone.ResourceSpec;
+
+ /**
+ * Creates a plain object from a ResourceSpec message. Also converts values to other types if specified.
+ * @param message ResourceSpec
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.dataplex.v1.Zone.ResourceSpec, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ResourceSpec to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ResourceSpec
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace ResourceSpec {
+
+ /** LocationType enum. */
+ enum LocationType {
+ LOCATION_TYPE_UNSPECIFIED = 0,
+ SINGLE_REGION = 1,
+ MULTI_REGION = 2
+ }
+ }
+
+ /** Properties of a DiscoverySpec. */
+ interface IDiscoverySpec {
+
+ /** DiscoverySpec enabled */
+ enabled?: (boolean|null);
+
+ /** DiscoverySpec includePatterns */
+ includePatterns?: (string[]|null);
+
+ /** DiscoverySpec excludePatterns */
+ excludePatterns?: (string[]|null);
+
+ /** DiscoverySpec csvOptions */
+ csvOptions?: (google.cloud.dataplex.v1.Zone.DiscoverySpec.ICsvOptions|null);
+
+ /** DiscoverySpec jsonOptions */
+ jsonOptions?: (google.cloud.dataplex.v1.Zone.DiscoverySpec.IJsonOptions|null);
+
+ /** DiscoverySpec schedule */
+ schedule?: (string|null);
+ }
+
+ /** Represents a DiscoverySpec. */
+ class DiscoverySpec implements IDiscoverySpec {
+
+ /**
+ * Constructs a new DiscoverySpec.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.dataplex.v1.Zone.IDiscoverySpec);
+
+ /** DiscoverySpec enabled. */
+ public enabled: boolean;
+
+ /** DiscoverySpec includePatterns. */
+ public includePatterns: string[];
+
+ /** DiscoverySpec excludePatterns. */
+ public excludePatterns: string[];
+
+ /** DiscoverySpec csvOptions. */
+ public csvOptions?: (google.cloud.dataplex.v1.Zone.DiscoverySpec.ICsvOptions|null);
+
+ /** DiscoverySpec jsonOptions. */
+ public jsonOptions?: (google.cloud.dataplex.v1.Zone.DiscoverySpec.IJsonOptions|null);
+
+ /** DiscoverySpec schedule. */
+ public schedule?: (string|null);
+
+ /** DiscoverySpec trigger. */
+ public trigger?: "schedule";
+
+ /**
+ * Creates a new DiscoverySpec instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns DiscoverySpec instance
+ */
+ public static create(properties?: google.cloud.dataplex.v1.Zone.IDiscoverySpec): google.cloud.dataplex.v1.Zone.DiscoverySpec;
+
+ /**
+ * Encodes the specified DiscoverySpec message. Does not implicitly {@link google.cloud.dataplex.v1.Zone.DiscoverySpec.verify|verify} messages.
+ * @param message DiscoverySpec message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.dataplex.v1.Zone.IDiscoverySpec, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified DiscoverySpec message, length delimited. Does not implicitly {@link google.cloud.dataplex.v1.Zone.DiscoverySpec.verify|verify} messages.
+ * @param message DiscoverySpec message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.dataplex.v1.Zone.IDiscoverySpec, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a DiscoverySpec message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns DiscoverySpec
+ * @throws {Error} If the payload is not 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.dataplex.v1.Zone.DiscoverySpec;
+
+ /**
+ * Decodes a DiscoverySpec message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns DiscoverySpec
+ * @throws {Error} If the payload 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.dataplex.v1.Zone.DiscoverySpec;
+
+ /**
+ * Verifies a DiscoverySpec message.
+ * @param message Plain 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 DiscoverySpec message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns DiscoverySpec
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.dataplex.v1.Zone.DiscoverySpec;
+
+ /**
+ * Creates a plain object from a DiscoverySpec message. Also converts values to other types if specified.
+ * @param message DiscoverySpec
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.dataplex.v1.Zone.DiscoverySpec, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this DiscoverySpec to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for DiscoverySpec
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace DiscoverySpec {
+
+ /** Properties of a CsvOptions. */
+ interface ICsvOptions {
+
+ /** CsvOptions headerRows */
+ headerRows?: (number|null);
+
+ /** CsvOptions delimiter */
+ delimiter?: (string|null);
+
+ /** CsvOptions encoding */
+ encoding?: (string|null);
+
+ /** CsvOptions disableTypeInference */
+ disableTypeInference?: (boolean|null);
+ }
+
+ /** Represents a CsvOptions. */
+ class CsvOptions implements ICsvOptions {
+
+ /**
+ * Constructs a new CsvOptions.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.dataplex.v1.Zone.DiscoverySpec.ICsvOptions);
+
+ /** CsvOptions headerRows. */
+ public headerRows: number;
+
+ /** CsvOptions delimiter. */
+ public delimiter: string;
+
+ /** CsvOptions encoding. */
+ public encoding: string;
+
+ /** CsvOptions disableTypeInference. */
+ public disableTypeInference: boolean;
+
+ /**
+ * Creates a new CsvOptions instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns CsvOptions instance
+ */
+ public static create(properties?: google.cloud.dataplex.v1.Zone.DiscoverySpec.ICsvOptions): google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions;
+
+ /**
+ * Encodes the specified CsvOptions message. Does not implicitly {@link google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions.verify|verify} messages.
+ * @param message CsvOptions message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.dataplex.v1.Zone.DiscoverySpec.ICsvOptions, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified CsvOptions message, length delimited. Does not implicitly {@link google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions.verify|verify} messages.
+ * @param message CsvOptions message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.dataplex.v1.Zone.DiscoverySpec.ICsvOptions, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a CsvOptions message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns CsvOptions
+ * @throws {Error} If the payload is not 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.dataplex.v1.Zone.DiscoverySpec.CsvOptions;
+
+ /**
+ * Decodes a CsvOptions message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns CsvOptions
+ * @throws {Error} If the payload 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.dataplex.v1.Zone.DiscoverySpec.CsvOptions;
+
+ /**
+ * Verifies a CsvOptions message.
+ * @param message Plain 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 CsvOptions message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns CsvOptions
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions;
+
+ /**
+ * Creates a plain object from a CsvOptions message. Also converts values to other types if specified.
+ * @param message CsvOptions
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this CsvOptions to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for CsvOptions
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a JsonOptions. */
+ interface IJsonOptions {
+
+ /** JsonOptions encoding */
+ encoding?: (string|null);
+
+ /** JsonOptions disableTypeInference */
+ disableTypeInference?: (boolean|null);
+ }
+
+ /** Represents a JsonOptions. */
+ class JsonOptions implements IJsonOptions {
+
+ /**
+ * Constructs a new JsonOptions.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.dataplex.v1.Zone.DiscoverySpec.IJsonOptions);
+
+ /** JsonOptions encoding. */
+ public encoding: string;
+
+ /** JsonOptions disableTypeInference. */
+ public disableTypeInference: boolean;
+
+ /**
+ * Creates a new JsonOptions instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns JsonOptions instance
+ */
+ public static create(properties?: google.cloud.dataplex.v1.Zone.DiscoverySpec.IJsonOptions): google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions;
+
+ /**
+ * Encodes the specified JsonOptions message. Does not implicitly {@link google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions.verify|verify} messages.
+ * @param message JsonOptions message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.dataplex.v1.Zone.DiscoverySpec.IJsonOptions, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified JsonOptions message, length delimited. Does not implicitly {@link google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions.verify|verify} messages.
+ * @param message JsonOptions message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.dataplex.v1.Zone.DiscoverySpec.IJsonOptions, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a JsonOptions message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns JsonOptions
+ * @throws {Error} If the payload is not 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.dataplex.v1.Zone.DiscoverySpec.JsonOptions;
+
+ /**
+ * Decodes a JsonOptions message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns JsonOptions
+ * @throws {Error} If the payload 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.dataplex.v1.Zone.DiscoverySpec.JsonOptions;
+
+ /**
+ * Verifies a JsonOptions message.
+ * @param message Plain 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 JsonOptions message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns JsonOptions
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions;
+
+ /**
+ * Creates a plain object from a JsonOptions message. Also converts values to other types if specified.
+ * @param message JsonOptions
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this JsonOptions to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for JsonOptions
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+ }
+ }
+
+ /** Properties of an Action. */
+ interface IAction {
+
+ /** Action category */
+ category?: (google.cloud.dataplex.v1.Action.Category|keyof typeof google.cloud.dataplex.v1.Action.Category|null);
+
+ /** Action issue */
+ issue?: (string|null);
+
+ /** Action detectTime */
+ detectTime?: (google.protobuf.ITimestamp|null);
+
+ /** Action name */
+ name?: (string|null);
+
+ /** Action lake */
+ lake?: (string|null);
+
+ /** Action zone */
+ zone?: (string|null);
+
+ /** Action asset */
+ asset?: (string|null);
+
+ /** Action dataLocations */
+ dataLocations?: (string[]|null);
+
+ /** Action invalidDataFormat */
+ invalidDataFormat?: (google.cloud.dataplex.v1.Action.IInvalidDataFormat|null);
+
+ /** Action incompatibleDataSchema */
+ incompatibleDataSchema?: (google.cloud.dataplex.v1.Action.IIncompatibleDataSchema|null);
+
+ /** Action invalidDataPartition */
+ invalidDataPartition?: (google.cloud.dataplex.v1.Action.IInvalidDataPartition|null);
+
+ /** Action missingData */
+ missingData?: (google.cloud.dataplex.v1.Action.IMissingData|null);
+
+ /** Action missingResource */
+ missingResource?: (google.cloud.dataplex.v1.Action.IMissingResource|null);
+
+ /** Action unauthorizedResource */
+ unauthorizedResource?: (google.cloud.dataplex.v1.Action.IUnauthorizedResource|null);
+
+ /** Action failedSecurityPolicyApply */
+ failedSecurityPolicyApply?: (google.cloud.dataplex.v1.Action.IFailedSecurityPolicyApply|null);
+
+ /** Action invalidDataOrganization */
+ invalidDataOrganization?: (google.cloud.dataplex.v1.Action.IInvalidDataOrganization|null);
+ }
+
+ /** Represents an Action. */
+ class Action implements IAction {
+
+ /**
+ * Constructs a new Action.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.dataplex.v1.IAction);
+
+ /** Action category. */
+ public category: (google.cloud.dataplex.v1.Action.Category|keyof typeof google.cloud.dataplex.v1.Action.Category);
+
+ /** Action issue. */
+ public issue: string;
+
+ /** Action detectTime. */
+ public detectTime?: (google.protobuf.ITimestamp|null);
+
+ /** Action name. */
+ public name: string;
+
+ /** Action lake. */
+ public lake: string;
+
+ /** Action zone. */
+ public zone: string;
+
+ /** Action asset. */
+ public asset: string;
+
+ /** Action dataLocations. */
+ public dataLocations: string[];
+
+ /** Action invalidDataFormat. */
+ public invalidDataFormat?: (google.cloud.dataplex.v1.Action.IInvalidDataFormat|null);
+
+ /** Action incompatibleDataSchema. */
+ public incompatibleDataSchema?: (google.cloud.dataplex.v1.Action.IIncompatibleDataSchema|null);
+
+ /** Action invalidDataPartition. */
+ public invalidDataPartition?: (google.cloud.dataplex.v1.Action.IInvalidDataPartition|null);
+
+ /** Action missingData. */
+ public missingData?: (google.cloud.dataplex.v1.Action.IMissingData|null);
+
+ /** Action missingResource. */
+ public missingResource?: (google.cloud.dataplex.v1.Action.IMissingResource|null);
+
+ /** Action unauthorizedResource. */
+ public unauthorizedResource?: (google.cloud.dataplex.v1.Action.IUnauthorizedResource|null);
+
+ /** Action failedSecurityPolicyApply. */
+ public failedSecurityPolicyApply?: (google.cloud.dataplex.v1.Action.IFailedSecurityPolicyApply|null);
+
+ /** Action invalidDataOrganization. */
+ public invalidDataOrganization?: (google.cloud.dataplex.v1.Action.IInvalidDataOrganization|null);
+
+ /** Action details. */
+ public details?: ("invalidDataFormat"|"incompatibleDataSchema"|"invalidDataPartition"|"missingData"|"missingResource"|"unauthorizedResource"|"failedSecurityPolicyApply"|"invalidDataOrganization");
+
+ /**
+ * Creates a new Action instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns Action instance
+ */
+ public static create(properties?: google.cloud.dataplex.v1.IAction): google.cloud.dataplex.v1.Action;
+
+ /**
+ * Encodes the specified Action message. Does not implicitly {@link google.cloud.dataplex.v1.Action.verify|verify} messages.
+ * @param message Action message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.dataplex.v1.IAction, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified Action message, length delimited. Does not implicitly {@link google.cloud.dataplex.v1.Action.verify|verify} messages.
+ * @param message Action message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.dataplex.v1.IAction, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an Action message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns Action
+ * @throws {Error} If the payload is not 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.dataplex.v1.Action;
+
+ /**
+ * Decodes an Action message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns Action
+ * @throws {Error} If the payload 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.dataplex.v1.Action;
+
+ /**
+ * Verifies an Action message.
+ * @param message Plain 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 Action message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns Action
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.dataplex.v1.Action;
+
+ /**
+ * Creates a plain object from an Action message. Also converts values to other types if specified.
+ * @param message Action
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.dataplex.v1.Action, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this Action to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for Action
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace Action {
+
+ /** Category enum. */
+ enum Category {
+ CATEGORY_UNSPECIFIED = 0,
+ RESOURCE_MANAGEMENT = 1,
+ SECURITY_POLICY = 2,
+ DATA_DISCOVERY = 3
+ }
+
+ /** Properties of a MissingResource. */
+ interface IMissingResource {
+ }
+
+ /** Represents a MissingResource. */
+ class MissingResource implements IMissingResource {
+
+ /**
+ * Constructs a new MissingResource.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.dataplex.v1.Action.IMissingResource);
+
+ /**
+ * Creates a new MissingResource instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns MissingResource instance
+ */
+ public static create(properties?: google.cloud.dataplex.v1.Action.IMissingResource): google.cloud.dataplex.v1.Action.MissingResource;
+
+ /**
+ * Encodes the specified MissingResource message. Does not implicitly {@link google.cloud.dataplex.v1.Action.MissingResource.verify|verify} messages.
+ * @param message MissingResource message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.dataplex.v1.Action.IMissingResource, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified MissingResource message, length delimited. Does not implicitly {@link google.cloud.dataplex.v1.Action.MissingResource.verify|verify} messages.
+ * @param message MissingResource message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.dataplex.v1.Action.IMissingResource, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a MissingResource message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns MissingResource
+ * @throws {Error} If the payload is not 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.dataplex.v1.Action.MissingResource;
+
+ /**
+ * Decodes a MissingResource message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns MissingResource
+ * @throws {Error} If the payload 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.dataplex.v1.Action.MissingResource;
+
+ /**
+ * Verifies a MissingResource message.
+ * @param message Plain 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 MissingResource message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns MissingResource
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.dataplex.v1.Action.MissingResource;
+
+ /**
+ * Creates a plain object from a MissingResource message. Also converts values to other types if specified.
+ * @param message MissingResource
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.dataplex.v1.Action.MissingResource, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this MissingResource to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for MissingResource
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of an UnauthorizedResource. */
+ interface IUnauthorizedResource {
+ }
+
+ /** Represents an UnauthorizedResource. */
+ class UnauthorizedResource implements IUnauthorizedResource {
+
+ /**
+ * Constructs a new UnauthorizedResource.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.dataplex.v1.Action.IUnauthorizedResource);
+
+ /**
+ * Creates a new UnauthorizedResource instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns UnauthorizedResource instance
+ */
+ public static create(properties?: google.cloud.dataplex.v1.Action.IUnauthorizedResource): google.cloud.dataplex.v1.Action.UnauthorizedResource;
+
+ /**
+ * Encodes the specified UnauthorizedResource message. Does not implicitly {@link google.cloud.dataplex.v1.Action.UnauthorizedResource.verify|verify} messages.
+ * @param message UnauthorizedResource message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.dataplex.v1.Action.IUnauthorizedResource, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified UnauthorizedResource message, length delimited. Does not implicitly {@link google.cloud.dataplex.v1.Action.UnauthorizedResource.verify|verify} messages.
+ * @param message UnauthorizedResource message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.dataplex.v1.Action.IUnauthorizedResource, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an UnauthorizedResource message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns UnauthorizedResource
+ * @throws {Error} If the payload is not 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.dataplex.v1.Action.UnauthorizedResource;
+
+ /**
+ * Decodes an UnauthorizedResource message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns UnauthorizedResource
+ * @throws {Error} If the payload 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.dataplex.v1.Action.UnauthorizedResource;
+
+ /**
+ * Verifies an UnauthorizedResource message.
+ * @param message Plain 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 UnauthorizedResource message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns UnauthorizedResource
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.dataplex.v1.Action.UnauthorizedResource;
+
+ /**
+ * Creates a plain object from an UnauthorizedResource message. Also converts values to other types if specified.
+ * @param message UnauthorizedResource
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.dataplex.v1.Action.UnauthorizedResource, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this UnauthorizedResource to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for UnauthorizedResource
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a FailedSecurityPolicyApply. */
+ interface IFailedSecurityPolicyApply {
+
+ /** FailedSecurityPolicyApply asset */
+ asset?: (string|null);
+ }
+
+ /** Represents a FailedSecurityPolicyApply. */
+ class FailedSecurityPolicyApply implements IFailedSecurityPolicyApply {
+
+ /**
+ * Constructs a new FailedSecurityPolicyApply.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.dataplex.v1.Action.IFailedSecurityPolicyApply);
+
+ /** FailedSecurityPolicyApply asset. */
+ public asset: string;
+
+ /**
+ * Creates a new FailedSecurityPolicyApply instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns FailedSecurityPolicyApply instance
+ */
+ public static create(properties?: google.cloud.dataplex.v1.Action.IFailedSecurityPolicyApply): google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply;
+
+ /**
+ * Encodes the specified FailedSecurityPolicyApply message. Does not implicitly {@link google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply.verify|verify} messages.
+ * @param message FailedSecurityPolicyApply message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.dataplex.v1.Action.IFailedSecurityPolicyApply, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified FailedSecurityPolicyApply message, length delimited. Does not implicitly {@link google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply.verify|verify} messages.
+ * @param message FailedSecurityPolicyApply message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.dataplex.v1.Action.IFailedSecurityPolicyApply, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a FailedSecurityPolicyApply message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns FailedSecurityPolicyApply
+ * @throws {Error} If the payload is not 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.dataplex.v1.Action.FailedSecurityPolicyApply;
+
+ /**
+ * Decodes a FailedSecurityPolicyApply message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns FailedSecurityPolicyApply
+ * @throws {Error} If the payload 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.dataplex.v1.Action.FailedSecurityPolicyApply;
+
+ /**
+ * Verifies a FailedSecurityPolicyApply message.
+ * @param message Plain 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 FailedSecurityPolicyApply message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns FailedSecurityPolicyApply
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply;
+
+ /**
+ * Creates a plain object from a FailedSecurityPolicyApply message. Also converts values to other types if specified.
+ * @param message FailedSecurityPolicyApply
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this FailedSecurityPolicyApply to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for FailedSecurityPolicyApply
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of an InvalidDataFormat. */
+ interface IInvalidDataFormat {
+
+ /** InvalidDataFormat sampledDataLocations */
+ sampledDataLocations?: (string[]|null);
+
+ /** InvalidDataFormat expectedFormat */
+ expectedFormat?: (string|null);
+
+ /** InvalidDataFormat newFormat */
+ newFormat?: (string|null);
+ }
+
+ /** Represents an InvalidDataFormat. */
+ class InvalidDataFormat implements IInvalidDataFormat {
+
+ /**
+ * Constructs a new InvalidDataFormat.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.dataplex.v1.Action.IInvalidDataFormat);
+
+ /** InvalidDataFormat sampledDataLocations. */
+ public sampledDataLocations: string[];
+
+ /** InvalidDataFormat expectedFormat. */
+ public expectedFormat: string;
+
+ /** InvalidDataFormat newFormat. */
+ public newFormat: string;
+
+ /**
+ * Creates a new InvalidDataFormat instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns InvalidDataFormat instance
+ */
+ public static create(properties?: google.cloud.dataplex.v1.Action.IInvalidDataFormat): google.cloud.dataplex.v1.Action.InvalidDataFormat;
+
+ /**
+ * Encodes the specified InvalidDataFormat message. Does not implicitly {@link google.cloud.dataplex.v1.Action.InvalidDataFormat.verify|verify} messages.
+ * @param message InvalidDataFormat message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.dataplex.v1.Action.IInvalidDataFormat, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified InvalidDataFormat message, length delimited. Does not implicitly {@link google.cloud.dataplex.v1.Action.InvalidDataFormat.verify|verify} messages.
+ * @param message InvalidDataFormat message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.dataplex.v1.Action.IInvalidDataFormat, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an InvalidDataFormat message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns InvalidDataFormat
+ * @throws {Error} If the payload is not 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.dataplex.v1.Action.InvalidDataFormat;
+
+ /**
+ * Decodes an InvalidDataFormat message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns InvalidDataFormat
+ * @throws {Error} If the payload 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.dataplex.v1.Action.InvalidDataFormat;
+
+ /**
+ * Verifies an InvalidDataFormat message.
+ * @param message Plain 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 InvalidDataFormat message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns InvalidDataFormat
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.dataplex.v1.Action.InvalidDataFormat;
+
+ /**
+ * Creates a plain object from an InvalidDataFormat message. Also converts values to other types if specified.
+ * @param message InvalidDataFormat
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.dataplex.v1.Action.InvalidDataFormat, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this InvalidDataFormat to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for InvalidDataFormat
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of an IncompatibleDataSchema. */
+ interface IIncompatibleDataSchema {
+
+ /** IncompatibleDataSchema table */
+ table?: (string|null);
+
+ /** IncompatibleDataSchema existingSchema */
+ existingSchema?: (string|null);
+
+ /** IncompatibleDataSchema newSchema */
+ newSchema?: (string|null);
+
+ /** IncompatibleDataSchema sampledDataLocations */
+ sampledDataLocations?: (string[]|null);
+
+ /** IncompatibleDataSchema schemaChange */
+ schemaChange?: (google.cloud.dataplex.v1.Action.IncompatibleDataSchema.SchemaChange|keyof typeof google.cloud.dataplex.v1.Action.IncompatibleDataSchema.SchemaChange|null);
+ }
+
+ /** Represents an IncompatibleDataSchema. */
+ class IncompatibleDataSchema implements IIncompatibleDataSchema {
+
+ /**
+ * Constructs a new IncompatibleDataSchema.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.dataplex.v1.Action.IIncompatibleDataSchema);
+
+ /** IncompatibleDataSchema table. */
+ public table: string;
+
+ /** IncompatibleDataSchema existingSchema. */
+ public existingSchema: string;
+
+ /** IncompatibleDataSchema newSchema. */
+ public newSchema: string;
+
+ /** IncompatibleDataSchema sampledDataLocations. */
+ public sampledDataLocations: string[];
+
+ /** IncompatibleDataSchema schemaChange. */
+ public schemaChange: (google.cloud.dataplex.v1.Action.IncompatibleDataSchema.SchemaChange|keyof typeof google.cloud.dataplex.v1.Action.IncompatibleDataSchema.SchemaChange);
+
+ /**
+ * Creates a new IncompatibleDataSchema instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns IncompatibleDataSchema instance
+ */
+ public static create(properties?: google.cloud.dataplex.v1.Action.IIncompatibleDataSchema): google.cloud.dataplex.v1.Action.IncompatibleDataSchema;
+
+ /**
+ * Encodes the specified IncompatibleDataSchema message. Does not implicitly {@link google.cloud.dataplex.v1.Action.IncompatibleDataSchema.verify|verify} messages.
+ * @param message IncompatibleDataSchema message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.dataplex.v1.Action.IIncompatibleDataSchema, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified IncompatibleDataSchema message, length delimited. Does not implicitly {@link google.cloud.dataplex.v1.Action.IncompatibleDataSchema.verify|verify} messages.
+ * @param message IncompatibleDataSchema message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.dataplex.v1.Action.IIncompatibleDataSchema, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an IncompatibleDataSchema message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns IncompatibleDataSchema
+ * @throws {Error} If the payload is not 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.dataplex.v1.Action.IncompatibleDataSchema;
+
+ /**
+ * Decodes an IncompatibleDataSchema message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns IncompatibleDataSchema
+ * @throws {Error} If the payload 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.dataplex.v1.Action.IncompatibleDataSchema;
+
+ /**
+ * Verifies an IncompatibleDataSchema message.
+ * @param message Plain 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 IncompatibleDataSchema message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns IncompatibleDataSchema
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.dataplex.v1.Action.IncompatibleDataSchema;
+
+ /**
+ * Creates a plain object from an IncompatibleDataSchema message. Also converts values to other types if specified.
+ * @param message IncompatibleDataSchema
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.dataplex.v1.Action.IncompatibleDataSchema, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this IncompatibleDataSchema to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for IncompatibleDataSchema
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace IncompatibleDataSchema {
+
+ /** SchemaChange enum. */
+ enum SchemaChange {
+ SCHEMA_CHANGE_UNSPECIFIED = 0,
+ INCOMPATIBLE = 1,
+ MODIFIED = 2
+ }
+ }
+
+ /** Properties of an InvalidDataPartition. */
+ interface IInvalidDataPartition {
+
+ /** InvalidDataPartition expectedStructure */
+ expectedStructure?: (google.cloud.dataplex.v1.Action.InvalidDataPartition.PartitionStructure|keyof typeof google.cloud.dataplex.v1.Action.InvalidDataPartition.PartitionStructure|null);
+ }
+
+ /** Represents an InvalidDataPartition. */
+ class InvalidDataPartition implements IInvalidDataPartition {
+
+ /**
+ * Constructs a new InvalidDataPartition.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.dataplex.v1.Action.IInvalidDataPartition);
+
+ /** InvalidDataPartition expectedStructure. */
+ public expectedStructure: (google.cloud.dataplex.v1.Action.InvalidDataPartition.PartitionStructure|keyof typeof google.cloud.dataplex.v1.Action.InvalidDataPartition.PartitionStructure);
+
+ /**
+ * Creates a new InvalidDataPartition instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns InvalidDataPartition instance
+ */
+ public static create(properties?: google.cloud.dataplex.v1.Action.IInvalidDataPartition): google.cloud.dataplex.v1.Action.InvalidDataPartition;
+
+ /**
+ * Encodes the specified InvalidDataPartition message. Does not implicitly {@link google.cloud.dataplex.v1.Action.InvalidDataPartition.verify|verify} messages.
+ * @param message InvalidDataPartition message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.dataplex.v1.Action.IInvalidDataPartition, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified InvalidDataPartition message, length delimited. Does not implicitly {@link google.cloud.dataplex.v1.Action.InvalidDataPartition.verify|verify} messages.
+ * @param message InvalidDataPartition message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.dataplex.v1.Action.IInvalidDataPartition, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an InvalidDataPartition message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns InvalidDataPartition
+ * @throws {Error} If the payload is not 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.dataplex.v1.Action.InvalidDataPartition;
+
+ /**
+ * Decodes an InvalidDataPartition message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns InvalidDataPartition
+ * @throws {Error} If the payload 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.dataplex.v1.Action.InvalidDataPartition;
+
+ /**
+ * Verifies an InvalidDataPartition message.
+ * @param message Plain 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 InvalidDataPartition message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns InvalidDataPartition
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.dataplex.v1.Action.InvalidDataPartition;
+
+ /**
+ * Creates a plain object from an InvalidDataPartition message. Also converts values to other types if specified.
+ * @param message InvalidDataPartition
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.dataplex.v1.Action.InvalidDataPartition, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this InvalidDataPartition to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for InvalidDataPartition
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace InvalidDataPartition {
+
+ /** PartitionStructure enum. */
+ enum PartitionStructure {
+ PARTITION_STRUCTURE_UNSPECIFIED = 0,
+ CONSISTENT_KEYS = 1,
+ HIVE_STYLE_KEYS = 2
+ }
+ }
+
+ /** Properties of a MissingData. */
+ interface IMissingData {
+ }
+
+ /** Represents a MissingData. */
+ class MissingData implements IMissingData {
+
+ /**
+ * Constructs a new MissingData.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.dataplex.v1.Action.IMissingData);
+
+ /**
+ * Creates a new MissingData instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns MissingData instance
+ */
+ public static create(properties?: google.cloud.dataplex.v1.Action.IMissingData): google.cloud.dataplex.v1.Action.MissingData;
+
+ /**
+ * Encodes the specified MissingData message. Does not implicitly {@link google.cloud.dataplex.v1.Action.MissingData.verify|verify} messages.
+ * @param message MissingData message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.dataplex.v1.Action.IMissingData, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified MissingData message, length delimited. Does not implicitly {@link google.cloud.dataplex.v1.Action.MissingData.verify|verify} messages.
+ * @param message MissingData message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.dataplex.v1.Action.IMissingData, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a MissingData message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns MissingData
+ * @throws {Error} If the payload is not 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.dataplex.v1.Action.MissingData;
+
+ /**
+ * Decodes a MissingData message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns MissingData
+ * @throws {Error} If the payload 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.dataplex.v1.Action.MissingData;
+
+ /**
+ * Verifies a MissingData message.
+ * @param message Plain 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 MissingData message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns MissingData
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.dataplex.v1.Action.MissingData;
+
+ /**
+ * Creates a plain object from a MissingData message. Also converts values to other types if specified.
+ * @param message MissingData
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.dataplex.v1.Action.MissingData, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this MissingData to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for MissingData
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of an InvalidDataOrganization. */
+ interface IInvalidDataOrganization {
+ }
+
+ /** Represents an InvalidDataOrganization. */
+ class InvalidDataOrganization implements IInvalidDataOrganization {
+
+ /**
+ * Constructs a new InvalidDataOrganization.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.dataplex.v1.Action.IInvalidDataOrganization);
+
+ /**
+ * Creates a new InvalidDataOrganization instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns InvalidDataOrganization instance
+ */
+ public static create(properties?: google.cloud.dataplex.v1.Action.IInvalidDataOrganization): google.cloud.dataplex.v1.Action.InvalidDataOrganization;
+
+ /**
+ * Encodes the specified InvalidDataOrganization message. Does not implicitly {@link google.cloud.dataplex.v1.Action.InvalidDataOrganization.verify|verify} messages.
+ * @param message InvalidDataOrganization message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.dataplex.v1.Action.IInvalidDataOrganization, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified InvalidDataOrganization message, length delimited. Does not implicitly {@link google.cloud.dataplex.v1.Action.InvalidDataOrganization.verify|verify} messages.
+ * @param message InvalidDataOrganization message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.dataplex.v1.Action.IInvalidDataOrganization, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an InvalidDataOrganization message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns InvalidDataOrganization
+ * @throws {Error} If the payload is not 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.dataplex.v1.Action.InvalidDataOrganization;
+
+ /**
+ * Decodes an InvalidDataOrganization message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns InvalidDataOrganization
+ * @throws {Error} If the payload 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.dataplex.v1.Action.InvalidDataOrganization;
+
+ /**
+ * Verifies an InvalidDataOrganization message.
+ * @param message Plain 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 InvalidDataOrganization message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns InvalidDataOrganization
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.dataplex.v1.Action.InvalidDataOrganization;
+
+ /**
+ * Creates a plain object from an InvalidDataOrganization message. Also converts values to other types if specified.
+ * @param message InvalidDataOrganization
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.dataplex.v1.Action.InvalidDataOrganization, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this InvalidDataOrganization to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for InvalidDataOrganization
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+ }
+
+ /** Properties of an Asset. */
+ interface IAsset {
+
+ /** Asset name */
+ name?: (string|null);
+
+ /** Asset displayName */
+ displayName?: (string|null);
+
+ /** Asset uid */
+ uid?: (string|null);
+
+ /** Asset createTime */
+ createTime?: (google.protobuf.ITimestamp|null);
+
+ /** Asset updateTime */
+ updateTime?: (google.protobuf.ITimestamp|null);
+
+ /** Asset labels */
+ labels?: ({ [k: string]: string }|null);
+
+ /** Asset description */
+ description?: (string|null);
+
+ /** Asset state */
+ state?: (google.cloud.dataplex.v1.Asset.SecurityStatus.State|keyof typeof google.cloud.dataplex.v1.Asset.SecurityStatus.State|null);
+
+ /** Asset resourceSpec */
+ resourceSpec?: (google.cloud.dataplex.v1.Asset.IResourceSpec|null);
+
+ /** Asset resourceStatus */
+ resourceStatus?: (google.cloud.dataplex.v1.Asset.IResourceStatus|null);
+
+ /** Asset securityStatus */
+ securityStatus?: (google.cloud.dataplex.v1.Asset.ISecurityStatus|null);
+
+ /** Asset discoverySpec */
+ discoverySpec?: (google.cloud.dataplex.v1.Asset.IDiscoverySpec|null);
+
+ /** Asset discoveryStatus */
+ discoveryStatus?: (google.cloud.dataplex.v1.Asset.IDiscoveryStatus|null);
+ }
+
+ /** Represents an Asset. */
+ class Asset implements IAsset {
+
+ /**
+ * Constructs a new Asset.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.dataplex.v1.IAsset);
+
+ /** Asset name. */
+ public name: string;
+
+ /** Asset displayName. */
+ public displayName: string;
+
+ /** Asset uid. */
+ public uid: string;
+
+ /** Asset createTime. */
+ public createTime?: (google.protobuf.ITimestamp|null);
+
+ /** Asset updateTime. */
+ public updateTime?: (google.protobuf.ITimestamp|null);
+
+ /** Asset labels. */
+ public labels: { [k: string]: string };
+
+ /** Asset description. */
+ public description: string;
+
+ /** Asset state. */
+ public state: (google.cloud.dataplex.v1.Asset.SecurityStatus.State|keyof typeof google.cloud.dataplex.v1.Asset.SecurityStatus.State);
+
+ /** Asset resourceSpec. */
+ public resourceSpec?: (google.cloud.dataplex.v1.Asset.IResourceSpec|null);
+
+ /** Asset resourceStatus. */
+ public resourceStatus?: (google.cloud.dataplex.v1.Asset.IResourceStatus|null);
+
+ /** Asset securityStatus. */
+ public securityStatus?: (google.cloud.dataplex.v1.Asset.ISecurityStatus|null);
+
+ /** Asset discoverySpec. */
+ public discoverySpec?: (google.cloud.dataplex.v1.Asset.IDiscoverySpec|null);
+
+ /** Asset discoveryStatus. */
+ public discoveryStatus?: (google.cloud.dataplex.v1.Asset.IDiscoveryStatus|null);
+
+ /**
+ * Creates a new Asset instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns Asset instance
+ */
+ public static create(properties?: google.cloud.dataplex.v1.IAsset): google.cloud.dataplex.v1.Asset;
+
+ /**
+ * Encodes the specified Asset message. Does not implicitly {@link google.cloud.dataplex.v1.Asset.verify|verify} messages.
+ * @param message Asset message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.dataplex.v1.IAsset, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified Asset message, length delimited. Does not implicitly {@link google.cloud.dataplex.v1.Asset.verify|verify} messages.
+ * @param message Asset message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.dataplex.v1.IAsset, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an Asset message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns Asset
+ * @throws {Error} If the payload is not 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.dataplex.v1.Asset;
+
+ /**
+ * Decodes an Asset message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns Asset
+ * @throws {Error} If the payload 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.dataplex.v1.Asset;
+
+ /**
+ * Verifies an Asset message.
+ * @param message Plain 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 Asset message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns Asset
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.dataplex.v1.Asset;
+
+ /**
+ * Creates a plain object from an Asset message. Also converts values to other types if specified.
+ * @param message Asset
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.dataplex.v1.Asset, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this Asset to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for Asset
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace Asset {
+
+ /** Properties of a SecurityStatus. */
+ interface ISecurityStatus {
+
+ /** SecurityStatus state */
+ state?: (google.cloud.dataplex.v1.Asset.SecurityStatus.State|keyof typeof google.cloud.dataplex.v1.Asset.SecurityStatus.State|null);
+
+ /** SecurityStatus message */
+ message?: (string|null);
+
+ /** SecurityStatus updateTime */
+ updateTime?: (google.protobuf.ITimestamp|null);
+ }
+
+ /** Represents a SecurityStatus. */
+ class SecurityStatus implements ISecurityStatus {
+
+ /**
+ * Constructs a new SecurityStatus.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.dataplex.v1.Asset.ISecurityStatus);
+
+ /** SecurityStatus state. */
+ public state: (google.cloud.dataplex.v1.Asset.SecurityStatus.State|keyof typeof google.cloud.dataplex.v1.Asset.SecurityStatus.State);
+
+ /** SecurityStatus message. */
+ public message: string;
+
+ /** SecurityStatus updateTime. */
+ public updateTime?: (google.protobuf.ITimestamp|null);
+
+ /**
+ * Creates a new SecurityStatus instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns SecurityStatus instance
+ */
+ public static create(properties?: google.cloud.dataplex.v1.Asset.ISecurityStatus): google.cloud.dataplex.v1.Asset.SecurityStatus;
+
+ /**
+ * Encodes the specified SecurityStatus message. Does not implicitly {@link google.cloud.dataplex.v1.Asset.SecurityStatus.verify|verify} messages.
+ * @param message SecurityStatus message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.dataplex.v1.Asset.ISecurityStatus, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified SecurityStatus message, length delimited. Does not implicitly {@link google.cloud.dataplex.v1.Asset.SecurityStatus.verify|verify} messages.
+ * @param message SecurityStatus message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.dataplex.v1.Asset.ISecurityStatus, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a SecurityStatus message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns SecurityStatus
+ * @throws {Error} If the payload is not 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.dataplex.v1.Asset.SecurityStatus;
+
+ /**
+ * Decodes a SecurityStatus message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns SecurityStatus
+ * @throws {Error} If the payload 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.dataplex.v1.Asset.SecurityStatus;
+
+ /**
+ * Verifies a SecurityStatus message.
+ * @param message Plain 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 SecurityStatus message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns SecurityStatus
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.dataplex.v1.Asset.SecurityStatus;
+
+ /**
+ * Creates a plain object from a SecurityStatus message. Also converts values to other types if specified.
+ * @param message SecurityStatus
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.dataplex.v1.Asset.SecurityStatus, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this SecurityStatus to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for SecurityStatus
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace SecurityStatus {
+
+ /** State enum. */
+ enum State {
+ STATE_UNSPECIFIED = 0,
+ READY = 1,
+ APPLYING = 2,
+ ERROR = 3
+ }
+ }
+
+ /** Properties of a DiscoverySpec. */
+ interface IDiscoverySpec {
+
+ /** DiscoverySpec enabled */
+ enabled?: (boolean|null);
+
+ /** DiscoverySpec includePatterns */
+ includePatterns?: (string[]|null);
+
+ /** DiscoverySpec excludePatterns */
+ excludePatterns?: (string[]|null);
+
+ /** DiscoverySpec csvOptions */
+ csvOptions?: (google.cloud.dataplex.v1.Asset.DiscoverySpec.ICsvOptions|null);
+
+ /** DiscoverySpec jsonOptions */
+ jsonOptions?: (google.cloud.dataplex.v1.Asset.DiscoverySpec.IJsonOptions|null);
+
+ /** DiscoverySpec schedule */
+ schedule?: (string|null);
+ }
+
+ /** Represents a DiscoverySpec. */
+ class DiscoverySpec implements IDiscoverySpec {
+
+ /**
+ * Constructs a new DiscoverySpec.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.dataplex.v1.Asset.IDiscoverySpec);
+
+ /** DiscoverySpec enabled. */
+ public enabled: boolean;
+
+ /** DiscoverySpec includePatterns. */
+ public includePatterns: string[];
+
+ /** DiscoverySpec excludePatterns. */
+ public excludePatterns: string[];
+
+ /** DiscoverySpec csvOptions. */
+ public csvOptions?: (google.cloud.dataplex.v1.Asset.DiscoverySpec.ICsvOptions|null);
+
+ /** DiscoverySpec jsonOptions. */
+ public jsonOptions?: (google.cloud.dataplex.v1.Asset.DiscoverySpec.IJsonOptions|null);
+
+ /** DiscoverySpec schedule. */
+ public schedule?: (string|null);
+
+ /** DiscoverySpec trigger. */
+ public trigger?: "schedule";
+
+ /**
+ * Creates a new DiscoverySpec instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns DiscoverySpec instance
+ */
+ public static create(properties?: google.cloud.dataplex.v1.Asset.IDiscoverySpec): google.cloud.dataplex.v1.Asset.DiscoverySpec;
+
+ /**
+ * Encodes the specified DiscoverySpec message. Does not implicitly {@link google.cloud.dataplex.v1.Asset.DiscoverySpec.verify|verify} messages.
+ * @param message DiscoverySpec message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.dataplex.v1.Asset.IDiscoverySpec, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified DiscoverySpec message, length delimited. Does not implicitly {@link google.cloud.dataplex.v1.Asset.DiscoverySpec.verify|verify} messages.
+ * @param message DiscoverySpec message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.dataplex.v1.Asset.IDiscoverySpec, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a DiscoverySpec message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns DiscoverySpec
+ * @throws {Error} If the payload is not 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.dataplex.v1.Asset.DiscoverySpec;
+
+ /**
+ * Decodes a DiscoverySpec message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns DiscoverySpec
+ * @throws {Error} If the payload 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.dataplex.v1.Asset.DiscoverySpec;
+
+ /**
+ * Verifies a DiscoverySpec message.
+ * @param message Plain 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 DiscoverySpec message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns DiscoverySpec
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.dataplex.v1.Asset.DiscoverySpec;
+
+ /**
+ * Creates a plain object from a DiscoverySpec message. Also converts values to other types if specified.
+ * @param message DiscoverySpec
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.dataplex.v1.Asset.DiscoverySpec, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this DiscoverySpec to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for DiscoverySpec
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace DiscoverySpec {
+
+ /** Properties of a CsvOptions. */
+ interface ICsvOptions {
+
+ /** CsvOptions headerRows */
+ headerRows?: (number|null);
+
+ /** CsvOptions delimiter */
+ delimiter?: (string|null);
+
+ /** CsvOptions encoding */
+ encoding?: (string|null);
+
+ /** CsvOptions disableTypeInference */
+ disableTypeInference?: (boolean|null);
+ }
+
+ /** Represents a CsvOptions. */
+ class CsvOptions implements ICsvOptions {
+
+ /**
+ * Constructs a new CsvOptions.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.dataplex.v1.Asset.DiscoverySpec.ICsvOptions);
+
+ /** CsvOptions headerRows. */
+ public headerRows: number;
+
+ /** CsvOptions delimiter. */
+ public delimiter: string;
+
+ /** CsvOptions encoding. */
+ public encoding: string;
+
+ /** CsvOptions disableTypeInference. */
+ public disableTypeInference: boolean;
+
+ /**
+ * Creates a new CsvOptions instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns CsvOptions instance
+ */
+ public static create(properties?: google.cloud.dataplex.v1.Asset.DiscoverySpec.ICsvOptions): google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions;
+
+ /**
+ * Encodes the specified CsvOptions message. Does not implicitly {@link google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions.verify|verify} messages.
+ * @param message CsvOptions message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.dataplex.v1.Asset.DiscoverySpec.ICsvOptions, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified CsvOptions message, length delimited. Does not implicitly {@link google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions.verify|verify} messages.
+ * @param message CsvOptions message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.dataplex.v1.Asset.DiscoverySpec.ICsvOptions, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a CsvOptions message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns CsvOptions
+ * @throws {Error} If the payload is not 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.dataplex.v1.Asset.DiscoverySpec.CsvOptions;
+
+ /**
+ * Decodes a CsvOptions message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns CsvOptions
+ * @throws {Error} If the payload 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.dataplex.v1.Asset.DiscoverySpec.CsvOptions;
+
+ /**
+ * Verifies a CsvOptions message.
+ * @param message Plain 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 CsvOptions message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns CsvOptions
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions;
+
+ /**
+ * Creates a plain object from a CsvOptions message. Also converts values to other types if specified.
+ * @param message CsvOptions
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this CsvOptions to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for CsvOptions
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a JsonOptions. */
+ interface IJsonOptions {
+
+ /** JsonOptions encoding */
+ encoding?: (string|null);
+
+ /** JsonOptions disableTypeInference */
+ disableTypeInference?: (boolean|null);
+ }
+
+ /** Represents a JsonOptions. */
+ class JsonOptions implements IJsonOptions {
+
+ /**
+ * Constructs a new JsonOptions.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.dataplex.v1.Asset.DiscoverySpec.IJsonOptions);
+
+ /** JsonOptions encoding. */
+ public encoding: string;
+
+ /** JsonOptions disableTypeInference. */
+ public disableTypeInference: boolean;
+
+ /**
+ * Creates a new JsonOptions instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns JsonOptions instance
+ */
+ public static create(properties?: google.cloud.dataplex.v1.Asset.DiscoverySpec.IJsonOptions): google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions;
+
+ /**
+ * Encodes the specified JsonOptions message. Does not implicitly {@link google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions.verify|verify} messages.
+ * @param message JsonOptions message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.dataplex.v1.Asset.DiscoverySpec.IJsonOptions, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified JsonOptions message, length delimited. Does not implicitly {@link google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions.verify|verify} messages.
+ * @param message JsonOptions message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.dataplex.v1.Asset.DiscoverySpec.IJsonOptions, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a JsonOptions message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns JsonOptions
+ * @throws {Error} If the payload is not 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.dataplex.v1.Asset.DiscoverySpec.JsonOptions;
+
+ /**
+ * Decodes a JsonOptions message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns JsonOptions
+ * @throws {Error} If the payload 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.dataplex.v1.Asset.DiscoverySpec.JsonOptions;
+
+ /**
+ * Verifies a JsonOptions message.
+ * @param message Plain 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 JsonOptions message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns JsonOptions
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions;
+
+ /**
+ * Creates a plain object from a JsonOptions message. Also converts values to other types if specified.
+ * @param message JsonOptions
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this JsonOptions to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for JsonOptions
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+ }
+
+ /** Properties of a ResourceSpec. */
+ interface IResourceSpec {
+
+ /** ResourceSpec name */
+ name?: (string|null);
+
+ /** ResourceSpec type */
+ type?: (google.cloud.dataplex.v1.Asset.ResourceSpec.Type|keyof typeof google.cloud.dataplex.v1.Asset.ResourceSpec.Type|null);
+ }
+
+ /** Represents a ResourceSpec. */
+ class ResourceSpec implements IResourceSpec {
+
+ /**
+ * Constructs a new ResourceSpec.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.dataplex.v1.Asset.IResourceSpec);
+
+ /** ResourceSpec name. */
+ public name: string;
+
+ /** ResourceSpec type. */
+ public type: (google.cloud.dataplex.v1.Asset.ResourceSpec.Type|keyof typeof google.cloud.dataplex.v1.Asset.ResourceSpec.Type);
+
+ /**
+ * Creates a new ResourceSpec instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ResourceSpec instance
+ */
+ public static create(properties?: google.cloud.dataplex.v1.Asset.IResourceSpec): google.cloud.dataplex.v1.Asset.ResourceSpec;
+
+ /**
+ * Encodes the specified ResourceSpec message. Does not implicitly {@link google.cloud.dataplex.v1.Asset.ResourceSpec.verify|verify} messages.
+ * @param message ResourceSpec message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.dataplex.v1.Asset.IResourceSpec, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ResourceSpec message, length delimited. Does not implicitly {@link google.cloud.dataplex.v1.Asset.ResourceSpec.verify|verify} messages.
+ * @param message ResourceSpec message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.dataplex.v1.Asset.IResourceSpec, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ResourceSpec message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ResourceSpec
+ * @throws {Error} If the payload is not 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.dataplex.v1.Asset.ResourceSpec;
+
+ /**
+ * Decodes a ResourceSpec message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ResourceSpec
+ * @throws {Error} If the payload 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.dataplex.v1.Asset.ResourceSpec;
+
+ /**
+ * Verifies a ResourceSpec message.
+ * @param message Plain 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 ResourceSpec message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ResourceSpec
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.dataplex.v1.Asset.ResourceSpec;
+
+ /**
+ * Creates a plain object from a ResourceSpec message. Also converts values to other types if specified.
+ * @param message ResourceSpec
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.dataplex.v1.Asset.ResourceSpec, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ResourceSpec to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ResourceSpec
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace ResourceSpec {
+
+ /** Type enum. */
+ enum Type {
+ TYPE_UNSPECIFIED = 0,
+ STORAGE_BUCKET = 1,
+ BIGQUERY_DATASET = 2
+ }
+ }
+
+ /** Properties of a ResourceStatus. */
+ interface IResourceStatus {
+
+ /** ResourceStatus state */
+ state?: (google.cloud.dataplex.v1.Asset.ResourceStatus.State|keyof typeof google.cloud.dataplex.v1.Asset.ResourceStatus.State|null);
+
+ /** ResourceStatus message */
+ message?: (string|null);
+
+ /** ResourceStatus updateTime */
+ updateTime?: (google.protobuf.ITimestamp|null);
+ }
+
+ /** Represents a ResourceStatus. */
+ class ResourceStatus implements IResourceStatus {
+
+ /**
+ * Constructs a new ResourceStatus.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.dataplex.v1.Asset.IResourceStatus);
+
+ /** ResourceStatus state. */
+ public state: (google.cloud.dataplex.v1.Asset.ResourceStatus.State|keyof typeof google.cloud.dataplex.v1.Asset.ResourceStatus.State);
+
+ /** ResourceStatus message. */
+ public message: string;
+
+ /** ResourceStatus updateTime. */
+ public updateTime?: (google.protobuf.ITimestamp|null);
+
+ /**
+ * Creates a new ResourceStatus instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ResourceStatus instance
+ */
+ public static create(properties?: google.cloud.dataplex.v1.Asset.IResourceStatus): google.cloud.dataplex.v1.Asset.ResourceStatus;
+
+ /**
+ * Encodes the specified ResourceStatus message. Does not implicitly {@link google.cloud.dataplex.v1.Asset.ResourceStatus.verify|verify} messages.
+ * @param message ResourceStatus message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.dataplex.v1.Asset.IResourceStatus, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ResourceStatus message, length delimited. Does not implicitly {@link google.cloud.dataplex.v1.Asset.ResourceStatus.verify|verify} messages.
+ * @param message ResourceStatus message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.dataplex.v1.Asset.IResourceStatus, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ResourceStatus message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ResourceStatus
+ * @throws {Error} If the payload is not 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.dataplex.v1.Asset.ResourceStatus;
+
+ /**
+ * Decodes a ResourceStatus message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ResourceStatus
+ * @throws {Error} If the payload 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.dataplex.v1.Asset.ResourceStatus;
+
+ /**
+ * Verifies a ResourceStatus message.
+ * @param message Plain 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 ResourceStatus message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ResourceStatus
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.dataplex.v1.Asset.ResourceStatus;
+
+ /**
+ * Creates a plain object from a ResourceStatus message. Also converts values to other types if specified.
+ * @param message ResourceStatus
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.dataplex.v1.Asset.ResourceStatus, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ResourceStatus to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ResourceStatus
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace ResourceStatus {
+
+ /** State enum. */
+ enum State {
+ STATE_UNSPECIFIED = 0,
+ READY = 1,
+ ERROR = 2
+ }
+ }
+
+ /** Properties of a DiscoveryStatus. */
+ interface IDiscoveryStatus {
+
+ /** DiscoveryStatus state */
+ state?: (google.cloud.dataplex.v1.Asset.DiscoveryStatus.State|keyof typeof google.cloud.dataplex.v1.Asset.DiscoveryStatus.State|null);
+
+ /** DiscoveryStatus message */
+ message?: (string|null);
+
+ /** DiscoveryStatus updateTime */
+ updateTime?: (google.protobuf.ITimestamp|null);
+
+ /** DiscoveryStatus lastRunTime */
+ lastRunTime?: (google.protobuf.ITimestamp|null);
+
+ /** DiscoveryStatus stats */
+ stats?: (google.cloud.dataplex.v1.Asset.DiscoveryStatus.IStats|null);
+
+ /** DiscoveryStatus lastRunDuration */
+ lastRunDuration?: (google.protobuf.IDuration|null);
+ }
+
+ /** Represents a DiscoveryStatus. */
+ class DiscoveryStatus implements IDiscoveryStatus {
+
+ /**
+ * Constructs a new DiscoveryStatus.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.dataplex.v1.Asset.IDiscoveryStatus);
+
+ /** DiscoveryStatus state. */
+ public state: (google.cloud.dataplex.v1.Asset.DiscoveryStatus.State|keyof typeof google.cloud.dataplex.v1.Asset.DiscoveryStatus.State);
+
+ /** DiscoveryStatus message. */
+ public message: string;
+
+ /** DiscoveryStatus updateTime. */
+ public updateTime?: (google.protobuf.ITimestamp|null);
+
+ /** DiscoveryStatus lastRunTime. */
+ public lastRunTime?: (google.protobuf.ITimestamp|null);
+
+ /** DiscoveryStatus stats. */
+ public stats?: (google.cloud.dataplex.v1.Asset.DiscoveryStatus.IStats|null);
+
+ /** DiscoveryStatus lastRunDuration. */
+ public lastRunDuration?: (google.protobuf.IDuration|null);
+
+ /**
+ * Creates a new DiscoveryStatus instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns DiscoveryStatus instance
+ */
+ public static create(properties?: google.cloud.dataplex.v1.Asset.IDiscoveryStatus): google.cloud.dataplex.v1.Asset.DiscoveryStatus;
+
+ /**
+ * Encodes the specified DiscoveryStatus message. Does not implicitly {@link google.cloud.dataplex.v1.Asset.DiscoveryStatus.verify|verify} messages.
+ * @param message DiscoveryStatus message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.dataplex.v1.Asset.IDiscoveryStatus, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified DiscoveryStatus message, length delimited. Does not implicitly {@link google.cloud.dataplex.v1.Asset.DiscoveryStatus.verify|verify} messages.
+ * @param message DiscoveryStatus message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.dataplex.v1.Asset.IDiscoveryStatus, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a DiscoveryStatus message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns DiscoveryStatus
+ * @throws {Error} If the payload is not 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.dataplex.v1.Asset.DiscoveryStatus;
+
+ /**
+ * Decodes a DiscoveryStatus message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns DiscoveryStatus
+ * @throws {Error} If the payload 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.dataplex.v1.Asset.DiscoveryStatus;
+
+ /**
+ * Verifies a DiscoveryStatus message.
+ * @param message Plain 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 DiscoveryStatus message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns DiscoveryStatus
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.dataplex.v1.Asset.DiscoveryStatus;
+
+ /**
+ * Creates a plain object from a DiscoveryStatus message. Also converts values to other types if specified.
+ * @param message DiscoveryStatus
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.dataplex.v1.Asset.DiscoveryStatus, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this DiscoveryStatus to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for DiscoveryStatus
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace DiscoveryStatus {
+
+ /** State enum. */
+ enum State {
+ STATE_UNSPECIFIED = 0,
+ SCHEDULED = 1,
+ IN_PROGRESS = 2,
+ PAUSED = 3,
+ DISABLED = 5
+ }
+
+ /** Properties of a Stats. */
+ interface IStats {
+
+ /** Stats dataItems */
+ dataItems?: (number|Long|string|null);
+
+ /** Stats dataSize */
+ dataSize?: (number|Long|string|null);
+
+ /** Stats tables */
+ tables?: (number|Long|string|null);
+
+ /** Stats filesets */
+ filesets?: (number|Long|string|null);
+ }
+
+ /** Represents a Stats. */
+ class Stats implements IStats {
+
+ /**
+ * Constructs a new Stats.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.dataplex.v1.Asset.DiscoveryStatus.IStats);
+
+ /** Stats dataItems. */
+ public dataItems: (number|Long|string);
+
+ /** Stats dataSize. */
+ public dataSize: (number|Long|string);
+
+ /** Stats tables. */
+ public tables: (number|Long|string);
+
+ /** Stats filesets. */
+ public filesets: (number|Long|string);
+
+ /**
+ * Creates a new Stats instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns Stats instance
+ */
+ public static create(properties?: google.cloud.dataplex.v1.Asset.DiscoveryStatus.IStats): google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats;
+
+ /**
+ * Encodes the specified Stats message. Does not implicitly {@link google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats.verify|verify} messages.
+ * @param message Stats message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.dataplex.v1.Asset.DiscoveryStatus.IStats, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified Stats message, length delimited. Does not implicitly {@link google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats.verify|verify} messages.
+ * @param message Stats message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.dataplex.v1.Asset.DiscoveryStatus.IStats, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a Stats message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns Stats
+ * @throws {Error} If the payload is not 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.dataplex.v1.Asset.DiscoveryStatus.Stats;
+
+ /**
+ * Decodes a Stats message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns Stats
+ * @throws {Error} If the payload 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.dataplex.v1.Asset.DiscoveryStatus.Stats;
+
+ /**
+ * Verifies a Stats message.
+ * @param message Plain 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 Stats message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns Stats
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats;
+
+ /**
+ * Creates a plain object from a Stats message. Also converts values to other types if specified.
+ * @param message Stats
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this Stats to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for Stats
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+ }
+ }
+
+ /** State enum. */
+ enum State {
+ STATE_UNSPECIFIED = 0,
+ ACTIVE = 1,
+ CREATING = 2,
+ DELETING = 3,
+ ACTION_REQUIRED = 4
+ }
+
+ /** Represents a ContentService */
+ class ContentService extends $protobuf.rpc.Service {
+
+ /**
+ * Constructs a new ContentService 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 ContentService 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): ContentService;
+
+ /**
+ * Calls CreateContent.
+ * @param request CreateContentRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and Content
+ */
+ public createContent(request: google.cloud.dataplex.v1.ICreateContentRequest, callback: google.cloud.dataplex.v1.ContentService.CreateContentCallback): void;
+
+ /**
+ * Calls CreateContent.
+ * @param request CreateContentRequest message or plain object
+ * @returns Promise
+ */
+ public createContent(request: google.cloud.dataplex.v1.ICreateContentRequest): Promise;
+
+ /**
+ * Calls UpdateContent.
+ * @param request UpdateContentRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and Content
+ */
+ public updateContent(request: google.cloud.dataplex.v1.IUpdateContentRequest, callback: google.cloud.dataplex.v1.ContentService.UpdateContentCallback): void;
+
+ /**
+ * Calls UpdateContent.
+ * @param request UpdateContentRequest message or plain object
+ * @returns Promise
+ */
+ public updateContent(request: google.cloud.dataplex.v1.IUpdateContentRequest): Promise;
+
+ /**
+ * Calls DeleteContent.
+ * @param request DeleteContentRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and Empty
+ */
+ public deleteContent(request: google.cloud.dataplex.v1.IDeleteContentRequest, callback: google.cloud.dataplex.v1.ContentService.DeleteContentCallback): void;
+
+ /**
+ * Calls DeleteContent.
+ * @param request DeleteContentRequest message or plain object
+ * @returns Promise
+ */
+ public deleteContent(request: google.cloud.dataplex.v1.IDeleteContentRequest): Promise;
+
+ /**
+ * Calls GetContent.
+ * @param request GetContentRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and Content
+ */
+ public getContent(request: google.cloud.dataplex.v1.IGetContentRequest, callback: google.cloud.dataplex.v1.ContentService.GetContentCallback): void;
+
+ /**
+ * Calls GetContent.
+ * @param request GetContentRequest message or plain object
+ * @returns Promise
+ */
+ public getContent(request: google.cloud.dataplex.v1.IGetContentRequest): Promise;
+
+ /**
+ * Calls GetIamPolicy.
+ * @param request GetIamPolicyRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and Policy
+ */
+ public getIamPolicy(request: google.iam.v1.IGetIamPolicyRequest, callback: google.cloud.dataplex.v1.ContentService.GetIamPolicyCallback): void;
+
+ /**
+ * Calls GetIamPolicy.
+ * @param request GetIamPolicyRequest message or plain object
+ * @returns Promise
+ */
+ public getIamPolicy(request: google.iam.v1.IGetIamPolicyRequest): Promise;
+
+ /**
+ * Calls SetIamPolicy.
+ * @param request SetIamPolicyRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and Policy
+ */
+ public setIamPolicy(request: google.iam.v1.ISetIamPolicyRequest, callback: google.cloud.dataplex.v1.ContentService.SetIamPolicyCallback): void;
+
+ /**
+ * Calls SetIamPolicy.
+ * @param request SetIamPolicyRequest message or plain object
+ * @returns Promise
+ */
+ public setIamPolicy(request: google.iam.v1.ISetIamPolicyRequest): Promise;
+
+ /**
+ * Calls TestIamPermissions.
+ * @param request TestIamPermissionsRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and TestIamPermissionsResponse
+ */
+ public testIamPermissions(request: google.iam.v1.ITestIamPermissionsRequest, callback: google.cloud.dataplex.v1.ContentService.TestIamPermissionsCallback): void;
+
+ /**
+ * Calls TestIamPermissions.
+ * @param request TestIamPermissionsRequest message or plain object
+ * @returns Promise
+ */
+ public testIamPermissions(request: google.iam.v1.ITestIamPermissionsRequest): Promise;
+
+ /**
+ * Calls ListContent.
+ * @param request ListContentRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and ListContentResponse
+ */
+ public listContent(request: google.cloud.dataplex.v1.IListContentRequest, callback: google.cloud.dataplex.v1.ContentService.ListContentCallback): void;
+
+ /**
+ * Calls ListContent.
+ * @param request ListContentRequest message or plain object
+ * @returns Promise
+ */
+ public listContent(request: google.cloud.dataplex.v1.IListContentRequest): Promise;
+ }
+
+ namespace ContentService {
+
+ /**
+ * Callback as used by {@link google.cloud.dataplex.v1.ContentService|createContent}.
+ * @param error Error, if any
+ * @param [response] Content
+ */
+ type CreateContentCallback = (error: (Error|null), response?: google.cloud.dataplex.v1.Content) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.dataplex.v1.ContentService|updateContent}.
+ * @param error Error, if any
+ * @param [response] Content
+ */
+ type UpdateContentCallback = (error: (Error|null), response?: google.cloud.dataplex.v1.Content) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.dataplex.v1.ContentService|deleteContent}.
+ * @param error Error, if any
+ * @param [response] Empty
+ */
+ type DeleteContentCallback = (error: (Error|null), response?: google.protobuf.Empty) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.dataplex.v1.ContentService|getContent}.
+ * @param error Error, if any
+ * @param [response] Content
+ */
+ type GetContentCallback = (error: (Error|null), response?: google.cloud.dataplex.v1.Content) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.dataplex.v1.ContentService|getIamPolicy}.
+ * @param error Error, if any
+ * @param [response] Policy
+ */
+ type GetIamPolicyCallback = (error: (Error|null), response?: google.iam.v1.Policy) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.dataplex.v1.ContentService|setIamPolicy}.
+ * @param error Error, if any
+ * @param [response] Policy
+ */
+ type SetIamPolicyCallback = (error: (Error|null), response?: google.iam.v1.Policy) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.dataplex.v1.ContentService|testIamPermissions}.
+ * @param error Error, if any
+ * @param [response] TestIamPermissionsResponse
+ */
+ type TestIamPermissionsCallback = (error: (Error|null), response?: google.iam.v1.TestIamPermissionsResponse) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.dataplex.v1.ContentService|listContent}.
+ * @param error Error, if any
+ * @param [response] ListContentResponse
+ */
+ type ListContentCallback = (error: (Error|null), response?: google.cloud.dataplex.v1.ListContentResponse) => void;
+ }
+
+ /** Properties of a CreateContentRequest. */
+ interface ICreateContentRequest {
+
+ /** CreateContentRequest parent */
+ parent?: (string|null);
+
+ /** CreateContentRequest content */
+ content?: (google.cloud.dataplex.v1.IContent|null);
+
+ /** CreateContentRequest validateOnly */
+ validateOnly?: (boolean|null);
+ }
+
+ /** Represents a CreateContentRequest. */
+ class CreateContentRequest implements ICreateContentRequest {
+
+ /**
+ * Constructs a new CreateContentRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.dataplex.v1.ICreateContentRequest);
+
+ /** CreateContentRequest parent. */
+ public parent: string;
+
+ /** CreateContentRequest content. */
+ public content?: (google.cloud.dataplex.v1.IContent|null);
+
+ /** CreateContentRequest validateOnly. */
+ public validateOnly: boolean;
+
+ /**
+ * Creates a new CreateContentRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns CreateContentRequest instance
+ */
+ public static create(properties?: google.cloud.dataplex.v1.ICreateContentRequest): google.cloud.dataplex.v1.CreateContentRequest;
+
+ /**
+ * Encodes the specified CreateContentRequest message. Does not implicitly {@link google.cloud.dataplex.v1.CreateContentRequest.verify|verify} messages.
+ * @param message CreateContentRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.dataplex.v1.ICreateContentRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified CreateContentRequest message, length delimited. Does not implicitly {@link google.cloud.dataplex.v1.CreateContentRequest.verify|verify} messages.
+ * @param message CreateContentRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.dataplex.v1.ICreateContentRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a CreateContentRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns CreateContentRequest
+ * @throws {Error} If the payload is not 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.dataplex.v1.CreateContentRequest;
+
+ /**
+ * Decodes a CreateContentRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns CreateContentRequest
+ * @throws {Error} If the payload 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.dataplex.v1.CreateContentRequest;
+
+ /**
+ * Verifies a CreateContentRequest message.
+ * @param message Plain 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 CreateContentRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns CreateContentRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.dataplex.v1.CreateContentRequest;
+
+ /**
+ * Creates a plain object from a CreateContentRequest message. Also converts values to other types if specified.
+ * @param message CreateContentRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.dataplex.v1.CreateContentRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this CreateContentRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for CreateContentRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of an UpdateContentRequest. */
+ interface IUpdateContentRequest {
+
+ /** UpdateContentRequest updateMask */
+ updateMask?: (google.protobuf.IFieldMask|null);
+
+ /** UpdateContentRequest content */
+ content?: (google.cloud.dataplex.v1.IContent|null);
+
+ /** UpdateContentRequest validateOnly */
+ validateOnly?: (boolean|null);
+ }
+
+ /** Represents an UpdateContentRequest. */
+ class UpdateContentRequest implements IUpdateContentRequest {
+
+ /**
+ * Constructs a new UpdateContentRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.dataplex.v1.IUpdateContentRequest);
+
+ /** UpdateContentRequest updateMask. */
+ public updateMask?: (google.protobuf.IFieldMask|null);
+
+ /** UpdateContentRequest content. */
+ public content?: (google.cloud.dataplex.v1.IContent|null);
+
+ /** UpdateContentRequest validateOnly. */
+ public validateOnly: boolean;
+
+ /**
+ * Creates a new UpdateContentRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns UpdateContentRequest instance
+ */
+ public static create(properties?: google.cloud.dataplex.v1.IUpdateContentRequest): google.cloud.dataplex.v1.UpdateContentRequest;
+
+ /**
+ * Encodes the specified UpdateContentRequest message. Does not implicitly {@link google.cloud.dataplex.v1.UpdateContentRequest.verify|verify} messages.
+ * @param message UpdateContentRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.dataplex.v1.IUpdateContentRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified UpdateContentRequest message, length delimited. Does not implicitly {@link google.cloud.dataplex.v1.UpdateContentRequest.verify|verify} messages.
+ * @param message UpdateContentRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.dataplex.v1.IUpdateContentRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an UpdateContentRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns UpdateContentRequest
+ * @throws {Error} If the payload is not 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.dataplex.v1.UpdateContentRequest;
+
+ /**
+ * Decodes an UpdateContentRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns UpdateContentRequest
+ * @throws {Error} If the payload 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.dataplex.v1.UpdateContentRequest;
+
+ /**
+ * Verifies an UpdateContentRequest message.
+ * @param message Plain 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 UpdateContentRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns UpdateContentRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.dataplex.v1.UpdateContentRequest;
+
+ /**
+ * Creates a plain object from an UpdateContentRequest message. Also converts values to other types if specified.
+ * @param message UpdateContentRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.dataplex.v1.UpdateContentRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this UpdateContentRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for UpdateContentRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a DeleteContentRequest. */
+ interface IDeleteContentRequest {
+
+ /** DeleteContentRequest name */
+ name?: (string|null);
+ }
+
+ /** Represents a DeleteContentRequest. */
+ class DeleteContentRequest implements IDeleteContentRequest {
+
+ /**
+ * Constructs a new DeleteContentRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.dataplex.v1.IDeleteContentRequest);
+
+ /** DeleteContentRequest name. */
+ public name: string;
+
+ /**
+ * Creates a new DeleteContentRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns DeleteContentRequest instance
+ */
+ public static create(properties?: google.cloud.dataplex.v1.IDeleteContentRequest): google.cloud.dataplex.v1.DeleteContentRequest;
+
+ /**
+ * Encodes the specified DeleteContentRequest message. Does not implicitly {@link google.cloud.dataplex.v1.DeleteContentRequest.verify|verify} messages.
+ * @param message DeleteContentRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.dataplex.v1.IDeleteContentRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified DeleteContentRequest message, length delimited. Does not implicitly {@link google.cloud.dataplex.v1.DeleteContentRequest.verify|verify} messages.
+ * @param message DeleteContentRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.dataplex.v1.IDeleteContentRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a DeleteContentRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns DeleteContentRequest
+ * @throws {Error} If the payload is not 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.dataplex.v1.DeleteContentRequest;
+
+ /**
+ * Decodes a DeleteContentRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns DeleteContentRequest
+ * @throws {Error} If the payload 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.dataplex.v1.DeleteContentRequest;
+
+ /**
+ * Verifies a DeleteContentRequest message.
+ * @param message Plain 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 DeleteContentRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns DeleteContentRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.dataplex.v1.DeleteContentRequest;
+
+ /**
+ * Creates a plain object from a DeleteContentRequest message. Also converts values to other types if specified.
+ * @param message DeleteContentRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.dataplex.v1.DeleteContentRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this DeleteContentRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for DeleteContentRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a ListContentRequest. */
+ interface IListContentRequest {
+
+ /** ListContentRequest parent */
+ parent?: (string|null);
+
+ /** ListContentRequest pageSize */
+ pageSize?: (number|null);
+
+ /** ListContentRequest pageToken */
+ pageToken?: (string|null);
+
+ /** ListContentRequest filter */
+ filter?: (string|null);
+ }
+
+ /** Represents a ListContentRequest. */
+ class ListContentRequest implements IListContentRequest {
+
+ /**
+ * Constructs a new ListContentRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.dataplex.v1.IListContentRequest);
+
+ /** ListContentRequest parent. */
+ public parent: string;
+
+ /** ListContentRequest pageSize. */
+ public pageSize: number;
+
+ /** ListContentRequest pageToken. */
+ public pageToken: string;
+
+ /** ListContentRequest filter. */
+ public filter: string;
+
+ /**
+ * Creates a new ListContentRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ListContentRequest instance
+ */
+ public static create(properties?: google.cloud.dataplex.v1.IListContentRequest): google.cloud.dataplex.v1.ListContentRequest;
+
+ /**
+ * Encodes the specified ListContentRequest message. Does not implicitly {@link google.cloud.dataplex.v1.ListContentRequest.verify|verify} messages.
+ * @param message ListContentRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.dataplex.v1.IListContentRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ListContentRequest message, length delimited. Does not implicitly {@link google.cloud.dataplex.v1.ListContentRequest.verify|verify} messages.
+ * @param message ListContentRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.dataplex.v1.IListContentRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ListContentRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ListContentRequest
+ * @throws {Error} If the payload is not 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.dataplex.v1.ListContentRequest;
+
+ /**
+ * Decodes a ListContentRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ListContentRequest
+ * @throws {Error} If the payload 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.dataplex.v1.ListContentRequest;
+
+ /**
+ * Verifies a ListContentRequest message.
+ * @param message Plain 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 ListContentRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ListContentRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.dataplex.v1.ListContentRequest;
+
+ /**
+ * Creates a plain object from a ListContentRequest message. Also converts values to other types if specified.
+ * @param message ListContentRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.dataplex.v1.ListContentRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ListContentRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ListContentRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a ListContentResponse. */
+ interface IListContentResponse {
+
+ /** ListContentResponse content */
+ content?: (google.cloud.dataplex.v1.IContent[]|null);
+
+ /** ListContentResponse nextPageToken */
+ nextPageToken?: (string|null);
+ }
+
+ /** Represents a ListContentResponse. */
+ class ListContentResponse implements IListContentResponse {
+
+ /**
+ * Constructs a new ListContentResponse.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.dataplex.v1.IListContentResponse);
+
+ /** ListContentResponse content. */
+ public content: google.cloud.dataplex.v1.IContent[];
+
+ /** ListContentResponse nextPageToken. */
+ public nextPageToken: string;
+
+ /**
+ * Creates a new ListContentResponse instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ListContentResponse instance
+ */
+ public static create(properties?: google.cloud.dataplex.v1.IListContentResponse): google.cloud.dataplex.v1.ListContentResponse;
+
+ /**
+ * Encodes the specified ListContentResponse message. Does not implicitly {@link google.cloud.dataplex.v1.ListContentResponse.verify|verify} messages.
+ * @param message ListContentResponse message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.dataplex.v1.IListContentResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ListContentResponse message, length delimited. Does not implicitly {@link google.cloud.dataplex.v1.ListContentResponse.verify|verify} messages.
+ * @param message ListContentResponse message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.dataplex.v1.IListContentResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ListContentResponse message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ListContentResponse
+ * @throws {Error} If the payload is not 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.dataplex.v1.ListContentResponse;
+
+ /**
+ * Decodes a ListContentResponse message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ListContentResponse
+ * @throws {Error} If the payload 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.dataplex.v1.ListContentResponse;
+
+ /**
+ * Verifies a ListContentResponse message.
+ * @param message Plain 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 ListContentResponse message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ListContentResponse
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.dataplex.v1.ListContentResponse;
+
+ /**
+ * Creates a plain object from a ListContentResponse message. Also converts values to other types if specified.
+ * @param message ListContentResponse
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.dataplex.v1.ListContentResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ListContentResponse to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ListContentResponse
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a GetContentRequest. */
+ interface IGetContentRequest {
+
+ /** GetContentRequest name */
+ name?: (string|null);
+
+ /** GetContentRequest view */
+ view?: (google.cloud.dataplex.v1.GetContentRequest.ContentView|keyof typeof google.cloud.dataplex.v1.GetContentRequest.ContentView|null);
+ }
+
+ /** Represents a GetContentRequest. */
+ class GetContentRequest implements IGetContentRequest {
+
+ /**
+ * Constructs a new GetContentRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.dataplex.v1.IGetContentRequest);
+
+ /** GetContentRequest name. */
+ public name: string;
+
+ /** GetContentRequest view. */
+ public view: (google.cloud.dataplex.v1.GetContentRequest.ContentView|keyof typeof google.cloud.dataplex.v1.GetContentRequest.ContentView);
+
+ /**
+ * Creates a new GetContentRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns GetContentRequest instance
+ */
+ public static create(properties?: google.cloud.dataplex.v1.IGetContentRequest): google.cloud.dataplex.v1.GetContentRequest;
+
+ /**
+ * Encodes the specified GetContentRequest message. Does not implicitly {@link google.cloud.dataplex.v1.GetContentRequest.verify|verify} messages.
+ * @param message GetContentRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.dataplex.v1.IGetContentRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified GetContentRequest message, length delimited. Does not implicitly {@link google.cloud.dataplex.v1.GetContentRequest.verify|verify} messages.
+ * @param message GetContentRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.dataplex.v1.IGetContentRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a GetContentRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns GetContentRequest
+ * @throws {Error} If the payload is not 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.dataplex.v1.GetContentRequest;
+
+ /**
+ * Decodes a GetContentRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns GetContentRequest
+ * @throws {Error} If the payload 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.dataplex.v1.GetContentRequest;
+
+ /**
+ * Verifies a GetContentRequest message.
+ * @param message Plain 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 GetContentRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns GetContentRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.dataplex.v1.GetContentRequest;
+
+ /**
+ * Creates a plain object from a GetContentRequest message. Also converts values to other types if specified.
+ * @param message GetContentRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.dataplex.v1.GetContentRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this GetContentRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for GetContentRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace GetContentRequest {
+
+ /** ContentView enum. */
+ enum ContentView {
+ CONTENT_VIEW_UNSPECIFIED = 0,
+ BASIC = 1,
+ FULL = 2
+ }
+ }
+
+ /** Properties of a DiscoveryEvent. */
+ interface IDiscoveryEvent {
+
+ /** DiscoveryEvent message */
+ message?: (string|null);
+
+ /** DiscoveryEvent lakeId */
+ lakeId?: (string|null);
+
+ /** DiscoveryEvent zoneId */
+ zoneId?: (string|null);
+
+ /** DiscoveryEvent assetId */
+ assetId?: (string|null);
+
+ /** DiscoveryEvent dataLocation */
+ dataLocation?: (string|null);
+
+ /** DiscoveryEvent type */
+ type?: (google.cloud.dataplex.v1.DiscoveryEvent.EventType|keyof typeof google.cloud.dataplex.v1.DiscoveryEvent.EventType|null);
+
+ /** DiscoveryEvent config */
+ config?: (google.cloud.dataplex.v1.DiscoveryEvent.IConfigDetails|null);
+
+ /** DiscoveryEvent entity */
+ entity?: (google.cloud.dataplex.v1.DiscoveryEvent.IEntityDetails|null);
+
+ /** DiscoveryEvent partition */
+ partition?: (google.cloud.dataplex.v1.DiscoveryEvent.IPartitionDetails|null);
+
+ /** DiscoveryEvent action */
+ action?: (google.cloud.dataplex.v1.DiscoveryEvent.IActionDetails|null);
+ }
+
+ /** Represents a DiscoveryEvent. */
+ class DiscoveryEvent implements IDiscoveryEvent {
+
+ /**
+ * Constructs a new DiscoveryEvent.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.dataplex.v1.IDiscoveryEvent);
+
+ /** DiscoveryEvent message. */
+ public message: string;
+
+ /** DiscoveryEvent lakeId. */
+ public lakeId: string;
+
+ /** DiscoveryEvent zoneId. */
+ public zoneId: string;
+
+ /** DiscoveryEvent assetId. */
+ public assetId: string;
+
+ /** DiscoveryEvent dataLocation. */
+ public dataLocation: string;
+
+ /** DiscoveryEvent type. */
+ public type: (google.cloud.dataplex.v1.DiscoveryEvent.EventType|keyof typeof google.cloud.dataplex.v1.DiscoveryEvent.EventType);
+
+ /** DiscoveryEvent config. */
+ public config?: (google.cloud.dataplex.v1.DiscoveryEvent.IConfigDetails|null);
+
+ /** DiscoveryEvent entity. */
+ public entity?: (google.cloud.dataplex.v1.DiscoveryEvent.IEntityDetails|null);
+
+ /** DiscoveryEvent partition. */
+ public partition?: (google.cloud.dataplex.v1.DiscoveryEvent.IPartitionDetails|null);
+
+ /** DiscoveryEvent action. */
+ public action?: (google.cloud.dataplex.v1.DiscoveryEvent.IActionDetails|null);
+
+ /** DiscoveryEvent details. */
+ public details?: ("config"|"entity"|"partition"|"action");
+
+ /**
+ * Creates a new DiscoveryEvent instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns DiscoveryEvent instance
+ */
+ public static create(properties?: google.cloud.dataplex.v1.IDiscoveryEvent): google.cloud.dataplex.v1.DiscoveryEvent;
+
+ /**
+ * Encodes the specified DiscoveryEvent message. Does not implicitly {@link google.cloud.dataplex.v1.DiscoveryEvent.verify|verify} messages.
+ * @param message DiscoveryEvent message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.dataplex.v1.IDiscoveryEvent, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified DiscoveryEvent message, length delimited. Does not implicitly {@link google.cloud.dataplex.v1.DiscoveryEvent.verify|verify} messages.
+ * @param message DiscoveryEvent message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.dataplex.v1.IDiscoveryEvent, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a DiscoveryEvent message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns DiscoveryEvent
+ * @throws {Error} If the payload is not 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.dataplex.v1.DiscoveryEvent;
+
+ /**
+ * Decodes a DiscoveryEvent message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns DiscoveryEvent
+ * @throws {Error} If the payload 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.dataplex.v1.DiscoveryEvent;
+
+ /**
+ * Verifies a DiscoveryEvent message.
+ * @param message Plain 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 DiscoveryEvent message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns DiscoveryEvent
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.dataplex.v1.DiscoveryEvent;
+
+ /**
+ * Creates a plain object from a DiscoveryEvent message. Also converts values to other types if specified.
+ * @param message DiscoveryEvent
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.dataplex.v1.DiscoveryEvent, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this DiscoveryEvent to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for DiscoveryEvent
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace DiscoveryEvent {
+
+ /** EventType enum. */
+ enum EventType {
+ EVENT_TYPE_UNSPECIFIED = 0,
+ CONFIG = 1,
+ ENTITY_CREATED = 2,
+ ENTITY_UPDATED = 3,
+ ENTITY_DELETED = 4,
+ PARTITION_CREATED = 5,
+ PARTITION_UPDATED = 6,
+ PARTITION_DELETED = 7
+ }
+
+ /** EntityType enum. */
+ enum EntityType {
+ ENTITY_TYPE_UNSPECIFIED = 0,
+ TABLE = 1,
+ FILESET = 2
+ }
+
+ /** Properties of a ConfigDetails. */
+ interface IConfigDetails {
+
+ /** ConfigDetails parameters */
+ parameters?: ({ [k: string]: string }|null);
+ }
+
+ /** Represents a ConfigDetails. */
+ class ConfigDetails implements IConfigDetails {
+
+ /**
+ * Constructs a new ConfigDetails.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.dataplex.v1.DiscoveryEvent.IConfigDetails);
+
+ /** ConfigDetails parameters. */
+ public parameters: { [k: string]: string };
+
+ /**
+ * Creates a new ConfigDetails instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ConfigDetails instance
+ */
+ public static create(properties?: google.cloud.dataplex.v1.DiscoveryEvent.IConfigDetails): google.cloud.dataplex.v1.DiscoveryEvent.ConfigDetails;
+
+ /**
+ * Encodes the specified ConfigDetails message. Does not implicitly {@link google.cloud.dataplex.v1.DiscoveryEvent.ConfigDetails.verify|verify} messages.
+ * @param message ConfigDetails message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.dataplex.v1.DiscoveryEvent.IConfigDetails, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ConfigDetails message, length delimited. Does not implicitly {@link google.cloud.dataplex.v1.DiscoveryEvent.ConfigDetails.verify|verify} messages.
+ * @param message ConfigDetails message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.dataplex.v1.DiscoveryEvent.IConfigDetails, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ConfigDetails message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ConfigDetails
+ * @throws {Error} If the payload is not 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.dataplex.v1.DiscoveryEvent.ConfigDetails;
+
+ /**
+ * Decodes a ConfigDetails message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ConfigDetails
+ * @throws {Error} If the payload 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.dataplex.v1.DiscoveryEvent.ConfigDetails;
+
+ /**
+ * Verifies a ConfigDetails message.
+ * @param message Plain 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 ConfigDetails message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ConfigDetails
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.dataplex.v1.DiscoveryEvent.ConfigDetails;
+
+ /**
+ * Creates a plain object from a ConfigDetails message. Also converts values to other types if specified.
+ * @param message ConfigDetails
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.dataplex.v1.DiscoveryEvent.ConfigDetails, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ConfigDetails to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ConfigDetails
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of an EntityDetails. */
+ interface IEntityDetails {
+
+ /** EntityDetails entity */
+ entity?: (string|null);
+
+ /** EntityDetails type */
+ type?: (google.cloud.dataplex.v1.DiscoveryEvent.EntityType|keyof typeof google.cloud.dataplex.v1.DiscoveryEvent.EntityType|null);
+ }
+
+ /** Represents an EntityDetails. */
+ class EntityDetails implements IEntityDetails {
+
+ /**
+ * Constructs a new EntityDetails.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.dataplex.v1.DiscoveryEvent.IEntityDetails);
+
+ /** EntityDetails entity. */
+ public entity: string;
+
+ /** EntityDetails type. */
+ public type: (google.cloud.dataplex.v1.DiscoveryEvent.EntityType|keyof typeof google.cloud.dataplex.v1.DiscoveryEvent.EntityType);
+
+ /**
+ * Creates a new EntityDetails instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns EntityDetails instance
+ */
+ public static create(properties?: google.cloud.dataplex.v1.DiscoveryEvent.IEntityDetails): google.cloud.dataplex.v1.DiscoveryEvent.EntityDetails;
+
+ /**
+ * Encodes the specified EntityDetails message. Does not implicitly {@link google.cloud.dataplex.v1.DiscoveryEvent.EntityDetails.verify|verify} messages.
+ * @param message EntityDetails message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.dataplex.v1.DiscoveryEvent.IEntityDetails, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified EntityDetails message, length delimited. Does not implicitly {@link google.cloud.dataplex.v1.DiscoveryEvent.EntityDetails.verify|verify} messages.
+ * @param message EntityDetails message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.dataplex.v1.DiscoveryEvent.IEntityDetails, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an EntityDetails message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns EntityDetails
+ * @throws {Error} If the payload is not 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.dataplex.v1.DiscoveryEvent.EntityDetails;
+
+ /**
+ * Decodes an EntityDetails message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns EntityDetails
+ * @throws {Error} If the payload 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.dataplex.v1.DiscoveryEvent.EntityDetails;
+
+ /**
+ * Verifies an EntityDetails message.
+ * @param message Plain 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 EntityDetails message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns EntityDetails
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.dataplex.v1.DiscoveryEvent.EntityDetails;
+
+ /**
+ * Creates a plain object from an EntityDetails message. Also converts values to other types if specified.
+ * @param message EntityDetails
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.dataplex.v1.DiscoveryEvent.EntityDetails, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this EntityDetails to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for EntityDetails
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a PartitionDetails. */
+ interface IPartitionDetails {
+
+ /** PartitionDetails partition */
+ partition?: (string|null);
+
+ /** PartitionDetails entity */
+ entity?: (string|null);
+
+ /** PartitionDetails type */
+ type?: (google.cloud.dataplex.v1.DiscoveryEvent.EntityType|keyof typeof google.cloud.dataplex.v1.DiscoveryEvent.EntityType|null);
+
+ /** PartitionDetails sampledDataLocations */
+ sampledDataLocations?: (string[]|null);
+ }
+
+ /** Represents a PartitionDetails. */
+ class PartitionDetails implements IPartitionDetails {
+
+ /**
+ * Constructs a new PartitionDetails.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.dataplex.v1.DiscoveryEvent.IPartitionDetails);
+
+ /** PartitionDetails partition. */
+ public partition: string;
+
+ /** PartitionDetails entity. */
+ public entity: string;
+
+ /** PartitionDetails type. */
+ public type: (google.cloud.dataplex.v1.DiscoveryEvent.EntityType|keyof typeof google.cloud.dataplex.v1.DiscoveryEvent.EntityType);
+
+ /** PartitionDetails sampledDataLocations. */
+ public sampledDataLocations: string[];
+
+ /**
+ * Creates a new PartitionDetails instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns PartitionDetails instance
+ */
+ public static create(properties?: google.cloud.dataplex.v1.DiscoveryEvent.IPartitionDetails): google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails;
+
+ /**
+ * Encodes the specified PartitionDetails message. Does not implicitly {@link google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails.verify|verify} messages.
+ * @param message PartitionDetails message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.dataplex.v1.DiscoveryEvent.IPartitionDetails, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified PartitionDetails message, length delimited. Does not implicitly {@link google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails.verify|verify} messages.
+ * @param message PartitionDetails message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.dataplex.v1.DiscoveryEvent.IPartitionDetails, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a PartitionDetails message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns PartitionDetails
+ * @throws {Error} If the payload is not 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.dataplex.v1.DiscoveryEvent.PartitionDetails;
+
+ /**
+ * Decodes a PartitionDetails message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns PartitionDetails
+ * @throws {Error} If the payload 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.dataplex.v1.DiscoveryEvent.PartitionDetails;
+
+ /**
+ * Verifies a PartitionDetails message.
+ * @param message Plain 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 PartitionDetails message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns PartitionDetails
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails;
+
+ /**
+ * Creates a plain object from a PartitionDetails message. Also converts values to other types if specified.
+ * @param message PartitionDetails
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this PartitionDetails to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for PartitionDetails
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of an ActionDetails. */
+ interface IActionDetails {
+
+ /** ActionDetails type */
+ type?: (string|null);
+ }
+
+ /** Represents an ActionDetails. */
+ class ActionDetails implements IActionDetails {
+
+ /**
+ * Constructs a new ActionDetails.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.dataplex.v1.DiscoveryEvent.IActionDetails);
+
+ /** ActionDetails type. */
+ public type: string;
+
+ /**
+ * Creates a new ActionDetails instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ActionDetails instance
+ */
+ public static create(properties?: google.cloud.dataplex.v1.DiscoveryEvent.IActionDetails): google.cloud.dataplex.v1.DiscoveryEvent.ActionDetails;
+
+ /**
+ * Encodes the specified ActionDetails message. Does not implicitly {@link google.cloud.dataplex.v1.DiscoveryEvent.ActionDetails.verify|verify} messages.
+ * @param message ActionDetails message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.dataplex.v1.DiscoveryEvent.IActionDetails, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ActionDetails message, length delimited. Does not implicitly {@link google.cloud.dataplex.v1.DiscoveryEvent.ActionDetails.verify|verify} messages.
+ * @param message ActionDetails message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.dataplex.v1.DiscoveryEvent.IActionDetails, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an ActionDetails message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ActionDetails
+ * @throws {Error} If the payload is not 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.dataplex.v1.DiscoveryEvent.ActionDetails;
+
+ /**
+ * Decodes an ActionDetails message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ActionDetails
+ * @throws {Error} If the payload 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.dataplex.v1.DiscoveryEvent.ActionDetails;
+
+ /**
+ * Verifies an ActionDetails message.
+ * @param message Plain 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 ActionDetails message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ActionDetails
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.dataplex.v1.DiscoveryEvent.ActionDetails;
+
+ /**
+ * Creates a plain object from an ActionDetails message. Also converts values to other types if specified.
+ * @param message ActionDetails
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.dataplex.v1.DiscoveryEvent.ActionDetails, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ActionDetails to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ActionDetails
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+ }
+
+ /** Properties of a JobEvent. */
+ interface IJobEvent {
+
+ /** JobEvent message */
+ message?: (string|null);
+
+ /** JobEvent jobId */
+ jobId?: (string|null);
+
+ /** JobEvent startTime */
+ startTime?: (google.protobuf.ITimestamp|null);
+
+ /** JobEvent endTime */
+ endTime?: (google.protobuf.ITimestamp|null);
+
+ /** JobEvent state */
+ state?: (google.cloud.dataplex.v1.JobEvent.State|keyof typeof google.cloud.dataplex.v1.JobEvent.State|null);
+
+ /** JobEvent retries */
+ retries?: (number|null);
+
+ /** JobEvent type */
+ type?: (google.cloud.dataplex.v1.JobEvent.Type|keyof typeof google.cloud.dataplex.v1.JobEvent.Type|null);
+
+ /** JobEvent service */
+ service?: (google.cloud.dataplex.v1.JobEvent.Service|keyof typeof google.cloud.dataplex.v1.JobEvent.Service|null);
+
+ /** JobEvent serviceJob */
+ serviceJob?: (string|null);
+ }
+
+ /** Represents a JobEvent. */
+ class JobEvent implements IJobEvent {
+
+ /**
+ * Constructs a new JobEvent.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.dataplex.v1.IJobEvent);
+
+ /** JobEvent message. */
+ public message: string;
+
+ /** JobEvent jobId. */
+ public jobId: string;
+
+ /** JobEvent startTime. */
+ public startTime?: (google.protobuf.ITimestamp|null);
+
+ /** JobEvent endTime. */
+ public endTime?: (google.protobuf.ITimestamp|null);
+
+ /** JobEvent state. */
+ public state: (google.cloud.dataplex.v1.JobEvent.State|keyof typeof google.cloud.dataplex.v1.JobEvent.State);
+
+ /** JobEvent retries. */
+ public retries: number;
+
+ /** JobEvent type. */
+ public type: (google.cloud.dataplex.v1.JobEvent.Type|keyof typeof google.cloud.dataplex.v1.JobEvent.Type);
+
+ /** JobEvent service. */
+ public service: (google.cloud.dataplex.v1.JobEvent.Service|keyof typeof google.cloud.dataplex.v1.JobEvent.Service);
+
+ /** JobEvent serviceJob. */
+ public serviceJob: string;
+
+ /**
+ * Creates a new JobEvent instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns JobEvent instance
+ */
+ public static create(properties?: google.cloud.dataplex.v1.IJobEvent): google.cloud.dataplex.v1.JobEvent;
+
+ /**
+ * Encodes the specified JobEvent message. Does not implicitly {@link google.cloud.dataplex.v1.JobEvent.verify|verify} messages.
+ * @param message JobEvent message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.dataplex.v1.IJobEvent, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified JobEvent message, length delimited. Does not implicitly {@link google.cloud.dataplex.v1.JobEvent.verify|verify} messages.
+ * @param message JobEvent message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.dataplex.v1.IJobEvent, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a JobEvent message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns JobEvent
+ * @throws {Error} If the payload is not 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.dataplex.v1.JobEvent;
+
+ /**
+ * Decodes a JobEvent message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns JobEvent
+ * @throws {Error} If the payload 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.dataplex.v1.JobEvent;
+
+ /**
+ * Verifies a JobEvent message.
+ * @param message Plain 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 JobEvent message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns JobEvent
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.dataplex.v1.JobEvent;
+
+ /**
+ * Creates a plain object from a JobEvent message. Also converts values to other types if specified.
+ * @param message JobEvent
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.dataplex.v1.JobEvent, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this JobEvent to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for JobEvent
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace JobEvent {
+
+ /** Type enum. */
+ enum Type {
+ TYPE_UNSPECIFIED = 0,
+ SPARK = 1,
+ NOTEBOOK = 2
+ }
+
+ /** State enum. */
+ enum State {
+ STATE_UNSPECIFIED = 0,
+ SUCCEEDED = 1,
+ FAILED = 2,
+ CANCELLED = 3,
+ ABORTED = 4
+ }
+
+ /** Service enum. */
+ enum Service {
+ SERVICE_UNSPECIFIED = 0,
+ DATAPROC = 1
+ }
+ }
+
+ /** Properties of a SessionEvent. */
+ interface ISessionEvent {
+
+ /** SessionEvent message */
+ message?: (string|null);
+
+ /** SessionEvent userId */
+ userId?: (string|null);
+
+ /** SessionEvent sessionId */
+ sessionId?: (string|null);
+
+ /** SessionEvent type */
+ type?: (google.cloud.dataplex.v1.SessionEvent.EventType|keyof typeof google.cloud.dataplex.v1.SessionEvent.EventType|null);
+
+ /** SessionEvent query */
+ query?: (google.cloud.dataplex.v1.SessionEvent.IQueryDetail|null);
+
+ /** SessionEvent eventSucceeded */
+ eventSucceeded?: (boolean|null);
+
+ /** SessionEvent fastStartupEnabled */
+ fastStartupEnabled?: (boolean|null);
+
+ /** SessionEvent unassignedDuration */
+ unassignedDuration?: (google.protobuf.IDuration|null);
+ }
+
+ /** Represents a SessionEvent. */
+ class SessionEvent implements ISessionEvent {
+
+ /**
+ * Constructs a new SessionEvent.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.dataplex.v1.ISessionEvent);
+
+ /** SessionEvent message. */
+ public message: string;
+
+ /** SessionEvent userId. */
+ public userId: string;
+
+ /** SessionEvent sessionId. */
+ public sessionId: string;
+
+ /** SessionEvent type. */
+ public type: (google.cloud.dataplex.v1.SessionEvent.EventType|keyof typeof google.cloud.dataplex.v1.SessionEvent.EventType);
+
+ /** SessionEvent query. */
+ public query?: (google.cloud.dataplex.v1.SessionEvent.IQueryDetail|null);
+
+ /** SessionEvent eventSucceeded. */
+ public eventSucceeded: boolean;
+
+ /** SessionEvent fastStartupEnabled. */
+ public fastStartupEnabled: boolean;
+
+ /** SessionEvent unassignedDuration. */
+ public unassignedDuration?: (google.protobuf.IDuration|null);
+
+ /** SessionEvent detail. */
+ public detail?: "query";
+
+ /**
+ * Creates a new SessionEvent instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns SessionEvent instance
+ */
+ public static create(properties?: google.cloud.dataplex.v1.ISessionEvent): google.cloud.dataplex.v1.SessionEvent;
+
+ /**
+ * Encodes the specified SessionEvent message. Does not implicitly {@link google.cloud.dataplex.v1.SessionEvent.verify|verify} messages.
+ * @param message SessionEvent message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.dataplex.v1.ISessionEvent, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified SessionEvent message, length delimited. Does not implicitly {@link google.cloud.dataplex.v1.SessionEvent.verify|verify} messages.
+ * @param message SessionEvent message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.dataplex.v1.ISessionEvent, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a SessionEvent message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns SessionEvent
+ * @throws {Error} If the payload is not 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.dataplex.v1.SessionEvent;
+
+ /**
+ * Decodes a SessionEvent message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns SessionEvent
+ * @throws {Error} If the payload 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.dataplex.v1.SessionEvent;
+
+ /**
+ * Verifies a SessionEvent message.
+ * @param message Plain 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 SessionEvent message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns SessionEvent
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.dataplex.v1.SessionEvent;
+
+ /**
+ * Creates a plain object from a SessionEvent message. Also converts values to other types if specified.
+ * @param message SessionEvent
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.dataplex.v1.SessionEvent, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this SessionEvent to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for SessionEvent
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace SessionEvent {
+
+ /** EventType enum. */
+ enum EventType {
+ EVENT_TYPE_UNSPECIFIED = 0,
+ START = 1,
+ STOP = 2,
+ QUERY = 3,
+ CREATE = 4
+ }
+
+ /** Properties of a QueryDetail. */
+ interface IQueryDetail {
+
+ /** QueryDetail queryId */
+ queryId?: (string|null);
+
+ /** QueryDetail queryText */
+ queryText?: (string|null);
+
+ /** QueryDetail engine */
+ engine?: (google.cloud.dataplex.v1.SessionEvent.QueryDetail.Engine|keyof typeof google.cloud.dataplex.v1.SessionEvent.QueryDetail.Engine|null);
+
+ /** QueryDetail duration */
+ duration?: (google.protobuf.IDuration|null);
+
+ /** QueryDetail resultSizeBytes */
+ resultSizeBytes?: (number|Long|string|null);
+
+ /** QueryDetail dataProcessedBytes */
+ dataProcessedBytes?: (number|Long|string|null);
+ }
+
+ /** Represents a QueryDetail. */
+ class QueryDetail implements IQueryDetail {
+
+ /**
+ * Constructs a new QueryDetail.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.dataplex.v1.SessionEvent.IQueryDetail);
+
+ /** QueryDetail queryId. */
+ public queryId: string;
+
+ /** QueryDetail queryText. */
+ public queryText: string;
+
+ /** QueryDetail engine. */
+ public engine: (google.cloud.dataplex.v1.SessionEvent.QueryDetail.Engine|keyof typeof google.cloud.dataplex.v1.SessionEvent.QueryDetail.Engine);
+
+ /** QueryDetail duration. */
+ public duration?: (google.protobuf.IDuration|null);
+
+ /** QueryDetail resultSizeBytes. */
+ public resultSizeBytes: (number|Long|string);
+
+ /** QueryDetail dataProcessedBytes. */
+ public dataProcessedBytes: (number|Long|string);
+
+ /**
+ * Creates a new QueryDetail instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns QueryDetail instance
+ */
+ public static create(properties?: google.cloud.dataplex.v1.SessionEvent.IQueryDetail): google.cloud.dataplex.v1.SessionEvent.QueryDetail;
+
+ /**
+ * Encodes the specified QueryDetail message. Does not implicitly {@link google.cloud.dataplex.v1.SessionEvent.QueryDetail.verify|verify} messages.
+ * @param message QueryDetail message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.dataplex.v1.SessionEvent.IQueryDetail, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified QueryDetail message, length delimited. Does not implicitly {@link google.cloud.dataplex.v1.SessionEvent.QueryDetail.verify|verify} messages.
+ * @param message QueryDetail message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.dataplex.v1.SessionEvent.IQueryDetail, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a QueryDetail message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns QueryDetail
+ * @throws {Error} If the payload is not 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.dataplex.v1.SessionEvent.QueryDetail;
+
+ /**
+ * Decodes a QueryDetail message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns QueryDetail
+ * @throws {Error} If the payload 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.dataplex.v1.SessionEvent.QueryDetail;
+
+ /**
+ * Verifies a QueryDetail message.
+ * @param message Plain 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 QueryDetail message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns QueryDetail
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.dataplex.v1.SessionEvent.QueryDetail;
+
+ /**
+ * Creates a plain object from a QueryDetail message. Also converts values to other types if specified.
+ * @param message QueryDetail
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.dataplex.v1.SessionEvent.QueryDetail, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this QueryDetail to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for QueryDetail
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace QueryDetail {
+
+ /** Engine enum. */
+ enum Engine {
+ ENGINE_UNSPECIFIED = 0,
+ SPARK_SQL = 1,
+ BIGQUERY = 2
+ }
+ }
+ }
+
+ /** Represents a MetadataService */
+ class MetadataService extends $protobuf.rpc.Service {
+
+ /**
+ * Constructs a new MetadataService 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 MetadataService 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): MetadataService;
+
+ /**
+ * Calls CreateEntity.
+ * @param request CreateEntityRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and Entity
+ */
+ public createEntity(request: google.cloud.dataplex.v1.ICreateEntityRequest, callback: google.cloud.dataplex.v1.MetadataService.CreateEntityCallback): void;
+
+ /**
+ * Calls CreateEntity.
+ * @param request CreateEntityRequest message or plain object
+ * @returns Promise
+ */
+ public createEntity(request: google.cloud.dataplex.v1.ICreateEntityRequest): Promise;
+
+ /**
+ * Calls UpdateEntity.
+ * @param request UpdateEntityRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and Entity
+ */
+ public updateEntity(request: google.cloud.dataplex.v1.IUpdateEntityRequest, callback: google.cloud.dataplex.v1.MetadataService.UpdateEntityCallback): void;
+
+ /**
+ * Calls UpdateEntity.
+ * @param request UpdateEntityRequest message or plain object
+ * @returns Promise
+ */
+ public updateEntity(request: google.cloud.dataplex.v1.IUpdateEntityRequest): Promise;
+
+ /**
+ * Calls DeleteEntity.
+ * @param request DeleteEntityRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and Empty
+ */
+ public deleteEntity(request: google.cloud.dataplex.v1.IDeleteEntityRequest, callback: google.cloud.dataplex.v1.MetadataService.DeleteEntityCallback): void;
+
+ /**
+ * Calls DeleteEntity.
+ * @param request DeleteEntityRequest message or plain object
+ * @returns Promise
+ */
+ public deleteEntity(request: google.cloud.dataplex.v1.IDeleteEntityRequest): Promise;
+
+ /**
+ * Calls GetEntity.
+ * @param request GetEntityRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and Entity
+ */
+ public getEntity(request: google.cloud.dataplex.v1.IGetEntityRequest, callback: google.cloud.dataplex.v1.MetadataService.GetEntityCallback): void;
+
+ /**
+ * Calls GetEntity.
+ * @param request GetEntityRequest message or plain object
+ * @returns Promise
+ */
+ public getEntity(request: google.cloud.dataplex.v1.IGetEntityRequest): Promise;
+
+ /**
+ * Calls ListEntities.
+ * @param request ListEntitiesRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and ListEntitiesResponse
+ */
+ public listEntities(request: google.cloud.dataplex.v1.IListEntitiesRequest, callback: google.cloud.dataplex.v1.MetadataService.ListEntitiesCallback): void;
+
+ /**
+ * Calls ListEntities.
+ * @param request ListEntitiesRequest message or plain object
+ * @returns Promise
+ */
+ public listEntities(request: google.cloud.dataplex.v1.IListEntitiesRequest): Promise;
+
+ /**
+ * Calls CreatePartition.
+ * @param request CreatePartitionRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and Partition
+ */
+ public createPartition(request: google.cloud.dataplex.v1.ICreatePartitionRequest, callback: google.cloud.dataplex.v1.MetadataService.CreatePartitionCallback): void;
+
+ /**
+ * Calls CreatePartition.
+ * @param request CreatePartitionRequest message or plain object
+ * @returns Promise
+ */
+ public createPartition(request: google.cloud.dataplex.v1.ICreatePartitionRequest): Promise;
+
+ /**
+ * Calls DeletePartition.
+ * @param request DeletePartitionRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and Empty
+ */
+ public deletePartition(request: google.cloud.dataplex.v1.IDeletePartitionRequest, callback: google.cloud.dataplex.v1.MetadataService.DeletePartitionCallback): void;
+
+ /**
+ * Calls DeletePartition.
+ * @param request DeletePartitionRequest message or plain object
+ * @returns Promise
+ */
+ public deletePartition(request: google.cloud.dataplex.v1.IDeletePartitionRequest): Promise;
+
+ /**
+ * Calls GetPartition.
+ * @param request GetPartitionRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and Partition
+ */
+ public getPartition(request: google.cloud.dataplex.v1.IGetPartitionRequest, callback: google.cloud.dataplex.v1.MetadataService.GetPartitionCallback): void;
+
+ /**
+ * Calls GetPartition.
+ * @param request GetPartitionRequest message or plain object
+ * @returns Promise
+ */
+ public getPartition(request: google.cloud.dataplex.v1.IGetPartitionRequest): Promise;
+
+ /**
+ * Calls ListPartitions.
+ * @param request ListPartitionsRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and ListPartitionsResponse
+ */
+ public listPartitions(request: google.cloud.dataplex.v1.IListPartitionsRequest, callback: google.cloud.dataplex.v1.MetadataService.ListPartitionsCallback): void;
+
+ /**
+ * Calls ListPartitions.
+ * @param request ListPartitionsRequest message or plain object
+ * @returns Promise
+ */
+ public listPartitions(request: google.cloud.dataplex.v1.IListPartitionsRequest): Promise;
+ }
+
+ namespace MetadataService {
+
+ /**
+ * Callback as used by {@link google.cloud.dataplex.v1.MetadataService|createEntity}.
+ * @param error Error, if any
+ * @param [response] Entity
+ */
+ type CreateEntityCallback = (error: (Error|null), response?: google.cloud.dataplex.v1.Entity) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.dataplex.v1.MetadataService|updateEntity}.
+ * @param error Error, if any
+ * @param [response] Entity
+ */
+ type UpdateEntityCallback = (error: (Error|null), response?: google.cloud.dataplex.v1.Entity) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.dataplex.v1.MetadataService|deleteEntity}.
+ * @param error Error, if any
+ * @param [response] Empty
+ */
+ type DeleteEntityCallback = (error: (Error|null), response?: google.protobuf.Empty) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.dataplex.v1.MetadataService|getEntity}.
+ * @param error Error, if any
+ * @param [response] Entity
+ */
+ type GetEntityCallback = (error: (Error|null), response?: google.cloud.dataplex.v1.Entity) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.dataplex.v1.MetadataService|listEntities}.
+ * @param error Error, if any
+ * @param [response] ListEntitiesResponse
+ */
+ type ListEntitiesCallback = (error: (Error|null), response?: google.cloud.dataplex.v1.ListEntitiesResponse) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.dataplex.v1.MetadataService|createPartition}.
+ * @param error Error, if any
+ * @param [response] Partition
+ */
+ type CreatePartitionCallback = (error: (Error|null), response?: google.cloud.dataplex.v1.Partition) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.dataplex.v1.MetadataService|deletePartition}.
+ * @param error Error, if any
+ * @param [response] Empty
+ */
+ type DeletePartitionCallback = (error: (Error|null), response?: google.protobuf.Empty) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.dataplex.v1.MetadataService|getPartition}.
+ * @param error Error, if any
+ * @param [response] Partition
+ */
+ type GetPartitionCallback = (error: (Error|null), response?: google.cloud.dataplex.v1.Partition) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.dataplex.v1.MetadataService|listPartitions}.
+ * @param error Error, if any
+ * @param [response] ListPartitionsResponse
+ */
+ type ListPartitionsCallback = (error: (Error|null), response?: google.cloud.dataplex.v1.ListPartitionsResponse) => void;
+ }
+
+ /** Properties of a CreateEntityRequest. */
+ interface ICreateEntityRequest {
+
+ /** CreateEntityRequest parent */
+ parent?: (string|null);
+
+ /** CreateEntityRequest entity */
+ entity?: (google.cloud.dataplex.v1.IEntity|null);
+
+ /** CreateEntityRequest validateOnly */
+ validateOnly?: (boolean|null);
+ }
+
+ /** Represents a CreateEntityRequest. */
+ class CreateEntityRequest implements ICreateEntityRequest {
+
+ /**
+ * Constructs a new CreateEntityRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.dataplex.v1.ICreateEntityRequest);
+
+ /** CreateEntityRequest parent. */
+ public parent: string;
+
+ /** CreateEntityRequest entity. */
+ public entity?: (google.cloud.dataplex.v1.IEntity|null);
+
+ /** CreateEntityRequest validateOnly. */
+ public validateOnly: boolean;
+
+ /**
+ * Creates a new CreateEntityRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns CreateEntityRequest instance
+ */
+ public static create(properties?: google.cloud.dataplex.v1.ICreateEntityRequest): google.cloud.dataplex.v1.CreateEntityRequest;
+
+ /**
+ * Encodes the specified CreateEntityRequest message. Does not implicitly {@link google.cloud.dataplex.v1.CreateEntityRequest.verify|verify} messages.
+ * @param message CreateEntityRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.dataplex.v1.ICreateEntityRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified CreateEntityRequest message, length delimited. Does not implicitly {@link google.cloud.dataplex.v1.CreateEntityRequest.verify|verify} messages.
+ * @param message CreateEntityRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.dataplex.v1.ICreateEntityRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a CreateEntityRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns CreateEntityRequest
+ * @throws {Error} If the payload is not 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.dataplex.v1.CreateEntityRequest;
+
+ /**
+ * Decodes a CreateEntityRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns CreateEntityRequest
+ * @throws {Error} If the payload 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.dataplex.v1.CreateEntityRequest;
+
+ /**
+ * Verifies a CreateEntityRequest message.
+ * @param message Plain 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 CreateEntityRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns CreateEntityRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.dataplex.v1.CreateEntityRequest;
+
+ /**
+ * Creates a plain object from a CreateEntityRequest message. Also converts values to other types if specified.
+ * @param message CreateEntityRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.dataplex.v1.CreateEntityRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this CreateEntityRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for CreateEntityRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of an UpdateEntityRequest. */
+ interface IUpdateEntityRequest {
+
+ /** UpdateEntityRequest entity */
+ entity?: (google.cloud.dataplex.v1.IEntity|null);
+
+ /** UpdateEntityRequest validateOnly */
+ validateOnly?: (boolean|null);
+ }
+
+ /** Represents an UpdateEntityRequest. */
+ class UpdateEntityRequest implements IUpdateEntityRequest {
+
+ /**
+ * Constructs a new UpdateEntityRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.dataplex.v1.IUpdateEntityRequest);
+
+ /** UpdateEntityRequest entity. */
+ public entity?: (google.cloud.dataplex.v1.IEntity|null);
+
+ /** UpdateEntityRequest validateOnly. */
+ public validateOnly: boolean;
+
+ /**
+ * Creates a new UpdateEntityRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns UpdateEntityRequest instance
+ */
+ public static create(properties?: google.cloud.dataplex.v1.IUpdateEntityRequest): google.cloud.dataplex.v1.UpdateEntityRequest;
+
+ /**
+ * Encodes the specified UpdateEntityRequest message. Does not implicitly {@link google.cloud.dataplex.v1.UpdateEntityRequest.verify|verify} messages.
+ * @param message UpdateEntityRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.dataplex.v1.IUpdateEntityRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified UpdateEntityRequest message, length delimited. Does not implicitly {@link google.cloud.dataplex.v1.UpdateEntityRequest.verify|verify} messages.
+ * @param message UpdateEntityRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.dataplex.v1.IUpdateEntityRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an UpdateEntityRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns UpdateEntityRequest
+ * @throws {Error} If the payload is not 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.dataplex.v1.UpdateEntityRequest;
+
+ /**
+ * Decodes an UpdateEntityRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns UpdateEntityRequest
+ * @throws {Error} If the payload 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.dataplex.v1.UpdateEntityRequest;
+
+ /**
+ * Verifies an UpdateEntityRequest message.
+ * @param message Plain 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 UpdateEntityRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns UpdateEntityRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.dataplex.v1.UpdateEntityRequest;
+
+ /**
+ * Creates a plain object from an UpdateEntityRequest message. Also converts values to other types if specified.
+ * @param message UpdateEntityRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.dataplex.v1.UpdateEntityRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this UpdateEntityRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for UpdateEntityRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a DeleteEntityRequest. */
+ interface IDeleteEntityRequest {
+
+ /** DeleteEntityRequest name */
+ name?: (string|null);
+
+ /** DeleteEntityRequest etag */
+ etag?: (string|null);
+ }
+
+ /** Represents a DeleteEntityRequest. */
+ class DeleteEntityRequest implements IDeleteEntityRequest {
+
+ /**
+ * Constructs a new DeleteEntityRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.dataplex.v1.IDeleteEntityRequest);
+
+ /** DeleteEntityRequest name. */
+ public name: string;
+
+ /** DeleteEntityRequest etag. */
+ public etag: string;
+
+ /**
+ * Creates a new DeleteEntityRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns DeleteEntityRequest instance
+ */
+ public static create(properties?: google.cloud.dataplex.v1.IDeleteEntityRequest): google.cloud.dataplex.v1.DeleteEntityRequest;
+
+ /**
+ * Encodes the specified DeleteEntityRequest message. Does not implicitly {@link google.cloud.dataplex.v1.DeleteEntityRequest.verify|verify} messages.
+ * @param message DeleteEntityRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.dataplex.v1.IDeleteEntityRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified DeleteEntityRequest message, length delimited. Does not implicitly {@link google.cloud.dataplex.v1.DeleteEntityRequest.verify|verify} messages.
+ * @param message DeleteEntityRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.dataplex.v1.IDeleteEntityRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a DeleteEntityRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns DeleteEntityRequest
+ * @throws {Error} If the payload is not 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.dataplex.v1.DeleteEntityRequest;
+
+ /**
+ * Decodes a DeleteEntityRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns DeleteEntityRequest
+ * @throws {Error} If the payload 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.dataplex.v1.DeleteEntityRequest;
+
+ /**
+ * Verifies a DeleteEntityRequest message.
+ * @param message Plain 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 DeleteEntityRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns DeleteEntityRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.dataplex.v1.DeleteEntityRequest;
+
+ /**
+ * Creates a plain object from a DeleteEntityRequest message. Also converts values to other types if specified.
+ * @param message DeleteEntityRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.dataplex.v1.DeleteEntityRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this DeleteEntityRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for DeleteEntityRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a ListEntitiesRequest. */
+ interface IListEntitiesRequest {
+
+ /** ListEntitiesRequest parent */
+ parent?: (string|null);
+
+ /** ListEntitiesRequest view */
+ view?: (google.cloud.dataplex.v1.ListEntitiesRequest.EntityView|keyof typeof google.cloud.dataplex.v1.ListEntitiesRequest.EntityView|null);
+
+ /** ListEntitiesRequest pageSize */
+ pageSize?: (number|null);
+
+ /** ListEntitiesRequest pageToken */
+ pageToken?: (string|null);
+
+ /** ListEntitiesRequest filter */
+ filter?: (string|null);
+ }
+
+ /** Represents a ListEntitiesRequest. */
+ class ListEntitiesRequest implements IListEntitiesRequest {
+
+ /**
+ * Constructs a new ListEntitiesRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.dataplex.v1.IListEntitiesRequest);
+
+ /** ListEntitiesRequest parent. */
+ public parent: string;
+
+ /** ListEntitiesRequest view. */
+ public view: (google.cloud.dataplex.v1.ListEntitiesRequest.EntityView|keyof typeof google.cloud.dataplex.v1.ListEntitiesRequest.EntityView);
+
+ /** ListEntitiesRequest pageSize. */
+ public pageSize: number;
+
+ /** ListEntitiesRequest pageToken. */
+ public pageToken: string;
+
+ /** ListEntitiesRequest filter. */
+ public filter: string;
+
+ /**
+ * Creates a new ListEntitiesRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ListEntitiesRequest instance
+ */
+ public static create(properties?: google.cloud.dataplex.v1.IListEntitiesRequest): google.cloud.dataplex.v1.ListEntitiesRequest;
+
+ /**
+ * Encodes the specified ListEntitiesRequest message. Does not implicitly {@link google.cloud.dataplex.v1.ListEntitiesRequest.verify|verify} messages.
+ * @param message ListEntitiesRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.dataplex.v1.IListEntitiesRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ListEntitiesRequest message, length delimited. Does not implicitly {@link google.cloud.dataplex.v1.ListEntitiesRequest.verify|verify} messages.
+ * @param message ListEntitiesRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.dataplex.v1.IListEntitiesRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ListEntitiesRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ListEntitiesRequest
+ * @throws {Error} If the payload is not 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.dataplex.v1.ListEntitiesRequest;
+
+ /**
+ * Decodes a ListEntitiesRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ListEntitiesRequest
+ * @throws {Error} If the payload 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.dataplex.v1.ListEntitiesRequest;
+
+ /**
+ * Verifies a ListEntitiesRequest message.
+ * @param message Plain 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 ListEntitiesRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ListEntitiesRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.dataplex.v1.ListEntitiesRequest;
+
+ /**
+ * Creates a plain object from a ListEntitiesRequest message. Also converts values to other types if specified.
+ * @param message ListEntitiesRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.dataplex.v1.ListEntitiesRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ListEntitiesRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ListEntitiesRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace ListEntitiesRequest {
+
+ /** EntityView enum. */
+ enum EntityView {
+ ENTITY_VIEW_UNSPECIFIED = 0,
+ TABLES = 1,
+ FILESETS = 2
+ }
+ }
+
+ /** Properties of a ListEntitiesResponse. */
+ interface IListEntitiesResponse {
+
+ /** ListEntitiesResponse entities */
+ entities?: (google.cloud.dataplex.v1.IEntity[]|null);
+
+ /** ListEntitiesResponse nextPageToken */
+ nextPageToken?: (string|null);
+ }
+
+ /** Represents a ListEntitiesResponse. */
+ class ListEntitiesResponse implements IListEntitiesResponse {
+
+ /**
+ * Constructs a new ListEntitiesResponse.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.dataplex.v1.IListEntitiesResponse);
+
+ /** ListEntitiesResponse entities. */
+ public entities: google.cloud.dataplex.v1.IEntity[];
+
+ /** ListEntitiesResponse nextPageToken. */
+ public nextPageToken: string;
+
+ /**
+ * Creates a new ListEntitiesResponse instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ListEntitiesResponse instance
+ */
+ public static create(properties?: google.cloud.dataplex.v1.IListEntitiesResponse): google.cloud.dataplex.v1.ListEntitiesResponse;
+
+ /**
+ * Encodes the specified ListEntitiesResponse message. Does not implicitly {@link google.cloud.dataplex.v1.ListEntitiesResponse.verify|verify} messages.
+ * @param message ListEntitiesResponse message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.dataplex.v1.IListEntitiesResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ListEntitiesResponse message, length delimited. Does not implicitly {@link google.cloud.dataplex.v1.ListEntitiesResponse.verify|verify} messages.
+ * @param message ListEntitiesResponse message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.dataplex.v1.IListEntitiesResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ListEntitiesResponse message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ListEntitiesResponse
+ * @throws {Error} If the payload is not 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.dataplex.v1.ListEntitiesResponse;
+
+ /**
+ * Decodes a ListEntitiesResponse message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ListEntitiesResponse
+ * @throws {Error} If the payload 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.dataplex.v1.ListEntitiesResponse;
+
+ /**
+ * Verifies a ListEntitiesResponse message.
+ * @param message Plain 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 ListEntitiesResponse message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ListEntitiesResponse
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.dataplex.v1.ListEntitiesResponse;
+
+ /**
+ * Creates a plain object from a ListEntitiesResponse message. Also converts values to other types if specified.
+ * @param message ListEntitiesResponse
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.dataplex.v1.ListEntitiesResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ListEntitiesResponse to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ListEntitiesResponse
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a GetEntityRequest. */
+ interface IGetEntityRequest {
+
+ /** GetEntityRequest name */
+ name?: (string|null);
+
+ /** GetEntityRequest view */
+ view?: (google.cloud.dataplex.v1.GetEntityRequest.EntityView|keyof typeof google.cloud.dataplex.v1.GetEntityRequest.EntityView|null);
+ }
+
+ /** Represents a GetEntityRequest. */
+ class GetEntityRequest implements IGetEntityRequest {
+
+ /**
+ * Constructs a new GetEntityRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.dataplex.v1.IGetEntityRequest);
+
+ /** GetEntityRequest name. */
+ public name: string;
+
+ /** GetEntityRequest view. */
+ public view: (google.cloud.dataplex.v1.GetEntityRequest.EntityView|keyof typeof google.cloud.dataplex.v1.GetEntityRequest.EntityView);
+
+ /**
+ * Creates a new GetEntityRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns GetEntityRequest instance
+ */
+ public static create(properties?: google.cloud.dataplex.v1.IGetEntityRequest): google.cloud.dataplex.v1.GetEntityRequest;
+
+ /**
+ * Encodes the specified GetEntityRequest message. Does not implicitly {@link google.cloud.dataplex.v1.GetEntityRequest.verify|verify} messages.
+ * @param message GetEntityRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.dataplex.v1.IGetEntityRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified GetEntityRequest message, length delimited. Does not implicitly {@link google.cloud.dataplex.v1.GetEntityRequest.verify|verify} messages.
+ * @param message GetEntityRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.dataplex.v1.IGetEntityRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a GetEntityRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns GetEntityRequest
+ * @throws {Error} If the payload is not 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.dataplex.v1.GetEntityRequest;
+
+ /**
+ * Decodes a GetEntityRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns GetEntityRequest
+ * @throws {Error} If the payload 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.dataplex.v1.GetEntityRequest;
+
+ /**
+ * Verifies a GetEntityRequest message.
+ * @param message Plain 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 GetEntityRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns GetEntityRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.dataplex.v1.GetEntityRequest;
+
+ /**
+ * Creates a plain object from a GetEntityRequest message. Also converts values to other types if specified.
+ * @param message GetEntityRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.dataplex.v1.GetEntityRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this GetEntityRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for GetEntityRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace GetEntityRequest {
+
+ /** EntityView enum. */
+ enum EntityView {
+ ENTITY_VIEW_UNSPECIFIED = 0,
+ BASIC = 1,
+ SCHEMA = 2,
+ FULL = 4
+ }
+ }
+
+ /** Properties of a ListPartitionsRequest. */
+ interface IListPartitionsRequest {
+
+ /** ListPartitionsRequest parent */
+ parent?: (string|null);
+
+ /** ListPartitionsRequest pageSize */
+ pageSize?: (number|null);
+
+ /** ListPartitionsRequest pageToken */
+ pageToken?: (string|null);
+
+ /** ListPartitionsRequest filter */
+ filter?: (string|null);
+ }
+
+ /** Represents a ListPartitionsRequest. */
+ class ListPartitionsRequest implements IListPartitionsRequest {
+
+ /**
+ * Constructs a new ListPartitionsRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.dataplex.v1.IListPartitionsRequest);
+
+ /** ListPartitionsRequest parent. */
+ public parent: string;
+
+ /** ListPartitionsRequest pageSize. */
+ public pageSize: number;
+
+ /** ListPartitionsRequest pageToken. */
+ public pageToken: string;
+
+ /** ListPartitionsRequest filter. */
+ public filter: string;
+
+ /**
+ * Creates a new ListPartitionsRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ListPartitionsRequest instance
+ */
+ public static create(properties?: google.cloud.dataplex.v1.IListPartitionsRequest): google.cloud.dataplex.v1.ListPartitionsRequest;
+
+ /**
+ * Encodes the specified ListPartitionsRequest message. Does not implicitly {@link google.cloud.dataplex.v1.ListPartitionsRequest.verify|verify} messages.
+ * @param message ListPartitionsRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.dataplex.v1.IListPartitionsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ListPartitionsRequest message, length delimited. Does not implicitly {@link google.cloud.dataplex.v1.ListPartitionsRequest.verify|verify} messages.
+ * @param message ListPartitionsRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.dataplex.v1.IListPartitionsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ListPartitionsRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ListPartitionsRequest
+ * @throws {Error} If the payload is not 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.dataplex.v1.ListPartitionsRequest;
+
+ /**
+ * Decodes a ListPartitionsRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ListPartitionsRequest
+ * @throws {Error} If the payload 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.dataplex.v1.ListPartitionsRequest;
+
+ /**
+ * Verifies a ListPartitionsRequest message.
+ * @param message Plain 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 ListPartitionsRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ListPartitionsRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.dataplex.v1.ListPartitionsRequest;
+
+ /**
+ * Creates a plain object from a ListPartitionsRequest message. Also converts values to other types if specified.
+ * @param message ListPartitionsRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.dataplex.v1.ListPartitionsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ListPartitionsRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ListPartitionsRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a CreatePartitionRequest. */
+ interface ICreatePartitionRequest {
+
+ /** CreatePartitionRequest parent */
+ parent?: (string|null);
+
+ /** CreatePartitionRequest partition */
+ partition?: (google.cloud.dataplex.v1.IPartition|null);
+
+ /** CreatePartitionRequest validateOnly */
+ validateOnly?: (boolean|null);
+ }
+
+ /** Represents a CreatePartitionRequest. */
+ class CreatePartitionRequest implements ICreatePartitionRequest {
+
+ /**
+ * Constructs a new CreatePartitionRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.dataplex.v1.ICreatePartitionRequest);
+
+ /** CreatePartitionRequest parent. */
+ public parent: string;
+
+ /** CreatePartitionRequest partition. */
+ public partition?: (google.cloud.dataplex.v1.IPartition|null);
+
+ /** CreatePartitionRequest validateOnly. */
+ public validateOnly: boolean;
+
+ /**
+ * Creates a new CreatePartitionRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns CreatePartitionRequest instance
+ */
+ public static create(properties?: google.cloud.dataplex.v1.ICreatePartitionRequest): google.cloud.dataplex.v1.CreatePartitionRequest;
+
+ /**
+ * Encodes the specified CreatePartitionRequest message. Does not implicitly {@link google.cloud.dataplex.v1.CreatePartitionRequest.verify|verify} messages.
+ * @param message CreatePartitionRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.dataplex.v1.ICreatePartitionRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified CreatePartitionRequest message, length delimited. Does not implicitly {@link google.cloud.dataplex.v1.CreatePartitionRequest.verify|verify} messages.
+ * @param message CreatePartitionRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.dataplex.v1.ICreatePartitionRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a CreatePartitionRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns CreatePartitionRequest
+ * @throws {Error} If the payload is not 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.dataplex.v1.CreatePartitionRequest;
+
+ /**
+ * Decodes a CreatePartitionRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns CreatePartitionRequest
+ * @throws {Error} If the payload 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.dataplex.v1.CreatePartitionRequest;
+
+ /**
+ * Verifies a CreatePartitionRequest message.
+ * @param message Plain 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 CreatePartitionRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns CreatePartitionRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.dataplex.v1.CreatePartitionRequest;
+
+ /**
+ * Creates a plain object from a CreatePartitionRequest message. Also converts values to other types if specified.
+ * @param message CreatePartitionRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.dataplex.v1.CreatePartitionRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this CreatePartitionRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for CreatePartitionRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a DeletePartitionRequest. */
+ interface IDeletePartitionRequest {
+
+ /** DeletePartitionRequest name */
+ name?: (string|null);
+
+ /** DeletePartitionRequest etag */
+ etag?: (string|null);
+ }
+
+ /** Represents a DeletePartitionRequest. */
+ class DeletePartitionRequest implements IDeletePartitionRequest {
+
+ /**
+ * Constructs a new DeletePartitionRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.dataplex.v1.IDeletePartitionRequest);
+
+ /** DeletePartitionRequest name. */
+ public name: string;
+
+ /** DeletePartitionRequest etag. */
+ public etag: string;
+
+ /**
+ * Creates a new DeletePartitionRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns DeletePartitionRequest instance
+ */
+ public static create(properties?: google.cloud.dataplex.v1.IDeletePartitionRequest): google.cloud.dataplex.v1.DeletePartitionRequest;
+
+ /**
+ * Encodes the specified DeletePartitionRequest message. Does not implicitly {@link google.cloud.dataplex.v1.DeletePartitionRequest.verify|verify} messages.
+ * @param message DeletePartitionRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.dataplex.v1.IDeletePartitionRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified DeletePartitionRequest message, length delimited. Does not implicitly {@link google.cloud.dataplex.v1.DeletePartitionRequest.verify|verify} messages.
+ * @param message DeletePartitionRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.dataplex.v1.IDeletePartitionRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a DeletePartitionRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns DeletePartitionRequest
+ * @throws {Error} If the payload is not 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.dataplex.v1.DeletePartitionRequest;
+
+ /**
+ * Decodes a DeletePartitionRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns DeletePartitionRequest
+ * @throws {Error} If the payload 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.dataplex.v1.DeletePartitionRequest;
+
+ /**
+ * Verifies a DeletePartitionRequest message.
+ * @param message Plain 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 DeletePartitionRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns DeletePartitionRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.dataplex.v1.DeletePartitionRequest;
+
+ /**
+ * Creates a plain object from a DeletePartitionRequest message. Also converts values to other types if specified.
+ * @param message DeletePartitionRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.dataplex.v1.DeletePartitionRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this DeletePartitionRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for DeletePartitionRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a ListPartitionsResponse. */
+ interface IListPartitionsResponse {
+
+ /** ListPartitionsResponse partitions */
+ partitions?: (google.cloud.dataplex.v1.IPartition[]|null);
+
+ /** ListPartitionsResponse nextPageToken */
+ nextPageToken?: (string|null);
+ }
+
+ /** Represents a ListPartitionsResponse. */
+ class ListPartitionsResponse implements IListPartitionsResponse {
+
+ /**
+ * Constructs a new ListPartitionsResponse.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.dataplex.v1.IListPartitionsResponse);
+
+ /** ListPartitionsResponse partitions. */
+ public partitions: google.cloud.dataplex.v1.IPartition[];
+
+ /** ListPartitionsResponse nextPageToken. */
+ public nextPageToken: string;
+
+ /**
+ * Creates a new ListPartitionsResponse instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ListPartitionsResponse instance
+ */
+ public static create(properties?: google.cloud.dataplex.v1.IListPartitionsResponse): google.cloud.dataplex.v1.ListPartitionsResponse;
+
+ /**
+ * Encodes the specified ListPartitionsResponse message. Does not implicitly {@link google.cloud.dataplex.v1.ListPartitionsResponse.verify|verify} messages.
+ * @param message ListPartitionsResponse message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.dataplex.v1.IListPartitionsResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ListPartitionsResponse message, length delimited. Does not implicitly {@link google.cloud.dataplex.v1.ListPartitionsResponse.verify|verify} messages.
+ * @param message ListPartitionsResponse message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.dataplex.v1.IListPartitionsResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ListPartitionsResponse message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ListPartitionsResponse
+ * @throws {Error} If the payload is not 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.dataplex.v1.ListPartitionsResponse;
+
+ /**
+ * Decodes a ListPartitionsResponse message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ListPartitionsResponse
+ * @throws {Error} If the payload 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.dataplex.v1.ListPartitionsResponse;
+
+ /**
+ * Verifies a ListPartitionsResponse message.
+ * @param message Plain 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 ListPartitionsResponse message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ListPartitionsResponse
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.dataplex.v1.ListPartitionsResponse;
+
+ /**
+ * Creates a plain object from a ListPartitionsResponse message. Also converts values to other types if specified.
+ * @param message ListPartitionsResponse
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.dataplex.v1.ListPartitionsResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ListPartitionsResponse to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ListPartitionsResponse
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a GetPartitionRequest. */
+ interface IGetPartitionRequest {
+
+ /** GetPartitionRequest name */
+ name?: (string|null);
+ }
+
+ /** Represents a GetPartitionRequest. */
+ class GetPartitionRequest implements IGetPartitionRequest {
+
+ /**
+ * Constructs a new GetPartitionRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.dataplex.v1.IGetPartitionRequest);
+
+ /** GetPartitionRequest name. */
+ public name: string;
+
+ /**
+ * Creates a new GetPartitionRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns GetPartitionRequest instance
+ */
+ public static create(properties?: google.cloud.dataplex.v1.IGetPartitionRequest): google.cloud.dataplex.v1.GetPartitionRequest;
+
+ /**
+ * Encodes the specified GetPartitionRequest message. Does not implicitly {@link google.cloud.dataplex.v1.GetPartitionRequest.verify|verify} messages.
+ * @param message GetPartitionRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.dataplex.v1.IGetPartitionRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified GetPartitionRequest message, length delimited. Does not implicitly {@link google.cloud.dataplex.v1.GetPartitionRequest.verify|verify} messages.
+ * @param message GetPartitionRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.dataplex.v1.IGetPartitionRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a GetPartitionRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns GetPartitionRequest
+ * @throws {Error} If the payload is not 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.dataplex.v1.GetPartitionRequest;
+
+ /**
+ * Decodes a GetPartitionRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns GetPartitionRequest
+ * @throws {Error} If the payload 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.dataplex.v1.GetPartitionRequest;
+
+ /**
+ * Verifies a GetPartitionRequest message.
+ * @param message Plain 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 GetPartitionRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns GetPartitionRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.dataplex.v1.GetPartitionRequest;
+
+ /**
+ * Creates a plain object from a GetPartitionRequest message. Also converts values to other types if specified.
+ * @param message GetPartitionRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.dataplex.v1.GetPartitionRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this GetPartitionRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for GetPartitionRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of an Entity. */
+ interface IEntity {
+
+ /** Entity name */
+ name?: (string|null);
+
+ /** Entity displayName */
+ displayName?: (string|null);
+
+ /** Entity description */
+ description?: (string|null);
+
+ /** Entity createTime */
+ createTime?: (google.protobuf.ITimestamp|null);
+
+ /** Entity updateTime */
+ updateTime?: (google.protobuf.ITimestamp|null);
+
+ /** Entity id */
+ id?: (string|null);
+
+ /** Entity etag */
+ etag?: (string|null);
+
+ /** Entity type */
+ type?: (google.cloud.dataplex.v1.Entity.Type|keyof typeof google.cloud.dataplex.v1.Entity.Type|null);
+
+ /** Entity asset */
+ asset?: (string|null);
+
+ /** Entity dataPath */
+ dataPath?: (string|null);
+
+ /** Entity dataPathPattern */
+ dataPathPattern?: (string|null);
+
+ /** Entity catalogEntry */
+ catalogEntry?: (string|null);
+
+ /** Entity system */
+ system?: (google.cloud.dataplex.v1.StorageSystem|keyof typeof google.cloud.dataplex.v1.StorageSystem|null);
+
+ /** Entity format */
+ format?: (google.cloud.dataplex.v1.IStorageFormat|null);
+
+ /** Entity compatibility */
+ compatibility?: (google.cloud.dataplex.v1.Entity.ICompatibilityStatus|null);
+
+ /** Entity schema */
+ schema?: (google.cloud.dataplex.v1.ISchema|null);
+ }
+
+ /** Represents an Entity. */
+ class Entity implements IEntity {
+
+ /**
+ * Constructs a new Entity.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.dataplex.v1.IEntity);
+
+ /** Entity name. */
+ public name: string;
+
+ /** Entity displayName. */
+ public displayName: string;
+
+ /** Entity description. */
+ public description: string;
+
+ /** Entity createTime. */
+ public createTime?: (google.protobuf.ITimestamp|null);
+
+ /** Entity updateTime. */
+ public updateTime?: (google.protobuf.ITimestamp|null);
+
+ /** Entity id. */
+ public id: string;
+
+ /** Entity etag. */
+ public etag: string;
+
+ /** Entity type. */
+ public type: (google.cloud.dataplex.v1.Entity.Type|keyof typeof google.cloud.dataplex.v1.Entity.Type);
+
+ /** Entity asset. */
+ public asset: string;
+
+ /** Entity dataPath. */
+ public dataPath: string;
+
+ /** Entity dataPathPattern. */
+ public dataPathPattern: string;
+
+ /** Entity catalogEntry. */
+ public catalogEntry: string;
+
+ /** Entity system. */
+ public system: (google.cloud.dataplex.v1.StorageSystem|keyof typeof google.cloud.dataplex.v1.StorageSystem);
+
+ /** Entity format. */
+ public format?: (google.cloud.dataplex.v1.IStorageFormat|null);
+
+ /** Entity compatibility. */
+ public compatibility?: (google.cloud.dataplex.v1.Entity.ICompatibilityStatus|null);
+
+ /** Entity schema. */
+ public schema?: (google.cloud.dataplex.v1.ISchema|null);
+
+ /**
+ * Creates a new Entity instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns Entity instance
+ */
+ public static create(properties?: google.cloud.dataplex.v1.IEntity): google.cloud.dataplex.v1.Entity;
+
+ /**
+ * Encodes the specified Entity message. Does not implicitly {@link google.cloud.dataplex.v1.Entity.verify|verify} messages.
+ * @param message Entity message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.dataplex.v1.IEntity, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified Entity message, length delimited. Does not implicitly {@link google.cloud.dataplex.v1.Entity.verify|verify} messages.
+ * @param message Entity message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.dataplex.v1.IEntity, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an Entity message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns Entity
+ * @throws {Error} If the payload is not 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.dataplex.v1.Entity;
+
+ /**
+ * Decodes an Entity message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns Entity
+ * @throws {Error} If the payload 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.dataplex.v1.Entity;
+
+ /**
+ * Verifies an Entity message.
+ * @param message Plain 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 Entity message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns Entity
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.dataplex.v1.Entity;
+
+ /**
+ * Creates a plain object from an Entity message. Also converts values to other types if specified.
+ * @param message Entity
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.dataplex.v1.Entity, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this Entity to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for Entity
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace Entity {
+
+ /** Type enum. */
+ enum Type {
+ TYPE_UNSPECIFIED = 0,
+ TABLE = 1,
+ FILESET = 2
+ }
+
+ /** Properties of a CompatibilityStatus. */
+ interface ICompatibilityStatus {
+
+ /** CompatibilityStatus hiveMetastore */
+ hiveMetastore?: (google.cloud.dataplex.v1.Entity.CompatibilityStatus.ICompatibility|null);
+
+ /** CompatibilityStatus bigquery */
+ bigquery?: (google.cloud.dataplex.v1.Entity.CompatibilityStatus.ICompatibility|null);
+ }
+
+ /** Represents a CompatibilityStatus. */
+ class CompatibilityStatus implements ICompatibilityStatus {
+
+ /**
+ * Constructs a new CompatibilityStatus.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.dataplex.v1.Entity.ICompatibilityStatus);
+
+ /** CompatibilityStatus hiveMetastore. */
+ public hiveMetastore?: (google.cloud.dataplex.v1.Entity.CompatibilityStatus.ICompatibility|null);
+
+ /** CompatibilityStatus bigquery. */
+ public bigquery?: (google.cloud.dataplex.v1.Entity.CompatibilityStatus.ICompatibility|null);
+
+ /**
+ * Creates a new CompatibilityStatus instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns CompatibilityStatus instance
+ */
+ public static create(properties?: google.cloud.dataplex.v1.Entity.ICompatibilityStatus): google.cloud.dataplex.v1.Entity.CompatibilityStatus;
+
+ /**
+ * Encodes the specified CompatibilityStatus message. Does not implicitly {@link google.cloud.dataplex.v1.Entity.CompatibilityStatus.verify|verify} messages.
+ * @param message CompatibilityStatus message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.dataplex.v1.Entity.ICompatibilityStatus, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified CompatibilityStatus message, length delimited. Does not implicitly {@link google.cloud.dataplex.v1.Entity.CompatibilityStatus.verify|verify} messages.
+ * @param message CompatibilityStatus message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.dataplex.v1.Entity.ICompatibilityStatus, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a CompatibilityStatus message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns CompatibilityStatus
+ * @throws {Error} If the payload is not 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.dataplex.v1.Entity.CompatibilityStatus;
+
+ /**
+ * Decodes a CompatibilityStatus message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns CompatibilityStatus
+ * @throws {Error} If the payload 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.dataplex.v1.Entity.CompatibilityStatus;
+
+ /**
+ * Verifies a CompatibilityStatus message.
+ * @param message Plain 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 CompatibilityStatus message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns CompatibilityStatus
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.dataplex.v1.Entity.CompatibilityStatus;
+
+ /**
+ * Creates a plain object from a CompatibilityStatus message. Also converts values to other types if specified.
+ * @param message CompatibilityStatus
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.dataplex.v1.Entity.CompatibilityStatus, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this CompatibilityStatus to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for CompatibilityStatus
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace CompatibilityStatus {
+
+ /** Properties of a Compatibility. */
+ interface ICompatibility {
+
+ /** Compatibility compatible */
+ compatible?: (boolean|null);
+
+ /** Compatibility reason */
+ reason?: (string|null);
+ }
+
+ /** Represents a Compatibility. */
+ class Compatibility implements ICompatibility {
+
+ /**
+ * Constructs a new Compatibility.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.dataplex.v1.Entity.CompatibilityStatus.ICompatibility);
+
+ /** Compatibility compatible. */
+ public compatible: boolean;
+
+ /** Compatibility reason. */
+ public reason: string;
+
+ /**
+ * Creates a new Compatibility instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns Compatibility instance
+ */
+ public static create(properties?: google.cloud.dataplex.v1.Entity.CompatibilityStatus.ICompatibility): google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility;
+
+ /**
+ * Encodes the specified Compatibility message. Does not implicitly {@link google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility.verify|verify} messages.
+ * @param message Compatibility message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.dataplex.v1.Entity.CompatibilityStatus.ICompatibility, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified Compatibility message, length delimited. Does not implicitly {@link google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility.verify|verify} messages.
+ * @param message Compatibility message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.dataplex.v1.Entity.CompatibilityStatus.ICompatibility, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a Compatibility message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns Compatibility
+ * @throws {Error} If the payload is not 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.dataplex.v1.Entity.CompatibilityStatus.Compatibility;
+
+ /**
+ * Decodes a Compatibility message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns Compatibility
+ * @throws {Error} If the payload 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.dataplex.v1.Entity.CompatibilityStatus.Compatibility;
+
+ /**
+ * Verifies a Compatibility message.
+ * @param message Plain 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 Compatibility message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns Compatibility
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility;
+
+ /**
+ * Creates a plain object from a Compatibility message. Also converts values to other types if specified.
+ * @param message Compatibility
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this Compatibility to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for Compatibility
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+ }
+ }
+
+ /** Properties of a Partition. */
+ interface IPartition {
+
+ /** Partition name */
+ name?: (string|null);
+
+ /** Partition values */
+ values?: (string[]|null);
+
+ /** Partition location */
+ location?: (string|null);
+
+ /** Partition etag */
+ etag?: (string|null);
+ }
+
+ /** Represents a Partition. */
+ class Partition implements IPartition {
+
+ /**
+ * Constructs a new Partition.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.dataplex.v1.IPartition);
+
+ /** Partition name. */
+ public name: string;
+
+ /** Partition values. */
+ public values: string[];
+
+ /** Partition location. */
+ public location: string;
+
+ /** Partition etag. */
+ public etag: string;
+
+ /**
+ * Creates a new Partition instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns Partition instance
+ */
+ public static create(properties?: google.cloud.dataplex.v1.IPartition): google.cloud.dataplex.v1.Partition;
+
+ /**
+ * Encodes the specified Partition message. Does not implicitly {@link google.cloud.dataplex.v1.Partition.verify|verify} messages.
+ * @param message Partition message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.dataplex.v1.IPartition, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified Partition message, length delimited. Does not implicitly {@link google.cloud.dataplex.v1.Partition.verify|verify} messages.
+ * @param message Partition message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.dataplex.v1.IPartition, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a Partition message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns Partition
+ * @throws {Error} If the payload is not 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.dataplex.v1.Partition;
+
+ /**
+ * Decodes a Partition message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns Partition
+ * @throws {Error} If the payload 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.dataplex.v1.Partition;
+
+ /**
+ * Verifies a Partition message.
+ * @param message Plain 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 Partition message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns Partition
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.dataplex.v1.Partition;
+
+ /**
+ * Creates a plain object from a Partition message. Also converts values to other types if specified.
+ * @param message Partition
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.dataplex.v1.Partition, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this Partition to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for Partition
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a Schema. */
+ interface ISchema {
+
+ /** Schema userManaged */
+ userManaged?: (boolean|null);
+
+ /** Schema fields */
+ fields?: (google.cloud.dataplex.v1.Schema.ISchemaField[]|null);
+
+ /** Schema partitionFields */
+ partitionFields?: (google.cloud.dataplex.v1.Schema.IPartitionField[]|null);
+
+ /** Schema partitionStyle */
+ partitionStyle?: (google.cloud.dataplex.v1.Schema.PartitionStyle|keyof typeof google.cloud.dataplex.v1.Schema.PartitionStyle|null);
+ }
+
+ /** Represents a Schema. */
+ class Schema implements ISchema {
+
+ /**
+ * Constructs a new Schema.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.dataplex.v1.ISchema);
+
+ /** Schema userManaged. */
+ public userManaged: boolean;
+
+ /** Schema fields. */
+ public fields: google.cloud.dataplex.v1.Schema.ISchemaField[];
+
+ /** Schema partitionFields. */
+ public partitionFields: google.cloud.dataplex.v1.Schema.IPartitionField[];
+
+ /** Schema partitionStyle. */
+ public partitionStyle: (google.cloud.dataplex.v1.Schema.PartitionStyle|keyof typeof google.cloud.dataplex.v1.Schema.PartitionStyle);
+
+ /**
+ * Creates a new Schema instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns Schema instance
+ */
+ public static create(properties?: google.cloud.dataplex.v1.ISchema): google.cloud.dataplex.v1.Schema;
+
+ /**
+ * Encodes the specified Schema message. Does not implicitly {@link google.cloud.dataplex.v1.Schema.verify|verify} messages.
+ * @param message Schema message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.dataplex.v1.ISchema, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified Schema message, length delimited. Does not implicitly {@link google.cloud.dataplex.v1.Schema.verify|verify} messages.
+ * @param message Schema message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.dataplex.v1.ISchema, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a Schema message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns Schema
+ * @throws {Error} If the payload is not 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.dataplex.v1.Schema;
+
+ /**
+ * Decodes a Schema message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns Schema
+ * @throws {Error} If the payload 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.dataplex.v1.Schema;
+
+ /**
+ * Verifies a Schema message.
+ * @param message Plain 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 Schema message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns Schema
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.dataplex.v1.Schema;
+
+ /**
+ * Creates a plain object from a Schema message. Also converts values to other types if specified.
+ * @param message Schema
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.dataplex.v1.Schema, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this Schema to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for Schema
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace Schema {
+
+ /** Type enum. */
+ enum Type {
+ TYPE_UNSPECIFIED = 0,
+ BOOLEAN = 1,
+ BYTE = 2,
+ INT16 = 3,
+ INT32 = 4,
+ INT64 = 5,
+ FLOAT = 6,
+ DOUBLE = 7,
+ DECIMAL = 8,
+ STRING = 9,
+ BINARY = 10,
+ TIMESTAMP = 11,
+ DATE = 12,
+ TIME = 13,
+ RECORD = 14,
+ NULL = 100
+ }
+
+ /** Mode enum. */
+ enum Mode {
+ MODE_UNSPECIFIED = 0,
+ REQUIRED = 1,
+ NULLABLE = 2,
+ REPEATED = 3
+ }
+
+ /** Properties of a SchemaField. */
+ interface ISchemaField {
+
+ /** SchemaField name */
+ name?: (string|null);
+
+ /** SchemaField description */
+ description?: (string|null);
+
+ /** SchemaField type */
+ type?: (google.cloud.dataplex.v1.Schema.Type|keyof typeof google.cloud.dataplex.v1.Schema.Type|null);
+
+ /** SchemaField mode */
+ mode?: (google.cloud.dataplex.v1.Schema.Mode|keyof typeof google.cloud.dataplex.v1.Schema.Mode|null);
+
+ /** SchemaField fields */
+ fields?: (google.cloud.dataplex.v1.Schema.ISchemaField[]|null);
+ }
+
+ /** Represents a SchemaField. */
+ class SchemaField implements ISchemaField {
+
+ /**
+ * Constructs a new SchemaField.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.dataplex.v1.Schema.ISchemaField);
+
+ /** SchemaField name. */
+ public name: string;
+
+ /** SchemaField description. */
+ public description: string;
+
+ /** SchemaField type. */
+ public type: (google.cloud.dataplex.v1.Schema.Type|keyof typeof google.cloud.dataplex.v1.Schema.Type);
+
+ /** SchemaField mode. */
+ public mode: (google.cloud.dataplex.v1.Schema.Mode|keyof typeof google.cloud.dataplex.v1.Schema.Mode);
+
+ /** SchemaField fields. */
+ public fields: google.cloud.dataplex.v1.Schema.ISchemaField[];
+
+ /**
+ * Creates a new SchemaField instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns SchemaField instance
+ */
+ public static create(properties?: google.cloud.dataplex.v1.Schema.ISchemaField): google.cloud.dataplex.v1.Schema.SchemaField;
+
+ /**
+ * Encodes the specified SchemaField message. Does not implicitly {@link google.cloud.dataplex.v1.Schema.SchemaField.verify|verify} messages.
+ * @param message SchemaField message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.dataplex.v1.Schema.ISchemaField, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified SchemaField message, length delimited. Does not implicitly {@link google.cloud.dataplex.v1.Schema.SchemaField.verify|verify} messages.
+ * @param message SchemaField message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.dataplex.v1.Schema.ISchemaField, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a SchemaField message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns SchemaField
+ * @throws {Error} If the payload is not 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.dataplex.v1.Schema.SchemaField;
+
+ /**
+ * Decodes a SchemaField message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns SchemaField
+ * @throws {Error} If the payload 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.dataplex.v1.Schema.SchemaField;
+
+ /**
+ * Verifies a SchemaField message.
+ * @param message Plain 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 SchemaField message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns SchemaField
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.dataplex.v1.Schema.SchemaField;
+
+ /**
+ * Creates a plain object from a SchemaField message. Also converts values to other types if specified.
+ * @param message SchemaField
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.dataplex.v1.Schema.SchemaField, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this SchemaField to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for SchemaField
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a PartitionField. */
+ interface IPartitionField {
+
+ /** PartitionField name */
+ name?: (string|null);
+
+ /** PartitionField type */
+ type?: (google.cloud.dataplex.v1.Schema.Type|keyof typeof google.cloud.dataplex.v1.Schema.Type|null);
+ }
+
+ /** Represents a PartitionField. */
+ class PartitionField implements IPartitionField {
+
+ /**
+ * Constructs a new PartitionField.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.dataplex.v1.Schema.IPartitionField);
+
+ /** PartitionField name. */
+ public name: string;
+
+ /** PartitionField type. */
+ public type: (google.cloud.dataplex.v1.Schema.Type|keyof typeof google.cloud.dataplex.v1.Schema.Type);
+
+ /**
+ * Creates a new PartitionField instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns PartitionField instance
+ */
+ public static create(properties?: google.cloud.dataplex.v1.Schema.IPartitionField): google.cloud.dataplex.v1.Schema.PartitionField;
+
+ /**
+ * Encodes the specified PartitionField message. Does not implicitly {@link google.cloud.dataplex.v1.Schema.PartitionField.verify|verify} messages.
+ * @param message PartitionField message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.dataplex.v1.Schema.IPartitionField, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified PartitionField message, length delimited. Does not implicitly {@link google.cloud.dataplex.v1.Schema.PartitionField.verify|verify} messages.
+ * @param message PartitionField message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.dataplex.v1.Schema.IPartitionField, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a PartitionField message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns PartitionField
+ * @throws {Error} If the payload is not 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.dataplex.v1.Schema.PartitionField;
+
+ /**
+ * Decodes a PartitionField message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns PartitionField
+ * @throws {Error} If the payload 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.dataplex.v1.Schema.PartitionField;
+
+ /**
+ * Verifies a PartitionField message.
+ * @param message Plain 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 PartitionField message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns PartitionField
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.dataplex.v1.Schema.PartitionField;
+
+ /**
+ * Creates a plain object from a PartitionField message. Also converts values to other types if specified.
+ * @param message PartitionField
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.dataplex.v1.Schema.PartitionField, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this PartitionField to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for PartitionField
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** PartitionStyle enum. */
+ enum PartitionStyle {
+ PARTITION_STYLE_UNSPECIFIED = 0,
+ HIVE_COMPATIBLE = 1
+ }
+ }
+
+ /** Properties of a StorageFormat. */
+ interface IStorageFormat {
+
+ /** StorageFormat format */
+ format?: (google.cloud.dataplex.v1.StorageFormat.Format|keyof typeof google.cloud.dataplex.v1.StorageFormat.Format|null);
+
+ /** StorageFormat compressionFormat */
+ compressionFormat?: (google.cloud.dataplex.v1.StorageFormat.CompressionFormat|keyof typeof google.cloud.dataplex.v1.StorageFormat.CompressionFormat|null);
+
+ /** StorageFormat mimeType */
+ mimeType?: (string|null);
+
+ /** StorageFormat csv */
+ csv?: (google.cloud.dataplex.v1.StorageFormat.ICsvOptions|null);
+
+ /** StorageFormat json */
+ json?: (google.cloud.dataplex.v1.StorageFormat.IJsonOptions|null);
+ }
+
+ /** Represents a StorageFormat. */
+ class StorageFormat implements IStorageFormat {
+
+ /**
+ * Constructs a new StorageFormat.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.dataplex.v1.IStorageFormat);
+
+ /** StorageFormat format. */
+ public format: (google.cloud.dataplex.v1.StorageFormat.Format|keyof typeof google.cloud.dataplex.v1.StorageFormat.Format);
+
+ /** StorageFormat compressionFormat. */
+ public compressionFormat: (google.cloud.dataplex.v1.StorageFormat.CompressionFormat|keyof typeof google.cloud.dataplex.v1.StorageFormat.CompressionFormat);
+
+ /** StorageFormat mimeType. */
+ public mimeType: string;
+
+ /** StorageFormat csv. */
+ public csv?: (google.cloud.dataplex.v1.StorageFormat.ICsvOptions|null);
+
+ /** StorageFormat json. */
+ public json?: (google.cloud.dataplex.v1.StorageFormat.IJsonOptions|null);
+
+ /** StorageFormat options. */
+ public options?: ("csv"|"json");
+
+ /**
+ * Creates a new StorageFormat instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns StorageFormat instance
+ */
+ public static create(properties?: google.cloud.dataplex.v1.IStorageFormat): google.cloud.dataplex.v1.StorageFormat;
+
+ /**
+ * Encodes the specified StorageFormat message. Does not implicitly {@link google.cloud.dataplex.v1.StorageFormat.verify|verify} messages.
+ * @param message StorageFormat message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.dataplex.v1.IStorageFormat, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified StorageFormat message, length delimited. Does not implicitly {@link google.cloud.dataplex.v1.StorageFormat.verify|verify} messages.
+ * @param message StorageFormat message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.dataplex.v1.IStorageFormat, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a StorageFormat message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns StorageFormat
+ * @throws {Error} If the payload is not 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.dataplex.v1.StorageFormat;
+
+ /**
+ * Decodes a StorageFormat message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns StorageFormat
+ * @throws {Error} If the payload 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.dataplex.v1.StorageFormat;
+
+ /**
+ * Verifies a StorageFormat message.
+ * @param message Plain 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 StorageFormat message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns StorageFormat
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.dataplex.v1.StorageFormat;
+
+ /**
+ * Creates a plain object from a StorageFormat message. Also converts values to other types if specified.
+ * @param message StorageFormat
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.dataplex.v1.StorageFormat, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this StorageFormat to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for StorageFormat
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace StorageFormat {
+
+ /** Properties of a CsvOptions. */
+ interface ICsvOptions {
+
+ /** CsvOptions encoding */
+ encoding?: (string|null);
+
+ /** CsvOptions headerRows */
+ headerRows?: (number|null);
+
+ /** CsvOptions delimiter */
+ delimiter?: (string|null);
+
+ /** CsvOptions quote */
+ quote?: (string|null);
+ }
+
+ /** Represents a CsvOptions. */
+ class CsvOptions implements ICsvOptions {
+
+ /**
+ * Constructs a new CsvOptions.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.dataplex.v1.StorageFormat.ICsvOptions);
+
+ /** CsvOptions encoding. */
+ public encoding: string;
+
+ /** CsvOptions headerRows. */
+ public headerRows: number;
+
+ /** CsvOptions delimiter. */
+ public delimiter: string;
+
+ /** CsvOptions quote. */
+ public quote: string;
+
+ /**
+ * Creates a new CsvOptions instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns CsvOptions instance
+ */
+ public static create(properties?: google.cloud.dataplex.v1.StorageFormat.ICsvOptions): google.cloud.dataplex.v1.StorageFormat.CsvOptions;
+
+ /**
+ * Encodes the specified CsvOptions message. Does not implicitly {@link google.cloud.dataplex.v1.StorageFormat.CsvOptions.verify|verify} messages.
+ * @param message CsvOptions message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.dataplex.v1.StorageFormat.ICsvOptions, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified CsvOptions message, length delimited. Does not implicitly {@link google.cloud.dataplex.v1.StorageFormat.CsvOptions.verify|verify} messages.
+ * @param message CsvOptions message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.dataplex.v1.StorageFormat.ICsvOptions, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a CsvOptions message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns CsvOptions
+ * @throws {Error} If the payload is not 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.dataplex.v1.StorageFormat.CsvOptions;
+
+ /**
+ * Decodes a CsvOptions message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns CsvOptions
+ * @throws {Error} If the payload 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.dataplex.v1.StorageFormat.CsvOptions;
+
+ /**
+ * Verifies a CsvOptions message.
+ * @param message Plain 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 CsvOptions message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns CsvOptions
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.dataplex.v1.StorageFormat.CsvOptions;
+
+ /**
+ * Creates a plain object from a CsvOptions message. Also converts values to other types if specified.
+ * @param message CsvOptions
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.dataplex.v1.StorageFormat.CsvOptions, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this CsvOptions to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for CsvOptions
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a JsonOptions. */
+ interface IJsonOptions {
+
+ /** JsonOptions encoding */
+ encoding?: (string|null);
+ }
+
+ /** Represents a JsonOptions. */
+ class JsonOptions implements IJsonOptions {
+
+ /**
+ * Constructs a new JsonOptions.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.dataplex.v1.StorageFormat.IJsonOptions);
+
+ /** JsonOptions encoding. */
+ public encoding: string;
+
+ /**
+ * Creates a new JsonOptions instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns JsonOptions instance
+ */
+ public static create(properties?: google.cloud.dataplex.v1.StorageFormat.IJsonOptions): google.cloud.dataplex.v1.StorageFormat.JsonOptions;
+
+ /**
+ * Encodes the specified JsonOptions message. Does not implicitly {@link google.cloud.dataplex.v1.StorageFormat.JsonOptions.verify|verify} messages.
+ * @param message JsonOptions message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.dataplex.v1.StorageFormat.IJsonOptions, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified JsonOptions message, length delimited. Does not implicitly {@link google.cloud.dataplex.v1.StorageFormat.JsonOptions.verify|verify} messages.
+ * @param message JsonOptions message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.dataplex.v1.StorageFormat.IJsonOptions, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a JsonOptions message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns JsonOptions
+ * @throws {Error} If the payload is not 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.dataplex.v1.StorageFormat.JsonOptions;
+
+ /**
+ * Decodes a JsonOptions message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns JsonOptions
+ * @throws {Error} If the payload 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.dataplex.v1.StorageFormat.JsonOptions;
+
+ /**
+ * Verifies a JsonOptions message.
+ * @param message Plain 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 JsonOptions message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns JsonOptions
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.dataplex.v1.StorageFormat.JsonOptions;
+
+ /**
+ * Creates a plain object from a JsonOptions message. Also converts values to other types if specified.
+ * @param message JsonOptions
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.dataplex.v1.StorageFormat.JsonOptions, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this JsonOptions to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for JsonOptions
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Format enum. */
+ enum Format {
+ FORMAT_UNSPECIFIED = 0,
+ PARQUET = 1,
+ AVRO = 2,
+ ORC = 3,
+ CSV = 100,
+ JSON = 101,
+ IMAGE = 200,
+ AUDIO = 201,
+ VIDEO = 202,
+ TEXT = 203,
+ TFRECORD = 204,
+ OTHER = 1000,
+ UNKNOWN = 1001
+ }
+
+ /** CompressionFormat enum. */
+ enum CompressionFormat {
+ COMPRESSION_FORMAT_UNSPECIFIED = 0,
+ GZIP = 2,
+ BZIP2 = 3
+ }
+ }
+
+ /** StorageSystem enum. */
+ enum StorageSystem {
+ STORAGE_SYSTEM_UNSPECIFIED = 0,
+ CLOUD_STORAGE = 1,
+ BIGQUERY = 2
+ }
+
+ /** Represents a DataplexService */
+ class DataplexService extends $protobuf.rpc.Service {
+
+ /**
+ * Constructs a new DataplexService 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 DataplexService 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): DataplexService;
+
+ /**
+ * Calls CreateLake.
+ * @param request CreateLakeRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and Operation
+ */
+ public createLake(request: google.cloud.dataplex.v1.ICreateLakeRequest, callback: google.cloud.dataplex.v1.DataplexService.CreateLakeCallback): void;
+
+ /**
+ * Calls CreateLake.
+ * @param request CreateLakeRequest message or plain object
+ * @returns Promise
+ */
+ public createLake(request: google.cloud.dataplex.v1.ICreateLakeRequest): Promise;
+
+ /**
+ * Calls UpdateLake.
+ * @param request UpdateLakeRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and Operation
+ */
+ public updateLake(request: google.cloud.dataplex.v1.IUpdateLakeRequest, callback: google.cloud.dataplex.v1.DataplexService.UpdateLakeCallback): void;
+
+ /**
+ * Calls UpdateLake.
+ * @param request UpdateLakeRequest message or plain object
+ * @returns Promise
+ */
+ public updateLake(request: google.cloud.dataplex.v1.IUpdateLakeRequest): Promise;
+
+ /**
+ * Calls DeleteLake.
+ * @param request DeleteLakeRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and Operation
+ */
+ public deleteLake(request: google.cloud.dataplex.v1.IDeleteLakeRequest, callback: google.cloud.dataplex.v1.DataplexService.DeleteLakeCallback): void;
+
+ /**
+ * Calls DeleteLake.
+ * @param request DeleteLakeRequest message or plain object
+ * @returns Promise
+ */
+ public deleteLake(request: google.cloud.dataplex.v1.IDeleteLakeRequest): Promise;
+
+ /**
+ * Calls ListLakes.
+ * @param request ListLakesRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and ListLakesResponse
+ */
+ public listLakes(request: google.cloud.dataplex.v1.IListLakesRequest, callback: google.cloud.dataplex.v1.DataplexService.ListLakesCallback): void;
+
+ /**
+ * Calls ListLakes.
+ * @param request ListLakesRequest message or plain object
+ * @returns Promise
+ */
+ public listLakes(request: google.cloud.dataplex.v1.IListLakesRequest): Promise;
+
+ /**
+ * Calls GetLake.
+ * @param request GetLakeRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and Lake
+ */
+ public getLake(request: google.cloud.dataplex.v1.IGetLakeRequest, callback: google.cloud.dataplex.v1.DataplexService.GetLakeCallback): void;
+
+ /**
+ * Calls GetLake.
+ * @param request GetLakeRequest message or plain object
+ * @returns Promise
+ */
+ public getLake(request: google.cloud.dataplex.v1.IGetLakeRequest): Promise;
+
+ /**
+ * Calls ListLakeActions.
+ * @param request ListLakeActionsRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and ListActionsResponse
+ */
+ public listLakeActions(request: google.cloud.dataplex.v1.IListLakeActionsRequest, callback: google.cloud.dataplex.v1.DataplexService.ListLakeActionsCallback): void;
+
+ /**
+ * Calls ListLakeActions.
+ * @param request ListLakeActionsRequest message or plain object
+ * @returns Promise
+ */
+ public listLakeActions(request: google.cloud.dataplex.v1.IListLakeActionsRequest): Promise;
+
+ /**
+ * Calls CreateZone.
+ * @param request CreateZoneRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and Operation
+ */
+ public createZone(request: google.cloud.dataplex.v1.ICreateZoneRequest, callback: google.cloud.dataplex.v1.DataplexService.CreateZoneCallback): void;
+
+ /**
+ * Calls CreateZone.
+ * @param request CreateZoneRequest message or plain object
+ * @returns Promise
+ */
+ public createZone(request: google.cloud.dataplex.v1.ICreateZoneRequest): Promise;
+
+ /**
+ * Calls UpdateZone.
+ * @param request UpdateZoneRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and Operation
+ */
+ public updateZone(request: google.cloud.dataplex.v1.IUpdateZoneRequest, callback: google.cloud.dataplex.v1.DataplexService.UpdateZoneCallback): void;
+
+ /**
+ * Calls UpdateZone.
+ * @param request UpdateZoneRequest message or plain object
+ * @returns Promise
+ */
+ public updateZone(request: google.cloud.dataplex.v1.IUpdateZoneRequest): Promise;
+
+ /**
+ * Calls DeleteZone.
+ * @param request DeleteZoneRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and Operation
+ */
+ public deleteZone(request: google.cloud.dataplex.v1.IDeleteZoneRequest, callback: google.cloud.dataplex.v1.DataplexService.DeleteZoneCallback): void;
+
+ /**
+ * Calls DeleteZone.
+ * @param request DeleteZoneRequest message or plain object
+ * @returns Promise
+ */
+ public deleteZone(request: google.cloud.dataplex.v1.IDeleteZoneRequest): Promise;
+
+ /**
+ * Calls ListZones.
+ * @param request ListZonesRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and ListZonesResponse
+ */
+ public listZones(request: google.cloud.dataplex.v1.IListZonesRequest, callback: google.cloud.dataplex.v1.DataplexService.ListZonesCallback): void;
+
+ /**
+ * Calls ListZones.
+ * @param request ListZonesRequest message or plain object
+ * @returns Promise
+ */
+ public listZones(request: google.cloud.dataplex.v1.IListZonesRequest): Promise;
+
+ /**
+ * Calls GetZone.
+ * @param request GetZoneRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and Zone
+ */
+ public getZone(request: google.cloud.dataplex.v1.IGetZoneRequest, callback: google.cloud.dataplex.v1.DataplexService.GetZoneCallback): void;
+
+ /**
+ * Calls GetZone.
+ * @param request GetZoneRequest message or plain object
+ * @returns Promise
+ */
+ public getZone(request: google.cloud.dataplex.v1.IGetZoneRequest): Promise;
+
+ /**
+ * Calls ListZoneActions.
+ * @param request ListZoneActionsRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and ListActionsResponse
+ */
+ public listZoneActions(request: google.cloud.dataplex.v1.IListZoneActionsRequest, callback: google.cloud.dataplex.v1.DataplexService.ListZoneActionsCallback): void;
+
+ /**
+ * Calls ListZoneActions.
+ * @param request ListZoneActionsRequest message or plain object
+ * @returns Promise
+ */
+ public listZoneActions(request: google.cloud.dataplex.v1.IListZoneActionsRequest): Promise;
+
+ /**
+ * Calls CreateAsset.
+ * @param request CreateAssetRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and Operation
+ */
+ public createAsset(request: google.cloud.dataplex.v1.ICreateAssetRequest, callback: google.cloud.dataplex.v1.DataplexService.CreateAssetCallback): void;
+
+ /**
+ * Calls CreateAsset.
+ * @param request CreateAssetRequest message or plain object
+ * @returns Promise
+ */
+ public createAsset(request: google.cloud.dataplex.v1.ICreateAssetRequest): Promise;
+
+ /**
+ * Calls UpdateAsset.
+ * @param request UpdateAssetRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and Operation
+ */
+ public updateAsset(request: google.cloud.dataplex.v1.IUpdateAssetRequest, callback: google.cloud.dataplex.v1.DataplexService.UpdateAssetCallback): void;
+
+ /**
+ * Calls UpdateAsset.
+ * @param request UpdateAssetRequest message or plain object
+ * @returns Promise
+ */
+ public updateAsset(request: google.cloud.dataplex.v1.IUpdateAssetRequest): Promise;
+
+ /**
+ * Calls DeleteAsset.
+ * @param request DeleteAssetRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and Operation
+ */
+ public deleteAsset(request: google.cloud.dataplex.v1.IDeleteAssetRequest, callback: google.cloud.dataplex.v1.DataplexService.DeleteAssetCallback): void;
+
+ /**
+ * Calls DeleteAsset.
+ * @param request DeleteAssetRequest message or plain object
+ * @returns Promise
+ */
+ public deleteAsset(request: google.cloud.dataplex.v1.IDeleteAssetRequest): Promise;
+
+ /**
+ * Calls ListAssets.
+ * @param request ListAssetsRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and ListAssetsResponse
+ */
+ public listAssets(request: google.cloud.dataplex.v1.IListAssetsRequest, callback: google.cloud.dataplex.v1.DataplexService.ListAssetsCallback): void;
+
+ /**
+ * Calls ListAssets.
+ * @param request ListAssetsRequest message or plain object
+ * @returns Promise
+ */
+ public listAssets(request: google.cloud.dataplex.v1.IListAssetsRequest): Promise;
+
+ /**
+ * Calls GetAsset.
+ * @param request GetAssetRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and Asset
+ */
+ public getAsset(request: google.cloud.dataplex.v1.IGetAssetRequest, callback: google.cloud.dataplex.v1.DataplexService.GetAssetCallback): void;
+
+ /**
+ * Calls GetAsset.
+ * @param request GetAssetRequest message or plain object
+ * @returns Promise
+ */
+ public getAsset(request: google.cloud.dataplex.v1.IGetAssetRequest): Promise;
+
+ /**
+ * Calls ListAssetActions.
+ * @param request ListAssetActionsRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and ListActionsResponse
+ */
+ public listAssetActions(request: google.cloud.dataplex.v1.IListAssetActionsRequest, callback: google.cloud.dataplex.v1.DataplexService.ListAssetActionsCallback): void;
+
+ /**
+ * Calls ListAssetActions.
+ * @param request ListAssetActionsRequest message or plain object
+ * @returns Promise
+ */
+ public listAssetActions(request: google.cloud.dataplex.v1.IListAssetActionsRequest): Promise;
+
+ /**
+ * Calls CreateTask.
+ * @param request CreateTaskRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and Operation
+ */
+ public createTask(request: google.cloud.dataplex.v1.ICreateTaskRequest, callback: google.cloud.dataplex.v1.DataplexService.CreateTaskCallback): void;
+
+ /**
+ * Calls CreateTask.
+ * @param request CreateTaskRequest message or plain object
+ * @returns Promise
+ */
+ public createTask(request: google.cloud.dataplex.v1.ICreateTaskRequest): Promise;
+
+ /**
+ * Calls UpdateTask.
+ * @param request UpdateTaskRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and Operation
+ */
+ public updateTask(request: google.cloud.dataplex.v1.IUpdateTaskRequest, callback: google.cloud.dataplex.v1.DataplexService.UpdateTaskCallback): void;
+
+ /**
+ * Calls UpdateTask.
+ * @param request UpdateTaskRequest message or plain object
+ * @returns Promise
+ */
+ public updateTask(request: google.cloud.dataplex.v1.IUpdateTaskRequest): Promise;
+
+ /**
+ * Calls DeleteTask.
+ * @param request DeleteTaskRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and Operation
+ */
+ public deleteTask(request: google.cloud.dataplex.v1.IDeleteTaskRequest, callback: google.cloud.dataplex.v1.DataplexService.DeleteTaskCallback): void;
+
+ /**
+ * Calls DeleteTask.
+ * @param request DeleteTaskRequest message or plain object
+ * @returns Promise
+ */
+ public deleteTask(request: google.cloud.dataplex.v1.IDeleteTaskRequest): Promise;
+
+ /**
+ * Calls ListTasks.
+ * @param request ListTasksRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and ListTasksResponse
+ */
+ public listTasks(request: google.cloud.dataplex.v1.IListTasksRequest, callback: google.cloud.dataplex.v1.DataplexService.ListTasksCallback): void;
+
+ /**
+ * Calls ListTasks.
+ * @param request ListTasksRequest message or plain object
+ * @returns Promise
+ */
+ public listTasks(request: google.cloud.dataplex.v1.IListTasksRequest): Promise;
+
+ /**
+ * Calls GetTask.
+ * @param request GetTaskRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and Task
+ */
+ public getTask(request: google.cloud.dataplex.v1.IGetTaskRequest, callback: google.cloud.dataplex.v1.DataplexService.GetTaskCallback): void;
+
+ /**
+ * Calls GetTask.
+ * @param request GetTaskRequest message or plain object
+ * @returns Promise
+ */
+ public getTask(request: google.cloud.dataplex.v1.IGetTaskRequest): Promise;
+
+ /**
+ * Calls ListJobs.
+ * @param request ListJobsRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and ListJobsResponse
+ */
+ public listJobs(request: google.cloud.dataplex.v1.IListJobsRequest, callback: google.cloud.dataplex.v1.DataplexService.ListJobsCallback): void;
+
+ /**
+ * Calls ListJobs.
+ * @param request ListJobsRequest message or plain object
+ * @returns Promise
+ */
+ public listJobs(request: google.cloud.dataplex.v1.IListJobsRequest): Promise;
+
+ /**
+ * Calls GetJob.
+ * @param request GetJobRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and Job
+ */
+ public getJob(request: google.cloud.dataplex.v1.IGetJobRequest, callback: google.cloud.dataplex.v1.DataplexService.GetJobCallback): void;
+
+ /**
+ * Calls GetJob.
+ * @param request GetJobRequest message or plain object
+ * @returns Promise
+ */
+ public getJob(request: google.cloud.dataplex.v1.IGetJobRequest): Promise;
+
+ /**
+ * Calls CancelJob.
+ * @param request CancelJobRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and Empty
+ */
+ public cancelJob(request: google.cloud.dataplex.v1.ICancelJobRequest, callback: google.cloud.dataplex.v1.DataplexService.CancelJobCallback): void;
+
+ /**
+ * Calls CancelJob.
+ * @param request CancelJobRequest message or plain object
+ * @returns Promise
+ */
+ public cancelJob(request: google.cloud.dataplex.v1.ICancelJobRequest): Promise;
+
+ /**
+ * Calls CreateEnvironment.
+ * @param request CreateEnvironmentRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and Operation
+ */
+ public createEnvironment(request: google.cloud.dataplex.v1.ICreateEnvironmentRequest, callback: google.cloud.dataplex.v1.DataplexService.CreateEnvironmentCallback): void;
+
+ /**
+ * Calls CreateEnvironment.
+ * @param request CreateEnvironmentRequest message or plain object
+ * @returns Promise
+ */
+ public createEnvironment(request: google.cloud.dataplex.v1.ICreateEnvironmentRequest): Promise;
+
+ /**
+ * Calls UpdateEnvironment.
+ * @param request UpdateEnvironmentRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and Operation
+ */
+ public updateEnvironment(request: google.cloud.dataplex.v1.IUpdateEnvironmentRequest, callback: google.cloud.dataplex.v1.DataplexService.UpdateEnvironmentCallback): void;
+
+ /**
+ * Calls UpdateEnvironment.
+ * @param request UpdateEnvironmentRequest message or plain object
+ * @returns Promise
+ */
+ public updateEnvironment(request: google.cloud.dataplex.v1.IUpdateEnvironmentRequest): Promise;
+
+ /**
+ * Calls DeleteEnvironment.
+ * @param request DeleteEnvironmentRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and Operation
+ */
+ public deleteEnvironment(request: google.cloud.dataplex.v1.IDeleteEnvironmentRequest, callback: google.cloud.dataplex.v1.DataplexService.DeleteEnvironmentCallback): void;
+
+ /**
+ * Calls DeleteEnvironment.
+ * @param request DeleteEnvironmentRequest message or plain object
+ * @returns Promise
+ */
+ public deleteEnvironment(request: google.cloud.dataplex.v1.IDeleteEnvironmentRequest): Promise;
+
+ /**
+ * Calls ListEnvironments.
+ * @param request ListEnvironmentsRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and ListEnvironmentsResponse
+ */
+ public listEnvironments(request: google.cloud.dataplex.v1.IListEnvironmentsRequest, callback: google.cloud.dataplex.v1.DataplexService.ListEnvironmentsCallback): void;
+
+ /**
+ * Calls ListEnvironments.
+ * @param request ListEnvironmentsRequest message or plain object
+ * @returns Promise
+ */
+ public listEnvironments(request: google.cloud.dataplex.v1.IListEnvironmentsRequest): Promise;
+
+ /**
+ * Calls GetEnvironment.
+ * @param request GetEnvironmentRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and Environment
+ */
+ public getEnvironment(request: google.cloud.dataplex.v1.IGetEnvironmentRequest, callback: google.cloud.dataplex.v1.DataplexService.GetEnvironmentCallback): void;
+
+ /**
+ * Calls GetEnvironment.
+ * @param request GetEnvironmentRequest message or plain object
+ * @returns Promise
+ */
+ public getEnvironment(request: google.cloud.dataplex.v1.IGetEnvironmentRequest): Promise;
+
+ /**
+ * Calls ListSessions.
+ * @param request ListSessionsRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and ListSessionsResponse
+ */
+ public listSessions(request: google.cloud.dataplex.v1.IListSessionsRequest, callback: google.cloud.dataplex.v1.DataplexService.ListSessionsCallback): void;
+
+ /**
+ * Calls ListSessions.
+ * @param request ListSessionsRequest message or plain object
+ * @returns Promise
+ */
+ public listSessions(request: google.cloud.dataplex.v1.IListSessionsRequest): Promise;
+ }
+
+ namespace DataplexService {
+
+ /**
+ * Callback as used by {@link google.cloud.dataplex.v1.DataplexService|createLake}.
+ * @param error Error, if any
+ * @param [response] Operation
+ */
+ type CreateLakeCallback = (error: (Error|null), response?: google.longrunning.Operation) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.dataplex.v1.DataplexService|updateLake}.
+ * @param error Error, if any
+ * @param [response] Operation
+ */
+ type UpdateLakeCallback = (error: (Error|null), response?: google.longrunning.Operation) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.dataplex.v1.DataplexService|deleteLake}.
+ * @param error Error, if any
+ * @param [response] Operation
+ */
+ type DeleteLakeCallback = (error: (Error|null), response?: google.longrunning.Operation) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.dataplex.v1.DataplexService|listLakes}.
+ * @param error Error, if any
+ * @param [response] ListLakesResponse
+ */
+ type ListLakesCallback = (error: (Error|null), response?: google.cloud.dataplex.v1.ListLakesResponse) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.dataplex.v1.DataplexService|getLake}.
+ * @param error Error, if any
+ * @param [response] Lake
+ */
+ type GetLakeCallback = (error: (Error|null), response?: google.cloud.dataplex.v1.Lake) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.dataplex.v1.DataplexService|listLakeActions}.
+ * @param error Error, if any
+ * @param [response] ListActionsResponse
+ */
+ type ListLakeActionsCallback = (error: (Error|null), response?: google.cloud.dataplex.v1.ListActionsResponse) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.dataplex.v1.DataplexService|createZone}.
+ * @param error Error, if any
+ * @param [response] Operation
+ */
+ type CreateZoneCallback = (error: (Error|null), response?: google.longrunning.Operation) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.dataplex.v1.DataplexService|updateZone}.
+ * @param error Error, if any
+ * @param [response] Operation
+ */
+ type UpdateZoneCallback = (error: (Error|null), response?: google.longrunning.Operation) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.dataplex.v1.DataplexService|deleteZone}.
+ * @param error Error, if any
+ * @param [response] Operation
+ */
+ type DeleteZoneCallback = (error: (Error|null), response?: google.longrunning.Operation) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.dataplex.v1.DataplexService|listZones}.
+ * @param error Error, if any
+ * @param [response] ListZonesResponse
+ */
+ type ListZonesCallback = (error: (Error|null), response?: google.cloud.dataplex.v1.ListZonesResponse) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.dataplex.v1.DataplexService|getZone}.
+ * @param error Error, if any
+ * @param [response] Zone
+ */
+ type GetZoneCallback = (error: (Error|null), response?: google.cloud.dataplex.v1.Zone) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.dataplex.v1.DataplexService|listZoneActions}.
+ * @param error Error, if any
+ * @param [response] ListActionsResponse
+ */
+ type ListZoneActionsCallback = (error: (Error|null), response?: google.cloud.dataplex.v1.ListActionsResponse) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.dataplex.v1.DataplexService|createAsset}.
+ * @param error Error, if any
+ * @param [response] Operation
+ */
+ type CreateAssetCallback = (error: (Error|null), response?: google.longrunning.Operation) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.dataplex.v1.DataplexService|updateAsset}.
+ * @param error Error, if any
+ * @param [response] Operation
+ */
+ type UpdateAssetCallback = (error: (Error|null), response?: google.longrunning.Operation) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.dataplex.v1.DataplexService|deleteAsset}.
+ * @param error Error, if any
+ * @param [response] Operation
+ */
+ type DeleteAssetCallback = (error: (Error|null), response?: google.longrunning.Operation) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.dataplex.v1.DataplexService|listAssets}.
+ * @param error Error, if any
+ * @param [response] ListAssetsResponse
+ */
+ type ListAssetsCallback = (error: (Error|null), response?: google.cloud.dataplex.v1.ListAssetsResponse) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.dataplex.v1.DataplexService|getAsset}.
+ * @param error Error, if any
+ * @param [response] Asset
+ */
+ type GetAssetCallback = (error: (Error|null), response?: google.cloud.dataplex.v1.Asset) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.dataplex.v1.DataplexService|listAssetActions}.
+ * @param error Error, if any
+ * @param [response] ListActionsResponse
+ */
+ type ListAssetActionsCallback = (error: (Error|null), response?: google.cloud.dataplex.v1.ListActionsResponse) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.dataplex.v1.DataplexService|createTask}.
+ * @param error Error, if any
+ * @param [response] Operation
+ */
+ type CreateTaskCallback = (error: (Error|null), response?: google.longrunning.Operation) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.dataplex.v1.DataplexService|updateTask}.
+ * @param error Error, if any
+ * @param [response] Operation
+ */
+ type UpdateTaskCallback = (error: (Error|null), response?: google.longrunning.Operation) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.dataplex.v1.DataplexService|deleteTask}.
+ * @param error Error, if any
+ * @param [response] Operation
+ */
+ type DeleteTaskCallback = (error: (Error|null), response?: google.longrunning.Operation) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.dataplex.v1.DataplexService|listTasks}.
+ * @param error Error, if any
+ * @param [response] ListTasksResponse
+ */
+ type ListTasksCallback = (error: (Error|null), response?: google.cloud.dataplex.v1.ListTasksResponse) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.dataplex.v1.DataplexService|getTask}.
+ * @param error Error, if any
+ * @param [response] Task
+ */
+ type GetTaskCallback = (error: (Error|null), response?: google.cloud.dataplex.v1.Task) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.dataplex.v1.DataplexService|listJobs}.
+ * @param error Error, if any
+ * @param [response] ListJobsResponse
+ */
+ type ListJobsCallback = (error: (Error|null), response?: google.cloud.dataplex.v1.ListJobsResponse) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.dataplex.v1.DataplexService|getJob}.
+ * @param error Error, if any
+ * @param [response] Job
+ */
+ type GetJobCallback = (error: (Error|null), response?: google.cloud.dataplex.v1.Job) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.dataplex.v1.DataplexService|cancelJob}.
+ * @param error Error, if any
+ * @param [response] Empty
+ */
+ type CancelJobCallback = (error: (Error|null), response?: google.protobuf.Empty) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.dataplex.v1.DataplexService|createEnvironment}.
+ * @param error Error, if any
+ * @param [response] Operation
+ */
+ type CreateEnvironmentCallback = (error: (Error|null), response?: google.longrunning.Operation) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.dataplex.v1.DataplexService|updateEnvironment}.
+ * @param error Error, if any
+ * @param [response] Operation
+ */
+ type UpdateEnvironmentCallback = (error: (Error|null), response?: google.longrunning.Operation) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.dataplex.v1.DataplexService|deleteEnvironment}.
+ * @param error Error, if any
+ * @param [response] Operation
+ */
+ type DeleteEnvironmentCallback = (error: (Error|null), response?: google.longrunning.Operation) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.dataplex.v1.DataplexService|listEnvironments}.
+ * @param error Error, if any
+ * @param [response] ListEnvironmentsResponse
+ */
+ type ListEnvironmentsCallback = (error: (Error|null), response?: google.cloud.dataplex.v1.ListEnvironmentsResponse) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.dataplex.v1.DataplexService|getEnvironment}.
+ * @param error Error, if any
+ * @param [response] Environment
+ */
+ type GetEnvironmentCallback = (error: (Error|null), response?: google.cloud.dataplex.v1.Environment) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.dataplex.v1.DataplexService|listSessions}.
+ * @param error Error, if any
+ * @param [response] ListSessionsResponse
+ */
+ type ListSessionsCallback = (error: (Error|null), response?: google.cloud.dataplex.v1.ListSessionsResponse) => void;
+ }
+
+ /** Properties of a CreateLakeRequest. */
+ interface ICreateLakeRequest {
+
+ /** CreateLakeRequest parent */
+ parent?: (string|null);
+
+ /** CreateLakeRequest lakeId */
+ lakeId?: (string|null);
+
+ /** CreateLakeRequest lake */
+ lake?: (google.cloud.dataplex.v1.ILake|null);
+
+ /** CreateLakeRequest validateOnly */
+ validateOnly?: (boolean|null);
+ }
+
+ /** Represents a CreateLakeRequest. */
+ class CreateLakeRequest implements ICreateLakeRequest {
+
+ /**
+ * Constructs a new CreateLakeRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.dataplex.v1.ICreateLakeRequest);
+
+ /** CreateLakeRequest parent. */
+ public parent: string;
+
+ /** CreateLakeRequest lakeId. */
+ public lakeId: string;
+
+ /** CreateLakeRequest lake. */
+ public lake?: (google.cloud.dataplex.v1.ILake|null);
+
+ /** CreateLakeRequest validateOnly. */
+ public validateOnly: boolean;
+
+ /**
+ * Creates a new CreateLakeRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns CreateLakeRequest instance
+ */
+ public static create(properties?: google.cloud.dataplex.v1.ICreateLakeRequest): google.cloud.dataplex.v1.CreateLakeRequest;
+
+ /**
+ * Encodes the specified CreateLakeRequest message. Does not implicitly {@link google.cloud.dataplex.v1.CreateLakeRequest.verify|verify} messages.
+ * @param message CreateLakeRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.dataplex.v1.ICreateLakeRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified CreateLakeRequest message, length delimited. Does not implicitly {@link google.cloud.dataplex.v1.CreateLakeRequest.verify|verify} messages.
+ * @param message CreateLakeRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.dataplex.v1.ICreateLakeRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a CreateLakeRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns CreateLakeRequest
+ * @throws {Error} If the payload is not 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.dataplex.v1.CreateLakeRequest;
+
+ /**
+ * Decodes a CreateLakeRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns CreateLakeRequest
+ * @throws {Error} If the payload 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.dataplex.v1.CreateLakeRequest;
+
+ /**
+ * Verifies a CreateLakeRequest message.
+ * @param message Plain 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 CreateLakeRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns CreateLakeRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.dataplex.v1.CreateLakeRequest;
+
+ /**
+ * Creates a plain object from a CreateLakeRequest message. Also converts values to other types if specified.
+ * @param message CreateLakeRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.dataplex.v1.CreateLakeRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this CreateLakeRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for CreateLakeRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of an UpdateLakeRequest. */
+ interface IUpdateLakeRequest {
+
+ /** UpdateLakeRequest updateMask */
+ updateMask?: (google.protobuf.IFieldMask|null);
+
+ /** UpdateLakeRequest lake */
+ lake?: (google.cloud.dataplex.v1.ILake|null);
+
+ /** UpdateLakeRequest validateOnly */
+ validateOnly?: (boolean|null);
+ }
+
+ /** Represents an UpdateLakeRequest. */
+ class UpdateLakeRequest implements IUpdateLakeRequest {
+
+ /**
+ * Constructs a new UpdateLakeRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.dataplex.v1.IUpdateLakeRequest);
+
+ /** UpdateLakeRequest updateMask. */
+ public updateMask?: (google.protobuf.IFieldMask|null);
+
+ /** UpdateLakeRequest lake. */
+ public lake?: (google.cloud.dataplex.v1.ILake|null);
+
+ /** UpdateLakeRequest validateOnly. */
+ public validateOnly: boolean;
+
+ /**
+ * Creates a new UpdateLakeRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns UpdateLakeRequest instance
+ */
+ public static create(properties?: google.cloud.dataplex.v1.IUpdateLakeRequest): google.cloud.dataplex.v1.UpdateLakeRequest;
+
+ /**
+ * Encodes the specified UpdateLakeRequest message. Does not implicitly {@link google.cloud.dataplex.v1.UpdateLakeRequest.verify|verify} messages.
+ * @param message UpdateLakeRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.dataplex.v1.IUpdateLakeRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified UpdateLakeRequest message, length delimited. Does not implicitly {@link google.cloud.dataplex.v1.UpdateLakeRequest.verify|verify} messages.
+ * @param message UpdateLakeRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.dataplex.v1.IUpdateLakeRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an UpdateLakeRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns UpdateLakeRequest
+ * @throws {Error} If the payload is not 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.dataplex.v1.UpdateLakeRequest;
+
+ /**
+ * Decodes an UpdateLakeRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns UpdateLakeRequest
+ * @throws {Error} If the payload 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.dataplex.v1.UpdateLakeRequest;
+
+ /**
+ * Verifies an UpdateLakeRequest message.
+ * @param message Plain 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 UpdateLakeRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns UpdateLakeRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.dataplex.v1.UpdateLakeRequest;
+
+ /**
+ * Creates a plain object from an UpdateLakeRequest message. Also converts values to other types if specified.
+ * @param message UpdateLakeRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.dataplex.v1.UpdateLakeRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this UpdateLakeRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for UpdateLakeRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a DeleteLakeRequest. */
+ interface IDeleteLakeRequest {
+
+ /** DeleteLakeRequest name */
+ name?: (string|null);
+ }
+
+ /** Represents a DeleteLakeRequest. */
+ class DeleteLakeRequest implements IDeleteLakeRequest {
+
+ /**
+ * Constructs a new DeleteLakeRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.dataplex.v1.IDeleteLakeRequest);
+
+ /** DeleteLakeRequest name. */
+ public name: string;
+
+ /**
+ * Creates a new DeleteLakeRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns DeleteLakeRequest instance
+ */
+ public static create(properties?: google.cloud.dataplex.v1.IDeleteLakeRequest): google.cloud.dataplex.v1.DeleteLakeRequest;
+
+ /**
+ * Encodes the specified DeleteLakeRequest message. Does not implicitly {@link google.cloud.dataplex.v1.DeleteLakeRequest.verify|verify} messages.
+ * @param message DeleteLakeRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.dataplex.v1.IDeleteLakeRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified DeleteLakeRequest message, length delimited. Does not implicitly {@link google.cloud.dataplex.v1.DeleteLakeRequest.verify|verify} messages.
+ * @param message DeleteLakeRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.dataplex.v1.IDeleteLakeRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a DeleteLakeRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns DeleteLakeRequest
+ * @throws {Error} If the payload is not 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.dataplex.v1.DeleteLakeRequest;
+
+ /**
+ * Decodes a DeleteLakeRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns DeleteLakeRequest
+ * @throws {Error} If the payload 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.dataplex.v1.DeleteLakeRequest;
+
+ /**
+ * Verifies a DeleteLakeRequest message.
+ * @param message Plain 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 DeleteLakeRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns DeleteLakeRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.dataplex.v1.DeleteLakeRequest;
+
+ /**
+ * Creates a plain object from a DeleteLakeRequest message. Also converts values to other types if specified.
+ * @param message DeleteLakeRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.dataplex.v1.DeleteLakeRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this DeleteLakeRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for DeleteLakeRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a ListLakesRequest. */
+ interface IListLakesRequest {
+
+ /** ListLakesRequest parent */
+ parent?: (string|null);
+
+ /** ListLakesRequest pageSize */
+ pageSize?: (number|null);
+
+ /** ListLakesRequest pageToken */
+ pageToken?: (string|null);
+
+ /** ListLakesRequest filter */
+ filter?: (string|null);
+
+ /** ListLakesRequest orderBy */
+ orderBy?: (string|null);
+ }
+
+ /** Represents a ListLakesRequest. */
+ class ListLakesRequest implements IListLakesRequest {
+
+ /**
+ * Constructs a new ListLakesRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.dataplex.v1.IListLakesRequest);
+
+ /** ListLakesRequest parent. */
+ public parent: string;
+
+ /** ListLakesRequest pageSize. */
+ public pageSize: number;
+
+ /** ListLakesRequest pageToken. */
+ public pageToken: string;
+
+ /** ListLakesRequest filter. */
+ public filter: string;
+
+ /** ListLakesRequest orderBy. */
+ public orderBy: string;
+
+ /**
+ * Creates a new ListLakesRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ListLakesRequest instance
+ */
+ public static create(properties?: google.cloud.dataplex.v1.IListLakesRequest): google.cloud.dataplex.v1.ListLakesRequest;
+
+ /**
+ * Encodes the specified ListLakesRequest message. Does not implicitly {@link google.cloud.dataplex.v1.ListLakesRequest.verify|verify} messages.
+ * @param message ListLakesRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.dataplex.v1.IListLakesRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ListLakesRequest message, length delimited. Does not implicitly {@link google.cloud.dataplex.v1.ListLakesRequest.verify|verify} messages.
+ * @param message ListLakesRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.dataplex.v1.IListLakesRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ListLakesRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ListLakesRequest
+ * @throws {Error} If the payload is not 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.dataplex.v1.ListLakesRequest;
+
+ /**
+ * Decodes a ListLakesRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ListLakesRequest
+ * @throws {Error} If the payload 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.dataplex.v1.ListLakesRequest;
+
+ /**
+ * Verifies a ListLakesRequest message.
+ * @param message Plain 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 ListLakesRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ListLakesRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.dataplex.v1.ListLakesRequest;
+
+ /**
+ * Creates a plain object from a ListLakesRequest message. Also converts values to other types if specified.
+ * @param message ListLakesRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.dataplex.v1.ListLakesRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ListLakesRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ListLakesRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a ListLakesResponse. */
+ interface IListLakesResponse {
+
+ /** ListLakesResponse lakes */
+ lakes?: (google.cloud.dataplex.v1.ILake[]|null);
+
+ /** ListLakesResponse nextPageToken */
+ nextPageToken?: (string|null);
+
+ /** ListLakesResponse unreachableLocations */
+ unreachableLocations?: (string[]|null);
+ }
+
+ /** Represents a ListLakesResponse. */
+ class ListLakesResponse implements IListLakesResponse {
+
+ /**
+ * Constructs a new ListLakesResponse.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.dataplex.v1.IListLakesResponse);
+
+ /** ListLakesResponse lakes. */
+ public lakes: google.cloud.dataplex.v1.ILake[];
+
+ /** ListLakesResponse nextPageToken. */
+ public nextPageToken: string;
+
+ /** ListLakesResponse unreachableLocations. */
+ public unreachableLocations: string[];
+
+ /**
+ * Creates a new ListLakesResponse instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ListLakesResponse instance
+ */
+ public static create(properties?: google.cloud.dataplex.v1.IListLakesResponse): google.cloud.dataplex.v1.ListLakesResponse;
+
+ /**
+ * Encodes the specified ListLakesResponse message. Does not implicitly {@link google.cloud.dataplex.v1.ListLakesResponse.verify|verify} messages.
+ * @param message ListLakesResponse message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.dataplex.v1.IListLakesResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ListLakesResponse message, length delimited. Does not implicitly {@link google.cloud.dataplex.v1.ListLakesResponse.verify|verify} messages.
+ * @param message ListLakesResponse message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.dataplex.v1.IListLakesResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ListLakesResponse message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ListLakesResponse
+ * @throws {Error} If the payload is not 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.dataplex.v1.ListLakesResponse;
+
+ /**
+ * Decodes a ListLakesResponse message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ListLakesResponse
+ * @throws {Error} If the payload 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.dataplex.v1.ListLakesResponse;
+
+ /**
+ * Verifies a ListLakesResponse message.
+ * @param message Plain 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 ListLakesResponse message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ListLakesResponse
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.dataplex.v1.ListLakesResponse;
+
+ /**
+ * Creates a plain object from a ListLakesResponse message. Also converts values to other types if specified.
+ * @param message ListLakesResponse
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.dataplex.v1.ListLakesResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ListLakesResponse to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ListLakesResponse
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a ListLakeActionsRequest. */
+ interface IListLakeActionsRequest {
+
+ /** ListLakeActionsRequest parent */
+ parent?: (string|null);
+
+ /** ListLakeActionsRequest pageSize */
+ pageSize?: (number|null);
+
+ /** ListLakeActionsRequest pageToken */
+ pageToken?: (string|null);
+ }
+
+ /** Represents a ListLakeActionsRequest. */
+ class ListLakeActionsRequest implements IListLakeActionsRequest {
+
+ /**
+ * Constructs a new ListLakeActionsRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.dataplex.v1.IListLakeActionsRequest);
+
+ /** ListLakeActionsRequest parent. */
+ public parent: string;
+
+ /** ListLakeActionsRequest pageSize. */
+ public pageSize: number;
+
+ /** ListLakeActionsRequest pageToken. */
+ public pageToken: string;
+
+ /**
+ * Creates a new ListLakeActionsRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ListLakeActionsRequest instance
+ */
+ public static create(properties?: google.cloud.dataplex.v1.IListLakeActionsRequest): google.cloud.dataplex.v1.ListLakeActionsRequest;
+
+ /**
+ * Encodes the specified ListLakeActionsRequest message. Does not implicitly {@link google.cloud.dataplex.v1.ListLakeActionsRequest.verify|verify} messages.
+ * @param message ListLakeActionsRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.dataplex.v1.IListLakeActionsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ListLakeActionsRequest message, length delimited. Does not implicitly {@link google.cloud.dataplex.v1.ListLakeActionsRequest.verify|verify} messages.
+ * @param message ListLakeActionsRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.dataplex.v1.IListLakeActionsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ListLakeActionsRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ListLakeActionsRequest
+ * @throws {Error} If the payload is not 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.dataplex.v1.ListLakeActionsRequest;
+
+ /**
+ * Decodes a ListLakeActionsRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ListLakeActionsRequest
+ * @throws {Error} If the payload 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.dataplex.v1.ListLakeActionsRequest;
+
+ /**
+ * Verifies a ListLakeActionsRequest message.
+ * @param message Plain 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 ListLakeActionsRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ListLakeActionsRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.dataplex.v1.ListLakeActionsRequest;
+
+ /**
+ * Creates a plain object from a ListLakeActionsRequest message. Also converts values to other types if specified.
+ * @param message ListLakeActionsRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.dataplex.v1.ListLakeActionsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ListLakeActionsRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ListLakeActionsRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a ListActionsResponse. */
+ interface IListActionsResponse {
+
+ /** ListActionsResponse actions */
+ actions?: (google.cloud.dataplex.v1.IAction[]|null);
+
+ /** ListActionsResponse nextPageToken */
+ nextPageToken?: (string|null);
+ }
+
+ /** Represents a ListActionsResponse. */
+ class ListActionsResponse implements IListActionsResponse {
+
+ /**
+ * Constructs a new ListActionsResponse.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.dataplex.v1.IListActionsResponse);
+
+ /** ListActionsResponse actions. */
+ public actions: google.cloud.dataplex.v1.IAction[];
+
+ /** ListActionsResponse nextPageToken. */
+ public nextPageToken: string;
+
+ /**
+ * Creates a new ListActionsResponse instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ListActionsResponse instance
+ */
+ public static create(properties?: google.cloud.dataplex.v1.IListActionsResponse): google.cloud.dataplex.v1.ListActionsResponse;
+
+ /**
+ * Encodes the specified ListActionsResponse message. Does not implicitly {@link google.cloud.dataplex.v1.ListActionsResponse.verify|verify} messages.
+ * @param message ListActionsResponse message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.dataplex.v1.IListActionsResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ListActionsResponse message, length delimited. Does not implicitly {@link google.cloud.dataplex.v1.ListActionsResponse.verify|verify} messages.
+ * @param message ListActionsResponse message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.dataplex.v1.IListActionsResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ListActionsResponse message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ListActionsResponse
+ * @throws {Error} If the payload is not 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.dataplex.v1.ListActionsResponse;
+
+ /**
+ * Decodes a ListActionsResponse message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ListActionsResponse
+ * @throws {Error} If the payload 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.dataplex.v1.ListActionsResponse;
+
+ /**
+ * Verifies a ListActionsResponse message.
+ * @param message Plain 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 ListActionsResponse message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ListActionsResponse
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.dataplex.v1.ListActionsResponse;
+
+ /**
+ * Creates a plain object from a ListActionsResponse message. Also converts values to other types if specified.
+ * @param message ListActionsResponse
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.dataplex.v1.ListActionsResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ListActionsResponse to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ListActionsResponse
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a GetLakeRequest. */
+ interface IGetLakeRequest {
+
+ /** GetLakeRequest name */
+ name?: (string|null);
+ }
+
+ /** Represents a GetLakeRequest. */
+ class GetLakeRequest implements IGetLakeRequest {
+
+ /**
+ * Constructs a new GetLakeRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.dataplex.v1.IGetLakeRequest);
+
+ /** GetLakeRequest name. */
+ public name: string;
+
+ /**
+ * Creates a new GetLakeRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns GetLakeRequest instance
+ */
+ public static create(properties?: google.cloud.dataplex.v1.IGetLakeRequest): google.cloud.dataplex.v1.GetLakeRequest;
+
+ /**
+ * Encodes the specified GetLakeRequest message. Does not implicitly {@link google.cloud.dataplex.v1.GetLakeRequest.verify|verify} messages.
+ * @param message GetLakeRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.dataplex.v1.IGetLakeRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified GetLakeRequest message, length delimited. Does not implicitly {@link google.cloud.dataplex.v1.GetLakeRequest.verify|verify} messages.
+ * @param message GetLakeRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.dataplex.v1.IGetLakeRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a GetLakeRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns GetLakeRequest
+ * @throws {Error} If the payload is not 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.dataplex.v1.GetLakeRequest;
+
+ /**
+ * Decodes a GetLakeRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns GetLakeRequest
+ * @throws {Error} If the payload 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.dataplex.v1.GetLakeRequest;
+
+ /**
+ * Verifies a GetLakeRequest message.
+ * @param message Plain 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 GetLakeRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns GetLakeRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.dataplex.v1.GetLakeRequest;
+
+ /**
+ * Creates a plain object from a GetLakeRequest message. Also converts values to other types if specified.
+ * @param message GetLakeRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.dataplex.v1.GetLakeRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this GetLakeRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for GetLakeRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a CreateZoneRequest. */
+ interface ICreateZoneRequest {
+
+ /** CreateZoneRequest parent */
+ parent?: (string|null);
+
+ /** CreateZoneRequest zoneId */
+ zoneId?: (string|null);
+
+ /** CreateZoneRequest zone */
+ zone?: (google.cloud.dataplex.v1.IZone|null);
+
+ /** CreateZoneRequest validateOnly */
+ validateOnly?: (boolean|null);
+ }
+
+ /** Represents a CreateZoneRequest. */
+ class CreateZoneRequest implements ICreateZoneRequest {
+
+ /**
+ * Constructs a new CreateZoneRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.dataplex.v1.ICreateZoneRequest);
+
+ /** CreateZoneRequest parent. */
+ public parent: string;
+
+ /** CreateZoneRequest zoneId. */
+ public zoneId: string;
+
+ /** CreateZoneRequest zone. */
+ public zone?: (google.cloud.dataplex.v1.IZone|null);
+
+ /** CreateZoneRequest validateOnly. */
+ public validateOnly: boolean;
+
+ /**
+ * Creates a new CreateZoneRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns CreateZoneRequest instance
+ */
+ public static create(properties?: google.cloud.dataplex.v1.ICreateZoneRequest): google.cloud.dataplex.v1.CreateZoneRequest;
+
+ /**
+ * Encodes the specified CreateZoneRequest message. Does not implicitly {@link google.cloud.dataplex.v1.CreateZoneRequest.verify|verify} messages.
+ * @param message CreateZoneRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.dataplex.v1.ICreateZoneRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified CreateZoneRequest message, length delimited. Does not implicitly {@link google.cloud.dataplex.v1.CreateZoneRequest.verify|verify} messages.
+ * @param message CreateZoneRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.dataplex.v1.ICreateZoneRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a CreateZoneRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns CreateZoneRequest
+ * @throws {Error} If the payload is not 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.dataplex.v1.CreateZoneRequest;
+
+ /**
+ * Decodes a CreateZoneRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns CreateZoneRequest
+ * @throws {Error} If the payload 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.dataplex.v1.CreateZoneRequest;
+
+ /**
+ * Verifies a CreateZoneRequest message.
+ * @param message Plain 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 CreateZoneRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns CreateZoneRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.dataplex.v1.CreateZoneRequest;
+
+ /**
+ * Creates a plain object from a CreateZoneRequest message. Also converts values to other types if specified.
+ * @param message CreateZoneRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.dataplex.v1.CreateZoneRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this CreateZoneRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for CreateZoneRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of an UpdateZoneRequest. */
+ interface IUpdateZoneRequest {
+
+ /** UpdateZoneRequest updateMask */
+ updateMask?: (google.protobuf.IFieldMask|null);
+
+ /** UpdateZoneRequest zone */
+ zone?: (google.cloud.dataplex.v1.IZone|null);
+
+ /** UpdateZoneRequest validateOnly */
+ validateOnly?: (boolean|null);
+ }
+
+ /** Represents an UpdateZoneRequest. */
+ class UpdateZoneRequest implements IUpdateZoneRequest {
+
+ /**
+ * Constructs a new UpdateZoneRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.dataplex.v1.IUpdateZoneRequest);
+
+ /** UpdateZoneRequest updateMask. */
+ public updateMask?: (google.protobuf.IFieldMask|null);
+
+ /** UpdateZoneRequest zone. */
+ public zone?: (google.cloud.dataplex.v1.IZone|null);
+
+ /** UpdateZoneRequest validateOnly. */
+ public validateOnly: boolean;
+
+ /**
+ * Creates a new UpdateZoneRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns UpdateZoneRequest instance
+ */
+ public static create(properties?: google.cloud.dataplex.v1.IUpdateZoneRequest): google.cloud.dataplex.v1.UpdateZoneRequest;
+
+ /**
+ * Encodes the specified UpdateZoneRequest message. Does not implicitly {@link google.cloud.dataplex.v1.UpdateZoneRequest.verify|verify} messages.
+ * @param message UpdateZoneRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.dataplex.v1.IUpdateZoneRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified UpdateZoneRequest message, length delimited. Does not implicitly {@link google.cloud.dataplex.v1.UpdateZoneRequest.verify|verify} messages.
+ * @param message UpdateZoneRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.dataplex.v1.IUpdateZoneRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an UpdateZoneRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns UpdateZoneRequest
+ * @throws {Error} If the payload is not 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.dataplex.v1.UpdateZoneRequest;
+
+ /**
+ * Decodes an UpdateZoneRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns UpdateZoneRequest
+ * @throws {Error} If the payload 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.dataplex.v1.UpdateZoneRequest;
+
+ /**
+ * Verifies an UpdateZoneRequest message.
+ * @param message Plain 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 UpdateZoneRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns UpdateZoneRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.dataplex.v1.UpdateZoneRequest;
+
+ /**
+ * Creates a plain object from an UpdateZoneRequest message. Also converts values to other types if specified.
+ * @param message UpdateZoneRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.dataplex.v1.UpdateZoneRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this UpdateZoneRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for UpdateZoneRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a DeleteZoneRequest. */
+ interface IDeleteZoneRequest {
+
+ /** DeleteZoneRequest name */
+ name?: (string|null);
+ }
+
+ /** Represents a DeleteZoneRequest. */
+ class DeleteZoneRequest implements IDeleteZoneRequest {
+
+ /**
+ * Constructs a new DeleteZoneRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.dataplex.v1.IDeleteZoneRequest);
+
+ /** DeleteZoneRequest name. */
+ public name: string;
+
+ /**
+ * Creates a new DeleteZoneRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns DeleteZoneRequest instance
+ */
+ public static create(properties?: google.cloud.dataplex.v1.IDeleteZoneRequest): google.cloud.dataplex.v1.DeleteZoneRequest;
+
+ /**
+ * Encodes the specified DeleteZoneRequest message. Does not implicitly {@link google.cloud.dataplex.v1.DeleteZoneRequest.verify|verify} messages.
+ * @param message DeleteZoneRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.dataplex.v1.IDeleteZoneRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified DeleteZoneRequest message, length delimited. Does not implicitly {@link google.cloud.dataplex.v1.DeleteZoneRequest.verify|verify} messages.
+ * @param message DeleteZoneRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.dataplex.v1.IDeleteZoneRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a DeleteZoneRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns DeleteZoneRequest
+ * @throws {Error} If the payload is not 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.dataplex.v1.DeleteZoneRequest;
+
+ /**
+ * Decodes a DeleteZoneRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns DeleteZoneRequest
+ * @throws {Error} If the payload 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.dataplex.v1.DeleteZoneRequest;
+
+ /**
+ * Verifies a DeleteZoneRequest message.
+ * @param message Plain 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 DeleteZoneRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns DeleteZoneRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.dataplex.v1.DeleteZoneRequest;
+
+ /**
+ * Creates a plain object from a DeleteZoneRequest message. Also converts values to other types if specified.
+ * @param message DeleteZoneRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.dataplex.v1.DeleteZoneRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this DeleteZoneRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for DeleteZoneRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a ListZonesRequest. */
+ interface IListZonesRequest {
+
+ /** ListZonesRequest parent */
+ parent?: (string|null);
+
+ /** ListZonesRequest pageSize */
+ pageSize?: (number|null);
+
+ /** ListZonesRequest pageToken */
+ pageToken?: (string|null);
+
+ /** ListZonesRequest filter */
+ filter?: (string|null);
+
+ /** ListZonesRequest orderBy */
+ orderBy?: (string|null);
+ }
+
+ /** Represents a ListZonesRequest. */
+ class ListZonesRequest implements IListZonesRequest {
+
+ /**
+ * Constructs a new ListZonesRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.dataplex.v1.IListZonesRequest);
+
+ /** ListZonesRequest parent. */
+ public parent: string;
+
+ /** ListZonesRequest pageSize. */
+ public pageSize: number;
+
+ /** ListZonesRequest pageToken. */
+ public pageToken: string;
+
+ /** ListZonesRequest filter. */
+ public filter: string;
+
+ /** ListZonesRequest orderBy. */
+ public orderBy: string;
+
+ /**
+ * Creates a new ListZonesRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ListZonesRequest instance
+ */
+ public static create(properties?: google.cloud.dataplex.v1.IListZonesRequest): google.cloud.dataplex.v1.ListZonesRequest;
+
+ /**
+ * Encodes the specified ListZonesRequest message. Does not implicitly {@link google.cloud.dataplex.v1.ListZonesRequest.verify|verify} messages.
+ * @param message ListZonesRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.dataplex.v1.IListZonesRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ListZonesRequest message, length delimited. Does not implicitly {@link google.cloud.dataplex.v1.ListZonesRequest.verify|verify} messages.
+ * @param message ListZonesRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.dataplex.v1.IListZonesRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ListZonesRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ListZonesRequest
+ * @throws {Error} If the payload is not 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.dataplex.v1.ListZonesRequest;
+
+ /**
+ * Decodes a ListZonesRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ListZonesRequest
+ * @throws {Error} If the payload 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.dataplex.v1.ListZonesRequest;
+
+ /**
+ * Verifies a ListZonesRequest message.
+ * @param message Plain 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 ListZonesRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ListZonesRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.dataplex.v1.ListZonesRequest;
+
+ /**
+ * Creates a plain object from a ListZonesRequest message. Also converts values to other types if specified.
+ * @param message ListZonesRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.dataplex.v1.ListZonesRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ListZonesRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ListZonesRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a ListZonesResponse. */
+ interface IListZonesResponse {
+
+ /** ListZonesResponse zones */
+ zones?: (google.cloud.dataplex.v1.IZone[]|null);
+
+ /** ListZonesResponse nextPageToken */
+ nextPageToken?: (string|null);
+ }
+
+ /** Represents a ListZonesResponse. */
+ class ListZonesResponse implements IListZonesResponse {
+
+ /**
+ * Constructs a new ListZonesResponse.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.dataplex.v1.IListZonesResponse);
+
+ /** ListZonesResponse zones. */
+ public zones: google.cloud.dataplex.v1.IZone[];
+
+ /** ListZonesResponse nextPageToken. */
+ public nextPageToken: string;
+
+ /**
+ * Creates a new ListZonesResponse instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ListZonesResponse instance
+ */
+ public static create(properties?: google.cloud.dataplex.v1.IListZonesResponse): google.cloud.dataplex.v1.ListZonesResponse;
+
+ /**
+ * Encodes the specified ListZonesResponse message. Does not implicitly {@link google.cloud.dataplex.v1.ListZonesResponse.verify|verify} messages.
+ * @param message ListZonesResponse message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.dataplex.v1.IListZonesResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ListZonesResponse message, length delimited. Does not implicitly {@link google.cloud.dataplex.v1.ListZonesResponse.verify|verify} messages.
+ * @param message ListZonesResponse message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.dataplex.v1.IListZonesResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ListZonesResponse message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ListZonesResponse
+ * @throws {Error} If the payload is not 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.dataplex.v1.ListZonesResponse;
+
+ /**
+ * Decodes a ListZonesResponse message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ListZonesResponse
+ * @throws {Error} If the payload 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.dataplex.v1.ListZonesResponse;
+
+ /**
+ * Verifies a ListZonesResponse message.
+ * @param message Plain 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 ListZonesResponse message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ListZonesResponse
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.dataplex.v1.ListZonesResponse;
+
+ /**
+ * Creates a plain object from a ListZonesResponse message. Also converts values to other types if specified.
+ * @param message ListZonesResponse
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.dataplex.v1.ListZonesResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ListZonesResponse to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ListZonesResponse
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a ListZoneActionsRequest. */
+ interface IListZoneActionsRequest {
+
+ /** ListZoneActionsRequest parent */
+ parent?: (string|null);
+
+ /** ListZoneActionsRequest pageSize */
+ pageSize?: (number|null);
+
+ /** ListZoneActionsRequest pageToken */
+ pageToken?: (string|null);
+ }
+
+ /** Represents a ListZoneActionsRequest. */
+ class ListZoneActionsRequest implements IListZoneActionsRequest {
+
+ /**
+ * Constructs a new ListZoneActionsRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.dataplex.v1.IListZoneActionsRequest);
+
+ /** ListZoneActionsRequest parent. */
+ public parent: string;
+
+ /** ListZoneActionsRequest pageSize. */
+ public pageSize: number;
+
+ /** ListZoneActionsRequest pageToken. */
+ public pageToken: string;
+
+ /**
+ * Creates a new ListZoneActionsRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ListZoneActionsRequest instance
+ */
+ public static create(properties?: google.cloud.dataplex.v1.IListZoneActionsRequest): google.cloud.dataplex.v1.ListZoneActionsRequest;
+
+ /**
+ * Encodes the specified ListZoneActionsRequest message. Does not implicitly {@link google.cloud.dataplex.v1.ListZoneActionsRequest.verify|verify} messages.
+ * @param message ListZoneActionsRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.dataplex.v1.IListZoneActionsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ListZoneActionsRequest message, length delimited. Does not implicitly {@link google.cloud.dataplex.v1.ListZoneActionsRequest.verify|verify} messages.
+ * @param message ListZoneActionsRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.dataplex.v1.IListZoneActionsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ListZoneActionsRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ListZoneActionsRequest
+ * @throws {Error} If the payload is not 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.dataplex.v1.ListZoneActionsRequest;
+
+ /**
+ * Decodes a ListZoneActionsRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ListZoneActionsRequest
+ * @throws {Error} If the payload 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.dataplex.v1.ListZoneActionsRequest;
+
+ /**
+ * Verifies a ListZoneActionsRequest message.
+ * @param message Plain 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 ListZoneActionsRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ListZoneActionsRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.dataplex.v1.ListZoneActionsRequest;
+
+ /**
+ * Creates a plain object from a ListZoneActionsRequest message. Also converts values to other types if specified.
+ * @param message ListZoneActionsRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.dataplex.v1.ListZoneActionsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ListZoneActionsRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ListZoneActionsRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a GetZoneRequest. */
+ interface IGetZoneRequest {
+
+ /** GetZoneRequest name */
+ name?: (string|null);
+ }
+
+ /** Represents a GetZoneRequest. */
+ class GetZoneRequest implements IGetZoneRequest {
+
+ /**
+ * Constructs a new GetZoneRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.dataplex.v1.IGetZoneRequest);
+
+ /** GetZoneRequest name. */
+ public name: string;
+
+ /**
+ * Creates a new GetZoneRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns GetZoneRequest instance
+ */
+ public static create(properties?: google.cloud.dataplex.v1.IGetZoneRequest): google.cloud.dataplex.v1.GetZoneRequest;
+
+ /**
+ * Encodes the specified GetZoneRequest message. Does not implicitly {@link google.cloud.dataplex.v1.GetZoneRequest.verify|verify} messages.
+ * @param message GetZoneRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.dataplex.v1.IGetZoneRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified GetZoneRequest message, length delimited. Does not implicitly {@link google.cloud.dataplex.v1.GetZoneRequest.verify|verify} messages.
+ * @param message GetZoneRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.dataplex.v1.IGetZoneRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a GetZoneRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns GetZoneRequest
+ * @throws {Error} If the payload is not 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.dataplex.v1.GetZoneRequest;
+
+ /**
+ * Decodes a GetZoneRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns GetZoneRequest
+ * @throws {Error} If the payload 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.dataplex.v1.GetZoneRequest;
+
+ /**
+ * Verifies a GetZoneRequest message.
+ * @param message Plain 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 GetZoneRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns GetZoneRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.dataplex.v1.GetZoneRequest;
+
+ /**
+ * Creates a plain object from a GetZoneRequest message. Also converts values to other types if specified.
+ * @param message GetZoneRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.dataplex.v1.GetZoneRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this GetZoneRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for GetZoneRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a CreateAssetRequest. */
+ interface ICreateAssetRequest {
+
+ /** CreateAssetRequest parent */
+ parent?: (string|null);
+
+ /** CreateAssetRequest assetId */
+ assetId?: (string|null);
+
+ /** CreateAssetRequest asset */
+ asset?: (google.cloud.dataplex.v1.IAsset|null);
+
+ /** CreateAssetRequest validateOnly */
+ validateOnly?: (boolean|null);
+ }
+
+ /** Represents a CreateAssetRequest. */
+ class CreateAssetRequest implements ICreateAssetRequest {
+
+ /**
+ * Constructs a new CreateAssetRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.dataplex.v1.ICreateAssetRequest);
+
+ /** CreateAssetRequest parent. */
+ public parent: string;
+
+ /** CreateAssetRequest assetId. */
+ public assetId: string;
+
+ /** CreateAssetRequest asset. */
+ public asset?: (google.cloud.dataplex.v1.IAsset|null);
+
+ /** CreateAssetRequest validateOnly. */
+ public validateOnly: boolean;
+
+ /**
+ * Creates a new CreateAssetRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns CreateAssetRequest instance
+ */
+ public static create(properties?: google.cloud.dataplex.v1.ICreateAssetRequest): google.cloud.dataplex.v1.CreateAssetRequest;
+
+ /**
+ * Encodes the specified CreateAssetRequest message. Does not implicitly {@link google.cloud.dataplex.v1.CreateAssetRequest.verify|verify} messages.
+ * @param message CreateAssetRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.dataplex.v1.ICreateAssetRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified CreateAssetRequest message, length delimited. Does not implicitly {@link google.cloud.dataplex.v1.CreateAssetRequest.verify|verify} messages.
+ * @param message CreateAssetRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.dataplex.v1.ICreateAssetRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a CreateAssetRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns CreateAssetRequest
+ * @throws {Error} If the payload is not 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.dataplex.v1.CreateAssetRequest;
+
+ /**
+ * Decodes a CreateAssetRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns CreateAssetRequest
+ * @throws {Error} If the payload 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.dataplex.v1.CreateAssetRequest;
+
+ /**
+ * Verifies a CreateAssetRequest message.
+ * @param message Plain 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 CreateAssetRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns CreateAssetRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.dataplex.v1.CreateAssetRequest;
+
+ /**
+ * Creates a plain object from a CreateAssetRequest message. Also converts values to other types if specified.
+ * @param message CreateAssetRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.dataplex.v1.CreateAssetRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this CreateAssetRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for CreateAssetRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of an UpdateAssetRequest. */
+ interface IUpdateAssetRequest {
+
+ /** UpdateAssetRequest updateMask */
+ updateMask?: (google.protobuf.IFieldMask|null);
+
+ /** UpdateAssetRequest asset */
+ asset?: (google.cloud.dataplex.v1.IAsset|null);
+
+ /** UpdateAssetRequest validateOnly */
+ validateOnly?: (boolean|null);
+ }
+
+ /** Represents an UpdateAssetRequest. */
+ class UpdateAssetRequest implements IUpdateAssetRequest {
+
+ /**
+ * Constructs a new UpdateAssetRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.dataplex.v1.IUpdateAssetRequest);
+
+ /** UpdateAssetRequest updateMask. */
+ public updateMask?: (google.protobuf.IFieldMask|null);
+
+ /** UpdateAssetRequest asset. */
+ public asset?: (google.cloud.dataplex.v1.IAsset|null);
+
+ /** UpdateAssetRequest validateOnly. */
+ public validateOnly: boolean;
+
+ /**
+ * Creates a new UpdateAssetRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns UpdateAssetRequest instance
+ */
+ public static create(properties?: google.cloud.dataplex.v1.IUpdateAssetRequest): google.cloud.dataplex.v1.UpdateAssetRequest;
+
+ /**
+ * Encodes the specified UpdateAssetRequest message. Does not implicitly {@link google.cloud.dataplex.v1.UpdateAssetRequest.verify|verify} messages.
+ * @param message UpdateAssetRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.dataplex.v1.IUpdateAssetRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified UpdateAssetRequest message, length delimited. Does not implicitly {@link google.cloud.dataplex.v1.UpdateAssetRequest.verify|verify} messages.
+ * @param message UpdateAssetRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.dataplex.v1.IUpdateAssetRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an UpdateAssetRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns UpdateAssetRequest
+ * @throws {Error} If the payload is not 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.dataplex.v1.UpdateAssetRequest;
+
+ /**
+ * Decodes an UpdateAssetRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns UpdateAssetRequest
+ * @throws {Error} If the payload 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.dataplex.v1.UpdateAssetRequest;
+
+ /**
+ * Verifies an UpdateAssetRequest message.
+ * @param message Plain 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 UpdateAssetRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns UpdateAssetRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.dataplex.v1.UpdateAssetRequest;
+
+ /**
+ * Creates a plain object from an UpdateAssetRequest message. Also converts values to other types if specified.
+ * @param message UpdateAssetRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.dataplex.v1.UpdateAssetRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this UpdateAssetRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for UpdateAssetRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a DeleteAssetRequest. */
+ interface IDeleteAssetRequest {
+
+ /** DeleteAssetRequest name */
+ name?: (string|null);
+ }
+
+ /** Represents a DeleteAssetRequest. */
+ class DeleteAssetRequest implements IDeleteAssetRequest {
+
+ /**
+ * Constructs a new DeleteAssetRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.dataplex.v1.IDeleteAssetRequest);
+
+ /** DeleteAssetRequest name. */
+ public name: string;
+
+ /**
+ * Creates a new DeleteAssetRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns DeleteAssetRequest instance
+ */
+ public static create(properties?: google.cloud.dataplex.v1.IDeleteAssetRequest): google.cloud.dataplex.v1.DeleteAssetRequest;
+
+ /**
+ * Encodes the specified DeleteAssetRequest message. Does not implicitly {@link google.cloud.dataplex.v1.DeleteAssetRequest.verify|verify} messages.
+ * @param message DeleteAssetRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.dataplex.v1.IDeleteAssetRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified DeleteAssetRequest message, length delimited. Does not implicitly {@link google.cloud.dataplex.v1.DeleteAssetRequest.verify|verify} messages.
+ * @param message DeleteAssetRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.dataplex.v1.IDeleteAssetRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a DeleteAssetRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns DeleteAssetRequest
+ * @throws {Error} If the payload is not 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.dataplex.v1.DeleteAssetRequest;
+
+ /**
+ * Decodes a DeleteAssetRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns DeleteAssetRequest
+ * @throws {Error} If the payload 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.dataplex.v1.DeleteAssetRequest;
+
+ /**
+ * Verifies a DeleteAssetRequest message.
+ * @param message Plain 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 DeleteAssetRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns DeleteAssetRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.dataplex.v1.DeleteAssetRequest;
+
+ /**
+ * Creates a plain object from a DeleteAssetRequest message. Also converts values to other types if specified.
+ * @param message DeleteAssetRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.dataplex.v1.DeleteAssetRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this DeleteAssetRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for DeleteAssetRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a ListAssetsRequest. */
+ interface IListAssetsRequest {
+
+ /** ListAssetsRequest parent */
+ parent?: (string|null);
+
+ /** ListAssetsRequest pageSize */
+ pageSize?: (number|null);
+
+ /** ListAssetsRequest pageToken */
+ pageToken?: (string|null);
+
+ /** ListAssetsRequest filter */
+ filter?: (string|null);
+
+ /** ListAssetsRequest orderBy */
+ orderBy?: (string|null);
+ }
+
+ /** Represents a ListAssetsRequest. */
+ class ListAssetsRequest implements IListAssetsRequest {
+
+ /**
+ * Constructs a new ListAssetsRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.dataplex.v1.IListAssetsRequest);
+
+ /** ListAssetsRequest parent. */
+ public parent: string;
+
+ /** ListAssetsRequest pageSize. */
+ public pageSize: number;
+
+ /** ListAssetsRequest pageToken. */
+ public pageToken: string;
+
+ /** ListAssetsRequest filter. */
+ public filter: string;
+
+ /** ListAssetsRequest orderBy. */
+ public orderBy: string;
+
+ /**
+ * Creates a new ListAssetsRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ListAssetsRequest instance
+ */
+ public static create(properties?: google.cloud.dataplex.v1.IListAssetsRequest): google.cloud.dataplex.v1.ListAssetsRequest;
+
+ /**
+ * Encodes the specified ListAssetsRequest message. Does not implicitly {@link google.cloud.dataplex.v1.ListAssetsRequest.verify|verify} messages.
+ * @param message ListAssetsRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.dataplex.v1.IListAssetsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ListAssetsRequest message, length delimited. Does not implicitly {@link google.cloud.dataplex.v1.ListAssetsRequest.verify|verify} messages.
+ * @param message ListAssetsRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.dataplex.v1.IListAssetsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ListAssetsRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ListAssetsRequest
+ * @throws {Error} If the payload is not 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.dataplex.v1.ListAssetsRequest;
+
+ /**
+ * Decodes a ListAssetsRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ListAssetsRequest
+ * @throws {Error} If the payload 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.dataplex.v1.ListAssetsRequest;
+
+ /**
+ * Verifies a ListAssetsRequest message.
+ * @param message Plain 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 ListAssetsRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ListAssetsRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.dataplex.v1.ListAssetsRequest;
+
+ /**
+ * Creates a plain object from a ListAssetsRequest message. Also converts values to other types if specified.
+ * @param message ListAssetsRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.dataplex.v1.ListAssetsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ListAssetsRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ListAssetsRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a ListAssetsResponse. */
+ interface IListAssetsResponse {
+
+ /** ListAssetsResponse assets */
+ assets?: (google.cloud.dataplex.v1.IAsset[]|null);
+
+ /** ListAssetsResponse nextPageToken */
+ nextPageToken?: (string|null);
+ }
+
+ /** Represents a ListAssetsResponse. */
+ class ListAssetsResponse implements IListAssetsResponse {
+
+ /**
+ * Constructs a new ListAssetsResponse.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.dataplex.v1.IListAssetsResponse);
+
+ /** ListAssetsResponse assets. */
+ public assets: google.cloud.dataplex.v1.IAsset[];
+
+ /** ListAssetsResponse nextPageToken. */
+ public nextPageToken: string;
+
+ /**
+ * Creates a new ListAssetsResponse instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ListAssetsResponse instance
+ */
+ public static create(properties?: google.cloud.dataplex.v1.IListAssetsResponse): google.cloud.dataplex.v1.ListAssetsResponse;
+
+ /**
+ * Encodes the specified ListAssetsResponse message. Does not implicitly {@link google.cloud.dataplex.v1.ListAssetsResponse.verify|verify} messages.
+ * @param message ListAssetsResponse message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.dataplex.v1.IListAssetsResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ListAssetsResponse message, length delimited. Does not implicitly {@link google.cloud.dataplex.v1.ListAssetsResponse.verify|verify} messages.
+ * @param message ListAssetsResponse message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.dataplex.v1.IListAssetsResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ListAssetsResponse message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ListAssetsResponse
+ * @throws {Error} If the payload is not 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.dataplex.v1.ListAssetsResponse;
+
+ /**
+ * Decodes a ListAssetsResponse message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ListAssetsResponse
+ * @throws {Error} If the payload 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.dataplex.v1.ListAssetsResponse;
+
+ /**
+ * Verifies a ListAssetsResponse message.
+ * @param message Plain 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 ListAssetsResponse message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ListAssetsResponse
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.dataplex.v1.ListAssetsResponse;
+
+ /**
+ * Creates a plain object from a ListAssetsResponse message. Also converts values to other types if specified.
+ * @param message ListAssetsResponse
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.dataplex.v1.ListAssetsResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ListAssetsResponse to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ListAssetsResponse
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a ListAssetActionsRequest. */
+ interface IListAssetActionsRequest {
+
+ /** ListAssetActionsRequest parent */
+ parent?: (string|null);
+
+ /** ListAssetActionsRequest pageSize */
+ pageSize?: (number|null);
+
+ /** ListAssetActionsRequest pageToken */
+ pageToken?: (string|null);
+ }
+
+ /** Represents a ListAssetActionsRequest. */
+ class ListAssetActionsRequest implements IListAssetActionsRequest {
+
+ /**
+ * Constructs a new ListAssetActionsRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.dataplex.v1.IListAssetActionsRequest);
+
+ /** ListAssetActionsRequest parent. */
+ public parent: string;
+
+ /** ListAssetActionsRequest pageSize. */
+ public pageSize: number;
+
+ /** ListAssetActionsRequest pageToken. */
+ public pageToken: string;
+
+ /**
+ * Creates a new ListAssetActionsRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ListAssetActionsRequest instance
+ */
+ public static create(properties?: google.cloud.dataplex.v1.IListAssetActionsRequest): google.cloud.dataplex.v1.ListAssetActionsRequest;
+
+ /**
+ * Encodes the specified ListAssetActionsRequest message. Does not implicitly {@link google.cloud.dataplex.v1.ListAssetActionsRequest.verify|verify} messages.
+ * @param message ListAssetActionsRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.dataplex.v1.IListAssetActionsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ListAssetActionsRequest message, length delimited. Does not implicitly {@link google.cloud.dataplex.v1.ListAssetActionsRequest.verify|verify} messages.
+ * @param message ListAssetActionsRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.dataplex.v1.IListAssetActionsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ListAssetActionsRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ListAssetActionsRequest
+ * @throws {Error} If the payload is not 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.dataplex.v1.ListAssetActionsRequest;
+
+ /**
+ * Decodes a ListAssetActionsRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ListAssetActionsRequest
+ * @throws {Error} If the payload 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.dataplex.v1.ListAssetActionsRequest;
+
+ /**
+ * Verifies a ListAssetActionsRequest message.
+ * @param message Plain 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 ListAssetActionsRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ListAssetActionsRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.dataplex.v1.ListAssetActionsRequest;
+
+ /**
+ * Creates a plain object from a ListAssetActionsRequest message. Also converts values to other types if specified.
+ * @param message ListAssetActionsRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.dataplex.v1.ListAssetActionsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ListAssetActionsRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ListAssetActionsRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a GetAssetRequest. */
+ interface IGetAssetRequest {
+
+ /** GetAssetRequest name */
+ name?: (string|null);
+ }
+
+ /** Represents a GetAssetRequest. */
+ class GetAssetRequest implements IGetAssetRequest {
+
+ /**
+ * Constructs a new GetAssetRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.dataplex.v1.IGetAssetRequest);
+
+ /** GetAssetRequest name. */
+ public name: string;
+
+ /**
+ * Creates a new GetAssetRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns GetAssetRequest instance
+ */
+ public static create(properties?: google.cloud.dataplex.v1.IGetAssetRequest): google.cloud.dataplex.v1.GetAssetRequest;
+
+ /**
+ * Encodes the specified GetAssetRequest message. Does not implicitly {@link google.cloud.dataplex.v1.GetAssetRequest.verify|verify} messages.
+ * @param message GetAssetRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.dataplex.v1.IGetAssetRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified GetAssetRequest message, length delimited. Does not implicitly {@link google.cloud.dataplex.v1.GetAssetRequest.verify|verify} messages.
+ * @param message GetAssetRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.dataplex.v1.IGetAssetRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a GetAssetRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns GetAssetRequest
+ * @throws {Error} If the payload is not 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.dataplex.v1.GetAssetRequest;
+
+ /**
+ * Decodes a GetAssetRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns GetAssetRequest
+ * @throws {Error} If the payload 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.dataplex.v1.GetAssetRequest;
+
+ /**
+ * Verifies a GetAssetRequest message.
+ * @param message Plain 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 GetAssetRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns GetAssetRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.dataplex.v1.GetAssetRequest;
+
+ /**
+ * Creates a plain object from a GetAssetRequest message. Also converts values to other types if specified.
+ * @param message GetAssetRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.dataplex.v1.GetAssetRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this GetAssetRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for GetAssetRequest
+ * @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.dataplex.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.dataplex.v1.IOperationMetadata): google.cloud.dataplex.v1.OperationMetadata;
+
+ /**
+ * Encodes the specified OperationMetadata message. Does not implicitly {@link google.cloud.dataplex.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.dataplex.v1.IOperationMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified OperationMetadata message, length delimited. Does not implicitly {@link google.cloud.dataplex.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.dataplex.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.dataplex.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.dataplex.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.dataplex.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.dataplex.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 a CreateTaskRequest. */
+ interface ICreateTaskRequest {
+
+ /** CreateTaskRequest parent */
+ parent?: (string|null);
+
+ /** CreateTaskRequest taskId */
+ taskId?: (string|null);
+
+ /** CreateTaskRequest task */
+ task?: (google.cloud.dataplex.v1.ITask|null);
+
+ /** CreateTaskRequest validateOnly */
+ validateOnly?: (boolean|null);
+ }
+
+ /** Represents a CreateTaskRequest. */
+ class CreateTaskRequest implements ICreateTaskRequest {
+
+ /**
+ * Constructs a new CreateTaskRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.dataplex.v1.ICreateTaskRequest);
+
+ /** CreateTaskRequest parent. */
+ public parent: string;
+
+ /** CreateTaskRequest taskId. */
+ public taskId: string;
+
+ /** CreateTaskRequest task. */
+ public task?: (google.cloud.dataplex.v1.ITask|null);
+
+ /** CreateTaskRequest validateOnly. */
+ public validateOnly: boolean;
+
+ /**
+ * Creates a new CreateTaskRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns CreateTaskRequest instance
+ */
+ public static create(properties?: google.cloud.dataplex.v1.ICreateTaskRequest): google.cloud.dataplex.v1.CreateTaskRequest;
+
+ /**
+ * Encodes the specified CreateTaskRequest message. Does not implicitly {@link google.cloud.dataplex.v1.CreateTaskRequest.verify|verify} messages.
+ * @param message CreateTaskRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.dataplex.v1.ICreateTaskRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified CreateTaskRequest message, length delimited. Does not implicitly {@link google.cloud.dataplex.v1.CreateTaskRequest.verify|verify} messages.
+ * @param message CreateTaskRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.dataplex.v1.ICreateTaskRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a CreateTaskRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns CreateTaskRequest
+ * @throws {Error} If the payload is not 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.dataplex.v1.CreateTaskRequest;
+
+ /**
+ * Decodes a CreateTaskRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns CreateTaskRequest
+ * @throws {Error} If the payload 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.dataplex.v1.CreateTaskRequest;
+
+ /**
+ * Verifies a CreateTaskRequest message.
+ * @param message Plain 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 CreateTaskRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns CreateTaskRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.dataplex.v1.CreateTaskRequest;
+
+ /**
+ * Creates a plain object from a CreateTaskRequest message. Also converts values to other types if specified.
+ * @param message CreateTaskRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.dataplex.v1.CreateTaskRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this CreateTaskRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for CreateTaskRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of an UpdateTaskRequest. */
+ interface IUpdateTaskRequest {
+
+ /** UpdateTaskRequest updateMask */
+ updateMask?: (google.protobuf.IFieldMask|null);
+
+ /** UpdateTaskRequest task */
+ task?: (google.cloud.dataplex.v1.ITask|null);
+
+ /** UpdateTaskRequest validateOnly */
+ validateOnly?: (boolean|null);
+ }
+
+ /** Represents an UpdateTaskRequest. */
+ class UpdateTaskRequest implements IUpdateTaskRequest {
+
+ /**
+ * Constructs a new UpdateTaskRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.dataplex.v1.IUpdateTaskRequest);
+
+ /** UpdateTaskRequest updateMask. */
+ public updateMask?: (google.protobuf.IFieldMask|null);
+
+ /** UpdateTaskRequest task. */
+ public task?: (google.cloud.dataplex.v1.ITask|null);
+
+ /** UpdateTaskRequest validateOnly. */
+ public validateOnly: boolean;
+
+ /**
+ * Creates a new UpdateTaskRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns UpdateTaskRequest instance
+ */
+ public static create(properties?: google.cloud.dataplex.v1.IUpdateTaskRequest): google.cloud.dataplex.v1.UpdateTaskRequest;
+
+ /**
+ * Encodes the specified UpdateTaskRequest message. Does not implicitly {@link google.cloud.dataplex.v1.UpdateTaskRequest.verify|verify} messages.
+ * @param message UpdateTaskRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.dataplex.v1.IUpdateTaskRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified UpdateTaskRequest message, length delimited. Does not implicitly {@link google.cloud.dataplex.v1.UpdateTaskRequest.verify|verify} messages.
+ * @param message UpdateTaskRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.dataplex.v1.IUpdateTaskRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an UpdateTaskRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns UpdateTaskRequest
+ * @throws {Error} If the payload is not 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.dataplex.v1.UpdateTaskRequest;
+
+ /**
+ * Decodes an UpdateTaskRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns UpdateTaskRequest
+ * @throws {Error} If the payload 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.dataplex.v1.UpdateTaskRequest;
+
+ /**
+ * Verifies an UpdateTaskRequest message.
+ * @param message Plain 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 UpdateTaskRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns UpdateTaskRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.dataplex.v1.UpdateTaskRequest;
+
+ /**
+ * Creates a plain object from an UpdateTaskRequest message. Also converts values to other types if specified.
+ * @param message UpdateTaskRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.dataplex.v1.UpdateTaskRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this UpdateTaskRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for UpdateTaskRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a DeleteTaskRequest. */
+ interface IDeleteTaskRequest {
+
+ /** DeleteTaskRequest name */
+ name?: (string|null);
+ }
+
+ /** Represents a DeleteTaskRequest. */
+ class DeleteTaskRequest implements IDeleteTaskRequest {
+
+ /**
+ * Constructs a new DeleteTaskRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.dataplex.v1.IDeleteTaskRequest);
+
+ /** DeleteTaskRequest name. */
+ public name: string;
+
+ /**
+ * Creates a new DeleteTaskRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns DeleteTaskRequest instance
+ */
+ public static create(properties?: google.cloud.dataplex.v1.IDeleteTaskRequest): google.cloud.dataplex.v1.DeleteTaskRequest;
+
+ /**
+ * Encodes the specified DeleteTaskRequest message. Does not implicitly {@link google.cloud.dataplex.v1.DeleteTaskRequest.verify|verify} messages.
+ * @param message DeleteTaskRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.dataplex.v1.IDeleteTaskRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified DeleteTaskRequest message, length delimited. Does not implicitly {@link google.cloud.dataplex.v1.DeleteTaskRequest.verify|verify} messages.
+ * @param message DeleteTaskRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.dataplex.v1.IDeleteTaskRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a DeleteTaskRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns DeleteTaskRequest
+ * @throws {Error} If the payload is not 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.dataplex.v1.DeleteTaskRequest;
+
+ /**
+ * Decodes a DeleteTaskRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns DeleteTaskRequest
+ * @throws {Error} If the payload 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.dataplex.v1.DeleteTaskRequest;
+
+ /**
+ * Verifies a DeleteTaskRequest message.
+ * @param message Plain 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 DeleteTaskRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns DeleteTaskRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.dataplex.v1.DeleteTaskRequest;
+
+ /**
+ * Creates a plain object from a DeleteTaskRequest message. Also converts values to other types if specified.
+ * @param message DeleteTaskRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.dataplex.v1.DeleteTaskRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this DeleteTaskRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for DeleteTaskRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a ListTasksRequest. */
+ interface IListTasksRequest {
+
+ /** ListTasksRequest parent */
+ parent?: (string|null);
+
+ /** ListTasksRequest pageSize */
+ pageSize?: (number|null);
+
+ /** ListTasksRequest pageToken */
+ pageToken?: (string|null);
+
+ /** ListTasksRequest filter */
+ filter?: (string|null);
+
+ /** ListTasksRequest orderBy */
+ orderBy?: (string|null);
+ }
+
+ /** Represents a ListTasksRequest. */
+ class ListTasksRequest implements IListTasksRequest {
+
+ /**
+ * Constructs a new ListTasksRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.dataplex.v1.IListTasksRequest);
+
+ /** ListTasksRequest parent. */
+ public parent: string;
+
+ /** ListTasksRequest pageSize. */
+ public pageSize: number;
+
+ /** ListTasksRequest pageToken. */
+ public pageToken: string;
+
+ /** ListTasksRequest filter. */
+ public filter: string;
+
+ /** ListTasksRequest orderBy. */
+ public orderBy: string;
+
+ /**
+ * Creates a new ListTasksRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ListTasksRequest instance
+ */
+ public static create(properties?: google.cloud.dataplex.v1.IListTasksRequest): google.cloud.dataplex.v1.ListTasksRequest;
+
+ /**
+ * Encodes the specified ListTasksRequest message. Does not implicitly {@link google.cloud.dataplex.v1.ListTasksRequest.verify|verify} messages.
+ * @param message ListTasksRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.dataplex.v1.IListTasksRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ListTasksRequest message, length delimited. Does not implicitly {@link google.cloud.dataplex.v1.ListTasksRequest.verify|verify} messages.
+ * @param message ListTasksRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.dataplex.v1.IListTasksRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ListTasksRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ListTasksRequest
+ * @throws {Error} If the payload is not 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.dataplex.v1.ListTasksRequest;
+
+ /**
+ * Decodes a ListTasksRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ListTasksRequest
+ * @throws {Error} If the payload 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.dataplex.v1.ListTasksRequest;
+
+ /**
+ * Verifies a ListTasksRequest message.
+ * @param message Plain 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 ListTasksRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ListTasksRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.dataplex.v1.ListTasksRequest;
+
+ /**
+ * Creates a plain object from a ListTasksRequest message. Also converts values to other types if specified.
+ * @param message ListTasksRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.dataplex.v1.ListTasksRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ListTasksRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ListTasksRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a ListTasksResponse. */
+ interface IListTasksResponse {
+
+ /** ListTasksResponse tasks */
+ tasks?: (google.cloud.dataplex.v1.ITask[]|null);
+
+ /** ListTasksResponse nextPageToken */
+ nextPageToken?: (string|null);
+
+ /** ListTasksResponse unreachableLocations */
+ unreachableLocations?: (string[]|null);
+ }
+
+ /** Represents a ListTasksResponse. */
+ class ListTasksResponse implements IListTasksResponse {
+
+ /**
+ * Constructs a new ListTasksResponse.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.dataplex.v1.IListTasksResponse);
+
+ /** ListTasksResponse tasks. */
+ public tasks: google.cloud.dataplex.v1.ITask[];
+
+ /** ListTasksResponse nextPageToken. */
+ public nextPageToken: string;
+
+ /** ListTasksResponse unreachableLocations. */
+ public unreachableLocations: string[];
+
+ /**
+ * Creates a new ListTasksResponse instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ListTasksResponse instance
+ */
+ public static create(properties?: google.cloud.dataplex.v1.IListTasksResponse): google.cloud.dataplex.v1.ListTasksResponse;
+
+ /**
+ * Encodes the specified ListTasksResponse message. Does not implicitly {@link google.cloud.dataplex.v1.ListTasksResponse.verify|verify} messages.
+ * @param message ListTasksResponse message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.dataplex.v1.IListTasksResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ListTasksResponse message, length delimited. Does not implicitly {@link google.cloud.dataplex.v1.ListTasksResponse.verify|verify} messages.
+ * @param message ListTasksResponse message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.dataplex.v1.IListTasksResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ListTasksResponse message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ListTasksResponse
+ * @throws {Error} If the payload is not 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.dataplex.v1.ListTasksResponse;
+
+ /**
+ * Decodes a ListTasksResponse message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ListTasksResponse
+ * @throws {Error} If the payload 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.dataplex.v1.ListTasksResponse;
+
+ /**
+ * Verifies a ListTasksResponse message.
+ * @param message Plain 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 ListTasksResponse message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ListTasksResponse
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.dataplex.v1.ListTasksResponse;
+
+ /**
+ * Creates a plain object from a ListTasksResponse message. Also converts values to other types if specified.
+ * @param message ListTasksResponse
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.dataplex.v1.ListTasksResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ListTasksResponse to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ListTasksResponse
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a GetTaskRequest. */
+ interface IGetTaskRequest {
+
+ /** GetTaskRequest name */
+ name?: (string|null);
+ }
+
+ /** Represents a GetTaskRequest. */
+ class GetTaskRequest implements IGetTaskRequest {
+
+ /**
+ * Constructs a new GetTaskRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.dataplex.v1.IGetTaskRequest);
+
+ /** GetTaskRequest name. */
+ public name: string;
+
+ /**
+ * Creates a new GetTaskRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns GetTaskRequest instance
+ */
+ public static create(properties?: google.cloud.dataplex.v1.IGetTaskRequest): google.cloud.dataplex.v1.GetTaskRequest;
+
+ /**
+ * Encodes the specified GetTaskRequest message. Does not implicitly {@link google.cloud.dataplex.v1.GetTaskRequest.verify|verify} messages.
+ * @param message GetTaskRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.dataplex.v1.IGetTaskRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified GetTaskRequest message, length delimited. Does not implicitly {@link google.cloud.dataplex.v1.GetTaskRequest.verify|verify} messages.
+ * @param message GetTaskRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.dataplex.v1.IGetTaskRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a GetTaskRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns GetTaskRequest
+ * @throws {Error} If the payload is not 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.dataplex.v1.GetTaskRequest;
+
+ /**
+ * Decodes a GetTaskRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns GetTaskRequest
+ * @throws {Error} If the payload 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.dataplex.v1.GetTaskRequest;
+
+ /**
+ * Verifies a GetTaskRequest message.
+ * @param message Plain 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 GetTaskRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns GetTaskRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.dataplex.v1.GetTaskRequest;
+
+ /**
+ * Creates a plain object from a GetTaskRequest message. Also converts values to other types if specified.
+ * @param message GetTaskRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.dataplex.v1.GetTaskRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this GetTaskRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for GetTaskRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a GetJobRequest. */
+ interface IGetJobRequest {
+
+ /** GetJobRequest name */
+ name?: (string|null);
+ }
+
+ /** Represents a GetJobRequest. */
+ class GetJobRequest implements IGetJobRequest {
+
+ /**
+ * Constructs a new GetJobRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.dataplex.v1.IGetJobRequest);
+
+ /** GetJobRequest name. */
+ public name: string;
+
+ /**
+ * Creates a new GetJobRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns GetJobRequest instance
+ */
+ public static create(properties?: google.cloud.dataplex.v1.IGetJobRequest): google.cloud.dataplex.v1.GetJobRequest;
+
+ /**
+ * Encodes the specified GetJobRequest message. Does not implicitly {@link google.cloud.dataplex.v1.GetJobRequest.verify|verify} messages.
+ * @param message GetJobRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.dataplex.v1.IGetJobRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified GetJobRequest message, length delimited. Does not implicitly {@link google.cloud.dataplex.v1.GetJobRequest.verify|verify} messages.
+ * @param message GetJobRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.dataplex.v1.IGetJobRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a GetJobRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns GetJobRequest
+ * @throws {Error} If the payload is not 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.dataplex.v1.GetJobRequest;
+
+ /**
+ * Decodes a GetJobRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns GetJobRequest
+ * @throws {Error} If the payload 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.dataplex.v1.GetJobRequest;
+
+ /**
+ * Verifies a GetJobRequest message.
+ * @param message Plain 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 GetJobRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns GetJobRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.dataplex.v1.GetJobRequest;
+
+ /**
+ * Creates a plain object from a GetJobRequest message. Also converts values to other types if specified.
+ * @param message GetJobRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.dataplex.v1.GetJobRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this GetJobRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for GetJobRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a ListJobsRequest. */
+ interface IListJobsRequest {
+
+ /** ListJobsRequest parent */
+ parent?: (string|null);
+
+ /** ListJobsRequest pageSize */
+ pageSize?: (number|null);
+
+ /** ListJobsRequest pageToken */
+ pageToken?: (string|null);
+ }
+
+ /** Represents a ListJobsRequest. */
+ class ListJobsRequest implements IListJobsRequest {
+
+ /**
+ * Constructs a new ListJobsRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.dataplex.v1.IListJobsRequest);
+
+ /** ListJobsRequest parent. */
+ public parent: string;
+
+ /** ListJobsRequest pageSize. */
+ public pageSize: number;
+
+ /** ListJobsRequest pageToken. */
+ public pageToken: string;
+
+ /**
+ * Creates a new ListJobsRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ListJobsRequest instance
+ */
+ public static create(properties?: google.cloud.dataplex.v1.IListJobsRequest): google.cloud.dataplex.v1.ListJobsRequest;
+
+ /**
+ * Encodes the specified ListJobsRequest message. Does not implicitly {@link google.cloud.dataplex.v1.ListJobsRequest.verify|verify} messages.
+ * @param message ListJobsRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.dataplex.v1.IListJobsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ListJobsRequest message, length delimited. Does not implicitly {@link google.cloud.dataplex.v1.ListJobsRequest.verify|verify} messages.
+ * @param message ListJobsRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.dataplex.v1.IListJobsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ListJobsRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ListJobsRequest
+ * @throws {Error} If the payload is not 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.dataplex.v1.ListJobsRequest;
+
+ /**
+ * Decodes a ListJobsRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ListJobsRequest
+ * @throws {Error} If the payload 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.dataplex.v1.ListJobsRequest;
+
+ /**
+ * Verifies a ListJobsRequest message.
+ * @param message Plain 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 ListJobsRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ListJobsRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.dataplex.v1.ListJobsRequest;
+
+ /**
+ * Creates a plain object from a ListJobsRequest message. Also converts values to other types if specified.
+ * @param message ListJobsRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.dataplex.v1.ListJobsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ListJobsRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ListJobsRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a ListJobsResponse. */
+ interface IListJobsResponse {
+
+ /** ListJobsResponse jobs */
+ jobs?: (google.cloud.dataplex.v1.IJob[]|null);
+
+ /** ListJobsResponse nextPageToken */
+ nextPageToken?: (string|null);
+ }
+
+ /** Represents a ListJobsResponse. */
+ class ListJobsResponse implements IListJobsResponse {
+
+ /**
+ * Constructs a new ListJobsResponse.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.dataplex.v1.IListJobsResponse);
+
+ /** ListJobsResponse jobs. */
+ public jobs: google.cloud.dataplex.v1.IJob[];
+
+ /** ListJobsResponse nextPageToken. */
+ public nextPageToken: string;
+
+ /**
+ * Creates a new ListJobsResponse instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ListJobsResponse instance
+ */
+ public static create(properties?: google.cloud.dataplex.v1.IListJobsResponse): google.cloud.dataplex.v1.ListJobsResponse;
+
+ /**
+ * Encodes the specified ListJobsResponse message. Does not implicitly {@link google.cloud.dataplex.v1.ListJobsResponse.verify|verify} messages.
+ * @param message ListJobsResponse message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.dataplex.v1.IListJobsResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ListJobsResponse message, length delimited. Does not implicitly {@link google.cloud.dataplex.v1.ListJobsResponse.verify|verify} messages.
+ * @param message ListJobsResponse message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.dataplex.v1.IListJobsResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ListJobsResponse message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ListJobsResponse
+ * @throws {Error} If the payload is not 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.dataplex.v1.ListJobsResponse;
+
+ /**
+ * Decodes a ListJobsResponse message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ListJobsResponse
+ * @throws {Error} If the payload 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.dataplex.v1.ListJobsResponse;
+
+ /**
+ * Verifies a ListJobsResponse message.
+ * @param message Plain 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 ListJobsResponse message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ListJobsResponse
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.dataplex.v1.ListJobsResponse;
+
+ /**
+ * Creates a plain object from a ListJobsResponse message. Also converts values to other types if specified.
+ * @param message ListJobsResponse
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.dataplex.v1.ListJobsResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ListJobsResponse to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ListJobsResponse
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a CancelJobRequest. */
+ interface ICancelJobRequest {
+
+ /** CancelJobRequest name */
+ name?: (string|null);
+ }
+
+ /** Represents a CancelJobRequest. */
+ class CancelJobRequest implements ICancelJobRequest {
+
+ /**
+ * Constructs a new CancelJobRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.dataplex.v1.ICancelJobRequest);
+
+ /** CancelJobRequest name. */
+ public name: string;
+
+ /**
+ * Creates a new CancelJobRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns CancelJobRequest instance
+ */
+ public static create(properties?: google.cloud.dataplex.v1.ICancelJobRequest): google.cloud.dataplex.v1.CancelJobRequest;
+
+ /**
+ * Encodes the specified CancelJobRequest message. Does not implicitly {@link google.cloud.dataplex.v1.CancelJobRequest.verify|verify} messages.
+ * @param message CancelJobRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.dataplex.v1.ICancelJobRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified CancelJobRequest message, length delimited. Does not implicitly {@link google.cloud.dataplex.v1.CancelJobRequest.verify|verify} messages.
+ * @param message CancelJobRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.dataplex.v1.ICancelJobRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a CancelJobRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns CancelJobRequest
+ * @throws {Error} If the payload is not 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.dataplex.v1.CancelJobRequest;
+
+ /**
+ * Decodes a CancelJobRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns CancelJobRequest
+ * @throws {Error} If the payload 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.dataplex.v1.CancelJobRequest;
+
+ /**
+ * Verifies a CancelJobRequest message.
+ * @param message Plain 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 CancelJobRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns CancelJobRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.dataplex.v1.CancelJobRequest;
+
+ /**
+ * Creates a plain object from a CancelJobRequest message. Also converts values to other types if specified.
+ * @param message CancelJobRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.dataplex.v1.CancelJobRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this CancelJobRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for CancelJobRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a CreateEnvironmentRequest. */
+ interface ICreateEnvironmentRequest {
+
+ /** CreateEnvironmentRequest parent */
+ parent?: (string|null);
+
+ /** CreateEnvironmentRequest environmentId */
+ environmentId?: (string|null);
+
+ /** CreateEnvironmentRequest environment */
+ environment?: (google.cloud.dataplex.v1.IEnvironment|null);
+
+ /** CreateEnvironmentRequest validateOnly */
+ validateOnly?: (boolean|null);
+ }
+
+ /** Represents a CreateEnvironmentRequest. */
+ class CreateEnvironmentRequest implements ICreateEnvironmentRequest {
+
+ /**
+ * Constructs a new CreateEnvironmentRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.dataplex.v1.ICreateEnvironmentRequest);
+
+ /** CreateEnvironmentRequest parent. */
+ public parent: string;
+
+ /** CreateEnvironmentRequest environmentId. */
+ public environmentId: string;
+
+ /** CreateEnvironmentRequest environment. */
+ public environment?: (google.cloud.dataplex.v1.IEnvironment|null);
+
+ /** CreateEnvironmentRequest validateOnly. */
+ public validateOnly: boolean;
+
+ /**
+ * Creates a new CreateEnvironmentRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns CreateEnvironmentRequest instance
+ */
+ public static create(properties?: google.cloud.dataplex.v1.ICreateEnvironmentRequest): google.cloud.dataplex.v1.CreateEnvironmentRequest;
+
+ /**
+ * Encodes the specified CreateEnvironmentRequest message. Does not implicitly {@link google.cloud.dataplex.v1.CreateEnvironmentRequest.verify|verify} messages.
+ * @param message CreateEnvironmentRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.dataplex.v1.ICreateEnvironmentRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified CreateEnvironmentRequest message, length delimited. Does not implicitly {@link google.cloud.dataplex.v1.CreateEnvironmentRequest.verify|verify} messages.
+ * @param message CreateEnvironmentRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.dataplex.v1.ICreateEnvironmentRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a CreateEnvironmentRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns CreateEnvironmentRequest
+ * @throws {Error} If the payload is not 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.dataplex.v1.CreateEnvironmentRequest;
+
+ /**
+ * Decodes a CreateEnvironmentRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns CreateEnvironmentRequest
+ * @throws {Error} If the payload 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.dataplex.v1.CreateEnvironmentRequest;
+
+ /**
+ * Verifies a CreateEnvironmentRequest message.
+ * @param message Plain 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 CreateEnvironmentRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns CreateEnvironmentRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.dataplex.v1.CreateEnvironmentRequest;
+
+ /**
+ * Creates a plain object from a CreateEnvironmentRequest message. Also converts values to other types if specified.
+ * @param message CreateEnvironmentRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.dataplex.v1.CreateEnvironmentRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this CreateEnvironmentRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for CreateEnvironmentRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of an UpdateEnvironmentRequest. */
+ interface IUpdateEnvironmentRequest {
+
+ /** UpdateEnvironmentRequest updateMask */
+ updateMask?: (google.protobuf.IFieldMask|null);
+
+ /** UpdateEnvironmentRequest environment */
+ environment?: (google.cloud.dataplex.v1.IEnvironment|null);
+
+ /** UpdateEnvironmentRequest validateOnly */
+ validateOnly?: (boolean|null);
+ }
+
+ /** Represents an UpdateEnvironmentRequest. */
+ class UpdateEnvironmentRequest implements IUpdateEnvironmentRequest {
+
+ /**
+ * Constructs a new UpdateEnvironmentRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.dataplex.v1.IUpdateEnvironmentRequest);
+
+ /** UpdateEnvironmentRequest updateMask. */
+ public updateMask?: (google.protobuf.IFieldMask|null);
+
+ /** UpdateEnvironmentRequest environment. */
+ public environment?: (google.cloud.dataplex.v1.IEnvironment|null);
+
+ /** UpdateEnvironmentRequest validateOnly. */
+ public validateOnly: boolean;
+
+ /**
+ * Creates a new UpdateEnvironmentRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns UpdateEnvironmentRequest instance
+ */
+ public static create(properties?: google.cloud.dataplex.v1.IUpdateEnvironmentRequest): google.cloud.dataplex.v1.UpdateEnvironmentRequest;
+
+ /**
+ * Encodes the specified UpdateEnvironmentRequest message. Does not implicitly {@link google.cloud.dataplex.v1.UpdateEnvironmentRequest.verify|verify} messages.
+ * @param message UpdateEnvironmentRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.dataplex.v1.IUpdateEnvironmentRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified UpdateEnvironmentRequest message, length delimited. Does not implicitly {@link google.cloud.dataplex.v1.UpdateEnvironmentRequest.verify|verify} messages.
+ * @param message UpdateEnvironmentRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.dataplex.v1.IUpdateEnvironmentRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an UpdateEnvironmentRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns UpdateEnvironmentRequest
+ * @throws {Error} If the payload is not 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.dataplex.v1.UpdateEnvironmentRequest;
+
+ /**
+ * Decodes an UpdateEnvironmentRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns UpdateEnvironmentRequest
+ * @throws {Error} If the payload 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.dataplex.v1.UpdateEnvironmentRequest;
+
+ /**
+ * Verifies an UpdateEnvironmentRequest message.
+ * @param message Plain 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 UpdateEnvironmentRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns UpdateEnvironmentRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.dataplex.v1.UpdateEnvironmentRequest;
+
+ /**
+ * Creates a plain object from an UpdateEnvironmentRequest message. Also converts values to other types if specified.
+ * @param message UpdateEnvironmentRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.dataplex.v1.UpdateEnvironmentRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this UpdateEnvironmentRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for UpdateEnvironmentRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a DeleteEnvironmentRequest. */
+ interface IDeleteEnvironmentRequest {
+
+ /** DeleteEnvironmentRequest name */
+ name?: (string|null);
+ }
+
+ /** Represents a DeleteEnvironmentRequest. */
+ class DeleteEnvironmentRequest implements IDeleteEnvironmentRequest {
+
+ /**
+ * Constructs a new DeleteEnvironmentRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.dataplex.v1.IDeleteEnvironmentRequest);
+
+ /** DeleteEnvironmentRequest name. */
+ public name: string;
+
+ /**
+ * Creates a new DeleteEnvironmentRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns DeleteEnvironmentRequest instance
+ */
+ public static create(properties?: google.cloud.dataplex.v1.IDeleteEnvironmentRequest): google.cloud.dataplex.v1.DeleteEnvironmentRequest;
+
+ /**
+ * Encodes the specified DeleteEnvironmentRequest message. Does not implicitly {@link google.cloud.dataplex.v1.DeleteEnvironmentRequest.verify|verify} messages.
+ * @param message DeleteEnvironmentRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.dataplex.v1.IDeleteEnvironmentRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified DeleteEnvironmentRequest message, length delimited. Does not implicitly {@link google.cloud.dataplex.v1.DeleteEnvironmentRequest.verify|verify} messages.
+ * @param message DeleteEnvironmentRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.dataplex.v1.IDeleteEnvironmentRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a DeleteEnvironmentRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns DeleteEnvironmentRequest
+ * @throws {Error} If the payload is not 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.dataplex.v1.DeleteEnvironmentRequest;
+
+ /**
+ * Decodes a DeleteEnvironmentRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns DeleteEnvironmentRequest
+ * @throws {Error} If the payload 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.dataplex.v1.DeleteEnvironmentRequest;
+
+ /**
+ * Verifies a DeleteEnvironmentRequest message.
+ * @param message Plain 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 DeleteEnvironmentRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns DeleteEnvironmentRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.dataplex.v1.DeleteEnvironmentRequest;
+
+ /**
+ * Creates a plain object from a DeleteEnvironmentRequest message. Also converts values to other types if specified.
+ * @param message DeleteEnvironmentRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.dataplex.v1.DeleteEnvironmentRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this DeleteEnvironmentRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for DeleteEnvironmentRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a ListEnvironmentsRequest. */
+ interface IListEnvironmentsRequest {
+
+ /** ListEnvironmentsRequest parent */
+ parent?: (string|null);
+
+ /** ListEnvironmentsRequest pageSize */
+ pageSize?: (number|null);
+
+ /** ListEnvironmentsRequest pageToken */
+ pageToken?: (string|null);
+
+ /** ListEnvironmentsRequest filter */
+ filter?: (string|null);
+
+ /** ListEnvironmentsRequest orderBy */
+ orderBy?: (string|null);
+ }
+
+ /** Represents a ListEnvironmentsRequest. */
+ class ListEnvironmentsRequest implements IListEnvironmentsRequest {
+
+ /**
+ * Constructs a new ListEnvironmentsRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.dataplex.v1.IListEnvironmentsRequest);
+
+ /** ListEnvironmentsRequest parent. */
+ public parent: string;
+
+ /** ListEnvironmentsRequest pageSize. */
+ public pageSize: number;
+
+ /** ListEnvironmentsRequest pageToken. */
+ public pageToken: string;
+
+ /** ListEnvironmentsRequest filter. */
+ public filter: string;
+
+ /** ListEnvironmentsRequest orderBy. */
+ public orderBy: string;
+
+ /**
+ * Creates a new ListEnvironmentsRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ListEnvironmentsRequest instance
+ */
+ public static create(properties?: google.cloud.dataplex.v1.IListEnvironmentsRequest): google.cloud.dataplex.v1.ListEnvironmentsRequest;
+
+ /**
+ * Encodes the specified ListEnvironmentsRequest message. Does not implicitly {@link google.cloud.dataplex.v1.ListEnvironmentsRequest.verify|verify} messages.
+ * @param message ListEnvironmentsRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.dataplex.v1.IListEnvironmentsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ListEnvironmentsRequest message, length delimited. Does not implicitly {@link google.cloud.dataplex.v1.ListEnvironmentsRequest.verify|verify} messages.
+ * @param message ListEnvironmentsRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.dataplex.v1.IListEnvironmentsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ListEnvironmentsRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ListEnvironmentsRequest
+ * @throws {Error} If the payload is not 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.dataplex.v1.ListEnvironmentsRequest;
+
+ /**
+ * Decodes a ListEnvironmentsRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ListEnvironmentsRequest
+ * @throws {Error} If the payload 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.dataplex.v1.ListEnvironmentsRequest;
+
+ /**
+ * Verifies a ListEnvironmentsRequest message.
+ * @param message Plain 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 ListEnvironmentsRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ListEnvironmentsRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.dataplex.v1.ListEnvironmentsRequest;
+
+ /**
+ * Creates a plain object from a ListEnvironmentsRequest message. Also converts values to other types if specified.
+ * @param message ListEnvironmentsRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.dataplex.v1.ListEnvironmentsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ListEnvironmentsRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ListEnvironmentsRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a ListEnvironmentsResponse. */
+ interface IListEnvironmentsResponse {
+
+ /** ListEnvironmentsResponse environments */
+ environments?: (google.cloud.dataplex.v1.IEnvironment[]|null);
+
+ /** ListEnvironmentsResponse nextPageToken */
+ nextPageToken?: (string|null);
+ }
+
+ /** Represents a ListEnvironmentsResponse. */
+ class ListEnvironmentsResponse implements IListEnvironmentsResponse {
+
+ /**
+ * Constructs a new ListEnvironmentsResponse.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.dataplex.v1.IListEnvironmentsResponse);
+
+ /** ListEnvironmentsResponse environments. */
+ public environments: google.cloud.dataplex.v1.IEnvironment[];
+
+ /** ListEnvironmentsResponse nextPageToken. */
+ public nextPageToken: string;
+
+ /**
+ * Creates a new ListEnvironmentsResponse instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ListEnvironmentsResponse instance
+ */
+ public static create(properties?: google.cloud.dataplex.v1.IListEnvironmentsResponse): google.cloud.dataplex.v1.ListEnvironmentsResponse;
+
+ /**
+ * Encodes the specified ListEnvironmentsResponse message. Does not implicitly {@link google.cloud.dataplex.v1.ListEnvironmentsResponse.verify|verify} messages.
+ * @param message ListEnvironmentsResponse message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.dataplex.v1.IListEnvironmentsResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ListEnvironmentsResponse message, length delimited. Does not implicitly {@link google.cloud.dataplex.v1.ListEnvironmentsResponse.verify|verify} messages.
+ * @param message ListEnvironmentsResponse message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.dataplex.v1.IListEnvironmentsResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ListEnvironmentsResponse message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ListEnvironmentsResponse
+ * @throws {Error} If the payload is not 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.dataplex.v1.ListEnvironmentsResponse;
+
+ /**
+ * Decodes a ListEnvironmentsResponse message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ListEnvironmentsResponse
+ * @throws {Error} If the payload 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.dataplex.v1.ListEnvironmentsResponse;
+
+ /**
+ * Verifies a ListEnvironmentsResponse message.
+ * @param message Plain 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 ListEnvironmentsResponse message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ListEnvironmentsResponse
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.dataplex.v1.ListEnvironmentsResponse;
+
+ /**
+ * Creates a plain object from a ListEnvironmentsResponse message. Also converts values to other types if specified.
+ * @param message ListEnvironmentsResponse
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.dataplex.v1.ListEnvironmentsResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ListEnvironmentsResponse to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ListEnvironmentsResponse
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a GetEnvironmentRequest. */
+ interface IGetEnvironmentRequest {
+
+ /** GetEnvironmentRequest name */
+ name?: (string|null);
+ }
+
+ /** Represents a GetEnvironmentRequest. */
+ class GetEnvironmentRequest implements IGetEnvironmentRequest {
+
+ /**
+ * Constructs a new GetEnvironmentRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.dataplex.v1.IGetEnvironmentRequest);
+
+ /** GetEnvironmentRequest name. */
+ public name: string;
+
+ /**
+ * Creates a new GetEnvironmentRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns GetEnvironmentRequest instance
+ */
+ public static create(properties?: google.cloud.dataplex.v1.IGetEnvironmentRequest): google.cloud.dataplex.v1.GetEnvironmentRequest;
+
+ /**
+ * Encodes the specified GetEnvironmentRequest message. Does not implicitly {@link google.cloud.dataplex.v1.GetEnvironmentRequest.verify|verify} messages.
+ * @param message GetEnvironmentRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.dataplex.v1.IGetEnvironmentRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified GetEnvironmentRequest message, length delimited. Does not implicitly {@link google.cloud.dataplex.v1.GetEnvironmentRequest.verify|verify} messages.
+ * @param message GetEnvironmentRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.dataplex.v1.IGetEnvironmentRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a GetEnvironmentRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns GetEnvironmentRequest
+ * @throws {Error} If the payload is not 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.dataplex.v1.GetEnvironmentRequest;
+
+ /**
+ * Decodes a GetEnvironmentRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns GetEnvironmentRequest
+ * @throws {Error} If the payload 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.dataplex.v1.GetEnvironmentRequest;
+
+ /**
+ * Verifies a GetEnvironmentRequest message.
+ * @param message Plain 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 GetEnvironmentRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns GetEnvironmentRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.dataplex.v1.GetEnvironmentRequest;
+
+ /**
+ * Creates a plain object from a GetEnvironmentRequest message. Also converts values to other types if specified.
+ * @param message GetEnvironmentRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.dataplex.v1.GetEnvironmentRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this GetEnvironmentRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for GetEnvironmentRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a ListSessionsRequest. */
+ interface IListSessionsRequest {
+
+ /** ListSessionsRequest parent */
+ parent?: (string|null);
+
+ /** ListSessionsRequest pageSize */
+ pageSize?: (number|null);
+
+ /** ListSessionsRequest pageToken */
+ pageToken?: (string|null);
+
+ /** ListSessionsRequest filter */
+ filter?: (string|null);
+ }
+
+ /** Represents a ListSessionsRequest. */
+ class ListSessionsRequest implements IListSessionsRequest {
+
+ /**
+ * Constructs a new ListSessionsRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.dataplex.v1.IListSessionsRequest);
+
+ /** ListSessionsRequest parent. */
+ public parent: string;
+
+ /** ListSessionsRequest pageSize. */
+ public pageSize: number;
+
+ /** ListSessionsRequest pageToken. */
+ public pageToken: string;
+
+ /** ListSessionsRequest filter. */
+ public filter: string;
+
+ /**
+ * Creates a new ListSessionsRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ListSessionsRequest instance
+ */
+ public static create(properties?: google.cloud.dataplex.v1.IListSessionsRequest): google.cloud.dataplex.v1.ListSessionsRequest;
+
+ /**
+ * Encodes the specified ListSessionsRequest message. Does not implicitly {@link google.cloud.dataplex.v1.ListSessionsRequest.verify|verify} messages.
+ * @param message ListSessionsRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.dataplex.v1.IListSessionsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ListSessionsRequest message, length delimited. Does not implicitly {@link google.cloud.dataplex.v1.ListSessionsRequest.verify|verify} messages.
+ * @param message ListSessionsRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.dataplex.v1.IListSessionsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ListSessionsRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ListSessionsRequest
+ * @throws {Error} If the payload is not 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.dataplex.v1.ListSessionsRequest;
+
+ /**
+ * Decodes a ListSessionsRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ListSessionsRequest
+ * @throws {Error} If the payload 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.dataplex.v1.ListSessionsRequest;
+
+ /**
+ * Verifies a ListSessionsRequest message.
+ * @param message Plain 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 ListSessionsRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ListSessionsRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.dataplex.v1.ListSessionsRequest;
+
+ /**
+ * Creates a plain object from a ListSessionsRequest message. Also converts values to other types if specified.
+ * @param message ListSessionsRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.dataplex.v1.ListSessionsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ListSessionsRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ListSessionsRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a ListSessionsResponse. */
+ interface IListSessionsResponse {
+
+ /** ListSessionsResponse sessions */
+ sessions?: (google.cloud.dataplex.v1.ISession[]|null);
+
+ /** ListSessionsResponse nextPageToken */
+ nextPageToken?: (string|null);
+ }
+
+ /** Represents a ListSessionsResponse. */
+ class ListSessionsResponse implements IListSessionsResponse {
+
+ /**
+ * Constructs a new ListSessionsResponse.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.dataplex.v1.IListSessionsResponse);
+
+ /** ListSessionsResponse sessions. */
+ public sessions: google.cloud.dataplex.v1.ISession[];
+
+ /** ListSessionsResponse nextPageToken. */
+ public nextPageToken: string;
+
+ /**
+ * Creates a new ListSessionsResponse instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ListSessionsResponse instance
+ */
+ public static create(properties?: google.cloud.dataplex.v1.IListSessionsResponse): google.cloud.dataplex.v1.ListSessionsResponse;
+
+ /**
+ * Encodes the specified ListSessionsResponse message. Does not implicitly {@link google.cloud.dataplex.v1.ListSessionsResponse.verify|verify} messages.
+ * @param message ListSessionsResponse message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.dataplex.v1.IListSessionsResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ListSessionsResponse message, length delimited. Does not implicitly {@link google.cloud.dataplex.v1.ListSessionsResponse.verify|verify} messages.
+ * @param message ListSessionsResponse message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.dataplex.v1.IListSessionsResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ListSessionsResponse message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ListSessionsResponse
+ * @throws {Error} If the payload is not 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.dataplex.v1.ListSessionsResponse;
+
+ /**
+ * Decodes a ListSessionsResponse message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ListSessionsResponse
+ * @throws {Error} If the payload 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.dataplex.v1.ListSessionsResponse;
+
+ /**
+ * Verifies a ListSessionsResponse message.
+ * @param message Plain 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 ListSessionsResponse message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ListSessionsResponse
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.dataplex.v1.ListSessionsResponse;
+
+ /**
+ * Creates a plain object from a ListSessionsResponse message. Also converts values to other types if specified.
+ * @param message ListSessionsResponse
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.dataplex.v1.ListSessionsResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ListSessionsResponse to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ListSessionsResponse
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a Task. */
+ interface ITask {
+
+ /** Task name */
+ name?: (string|null);
+
+ /** Task uid */
+ uid?: (string|null);
+
+ /** Task createTime */
+ createTime?: (google.protobuf.ITimestamp|null);
+
+ /** Task updateTime */
+ updateTime?: (google.protobuf.ITimestamp|null);
+
+ /** Task description */
+ description?: (string|null);
+
+ /** Task displayName */
+ displayName?: (string|null);
+
+ /** Task state */
+ state?: (google.cloud.dataplex.v1.State|keyof typeof google.cloud.dataplex.v1.State|null);
+
+ /** Task labels */
+ labels?: ({ [k: string]: string }|null);
+
+ /** Task triggerSpec */
+ triggerSpec?: (google.cloud.dataplex.v1.Task.ITriggerSpec|null);
+
+ /** Task executionSpec */
+ executionSpec?: (google.cloud.dataplex.v1.Task.IExecutionSpec|null);
+
+ /** Task executionStatus */
+ executionStatus?: (google.cloud.dataplex.v1.Task.IExecutionStatus|null);
+
+ /** Task spark */
+ spark?: (google.cloud.dataplex.v1.Task.ISparkTaskConfig|null);
+
+ /** Task notebook */
+ notebook?: (google.cloud.dataplex.v1.Task.INotebookTaskConfig|null);
+ }
+
+ /** Represents a Task. */
+ class Task implements ITask {
+
+ /**
+ * Constructs a new Task.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.dataplex.v1.ITask);
+
+ /** Task name. */
+ public name: string;
+
+ /** Task uid. */
+ public uid: string;
+
+ /** Task createTime. */
+ public createTime?: (google.protobuf.ITimestamp|null);
+
+ /** Task updateTime. */
+ public updateTime?: (google.protobuf.ITimestamp|null);
+
+ /** Task description. */
+ public description: string;
+
+ /** Task displayName. */
+ public displayName: string;
+
+ /** Task state. */
+ public state: (google.cloud.dataplex.v1.State|keyof typeof google.cloud.dataplex.v1.State);
+
+ /** Task labels. */
+ public labels: { [k: string]: string };
+
+ /** Task triggerSpec. */
+ public triggerSpec?: (google.cloud.dataplex.v1.Task.ITriggerSpec|null);
+
+ /** Task executionSpec. */
+ public executionSpec?: (google.cloud.dataplex.v1.Task.IExecutionSpec|null);
+
+ /** Task executionStatus. */
+ public executionStatus?: (google.cloud.dataplex.v1.Task.IExecutionStatus|null);
+
+ /** Task spark. */
+ public spark?: (google.cloud.dataplex.v1.Task.ISparkTaskConfig|null);
+
+ /** Task notebook. */
+ public notebook?: (google.cloud.dataplex.v1.Task.INotebookTaskConfig|null);
+
+ /** Task config. */
+ public config?: ("spark"|"notebook");
+
+ /**
+ * Creates a new Task instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns Task instance
+ */
+ public static create(properties?: google.cloud.dataplex.v1.ITask): google.cloud.dataplex.v1.Task;
+
+ /**
+ * Encodes the specified Task message. Does not implicitly {@link google.cloud.dataplex.v1.Task.verify|verify} messages.
+ * @param message Task message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.dataplex.v1.ITask, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified Task message, length delimited. Does not implicitly {@link google.cloud.dataplex.v1.Task.verify|verify} messages.
+ * @param message Task message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.dataplex.v1.ITask, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a Task message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns Task
+ * @throws {Error} If the payload is not 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.dataplex.v1.Task;
+
+ /**
+ * Decodes a Task message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns Task
+ * @throws {Error} If the payload 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.dataplex.v1.Task;
+
+ /**
+ * Verifies a Task message.
+ * @param message Plain 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 Task message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns Task
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.dataplex.v1.Task;
+
+ /**
+ * Creates a plain object from a Task message. Also converts values to other types if specified.
+ * @param message Task
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.dataplex.v1.Task, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this Task to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for Task
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace Task {
+
+ /** Properties of an InfrastructureSpec. */
+ interface IInfrastructureSpec {
+
+ /** InfrastructureSpec batch */
+ batch?: (google.cloud.dataplex.v1.Task.InfrastructureSpec.IBatchComputeResources|null);
+
+ /** InfrastructureSpec containerImage */
+ containerImage?: (google.cloud.dataplex.v1.Task.InfrastructureSpec.IContainerImageRuntime|null);
+
+ /** InfrastructureSpec vpcNetwork */
+ vpcNetwork?: (google.cloud.dataplex.v1.Task.InfrastructureSpec.IVpcNetwork|null);
+ }
+
+ /** Represents an InfrastructureSpec. */
+ class InfrastructureSpec implements IInfrastructureSpec {
+
+ /**
+ * Constructs a new InfrastructureSpec.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.dataplex.v1.Task.IInfrastructureSpec);
+
+ /** InfrastructureSpec batch. */
+ public batch?: (google.cloud.dataplex.v1.Task.InfrastructureSpec.IBatchComputeResources|null);
+
+ /** InfrastructureSpec containerImage. */
+ public containerImage?: (google.cloud.dataplex.v1.Task.InfrastructureSpec.IContainerImageRuntime|null);
+
+ /** InfrastructureSpec vpcNetwork. */
+ public vpcNetwork?: (google.cloud.dataplex.v1.Task.InfrastructureSpec.IVpcNetwork|null);
+
+ /** InfrastructureSpec resources. */
+ public resources?: "batch";
+
+ /** InfrastructureSpec runtime. */
+ public runtime?: "containerImage";
+
+ /** InfrastructureSpec network. */
+ public network?: "vpcNetwork";
+
+ /**
+ * Creates a new InfrastructureSpec instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns InfrastructureSpec instance
+ */
+ public static create(properties?: google.cloud.dataplex.v1.Task.IInfrastructureSpec): google.cloud.dataplex.v1.Task.InfrastructureSpec;
+
+ /**
+ * Encodes the specified InfrastructureSpec message. Does not implicitly {@link google.cloud.dataplex.v1.Task.InfrastructureSpec.verify|verify} messages.
+ * @param message InfrastructureSpec message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.dataplex.v1.Task.IInfrastructureSpec, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified InfrastructureSpec message, length delimited. Does not implicitly {@link google.cloud.dataplex.v1.Task.InfrastructureSpec.verify|verify} messages.
+ * @param message InfrastructureSpec message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.dataplex.v1.Task.IInfrastructureSpec, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an InfrastructureSpec message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns InfrastructureSpec
+ * @throws {Error} If the payload is not 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.dataplex.v1.Task.InfrastructureSpec;
+
+ /**
+ * Decodes an InfrastructureSpec message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns InfrastructureSpec
+ * @throws {Error} If the payload 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.dataplex.v1.Task.InfrastructureSpec;
+
+ /**
+ * Verifies an InfrastructureSpec message.
+ * @param message Plain 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 InfrastructureSpec message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns InfrastructureSpec
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.dataplex.v1.Task.InfrastructureSpec;
+
+ /**
+ * Creates a plain object from an InfrastructureSpec message. Also converts values to other types if specified.
+ * @param message InfrastructureSpec
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.dataplex.v1.Task.InfrastructureSpec, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this InfrastructureSpec to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for InfrastructureSpec
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace InfrastructureSpec {
+
+ /** Properties of a BatchComputeResources. */
+ interface IBatchComputeResources {
+
+ /** BatchComputeResources executorsCount */
+ executorsCount?: (number|null);
+
+ /** BatchComputeResources maxExecutorsCount */
+ maxExecutorsCount?: (number|null);
+ }
+
+ /** Represents a BatchComputeResources. */
+ class BatchComputeResources implements IBatchComputeResources {
+
+ /**
+ * Constructs a new BatchComputeResources.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.dataplex.v1.Task.InfrastructureSpec.IBatchComputeResources);
+
+ /** BatchComputeResources executorsCount. */
+ public executorsCount: number;
+
+ /** BatchComputeResources maxExecutorsCount. */
+ public maxExecutorsCount: number;
+
+ /**
+ * Creates a new BatchComputeResources instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns BatchComputeResources instance
+ */
+ public static create(properties?: google.cloud.dataplex.v1.Task.InfrastructureSpec.IBatchComputeResources): google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources;
+
+ /**
+ * Encodes the specified BatchComputeResources message. Does not implicitly {@link google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources.verify|verify} messages.
+ * @param message BatchComputeResources message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.dataplex.v1.Task.InfrastructureSpec.IBatchComputeResources, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified BatchComputeResources message, length delimited. Does not implicitly {@link google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources.verify|verify} messages.
+ * @param message BatchComputeResources message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.dataplex.v1.Task.InfrastructureSpec.IBatchComputeResources, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a BatchComputeResources message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns BatchComputeResources
+ * @throws {Error} If the payload is not 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.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources;
+
+ /**
+ * Decodes a BatchComputeResources message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns BatchComputeResources
+ * @throws {Error} If the payload 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.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources;
+
+ /**
+ * Verifies a BatchComputeResources message.
+ * @param message Plain 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 BatchComputeResources message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns BatchComputeResources
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources;
+
+ /**
+ * Creates a plain object from a BatchComputeResources message. Also converts values to other types if specified.
+ * @param message BatchComputeResources
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this BatchComputeResources to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for BatchComputeResources
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a ContainerImageRuntime. */
+ interface IContainerImageRuntime {
+
+ /** ContainerImageRuntime image */
+ image?: (string|null);
+
+ /** ContainerImageRuntime javaJars */
+ javaJars?: (string[]|null);
+
+ /** ContainerImageRuntime pythonPackages */
+ pythonPackages?: (string[]|null);
+
+ /** ContainerImageRuntime properties */
+ properties?: ({ [k: string]: string }|null);
+ }
+
+ /** Represents a ContainerImageRuntime. */
+ class ContainerImageRuntime implements IContainerImageRuntime {
+
+ /**
+ * Constructs a new ContainerImageRuntime.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.dataplex.v1.Task.InfrastructureSpec.IContainerImageRuntime);
+
+ /** ContainerImageRuntime image. */
+ public image: string;
+
+ /** ContainerImageRuntime javaJars. */
+ public javaJars: string[];
+
+ /** ContainerImageRuntime pythonPackages. */
+ public pythonPackages: string[];
+
+ /** ContainerImageRuntime properties. */
+ public properties: { [k: string]: string };
+
+ /**
+ * Creates a new ContainerImageRuntime instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ContainerImageRuntime instance
+ */
+ public static create(properties?: google.cloud.dataplex.v1.Task.InfrastructureSpec.IContainerImageRuntime): google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime;
+
+ /**
+ * Encodes the specified ContainerImageRuntime message. Does not implicitly {@link google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime.verify|verify} messages.
+ * @param message ContainerImageRuntime message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.dataplex.v1.Task.InfrastructureSpec.IContainerImageRuntime, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ContainerImageRuntime message, length delimited. Does not implicitly {@link google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime.verify|verify} messages.
+ * @param message ContainerImageRuntime message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.dataplex.v1.Task.InfrastructureSpec.IContainerImageRuntime, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ContainerImageRuntime message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ContainerImageRuntime
+ * @throws {Error} If the payload is not 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.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime;
+
+ /**
+ * Decodes a ContainerImageRuntime message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ContainerImageRuntime
+ * @throws {Error} If the payload 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.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime;
+
+ /**
+ * Verifies a ContainerImageRuntime message.
+ * @param message Plain 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 ContainerImageRuntime message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ContainerImageRuntime
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime;
+
+ /**
+ * Creates a plain object from a ContainerImageRuntime message. Also converts values to other types if specified.
+ * @param message ContainerImageRuntime
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ContainerImageRuntime to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ContainerImageRuntime
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a VpcNetwork. */
+ interface IVpcNetwork {
+
+ /** VpcNetwork network */
+ network?: (string|null);
+
+ /** VpcNetwork subNetwork */
+ subNetwork?: (string|null);
+
+ /** VpcNetwork networkTags */
+ networkTags?: (string[]|null);
+ }
+
+ /** Represents a VpcNetwork. */
+ class VpcNetwork implements IVpcNetwork {
+
+ /**
+ * Constructs a new VpcNetwork.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.dataplex.v1.Task.InfrastructureSpec.IVpcNetwork);
+
+ /** VpcNetwork network. */
+ public network?: (string|null);
+
+ /** VpcNetwork subNetwork. */
+ public subNetwork?: (string|null);
+
+ /** VpcNetwork networkTags. */
+ public networkTags: string[];
+
+ /** VpcNetwork networkName. */
+ public networkName?: ("network"|"subNetwork");
+
+ /**
+ * Creates a new VpcNetwork instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns VpcNetwork instance
+ */
+ public static create(properties?: google.cloud.dataplex.v1.Task.InfrastructureSpec.IVpcNetwork): google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork;
+
+ /**
+ * Encodes the specified VpcNetwork message. Does not implicitly {@link google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork.verify|verify} messages.
+ * @param message VpcNetwork message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.dataplex.v1.Task.InfrastructureSpec.IVpcNetwork, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified VpcNetwork message, length delimited. Does not implicitly {@link google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork.verify|verify} messages.
+ * @param message VpcNetwork message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.dataplex.v1.Task.InfrastructureSpec.IVpcNetwork, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a VpcNetwork message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns VpcNetwork
+ * @throws {Error} If the payload is not 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.dataplex.v1.Task.InfrastructureSpec.VpcNetwork;
+
+ /**
+ * Decodes a VpcNetwork message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns VpcNetwork
+ * @throws {Error} If the payload 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.dataplex.v1.Task.InfrastructureSpec.VpcNetwork;
+
+ /**
+ * Verifies a VpcNetwork message.
+ * @param message Plain 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 VpcNetwork message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns VpcNetwork
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork;
+
+ /**
+ * Creates a plain object from a VpcNetwork message. Also converts values to other types if specified.
+ * @param message VpcNetwork
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this VpcNetwork to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for VpcNetwork
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+ }
+
+ /** Properties of a TriggerSpec. */
+ interface ITriggerSpec {
+
+ /** TriggerSpec type */
+ type?: (google.cloud.dataplex.v1.Task.TriggerSpec.Type|keyof typeof google.cloud.dataplex.v1.Task.TriggerSpec.Type|null);
+
+ /** TriggerSpec startTime */
+ startTime?: (google.protobuf.ITimestamp|null);
+
+ /** TriggerSpec disabled */
+ disabled?: (boolean|null);
+
+ /** TriggerSpec maxRetries */
+ maxRetries?: (number|null);
+
+ /** TriggerSpec schedule */
+ schedule?: (string|null);
+ }
+
+ /** Represents a TriggerSpec. */
+ class TriggerSpec implements ITriggerSpec {
+
+ /**
+ * Constructs a new TriggerSpec.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.dataplex.v1.Task.ITriggerSpec);
+
+ /** TriggerSpec type. */
+ public type: (google.cloud.dataplex.v1.Task.TriggerSpec.Type|keyof typeof google.cloud.dataplex.v1.Task.TriggerSpec.Type);
+
+ /** TriggerSpec startTime. */
+ public startTime?: (google.protobuf.ITimestamp|null);
+
+ /** TriggerSpec disabled. */
+ public disabled: boolean;
+
+ /** TriggerSpec maxRetries. */
+ public maxRetries: number;
+
+ /** TriggerSpec schedule. */
+ public schedule?: (string|null);
+
+ /** TriggerSpec trigger. */
+ public trigger?: "schedule";
+
+ /**
+ * Creates a new TriggerSpec instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns TriggerSpec instance
+ */
+ public static create(properties?: google.cloud.dataplex.v1.Task.ITriggerSpec): google.cloud.dataplex.v1.Task.TriggerSpec;
+
+ /**
+ * Encodes the specified TriggerSpec message. Does not implicitly {@link google.cloud.dataplex.v1.Task.TriggerSpec.verify|verify} messages.
+ * @param message TriggerSpec message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.dataplex.v1.Task.ITriggerSpec, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified TriggerSpec message, length delimited. Does not implicitly {@link google.cloud.dataplex.v1.Task.TriggerSpec.verify|verify} messages.
+ * @param message TriggerSpec message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.dataplex.v1.Task.ITriggerSpec, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a TriggerSpec message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns TriggerSpec
+ * @throws {Error} If the payload is not 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.dataplex.v1.Task.TriggerSpec;
+
+ /**
+ * Decodes a TriggerSpec message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns TriggerSpec
+ * @throws {Error} If the payload 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.dataplex.v1.Task.TriggerSpec;
+
+ /**
+ * Verifies a TriggerSpec message.
+ * @param message Plain 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 TriggerSpec message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns TriggerSpec
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.dataplex.v1.Task.TriggerSpec;
+
+ /**
+ * Creates a plain object from a TriggerSpec message. Also converts values to other types if specified.
+ * @param message TriggerSpec
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.dataplex.v1.Task.TriggerSpec, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this TriggerSpec to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for TriggerSpec
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace TriggerSpec {
+
+ /** Type enum. */
+ enum Type {
+ TYPE_UNSPECIFIED = 0,
+ ON_DEMAND = 1,
+ RECURRING = 2
+ }
+ }
+
+ /** Properties of an ExecutionSpec. */
+ interface IExecutionSpec {
+
+ /** ExecutionSpec args */
+ args?: ({ [k: string]: string }|null);
+
+ /** ExecutionSpec serviceAccount */
+ serviceAccount?: (string|null);
+
+ /** ExecutionSpec project */
+ project?: (string|null);
+
+ /** ExecutionSpec maxJobExecutionLifetime */
+ maxJobExecutionLifetime?: (google.protobuf.IDuration|null);
+
+ /** ExecutionSpec kmsKey */
+ kmsKey?: (string|null);
+ }
+
+ /** Represents an ExecutionSpec. */
+ class ExecutionSpec implements IExecutionSpec {
+
+ /**
+ * Constructs a new ExecutionSpec.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.dataplex.v1.Task.IExecutionSpec);
+
+ /** ExecutionSpec args. */
+ public args: { [k: string]: string };
+
+ /** ExecutionSpec serviceAccount. */
+ public serviceAccount: string;
+
+ /** ExecutionSpec project. */
+ public project: string;
+
+ /** ExecutionSpec maxJobExecutionLifetime. */
+ public maxJobExecutionLifetime?: (google.protobuf.IDuration|null);
+
+ /** ExecutionSpec kmsKey. */
+ public kmsKey: string;
+
+ /**
+ * Creates a new ExecutionSpec instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ExecutionSpec instance
+ */
+ public static create(properties?: google.cloud.dataplex.v1.Task.IExecutionSpec): google.cloud.dataplex.v1.Task.ExecutionSpec;
+
+ /**
+ * Encodes the specified ExecutionSpec message. Does not implicitly {@link google.cloud.dataplex.v1.Task.ExecutionSpec.verify|verify} messages.
+ * @param message ExecutionSpec message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.dataplex.v1.Task.IExecutionSpec, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ExecutionSpec message, length delimited. Does not implicitly {@link google.cloud.dataplex.v1.Task.ExecutionSpec.verify|verify} messages.
+ * @param message ExecutionSpec message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.dataplex.v1.Task.IExecutionSpec, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an ExecutionSpec message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ExecutionSpec
+ * @throws {Error} If the payload is not 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.dataplex.v1.Task.ExecutionSpec;
+
+ /**
+ * Decodes an ExecutionSpec message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ExecutionSpec
+ * @throws {Error} If the payload 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.dataplex.v1.Task.ExecutionSpec;
+
+ /**
+ * Verifies an ExecutionSpec message.
+ * @param message Plain 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 ExecutionSpec message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ExecutionSpec
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.dataplex.v1.Task.ExecutionSpec;
+
+ /**
+ * Creates a plain object from an ExecutionSpec message. Also converts values to other types if specified.
+ * @param message ExecutionSpec
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.dataplex.v1.Task.ExecutionSpec, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ExecutionSpec to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ExecutionSpec
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a SparkTaskConfig. */
+ interface ISparkTaskConfig {
+
+ /** SparkTaskConfig mainJarFileUri */
+ mainJarFileUri?: (string|null);
+
+ /** SparkTaskConfig mainClass */
+ mainClass?: (string|null);
+
+ /** SparkTaskConfig pythonScriptFile */
+ pythonScriptFile?: (string|null);
+
+ /** SparkTaskConfig sqlScriptFile */
+ sqlScriptFile?: (string|null);
+
+ /** SparkTaskConfig sqlScript */
+ sqlScript?: (string|null);
+
+ /** SparkTaskConfig fileUris */
+ fileUris?: (string[]|null);
+
+ /** SparkTaskConfig archiveUris */
+ archiveUris?: (string[]|null);
+
+ /** SparkTaskConfig infrastructureSpec */
+ infrastructureSpec?: (google.cloud.dataplex.v1.Task.IInfrastructureSpec|null);
+ }
+
+ /** Represents a SparkTaskConfig. */
+ class SparkTaskConfig implements ISparkTaskConfig {
+
+ /**
+ * Constructs a new SparkTaskConfig.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.dataplex.v1.Task.ISparkTaskConfig);
+
+ /** SparkTaskConfig mainJarFileUri. */
+ public mainJarFileUri?: (string|null);
+
+ /** SparkTaskConfig mainClass. */
+ public mainClass?: (string|null);
+
+ /** SparkTaskConfig pythonScriptFile. */
+ public pythonScriptFile?: (string|null);
+
+ /** SparkTaskConfig sqlScriptFile. */
+ public sqlScriptFile?: (string|null);
+
+ /** SparkTaskConfig sqlScript. */
+ public sqlScript?: (string|null);
+
+ /** SparkTaskConfig fileUris. */
+ public fileUris: string[];
+
+ /** SparkTaskConfig archiveUris. */
+ public archiveUris: string[];
+
+ /** SparkTaskConfig infrastructureSpec. */
+ public infrastructureSpec?: (google.cloud.dataplex.v1.Task.IInfrastructureSpec|null);
+
+ /** SparkTaskConfig driver. */
+ public driver?: ("mainJarFileUri"|"mainClass"|"pythonScriptFile"|"sqlScriptFile"|"sqlScript");
+
+ /**
+ * Creates a new SparkTaskConfig instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns SparkTaskConfig instance
+ */
+ public static create(properties?: google.cloud.dataplex.v1.Task.ISparkTaskConfig): google.cloud.dataplex.v1.Task.SparkTaskConfig;
+
+ /**
+ * Encodes the specified SparkTaskConfig message. Does not implicitly {@link google.cloud.dataplex.v1.Task.SparkTaskConfig.verify|verify} messages.
+ * @param message SparkTaskConfig message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.dataplex.v1.Task.ISparkTaskConfig, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified SparkTaskConfig message, length delimited. Does not implicitly {@link google.cloud.dataplex.v1.Task.SparkTaskConfig.verify|verify} messages.
+ * @param message SparkTaskConfig message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.dataplex.v1.Task.ISparkTaskConfig, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a SparkTaskConfig message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns SparkTaskConfig
+ * @throws {Error} If the payload is not 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.dataplex.v1.Task.SparkTaskConfig;
+
+ /**
+ * Decodes a SparkTaskConfig message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns SparkTaskConfig
+ * @throws {Error} If the payload 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.dataplex.v1.Task.SparkTaskConfig;
+
+ /**
+ * Verifies a SparkTaskConfig message.
+ * @param message Plain 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 SparkTaskConfig message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns SparkTaskConfig
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.dataplex.v1.Task.SparkTaskConfig;
+
+ /**
+ * Creates a plain object from a SparkTaskConfig message. Also converts values to other types if specified.
+ * @param message SparkTaskConfig
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.dataplex.v1.Task.SparkTaskConfig, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this SparkTaskConfig to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for SparkTaskConfig
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a NotebookTaskConfig. */
+ interface INotebookTaskConfig {
+
+ /** NotebookTaskConfig notebook */
+ notebook?: (string|null);
+
+ /** NotebookTaskConfig infrastructureSpec */
+ infrastructureSpec?: (google.cloud.dataplex.v1.Task.IInfrastructureSpec|null);
+
+ /** NotebookTaskConfig fileUris */
+ fileUris?: (string[]|null);
+
+ /** NotebookTaskConfig archiveUris */
+ archiveUris?: (string[]|null);
+ }
+
+ /** Represents a NotebookTaskConfig. */
+ class NotebookTaskConfig implements INotebookTaskConfig {
+
+ /**
+ * Constructs a new NotebookTaskConfig.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.dataplex.v1.Task.INotebookTaskConfig);
+
+ /** NotebookTaskConfig notebook. */
+ public notebook: string;
+
+ /** NotebookTaskConfig infrastructureSpec. */
+ public infrastructureSpec?: (google.cloud.dataplex.v1.Task.IInfrastructureSpec|null);
+
+ /** NotebookTaskConfig fileUris. */
+ public fileUris: string[];
+
+ /** NotebookTaskConfig archiveUris. */
+ public archiveUris: string[];
+
+ /**
+ * Creates a new NotebookTaskConfig instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns NotebookTaskConfig instance
+ */
+ public static create(properties?: google.cloud.dataplex.v1.Task.INotebookTaskConfig): google.cloud.dataplex.v1.Task.NotebookTaskConfig;
+
+ /**
+ * Encodes the specified NotebookTaskConfig message. Does not implicitly {@link google.cloud.dataplex.v1.Task.NotebookTaskConfig.verify|verify} messages.
+ * @param message NotebookTaskConfig message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.dataplex.v1.Task.INotebookTaskConfig, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified NotebookTaskConfig message, length delimited. Does not implicitly {@link google.cloud.dataplex.v1.Task.NotebookTaskConfig.verify|verify} messages.
+ * @param message NotebookTaskConfig message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.dataplex.v1.Task.INotebookTaskConfig, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a NotebookTaskConfig message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns NotebookTaskConfig
+ * @throws {Error} If the payload is not 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.dataplex.v1.Task.NotebookTaskConfig;
+
+ /**
+ * Decodes a NotebookTaskConfig message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns NotebookTaskConfig
+ * @throws {Error} If the payload 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.dataplex.v1.Task.NotebookTaskConfig;
+
+ /**
+ * Verifies a NotebookTaskConfig message.
+ * @param message Plain 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 NotebookTaskConfig message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns NotebookTaskConfig
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.dataplex.v1.Task.NotebookTaskConfig;
+
+ /**
+ * Creates a plain object from a NotebookTaskConfig message. Also converts values to other types if specified.
+ * @param message NotebookTaskConfig
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.dataplex.v1.Task.NotebookTaskConfig, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this NotebookTaskConfig to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for NotebookTaskConfig
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of an ExecutionStatus. */
+ interface IExecutionStatus {
+
+ /** ExecutionStatus updateTime */
+ updateTime?: (google.protobuf.ITimestamp|null);
+
+ /** ExecutionStatus latestJob */
+ latestJob?: (google.cloud.dataplex.v1.IJob|null);
+ }
+
+ /** Represents an ExecutionStatus. */
+ class ExecutionStatus implements IExecutionStatus {
+
+ /**
+ * Constructs a new ExecutionStatus.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.dataplex.v1.Task.IExecutionStatus);
+
+ /** ExecutionStatus updateTime. */
+ public updateTime?: (google.protobuf.ITimestamp|null);
+
+ /** ExecutionStatus latestJob. */
+ public latestJob?: (google.cloud.dataplex.v1.IJob|null);
+
+ /**
+ * Creates a new ExecutionStatus instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ExecutionStatus instance
+ */
+ public static create(properties?: google.cloud.dataplex.v1.Task.IExecutionStatus): google.cloud.dataplex.v1.Task.ExecutionStatus;
+
+ /**
+ * Encodes the specified ExecutionStatus message. Does not implicitly {@link google.cloud.dataplex.v1.Task.ExecutionStatus.verify|verify} messages.
+ * @param message ExecutionStatus message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.dataplex.v1.Task.IExecutionStatus, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ExecutionStatus message, length delimited. Does not implicitly {@link google.cloud.dataplex.v1.Task.ExecutionStatus.verify|verify} messages.
+ * @param message ExecutionStatus message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.dataplex.v1.Task.IExecutionStatus, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an ExecutionStatus message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ExecutionStatus
+ * @throws {Error} If the payload is not 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.dataplex.v1.Task.ExecutionStatus;
+
+ /**
+ * Decodes an ExecutionStatus message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ExecutionStatus
+ * @throws {Error} If the payload 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.dataplex.v1.Task.ExecutionStatus;
+
+ /**
+ * Verifies an ExecutionStatus message.
+ * @param message Plain 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 ExecutionStatus message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ExecutionStatus
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.dataplex.v1.Task.ExecutionStatus;
+
+ /**
+ * Creates a plain object from an ExecutionStatus message. Also converts values to other types if specified.
+ * @param message ExecutionStatus
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.dataplex.v1.Task.ExecutionStatus, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ExecutionStatus to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ExecutionStatus
+ * @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 name */
+ name?: (string|null);
+
+ /** Job uid */
+ uid?: (string|null);
+
+ /** Job startTime */
+ startTime?: (google.protobuf.ITimestamp|null);
+
+ /** Job endTime */
+ endTime?: (google.protobuf.ITimestamp|null);
+
+ /** Job state */
+ state?: (google.cloud.dataplex.v1.Job.State|keyof typeof google.cloud.dataplex.v1.Job.State|null);
+
+ /** Job retryCount */
+ retryCount?: (number|null);
+
+ /** Job service */
+ service?: (google.cloud.dataplex.v1.Job.Service|keyof typeof google.cloud.dataplex.v1.Job.Service|null);
+
+ /** Job serviceJob */
+ serviceJob?: (string|null);
+
+ /** Job message */
+ message?: (string|null);
+ }
+
+ /** Represents a Job. */
+ class Job implements IJob {
+
+ /**
+ * Constructs a new Job.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.dataplex.v1.IJob);
+
+ /** Job name. */
+ public name: string;
+
+ /** Job uid. */
+ public uid: string;
+
+ /** Job startTime. */
+ public startTime?: (google.protobuf.ITimestamp|null);
+
+ /** Job endTime. */
+ public endTime?: (google.protobuf.ITimestamp|null);
+
+ /** Job state. */
+ public state: (google.cloud.dataplex.v1.Job.State|keyof typeof google.cloud.dataplex.v1.Job.State);
+
+ /** Job retryCount. */
+ public retryCount: number;
+
+ /** Job service. */
+ public service: (google.cloud.dataplex.v1.Job.Service|keyof typeof google.cloud.dataplex.v1.Job.Service);
+
+ /** Job serviceJob. */
+ public serviceJob: string;
+
+ /** Job message. */
+ public message: string;
+
+ /**
+ * Creates a new Job instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns Job instance
+ */
+ public static create(properties?: google.cloud.dataplex.v1.IJob): google.cloud.dataplex.v1.Job;
+
+ /**
+ * Encodes the specified Job message. Does not implicitly {@link google.cloud.dataplex.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.dataplex.v1.IJob, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified Job message, length delimited. Does not implicitly {@link google.cloud.dataplex.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.dataplex.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.dataplex.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.dataplex.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.dataplex.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.dataplex.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 {
+
+ /** Service enum. */
+ enum Service {
+ SERVICE_UNSPECIFIED = 0,
+ DATAPROC = 1
+ }
+
+ /** State enum. */
+ enum State {
+ STATE_UNSPECIFIED = 0,
+ RUNNING = 1,
+ CANCELLING = 2,
+ CANCELLED = 3,
+ SUCCEEDED = 4,
+ FAILED = 5,
+ ABORTED = 6
+ }
+ }
+ }
+ }
+ }
+
+ /** Namespace api. */
+ namespace api {
+
+ /** FieldBehavior enum. */
+ enum FieldBehavior {
+ FIELD_BEHAVIOR_UNSPECIFIED = 0,
+ OPTIONAL = 1,
+ REQUIRED = 2,
+ OUTPUT_ONLY = 3,
+ INPUT_ONLY = 4,
+ IMMUTABLE = 5,
+ UNORDERED_LIST = 6,
+ NON_EMPTY_DEFAULT = 7
+ }
+
+ /** Properties of a ResourceDescriptor. */
+ interface IResourceDescriptor {
+
+ /** ResourceDescriptor type */
+ type?: (string|null);
+
+ /** ResourceDescriptor pattern */
+ pattern?: (string[]|null);
+
+ /** ResourceDescriptor nameField */
+ nameField?: (string|null);
+
+ /** ResourceDescriptor history */
+ history?: (google.api.ResourceDescriptor.History|keyof typeof google.api.ResourceDescriptor.History|null);
+
+ /** ResourceDescriptor plural */
+ plural?: (string|null);
+
+ /** ResourceDescriptor singular */
+ singular?: (string|null);
+
+ /** ResourceDescriptor style */
+ style?: (google.api.ResourceDescriptor.Style[]|null);
+ }
+
+ /** Represents a ResourceDescriptor. */
+ class ResourceDescriptor implements IResourceDescriptor {
+
+ /**
+ * Constructs a new ResourceDescriptor.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.api.IResourceDescriptor);
+
+ /** ResourceDescriptor type. */
+ public type: string;
+
+ /** ResourceDescriptor pattern. */
+ public pattern: string[];
+
+ /** ResourceDescriptor nameField. */
+ public nameField: string;
+
+ /** ResourceDescriptor history. */
+ public history: (google.api.ResourceDescriptor.History|keyof typeof google.api.ResourceDescriptor.History);
+
+ /** ResourceDescriptor plural. */
+ public plural: string;
+
+ /** ResourceDescriptor singular. */
+ public singular: string;
+
+ /** ResourceDescriptor style. */
+ public style: google.api.ResourceDescriptor.Style[];
+
+ /**
+ * Creates a new ResourceDescriptor instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ResourceDescriptor instance
+ */
+ public static create(properties?: google.api.IResourceDescriptor): google.api.ResourceDescriptor;
+
+ /**
+ * Encodes the specified ResourceDescriptor message. Does not implicitly {@link google.api.ResourceDescriptor.verify|verify} messages.
+ * @param message ResourceDescriptor message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.api.IResourceDescriptor, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ResourceDescriptor message, length delimited. Does not implicitly {@link google.api.ResourceDescriptor.verify|verify} messages.
+ * @param message ResourceDescriptor message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.api.IResourceDescriptor, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ResourceDescriptor message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ResourceDescriptor
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.ResourceDescriptor;
+
+ /**
+ * Decodes a ResourceDescriptor message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ResourceDescriptor
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.ResourceDescriptor;
+
+ /**
+ * Verifies a ResourceDescriptor message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a ResourceDescriptor message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ResourceDescriptor
+ */
+ public static fromObject(object: { [k: string]: any }): google.api.ResourceDescriptor;
+
+ /**
+ * Creates a plain object from a ResourceDescriptor message. Also converts values to other types if specified.
+ * @param message ResourceDescriptor
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.api.ResourceDescriptor, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ResourceDescriptor to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ResourceDescriptor
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace ResourceDescriptor {
+
+ /** History enum. */
+ enum History {
+ HISTORY_UNSPECIFIED = 0,
+ ORIGINALLY_SINGLE_PATTERN = 1,
+ FUTURE_MULTI_PATTERN = 2
+ }
+
+ /** Style enum. */
+ enum Style {
+ STYLE_UNSPECIFIED = 0,
+ DECLARATIVE_FRIENDLY = 1
+ }
+ }
+
+ /** Properties of a ResourceReference. */
+ interface IResourceReference {
+
+ /** ResourceReference type */
+ type?: (string|null);
+
+ /** ResourceReference childType */
+ childType?: (string|null);
+ }
+
+ /** Represents a ResourceReference. */
+ class ResourceReference implements IResourceReference {
+
+ /**
+ * Constructs a new ResourceReference.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.api.IResourceReference);
+
+ /** ResourceReference type. */
+ public type: string;
+
+ /** ResourceReference childType. */
+ public childType: string;
+
+ /**
+ * Creates a new ResourceReference instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ResourceReference instance
+ */
+ public static create(properties?: google.api.IResourceReference): google.api.ResourceReference;
+
+ /**
+ * Encodes the specified ResourceReference message. Does not implicitly {@link google.api.ResourceReference.verify|verify} messages.
+ * @param message ResourceReference message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.api.IResourceReference, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ResourceReference message, length delimited. Does not implicitly {@link google.api.ResourceReference.verify|verify} messages.
+ * @param message ResourceReference message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.api.IResourceReference, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ResourceReference message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ResourceReference
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.ResourceReference;
+
+ /**
+ * Decodes a ResourceReference message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ResourceReference
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.ResourceReference;
+
+ /**
+ * Verifies a ResourceReference message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a ResourceReference message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ResourceReference
+ */
+ public static fromObject(object: { [k: string]: any }): google.api.ResourceReference;
+
+ /**
+ * Creates a plain object from a ResourceReference message. Also converts values to other types if specified.
+ * @param message ResourceReference
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.api.ResourceReference, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ResourceReference to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ResourceReference
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a Http. */
+ interface IHttp {
+
+ /** Http rules */
+ rules?: (google.api.IHttpRule[]|null);
+
+ /** Http fullyDecodeReservedExpansion */
+ fullyDecodeReservedExpansion?: (boolean|null);
+ }
+
+ /** Represents a Http. */
+ class Http implements IHttp {
+
+ /**
+ * Constructs a new Http.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.api.IHttp);
+
+ /** Http rules. */
+ public rules: google.api.IHttpRule[];
+
+ /** Http fullyDecodeReservedExpansion. */
+ public fullyDecodeReservedExpansion: boolean;
+
+ /**
+ * Creates a new Http instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns Http instance
+ */
+ public static create(properties?: google.api.IHttp): google.api.Http;
+
+ /**
+ * Encodes the specified Http message. Does not implicitly {@link google.api.Http.verify|verify} messages.
+ * @param message Http message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.api.IHttp, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified Http message, length delimited. Does not implicitly {@link google.api.Http.verify|verify} messages.
+ * @param message Http message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.api.IHttp, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a Http message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns Http
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.Http;
+
+ /**
+ * Decodes a Http message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns Http
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.Http;
+
+ /**
+ * Verifies a Http message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a Http message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns Http
+ */
+ public static fromObject(object: { [k: string]: any }): google.api.Http;
+
+ /**
+ * Creates a plain object from a Http message. Also converts values to other types if specified.
+ * @param message Http
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.api.Http, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this Http to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for Http
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a HttpRule. */
+ interface IHttpRule {
+
+ /** HttpRule selector */
+ selector?: (string|null);
+
+ /** HttpRule get */
+ get?: (string|null);
+
+ /** HttpRule put */
+ put?: (string|null);
+
+ /** HttpRule post */
+ post?: (string|null);
+
+ /** HttpRule delete */
+ "delete"?: (string|null);
+
+ /** HttpRule patch */
+ patch?: (string|null);
+
+ /** HttpRule custom */
+ custom?: (google.api.ICustomHttpPattern|null);
+
+ /** HttpRule body */
+ body?: (string|null);
+
+ /** HttpRule responseBody */
+ responseBody?: (string|null);
+
+ /** HttpRule additionalBindings */
+ additionalBindings?: (google.api.IHttpRule[]|null);
+ }
+
+ /** Represents a HttpRule. */
+ class HttpRule implements IHttpRule {
+
+ /**
+ * Constructs a new HttpRule.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.api.IHttpRule);
+
+ /** HttpRule selector. */
+ public selector: string;
+
+ /** HttpRule get. */
+ public get?: (string|null);
+
+ /** HttpRule put. */
+ public put?: (string|null);
+
+ /** HttpRule post. */
+ public post?: (string|null);
+
+ /** HttpRule delete. */
+ public delete?: (string|null);
+
+ /** HttpRule patch. */
+ public patch?: (string|null);
+
+ /** HttpRule custom. */
+ public custom?: (google.api.ICustomHttpPattern|null);
+
+ /** HttpRule body. */
+ public body: string;
+
+ /** HttpRule responseBody. */
+ public responseBody: string;
+
+ /** HttpRule additionalBindings. */
+ public additionalBindings: google.api.IHttpRule[];
+
+ /** HttpRule pattern. */
+ public pattern?: ("get"|"put"|"post"|"delete"|"patch"|"custom");
+
+ /**
+ * Creates a new HttpRule instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns HttpRule instance
+ */
+ public static create(properties?: google.api.IHttpRule): google.api.HttpRule;
+
+ /**
+ * Encodes the specified HttpRule message. Does not implicitly {@link google.api.HttpRule.verify|verify} messages.
+ * @param message HttpRule message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.api.IHttpRule, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified HttpRule message, length delimited. Does not implicitly {@link google.api.HttpRule.verify|verify} messages.
+ * @param message HttpRule message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.api.IHttpRule, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a HttpRule message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns HttpRule
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.HttpRule;
+
+ /**
+ * Decodes a HttpRule message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns HttpRule
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.HttpRule;
+
+ /**
+ * Verifies a HttpRule message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a HttpRule message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns HttpRule
+ */
+ public static fromObject(object: { [k: string]: any }): google.api.HttpRule;
+
+ /**
+ * Creates a plain object from a HttpRule message. Also converts values to other types if specified.
+ * @param message HttpRule
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.api.HttpRule, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this HttpRule to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for HttpRule
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a CustomHttpPattern. */
+ interface ICustomHttpPattern {
+
+ /** CustomHttpPattern kind */
+ kind?: (string|null);
+
+ /** CustomHttpPattern path */
+ path?: (string|null);
+ }
+
+ /** Represents a CustomHttpPattern. */
+ class CustomHttpPattern implements ICustomHttpPattern {
+
+ /**
+ * Constructs a new CustomHttpPattern.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.api.ICustomHttpPattern);
+
+ /** CustomHttpPattern kind. */
+ public kind: string;
+
+ /** CustomHttpPattern path. */
+ public path: string;
+
+ /**
+ * Creates a new CustomHttpPattern instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns CustomHttpPattern instance
+ */
+ public static create(properties?: google.api.ICustomHttpPattern): google.api.CustomHttpPattern;
+
+ /**
+ * Encodes the specified CustomHttpPattern message. Does not implicitly {@link google.api.CustomHttpPattern.verify|verify} messages.
+ * @param message CustomHttpPattern message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.api.ICustomHttpPattern, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified CustomHttpPattern message, length delimited. Does not implicitly {@link google.api.CustomHttpPattern.verify|verify} messages.
+ * @param message CustomHttpPattern message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.api.ICustomHttpPattern, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a CustomHttpPattern message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns CustomHttpPattern
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.CustomHttpPattern;
+
+ /**
+ * Decodes a CustomHttpPattern message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns CustomHttpPattern
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.CustomHttpPattern;
+
+ /**
+ * Verifies a CustomHttpPattern message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a CustomHttpPattern message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns CustomHttpPattern
+ */
+ public static fromObject(object: { [k: string]: any }): google.api.CustomHttpPattern;
+
+ /**
+ * Creates a plain object from a CustomHttpPattern message. Also converts values to other types if specified.
+ * @param message CustomHttpPattern
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.api.CustomHttpPattern, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this CustomHttpPattern to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for CustomHttpPattern
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+ }
+
+ /** Namespace protobuf. */
+ namespace protobuf {
+
+ /** Properties of a FileDescriptorSet. */
+ interface IFileDescriptorSet {
+
+ /** FileDescriptorSet file */
+ file?: (google.protobuf.IFileDescriptorProto[]|null);
+ }
+
+ /** Represents a FileDescriptorSet. */
+ class FileDescriptorSet implements IFileDescriptorSet {
+
+ /**
+ * Constructs a new FileDescriptorSet.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.protobuf.IFileDescriptorSet);
+
+ /** FileDescriptorSet file. */
+ public file: google.protobuf.IFileDescriptorProto[];
+
+ /**
+ * Creates a new FileDescriptorSet instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns FileDescriptorSet instance
+ */
+ public static create(properties?: google.protobuf.IFileDescriptorSet): google.protobuf.FileDescriptorSet;
+
+ /**
+ * Encodes the specified FileDescriptorSet message. Does not implicitly {@link google.protobuf.FileDescriptorSet.verify|verify} messages.
+ * @param message FileDescriptorSet message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.protobuf.IFileDescriptorSet, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified FileDescriptorSet message, length delimited. Does not implicitly {@link google.protobuf.FileDescriptorSet.verify|verify} messages.
+ * @param message FileDescriptorSet message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.protobuf.IFileDescriptorSet, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a FileDescriptorSet message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns FileDescriptorSet
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.FileDescriptorSet;
+
+ /**
+ * Decodes a FileDescriptorSet message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns FileDescriptorSet
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.FileDescriptorSet;
+
+ /**
+ * Verifies a FileDescriptorSet message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a FileDescriptorSet message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns FileDescriptorSet
+ */
+ public static fromObject(object: { [k: string]: any }): google.protobuf.FileDescriptorSet;
+
+ /**
+ * Creates a plain object from a FileDescriptorSet message. Also converts values to other types if specified.
+ * @param message FileDescriptorSet
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.protobuf.FileDescriptorSet, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this FileDescriptorSet to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for FileDescriptorSet
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a FileDescriptorProto. */
+ interface IFileDescriptorProto {
+
+ /** FileDescriptorProto name */
+ name?: (string|null);
+
+ /** FileDescriptorProto package */
+ "package"?: (string|null);
+
+ /** FileDescriptorProto dependency */
+ dependency?: (string[]|null);
+
+ /** FileDescriptorProto publicDependency */
+ publicDependency?: (number[]|null);
+
+ /** FileDescriptorProto weakDependency */
+ weakDependency?: (number[]|null);
+
+ /** FileDescriptorProto messageType */
+ messageType?: (google.protobuf.IDescriptorProto[]|null);
+
+ /** FileDescriptorProto enumType */
+ enumType?: (google.protobuf.IEnumDescriptorProto[]|null);
+
+ /** FileDescriptorProto service */
+ service?: (google.protobuf.IServiceDescriptorProto[]|null);
+
+ /** FileDescriptorProto extension */
+ extension?: (google.protobuf.IFieldDescriptorProto[]|null);
+
+ /** FileDescriptorProto options */
+ options?: (google.protobuf.IFileOptions|null);
+
+ /** FileDescriptorProto sourceCodeInfo */
+ sourceCodeInfo?: (google.protobuf.ISourceCodeInfo|null);
+
+ /** FileDescriptorProto syntax */
+ syntax?: (string|null);
+
+ /** FileDescriptorProto edition */
+ edition?: (string|null);
+ }
+
+ /** Represents a FileDescriptorProto. */
+ class FileDescriptorProto implements IFileDescriptorProto {
+
+ /**
+ * Constructs a new FileDescriptorProto.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.protobuf.IFileDescriptorProto);
+
+ /** FileDescriptorProto name. */
+ public name: string;
+
+ /** FileDescriptorProto package. */
+ public package: string;
+
+ /** FileDescriptorProto dependency. */
+ public dependency: string[];
+
+ /** FileDescriptorProto publicDependency. */
+ public publicDependency: number[];
+
+ /** FileDescriptorProto weakDependency. */
+ public weakDependency: number[];
+
+ /** FileDescriptorProto messageType. */
+ public messageType: google.protobuf.IDescriptorProto[];
+
+ /** FileDescriptorProto enumType. */
+ public enumType: google.protobuf.IEnumDescriptorProto[];
+
+ /** FileDescriptorProto service. */
+ public service: google.protobuf.IServiceDescriptorProto[];
+
+ /** FileDescriptorProto extension. */
+ public extension: google.protobuf.IFieldDescriptorProto[];
+
+ /** FileDescriptorProto options. */
+ public options?: (google.protobuf.IFileOptions|null);
+
+ /** FileDescriptorProto sourceCodeInfo. */
+ public sourceCodeInfo?: (google.protobuf.ISourceCodeInfo|null);
+
+ /** FileDescriptorProto syntax. */
+ public syntax: string;
+
+ /** FileDescriptorProto edition. */
+ public edition: string;
+
+ /**
+ * Creates a new FileDescriptorProto instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns FileDescriptorProto instance
+ */
+ public static create(properties?: google.protobuf.IFileDescriptorProto): google.protobuf.FileDescriptorProto;
+
+ /**
+ * Encodes the specified FileDescriptorProto message. Does not implicitly {@link google.protobuf.FileDescriptorProto.verify|verify} messages.
+ * @param message FileDescriptorProto message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.protobuf.IFileDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified FileDescriptorProto message, length delimited. Does not implicitly {@link google.protobuf.FileDescriptorProto.verify|verify} messages.
+ * @param message FileDescriptorProto message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.protobuf.IFileDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a FileDescriptorProto message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns FileDescriptorProto
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.FileDescriptorProto;
+
+ /**
+ * Decodes a FileDescriptorProto message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns FileDescriptorProto
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.FileDescriptorProto;
+
+ /**
+ * Verifies a FileDescriptorProto message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a FileDescriptorProto message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns FileDescriptorProto
+ */
+ public static fromObject(object: { [k: string]: any }): google.protobuf.FileDescriptorProto;
+
+ /**
+ * Creates a plain object from a FileDescriptorProto message. Also converts values to other types if specified.
+ * @param message FileDescriptorProto
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.protobuf.FileDescriptorProto, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this FileDescriptorProto to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for FileDescriptorProto
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a DescriptorProto. */
+ interface IDescriptorProto {
+
+ /** DescriptorProto name */
+ name?: (string|null);
+
+ /** DescriptorProto field */
+ field?: (google.protobuf.IFieldDescriptorProto[]|null);
+
+ /** DescriptorProto extension */
+ extension?: (google.protobuf.IFieldDescriptorProto[]|null);
+
+ /** DescriptorProto nestedType */
+ nestedType?: (google.protobuf.IDescriptorProto[]|null);
+
+ /** DescriptorProto enumType */
+ enumType?: (google.protobuf.IEnumDescriptorProto[]|null);
+
+ /** DescriptorProto extensionRange */
+ extensionRange?: (google.protobuf.DescriptorProto.IExtensionRange[]|null);
+
+ /** DescriptorProto oneofDecl */
+ oneofDecl?: (google.protobuf.IOneofDescriptorProto[]|null);
+
+ /** DescriptorProto options */
+ options?: (google.protobuf.IMessageOptions|null);
+
+ /** DescriptorProto reservedRange */
+ reservedRange?: (google.protobuf.DescriptorProto.IReservedRange[]|null);
+
+ /** DescriptorProto reservedName */
+ reservedName?: (string[]|null);
+ }
+
+ /** Represents a DescriptorProto. */
+ class DescriptorProto implements IDescriptorProto {
+
+ /**
+ * Constructs a new DescriptorProto.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.protobuf.IDescriptorProto);
+
+ /** DescriptorProto name. */
+ public name: string;
+
+ /** DescriptorProto field. */
+ public field: google.protobuf.IFieldDescriptorProto[];
+
+ /** DescriptorProto extension. */
+ public extension: google.protobuf.IFieldDescriptorProto[];
+
+ /** DescriptorProto nestedType. */
+ public nestedType: google.protobuf.IDescriptorProto[];
+
+ /** DescriptorProto enumType. */
+ public enumType: google.protobuf.IEnumDescriptorProto[];
+
+ /** DescriptorProto extensionRange. */
+ public extensionRange: google.protobuf.DescriptorProto.IExtensionRange[];
+
+ /** DescriptorProto oneofDecl. */
+ public oneofDecl: google.protobuf.IOneofDescriptorProto[];
+
+ /** DescriptorProto options. */
+ public options?: (google.protobuf.IMessageOptions|null);
+
+ /** DescriptorProto reservedRange. */
+ public reservedRange: google.protobuf.DescriptorProto.IReservedRange[];
+
+ /** DescriptorProto reservedName. */
+ public reservedName: string[];
+
+ /**
+ * Creates a new DescriptorProto instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns DescriptorProto instance
+ */
+ public static create(properties?: google.protobuf.IDescriptorProto): google.protobuf.DescriptorProto;
+
+ /**
+ * Encodes the specified DescriptorProto message. Does not implicitly {@link google.protobuf.DescriptorProto.verify|verify} messages.
+ * @param message DescriptorProto message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.protobuf.IDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified DescriptorProto message, length delimited. Does not implicitly {@link google.protobuf.DescriptorProto.verify|verify} messages.
+ * @param message DescriptorProto message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.protobuf.IDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a DescriptorProto message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns DescriptorProto
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.DescriptorProto;
+
+ /**
+ * Decodes a DescriptorProto message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns DescriptorProto
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.DescriptorProto;
+
+ /**
+ * Verifies a DescriptorProto message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a DescriptorProto message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns DescriptorProto
+ */
+ public static fromObject(object: { [k: string]: any }): google.protobuf.DescriptorProto;
+
+ /**
+ * Creates a plain object from a DescriptorProto message. Also converts values to other types if specified.
+ * @param message DescriptorProto
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.protobuf.DescriptorProto, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this DescriptorProto to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for DescriptorProto
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace DescriptorProto {
+
+ /** Properties of an ExtensionRange. */
+ interface IExtensionRange {
+
+ /** ExtensionRange start */
+ start?: (number|null);
+
+ /** ExtensionRange end */
+ end?: (number|null);
+
+ /** ExtensionRange options */
+ options?: (google.protobuf.IExtensionRangeOptions|null);
+ }
+
+ /** Represents an ExtensionRange. */
+ class ExtensionRange implements IExtensionRange {
+
+ /**
+ * Constructs a new ExtensionRange.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.protobuf.DescriptorProto.IExtensionRange);
+
+ /** ExtensionRange start. */
+ public start: number;
+
+ /** ExtensionRange end. */
+ public end: number;
+
+ /** ExtensionRange options. */
+ public options?: (google.protobuf.IExtensionRangeOptions|null);
+
+ /**
+ * Creates a new ExtensionRange instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ExtensionRange instance
+ */
+ public static create(properties?: google.protobuf.DescriptorProto.IExtensionRange): google.protobuf.DescriptorProto.ExtensionRange;
+
+ /**
+ * Encodes the specified ExtensionRange message. Does not implicitly {@link google.protobuf.DescriptorProto.ExtensionRange.verify|verify} messages.
+ * @param message ExtensionRange message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.protobuf.DescriptorProto.IExtensionRange, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ExtensionRange message, length delimited. Does not implicitly {@link google.protobuf.DescriptorProto.ExtensionRange.verify|verify} messages.
+ * @param message ExtensionRange message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.protobuf.DescriptorProto.IExtensionRange, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an ExtensionRange message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ExtensionRange
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.DescriptorProto.ExtensionRange;
+
+ /**
+ * Decodes an ExtensionRange message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ExtensionRange
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.DescriptorProto.ExtensionRange;
+
+ /**
+ * Verifies an ExtensionRange message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates an ExtensionRange message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ExtensionRange
+ */
+ public static fromObject(object: { [k: string]: any }): google.protobuf.DescriptorProto.ExtensionRange;
+
+ /**
+ * Creates a plain object from an ExtensionRange message. Also converts values to other types if specified.
+ * @param message ExtensionRange
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.protobuf.DescriptorProto.ExtensionRange, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ExtensionRange to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ExtensionRange
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a ReservedRange. */
+ interface IReservedRange {
+
+ /** ReservedRange start */
+ start?: (number|null);
+
+ /** ReservedRange end */
+ end?: (number|null);
+ }
+
+ /** Represents a ReservedRange. */
+ class ReservedRange implements IReservedRange {
+
+ /**
+ * Constructs a new ReservedRange.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.protobuf.DescriptorProto.IReservedRange);
+
+ /** ReservedRange start. */
+ public start: number;
+
+ /** ReservedRange end. */
+ public end: number;
+
+ /**
+ * Creates a new ReservedRange instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ReservedRange instance
+ */
+ public static create(properties?: google.protobuf.DescriptorProto.IReservedRange): google.protobuf.DescriptorProto.ReservedRange;
+
+ /**
+ * Encodes the specified ReservedRange message. Does not implicitly {@link google.protobuf.DescriptorProto.ReservedRange.verify|verify} messages.
+ * @param message ReservedRange message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.protobuf.DescriptorProto.IReservedRange, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ReservedRange message, length delimited. Does not implicitly {@link google.protobuf.DescriptorProto.ReservedRange.verify|verify} messages.
+ * @param message ReservedRange message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.protobuf.DescriptorProto.IReservedRange, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ReservedRange message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ReservedRange
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.DescriptorProto.ReservedRange;
+
+ /**
+ * Decodes a ReservedRange message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ReservedRange
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.DescriptorProto.ReservedRange;
+
+ /**
+ * Verifies a ReservedRange message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a ReservedRange message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ReservedRange
+ */
+ public static fromObject(object: { [k: string]: any }): google.protobuf.DescriptorProto.ReservedRange;
+
+ /**
+ * Creates a plain object from a ReservedRange message. Also converts values to other types if specified.
+ * @param message ReservedRange
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.protobuf.DescriptorProto.ReservedRange, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ReservedRange to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ReservedRange
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+ }
+
+ /** Properties of an ExtensionRangeOptions. */
+ interface IExtensionRangeOptions {
+
+ /** ExtensionRangeOptions uninterpretedOption */
+ uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null);
+ }
+
+ /** Represents an ExtensionRangeOptions. */
+ class ExtensionRangeOptions implements IExtensionRangeOptions {
+
+ /**
+ * Constructs a new ExtensionRangeOptions.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.protobuf.IExtensionRangeOptions);
+
+ /** ExtensionRangeOptions uninterpretedOption. */
+ public uninterpretedOption: google.protobuf.IUninterpretedOption[];
+
+ /**
+ * Creates a new ExtensionRangeOptions instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ExtensionRangeOptions instance
+ */
+ public static create(properties?: google.protobuf.IExtensionRangeOptions): google.protobuf.ExtensionRangeOptions;
+
+ /**
+ * Encodes the specified ExtensionRangeOptions message. Does not implicitly {@link google.protobuf.ExtensionRangeOptions.verify|verify} messages.
+ * @param message ExtensionRangeOptions message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.protobuf.IExtensionRangeOptions, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ExtensionRangeOptions message, length delimited. Does not implicitly {@link google.protobuf.ExtensionRangeOptions.verify|verify} messages.
+ * @param message ExtensionRangeOptions message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.protobuf.IExtensionRangeOptions, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an ExtensionRangeOptions message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ExtensionRangeOptions
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.ExtensionRangeOptions;
+
+ /**
+ * Decodes an ExtensionRangeOptions message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ExtensionRangeOptions
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.ExtensionRangeOptions;
+
+ /**
+ * Verifies an ExtensionRangeOptions message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates an ExtensionRangeOptions message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ExtensionRangeOptions
+ */
+ public static fromObject(object: { [k: string]: any }): google.protobuf.ExtensionRangeOptions;
+
+ /**
+ * Creates a plain object from an ExtensionRangeOptions message. Also converts values to other types if specified.
+ * @param message ExtensionRangeOptions
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.protobuf.ExtensionRangeOptions, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ExtensionRangeOptions to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ExtensionRangeOptions
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a FieldDescriptorProto. */
+ interface IFieldDescriptorProto {
+
+ /** FieldDescriptorProto name */
+ name?: (string|null);
+
+ /** FieldDescriptorProto number */
+ number?: (number|null);
+
+ /** FieldDescriptorProto label */
+ label?: (google.protobuf.FieldDescriptorProto.Label|keyof typeof google.protobuf.FieldDescriptorProto.Label|null);
+
+ /** FieldDescriptorProto type */
+ type?: (google.protobuf.FieldDescriptorProto.Type|keyof typeof google.protobuf.FieldDescriptorProto.Type|null);
+
+ /** FieldDescriptorProto typeName */
+ typeName?: (string|null);
+
+ /** FieldDescriptorProto extendee */
+ extendee?: (string|null);
+
+ /** FieldDescriptorProto defaultValue */
+ defaultValue?: (string|null);
+
+ /** FieldDescriptorProto oneofIndex */
+ oneofIndex?: (number|null);
+
+ /** FieldDescriptorProto jsonName */
+ jsonName?: (string|null);
+
+ /** FieldDescriptorProto options */
+ options?: (google.protobuf.IFieldOptions|null);
+
+ /** FieldDescriptorProto proto3Optional */
+ proto3Optional?: (boolean|null);
+ }
+
+ /** Represents a FieldDescriptorProto. */
+ class FieldDescriptorProto implements IFieldDescriptorProto {
+
+ /**
+ * Constructs a new FieldDescriptorProto.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.protobuf.IFieldDescriptorProto);
+
+ /** FieldDescriptorProto name. */
+ public name: string;
+
+ /** FieldDescriptorProto number. */
+ public number: number;
+
+ /** FieldDescriptorProto label. */
+ public label: (google.protobuf.FieldDescriptorProto.Label|keyof typeof google.protobuf.FieldDescriptorProto.Label);
+
+ /** FieldDescriptorProto type. */
+ public type: (google.protobuf.FieldDescriptorProto.Type|keyof typeof google.protobuf.FieldDescriptorProto.Type);
+
+ /** FieldDescriptorProto typeName. */
+ public typeName: string;
+
+ /** FieldDescriptorProto extendee. */
+ public extendee: string;
+
+ /** FieldDescriptorProto defaultValue. */
+ public defaultValue: string;
+
+ /** FieldDescriptorProto oneofIndex. */
+ public oneofIndex: number;
+
+ /** FieldDescriptorProto jsonName. */
+ public jsonName: string;
+
+ /** FieldDescriptorProto options. */
+ public options?: (google.protobuf.IFieldOptions|null);
+
+ /** FieldDescriptorProto proto3Optional. */
+ public proto3Optional: boolean;
+
+ /**
+ * Creates a new FieldDescriptorProto instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns FieldDescriptorProto instance
+ */
+ public static create(properties?: google.protobuf.IFieldDescriptorProto): google.protobuf.FieldDescriptorProto;
+
+ /**
+ * Encodes the specified FieldDescriptorProto message. Does not implicitly {@link google.protobuf.FieldDescriptorProto.verify|verify} messages.
+ * @param message FieldDescriptorProto message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.protobuf.IFieldDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified FieldDescriptorProto message, length delimited. Does not implicitly {@link google.protobuf.FieldDescriptorProto.verify|verify} messages.
+ * @param message FieldDescriptorProto message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.protobuf.IFieldDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a FieldDescriptorProto message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns FieldDescriptorProto
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.FieldDescriptorProto;
+
+ /**
+ * Decodes a FieldDescriptorProto message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns FieldDescriptorProto
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.FieldDescriptorProto;
+
+ /**
+ * Verifies a FieldDescriptorProto message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a FieldDescriptorProto message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns FieldDescriptorProto
+ */
+ public static fromObject(object: { [k: string]: any }): google.protobuf.FieldDescriptorProto;
+
+ /**
+ * Creates a plain object from a FieldDescriptorProto message. Also converts values to other types if specified.
+ * @param message FieldDescriptorProto
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.protobuf.FieldDescriptorProto, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this FieldDescriptorProto to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for FieldDescriptorProto
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace FieldDescriptorProto {
+
+ /** Type enum. */
+ enum Type {
+ TYPE_DOUBLE = 1,
+ TYPE_FLOAT = 2,
+ TYPE_INT64 = 3,
+ TYPE_UINT64 = 4,
+ TYPE_INT32 = 5,
+ TYPE_FIXED64 = 6,
+ TYPE_FIXED32 = 7,
+ TYPE_BOOL = 8,
+ TYPE_STRING = 9,
+ TYPE_GROUP = 10,
+ TYPE_MESSAGE = 11,
+ TYPE_BYTES = 12,
+ TYPE_UINT32 = 13,
+ TYPE_ENUM = 14,
+ TYPE_SFIXED32 = 15,
+ TYPE_SFIXED64 = 16,
+ TYPE_SINT32 = 17,
+ TYPE_SINT64 = 18
+ }
+
+ /** Label enum. */
+ enum Label {
+ LABEL_OPTIONAL = 1,
+ LABEL_REQUIRED = 2,
+ LABEL_REPEATED = 3
+ }
+ }
+
+ /** Properties of an OneofDescriptorProto. */
+ interface IOneofDescriptorProto {
+
+ /** OneofDescriptorProto name */
+ name?: (string|null);
+
+ /** OneofDescriptorProto options */
+ options?: (google.protobuf.IOneofOptions|null);
+ }
+
+ /** Represents an OneofDescriptorProto. */
+ class OneofDescriptorProto implements IOneofDescriptorProto {
+
+ /**
+ * Constructs a new OneofDescriptorProto.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.protobuf.IOneofDescriptorProto);
+
+ /** OneofDescriptorProto name. */
+ public name: string;
+
+ /** OneofDescriptorProto options. */
+ public options?: (google.protobuf.IOneofOptions|null);
+
+ /**
+ * Creates a new OneofDescriptorProto instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns OneofDescriptorProto instance
+ */
+ public static create(properties?: google.protobuf.IOneofDescriptorProto): google.protobuf.OneofDescriptorProto;
+
+ /**
+ * Encodes the specified OneofDescriptorProto message. Does not implicitly {@link google.protobuf.OneofDescriptorProto.verify|verify} messages.
+ * @param message OneofDescriptorProto message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.protobuf.IOneofDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified OneofDescriptorProto message, length delimited. Does not implicitly {@link google.protobuf.OneofDescriptorProto.verify|verify} messages.
+ * @param message OneofDescriptorProto message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.protobuf.IOneofDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an OneofDescriptorProto message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns OneofDescriptorProto
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.OneofDescriptorProto;
+
+ /**
+ * Decodes an OneofDescriptorProto message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns OneofDescriptorProto
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.OneofDescriptorProto;
+
+ /**
+ * Verifies an OneofDescriptorProto message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates an OneofDescriptorProto message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns OneofDescriptorProto
+ */
+ public static fromObject(object: { [k: string]: any }): google.protobuf.OneofDescriptorProto;
+
+ /**
+ * Creates a plain object from an OneofDescriptorProto message. Also converts values to other types if specified.
+ * @param message OneofDescriptorProto
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.protobuf.OneofDescriptorProto, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this OneofDescriptorProto to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for OneofDescriptorProto
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of an EnumDescriptorProto. */
+ interface IEnumDescriptorProto {
+
+ /** EnumDescriptorProto name */
+ name?: (string|null);
+
+ /** EnumDescriptorProto value */
+ value?: (google.protobuf.IEnumValueDescriptorProto[]|null);
+
+ /** EnumDescriptorProto options */
+ options?: (google.protobuf.IEnumOptions|null);
+
+ /** EnumDescriptorProto reservedRange */
+ reservedRange?: (google.protobuf.EnumDescriptorProto.IEnumReservedRange[]|null);
+
+ /** EnumDescriptorProto reservedName */
+ reservedName?: (string[]|null);
+ }
+
+ /** Represents an EnumDescriptorProto. */
+ class EnumDescriptorProto implements IEnumDescriptorProto {
+
+ /**
+ * Constructs a new EnumDescriptorProto.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.protobuf.IEnumDescriptorProto);
+
+ /** EnumDescriptorProto name. */
+ public name: string;
+
+ /** EnumDescriptorProto value. */
+ public value: google.protobuf.IEnumValueDescriptorProto[];
+
+ /** EnumDescriptorProto options. */
+ public options?: (google.protobuf.IEnumOptions|null);
+
+ /** EnumDescriptorProto reservedRange. */
+ public reservedRange: google.protobuf.EnumDescriptorProto.IEnumReservedRange[];
+
+ /** EnumDescriptorProto reservedName. */
+ public reservedName: string[];
+
+ /**
+ * Creates a new EnumDescriptorProto instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns EnumDescriptorProto instance
+ */
+ public static create(properties?: google.protobuf.IEnumDescriptorProto): google.protobuf.EnumDescriptorProto;
+
+ /**
+ * Encodes the specified EnumDescriptorProto message. Does not implicitly {@link google.protobuf.EnumDescriptorProto.verify|verify} messages.
+ * @param message EnumDescriptorProto message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.protobuf.IEnumDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified EnumDescriptorProto message, length delimited. Does not implicitly {@link google.protobuf.EnumDescriptorProto.verify|verify} messages.
+ * @param message EnumDescriptorProto message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.protobuf.IEnumDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an EnumDescriptorProto message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns EnumDescriptorProto
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.EnumDescriptorProto;
+
+ /**
+ * Decodes an EnumDescriptorProto message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns EnumDescriptorProto
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.EnumDescriptorProto;
+
+ /**
+ * Verifies an EnumDescriptorProto message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates an EnumDescriptorProto message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns EnumDescriptorProto
+ */
+ public static fromObject(object: { [k: string]: any }): google.protobuf.EnumDescriptorProto;
+
+ /**
+ * Creates a plain object from an EnumDescriptorProto message. Also converts values to other types if specified.
+ * @param message EnumDescriptorProto
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.protobuf.EnumDescriptorProto, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this EnumDescriptorProto to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for EnumDescriptorProto
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace EnumDescriptorProto {
+
+ /** Properties of an EnumReservedRange. */
+ interface IEnumReservedRange {
+
+ /** EnumReservedRange start */
+ start?: (number|null);
+
+ /** EnumReservedRange end */
+ end?: (number|null);
+ }
+
+ /** Represents an EnumReservedRange. */
+ class EnumReservedRange implements IEnumReservedRange {
+
+ /**
+ * Constructs a new EnumReservedRange.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.protobuf.EnumDescriptorProto.IEnumReservedRange);
+
+ /** EnumReservedRange start. */
+ public start: number;
+
+ /** EnumReservedRange end. */
+ public end: number;
+
+ /**
+ * Creates a new EnumReservedRange instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns EnumReservedRange instance
+ */
+ public static create(properties?: google.protobuf.EnumDescriptorProto.IEnumReservedRange): google.protobuf.EnumDescriptorProto.EnumReservedRange;
+
+ /**
+ * Encodes the specified EnumReservedRange message. Does not implicitly {@link google.protobuf.EnumDescriptorProto.EnumReservedRange.verify|verify} messages.
+ * @param message EnumReservedRange message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.protobuf.EnumDescriptorProto.IEnumReservedRange, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified EnumReservedRange message, length delimited. Does not implicitly {@link google.protobuf.EnumDescriptorProto.EnumReservedRange.verify|verify} messages.
+ * @param message EnumReservedRange message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.protobuf.EnumDescriptorProto.IEnumReservedRange, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an EnumReservedRange message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns EnumReservedRange
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.EnumDescriptorProto.EnumReservedRange;
+
+ /**
+ * Decodes an EnumReservedRange message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns EnumReservedRange
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.EnumDescriptorProto.EnumReservedRange;
+
+ /**
+ * Verifies an EnumReservedRange message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates an EnumReservedRange message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns EnumReservedRange
+ */
+ public static fromObject(object: { [k: string]: any }): google.protobuf.EnumDescriptorProto.EnumReservedRange;
+
+ /**
+ * Creates a plain object from an EnumReservedRange message. Also converts values to other types if specified.
+ * @param message EnumReservedRange
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.protobuf.EnumDescriptorProto.EnumReservedRange, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this EnumReservedRange to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for EnumReservedRange
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+ }
+
+ /** Properties of an EnumValueDescriptorProto. */
+ interface IEnumValueDescriptorProto {
+
+ /** EnumValueDescriptorProto name */
+ name?: (string|null);
+
+ /** EnumValueDescriptorProto number */
+ number?: (number|null);
+
+ /** EnumValueDescriptorProto options */
+ options?: (google.protobuf.IEnumValueOptions|null);
+ }
+
+ /** Represents an EnumValueDescriptorProto. */
+ class EnumValueDescriptorProto implements IEnumValueDescriptorProto {
+
+ /**
+ * Constructs a new EnumValueDescriptorProto.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.protobuf.IEnumValueDescriptorProto);
+
+ /** EnumValueDescriptorProto name. */
+ public name: string;
+
+ /** EnumValueDescriptorProto number. */
+ public number: number;
+
+ /** EnumValueDescriptorProto options. */
+ public options?: (google.protobuf.IEnumValueOptions|null);
+
+ /**
+ * Creates a new EnumValueDescriptorProto instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns EnumValueDescriptorProto instance
+ */
+ public static create(properties?: google.protobuf.IEnumValueDescriptorProto): google.protobuf.EnumValueDescriptorProto;
+
+ /**
+ * Encodes the specified EnumValueDescriptorProto message. Does not implicitly {@link google.protobuf.EnumValueDescriptorProto.verify|verify} messages.
+ * @param message EnumValueDescriptorProto message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.protobuf.IEnumValueDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified EnumValueDescriptorProto message, length delimited. Does not implicitly {@link google.protobuf.EnumValueDescriptorProto.verify|verify} messages.
+ * @param message EnumValueDescriptorProto message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.protobuf.IEnumValueDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an EnumValueDescriptorProto message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns EnumValueDescriptorProto
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.EnumValueDescriptorProto;
+
+ /**
+ * Decodes an EnumValueDescriptorProto message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns EnumValueDescriptorProto
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.EnumValueDescriptorProto;
+
+ /**
+ * Verifies an EnumValueDescriptorProto message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates an EnumValueDescriptorProto message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns EnumValueDescriptorProto
+ */
+ public static fromObject(object: { [k: string]: any }): google.protobuf.EnumValueDescriptorProto;
+
+ /**
+ * Creates a plain object from an EnumValueDescriptorProto message. Also converts values to other types if specified.
+ * @param message EnumValueDescriptorProto
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.protobuf.EnumValueDescriptorProto, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this EnumValueDescriptorProto to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for EnumValueDescriptorProto
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a ServiceDescriptorProto. */
+ interface IServiceDescriptorProto {
+
+ /** ServiceDescriptorProto name */
+ name?: (string|null);
+
+ /** ServiceDescriptorProto method */
+ method?: (google.protobuf.IMethodDescriptorProto[]|null);
+
+ /** ServiceDescriptorProto options */
+ options?: (google.protobuf.IServiceOptions|null);
+ }
+
+ /** Represents a ServiceDescriptorProto. */
+ class ServiceDescriptorProto implements IServiceDescriptorProto {
+
+ /**
+ * Constructs a new ServiceDescriptorProto.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.protobuf.IServiceDescriptorProto);
+
+ /** ServiceDescriptorProto name. */
+ public name: string;
+
+ /** ServiceDescriptorProto method. */
+ public method: google.protobuf.IMethodDescriptorProto[];
+
+ /** ServiceDescriptorProto options. */
+ public options?: (google.protobuf.IServiceOptions|null);
+
+ /**
+ * Creates a new ServiceDescriptorProto instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ServiceDescriptorProto instance
+ */
+ public static create(properties?: google.protobuf.IServiceDescriptorProto): google.protobuf.ServiceDescriptorProto;
+
+ /**
+ * Encodes the specified ServiceDescriptorProto message. Does not implicitly {@link google.protobuf.ServiceDescriptorProto.verify|verify} messages.
+ * @param message ServiceDescriptorProto message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.protobuf.IServiceDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ServiceDescriptorProto message, length delimited. Does not implicitly {@link google.protobuf.ServiceDescriptorProto.verify|verify} messages.
+ * @param message ServiceDescriptorProto message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.protobuf.IServiceDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ServiceDescriptorProto message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ServiceDescriptorProto
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.ServiceDescriptorProto;
+
+ /**
+ * Decodes a ServiceDescriptorProto message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ServiceDescriptorProto
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.ServiceDescriptorProto;
+
+ /**
+ * Verifies a ServiceDescriptorProto message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a ServiceDescriptorProto message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ServiceDescriptorProto
+ */
+ public static fromObject(object: { [k: string]: any }): google.protobuf.ServiceDescriptorProto;
+
+ /**
+ * Creates a plain object from a ServiceDescriptorProto message. Also converts values to other types if specified.
+ * @param message ServiceDescriptorProto
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.protobuf.ServiceDescriptorProto, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ServiceDescriptorProto to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ServiceDescriptorProto
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a MethodDescriptorProto. */
+ interface IMethodDescriptorProto {
+
+ /** MethodDescriptorProto name */
+ name?: (string|null);
+
+ /** MethodDescriptorProto inputType */
+ inputType?: (string|null);
+
+ /** MethodDescriptorProto outputType */
+ outputType?: (string|null);
+
+ /** MethodDescriptorProto options */
+ options?: (google.protobuf.IMethodOptions|null);
+
+ /** MethodDescriptorProto clientStreaming */
+ clientStreaming?: (boolean|null);
+
+ /** MethodDescriptorProto serverStreaming */
+ serverStreaming?: (boolean|null);
+ }
+
+ /** Represents a MethodDescriptorProto. */
+ class MethodDescriptorProto implements IMethodDescriptorProto {
+
+ /**
+ * Constructs a new MethodDescriptorProto.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.protobuf.IMethodDescriptorProto);
+
+ /** MethodDescriptorProto name. */
+ public name: string;
+
+ /** MethodDescriptorProto inputType. */
+ public inputType: string;
+
+ /** MethodDescriptorProto outputType. */
+ public outputType: string;
+
+ /** MethodDescriptorProto options. */
+ public options?: (google.protobuf.IMethodOptions|null);
+
+ /** MethodDescriptorProto clientStreaming. */
+ public clientStreaming: boolean;
+
+ /** MethodDescriptorProto serverStreaming. */
+ public serverStreaming: boolean;
+
+ /**
+ * Creates a new MethodDescriptorProto instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns MethodDescriptorProto instance
+ */
+ public static create(properties?: google.protobuf.IMethodDescriptorProto): google.protobuf.MethodDescriptorProto;
+
+ /**
+ * Encodes the specified MethodDescriptorProto message. Does not implicitly {@link google.protobuf.MethodDescriptorProto.verify|verify} messages.
+ * @param message MethodDescriptorProto message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.protobuf.IMethodDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified MethodDescriptorProto message, length delimited. Does not implicitly {@link google.protobuf.MethodDescriptorProto.verify|verify} messages.
+ * @param message MethodDescriptorProto message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.protobuf.IMethodDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a MethodDescriptorProto message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns MethodDescriptorProto
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.MethodDescriptorProto;
+
+ /**
+ * Decodes a MethodDescriptorProto message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns MethodDescriptorProto
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.MethodDescriptorProto;
+
+ /**
+ * Verifies a MethodDescriptorProto message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a MethodDescriptorProto message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns MethodDescriptorProto
+ */
+ public static fromObject(object: { [k: string]: any }): google.protobuf.MethodDescriptorProto;
+
+ /**
+ * Creates a plain object from a MethodDescriptorProto message. Also converts values to other types if specified.
+ * @param message MethodDescriptorProto
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.protobuf.MethodDescriptorProto, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this MethodDescriptorProto to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for MethodDescriptorProto
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a FileOptions. */
+ interface IFileOptions {
+
+ /** FileOptions javaPackage */
+ javaPackage?: (string|null);
+
+ /** FileOptions javaOuterClassname */
+ javaOuterClassname?: (string|null);
+
+ /** FileOptions javaMultipleFiles */
+ javaMultipleFiles?: (boolean|null);
+
+ /** FileOptions javaGenerateEqualsAndHash */
+ javaGenerateEqualsAndHash?: (boolean|null);
+
+ /** FileOptions javaStringCheckUtf8 */
+ javaStringCheckUtf8?: (boolean|null);
+
+ /** FileOptions optimizeFor */
+ optimizeFor?: (google.protobuf.FileOptions.OptimizeMode|keyof typeof google.protobuf.FileOptions.OptimizeMode|null);
+
+ /** FileOptions goPackage */
+ goPackage?: (string|null);
+
+ /** FileOptions ccGenericServices */
+ ccGenericServices?: (boolean|null);
+
+ /** FileOptions javaGenericServices */
+ javaGenericServices?: (boolean|null);
+
+ /** FileOptions pyGenericServices */
+ pyGenericServices?: (boolean|null);
+
+ /** FileOptions phpGenericServices */
+ phpGenericServices?: (boolean|null);
+
+ /** FileOptions deprecated */
+ deprecated?: (boolean|null);
+
+ /** FileOptions ccEnableArenas */
+ ccEnableArenas?: (boolean|null);
+
+ /** FileOptions objcClassPrefix */
+ objcClassPrefix?: (string|null);
+
+ /** FileOptions csharpNamespace */
+ csharpNamespace?: (string|null);
+
+ /** FileOptions swiftPrefix */
+ swiftPrefix?: (string|null);
+
+ /** FileOptions phpClassPrefix */
+ phpClassPrefix?: (string|null);
+
+ /** FileOptions phpNamespace */
+ phpNamespace?: (string|null);
+
+ /** FileOptions phpMetadataNamespace */
+ phpMetadataNamespace?: (string|null);
+
+ /** FileOptions rubyPackage */
+ rubyPackage?: (string|null);
+
+ /** FileOptions uninterpretedOption */
+ uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null);
+
+ /** FileOptions .google.api.resourceDefinition */
+ ".google.api.resourceDefinition"?: (google.api.IResourceDescriptor[]|null);
+ }
+
+ /** Represents a FileOptions. */
+ class FileOptions implements IFileOptions {
+
+ /**
+ * Constructs a new FileOptions.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.protobuf.IFileOptions);
+
+ /** FileOptions javaPackage. */
+ public javaPackage: string;
+
+ /** FileOptions javaOuterClassname. */
+ public javaOuterClassname: string;
+
+ /** FileOptions javaMultipleFiles. */
+ public javaMultipleFiles: boolean;
+
+ /** FileOptions javaGenerateEqualsAndHash. */
+ public javaGenerateEqualsAndHash: boolean;
+
+ /** FileOptions javaStringCheckUtf8. */
+ public javaStringCheckUtf8: boolean;
+
+ /** FileOptions optimizeFor. */
+ public optimizeFor: (google.protobuf.FileOptions.OptimizeMode|keyof typeof google.protobuf.FileOptions.OptimizeMode);
+
+ /** FileOptions goPackage. */
+ public goPackage: string;
+
+ /** FileOptions ccGenericServices. */
+ public ccGenericServices: boolean;
+
+ /** FileOptions javaGenericServices. */
+ public javaGenericServices: boolean;
+
+ /** FileOptions pyGenericServices. */
+ public pyGenericServices: boolean;
+
+ /** FileOptions phpGenericServices. */
+ public phpGenericServices: boolean;
+
+ /** FileOptions deprecated. */
+ public deprecated: boolean;
+
+ /** FileOptions ccEnableArenas. */
+ public ccEnableArenas: boolean;
+
+ /** FileOptions objcClassPrefix. */
+ public objcClassPrefix: string;
+
+ /** FileOptions csharpNamespace. */
+ public csharpNamespace: string;
+
+ /** FileOptions swiftPrefix. */
+ public swiftPrefix: string;
+
+ /** FileOptions phpClassPrefix. */
+ public phpClassPrefix: string;
+
+ /** FileOptions phpNamespace. */
+ public phpNamespace: string;
+
+ /** FileOptions phpMetadataNamespace. */
+ public phpMetadataNamespace: string;
+
+ /** FileOptions rubyPackage. */
+ public rubyPackage: string;
+
+ /** FileOptions uninterpretedOption. */
+ public uninterpretedOption: google.protobuf.IUninterpretedOption[];
+
+ /**
+ * Creates a new FileOptions instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns FileOptions instance
+ */
+ public static create(properties?: google.protobuf.IFileOptions): google.protobuf.FileOptions;
+
+ /**
+ * Encodes the specified FileOptions message. Does not implicitly {@link google.protobuf.FileOptions.verify|verify} messages.
+ * @param message FileOptions message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.protobuf.IFileOptions, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified FileOptions message, length delimited. Does not implicitly {@link google.protobuf.FileOptions.verify|verify} messages.
+ * @param message FileOptions message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.protobuf.IFileOptions, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a FileOptions message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns FileOptions
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.FileOptions;
+
+ /**
+ * Decodes a FileOptions message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns FileOptions
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.FileOptions;
+
+ /**
+ * Verifies a FileOptions message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a FileOptions message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns FileOptions
+ */
+ public static fromObject(object: { [k: string]: any }): google.protobuf.FileOptions;
+
+ /**
+ * Creates a plain object from a FileOptions message. Also converts values to other types if specified.
+ * @param message FileOptions
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.protobuf.FileOptions, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this FileOptions to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for FileOptions
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace FileOptions {
+
+ /** OptimizeMode enum. */
+ enum OptimizeMode {
+ SPEED = 1,
+ CODE_SIZE = 2,
+ LITE_RUNTIME = 3
+ }
+ }
+
+ /** Properties of a MessageOptions. */
+ interface IMessageOptions {
+
+ /** MessageOptions messageSetWireFormat */
+ messageSetWireFormat?: (boolean|null);
+
+ /** MessageOptions noStandardDescriptorAccessor */
+ noStandardDescriptorAccessor?: (boolean|null);
+
+ /** MessageOptions deprecated */
+ deprecated?: (boolean|null);
+
+ /** MessageOptions mapEntry */
+ mapEntry?: (boolean|null);
+
+ /** MessageOptions uninterpretedOption */
+ uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null);
+
+ /** MessageOptions .google.api.resource */
+ ".google.api.resource"?: (google.api.IResourceDescriptor|null);
+ }
+
+ /** Represents a MessageOptions. */
+ class MessageOptions implements IMessageOptions {
+
+ /**
+ * Constructs a new MessageOptions.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.protobuf.IMessageOptions);
+
+ /** MessageOptions messageSetWireFormat. */
+ public messageSetWireFormat: boolean;
+
+ /** MessageOptions noStandardDescriptorAccessor. */
+ public noStandardDescriptorAccessor: boolean;
+
+ /** MessageOptions deprecated. */
+ public deprecated: boolean;
+
+ /** MessageOptions mapEntry. */
+ public mapEntry: boolean;
+
+ /** MessageOptions uninterpretedOption. */
+ public uninterpretedOption: google.protobuf.IUninterpretedOption[];
+
+ /**
+ * Creates a new MessageOptions instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns MessageOptions instance
+ */
+ public static create(properties?: google.protobuf.IMessageOptions): google.protobuf.MessageOptions;
+
+ /**
+ * Encodes the specified MessageOptions message. Does not implicitly {@link google.protobuf.MessageOptions.verify|verify} messages.
+ * @param message MessageOptions message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.protobuf.IMessageOptions, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified MessageOptions message, length delimited. Does not implicitly {@link google.protobuf.MessageOptions.verify|verify} messages.
+ * @param message MessageOptions message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.protobuf.IMessageOptions, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a MessageOptions message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns MessageOptions
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.MessageOptions;
+
+ /**
+ * Decodes a MessageOptions message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns MessageOptions
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.MessageOptions;
+
+ /**
+ * Verifies a MessageOptions message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a MessageOptions message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns MessageOptions
+ */
+ public static fromObject(object: { [k: string]: any }): google.protobuf.MessageOptions;
+
+ /**
+ * Creates a plain object from a MessageOptions message. Also converts values to other types if specified.
+ * @param message MessageOptions
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.protobuf.MessageOptions, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this MessageOptions to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for MessageOptions
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a FieldOptions. */
+ interface IFieldOptions {
+
+ /** FieldOptions ctype */
+ ctype?: (google.protobuf.FieldOptions.CType|keyof typeof google.protobuf.FieldOptions.CType|null);
+
+ /** FieldOptions packed */
+ packed?: (boolean|null);
+
+ /** FieldOptions jstype */
+ jstype?: (google.protobuf.FieldOptions.JSType|keyof typeof google.protobuf.FieldOptions.JSType|null);
+
+ /** FieldOptions lazy */
+ lazy?: (boolean|null);
+
+ /** FieldOptions unverifiedLazy */
+ unverifiedLazy?: (boolean|null);
+
+ /** FieldOptions deprecated */
+ deprecated?: (boolean|null);
+
+ /** FieldOptions weak */
+ weak?: (boolean|null);
+
+ /** FieldOptions uninterpretedOption */
+ uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null);
+
+ /** FieldOptions .google.api.fieldBehavior */
+ ".google.api.fieldBehavior"?: (google.api.FieldBehavior[]|null);
+
+ /** FieldOptions .google.api.resourceReference */
+ ".google.api.resourceReference"?: (google.api.IResourceReference|null);
+ }
+
+ /** Represents a FieldOptions. */
+ class FieldOptions implements IFieldOptions {
+
+ /**
+ * Constructs a new FieldOptions.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.protobuf.IFieldOptions);
+
+ /** FieldOptions ctype. */
+ public ctype: (google.protobuf.FieldOptions.CType|keyof typeof google.protobuf.FieldOptions.CType);
+
+ /** FieldOptions packed. */
+ public packed: boolean;
+
+ /** FieldOptions jstype. */
+ public jstype: (google.protobuf.FieldOptions.JSType|keyof typeof google.protobuf.FieldOptions.JSType);
+
+ /** FieldOptions lazy. */
+ public lazy: boolean;
+
+ /** FieldOptions unverifiedLazy. */
+ public unverifiedLazy: boolean;
+
+ /** FieldOptions deprecated. */
+ public deprecated: boolean;
+
+ /** FieldOptions weak. */
+ public weak: boolean;
+
+ /** FieldOptions uninterpretedOption. */
+ public uninterpretedOption: google.protobuf.IUninterpretedOption[];
+
+ /**
+ * Creates a new FieldOptions instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns FieldOptions instance
+ */
+ public static create(properties?: google.protobuf.IFieldOptions): google.protobuf.FieldOptions;
+
+ /**
+ * Encodes the specified FieldOptions message. Does not implicitly {@link google.protobuf.FieldOptions.verify|verify} messages.
+ * @param message FieldOptions message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.protobuf.IFieldOptions, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified FieldOptions message, length delimited. Does not implicitly {@link google.protobuf.FieldOptions.verify|verify} messages.
+ * @param message FieldOptions message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.protobuf.IFieldOptions, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a FieldOptions message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns FieldOptions
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.FieldOptions;
+
+ /**
+ * Decodes a FieldOptions message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns FieldOptions
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.FieldOptions;
+
+ /**
+ * Verifies a FieldOptions message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a FieldOptions message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns FieldOptions
+ */
+ public static fromObject(object: { [k: string]: any }): google.protobuf.FieldOptions;
+
+ /**
+ * Creates a plain object from a FieldOptions message. Also converts values to other types if specified.
+ * @param message FieldOptions
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.protobuf.FieldOptions, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this FieldOptions to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for FieldOptions
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace FieldOptions {
+
+ /** CType enum. */
+ enum CType {
+ STRING = 0,
+ CORD = 1,
+ STRING_PIECE = 2
+ }
+
+ /** JSType enum. */
+ enum JSType {
+ JS_NORMAL = 0,
+ JS_STRING = 1,
+ JS_NUMBER = 2
+ }
+ }
+
+ /** Properties of an OneofOptions. */
+ interface IOneofOptions {
+
+ /** OneofOptions uninterpretedOption */
+ uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null);
+ }
+
+ /** Represents an OneofOptions. */
+ class OneofOptions implements IOneofOptions {
+
+ /**
+ * Constructs a new OneofOptions.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.protobuf.IOneofOptions);
+
+ /** OneofOptions uninterpretedOption. */
+ public uninterpretedOption: google.protobuf.IUninterpretedOption[];
+
+ /**
+ * Creates a new OneofOptions instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns OneofOptions instance
+ */
+ public static create(properties?: google.protobuf.IOneofOptions): google.protobuf.OneofOptions;
+
+ /**
+ * Encodes the specified OneofOptions message. Does not implicitly {@link google.protobuf.OneofOptions.verify|verify} messages.
+ * @param message OneofOptions message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.protobuf.IOneofOptions, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified OneofOptions message, length delimited. Does not implicitly {@link google.protobuf.OneofOptions.verify|verify} messages.
+ * @param message OneofOptions message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.protobuf.IOneofOptions, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an OneofOptions message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns OneofOptions
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.OneofOptions;
+
+ /**
+ * Decodes an OneofOptions message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns OneofOptions
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.OneofOptions;
+
+ /**
+ * Verifies an OneofOptions message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates an OneofOptions message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns OneofOptions
+ */
+ public static fromObject(object: { [k: string]: any }): google.protobuf.OneofOptions;
+
+ /**
+ * Creates a plain object from an OneofOptions message. Also converts values to other types if specified.
+ * @param message OneofOptions
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.protobuf.OneofOptions, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this OneofOptions to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for OneofOptions
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of an EnumOptions. */
+ interface IEnumOptions {
+
+ /** EnumOptions allowAlias */
+ allowAlias?: (boolean|null);
+
+ /** EnumOptions deprecated */
+ deprecated?: (boolean|null);
+
+ /** EnumOptions uninterpretedOption */
+ uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null);
+ }
+
+ /** Represents an EnumOptions. */
+ class EnumOptions implements IEnumOptions {
+
+ /**
+ * Constructs a new EnumOptions.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.protobuf.IEnumOptions);
+
+ /** EnumOptions allowAlias. */
+ public allowAlias: boolean;
+
+ /** EnumOptions deprecated. */
+ public deprecated: boolean;
+
+ /** EnumOptions uninterpretedOption. */
+ public uninterpretedOption: google.protobuf.IUninterpretedOption[];
+
+ /**
+ * Creates a new EnumOptions instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns EnumOptions instance
+ */
+ public static create(properties?: google.protobuf.IEnumOptions): google.protobuf.EnumOptions;
+
+ /**
+ * Encodes the specified EnumOptions message. Does not implicitly {@link google.protobuf.EnumOptions.verify|verify} messages.
+ * @param message EnumOptions message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.protobuf.IEnumOptions, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified EnumOptions message, length delimited. Does not implicitly {@link google.protobuf.EnumOptions.verify|verify} messages.
+ * @param message EnumOptions message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.protobuf.IEnumOptions, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an EnumOptions message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns EnumOptions
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.EnumOptions;
+
+ /**
+ * Decodes an EnumOptions message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns EnumOptions
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.EnumOptions;
+
+ /**
+ * Verifies an EnumOptions message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates an EnumOptions message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns EnumOptions
+ */
+ public static fromObject(object: { [k: string]: any }): google.protobuf.EnumOptions;
+
+ /**
+ * Creates a plain object from an EnumOptions message. Also converts values to other types if specified.
+ * @param message EnumOptions
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.protobuf.EnumOptions, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this EnumOptions to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for EnumOptions
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of an EnumValueOptions. */
+ interface IEnumValueOptions {
+
+ /** EnumValueOptions deprecated */
+ deprecated?: (boolean|null);
+
+ /** EnumValueOptions uninterpretedOption */
+ uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null);
+ }
+
+ /** Represents an EnumValueOptions. */
+ class EnumValueOptions implements IEnumValueOptions {
+
+ /**
+ * Constructs a new EnumValueOptions.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.protobuf.IEnumValueOptions);
+
+ /** EnumValueOptions deprecated. */
+ public deprecated: boolean;
+
+ /** EnumValueOptions uninterpretedOption. */
+ public uninterpretedOption: google.protobuf.IUninterpretedOption[];
+
+ /**
+ * Creates a new EnumValueOptions instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns EnumValueOptions instance
+ */
+ public static create(properties?: google.protobuf.IEnumValueOptions): google.protobuf.EnumValueOptions;
+
+ /**
+ * Encodes the specified EnumValueOptions message. Does not implicitly {@link google.protobuf.EnumValueOptions.verify|verify} messages.
+ * @param message EnumValueOptions message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.protobuf.IEnumValueOptions, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified EnumValueOptions message, length delimited. Does not implicitly {@link google.protobuf.EnumValueOptions.verify|verify} messages.
+ * @param message EnumValueOptions message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.protobuf.IEnumValueOptions, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an EnumValueOptions message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns EnumValueOptions
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.EnumValueOptions;
+
+ /**
+ * Decodes an EnumValueOptions message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns EnumValueOptions
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.EnumValueOptions;
+
+ /**
+ * Verifies an EnumValueOptions message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates an EnumValueOptions message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns EnumValueOptions
+ */
+ public static fromObject(object: { [k: string]: any }): google.protobuf.EnumValueOptions;
+
+ /**
+ * Creates a plain object from an EnumValueOptions message. Also converts values to other types if specified.
+ * @param message EnumValueOptions
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.protobuf.EnumValueOptions, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this EnumValueOptions to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for EnumValueOptions
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a ServiceOptions. */
+ interface IServiceOptions {
+
+ /** ServiceOptions deprecated */
+ deprecated?: (boolean|null);
+
+ /** ServiceOptions uninterpretedOption */
+ uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null);
+
+ /** ServiceOptions .google.api.defaultHost */
+ ".google.api.defaultHost"?: (string|null);
+
+ /** ServiceOptions .google.api.oauthScopes */
+ ".google.api.oauthScopes"?: (string|null);
+ }
+
+ /** Represents a ServiceOptions. */
+ class ServiceOptions implements IServiceOptions {
+
+ /**
+ * Constructs a new ServiceOptions.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.protobuf.IServiceOptions);
+
+ /** ServiceOptions deprecated. */
+ public deprecated: boolean;
+
+ /** ServiceOptions uninterpretedOption. */
+ public uninterpretedOption: google.protobuf.IUninterpretedOption[];
+
+ /**
+ * Creates a new ServiceOptions instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ServiceOptions instance
+ */
+ public static create(properties?: google.protobuf.IServiceOptions): google.protobuf.ServiceOptions;
+
+ /**
+ * Encodes the specified ServiceOptions message. Does not implicitly {@link google.protobuf.ServiceOptions.verify|verify} messages.
+ * @param message ServiceOptions message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.protobuf.IServiceOptions, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ServiceOptions message, length delimited. Does not implicitly {@link google.protobuf.ServiceOptions.verify|verify} messages.
+ * @param message ServiceOptions message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.protobuf.IServiceOptions, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ServiceOptions message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ServiceOptions
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.ServiceOptions;
+
+ /**
+ * Decodes a ServiceOptions message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ServiceOptions
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.ServiceOptions;
+
+ /**
+ * Verifies a ServiceOptions message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a ServiceOptions message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ServiceOptions
+ */
+ public static fromObject(object: { [k: string]: any }): google.protobuf.ServiceOptions;
+
+ /**
+ * Creates a plain object from a ServiceOptions message. Also converts values to other types if specified.
+ * @param message ServiceOptions
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.protobuf.ServiceOptions, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ServiceOptions to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ServiceOptions
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a MethodOptions. */
+ interface IMethodOptions {
+
+ /** MethodOptions deprecated */
+ deprecated?: (boolean|null);
+
+ /** MethodOptions idempotencyLevel */
+ idempotencyLevel?: (google.protobuf.MethodOptions.IdempotencyLevel|keyof typeof google.protobuf.MethodOptions.IdempotencyLevel|null);
+
+ /** MethodOptions uninterpretedOption */
+ uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null);
+
+ /** MethodOptions .google.api.http */
+ ".google.api.http"?: (google.api.IHttpRule|null);
+
+ /** MethodOptions .google.api.methodSignature */
+ ".google.api.methodSignature"?: (string[]|null);
+
+ /** MethodOptions .google.longrunning.operationInfo */
+ ".google.longrunning.operationInfo"?: (google.longrunning.IOperationInfo|null);
+ }
+
+ /** Represents a MethodOptions. */
+ class MethodOptions implements IMethodOptions {
+
+ /**
+ * Constructs a new MethodOptions.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.protobuf.IMethodOptions);
+
+ /** MethodOptions deprecated. */
+ public deprecated: boolean;
+
+ /** MethodOptions idempotencyLevel. */
+ public idempotencyLevel: (google.protobuf.MethodOptions.IdempotencyLevel|keyof typeof google.protobuf.MethodOptions.IdempotencyLevel);
+
+ /** MethodOptions uninterpretedOption. */
+ public uninterpretedOption: google.protobuf.IUninterpretedOption[];
+
+ /**
+ * Creates a new MethodOptions instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns MethodOptions instance
+ */
+ public static create(properties?: google.protobuf.IMethodOptions): google.protobuf.MethodOptions;
+
+ /**
+ * Encodes the specified MethodOptions message. Does not implicitly {@link google.protobuf.MethodOptions.verify|verify} messages.
+ * @param message MethodOptions message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.protobuf.IMethodOptions, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified MethodOptions message, length delimited. Does not implicitly {@link google.protobuf.MethodOptions.verify|verify} messages.
+ * @param message MethodOptions message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.protobuf.IMethodOptions, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a MethodOptions message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns MethodOptions
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.MethodOptions;
+
+ /**
+ * Decodes a MethodOptions message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns MethodOptions
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.MethodOptions;
+
+ /**
+ * Verifies a MethodOptions message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a MethodOptions message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns MethodOptions
+ */
+ public static fromObject(object: { [k: string]: any }): google.protobuf.MethodOptions;
+
+ /**
+ * Creates a plain object from a MethodOptions message. Also converts values to other types if specified.
+ * @param message MethodOptions
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.protobuf.MethodOptions, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this MethodOptions to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for MethodOptions
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace MethodOptions {
+
+ /** IdempotencyLevel enum. */
+ enum IdempotencyLevel {
+ IDEMPOTENCY_UNKNOWN = 0,
+ NO_SIDE_EFFECTS = 1,
+ IDEMPOTENT = 2
+ }
+ }
+
+ /** Properties of an UninterpretedOption. */
+ interface IUninterpretedOption {
+
+ /** UninterpretedOption name */
+ name?: (google.protobuf.UninterpretedOption.INamePart[]|null);
+
+ /** UninterpretedOption identifierValue */
+ identifierValue?: (string|null);
+
+ /** UninterpretedOption positiveIntValue */
+ positiveIntValue?: (number|Long|string|null);
+
+ /** UninterpretedOption negativeIntValue */
+ negativeIntValue?: (number|Long|string|null);
+
+ /** UninterpretedOption doubleValue */
+ doubleValue?: (number|null);
+
+ /** UninterpretedOption stringValue */
+ stringValue?: (Uint8Array|string|null);
+
+ /** UninterpretedOption aggregateValue */
+ aggregateValue?: (string|null);
+ }
+
+ /** Represents an UninterpretedOption. */
+ class UninterpretedOption implements IUninterpretedOption {
+
+ /**
+ * Constructs a new UninterpretedOption.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.protobuf.IUninterpretedOption);
+
+ /** UninterpretedOption name. */
+ public name: google.protobuf.UninterpretedOption.INamePart[];
+
+ /** UninterpretedOption identifierValue. */
+ public identifierValue: string;
+
+ /** UninterpretedOption positiveIntValue. */
+ public positiveIntValue: (number|Long|string);
+
+ /** UninterpretedOption negativeIntValue. */
+ public negativeIntValue: (number|Long|string);
+
+ /** UninterpretedOption doubleValue. */
+ public doubleValue: number;
+
+ /** UninterpretedOption stringValue. */
+ public stringValue: (Uint8Array|string);
+
+ /** UninterpretedOption aggregateValue. */
+ public aggregateValue: string;
+
+ /**
+ * Creates a new UninterpretedOption instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns UninterpretedOption instance
+ */
+ public static create(properties?: google.protobuf.IUninterpretedOption): google.protobuf.UninterpretedOption;
+
+ /**
+ * Encodes the specified UninterpretedOption message. Does not implicitly {@link google.protobuf.UninterpretedOption.verify|verify} messages.
+ * @param message UninterpretedOption message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.protobuf.IUninterpretedOption, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified UninterpretedOption message, length delimited. Does not implicitly {@link google.protobuf.UninterpretedOption.verify|verify} messages.
+ * @param message UninterpretedOption message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.protobuf.IUninterpretedOption, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an UninterpretedOption message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns UninterpretedOption
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.UninterpretedOption;
+
+ /**
+ * Decodes an UninterpretedOption message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns UninterpretedOption
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.UninterpretedOption;
+
+ /**
+ * Verifies an UninterpretedOption message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates an UninterpretedOption message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns UninterpretedOption
+ */
+ public static fromObject(object: { [k: string]: any }): google.protobuf.UninterpretedOption;
+
+ /**
+ * Creates a plain object from an UninterpretedOption message. Also converts values to other types if specified.
+ * @param message UninterpretedOption
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.protobuf.UninterpretedOption, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this UninterpretedOption to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for UninterpretedOption
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace UninterpretedOption {
+
+ /** Properties of a NamePart. */
+ interface INamePart {
+
+ /** NamePart namePart */
+ namePart: string;
+
+ /** NamePart isExtension */
+ isExtension: boolean;
+ }
+
+ /** Represents a NamePart. */
+ class NamePart implements INamePart {
+
+ /**
+ * Constructs a new NamePart.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.protobuf.UninterpretedOption.INamePart);
+
+ /** NamePart namePart. */
+ public namePart: string;
+
+ /** NamePart isExtension. */
+ public isExtension: boolean;
+
+ /**
+ * Creates a new NamePart instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns NamePart instance
+ */
+ public static create(properties?: google.protobuf.UninterpretedOption.INamePart): google.protobuf.UninterpretedOption.NamePart;
+
+ /**
+ * Encodes the specified NamePart message. Does not implicitly {@link google.protobuf.UninterpretedOption.NamePart.verify|verify} messages.
+ * @param message NamePart message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.protobuf.UninterpretedOption.INamePart, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified NamePart message, length delimited. Does not implicitly {@link google.protobuf.UninterpretedOption.NamePart.verify|verify} messages.
+ * @param message NamePart message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.protobuf.UninterpretedOption.INamePart, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a NamePart message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns NamePart
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.UninterpretedOption.NamePart;
+
+ /**
+ * Decodes a NamePart message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns NamePart
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.UninterpretedOption.NamePart;
+
+ /**
+ * Verifies a NamePart message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a NamePart message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns NamePart
+ */
+ public static fromObject(object: { [k: string]: any }): google.protobuf.UninterpretedOption.NamePart;
+
+ /**
+ * Creates a plain object from a NamePart message. Also converts values to other types if specified.
+ * @param message NamePart
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.protobuf.UninterpretedOption.NamePart, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this NamePart to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for NamePart
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+ }
+
+ /** Properties of a SourceCodeInfo. */
+ interface ISourceCodeInfo {
+
+ /** SourceCodeInfo location */
+ location?: (google.protobuf.SourceCodeInfo.ILocation[]|null);
+ }
+
+ /** Represents a SourceCodeInfo. */
+ class SourceCodeInfo implements ISourceCodeInfo {
+
+ /**
+ * Constructs a new SourceCodeInfo.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.protobuf.ISourceCodeInfo);
+
+ /** SourceCodeInfo location. */
+ public location: google.protobuf.SourceCodeInfo.ILocation[];
+
+ /**
+ * Creates a new SourceCodeInfo instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns SourceCodeInfo instance
+ */
+ public static create(properties?: google.protobuf.ISourceCodeInfo): google.protobuf.SourceCodeInfo;
+
+ /**
+ * Encodes the specified SourceCodeInfo message. Does not implicitly {@link google.protobuf.SourceCodeInfo.verify|verify} messages.
+ * @param message SourceCodeInfo message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.protobuf.ISourceCodeInfo, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified SourceCodeInfo message, length delimited. Does not implicitly {@link google.protobuf.SourceCodeInfo.verify|verify} messages.
+ * @param message SourceCodeInfo message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.protobuf.ISourceCodeInfo, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a SourceCodeInfo message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns SourceCodeInfo
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.SourceCodeInfo;
+
+ /**
+ * Decodes a SourceCodeInfo message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns SourceCodeInfo
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.SourceCodeInfo;
+
+ /**
+ * Verifies a SourceCodeInfo message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a SourceCodeInfo message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns SourceCodeInfo
+ */
+ public static fromObject(object: { [k: string]: any }): google.protobuf.SourceCodeInfo;
+
+ /**
+ * Creates a plain object from a SourceCodeInfo message. Also converts values to other types if specified.
+ * @param message SourceCodeInfo
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.protobuf.SourceCodeInfo, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this SourceCodeInfo to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for SourceCodeInfo
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace SourceCodeInfo {
+
+ /** Properties of a Location. */
+ interface ILocation {
+
+ /** Location path */
+ path?: (number[]|null);
+
+ /** Location span */
+ span?: (number[]|null);
+
+ /** Location leadingComments */
+ leadingComments?: (string|null);
+
+ /** Location trailingComments */
+ trailingComments?: (string|null);
+
+ /** Location leadingDetachedComments */
+ leadingDetachedComments?: (string[]|null);
+ }
+
+ /** Represents a Location. */
+ class Location implements ILocation {
+
+ /**
+ * Constructs a new Location.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.protobuf.SourceCodeInfo.ILocation);
+
+ /** Location path. */
+ public path: number[];
+
+ /** Location span. */
+ public span: number[];
+
+ /** Location leadingComments. */
+ public leadingComments: string;
+
+ /** Location trailingComments. */
+ public trailingComments: string;
+
+ /** Location leadingDetachedComments. */
+ public leadingDetachedComments: string[];
+
+ /**
+ * Creates a new Location instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns Location instance
+ */
+ public static create(properties?: google.protobuf.SourceCodeInfo.ILocation): google.protobuf.SourceCodeInfo.Location;
+
+ /**
+ * Encodes the specified Location message. Does not implicitly {@link google.protobuf.SourceCodeInfo.Location.verify|verify} messages.
+ * @param message Location message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.protobuf.SourceCodeInfo.ILocation, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified Location message, length delimited. Does not implicitly {@link google.protobuf.SourceCodeInfo.Location.verify|verify} messages.
+ * @param message Location message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.protobuf.SourceCodeInfo.ILocation, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a Location message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns Location
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.SourceCodeInfo.Location;
+
+ /**
+ * Decodes a Location message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns Location
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.SourceCodeInfo.Location;
+
+ /**
+ * Verifies a Location message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a Location message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns Location
+ */
+ public static fromObject(object: { [k: string]: any }): google.protobuf.SourceCodeInfo.Location;
+
+ /**
+ * Creates a plain object from a Location message. Also converts values to other types if specified.
+ * @param message Location
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.protobuf.SourceCodeInfo.Location, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this Location to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for Location
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+ }
+
+ /** Properties of a GeneratedCodeInfo. */
+ interface IGeneratedCodeInfo {
+
+ /** GeneratedCodeInfo annotation */
+ annotation?: (google.protobuf.GeneratedCodeInfo.IAnnotation[]|null);
+ }
+
+ /** Represents a GeneratedCodeInfo. */
+ class GeneratedCodeInfo implements IGeneratedCodeInfo {
+
+ /**
+ * Constructs a new GeneratedCodeInfo.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.protobuf.IGeneratedCodeInfo);
+
+ /** GeneratedCodeInfo annotation. */
+ public annotation: google.protobuf.GeneratedCodeInfo.IAnnotation[];
+
+ /**
+ * Creates a new GeneratedCodeInfo instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns GeneratedCodeInfo instance
+ */
+ public static create(properties?: google.protobuf.IGeneratedCodeInfo): google.protobuf.GeneratedCodeInfo;
+
+ /**
+ * Encodes the specified GeneratedCodeInfo message. Does not implicitly {@link google.protobuf.GeneratedCodeInfo.verify|verify} messages.
+ * @param message GeneratedCodeInfo message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.protobuf.IGeneratedCodeInfo, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified GeneratedCodeInfo message, length delimited. Does not implicitly {@link google.protobuf.GeneratedCodeInfo.verify|verify} messages.
+ * @param message GeneratedCodeInfo message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.protobuf.IGeneratedCodeInfo, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a GeneratedCodeInfo message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns GeneratedCodeInfo
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.GeneratedCodeInfo;
+
+ /**
+ * Decodes a GeneratedCodeInfo message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns GeneratedCodeInfo
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.GeneratedCodeInfo;
+
+ /**
+ * Verifies a GeneratedCodeInfo message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a GeneratedCodeInfo message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns GeneratedCodeInfo
+ */
+ public static fromObject(object: { [k: string]: any }): google.protobuf.GeneratedCodeInfo;
+
+ /**
+ * Creates a plain object from a GeneratedCodeInfo message. Also converts values to other types if specified.
+ * @param message GeneratedCodeInfo
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.protobuf.GeneratedCodeInfo, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this GeneratedCodeInfo to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for GeneratedCodeInfo
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace GeneratedCodeInfo {
+
+ /** Properties of an Annotation. */
+ interface IAnnotation {
+
+ /** Annotation path */
+ path?: (number[]|null);
+
+ /** Annotation sourceFile */
+ sourceFile?: (string|null);
+
+ /** Annotation begin */
+ begin?: (number|null);
+
+ /** Annotation end */
+ end?: (number|null);
+
+ /** Annotation semantic */
+ semantic?: (google.protobuf.GeneratedCodeInfo.Annotation.Semantic|keyof typeof google.protobuf.GeneratedCodeInfo.Annotation.Semantic|null);
+ }
+
+ /** Represents an Annotation. */
+ class Annotation implements IAnnotation {
+
+ /**
+ * Constructs a new Annotation.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.protobuf.GeneratedCodeInfo.IAnnotation);
+
+ /** Annotation path. */
+ public path: number[];
+
+ /** Annotation sourceFile. */
+ public sourceFile: string;
+
+ /** Annotation begin. */
+ public begin: number;
+
+ /** Annotation end. */
+ public end: number;
+
+ /** Annotation semantic. */
+ public semantic: (google.protobuf.GeneratedCodeInfo.Annotation.Semantic|keyof typeof google.protobuf.GeneratedCodeInfo.Annotation.Semantic);
+
+ /**
+ * Creates a new Annotation instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns Annotation instance
+ */
+ public static create(properties?: google.protobuf.GeneratedCodeInfo.IAnnotation): google.protobuf.GeneratedCodeInfo.Annotation;
+
+ /**
+ * Encodes the specified Annotation message. Does not implicitly {@link google.protobuf.GeneratedCodeInfo.Annotation.verify|verify} messages.
+ * @param message Annotation message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.protobuf.GeneratedCodeInfo.IAnnotation, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified Annotation message, length delimited. Does not implicitly {@link google.protobuf.GeneratedCodeInfo.Annotation.verify|verify} messages.
+ * @param message Annotation message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.protobuf.GeneratedCodeInfo.IAnnotation, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an Annotation message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns Annotation
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.GeneratedCodeInfo.Annotation;
+
+ /**
+ * Decodes an Annotation message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns Annotation
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.GeneratedCodeInfo.Annotation;
+
+ /**
+ * Verifies an Annotation message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates an Annotation message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns Annotation
+ */
+ public static fromObject(object: { [k: string]: any }): google.protobuf.GeneratedCodeInfo.Annotation;
+
+ /**
+ * Creates a plain object from an Annotation message. Also converts values to other types if specified.
+ * @param message Annotation
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.protobuf.GeneratedCodeInfo.Annotation, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this Annotation to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for Annotation
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace Annotation {
+
+ /** Semantic enum. */
+ enum Semantic {
+ NONE = 0,
+ SET = 1,
+ ALIAS = 2
+ }
+ }
+ }
+
+ /** Properties of a Duration. */
+ interface IDuration {
+
+ /** Duration seconds */
+ seconds?: (number|Long|string|null);
+
+ /** Duration nanos */
+ nanos?: (number|null);
+ }
+
+ /** Represents a Duration. */
+ class Duration implements IDuration {
+
+ /**
+ * Constructs a new Duration.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.protobuf.IDuration);
+
+ /** Duration seconds. */
+ public seconds: (number|Long|string);
+
+ /** Duration nanos. */
+ public nanos: number;
+
+ /**
+ * Creates a new Duration instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns Duration instance
+ */
+ public static create(properties?: google.protobuf.IDuration): google.protobuf.Duration;
+
+ /**
+ * Encodes the specified Duration message. Does not implicitly {@link google.protobuf.Duration.verify|verify} messages.
+ * @param message Duration message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.protobuf.IDuration, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified Duration message, length delimited. Does not implicitly {@link google.protobuf.Duration.verify|verify} messages.
+ * @param message Duration message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.protobuf.IDuration, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a Duration message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns Duration
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.Duration;
+
+ /**
+ * Decodes a Duration message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns Duration
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.Duration;
+
+ /**
+ * Verifies a Duration message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a Duration message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns Duration
+ */
+ public static fromObject(object: { [k: string]: any }): google.protobuf.Duration;
+
+ /**
+ * Creates a plain object from a Duration message. Also converts values to other types if specified.
+ * @param message Duration
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.protobuf.Duration, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this Duration to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for Duration
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a Timestamp. */
+ interface ITimestamp {
+
+ /** Timestamp seconds */
+ seconds?: (number|Long|string|null);
+
+ /** Timestamp nanos */
+ nanos?: (number|null);
+ }
+
+ /** Represents a Timestamp. */
+ class Timestamp implements ITimestamp {
+
+ /**
+ * Constructs a new Timestamp.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.protobuf.ITimestamp);
+
+ /** Timestamp seconds. */
+ public seconds: (number|Long|string);
+
+ /** Timestamp nanos. */
+ public nanos: number;
+
+ /**
+ * Creates a new Timestamp instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns Timestamp instance
+ */
+ public static create(properties?: google.protobuf.ITimestamp): google.protobuf.Timestamp;
+
+ /**
+ * Encodes the specified Timestamp message. Does not implicitly {@link google.protobuf.Timestamp.verify|verify} messages.
+ * @param message Timestamp message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.protobuf.ITimestamp, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified Timestamp message, length delimited. Does not implicitly {@link google.protobuf.Timestamp.verify|verify} messages.
+ * @param message Timestamp message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.protobuf.ITimestamp, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a Timestamp message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns Timestamp
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.Timestamp;
+
+ /**
+ * Decodes a Timestamp message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns Timestamp
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.Timestamp;
+
+ /**
+ * Verifies a Timestamp message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a Timestamp message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns Timestamp
+ */
+ public static fromObject(object: { [k: string]: any }): google.protobuf.Timestamp;
+
+ /**
+ * Creates a plain object from a Timestamp message. Also converts values to other types if specified.
+ * @param message Timestamp
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.protobuf.Timestamp, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this Timestamp to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for Timestamp
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a FieldMask. */
+ interface IFieldMask {
+
+ /** FieldMask paths */
+ paths?: (string[]|null);
+ }
+
+ /** Represents a FieldMask. */
+ class FieldMask implements IFieldMask {
+
+ /**
+ * Constructs a new FieldMask.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.protobuf.IFieldMask);
+
+ /** FieldMask paths. */
+ public paths: string[];
+
+ /**
+ * Creates a new FieldMask instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns FieldMask instance
+ */
+ public static create(properties?: google.protobuf.IFieldMask): google.protobuf.FieldMask;
+
+ /**
+ * Encodes the specified FieldMask message. Does not implicitly {@link google.protobuf.FieldMask.verify|verify} messages.
+ * @param message FieldMask message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.protobuf.IFieldMask, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified FieldMask message, length delimited. Does not implicitly {@link google.protobuf.FieldMask.verify|verify} messages.
+ * @param message FieldMask message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.protobuf.IFieldMask, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a FieldMask message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns FieldMask
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.FieldMask;
+
+ /**
+ * Decodes a FieldMask message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns FieldMask
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.FieldMask;
+
+ /**
+ * Verifies a FieldMask message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a FieldMask message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns FieldMask
+ */
+ public static fromObject(object: { [k: string]: any }): google.protobuf.FieldMask;
+
+ /**
+ * Creates a plain object from a FieldMask message. Also converts values to other types if specified.
+ * @param message FieldMask
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.protobuf.FieldMask, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this FieldMask to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for FieldMask
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of an 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 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;
+ }
+ }
+
+ /** Namespace iam. */
+ namespace iam {
+
+ /** Namespace v1. */
+ namespace v1 {
+
+ /** Represents a IAMPolicy */
+ class IAMPolicy extends $protobuf.rpc.Service {
+
+ /**
+ * Constructs a new IAMPolicy 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 IAMPolicy 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): IAMPolicy;
+
+ /**
+ * Calls SetIamPolicy.
+ * @param request SetIamPolicyRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and Policy
+ */
+ public setIamPolicy(request: google.iam.v1.ISetIamPolicyRequest, callback: google.iam.v1.IAMPolicy.SetIamPolicyCallback): void;
+
+ /**
+ * Calls SetIamPolicy.
+ * @param request SetIamPolicyRequest message or plain object
+ * @returns Promise
+ */
+ public setIamPolicy(request: google.iam.v1.ISetIamPolicyRequest): Promise;
+
+ /**
+ * Calls GetIamPolicy.
+ * @param request GetIamPolicyRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and Policy
+ */
+ public getIamPolicy(request: google.iam.v1.IGetIamPolicyRequest, callback: google.iam.v1.IAMPolicy.GetIamPolicyCallback): void;
+
+ /**
+ * Calls GetIamPolicy.
+ * @param request GetIamPolicyRequest message or plain object
+ * @returns Promise
+ */
+ public getIamPolicy(request: google.iam.v1.IGetIamPolicyRequest): Promise;
+
+ /**
+ * Calls TestIamPermissions.
+ * @param request TestIamPermissionsRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and TestIamPermissionsResponse
+ */
+ public testIamPermissions(request: google.iam.v1.ITestIamPermissionsRequest, callback: google.iam.v1.IAMPolicy.TestIamPermissionsCallback): void;
+
+ /**
+ * Calls TestIamPermissions.
+ * @param request TestIamPermissionsRequest message or plain object
+ * @returns Promise
+ */
+ public testIamPermissions(request: google.iam.v1.ITestIamPermissionsRequest): Promise;
+ }
+
+ namespace IAMPolicy {
+
+ /**
+ * Callback as used by {@link google.iam.v1.IAMPolicy|setIamPolicy}.
+ * @param error Error, if any
+ * @param [response] Policy
+ */
+ type SetIamPolicyCallback = (error: (Error|null), response?: google.iam.v1.Policy) => void;
+
+ /**
+ * Callback as used by {@link google.iam.v1.IAMPolicy|getIamPolicy}.
+ * @param error Error, if any
+ * @param [response] Policy
+ */
+ type GetIamPolicyCallback = (error: (Error|null), response?: google.iam.v1.Policy) => void;
+
+ /**
+ * Callback as used by {@link google.iam.v1.IAMPolicy|testIamPermissions}.
+ * @param error Error, if any
+ * @param [response] TestIamPermissionsResponse
+ */
+ type TestIamPermissionsCallback = (error: (Error|null), response?: google.iam.v1.TestIamPermissionsResponse) => void;
+ }
+
+ /** Properties of a SetIamPolicyRequest. */
+ interface ISetIamPolicyRequest {
+
+ /** SetIamPolicyRequest resource */
+ resource?: (string|null);
+
+ /** SetIamPolicyRequest policy */
+ policy?: (google.iam.v1.IPolicy|null);
+
+ /** SetIamPolicyRequest updateMask */
+ updateMask?: (google.protobuf.IFieldMask|null);
+ }
+
+ /** Represents a SetIamPolicyRequest. */
+ class SetIamPolicyRequest implements ISetIamPolicyRequest {
+
+ /**
+ * Constructs a new SetIamPolicyRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.iam.v1.ISetIamPolicyRequest);
+
+ /** SetIamPolicyRequest resource. */
+ public resource: string;
+
+ /** SetIamPolicyRequest policy. */
+ public policy?: (google.iam.v1.IPolicy|null);
+
+ /** SetIamPolicyRequest updateMask. */
+ public updateMask?: (google.protobuf.IFieldMask|null);
+
+ /**
+ * Creates a new SetIamPolicyRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns SetIamPolicyRequest instance
+ */
+ public static create(properties?: google.iam.v1.ISetIamPolicyRequest): google.iam.v1.SetIamPolicyRequest;
+
+ /**
+ * Encodes the specified SetIamPolicyRequest message. Does not implicitly {@link google.iam.v1.SetIamPolicyRequest.verify|verify} messages.
+ * @param message SetIamPolicyRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.iam.v1.ISetIamPolicyRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified SetIamPolicyRequest message, length delimited. Does not implicitly {@link google.iam.v1.SetIamPolicyRequest.verify|verify} messages.
+ * @param message SetIamPolicyRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.iam.v1.ISetIamPolicyRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a SetIamPolicyRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns SetIamPolicyRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.iam.v1.SetIamPolicyRequest;
+
+ /**
+ * Decodes a SetIamPolicyRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns SetIamPolicyRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.iam.v1.SetIamPolicyRequest;
+
+ /**
+ * Verifies a SetIamPolicyRequest message.
+ * @param message Plain 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 SetIamPolicyRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns SetIamPolicyRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.iam.v1.SetIamPolicyRequest;
+
+ /**
+ * Creates a plain object from a SetIamPolicyRequest message. Also converts values to other types if specified.
+ * @param message SetIamPolicyRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.iam.v1.SetIamPolicyRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this SetIamPolicyRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for SetIamPolicyRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a GetIamPolicyRequest. */
+ interface IGetIamPolicyRequest {
+
+ /** GetIamPolicyRequest resource */
+ resource?: (string|null);
+
+ /** GetIamPolicyRequest options */
+ options?: (google.iam.v1.IGetPolicyOptions|null);
+ }
+
+ /** Represents a GetIamPolicyRequest. */
+ class GetIamPolicyRequest implements IGetIamPolicyRequest {
+
+ /**
+ * Constructs a new GetIamPolicyRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.iam.v1.IGetIamPolicyRequest);
+
+ /** GetIamPolicyRequest resource. */
+ public resource: string;
+
+ /** GetIamPolicyRequest options. */
+ public options?: (google.iam.v1.IGetPolicyOptions|null);
+
+ /**
+ * Creates a new GetIamPolicyRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns GetIamPolicyRequest instance
+ */
+ public static create(properties?: google.iam.v1.IGetIamPolicyRequest): google.iam.v1.GetIamPolicyRequest;
+
+ /**
+ * Encodes the specified GetIamPolicyRequest message. Does not implicitly {@link google.iam.v1.GetIamPolicyRequest.verify|verify} messages.
+ * @param message GetIamPolicyRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.iam.v1.IGetIamPolicyRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified GetIamPolicyRequest message, length delimited. Does not implicitly {@link google.iam.v1.GetIamPolicyRequest.verify|verify} messages.
+ * @param message GetIamPolicyRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.iam.v1.IGetIamPolicyRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a GetIamPolicyRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns GetIamPolicyRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.iam.v1.GetIamPolicyRequest;
+
+ /**
+ * Decodes a GetIamPolicyRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns GetIamPolicyRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.iam.v1.GetIamPolicyRequest;
+
+ /**
+ * Verifies a GetIamPolicyRequest message.
+ * @param message Plain 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 GetIamPolicyRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns GetIamPolicyRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.iam.v1.GetIamPolicyRequest;
+
+ /**
+ * Creates a plain object from a GetIamPolicyRequest message. Also converts values to other types if specified.
+ * @param message GetIamPolicyRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.iam.v1.GetIamPolicyRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this GetIamPolicyRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for GetIamPolicyRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a TestIamPermissionsRequest. */
+ interface ITestIamPermissionsRequest {
+
+ /** TestIamPermissionsRequest resource */
+ resource?: (string|null);
+
+ /** TestIamPermissionsRequest permissions */
+ permissions?: (string[]|null);
+ }
+
+ /** Represents a TestIamPermissionsRequest. */
+ class TestIamPermissionsRequest implements ITestIamPermissionsRequest {
+
+ /**
+ * Constructs a new TestIamPermissionsRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.iam.v1.ITestIamPermissionsRequest);
+
+ /** TestIamPermissionsRequest resource. */
+ public resource: string;
+
+ /** TestIamPermissionsRequest permissions. */
+ public permissions: string[];
+
+ /**
+ * Creates a new TestIamPermissionsRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns TestIamPermissionsRequest instance
+ */
+ public static create(properties?: google.iam.v1.ITestIamPermissionsRequest): google.iam.v1.TestIamPermissionsRequest;
+
+ /**
+ * Encodes the specified TestIamPermissionsRequest message. Does not implicitly {@link google.iam.v1.TestIamPermissionsRequest.verify|verify} messages.
+ * @param message TestIamPermissionsRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.iam.v1.ITestIamPermissionsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified TestIamPermissionsRequest message, length delimited. Does not implicitly {@link google.iam.v1.TestIamPermissionsRequest.verify|verify} messages.
+ * @param message TestIamPermissionsRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.iam.v1.ITestIamPermissionsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a TestIamPermissionsRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns TestIamPermissionsRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.iam.v1.TestIamPermissionsRequest;
+
+ /**
+ * Decodes a TestIamPermissionsRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns TestIamPermissionsRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.iam.v1.TestIamPermissionsRequest;
+
+ /**
+ * Verifies a TestIamPermissionsRequest message.
+ * @param message Plain 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 TestIamPermissionsRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns TestIamPermissionsRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.iam.v1.TestIamPermissionsRequest;
+
+ /**
+ * Creates a plain object from a TestIamPermissionsRequest message. Also converts values to other types if specified.
+ * @param message TestIamPermissionsRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.iam.v1.TestIamPermissionsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this TestIamPermissionsRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for TestIamPermissionsRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a TestIamPermissionsResponse. */
+ interface ITestIamPermissionsResponse {
+
+ /** TestIamPermissionsResponse permissions */
+ permissions?: (string[]|null);
+ }
+
+ /** Represents a TestIamPermissionsResponse. */
+ class TestIamPermissionsResponse implements ITestIamPermissionsResponse {
+
+ /**
+ * Constructs a new TestIamPermissionsResponse.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.iam.v1.ITestIamPermissionsResponse);
+
+ /** TestIamPermissionsResponse permissions. */
+ public permissions: string[];
+
+ /**
+ * Creates a new TestIamPermissionsResponse instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns TestIamPermissionsResponse instance
+ */
+ public static create(properties?: google.iam.v1.ITestIamPermissionsResponse): google.iam.v1.TestIamPermissionsResponse;
+
+ /**
+ * Encodes the specified TestIamPermissionsResponse message. Does not implicitly {@link google.iam.v1.TestIamPermissionsResponse.verify|verify} messages.
+ * @param message TestIamPermissionsResponse message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.iam.v1.ITestIamPermissionsResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified TestIamPermissionsResponse message, length delimited. Does not implicitly {@link google.iam.v1.TestIamPermissionsResponse.verify|verify} messages.
+ * @param message TestIamPermissionsResponse message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.iam.v1.ITestIamPermissionsResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a TestIamPermissionsResponse message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns TestIamPermissionsResponse
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.iam.v1.TestIamPermissionsResponse;
+
+ /**
+ * Decodes a TestIamPermissionsResponse message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns TestIamPermissionsResponse
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.iam.v1.TestIamPermissionsResponse;
+
+ /**
+ * Verifies a TestIamPermissionsResponse message.
+ * @param message Plain 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 TestIamPermissionsResponse message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns TestIamPermissionsResponse
+ */
+ public static fromObject(object: { [k: string]: any }): google.iam.v1.TestIamPermissionsResponse;
+
+ /**
+ * Creates a plain object from a TestIamPermissionsResponse message. Also converts values to other types if specified.
+ * @param message TestIamPermissionsResponse
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.iam.v1.TestIamPermissionsResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this TestIamPermissionsResponse to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for TestIamPermissionsResponse
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a GetPolicyOptions. */
+ interface IGetPolicyOptions {
+
+ /** GetPolicyOptions requestedPolicyVersion */
+ requestedPolicyVersion?: (number|null);
+ }
+
+ /** Represents a GetPolicyOptions. */
+ class GetPolicyOptions implements IGetPolicyOptions {
+
+ /**
+ * Constructs a new GetPolicyOptions.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.iam.v1.IGetPolicyOptions);
+
+ /** GetPolicyOptions requestedPolicyVersion. */
+ public requestedPolicyVersion: number;
+
+ /**
+ * Creates a new GetPolicyOptions instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns GetPolicyOptions instance
+ */
+ public static create(properties?: google.iam.v1.IGetPolicyOptions): google.iam.v1.GetPolicyOptions;
+
+ /**
+ * Encodes the specified GetPolicyOptions message. Does not implicitly {@link google.iam.v1.GetPolicyOptions.verify|verify} messages.
+ * @param message GetPolicyOptions message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.iam.v1.IGetPolicyOptions, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified GetPolicyOptions message, length delimited. Does not implicitly {@link google.iam.v1.GetPolicyOptions.verify|verify} messages.
+ * @param message GetPolicyOptions message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.iam.v1.IGetPolicyOptions, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a GetPolicyOptions message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns GetPolicyOptions
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.iam.v1.GetPolicyOptions;
+
+ /**
+ * Decodes a GetPolicyOptions message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns GetPolicyOptions
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.iam.v1.GetPolicyOptions;
+
+ /**
+ * Verifies a GetPolicyOptions message.
+ * @param message Plain 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 GetPolicyOptions message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns GetPolicyOptions
+ */
+ public static fromObject(object: { [k: string]: any }): google.iam.v1.GetPolicyOptions;
+
+ /**
+ * Creates a plain object from a GetPolicyOptions message. Also converts values to other types if specified.
+ * @param message GetPolicyOptions
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.iam.v1.GetPolicyOptions, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this GetPolicyOptions to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for GetPolicyOptions
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a Policy. */
+ interface IPolicy {
+
+ /** Policy version */
+ version?: (number|null);
+
+ /** Policy bindings */
+ bindings?: (google.iam.v1.IBinding[]|null);
+
+ /** Policy auditConfigs */
+ auditConfigs?: (google.iam.v1.IAuditConfig[]|null);
+
+ /** Policy etag */
+ etag?: (Uint8Array|string|null);
+ }
+
+ /** Represents a Policy. */
+ class Policy implements IPolicy {
+
+ /**
+ * Constructs a new Policy.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.iam.v1.IPolicy);
+
+ /** Policy version. */
+ public version: number;
+
+ /** Policy bindings. */
+ public bindings: google.iam.v1.IBinding[];
+
+ /** Policy auditConfigs. */
+ public auditConfigs: google.iam.v1.IAuditConfig[];
+
+ /** Policy etag. */
+ public etag: (Uint8Array|string);
+
+ /**
+ * Creates a new Policy instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns Policy instance
+ */
+ public static create(properties?: google.iam.v1.IPolicy): google.iam.v1.Policy;
+
+ /**
+ * Encodes the specified Policy message. Does not implicitly {@link google.iam.v1.Policy.verify|verify} messages.
+ * @param message Policy message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.iam.v1.IPolicy, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified Policy message, length delimited. Does not implicitly {@link google.iam.v1.Policy.verify|verify} messages.
+ * @param message Policy message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.iam.v1.IPolicy, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a Policy message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns Policy
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.iam.v1.Policy;
+
+ /**
+ * Decodes a Policy message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns Policy
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.iam.v1.Policy;
+
+ /**
+ * Verifies a Policy message.
+ * @param message Plain 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 Policy message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns Policy
+ */
+ public static fromObject(object: { [k: string]: any }): google.iam.v1.Policy;
+
+ /**
+ * Creates a plain object from a Policy message. Also converts values to other types if specified.
+ * @param message Policy
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.iam.v1.Policy, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this Policy to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for Policy
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a Binding. */
+ interface IBinding {
+
+ /** Binding role */
+ role?: (string|null);
+
+ /** Binding members */
+ members?: (string[]|null);
+
+ /** Binding condition */
+ condition?: (google.type.IExpr|null);
+ }
+
+ /** Represents a Binding. */
+ class Binding implements IBinding {
+
+ /**
+ * Constructs a new Binding.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.iam.v1.IBinding);
+
+ /** Binding role. */
+ public role: string;
+
+ /** Binding members. */
+ public members: string[];
+
+ /** Binding condition. */
+ public condition?: (google.type.IExpr|null);
+
+ /**
+ * Creates a new Binding instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns Binding instance
+ */
+ public static create(properties?: google.iam.v1.IBinding): google.iam.v1.Binding;
+
+ /**
+ * Encodes the specified Binding message. Does not implicitly {@link google.iam.v1.Binding.verify|verify} messages.
+ * @param message Binding message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.iam.v1.IBinding, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified Binding message, length delimited. Does not implicitly {@link google.iam.v1.Binding.verify|verify} messages.
+ * @param message Binding message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.iam.v1.IBinding, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a Binding message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns Binding
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.iam.v1.Binding;
+
+ /**
+ * Decodes a Binding message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns Binding
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.iam.v1.Binding;
+
+ /**
+ * Verifies a Binding message.
+ * @param message Plain 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 Binding message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns Binding
+ */
+ public static fromObject(object: { [k: string]: any }): google.iam.v1.Binding;
+
+ /**
+ * Creates a plain object from a Binding message. Also converts values to other types if specified.
+ * @param message Binding
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.iam.v1.Binding, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this Binding to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for Binding
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of an AuditConfig. */
+ interface IAuditConfig {
+
+ /** AuditConfig service */
+ service?: (string|null);
+
+ /** AuditConfig auditLogConfigs */
+ auditLogConfigs?: (google.iam.v1.IAuditLogConfig[]|null);
+ }
+
+ /** Represents an AuditConfig. */
+ class AuditConfig implements IAuditConfig {
+
+ /**
+ * Constructs a new AuditConfig.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.iam.v1.IAuditConfig);
+
+ /** AuditConfig service. */
+ public service: string;
+
+ /** AuditConfig auditLogConfigs. */
+ public auditLogConfigs: google.iam.v1.IAuditLogConfig[];
+
+ /**
+ * Creates a new AuditConfig instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns AuditConfig instance
+ */
+ public static create(properties?: google.iam.v1.IAuditConfig): google.iam.v1.AuditConfig;
+
+ /**
+ * Encodes the specified AuditConfig message. Does not implicitly {@link google.iam.v1.AuditConfig.verify|verify} messages.
+ * @param message AuditConfig message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.iam.v1.IAuditConfig, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified AuditConfig message, length delimited. Does not implicitly {@link google.iam.v1.AuditConfig.verify|verify} messages.
+ * @param message AuditConfig message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.iam.v1.IAuditConfig, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an AuditConfig message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns AuditConfig
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.iam.v1.AuditConfig;
+
+ /**
+ * Decodes an AuditConfig message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns AuditConfig
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.iam.v1.AuditConfig;
+
+ /**
+ * Verifies an AuditConfig message.
+ * @param message Plain 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 AuditConfig message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns AuditConfig
+ */
+ public static fromObject(object: { [k: string]: any }): google.iam.v1.AuditConfig;
+
+ /**
+ * Creates a plain object from an AuditConfig message. Also converts values to other types if specified.
+ * @param message AuditConfig
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.iam.v1.AuditConfig, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this AuditConfig to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for AuditConfig
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of an AuditLogConfig. */
+ interface IAuditLogConfig {
+
+ /** AuditLogConfig logType */
+ logType?: (google.iam.v1.AuditLogConfig.LogType|keyof typeof google.iam.v1.AuditLogConfig.LogType|null);
+
+ /** AuditLogConfig exemptedMembers */
+ exemptedMembers?: (string[]|null);
+ }
+
+ /** Represents an AuditLogConfig. */
+ class AuditLogConfig implements IAuditLogConfig {
+
+ /**
+ * Constructs a new AuditLogConfig.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.iam.v1.IAuditLogConfig);
+
+ /** AuditLogConfig logType. */
+ public logType: (google.iam.v1.AuditLogConfig.LogType|keyof typeof google.iam.v1.AuditLogConfig.LogType);
+
+ /** AuditLogConfig exemptedMembers. */
+ public exemptedMembers: string[];
+
+ /**
+ * Creates a new AuditLogConfig instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns AuditLogConfig instance
+ */
+ public static create(properties?: google.iam.v1.IAuditLogConfig): google.iam.v1.AuditLogConfig;
+
+ /**
+ * Encodes the specified AuditLogConfig message. Does not implicitly {@link google.iam.v1.AuditLogConfig.verify|verify} messages.
+ * @param message AuditLogConfig message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.iam.v1.IAuditLogConfig, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified AuditLogConfig message, length delimited. Does not implicitly {@link google.iam.v1.AuditLogConfig.verify|verify} messages.
+ * @param message AuditLogConfig message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.iam.v1.IAuditLogConfig, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an AuditLogConfig message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns AuditLogConfig
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.iam.v1.AuditLogConfig;
+
+ /**
+ * Decodes an AuditLogConfig message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns AuditLogConfig
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.iam.v1.AuditLogConfig;
+
+ /**
+ * Verifies an AuditLogConfig message.
+ * @param message Plain 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 AuditLogConfig message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns AuditLogConfig
+ */
+ public static fromObject(object: { [k: string]: any }): google.iam.v1.AuditLogConfig;
+
+ /**
+ * Creates a plain object from an AuditLogConfig message. Also converts values to other types if specified.
+ * @param message AuditLogConfig
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.iam.v1.AuditLogConfig, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this AuditLogConfig to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for AuditLogConfig
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace AuditLogConfig {
+
+ /** LogType enum. */
+ enum LogType {
+ LOG_TYPE_UNSPECIFIED = 0,
+ ADMIN_READ = 1,
+ DATA_WRITE = 2,
+ DATA_READ = 3
+ }
+ }
+
+ /** Properties of a PolicyDelta. */
+ interface IPolicyDelta {
+
+ /** PolicyDelta bindingDeltas */
+ bindingDeltas?: (google.iam.v1.IBindingDelta[]|null);
+
+ /** PolicyDelta auditConfigDeltas */
+ auditConfigDeltas?: (google.iam.v1.IAuditConfigDelta[]|null);
+ }
+
+ /** Represents a PolicyDelta. */
+ class PolicyDelta implements IPolicyDelta {
+
+ /**
+ * Constructs a new PolicyDelta.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.iam.v1.IPolicyDelta);
+
+ /** PolicyDelta bindingDeltas. */
+ public bindingDeltas: google.iam.v1.IBindingDelta[];
+
+ /** PolicyDelta auditConfigDeltas. */
+ public auditConfigDeltas: google.iam.v1.IAuditConfigDelta[];
+
+ /**
+ * Creates a new PolicyDelta instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns PolicyDelta instance
+ */
+ public static create(properties?: google.iam.v1.IPolicyDelta): google.iam.v1.PolicyDelta;
+
+ /**
+ * Encodes the specified PolicyDelta message. Does not implicitly {@link google.iam.v1.PolicyDelta.verify|verify} messages.
+ * @param message PolicyDelta message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.iam.v1.IPolicyDelta, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified PolicyDelta message, length delimited. Does not implicitly {@link google.iam.v1.PolicyDelta.verify|verify} messages.
+ * @param message PolicyDelta message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.iam.v1.IPolicyDelta, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a PolicyDelta message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns PolicyDelta
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.iam.v1.PolicyDelta;
+
+ /**
+ * Decodes a PolicyDelta message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns PolicyDelta
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.iam.v1.PolicyDelta;
+
+ /**
+ * Verifies a PolicyDelta message.
+ * @param message Plain 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 PolicyDelta message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns PolicyDelta
+ */
+ public static fromObject(object: { [k: string]: any }): google.iam.v1.PolicyDelta;
+
+ /**
+ * Creates a plain object from a PolicyDelta message. Also converts values to other types if specified.
+ * @param message PolicyDelta
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.iam.v1.PolicyDelta, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this PolicyDelta to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for PolicyDelta
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a BindingDelta. */
+ interface IBindingDelta {
+
+ /** BindingDelta action */
+ action?: (google.iam.v1.BindingDelta.Action|keyof typeof google.iam.v1.BindingDelta.Action|null);
+
+ /** BindingDelta role */
+ role?: (string|null);
+
+ /** BindingDelta member */
+ member?: (string|null);
+
+ /** BindingDelta condition */
+ condition?: (google.type.IExpr|null);
+ }
+
+ /** Represents a BindingDelta. */
+ class BindingDelta implements IBindingDelta {
+
+ /**
+ * Constructs a new BindingDelta.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.iam.v1.IBindingDelta);
+
+ /** BindingDelta action. */
+ public action: (google.iam.v1.BindingDelta.Action|keyof typeof google.iam.v1.BindingDelta.Action);
+
+ /** BindingDelta role. */
+ public role: string;
+
+ /** BindingDelta member. */
+ public member: string;
+
+ /** BindingDelta condition. */
+ public condition?: (google.type.IExpr|null);
+
+ /**
+ * Creates a new BindingDelta instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns BindingDelta instance
+ */
+ public static create(properties?: google.iam.v1.IBindingDelta): google.iam.v1.BindingDelta;
+
+ /**
+ * Encodes the specified BindingDelta message. Does not implicitly {@link google.iam.v1.BindingDelta.verify|verify} messages.
+ * @param message BindingDelta message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.iam.v1.IBindingDelta, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified BindingDelta message, length delimited. Does not implicitly {@link google.iam.v1.BindingDelta.verify|verify} messages.
+ * @param message BindingDelta message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.iam.v1.IBindingDelta, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a BindingDelta message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns BindingDelta
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.iam.v1.BindingDelta;
+
+ /**
+ * Decodes a BindingDelta message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns BindingDelta
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.iam.v1.BindingDelta;
+
+ /**
+ * Verifies a BindingDelta message.
+ * @param message Plain 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 BindingDelta message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns BindingDelta
+ */
+ public static fromObject(object: { [k: string]: any }): google.iam.v1.BindingDelta;
+
+ /**
+ * Creates a plain object from a BindingDelta message. Also converts values to other types if specified.
+ * @param message BindingDelta
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.iam.v1.BindingDelta, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this BindingDelta to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for BindingDelta
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace BindingDelta {
+
+ /** Action enum. */
+ enum Action {
+ ACTION_UNSPECIFIED = 0,
+ ADD = 1,
+ REMOVE = 2
+ }
+ }
+
+ /** Properties of an AuditConfigDelta. */
+ interface IAuditConfigDelta {
+
+ /** AuditConfigDelta action */
+ action?: (google.iam.v1.AuditConfigDelta.Action|keyof typeof google.iam.v1.AuditConfigDelta.Action|null);
+
+ /** AuditConfigDelta service */
+ service?: (string|null);
+
+ /** AuditConfigDelta exemptedMember */
+ exemptedMember?: (string|null);
+
+ /** AuditConfigDelta logType */
+ logType?: (string|null);
+ }
+
+ /** Represents an AuditConfigDelta. */
+ class AuditConfigDelta implements IAuditConfigDelta {
+
+ /**
+ * Constructs a new AuditConfigDelta.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.iam.v1.IAuditConfigDelta);
+
+ /** AuditConfigDelta action. */
+ public action: (google.iam.v1.AuditConfigDelta.Action|keyof typeof google.iam.v1.AuditConfigDelta.Action);
+
+ /** AuditConfigDelta service. */
+ public service: string;
+
+ /** AuditConfigDelta exemptedMember. */
+ public exemptedMember: string;
+
+ /** AuditConfigDelta logType. */
+ public logType: string;
+
+ /**
+ * Creates a new AuditConfigDelta instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns AuditConfigDelta instance
+ */
+ public static create(properties?: google.iam.v1.IAuditConfigDelta): google.iam.v1.AuditConfigDelta;
+
+ /**
+ * Encodes the specified AuditConfigDelta message. Does not implicitly {@link google.iam.v1.AuditConfigDelta.verify|verify} messages.
+ * @param message AuditConfigDelta message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.iam.v1.IAuditConfigDelta, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified AuditConfigDelta message, length delimited. Does not implicitly {@link google.iam.v1.AuditConfigDelta.verify|verify} messages.
+ * @param message AuditConfigDelta message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.iam.v1.IAuditConfigDelta, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an AuditConfigDelta message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns AuditConfigDelta
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.iam.v1.AuditConfigDelta;
+
+ /**
+ * Decodes an AuditConfigDelta message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns AuditConfigDelta
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.iam.v1.AuditConfigDelta;
+
+ /**
+ * Verifies an AuditConfigDelta message.
+ * @param message Plain 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 AuditConfigDelta message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns AuditConfigDelta
+ */
+ public static fromObject(object: { [k: string]: any }): google.iam.v1.AuditConfigDelta;
+
+ /**
+ * Creates a plain object from an AuditConfigDelta message. Also converts values to other types if specified.
+ * @param message AuditConfigDelta
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.iam.v1.AuditConfigDelta, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this AuditConfigDelta to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for AuditConfigDelta
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace AuditConfigDelta {
+
+ /** Action enum. */
+ enum Action {
+ ACTION_UNSPECIFIED = 0,
+ ADD = 1,
+ REMOVE = 2
+ }
+ }
+ }
+ }
+
+ /** Namespace type. */
+ namespace type {
+
+ /** Properties of an Expr. */
+ interface IExpr {
+
+ /** Expr expression */
+ expression?: (string|null);
+
+ /** Expr title */
+ title?: (string|null);
+
+ /** Expr description */
+ description?: (string|null);
+
+ /** Expr location */
+ location?: (string|null);
+ }
+
+ /** Represents an Expr. */
+ class Expr implements IExpr {
+
+ /**
+ * Constructs a new Expr.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.type.IExpr);
+
+ /** Expr expression. */
+ public expression: string;
+
+ /** Expr title. */
+ public title: string;
+
+ /** Expr description. */
+ public description: string;
+
+ /** Expr location. */
+ public location: string;
+
+ /**
+ * Creates a new Expr instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns Expr instance
+ */
+ public static create(properties?: google.type.IExpr): google.type.Expr;
+
+ /**
+ * Encodes the specified Expr message. Does not implicitly {@link google.type.Expr.verify|verify} messages.
+ * @param message Expr message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.type.IExpr, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified Expr message, length delimited. Does not implicitly {@link google.type.Expr.verify|verify} messages.
+ * @param message Expr message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.type.IExpr, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an Expr message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns Expr
+ * @throws {Error} If the payload is not 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.Expr;
+
+ /**
+ * Decodes an Expr message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns Expr
+ * @throws {Error} If the payload 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.Expr;
+
+ /**
+ * Verifies an Expr message.
+ * @param message Plain 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 Expr message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns Expr
+ */
+ public static fromObject(object: { [k: string]: any }): google.type.Expr;
+
+ /**
+ * Creates a plain object from an Expr message. Also converts values to other types if specified.
+ * @param message Expr
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.type.Expr, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this Expr to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for Expr
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+ }
+
+ /** Namespace longrunning. */
+ namespace longrunning {
+
+ /** Represents an Operations */
+ class Operations extends $protobuf.rpc.Service {
+
+ /**
+ * Constructs a new Operations service.
+ * @param rpcImpl RPC implementation
+ * @param [requestDelimited=false] Whether requests are length-delimited
+ * @param [responseDelimited=false] Whether responses are length-delimited
+ */
+ constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);
+
+ /**
+ * Creates new Operations service using the specified rpc implementation.
+ * @param rpcImpl RPC implementation
+ * @param [requestDelimited=false] Whether requests are length-delimited
+ * @param [responseDelimited=false] Whether responses are length-delimited
+ * @returns RPC service. Useful where requests and/or responses are streamed.
+ */
+ public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): Operations;
+
+ /**
+ * Calls ListOperations.
+ * @param request ListOperationsRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and ListOperationsResponse
+ */
+ public listOperations(request: google.longrunning.IListOperationsRequest, callback: google.longrunning.Operations.ListOperationsCallback): void;
+
+ /**
+ * Calls ListOperations.
+ * @param request ListOperationsRequest message or plain object
+ * @returns Promise
+ */
+ public listOperations(request: google.longrunning.IListOperationsRequest): Promise;
+
+ /**
+ * Calls GetOperation.
+ * @param request GetOperationRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and Operation
+ */
+ public getOperation(request: google.longrunning.IGetOperationRequest, callback: google.longrunning.Operations.GetOperationCallback): void;
+
+ /**
+ * Calls GetOperation.
+ * @param request GetOperationRequest message or plain object
+ * @returns Promise
+ */
+ public getOperation(request: google.longrunning.IGetOperationRequest): Promise;
+
+ /**
+ * Calls DeleteOperation.
+ * @param request DeleteOperationRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and Empty
+ */
+ public deleteOperation(request: google.longrunning.IDeleteOperationRequest, callback: google.longrunning.Operations.DeleteOperationCallback): void;
+
+ /**
+ * Calls DeleteOperation.
+ * @param request DeleteOperationRequest message or plain object
+ * @returns Promise
+ */
+ public deleteOperation(request: google.longrunning.IDeleteOperationRequest): Promise;
+
+ /**
+ * Calls CancelOperation.
+ * @param request CancelOperationRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and Empty
+ */
+ public cancelOperation(request: google.longrunning.ICancelOperationRequest, callback: google.longrunning.Operations.CancelOperationCallback): void;
+
+ /**
+ * Calls CancelOperation.
+ * @param request CancelOperationRequest message or plain object
+ * @returns Promise
+ */
+ public cancelOperation(request: google.longrunning.ICancelOperationRequest): Promise;
+
+ /**
+ * Calls WaitOperation.
+ * @param request WaitOperationRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and Operation
+ */
+ public waitOperation(request: google.longrunning.IWaitOperationRequest, callback: google.longrunning.Operations.WaitOperationCallback): void;
+
+ /**
+ * Calls WaitOperation.
+ * @param request WaitOperationRequest message or plain object
+ * @returns Promise
+ */
+ public waitOperation(request: google.longrunning.IWaitOperationRequest): Promise;
+ }
+
+ namespace Operations {
+
+ /**
+ * Callback as used by {@link google.longrunning.Operations|listOperations}.
+ * @param error Error, if any
+ * @param [response] ListOperationsResponse
+ */
+ type ListOperationsCallback = (error: (Error|null), response?: google.longrunning.ListOperationsResponse) => void;
+
+ /**
+ * Callback as used by {@link google.longrunning.Operations|getOperation}.
+ * @param error Error, if any
+ * @param [response] Operation
+ */
+ type GetOperationCallback = (error: (Error|null), response?: google.longrunning.Operation) => void;
+
+ /**
+ * Callback as used by {@link google.longrunning.Operations|deleteOperation}.
+ * @param error Error, if any
+ * @param [response] Empty
+ */
+ type DeleteOperationCallback = (error: (Error|null), response?: google.protobuf.Empty) => void;
+
+ /**
+ * Callback as used by {@link google.longrunning.Operations|cancelOperation}.
+ * @param error Error, if any
+ * @param [response] Empty
+ */
+ type CancelOperationCallback = (error: (Error|null), response?: google.protobuf.Empty) => void;
+
+ /**
+ * Callback as used by {@link google.longrunning.Operations|waitOperation}.
+ * @param error Error, if any
+ * @param [response] Operation
+ */
+ type WaitOperationCallback = (error: (Error|null), response?: google.longrunning.Operation) => void;
+ }
+
+ /** Properties of an Operation. */
+ interface IOperation {
+
+ /** Operation name */
+ name?: (string|null);
+
+ /** Operation metadata */
+ metadata?: (google.protobuf.IAny|null);
+
+ /** Operation done */
+ done?: (boolean|null);
+
+ /** Operation error */
+ error?: (google.rpc.IStatus|null);
+
+ /** Operation response */
+ response?: (google.protobuf.IAny|null);
+ }
+
+ /** Represents an Operation. */
+ class Operation implements IOperation {
+
+ /**
+ * Constructs a new Operation.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.longrunning.IOperation);
+
+ /** Operation name. */
+ public name: string;
+
+ /** Operation metadata. */
+ public metadata?: (google.protobuf.IAny|null);
+
+ /** Operation done. */
+ public done: boolean;
+
+ /** Operation error. */
+ public error?: (google.rpc.IStatus|null);
+
+ /** Operation response. */
+ public response?: (google.protobuf.IAny|null);
+
+ /** Operation result. */
+ public result?: ("error"|"response");
+
+ /**
+ * Creates a new Operation instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns Operation instance
+ */
+ public static create(properties?: google.longrunning.IOperation): google.longrunning.Operation;
+
+ /**
+ * Encodes the specified Operation message. Does not implicitly {@link google.longrunning.Operation.verify|verify} messages.
+ * @param message Operation message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.longrunning.IOperation, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified Operation message, length delimited. Does not implicitly {@link google.longrunning.Operation.verify|verify} messages.
+ * @param message Operation message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.longrunning.IOperation, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an Operation message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns Operation
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.longrunning.Operation;
+
+ /**
+ * Decodes an Operation message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns Operation
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.longrunning.Operation;
+
+ /**
+ * Verifies an Operation message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates an Operation message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns Operation
+ */
+ public static fromObject(object: { [k: string]: any }): google.longrunning.Operation;
+
+ /**
+ * Creates a plain object from an Operation message. Also converts values to other types if specified.
+ * @param message Operation
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.longrunning.Operation, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this Operation to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for Operation
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a GetOperationRequest. */
+ interface IGetOperationRequest {
+
+ /** GetOperationRequest name */
+ name?: (string|null);
+ }
+
+ /** Represents a GetOperationRequest. */
+ class GetOperationRequest implements IGetOperationRequest {
+
+ /**
+ * Constructs a new GetOperationRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.longrunning.IGetOperationRequest);
+
+ /** GetOperationRequest name. */
+ public name: string;
+
+ /**
+ * Creates a new GetOperationRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns GetOperationRequest instance
+ */
+ public static create(properties?: google.longrunning.IGetOperationRequest): google.longrunning.GetOperationRequest;
+
+ /**
+ * Encodes the specified GetOperationRequest message. Does not implicitly {@link google.longrunning.GetOperationRequest.verify|verify} messages.
+ * @param message GetOperationRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.longrunning.IGetOperationRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified GetOperationRequest message, length delimited. Does not implicitly {@link google.longrunning.GetOperationRequest.verify|verify} messages.
+ * @param message GetOperationRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.longrunning.IGetOperationRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a GetOperationRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns GetOperationRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.longrunning.GetOperationRequest;
+
+ /**
+ * Decodes a GetOperationRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns GetOperationRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.longrunning.GetOperationRequest;
+
+ /**
+ * Verifies a GetOperationRequest message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a GetOperationRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns GetOperationRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.longrunning.GetOperationRequest;
+
+ /**
+ * Creates a plain object from a GetOperationRequest message. Also converts values to other types if specified.
+ * @param message GetOperationRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.longrunning.GetOperationRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this GetOperationRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for GetOperationRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a ListOperationsRequest. */
+ interface IListOperationsRequest {
+
+ /** ListOperationsRequest name */
+ name?: (string|null);
+
+ /** ListOperationsRequest filter */
+ filter?: (string|null);
+
+ /** ListOperationsRequest pageSize */
+ pageSize?: (number|null);
+
+ /** ListOperationsRequest pageToken */
+ pageToken?: (string|null);
+ }
+
+ /** Represents a ListOperationsRequest. */
+ class ListOperationsRequest implements IListOperationsRequest {
+
+ /**
+ * Constructs a new ListOperationsRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.longrunning.IListOperationsRequest);
+
+ /** ListOperationsRequest name. */
+ public name: string;
+
+ /** ListOperationsRequest filter. */
+ public filter: string;
+
+ /** ListOperationsRequest pageSize. */
+ public pageSize: number;
+
+ /** ListOperationsRequest pageToken. */
+ public pageToken: string;
+
+ /**
+ * Creates a new ListOperationsRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ListOperationsRequest instance
+ */
+ public static create(properties?: google.longrunning.IListOperationsRequest): google.longrunning.ListOperationsRequest;
+
+ /**
+ * Encodes the specified ListOperationsRequest message. Does not implicitly {@link google.longrunning.ListOperationsRequest.verify|verify} messages.
+ * @param message ListOperationsRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.longrunning.IListOperationsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ListOperationsRequest message, length delimited. Does not implicitly {@link google.longrunning.ListOperationsRequest.verify|verify} messages.
+ * @param message ListOperationsRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.longrunning.IListOperationsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ListOperationsRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ListOperationsRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.longrunning.ListOperationsRequest;
+
+ /**
+ * Decodes a ListOperationsRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ListOperationsRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.longrunning.ListOperationsRequest;
+
+ /**
+ * Verifies a ListOperationsRequest message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a ListOperationsRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ListOperationsRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.longrunning.ListOperationsRequest;
+
+ /**
+ * Creates a plain object from a ListOperationsRequest message. Also converts values to other types if specified.
+ * @param message ListOperationsRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.longrunning.ListOperationsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ListOperationsRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ListOperationsRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a ListOperationsResponse. */
+ interface IListOperationsResponse {
+
+ /** ListOperationsResponse operations */
+ operations?: (google.longrunning.IOperation[]|null);
+
+ /** ListOperationsResponse nextPageToken */
+ nextPageToken?: (string|null);
+ }
+
+ /** Represents a ListOperationsResponse. */
+ class ListOperationsResponse implements IListOperationsResponse {
+
+ /**
+ * Constructs a new ListOperationsResponse.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.longrunning.IListOperationsResponse);
+
+ /** ListOperationsResponse operations. */
+ public operations: google.longrunning.IOperation[];
+
+ /** ListOperationsResponse nextPageToken. */
+ public nextPageToken: string;
+
+ /**
+ * Creates a new ListOperationsResponse instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ListOperationsResponse instance
+ */
+ public static create(properties?: google.longrunning.IListOperationsResponse): google.longrunning.ListOperationsResponse;
+
+ /**
+ * Encodes the specified ListOperationsResponse message. Does not implicitly {@link google.longrunning.ListOperationsResponse.verify|verify} messages.
+ * @param message ListOperationsResponse message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.longrunning.IListOperationsResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ListOperationsResponse message, length delimited. Does not implicitly {@link google.longrunning.ListOperationsResponse.verify|verify} messages.
+ * @param message ListOperationsResponse message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.longrunning.IListOperationsResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ListOperationsResponse message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ListOperationsResponse
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.longrunning.ListOperationsResponse;
+
+ /**
+ * Decodes a ListOperationsResponse message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ListOperationsResponse
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.longrunning.ListOperationsResponse;
+
+ /**
+ * Verifies a ListOperationsResponse message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a ListOperationsResponse message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ListOperationsResponse
+ */
+ public static fromObject(object: { [k: string]: any }): google.longrunning.ListOperationsResponse;
+
+ /**
+ * Creates a plain object from a ListOperationsResponse message. Also converts values to other types if specified.
+ * @param message ListOperationsResponse
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.longrunning.ListOperationsResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ListOperationsResponse to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ListOperationsResponse
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a CancelOperationRequest. */
+ interface ICancelOperationRequest {
+
+ /** CancelOperationRequest name */
+ name?: (string|null);
+ }
+
+ /** Represents a CancelOperationRequest. */
+ class CancelOperationRequest implements ICancelOperationRequest {
+
+ /**
+ * Constructs a new CancelOperationRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.longrunning.ICancelOperationRequest);
+
+ /** CancelOperationRequest name. */
+ public name: string;
+
+ /**
+ * Creates a new CancelOperationRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns CancelOperationRequest instance
+ */
+ public static create(properties?: google.longrunning.ICancelOperationRequest): google.longrunning.CancelOperationRequest;
+
+ /**
+ * Encodes the specified CancelOperationRequest message. Does not implicitly {@link google.longrunning.CancelOperationRequest.verify|verify} messages.
+ * @param message CancelOperationRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.longrunning.ICancelOperationRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified CancelOperationRequest message, length delimited. Does not implicitly {@link google.longrunning.CancelOperationRequest.verify|verify} messages.
+ * @param message CancelOperationRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.longrunning.ICancelOperationRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a CancelOperationRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns CancelOperationRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.longrunning.CancelOperationRequest;
+
+ /**
+ * Decodes a CancelOperationRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns CancelOperationRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.longrunning.CancelOperationRequest;
+
+ /**
+ * Verifies a CancelOperationRequest message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a CancelOperationRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns CancelOperationRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.longrunning.CancelOperationRequest;
+
+ /**
+ * Creates a plain object from a CancelOperationRequest message. Also converts values to other types if specified.
+ * @param message CancelOperationRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.longrunning.CancelOperationRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this CancelOperationRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for CancelOperationRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a DeleteOperationRequest. */
+ interface IDeleteOperationRequest {
+
+ /** DeleteOperationRequest name */
+ name?: (string|null);
+ }
+
+ /** Represents a DeleteOperationRequest. */
+ class DeleteOperationRequest implements IDeleteOperationRequest {
+
+ /**
+ * Constructs a new DeleteOperationRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.longrunning.IDeleteOperationRequest);
+
+ /** DeleteOperationRequest name. */
+ public name: string;
+
+ /**
+ * Creates a new DeleteOperationRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns DeleteOperationRequest instance
+ */
+ public static create(properties?: google.longrunning.IDeleteOperationRequest): google.longrunning.DeleteOperationRequest;
+
+ /**
+ * Encodes the specified DeleteOperationRequest message. Does not implicitly {@link google.longrunning.DeleteOperationRequest.verify|verify} messages.
+ * @param message DeleteOperationRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.longrunning.IDeleteOperationRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified DeleteOperationRequest message, length delimited. Does not implicitly {@link google.longrunning.DeleteOperationRequest.verify|verify} messages.
+ * @param message DeleteOperationRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.longrunning.IDeleteOperationRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a DeleteOperationRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns DeleteOperationRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.longrunning.DeleteOperationRequest;
+
+ /**
+ * Decodes a DeleteOperationRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns DeleteOperationRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.longrunning.DeleteOperationRequest;
+
+ /**
+ * Verifies a DeleteOperationRequest message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a DeleteOperationRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns DeleteOperationRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.longrunning.DeleteOperationRequest;
+
+ /**
+ * Creates a plain object from a DeleteOperationRequest message. Also converts values to other types if specified.
+ * @param message DeleteOperationRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.longrunning.DeleteOperationRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this DeleteOperationRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for DeleteOperationRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a WaitOperationRequest. */
+ interface IWaitOperationRequest {
+
+ /** WaitOperationRequest name */
+ name?: (string|null);
+
+ /** WaitOperationRequest timeout */
+ timeout?: (google.protobuf.IDuration|null);
+ }
+
+ /** Represents a WaitOperationRequest. */
+ class WaitOperationRequest implements IWaitOperationRequest {
+
+ /**
+ * Constructs a new WaitOperationRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.longrunning.IWaitOperationRequest);
+
+ /** WaitOperationRequest name. */
+ public name: string;
+
+ /** WaitOperationRequest timeout. */
+ public timeout?: (google.protobuf.IDuration|null);
+
+ /**
+ * Creates a new WaitOperationRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns WaitOperationRequest instance
+ */
+ public static create(properties?: google.longrunning.IWaitOperationRequest): google.longrunning.WaitOperationRequest;
+
+ /**
+ * Encodes the specified WaitOperationRequest message. Does not implicitly {@link google.longrunning.WaitOperationRequest.verify|verify} messages.
+ * @param message WaitOperationRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.longrunning.IWaitOperationRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified WaitOperationRequest message, length delimited. Does not implicitly {@link google.longrunning.WaitOperationRequest.verify|verify} messages.
+ * @param message WaitOperationRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.longrunning.IWaitOperationRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a WaitOperationRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns WaitOperationRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.longrunning.WaitOperationRequest;
+
+ /**
+ * Decodes a WaitOperationRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns WaitOperationRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.longrunning.WaitOperationRequest;
+
+ /**
+ * Verifies a WaitOperationRequest message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a WaitOperationRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns WaitOperationRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.longrunning.WaitOperationRequest;
+
+ /**
+ * Creates a plain object from a WaitOperationRequest message. Also converts values to other types if specified.
+ * @param message WaitOperationRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.longrunning.WaitOperationRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this WaitOperationRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for WaitOperationRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of an OperationInfo. */
+ interface IOperationInfo {
+
+ /** OperationInfo responseType */
+ responseType?: (string|null);
+
+ /** OperationInfo metadataType */
+ metadataType?: (string|null);
+ }
+
+ /** Represents an OperationInfo. */
+ class OperationInfo implements IOperationInfo {
+
+ /**
+ * Constructs a new OperationInfo.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.longrunning.IOperationInfo);
+
+ /** OperationInfo responseType. */
+ public responseType: string;
+
+ /** OperationInfo metadataType. */
+ public metadataType: string;
+
+ /**
+ * Creates a new OperationInfo instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns OperationInfo instance
+ */
+ public static create(properties?: google.longrunning.IOperationInfo): google.longrunning.OperationInfo;
+
+ /**
+ * Encodes the specified OperationInfo message. Does not implicitly {@link google.longrunning.OperationInfo.verify|verify} messages.
+ * @param message OperationInfo message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.longrunning.IOperationInfo, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified OperationInfo message, length delimited. Does not implicitly {@link google.longrunning.OperationInfo.verify|verify} messages.
+ * @param message OperationInfo message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.longrunning.IOperationInfo, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an OperationInfo message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns OperationInfo
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.longrunning.OperationInfo;
+
+ /**
+ * Decodes an OperationInfo message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns OperationInfo
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.longrunning.OperationInfo;
+
+ /**
+ * Verifies an OperationInfo message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates an OperationInfo message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns OperationInfo
+ */
+ public static fromObject(object: { [k: string]: any }): google.longrunning.OperationInfo;
+
+ /**
+ * Creates a plain object from an OperationInfo message. Also converts values to other types if specified.
+ * @param message OperationInfo
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.longrunning.OperationInfo, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this OperationInfo to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for OperationInfo
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+ }
+
+ /** Namespace rpc. */
+ namespace rpc {
+
+ /** Properties of a Status. */
+ interface IStatus {
+
+ /** Status code */
+ code?: (number|null);
+
+ /** Status message */
+ message?: (string|null);
+
+ /** Status details */
+ details?: (google.protobuf.IAny[]|null);
+ }
+
+ /** Represents a Status. */
+ class Status implements IStatus {
+
+ /**
+ * Constructs a new Status.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.rpc.IStatus);
+
+ /** Status code. */
+ public code: number;
+
+ /** Status message. */
+ public message: string;
+
+ /** Status details. */
+ public details: google.protobuf.IAny[];
+
+ /**
+ * Creates a new Status instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns Status instance
+ */
+ public static create(properties?: google.rpc.IStatus): google.rpc.Status;
+
+ /**
+ * Encodes the specified Status message. Does not implicitly {@link google.rpc.Status.verify|verify} messages.
+ * @param message Status message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.rpc.IStatus, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified Status message, length delimited. Does not implicitly {@link google.rpc.Status.verify|verify} messages.
+ * @param message Status message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.rpc.IStatus, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a Status message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns Status
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.rpc.Status;
+
+ /**
+ * Decodes a Status message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns Status
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.rpc.Status;
+
+ /**
+ * Verifies a Status message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a Status message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns Status
+ */
+ public static fromObject(object: { [k: string]: any }): google.rpc.Status;
+
+ /**
+ * Creates a plain object from a Status message. Also converts values to other types if specified.
+ * @param message Status
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.rpc.Status, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this Status to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for Status
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+ }
+}
diff --git a/packages/google-cloud-dataplex/protos/protos.js b/packages/google-cloud-dataplex/protos/protos.js
new file mode 100644
index 00000000000..46481b77013
--- /dev/null
+++ b/packages/google-cloud-dataplex/protos/protos.js
@@ -0,0 +1,56773 @@
+// 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_dataplex_protos || ($protobuf.roots._google_cloud_dataplex_protos = {});
+
+ $root.google = (function() {
+
+ /**
+ * Namespace google.
+ * @exports google
+ * @namespace
+ */
+ var google = {};
+
+ google.cloud = (function() {
+
+ /**
+ * Namespace cloud.
+ * @memberof google
+ * @namespace
+ */
+ var cloud = {};
+
+ cloud.dataplex = (function() {
+
+ /**
+ * Namespace dataplex.
+ * @memberof google.cloud
+ * @namespace
+ */
+ var dataplex = {};
+
+ dataplex.v1 = (function() {
+
+ /**
+ * Namespace v1.
+ * @memberof google.cloud.dataplex
+ * @namespace
+ */
+ var v1 = {};
+
+ v1.Environment = (function() {
+
+ /**
+ * Properties of an Environment.
+ * @memberof google.cloud.dataplex.v1
+ * @interface IEnvironment
+ * @property {string|null} [name] Environment name
+ * @property {string|null} [displayName] Environment displayName
+ * @property {string|null} [uid] Environment uid
+ * @property {google.protobuf.ITimestamp|null} [createTime] Environment createTime
+ * @property {google.protobuf.ITimestamp|null} [updateTime] Environment updateTime
+ * @property {Object.|null} [labels] Environment labels
+ * @property {string|null} [description] Environment description
+ * @property {google.cloud.dataplex.v1.State|null} [state] Environment state
+ * @property {google.cloud.dataplex.v1.Environment.IInfrastructureSpec|null} [infrastructureSpec] Environment infrastructureSpec
+ * @property {google.cloud.dataplex.v1.Environment.ISessionSpec|null} [sessionSpec] Environment sessionSpec
+ * @property {google.cloud.dataplex.v1.Environment.ISessionStatus|null} [sessionStatus] Environment sessionStatus
+ * @property {google.cloud.dataplex.v1.Environment.IEndpoints|null} [endpoints] Environment endpoints
+ */
+
+ /**
+ * Constructs a new Environment.
+ * @memberof google.cloud.dataplex.v1
+ * @classdesc Represents an Environment.
+ * @implements IEnvironment
+ * @constructor
+ * @param {google.cloud.dataplex.v1.IEnvironment=} [properties] Properties to set
+ */
+ function Environment(properties) {
+ this.labels = {};
+ if (properties)
+ for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+ if (properties[keys[i]] != null)
+ this[keys[i]] = properties[keys[i]];
+ }
+
+ /**
+ * Environment name.
+ * @member {string} name
+ * @memberof google.cloud.dataplex.v1.Environment
+ * @instance
+ */
+ Environment.prototype.name = "";
+
+ /**
+ * Environment displayName.
+ * @member {string} displayName
+ * @memberof google.cloud.dataplex.v1.Environment
+ * @instance
+ */
+ Environment.prototype.displayName = "";
+
+ /**
+ * Environment uid.
+ * @member {string} uid
+ * @memberof google.cloud.dataplex.v1.Environment
+ * @instance
+ */
+ Environment.prototype.uid = "";
+
+ /**
+ * Environment createTime.
+ * @member {google.protobuf.ITimestamp|null|undefined} createTime
+ * @memberof google.cloud.dataplex.v1.Environment
+ * @instance
+ */
+ Environment.prototype.createTime = null;
+
+ /**
+ * Environment updateTime.
+ * @member {google.protobuf.ITimestamp|null|undefined} updateTime
+ * @memberof google.cloud.dataplex.v1.Environment
+ * @instance
+ */
+ Environment.prototype.updateTime = null;
+
+ /**
+ * Environment labels.
+ * @member {Object.} labels
+ * @memberof google.cloud.dataplex.v1.Environment
+ * @instance
+ */
+ Environment.prototype.labels = $util.emptyObject;
+
+ /**
+ * Environment description.
+ * @member {string} description
+ * @memberof google.cloud.dataplex.v1.Environment
+ * @instance
+ */
+ Environment.prototype.description = "";
+
+ /**
+ * Environment state.
+ * @member {google.cloud.dataplex.v1.State} state
+ * @memberof google.cloud.dataplex.v1.Environment
+ * @instance
+ */
+ Environment.prototype.state = 0;
+
+ /**
+ * Environment infrastructureSpec.
+ * @member {google.cloud.dataplex.v1.Environment.IInfrastructureSpec|null|undefined} infrastructureSpec
+ * @memberof google.cloud.dataplex.v1.Environment
+ * @instance
+ */
+ Environment.prototype.infrastructureSpec = null;
+
+ /**
+ * Environment sessionSpec.
+ * @member {google.cloud.dataplex.v1.Environment.ISessionSpec|null|undefined} sessionSpec
+ * @memberof google.cloud.dataplex.v1.Environment
+ * @instance
+ */
+ Environment.prototype.sessionSpec = null;
+
+ /**
+ * Environment sessionStatus.
+ * @member {google.cloud.dataplex.v1.Environment.ISessionStatus|null|undefined} sessionStatus
+ * @memberof google.cloud.dataplex.v1.Environment
+ * @instance
+ */
+ Environment.prototype.sessionStatus = null;
+
+ /**
+ * Environment endpoints.
+ * @member {google.cloud.dataplex.v1.Environment.IEndpoints|null|undefined} endpoints
+ * @memberof google.cloud.dataplex.v1.Environment
+ * @instance
+ */
+ Environment.prototype.endpoints = null;
+
+ /**
+ * Creates a new Environment instance using the specified properties.
+ * @function create
+ * @memberof google.cloud.dataplex.v1.Environment
+ * @static
+ * @param {google.cloud.dataplex.v1.IEnvironment=} [properties] Properties to set
+ * @returns {google.cloud.dataplex.v1.Environment} Environment instance
+ */
+ Environment.create = function create(properties) {
+ return new Environment(properties);
+ };
+
+ /**
+ * Encodes the specified Environment message. Does not implicitly {@link google.cloud.dataplex.v1.Environment.verify|verify} messages.
+ * @function encode
+ * @memberof google.cloud.dataplex.v1.Environment
+ * @static
+ * @param {google.cloud.dataplex.v1.IEnvironment} message Environment message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ Environment.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.displayName != null && Object.hasOwnProperty.call(message, "displayName"))
+ writer.uint32(/* id 2, wireType 2 =*/18).string(message.displayName);
+ if (message.uid != null && Object.hasOwnProperty.call(message, "uid"))
+ writer.uint32(/* id 3, wireType 2 =*/26).string(message.uid);
+ if (message.createTime != null && Object.hasOwnProperty.call(message, "createTime"))
+ $root.google.protobuf.Timestamp.encode(message.createTime, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim();
+ if (message.updateTime != null && Object.hasOwnProperty.call(message, "updateTime"))
+ $root.google.protobuf.Timestamp.encode(message.updateTime, writer.uint32(/* id 5, wireType 2 =*/42).fork()).ldelim();
+ if (message.labels != null && Object.hasOwnProperty.call(message, "labels"))
+ for (var keys = Object.keys(message.labels), i = 0; i < keys.length; ++i)
+ writer.uint32(/* id 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.description != null && Object.hasOwnProperty.call(message, "description"))
+ writer.uint32(/* id 7, wireType 2 =*/58).string(message.description);
+ if (message.state != null && Object.hasOwnProperty.call(message, "state"))
+ writer.uint32(/* id 8, wireType 0 =*/64).int32(message.state);
+ if (message.infrastructureSpec != null && Object.hasOwnProperty.call(message, "infrastructureSpec"))
+ $root.google.cloud.dataplex.v1.Environment.InfrastructureSpec.encode(message.infrastructureSpec, writer.uint32(/* id 100, wireType 2 =*/802).fork()).ldelim();
+ if (message.sessionSpec != null && Object.hasOwnProperty.call(message, "sessionSpec"))
+ $root.google.cloud.dataplex.v1.Environment.SessionSpec.encode(message.sessionSpec, writer.uint32(/* id 101, wireType 2 =*/810).fork()).ldelim();
+ if (message.sessionStatus != null && Object.hasOwnProperty.call(message, "sessionStatus"))
+ $root.google.cloud.dataplex.v1.Environment.SessionStatus.encode(message.sessionStatus, writer.uint32(/* id 102, wireType 2 =*/818).fork()).ldelim();
+ if (message.endpoints != null && Object.hasOwnProperty.call(message, "endpoints"))
+ $root.google.cloud.dataplex.v1.Environment.Endpoints.encode(message.endpoints, writer.uint32(/* id 200, wireType 2 =*/1602).fork()).ldelim();
+ return writer;
+ };
+
+ /**
+ * Encodes the specified Environment message, length delimited. Does not implicitly {@link google.cloud.dataplex.v1.Environment.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.cloud.dataplex.v1.Environment
+ * @static
+ * @param {google.cloud.dataplex.v1.IEnvironment} message Environment message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ Environment.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes an Environment message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.cloud.dataplex.v1.Environment
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.cloud.dataplex.v1.Environment} Environment
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ Environment.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.dataplex.v1.Environment(), key, value;
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ switch (tag >>> 3) {
+ case 1: {
+ message.name = reader.string();
+ break;
+ }
+ case 2: {
+ message.displayName = reader.string();
+ break;
+ }
+ case 3: {
+ message.uid = reader.string();
+ break;
+ }
+ case 4: {
+ message.createTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32());
+ break;
+ }
+ case 5: {
+ message.updateTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32());
+ 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 7: {
+ message.description = reader.string();
+ break;
+ }
+ case 8: {
+ message.state = reader.int32();
+ break;
+ }
+ case 100: {
+ message.infrastructureSpec = $root.google.cloud.dataplex.v1.Environment.InfrastructureSpec.decode(reader, reader.uint32());
+ break;
+ }
+ case 101: {
+ message.sessionSpec = $root.google.cloud.dataplex.v1.Environment.SessionSpec.decode(reader, reader.uint32());
+ break;
+ }
+ case 102: {
+ message.sessionStatus = $root.google.cloud.dataplex.v1.Environment.SessionStatus.decode(reader, reader.uint32());
+ break;
+ }
+ case 200: {
+ message.endpoints = $root.google.cloud.dataplex.v1.Environment.Endpoints.decode(reader, reader.uint32());
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes an Environment message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.cloud.dataplex.v1.Environment
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.cloud.dataplex.v1.Environment} Environment
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ Environment.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies an Environment message.
+ * @function verify
+ * @memberof google.cloud.dataplex.v1.Environment
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ Environment.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.displayName != null && message.hasOwnProperty("displayName"))
+ if (!$util.isString(message.displayName))
+ return "displayName: string expected";
+ if (message.uid != null && message.hasOwnProperty("uid"))
+ if (!$util.isString(message.uid))
+ return "uid: string expected";
+ if (message.createTime != null && message.hasOwnProperty("createTime")) {
+ var error = $root.google.protobuf.Timestamp.verify(message.createTime);
+ if (error)
+ return "createTime." + error;
+ }
+ if (message.updateTime != null && message.hasOwnProperty("updateTime")) {
+ var error = $root.google.protobuf.Timestamp.verify(message.updateTime);
+ if (error)
+ return "updateTime." + error;
+ }
+ if (message.labels != null && message.hasOwnProperty("labels")) {
+ if (!$util.isObject(message.labels))
+ return "labels: object expected";
+ var key = Object.keys(message.labels);
+ for (var i = 0; i < key.length; ++i)
+ if (!$util.isString(message.labels[key[i]]))
+ return "labels: string{k:string} expected";
+ }
+ if (message.description != null && message.hasOwnProperty("description"))
+ if (!$util.isString(message.description))
+ return "description: string expected";
+ 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:
+ break;
+ }
+ if (message.infrastructureSpec != null && message.hasOwnProperty("infrastructureSpec")) {
+ var error = $root.google.cloud.dataplex.v1.Environment.InfrastructureSpec.verify(message.infrastructureSpec);
+ if (error)
+ return "infrastructureSpec." + error;
+ }
+ if (message.sessionSpec != null && message.hasOwnProperty("sessionSpec")) {
+ var error = $root.google.cloud.dataplex.v1.Environment.SessionSpec.verify(message.sessionSpec);
+ if (error)
+ return "sessionSpec." + error;
+ }
+ if (message.sessionStatus != null && message.hasOwnProperty("sessionStatus")) {
+ var error = $root.google.cloud.dataplex.v1.Environment.SessionStatus.verify(message.sessionStatus);
+ if (error)
+ return "sessionStatus." + error;
+ }
+ if (message.endpoints != null && message.hasOwnProperty("endpoints")) {
+ var error = $root.google.cloud.dataplex.v1.Environment.Endpoints.verify(message.endpoints);
+ if (error)
+ return "endpoints." + error;
+ }
+ return null;
+ };
+
+ /**
+ * Creates an Environment message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.cloud.dataplex.v1.Environment
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.cloud.dataplex.v1.Environment} Environment
+ */
+ Environment.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.cloud.dataplex.v1.Environment)
+ return object;
+ var message = new $root.google.cloud.dataplex.v1.Environment();
+ if (object.name != null)
+ message.name = String(object.name);
+ if (object.displayName != null)
+ message.displayName = String(object.displayName);
+ if (object.uid != null)
+ message.uid = String(object.uid);
+ if (object.createTime != null) {
+ if (typeof object.createTime !== "object")
+ throw TypeError(".google.cloud.dataplex.v1.Environment.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.dataplex.v1.Environment.updateTime: object expected");
+ message.updateTime = $root.google.protobuf.Timestamp.fromObject(object.updateTime);
+ }
+ if (object.labels) {
+ if (typeof object.labels !== "object")
+ throw TypeError(".google.cloud.dataplex.v1.Environment.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.description != null)
+ message.description = String(object.description);
+ switch (object.state) {
+ case "STATE_UNSPECIFIED":
+ case 0:
+ message.state = 0;
+ break;
+ case "ACTIVE":
+ case 1:
+ message.state = 1;
+ break;
+ case "CREATING":
+ case 2:
+ message.state = 2;
+ break;
+ case "DELETING":
+ case 3:
+ message.state = 3;
+ break;
+ case "ACTION_REQUIRED":
+ case 4:
+ message.state = 4;
+ break;
+ }
+ if (object.infrastructureSpec != null) {
+ if (typeof object.infrastructureSpec !== "object")
+ throw TypeError(".google.cloud.dataplex.v1.Environment.infrastructureSpec: object expected");
+ message.infrastructureSpec = $root.google.cloud.dataplex.v1.Environment.InfrastructureSpec.fromObject(object.infrastructureSpec);
+ }
+ if (object.sessionSpec != null) {
+ if (typeof object.sessionSpec !== "object")
+ throw TypeError(".google.cloud.dataplex.v1.Environment.sessionSpec: object expected");
+ message.sessionSpec = $root.google.cloud.dataplex.v1.Environment.SessionSpec.fromObject(object.sessionSpec);
+ }
+ if (object.sessionStatus != null) {
+ if (typeof object.sessionStatus !== "object")
+ throw TypeError(".google.cloud.dataplex.v1.Environment.sessionStatus: object expected");
+ message.sessionStatus = $root.google.cloud.dataplex.v1.Environment.SessionStatus.fromObject(object.sessionStatus);
+ }
+ if (object.endpoints != null) {
+ if (typeof object.endpoints !== "object")
+ throw TypeError(".google.cloud.dataplex.v1.Environment.endpoints: object expected");
+ message.endpoints = $root.google.cloud.dataplex.v1.Environment.Endpoints.fromObject(object.endpoints);
+ }
+ return message;
+ };
+
+ /**
+ * Creates a plain object from an Environment message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.cloud.dataplex.v1.Environment
+ * @static
+ * @param {google.cloud.dataplex.v1.Environment} message Environment
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ Environment.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.objects || options.defaults)
+ object.labels = {};
+ if (options.defaults) {
+ object.name = "";
+ object.displayName = "";
+ object.uid = "";
+ object.createTime = null;
+ object.updateTime = null;
+ object.description = "";
+ object.state = options.enums === String ? "STATE_UNSPECIFIED" : 0;
+ object.infrastructureSpec = null;
+ object.sessionSpec = null;
+ object.sessionStatus = null;
+ object.endpoints = null;
+ }
+ if (message.name != null && message.hasOwnProperty("name"))
+ object.name = message.name;
+ if (message.displayName != null && message.hasOwnProperty("displayName"))
+ object.displayName = message.displayName;
+ if (message.uid != null && message.hasOwnProperty("uid"))
+ object.uid = message.uid;
+ if (message.createTime != null && message.hasOwnProperty("createTime"))
+ object.createTime = $root.google.protobuf.Timestamp.toObject(message.createTime, options);
+ if (message.updateTime != null && message.hasOwnProperty("updateTime"))
+ object.updateTime = $root.google.protobuf.Timestamp.toObject(message.updateTime, options);
+ var keys2;
+ if (message.labels && (keys2 = Object.keys(message.labels)).length) {
+ object.labels = {};
+ for (var j = 0; j < keys2.length; ++j)
+ object.labels[keys2[j]] = message.labels[keys2[j]];
+ }
+ if (message.description != null && message.hasOwnProperty("description"))
+ object.description = message.description;
+ if (message.state != null && message.hasOwnProperty("state"))
+ object.state = options.enums === String ? $root.google.cloud.dataplex.v1.State[message.state] : message.state;
+ if (message.infrastructureSpec != null && message.hasOwnProperty("infrastructureSpec"))
+ object.infrastructureSpec = $root.google.cloud.dataplex.v1.Environment.InfrastructureSpec.toObject(message.infrastructureSpec, options);
+ if (message.sessionSpec != null && message.hasOwnProperty("sessionSpec"))
+ object.sessionSpec = $root.google.cloud.dataplex.v1.Environment.SessionSpec.toObject(message.sessionSpec, options);
+ if (message.sessionStatus != null && message.hasOwnProperty("sessionStatus"))
+ object.sessionStatus = $root.google.cloud.dataplex.v1.Environment.SessionStatus.toObject(message.sessionStatus, options);
+ if (message.endpoints != null && message.hasOwnProperty("endpoints"))
+ object.endpoints = $root.google.cloud.dataplex.v1.Environment.Endpoints.toObject(message.endpoints, options);
+ return object;
+ };
+
+ /**
+ * Converts this Environment to JSON.
+ * @function toJSON
+ * @memberof google.cloud.dataplex.v1.Environment
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ Environment.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for Environment
+ * @function getTypeUrl
+ * @memberof google.cloud.dataplex.v1.Environment
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ Environment.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.cloud.dataplex.v1.Environment";
+ };
+
+ Environment.InfrastructureSpec = (function() {
+
+ /**
+ * Properties of an InfrastructureSpec.
+ * @memberof google.cloud.dataplex.v1.Environment
+ * @interface IInfrastructureSpec
+ * @property {google.cloud.dataplex.v1.Environment.InfrastructureSpec.IComputeResources|null} [compute] InfrastructureSpec compute
+ * @property {google.cloud.dataplex.v1.Environment.InfrastructureSpec.IOsImageRuntime|null} [osImage] InfrastructureSpec osImage
+ */
+
+ /**
+ * Constructs a new InfrastructureSpec.
+ * @memberof google.cloud.dataplex.v1.Environment
+ * @classdesc Represents an InfrastructureSpec.
+ * @implements IInfrastructureSpec
+ * @constructor
+ * @param {google.cloud.dataplex.v1.Environment.IInfrastructureSpec=} [properties] Properties to set
+ */
+ function InfrastructureSpec(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]];
+ }
+
+ /**
+ * InfrastructureSpec compute.
+ * @member {google.cloud.dataplex.v1.Environment.InfrastructureSpec.IComputeResources|null|undefined} compute
+ * @memberof google.cloud.dataplex.v1.Environment.InfrastructureSpec
+ * @instance
+ */
+ InfrastructureSpec.prototype.compute = null;
+
+ /**
+ * InfrastructureSpec osImage.
+ * @member {google.cloud.dataplex.v1.Environment.InfrastructureSpec.IOsImageRuntime|null|undefined} osImage
+ * @memberof google.cloud.dataplex.v1.Environment.InfrastructureSpec
+ * @instance
+ */
+ InfrastructureSpec.prototype.osImage = null;
+
+ // OneOf field names bound to virtual getters and setters
+ var $oneOfFields;
+
+ /**
+ * InfrastructureSpec resources.
+ * @member {"compute"|undefined} resources
+ * @memberof google.cloud.dataplex.v1.Environment.InfrastructureSpec
+ * @instance
+ */
+ Object.defineProperty(InfrastructureSpec.prototype, "resources", {
+ get: $util.oneOfGetter($oneOfFields = ["compute"]),
+ set: $util.oneOfSetter($oneOfFields)
+ });
+
+ /**
+ * InfrastructureSpec runtime.
+ * @member {"osImage"|undefined} runtime
+ * @memberof google.cloud.dataplex.v1.Environment.InfrastructureSpec
+ * @instance
+ */
+ Object.defineProperty(InfrastructureSpec.prototype, "runtime", {
+ get: $util.oneOfGetter($oneOfFields = ["osImage"]),
+ set: $util.oneOfSetter($oneOfFields)
+ });
+
+ /**
+ * Creates a new InfrastructureSpec instance using the specified properties.
+ * @function create
+ * @memberof google.cloud.dataplex.v1.Environment.InfrastructureSpec
+ * @static
+ * @param {google.cloud.dataplex.v1.Environment.IInfrastructureSpec=} [properties] Properties to set
+ * @returns {google.cloud.dataplex.v1.Environment.InfrastructureSpec} InfrastructureSpec instance
+ */
+ InfrastructureSpec.create = function create(properties) {
+ return new InfrastructureSpec(properties);
+ };
+
+ /**
+ * Encodes the specified InfrastructureSpec message. Does not implicitly {@link google.cloud.dataplex.v1.Environment.InfrastructureSpec.verify|verify} messages.
+ * @function encode
+ * @memberof google.cloud.dataplex.v1.Environment.InfrastructureSpec
+ * @static
+ * @param {google.cloud.dataplex.v1.Environment.IInfrastructureSpec} message InfrastructureSpec message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ InfrastructureSpec.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.compute != null && Object.hasOwnProperty.call(message, "compute"))
+ $root.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources.encode(message.compute, writer.uint32(/* id 50, wireType 2 =*/402).fork()).ldelim();
+ if (message.osImage != null && Object.hasOwnProperty.call(message, "osImage"))
+ $root.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime.encode(message.osImage, writer.uint32(/* id 100, wireType 2 =*/802).fork()).ldelim();
+ return writer;
+ };
+
+ /**
+ * Encodes the specified InfrastructureSpec message, length delimited. Does not implicitly {@link google.cloud.dataplex.v1.Environment.InfrastructureSpec.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.cloud.dataplex.v1.Environment.InfrastructureSpec
+ * @static
+ * @param {google.cloud.dataplex.v1.Environment.IInfrastructureSpec} message InfrastructureSpec message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ InfrastructureSpec.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes an InfrastructureSpec message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.cloud.dataplex.v1.Environment.InfrastructureSpec
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.cloud.dataplex.v1.Environment.InfrastructureSpec} InfrastructureSpec
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ InfrastructureSpec.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.dataplex.v1.Environment.InfrastructureSpec();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ switch (tag >>> 3) {
+ case 50: {
+ message.compute = $root.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources.decode(reader, reader.uint32());
+ break;
+ }
+ case 100: {
+ message.osImage = $root.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime.decode(reader, reader.uint32());
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes an InfrastructureSpec message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.cloud.dataplex.v1.Environment.InfrastructureSpec
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.cloud.dataplex.v1.Environment.InfrastructureSpec} InfrastructureSpec
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ InfrastructureSpec.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies an InfrastructureSpec message.
+ * @function verify
+ * @memberof google.cloud.dataplex.v1.Environment.InfrastructureSpec
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ InfrastructureSpec.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ var properties = {};
+ if (message.compute != null && message.hasOwnProperty("compute")) {
+ properties.resources = 1;
+ {
+ var error = $root.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources.verify(message.compute);
+ if (error)
+ return "compute." + error;
+ }
+ }
+ if (message.osImage != null && message.hasOwnProperty("osImage")) {
+ properties.runtime = 1;
+ {
+ var error = $root.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime.verify(message.osImage);
+ if (error)
+ return "osImage." + error;
+ }
+ }
+ return null;
+ };
+
+ /**
+ * Creates an InfrastructureSpec message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.cloud.dataplex.v1.Environment.InfrastructureSpec
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.cloud.dataplex.v1.Environment.InfrastructureSpec} InfrastructureSpec
+ */
+ InfrastructureSpec.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.cloud.dataplex.v1.Environment.InfrastructureSpec)
+ return object;
+ var message = new $root.google.cloud.dataplex.v1.Environment.InfrastructureSpec();
+ if (object.compute != null) {
+ if (typeof object.compute !== "object")
+ throw TypeError(".google.cloud.dataplex.v1.Environment.InfrastructureSpec.compute: object expected");
+ message.compute = $root.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources.fromObject(object.compute);
+ }
+ if (object.osImage != null) {
+ if (typeof object.osImage !== "object")
+ throw TypeError(".google.cloud.dataplex.v1.Environment.InfrastructureSpec.osImage: object expected");
+ message.osImage = $root.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime.fromObject(object.osImage);
+ }
+ return message;
+ };
+
+ /**
+ * Creates a plain object from an InfrastructureSpec message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.cloud.dataplex.v1.Environment.InfrastructureSpec
+ * @static
+ * @param {google.cloud.dataplex.v1.Environment.InfrastructureSpec} message InfrastructureSpec
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ InfrastructureSpec.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (message.compute != null && message.hasOwnProperty("compute")) {
+ object.compute = $root.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources.toObject(message.compute, options);
+ if (options.oneofs)
+ object.resources = "compute";
+ }
+ if (message.osImage != null && message.hasOwnProperty("osImage")) {
+ object.osImage = $root.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime.toObject(message.osImage, options);
+ if (options.oneofs)
+ object.runtime = "osImage";
+ }
+ return object;
+ };
+
+ /**
+ * Converts this InfrastructureSpec to JSON.
+ * @function toJSON
+ * @memberof google.cloud.dataplex.v1.Environment.InfrastructureSpec
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ InfrastructureSpec.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for InfrastructureSpec
+ * @function getTypeUrl
+ * @memberof google.cloud.dataplex.v1.Environment.InfrastructureSpec
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ InfrastructureSpec.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.cloud.dataplex.v1.Environment.InfrastructureSpec";
+ };
+
+ InfrastructureSpec.ComputeResources = (function() {
+
+ /**
+ * Properties of a ComputeResources.
+ * @memberof google.cloud.dataplex.v1.Environment.InfrastructureSpec
+ * @interface IComputeResources
+ * @property {number|null} [diskSizeGb] ComputeResources diskSizeGb
+ * @property {number|null} [nodeCount] ComputeResources nodeCount
+ * @property {number|null} [maxNodeCount] ComputeResources maxNodeCount
+ */
+
+ /**
+ * Constructs a new ComputeResources.
+ * @memberof google.cloud.dataplex.v1.Environment.InfrastructureSpec
+ * @classdesc Represents a ComputeResources.
+ * @implements IComputeResources
+ * @constructor
+ * @param {google.cloud.dataplex.v1.Environment.InfrastructureSpec.IComputeResources=} [properties] Properties to set
+ */
+ function ComputeResources(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]];
+ }
+
+ /**
+ * ComputeResources diskSizeGb.
+ * @member {number} diskSizeGb
+ * @memberof google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources
+ * @instance
+ */
+ ComputeResources.prototype.diskSizeGb = 0;
+
+ /**
+ * ComputeResources nodeCount.
+ * @member {number} nodeCount
+ * @memberof google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources
+ * @instance
+ */
+ ComputeResources.prototype.nodeCount = 0;
+
+ /**
+ * ComputeResources maxNodeCount.
+ * @member {number} maxNodeCount
+ * @memberof google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources
+ * @instance
+ */
+ ComputeResources.prototype.maxNodeCount = 0;
+
+ /**
+ * Creates a new ComputeResources instance using the specified properties.
+ * @function create
+ * @memberof google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources
+ * @static
+ * @param {google.cloud.dataplex.v1.Environment.InfrastructureSpec.IComputeResources=} [properties] Properties to set
+ * @returns {google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources} ComputeResources instance
+ */
+ ComputeResources.create = function create(properties) {
+ return new ComputeResources(properties);
+ };
+
+ /**
+ * Encodes the specified ComputeResources message. Does not implicitly {@link google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources.verify|verify} messages.
+ * @function encode
+ * @memberof google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources
+ * @static
+ * @param {google.cloud.dataplex.v1.Environment.InfrastructureSpec.IComputeResources} message ComputeResources message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ ComputeResources.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.diskSizeGb != null && Object.hasOwnProperty.call(message, "diskSizeGb"))
+ writer.uint32(/* id 1, wireType 0 =*/8).int32(message.diskSizeGb);
+ if (message.nodeCount != null && Object.hasOwnProperty.call(message, "nodeCount"))
+ writer.uint32(/* id 2, wireType 0 =*/16).int32(message.nodeCount);
+ if (message.maxNodeCount != null && Object.hasOwnProperty.call(message, "maxNodeCount"))
+ writer.uint32(/* id 3, wireType 0 =*/24).int32(message.maxNodeCount);
+ return writer;
+ };
+
+ /**
+ * Encodes the specified ComputeResources message, length delimited. Does not implicitly {@link google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources
+ * @static
+ * @param {google.cloud.dataplex.v1.Environment.InfrastructureSpec.IComputeResources} message ComputeResources message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ ComputeResources.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes a ComputeResources message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources} ComputeResources
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ ComputeResources.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.dataplex.v1.Environment.InfrastructureSpec.ComputeResources();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ switch (tag >>> 3) {
+ case 1: {
+ message.diskSizeGb = reader.int32();
+ break;
+ }
+ case 2: {
+ message.nodeCount = reader.int32();
+ break;
+ }
+ case 3: {
+ message.maxNodeCount = reader.int32();
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes a ComputeResources message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources} ComputeResources
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ ComputeResources.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies a ComputeResources message.
+ * @function verify
+ * @memberof google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ ComputeResources.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ if (message.diskSizeGb != null && message.hasOwnProperty("diskSizeGb"))
+ if (!$util.isInteger(message.diskSizeGb))
+ return "diskSizeGb: integer expected";
+ if (message.nodeCount != null && message.hasOwnProperty("nodeCount"))
+ if (!$util.isInteger(message.nodeCount))
+ return "nodeCount: integer expected";
+ if (message.maxNodeCount != null && message.hasOwnProperty("maxNodeCount"))
+ if (!$util.isInteger(message.maxNodeCount))
+ return "maxNodeCount: integer expected";
+ return null;
+ };
+
+ /**
+ * Creates a ComputeResources message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources} ComputeResources
+ */
+ ComputeResources.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources)
+ return object;
+ var message = new $root.google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources();
+ if (object.diskSizeGb != null)
+ message.diskSizeGb = object.diskSizeGb | 0;
+ if (object.nodeCount != null)
+ message.nodeCount = object.nodeCount | 0;
+ if (object.maxNodeCount != null)
+ message.maxNodeCount = object.maxNodeCount | 0;
+ return message;
+ };
+
+ /**
+ * Creates a plain object from a ComputeResources message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources
+ * @static
+ * @param {google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources} message ComputeResources
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ ComputeResources.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.defaults) {
+ object.diskSizeGb = 0;
+ object.nodeCount = 0;
+ object.maxNodeCount = 0;
+ }
+ if (message.diskSizeGb != null && message.hasOwnProperty("diskSizeGb"))
+ object.diskSizeGb = message.diskSizeGb;
+ if (message.nodeCount != null && message.hasOwnProperty("nodeCount"))
+ object.nodeCount = message.nodeCount;
+ if (message.maxNodeCount != null && message.hasOwnProperty("maxNodeCount"))
+ object.maxNodeCount = message.maxNodeCount;
+ return object;
+ };
+
+ /**
+ * Converts this ComputeResources to JSON.
+ * @function toJSON
+ * @memberof google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ ComputeResources.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for ComputeResources
+ * @function getTypeUrl
+ * @memberof google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ ComputeResources.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources";
+ };
+
+ return ComputeResources;
+ })();
+
+ InfrastructureSpec.OsImageRuntime = (function() {
+
+ /**
+ * Properties of an OsImageRuntime.
+ * @memberof google.cloud.dataplex.v1.Environment.InfrastructureSpec
+ * @interface IOsImageRuntime
+ * @property {string|null} [imageVersion] OsImageRuntime imageVersion
+ * @property {Array.|null} [javaLibraries] OsImageRuntime javaLibraries
+ * @property {Array.|null} [pythonPackages] OsImageRuntime pythonPackages
+ * @property {Object.|null} [properties] OsImageRuntime properties
+ */
+
+ /**
+ * Constructs a new OsImageRuntime.
+ * @memberof google.cloud.dataplex.v1.Environment.InfrastructureSpec
+ * @classdesc Represents an OsImageRuntime.
+ * @implements IOsImageRuntime
+ * @constructor
+ * @param {google.cloud.dataplex.v1.Environment.InfrastructureSpec.IOsImageRuntime=} [properties] Properties to set
+ */
+ function OsImageRuntime(properties) {
+ this.javaLibraries = [];
+ this.pythonPackages = [];
+ this.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]];
+ }
+
+ /**
+ * OsImageRuntime imageVersion.
+ * @member {string} imageVersion
+ * @memberof google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime
+ * @instance
+ */
+ OsImageRuntime.prototype.imageVersion = "";
+
+ /**
+ * OsImageRuntime javaLibraries.
+ * @member {Array.} javaLibraries
+ * @memberof google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime
+ * @instance
+ */
+ OsImageRuntime.prototype.javaLibraries = $util.emptyArray;
+
+ /**
+ * OsImageRuntime pythonPackages.
+ * @member {Array.} pythonPackages
+ * @memberof google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime
+ * @instance
+ */
+ OsImageRuntime.prototype.pythonPackages = $util.emptyArray;
+
+ /**
+ * OsImageRuntime properties.
+ * @member {Object.} properties
+ * @memberof google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime
+ * @instance
+ */
+ OsImageRuntime.prototype.properties = $util.emptyObject;
+
+ /**
+ * Creates a new OsImageRuntime instance using the specified properties.
+ * @function create
+ * @memberof google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime
+ * @static
+ * @param {google.cloud.dataplex.v1.Environment.InfrastructureSpec.IOsImageRuntime=} [properties] Properties to set
+ * @returns {google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime} OsImageRuntime instance
+ */
+ OsImageRuntime.create = function create(properties) {
+ return new OsImageRuntime(properties);
+ };
+
+ /**
+ * Encodes the specified OsImageRuntime message. Does not implicitly {@link google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime.verify|verify} messages.
+ * @function encode
+ * @memberof google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime
+ * @static
+ * @param {google.cloud.dataplex.v1.Environment.InfrastructureSpec.IOsImageRuntime} message OsImageRuntime message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ OsImageRuntime.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.imageVersion != null && Object.hasOwnProperty.call(message, "imageVersion"))
+ writer.uint32(/* id 1, wireType 2 =*/10).string(message.imageVersion);
+ if (message.javaLibraries != null && message.javaLibraries.length)
+ for (var i = 0; i < message.javaLibraries.length; ++i)
+ writer.uint32(/* id 2, wireType 2 =*/18).string(message.javaLibraries[i]);
+ if (message.pythonPackages != null && message.pythonPackages.length)
+ for (var i = 0; i < message.pythonPackages.length; ++i)
+ writer.uint32(/* id 3, wireType 2 =*/26).string(message.pythonPackages[i]);
+ if (message.properties != null && Object.hasOwnProperty.call(message, "properties"))
+ for (var keys = Object.keys(message.properties), 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.properties[keys[i]]).ldelim();
+ return writer;
+ };
+
+ /**
+ * Encodes the specified OsImageRuntime message, length delimited. Does not implicitly {@link google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime
+ * @static
+ * @param {google.cloud.dataplex.v1.Environment.InfrastructureSpec.IOsImageRuntime} message OsImageRuntime message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ OsImageRuntime.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes an OsImageRuntime message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime} OsImageRuntime
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ OsImageRuntime.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.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime(), key, value;
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ switch (tag >>> 3) {
+ case 1: {
+ message.imageVersion = reader.string();
+ break;
+ }
+ case 2: {
+ if (!(message.javaLibraries && message.javaLibraries.length))
+ message.javaLibraries = [];
+ message.javaLibraries.push(reader.string());
+ break;
+ }
+ case 3: {
+ if (!(message.pythonPackages && message.pythonPackages.length))
+ message.pythonPackages = [];
+ message.pythonPackages.push(reader.string());
+ break;
+ }
+ case 4: {
+ if (message.properties === $util.emptyObject)
+ message.properties = {};
+ 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.properties[key] = value;
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes an OsImageRuntime message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime} OsImageRuntime
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ OsImageRuntime.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies an OsImageRuntime message.
+ * @function verify
+ * @memberof google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ OsImageRuntime.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ if (message.imageVersion != null && message.hasOwnProperty("imageVersion"))
+ if (!$util.isString(message.imageVersion))
+ return "imageVersion: string expected";
+ if (message.javaLibraries != null && message.hasOwnProperty("javaLibraries")) {
+ if (!Array.isArray(message.javaLibraries))
+ return "javaLibraries: array expected";
+ for (var i = 0; i < message.javaLibraries.length; ++i)
+ if (!$util.isString(message.javaLibraries[i]))
+ return "javaLibraries: string[] expected";
+ }
+ if (message.pythonPackages != null && message.hasOwnProperty("pythonPackages")) {
+ if (!Array.isArray(message.pythonPackages))
+ return "pythonPackages: array expected";
+ for (var i = 0; i < message.pythonPackages.length; ++i)
+ if (!$util.isString(message.pythonPackages[i]))
+ return "pythonPackages: string[] expected";
+ }
+ if (message.properties != null && message.hasOwnProperty("properties")) {
+ if (!$util.isObject(message.properties))
+ return "properties: object expected";
+ var key = Object.keys(message.properties);
+ for (var i = 0; i < key.length; ++i)
+ if (!$util.isString(message.properties[key[i]]))
+ return "properties: string{k:string} expected";
+ }
+ return null;
+ };
+
+ /**
+ * Creates an OsImageRuntime message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime} OsImageRuntime
+ */
+ OsImageRuntime.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime)
+ return object;
+ var message = new $root.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime();
+ if (object.imageVersion != null)
+ message.imageVersion = String(object.imageVersion);
+ if (object.javaLibraries) {
+ if (!Array.isArray(object.javaLibraries))
+ throw TypeError(".google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime.javaLibraries: array expected");
+ message.javaLibraries = [];
+ for (var i = 0; i < object.javaLibraries.length; ++i)
+ message.javaLibraries[i] = String(object.javaLibraries[i]);
+ }
+ if (object.pythonPackages) {
+ if (!Array.isArray(object.pythonPackages))
+ throw TypeError(".google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime.pythonPackages: array expected");
+ message.pythonPackages = [];
+ for (var i = 0; i < object.pythonPackages.length; ++i)
+ message.pythonPackages[i] = String(object.pythonPackages[i]);
+ }
+ if (object.properties) {
+ if (typeof object.properties !== "object")
+ throw TypeError(".google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime.properties: object expected");
+ message.properties = {};
+ for (var keys = Object.keys(object.properties), i = 0; i < keys.length; ++i)
+ message.properties[keys[i]] = String(object.properties[keys[i]]);
+ }
+ return message;
+ };
+
+ /**
+ * Creates a plain object from an OsImageRuntime message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime
+ * @static
+ * @param {google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime} message OsImageRuntime
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ OsImageRuntime.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.arrays || options.defaults) {
+ object.javaLibraries = [];
+ object.pythonPackages = [];
+ }
+ if (options.objects || options.defaults)
+ object.properties = {};
+ if (options.defaults)
+ object.imageVersion = "";
+ if (message.imageVersion != null && message.hasOwnProperty("imageVersion"))
+ object.imageVersion = message.imageVersion;
+ if (message.javaLibraries && message.javaLibraries.length) {
+ object.javaLibraries = [];
+ for (var j = 0; j < message.javaLibraries.length; ++j)
+ object.javaLibraries[j] = message.javaLibraries[j];
+ }
+ if (message.pythonPackages && message.pythonPackages.length) {
+ object.pythonPackages = [];
+ for (var j = 0; j < message.pythonPackages.length; ++j)
+ object.pythonPackages[j] = message.pythonPackages[j];
+ }
+ var keys2;
+ if (message.properties && (keys2 = Object.keys(message.properties)).length) {
+ object.properties = {};
+ for (var j = 0; j < keys2.length; ++j)
+ object.properties[keys2[j]] = message.properties[keys2[j]];
+ }
+ return object;
+ };
+
+ /**
+ * Converts this OsImageRuntime to JSON.
+ * @function toJSON
+ * @memberof google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ OsImageRuntime.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for OsImageRuntime
+ * @function getTypeUrl
+ * @memberof google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ OsImageRuntime.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime";
+ };
+
+ return OsImageRuntime;
+ })();
+
+ return InfrastructureSpec;
+ })();
+
+ Environment.SessionSpec = (function() {
+
+ /**
+ * Properties of a SessionSpec.
+ * @memberof google.cloud.dataplex.v1.Environment
+ * @interface ISessionSpec
+ * @property {google.protobuf.IDuration|null} [maxIdleDuration] SessionSpec maxIdleDuration
+ * @property {boolean|null} [enableFastStartup] SessionSpec enableFastStartup
+ */
+
+ /**
+ * Constructs a new SessionSpec.
+ * @memberof google.cloud.dataplex.v1.Environment
+ * @classdesc Represents a SessionSpec.
+ * @implements ISessionSpec
+ * @constructor
+ * @param {google.cloud.dataplex.v1.Environment.ISessionSpec=} [properties] Properties to set
+ */
+ function SessionSpec(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]];
+ }
+
+ /**
+ * SessionSpec maxIdleDuration.
+ * @member {google.protobuf.IDuration|null|undefined} maxIdleDuration
+ * @memberof google.cloud.dataplex.v1.Environment.SessionSpec
+ * @instance
+ */
+ SessionSpec.prototype.maxIdleDuration = null;
+
+ /**
+ * SessionSpec enableFastStartup.
+ * @member {boolean} enableFastStartup
+ * @memberof google.cloud.dataplex.v1.Environment.SessionSpec
+ * @instance
+ */
+ SessionSpec.prototype.enableFastStartup = false;
+
+ /**
+ * Creates a new SessionSpec instance using the specified properties.
+ * @function create
+ * @memberof google.cloud.dataplex.v1.Environment.SessionSpec
+ * @static
+ * @param {google.cloud.dataplex.v1.Environment.ISessionSpec=} [properties] Properties to set
+ * @returns {google.cloud.dataplex.v1.Environment.SessionSpec} SessionSpec instance
+ */
+ SessionSpec.create = function create(properties) {
+ return new SessionSpec(properties);
+ };
+
+ /**
+ * Encodes the specified SessionSpec message. Does not implicitly {@link google.cloud.dataplex.v1.Environment.SessionSpec.verify|verify} messages.
+ * @function encode
+ * @memberof google.cloud.dataplex.v1.Environment.SessionSpec
+ * @static
+ * @param {google.cloud.dataplex.v1.Environment.ISessionSpec} message SessionSpec message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ SessionSpec.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.maxIdleDuration != null && Object.hasOwnProperty.call(message, "maxIdleDuration"))
+ $root.google.protobuf.Duration.encode(message.maxIdleDuration, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
+ if (message.enableFastStartup != null && Object.hasOwnProperty.call(message, "enableFastStartup"))
+ writer.uint32(/* id 2, wireType 0 =*/16).bool(message.enableFastStartup);
+ return writer;
+ };
+
+ /**
+ * Encodes the specified SessionSpec message, length delimited. Does not implicitly {@link google.cloud.dataplex.v1.Environment.SessionSpec.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.cloud.dataplex.v1.Environment.SessionSpec
+ * @static
+ * @param {google.cloud.dataplex.v1.Environment.ISessionSpec} message SessionSpec message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ SessionSpec.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes a SessionSpec message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.cloud.dataplex.v1.Environment.SessionSpec
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.cloud.dataplex.v1.Environment.SessionSpec} SessionSpec
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ SessionSpec.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.dataplex.v1.Environment.SessionSpec();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ switch (tag >>> 3) {
+ case 1: {
+ message.maxIdleDuration = $root.google.protobuf.Duration.decode(reader, reader.uint32());
+ break;
+ }
+ case 2: {
+ message.enableFastStartup = reader.bool();
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes a SessionSpec message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.cloud.dataplex.v1.Environment.SessionSpec
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.cloud.dataplex.v1.Environment.SessionSpec} SessionSpec
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ SessionSpec.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies a SessionSpec message.
+ * @function verify
+ * @memberof google.cloud.dataplex.v1.Environment.SessionSpec
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ SessionSpec.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ if (message.maxIdleDuration != null && message.hasOwnProperty("maxIdleDuration")) {
+ var error = $root.google.protobuf.Duration.verify(message.maxIdleDuration);
+ if (error)
+ return "maxIdleDuration." + error;
+ }
+ if (message.enableFastStartup != null && message.hasOwnProperty("enableFastStartup"))
+ if (typeof message.enableFastStartup !== "boolean")
+ return "enableFastStartup: boolean expected";
+ return null;
+ };
+
+ /**
+ * Creates a SessionSpec message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.cloud.dataplex.v1.Environment.SessionSpec
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.cloud.dataplex.v1.Environment.SessionSpec} SessionSpec
+ */
+ SessionSpec.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.cloud.dataplex.v1.Environment.SessionSpec)
+ return object;
+ var message = new $root.google.cloud.dataplex.v1.Environment.SessionSpec();
+ if (object.maxIdleDuration != null) {
+ if (typeof object.maxIdleDuration !== "object")
+ throw TypeError(".google.cloud.dataplex.v1.Environment.SessionSpec.maxIdleDuration: object expected");
+ message.maxIdleDuration = $root.google.protobuf.Duration.fromObject(object.maxIdleDuration);
+ }
+ if (object.enableFastStartup != null)
+ message.enableFastStartup = Boolean(object.enableFastStartup);
+ return message;
+ };
+
+ /**
+ * Creates a plain object from a SessionSpec message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.cloud.dataplex.v1.Environment.SessionSpec
+ * @static
+ * @param {google.cloud.dataplex.v1.Environment.SessionSpec} message SessionSpec
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ SessionSpec.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.defaults) {
+ object.maxIdleDuration = null;
+ object.enableFastStartup = false;
+ }
+ if (message.maxIdleDuration != null && message.hasOwnProperty("maxIdleDuration"))
+ object.maxIdleDuration = $root.google.protobuf.Duration.toObject(message.maxIdleDuration, options);
+ if (message.enableFastStartup != null && message.hasOwnProperty("enableFastStartup"))
+ object.enableFastStartup = message.enableFastStartup;
+ return object;
+ };
+
+ /**
+ * Converts this SessionSpec to JSON.
+ * @function toJSON
+ * @memberof google.cloud.dataplex.v1.Environment.SessionSpec
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ SessionSpec.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for SessionSpec
+ * @function getTypeUrl
+ * @memberof google.cloud.dataplex.v1.Environment.SessionSpec
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ SessionSpec.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.cloud.dataplex.v1.Environment.SessionSpec";
+ };
+
+ return SessionSpec;
+ })();
+
+ Environment.SessionStatus = (function() {
+
+ /**
+ * Properties of a SessionStatus.
+ * @memberof google.cloud.dataplex.v1.Environment
+ * @interface ISessionStatus
+ * @property {boolean|null} [active] SessionStatus active
+ */
+
+ /**
+ * Constructs a new SessionStatus.
+ * @memberof google.cloud.dataplex.v1.Environment
+ * @classdesc Represents a SessionStatus.
+ * @implements ISessionStatus
+ * @constructor
+ * @param {google.cloud.dataplex.v1.Environment.ISessionStatus=} [properties] Properties to set
+ */
+ function SessionStatus(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]];
+ }
+
+ /**
+ * SessionStatus active.
+ * @member {boolean} active
+ * @memberof google.cloud.dataplex.v1.Environment.SessionStatus
+ * @instance
+ */
+ SessionStatus.prototype.active = false;
+
+ /**
+ * Creates a new SessionStatus instance using the specified properties.
+ * @function create
+ * @memberof google.cloud.dataplex.v1.Environment.SessionStatus
+ * @static
+ * @param {google.cloud.dataplex.v1.Environment.ISessionStatus=} [properties] Properties to set
+ * @returns {google.cloud.dataplex.v1.Environment.SessionStatus} SessionStatus instance
+ */
+ SessionStatus.create = function create(properties) {
+ return new SessionStatus(properties);
+ };
+
+ /**
+ * Encodes the specified SessionStatus message. Does not implicitly {@link google.cloud.dataplex.v1.Environment.SessionStatus.verify|verify} messages.
+ * @function encode
+ * @memberof google.cloud.dataplex.v1.Environment.SessionStatus
+ * @static
+ * @param {google.cloud.dataplex.v1.Environment.ISessionStatus} message SessionStatus message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ SessionStatus.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.active != null && Object.hasOwnProperty.call(message, "active"))
+ writer.uint32(/* id 1, wireType 0 =*/8).bool(message.active);
+ return writer;
+ };
+
+ /**
+ * Encodes the specified SessionStatus message, length delimited. Does not implicitly {@link google.cloud.dataplex.v1.Environment.SessionStatus.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.cloud.dataplex.v1.Environment.SessionStatus
+ * @static
+ * @param {google.cloud.dataplex.v1.Environment.ISessionStatus} message SessionStatus message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ SessionStatus.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes a SessionStatus message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.cloud.dataplex.v1.Environment.SessionStatus
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.cloud.dataplex.v1.Environment.SessionStatus} SessionStatus
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ SessionStatus.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.dataplex.v1.Environment.SessionStatus();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ switch (tag >>> 3) {
+ case 1: {
+ message.active = reader.bool();
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes a SessionStatus message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.cloud.dataplex.v1.Environment.SessionStatus
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.cloud.dataplex.v1.Environment.SessionStatus} SessionStatus
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ SessionStatus.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies a SessionStatus message.
+ * @function verify
+ * @memberof google.cloud.dataplex.v1.Environment.SessionStatus
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ SessionStatus.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ if (message.active != null && message.hasOwnProperty("active"))
+ if (typeof message.active !== "boolean")
+ return "active: boolean expected";
+ return null;
+ };
+
+ /**
+ * Creates a SessionStatus message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.cloud.dataplex.v1.Environment.SessionStatus
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.cloud.dataplex.v1.Environment.SessionStatus} SessionStatus
+ */
+ SessionStatus.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.cloud.dataplex.v1.Environment.SessionStatus)
+ return object;
+ var message = new $root.google.cloud.dataplex.v1.Environment.SessionStatus();
+ if (object.active != null)
+ message.active = Boolean(object.active);
+ return message;
+ };
+
+ /**
+ * Creates a plain object from a SessionStatus message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.cloud.dataplex.v1.Environment.SessionStatus
+ * @static
+ * @param {google.cloud.dataplex.v1.Environment.SessionStatus} message SessionStatus
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ SessionStatus.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.defaults)
+ object.active = false;
+ if (message.active != null && message.hasOwnProperty("active"))
+ object.active = message.active;
+ return object;
+ };
+
+ /**
+ * Converts this SessionStatus to JSON.
+ * @function toJSON
+ * @memberof google.cloud.dataplex.v1.Environment.SessionStatus
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ SessionStatus.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for SessionStatus
+ * @function getTypeUrl
+ * @memberof google.cloud.dataplex.v1.Environment.SessionStatus
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ SessionStatus.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.cloud.dataplex.v1.Environment.SessionStatus";
+ };
+
+ return SessionStatus;
+ })();
+
+ Environment.Endpoints = (function() {
+
+ /**
+ * Properties of an Endpoints.
+ * @memberof google.cloud.dataplex.v1.Environment
+ * @interface IEndpoints
+ * @property {string|null} [notebooks] Endpoints notebooks
+ * @property {string|null} [sql] Endpoints sql
+ */
+
+ /**
+ * Constructs a new Endpoints.
+ * @memberof google.cloud.dataplex.v1.Environment
+ * @classdesc Represents an Endpoints.
+ * @implements IEndpoints
+ * @constructor
+ * @param {google.cloud.dataplex.v1.Environment.IEndpoints=} [properties] Properties to set
+ */
+ function Endpoints(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]];
+ }
+
+ /**
+ * Endpoints notebooks.
+ * @member {string} notebooks
+ * @memberof google.cloud.dataplex.v1.Environment.Endpoints
+ * @instance
+ */
+ Endpoints.prototype.notebooks = "";
+
+ /**
+ * Endpoints sql.
+ * @member {string} sql
+ * @memberof google.cloud.dataplex.v1.Environment.Endpoints
+ * @instance
+ */
+ Endpoints.prototype.sql = "";
+
+ /**
+ * Creates a new Endpoints instance using the specified properties.
+ * @function create
+ * @memberof google.cloud.dataplex.v1.Environment.Endpoints
+ * @static
+ * @param {google.cloud.dataplex.v1.Environment.IEndpoints=} [properties] Properties to set
+ * @returns {google.cloud.dataplex.v1.Environment.Endpoints} Endpoints instance
+ */
+ Endpoints.create = function create(properties) {
+ return new Endpoints(properties);
+ };
+
+ /**
+ * Encodes the specified Endpoints message. Does not implicitly {@link google.cloud.dataplex.v1.Environment.Endpoints.verify|verify} messages.
+ * @function encode
+ * @memberof google.cloud.dataplex.v1.Environment.Endpoints
+ * @static
+ * @param {google.cloud.dataplex.v1.Environment.IEndpoints} message Endpoints message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ Endpoints.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.notebooks != null && Object.hasOwnProperty.call(message, "notebooks"))
+ writer.uint32(/* id 1, wireType 2 =*/10).string(message.notebooks);
+ if (message.sql != null && Object.hasOwnProperty.call(message, "sql"))
+ writer.uint32(/* id 2, wireType 2 =*/18).string(message.sql);
+ return writer;
+ };
+
+ /**
+ * Encodes the specified Endpoints message, length delimited. Does not implicitly {@link google.cloud.dataplex.v1.Environment.Endpoints.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.cloud.dataplex.v1.Environment.Endpoints
+ * @static
+ * @param {google.cloud.dataplex.v1.Environment.IEndpoints} message Endpoints message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ Endpoints.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes an Endpoints message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.cloud.dataplex.v1.Environment.Endpoints
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.cloud.dataplex.v1.Environment.Endpoints} Endpoints
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ Endpoints.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.dataplex.v1.Environment.Endpoints();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ switch (tag >>> 3) {
+ case 1: {
+ message.notebooks = reader.string();
+ break;
+ }
+ case 2: {
+ message.sql = reader.string();
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes an Endpoints message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.cloud.dataplex.v1.Environment.Endpoints
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.cloud.dataplex.v1.Environment.Endpoints} Endpoints
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ Endpoints.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies an Endpoints message.
+ * @function verify
+ * @memberof google.cloud.dataplex.v1.Environment.Endpoints
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ Endpoints.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ if (message.notebooks != null && message.hasOwnProperty("notebooks"))
+ if (!$util.isString(message.notebooks))
+ return "notebooks: string expected";
+ if (message.sql != null && message.hasOwnProperty("sql"))
+ if (!$util.isString(message.sql))
+ return "sql: string expected";
+ return null;
+ };
+
+ /**
+ * Creates an Endpoints message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.cloud.dataplex.v1.Environment.Endpoints
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.cloud.dataplex.v1.Environment.Endpoints} Endpoints
+ */
+ Endpoints.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.cloud.dataplex.v1.Environment.Endpoints)
+ return object;
+ var message = new $root.google.cloud.dataplex.v1.Environment.Endpoints();
+ if (object.notebooks != null)
+ message.notebooks = String(object.notebooks);
+ if (object.sql != null)
+ message.sql = String(object.sql);
+ return message;
+ };
+
+ /**
+ * Creates a plain object from an Endpoints message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.cloud.dataplex.v1.Environment.Endpoints
+ * @static
+ * @param {google.cloud.dataplex.v1.Environment.Endpoints} message Endpoints
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ Endpoints.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.defaults) {
+ object.notebooks = "";
+ object.sql = "";
+ }
+ if (message.notebooks != null && message.hasOwnProperty("notebooks"))
+ object.notebooks = message.notebooks;
+ if (message.sql != null && message.hasOwnProperty("sql"))
+ object.sql = message.sql;
+ return object;
+ };
+
+ /**
+ * Converts this Endpoints to JSON.
+ * @function toJSON
+ * @memberof google.cloud.dataplex.v1.Environment.Endpoints
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ Endpoints.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for Endpoints
+ * @function getTypeUrl
+ * @memberof google.cloud.dataplex.v1.Environment.Endpoints
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ Endpoints.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.cloud.dataplex.v1.Environment.Endpoints";
+ };
+
+ return Endpoints;
+ })();
+
+ return Environment;
+ })();
+
+ v1.Content = (function() {
+
+ /**
+ * Properties of a Content.
+ * @memberof google.cloud.dataplex.v1
+ * @interface IContent
+ * @property {string|null} [name] Content name
+ * @property {string|null} [uid] Content uid
+ * @property {string|null} [path] Content path
+ * @property {google.protobuf.ITimestamp|null} [createTime] Content createTime
+ * @property {google.protobuf.ITimestamp|null} [updateTime] Content updateTime
+ * @property {Object.|null} [labels] Content labels
+ * @property {string|null} [description] Content description
+ * @property {string|null} [dataText] Content dataText
+ * @property {google.cloud.dataplex.v1.Content.ISqlScript|null} [sqlScript] Content sqlScript
+ * @property {google.cloud.dataplex.v1.Content.INotebook|null} [notebook] Content notebook
+ */
+
+ /**
+ * Constructs a new Content.
+ * @memberof google.cloud.dataplex.v1
+ * @classdesc Represents a Content.
+ * @implements IContent
+ * @constructor
+ * @param {google.cloud.dataplex.v1.IContent=} [properties] Properties to set
+ */
+ function Content(properties) {
+ this.labels = {};
+ if (properties)
+ for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+ if (properties[keys[i]] != null)
+ this[keys[i]] = properties[keys[i]];
+ }
+
+ /**
+ * Content name.
+ * @member {string} name
+ * @memberof google.cloud.dataplex.v1.Content
+ * @instance
+ */
+ Content.prototype.name = "";
+
+ /**
+ * Content uid.
+ * @member {string} uid
+ * @memberof google.cloud.dataplex.v1.Content
+ * @instance
+ */
+ Content.prototype.uid = "";
+
+ /**
+ * Content path.
+ * @member {string} path
+ * @memberof google.cloud.dataplex.v1.Content
+ * @instance
+ */
+ Content.prototype.path = "";
+
+ /**
+ * Content createTime.
+ * @member {google.protobuf.ITimestamp|null|undefined} createTime
+ * @memberof google.cloud.dataplex.v1.Content
+ * @instance
+ */
+ Content.prototype.createTime = null;
+
+ /**
+ * Content updateTime.
+ * @member {google.protobuf.ITimestamp|null|undefined} updateTime
+ * @memberof google.cloud.dataplex.v1.Content
+ * @instance
+ */
+ Content.prototype.updateTime = null;
+
+ /**
+ * Content labels.
+ * @member {Object.} labels
+ * @memberof google.cloud.dataplex.v1.Content
+ * @instance
+ */
+ Content.prototype.labels = $util.emptyObject;
+
+ /**
+ * Content description.
+ * @member {string} description
+ * @memberof google.cloud.dataplex.v1.Content
+ * @instance
+ */
+ Content.prototype.description = "";
+
+ /**
+ * Content dataText.
+ * @member {string|null|undefined} dataText
+ * @memberof google.cloud.dataplex.v1.Content
+ * @instance
+ */
+ Content.prototype.dataText = null;
+
+ /**
+ * Content sqlScript.
+ * @member {google.cloud.dataplex.v1.Content.ISqlScript|null|undefined} sqlScript
+ * @memberof google.cloud.dataplex.v1.Content
+ * @instance
+ */
+ Content.prototype.sqlScript = null;
+
+ /**
+ * Content notebook.
+ * @member {google.cloud.dataplex.v1.Content.INotebook|null|undefined} notebook
+ * @memberof google.cloud.dataplex.v1.Content
+ * @instance
+ */
+ Content.prototype.notebook = null;
+
+ // OneOf field names bound to virtual getters and setters
+ var $oneOfFields;
+
+ /**
+ * Content data.
+ * @member {"dataText"|undefined} data
+ * @memberof google.cloud.dataplex.v1.Content
+ * @instance
+ */
+ Object.defineProperty(Content.prototype, "data", {
+ get: $util.oneOfGetter($oneOfFields = ["dataText"]),
+ set: $util.oneOfSetter($oneOfFields)
+ });
+
+ /**
+ * Content content.
+ * @member {"sqlScript"|"notebook"|undefined} content
+ * @memberof google.cloud.dataplex.v1.Content
+ * @instance
+ */
+ Object.defineProperty(Content.prototype, "content", {
+ get: $util.oneOfGetter($oneOfFields = ["sqlScript", "notebook"]),
+ set: $util.oneOfSetter($oneOfFields)
+ });
+
+ /**
+ * Creates a new Content instance using the specified properties.
+ * @function create
+ * @memberof google.cloud.dataplex.v1.Content
+ * @static
+ * @param {google.cloud.dataplex.v1.IContent=} [properties] Properties to set
+ * @returns {google.cloud.dataplex.v1.Content} Content instance
+ */
+ Content.create = function create(properties) {
+ return new Content(properties);
+ };
+
+ /**
+ * Encodes the specified Content message. Does not implicitly {@link google.cloud.dataplex.v1.Content.verify|verify} messages.
+ * @function encode
+ * @memberof google.cloud.dataplex.v1.Content
+ * @static
+ * @param {google.cloud.dataplex.v1.IContent} message Content message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ Content.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.path != null && Object.hasOwnProperty.call(message, "path"))
+ writer.uint32(/* id 3, wireType 2 =*/26).string(message.path);
+ if (message.createTime != null && Object.hasOwnProperty.call(message, "createTime"))
+ $root.google.protobuf.Timestamp.encode(message.createTime, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim();
+ if (message.updateTime != null && Object.hasOwnProperty.call(message, "updateTime"))
+ $root.google.protobuf.Timestamp.encode(message.updateTime, writer.uint32(/* id 5, wireType 2 =*/42).fork()).ldelim();
+ if (message.labels != null && Object.hasOwnProperty.call(message, "labels"))
+ for (var keys = Object.keys(message.labels), i = 0; i < keys.length; ++i)
+ writer.uint32(/* id 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.description != null && Object.hasOwnProperty.call(message, "description"))
+ writer.uint32(/* id 7, wireType 2 =*/58).string(message.description);
+ if (message.dataText != null && Object.hasOwnProperty.call(message, "dataText"))
+ writer.uint32(/* id 9, wireType 2 =*/74).string(message.dataText);
+ if (message.sqlScript != null && Object.hasOwnProperty.call(message, "sqlScript"))
+ $root.google.cloud.dataplex.v1.Content.SqlScript.encode(message.sqlScript, writer.uint32(/* id 100, wireType 2 =*/802).fork()).ldelim();
+ if (message.notebook != null && Object.hasOwnProperty.call(message, "notebook"))
+ $root.google.cloud.dataplex.v1.Content.Notebook.encode(message.notebook, writer.uint32(/* id 101, wireType 2 =*/810).fork()).ldelim();
+ return writer;
+ };
+
+ /**
+ * Encodes the specified Content message, length delimited. Does not implicitly {@link google.cloud.dataplex.v1.Content.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.cloud.dataplex.v1.Content
+ * @static
+ * @param {google.cloud.dataplex.v1.IContent} message Content message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ Content.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes a Content message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.cloud.dataplex.v1.Content
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.cloud.dataplex.v1.Content} Content
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ Content.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.dataplex.v1.Content(), 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.path = reader.string();
+ break;
+ }
+ case 4: {
+ message.createTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32());
+ break;
+ }
+ case 5: {
+ message.updateTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32());
+ 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 7: {
+ message.description = reader.string();
+ break;
+ }
+ case 9: {
+ message.dataText = reader.string();
+ break;
+ }
+ case 100: {
+ message.sqlScript = $root.google.cloud.dataplex.v1.Content.SqlScript.decode(reader, reader.uint32());
+ break;
+ }
+ case 101: {
+ message.notebook = $root.google.cloud.dataplex.v1.Content.Notebook.decode(reader, reader.uint32());
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes a Content message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.cloud.dataplex.v1.Content
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.cloud.dataplex.v1.Content} Content
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ Content.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies a Content message.
+ * @function verify
+ * @memberof google.cloud.dataplex.v1.Content
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ Content.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.path != null && message.hasOwnProperty("path"))
+ if (!$util.isString(message.path))
+ return "path: string expected";
+ if (message.createTime != null && message.hasOwnProperty("createTime")) {
+ var error = $root.google.protobuf.Timestamp.verify(message.createTime);
+ if (error)
+ return "createTime." + error;
+ }
+ if (message.updateTime != null && message.hasOwnProperty("updateTime")) {
+ var error = $root.google.protobuf.Timestamp.verify(message.updateTime);
+ if (error)
+ return "updateTime." + error;
+ }
+ if (message.labels != null && message.hasOwnProperty("labels")) {
+ if (!$util.isObject(message.labels))
+ return "labels: object expected";
+ var key = Object.keys(message.labels);
+ for (var i = 0; i < key.length; ++i)
+ if (!$util.isString(message.labels[key[i]]))
+ return "labels: string{k:string} expected";
+ }
+ if (message.description != null && message.hasOwnProperty("description"))
+ if (!$util.isString(message.description))
+ return "description: string expected";
+ if (message.dataText != null && message.hasOwnProperty("dataText")) {
+ properties.data = 1;
+ if (!$util.isString(message.dataText))
+ return "dataText: string expected";
+ }
+ if (message.sqlScript != null && message.hasOwnProperty("sqlScript")) {
+ properties.content = 1;
+ {
+ var error = $root.google.cloud.dataplex.v1.Content.SqlScript.verify(message.sqlScript);
+ if (error)
+ return "sqlScript." + error;
+ }
+ }
+ if (message.notebook != null && message.hasOwnProperty("notebook")) {
+ if (properties.content === 1)
+ return "content: multiple values";
+ properties.content = 1;
+ {
+ var error = $root.google.cloud.dataplex.v1.Content.Notebook.verify(message.notebook);
+ if (error)
+ return "notebook." + error;
+ }
+ }
+ return null;
+ };
+
+ /**
+ * Creates a Content message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.cloud.dataplex.v1.Content
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.cloud.dataplex.v1.Content} Content
+ */
+ Content.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.cloud.dataplex.v1.Content)
+ return object;
+ var message = new $root.google.cloud.dataplex.v1.Content();
+ if (object.name != null)
+ message.name = String(object.name);
+ if (object.uid != null)
+ message.uid = String(object.uid);
+ if (object.path != null)
+ message.path = String(object.path);
+ if (object.createTime != null) {
+ if (typeof object.createTime !== "object")
+ throw TypeError(".google.cloud.dataplex.v1.Content.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.dataplex.v1.Content.updateTime: object expected");
+ message.updateTime = $root.google.protobuf.Timestamp.fromObject(object.updateTime);
+ }
+ if (object.labels) {
+ if (typeof object.labels !== "object")
+ throw TypeError(".google.cloud.dataplex.v1.Content.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.description != null)
+ message.description = String(object.description);
+ if (object.dataText != null)
+ message.dataText = String(object.dataText);
+ if (object.sqlScript != null) {
+ if (typeof object.sqlScript !== "object")
+ throw TypeError(".google.cloud.dataplex.v1.Content.sqlScript: object expected");
+ message.sqlScript = $root.google.cloud.dataplex.v1.Content.SqlScript.fromObject(object.sqlScript);
+ }
+ if (object.notebook != null) {
+ if (typeof object.notebook !== "object")
+ throw TypeError(".google.cloud.dataplex.v1.Content.notebook: object expected");
+ message.notebook = $root.google.cloud.dataplex.v1.Content.Notebook.fromObject(object.notebook);
+ }
+ return message;
+ };
+
+ /**
+ * Creates a plain object from a Content message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.cloud.dataplex.v1.Content
+ * @static
+ * @param {google.cloud.dataplex.v1.Content} message Content
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ Content.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.objects || options.defaults)
+ object.labels = {};
+ if (options.defaults) {
+ object.name = "";
+ object.uid = "";
+ object.path = "";
+ object.createTime = null;
+ object.updateTime = null;
+ object.description = "";
+ }
+ if (message.name != null && message.hasOwnProperty("name"))
+ object.name = message.name;
+ if (message.uid != null && message.hasOwnProperty("uid"))
+ object.uid = message.uid;
+ if (message.path != null && message.hasOwnProperty("path"))
+ object.path = message.path;
+ if (message.createTime != null && message.hasOwnProperty("createTime"))
+ object.createTime = $root.google.protobuf.Timestamp.toObject(message.createTime, options);
+ if (message.updateTime != null && message.hasOwnProperty("updateTime"))
+ object.updateTime = $root.google.protobuf.Timestamp.toObject(message.updateTime, options);
+ var keys2;
+ if (message.labels && (keys2 = Object.keys(message.labels)).length) {
+ object.labels = {};
+ for (var j = 0; j < keys2.length; ++j)
+ object.labels[keys2[j]] = message.labels[keys2[j]];
+ }
+ if (message.description != null && message.hasOwnProperty("description"))
+ object.description = message.description;
+ if (message.dataText != null && message.hasOwnProperty("dataText")) {
+ object.dataText = message.dataText;
+ if (options.oneofs)
+ object.data = "dataText";
+ }
+ if (message.sqlScript != null && message.hasOwnProperty("sqlScript")) {
+ object.sqlScript = $root.google.cloud.dataplex.v1.Content.SqlScript.toObject(message.sqlScript, options);
+ if (options.oneofs)
+ object.content = "sqlScript";
+ }
+ if (message.notebook != null && message.hasOwnProperty("notebook")) {
+ object.notebook = $root.google.cloud.dataplex.v1.Content.Notebook.toObject(message.notebook, options);
+ if (options.oneofs)
+ object.content = "notebook";
+ }
+ return object;
+ };
+
+ /**
+ * Converts this Content to JSON.
+ * @function toJSON
+ * @memberof google.cloud.dataplex.v1.Content
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ Content.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for Content
+ * @function getTypeUrl
+ * @memberof google.cloud.dataplex.v1.Content
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ Content.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.cloud.dataplex.v1.Content";
+ };
+
+ Content.SqlScript = (function() {
+
+ /**
+ * Properties of a SqlScript.
+ * @memberof google.cloud.dataplex.v1.Content
+ * @interface ISqlScript
+ * @property {google.cloud.dataplex.v1.Content.SqlScript.QueryEngine|null} [engine] SqlScript engine
+ */
+
+ /**
+ * Constructs a new SqlScript.
+ * @memberof google.cloud.dataplex.v1.Content
+ * @classdesc Represents a SqlScript.
+ * @implements ISqlScript
+ * @constructor
+ * @param {google.cloud.dataplex.v1.Content.ISqlScript=} [properties] Properties to set
+ */
+ function SqlScript(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]];
+ }
+
+ /**
+ * SqlScript engine.
+ * @member {google.cloud.dataplex.v1.Content.SqlScript.QueryEngine} engine
+ * @memberof google.cloud.dataplex.v1.Content.SqlScript
+ * @instance
+ */
+ SqlScript.prototype.engine = 0;
+
+ /**
+ * Creates a new SqlScript instance using the specified properties.
+ * @function create
+ * @memberof google.cloud.dataplex.v1.Content.SqlScript
+ * @static
+ * @param {google.cloud.dataplex.v1.Content.ISqlScript=} [properties] Properties to set
+ * @returns {google.cloud.dataplex.v1.Content.SqlScript} SqlScript instance
+ */
+ SqlScript.create = function create(properties) {
+ return new SqlScript(properties);
+ };
+
+ /**
+ * Encodes the specified SqlScript message. Does not implicitly {@link google.cloud.dataplex.v1.Content.SqlScript.verify|verify} messages.
+ * @function encode
+ * @memberof google.cloud.dataplex.v1.Content.SqlScript
+ * @static
+ * @param {google.cloud.dataplex.v1.Content.ISqlScript} message SqlScript message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ SqlScript.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.engine != null && Object.hasOwnProperty.call(message, "engine"))
+ writer.uint32(/* id 1, wireType 0 =*/8).int32(message.engine);
+ return writer;
+ };
+
+ /**
+ * Encodes the specified SqlScript message, length delimited. Does not implicitly {@link google.cloud.dataplex.v1.Content.SqlScript.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.cloud.dataplex.v1.Content.SqlScript
+ * @static
+ * @param {google.cloud.dataplex.v1.Content.ISqlScript} message SqlScript message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ SqlScript.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes a SqlScript message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.cloud.dataplex.v1.Content.SqlScript
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.cloud.dataplex.v1.Content.SqlScript} SqlScript
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ SqlScript.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.dataplex.v1.Content.SqlScript();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ switch (tag >>> 3) {
+ case 1: {
+ message.engine = reader.int32();
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes a SqlScript message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.cloud.dataplex.v1.Content.SqlScript
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.cloud.dataplex.v1.Content.SqlScript} SqlScript
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ SqlScript.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies a SqlScript message.
+ * @function verify
+ * @memberof google.cloud.dataplex.v1.Content.SqlScript
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ SqlScript.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ if (message.engine != null && message.hasOwnProperty("engine"))
+ switch (message.engine) {
+ default:
+ return "engine: enum value expected";
+ case 0:
+ case 2:
+ break;
+ }
+ return null;
+ };
+
+ /**
+ * Creates a SqlScript message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.cloud.dataplex.v1.Content.SqlScript
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.cloud.dataplex.v1.Content.SqlScript} SqlScript
+ */
+ SqlScript.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.cloud.dataplex.v1.Content.SqlScript)
+ return object;
+ var message = new $root.google.cloud.dataplex.v1.Content.SqlScript();
+ switch (object.engine) {
+ case "QUERY_ENGINE_UNSPECIFIED":
+ case 0:
+ message.engine = 0;
+ break;
+ case "SPARK":
+ case 2:
+ message.engine = 2;
+ break;
+ }
+ return message;
+ };
+
+ /**
+ * Creates a plain object from a SqlScript message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.cloud.dataplex.v1.Content.SqlScript
+ * @static
+ * @param {google.cloud.dataplex.v1.Content.SqlScript} message SqlScript
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ SqlScript.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.defaults)
+ object.engine = options.enums === String ? "QUERY_ENGINE_UNSPECIFIED" : 0;
+ if (message.engine != null && message.hasOwnProperty("engine"))
+ object.engine = options.enums === String ? $root.google.cloud.dataplex.v1.Content.SqlScript.QueryEngine[message.engine] : message.engine;
+ return object;
+ };
+
+ /**
+ * Converts this SqlScript to JSON.
+ * @function toJSON
+ * @memberof google.cloud.dataplex.v1.Content.SqlScript
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ SqlScript.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for SqlScript
+ * @function getTypeUrl
+ * @memberof google.cloud.dataplex.v1.Content.SqlScript
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ SqlScript.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.cloud.dataplex.v1.Content.SqlScript";
+ };
+
+ /**
+ * QueryEngine enum.
+ * @name google.cloud.dataplex.v1.Content.SqlScript.QueryEngine
+ * @enum {number}
+ * @property {number} QUERY_ENGINE_UNSPECIFIED=0 QUERY_ENGINE_UNSPECIFIED value
+ * @property {number} SPARK=2 SPARK value
+ */
+ SqlScript.QueryEngine = (function() {
+ var valuesById = {}, values = Object.create(valuesById);
+ values[valuesById[0] = "QUERY_ENGINE_UNSPECIFIED"] = 0;
+ values[valuesById[2] = "SPARK"] = 2;
+ return values;
+ })();
+
+ return SqlScript;
+ })();
+
+ Content.Notebook = (function() {
+
+ /**
+ * Properties of a Notebook.
+ * @memberof google.cloud.dataplex.v1.Content
+ * @interface INotebook
+ * @property {google.cloud.dataplex.v1.Content.Notebook.KernelType|null} [kernelType] Notebook kernelType
+ */
+
+ /**
+ * Constructs a new Notebook.
+ * @memberof google.cloud.dataplex.v1.Content
+ * @classdesc Represents a Notebook.
+ * @implements INotebook
+ * @constructor
+ * @param {google.cloud.dataplex.v1.Content.INotebook=} [properties] Properties to set
+ */
+ function Notebook(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]];
+ }
+
+ /**
+ * Notebook kernelType.
+ * @member {google.cloud.dataplex.v1.Content.Notebook.KernelType} kernelType
+ * @memberof google.cloud.dataplex.v1.Content.Notebook
+ * @instance
+ */
+ Notebook.prototype.kernelType = 0;
+
+ /**
+ * Creates a new Notebook instance using the specified properties.
+ * @function create
+ * @memberof google.cloud.dataplex.v1.Content.Notebook
+ * @static
+ * @param {google.cloud.dataplex.v1.Content.INotebook=} [properties] Properties to set
+ * @returns {google.cloud.dataplex.v1.Content.Notebook} Notebook instance
+ */
+ Notebook.create = function create(properties) {
+ return new Notebook(properties);
+ };
+
+ /**
+ * Encodes the specified Notebook message. Does not implicitly {@link google.cloud.dataplex.v1.Content.Notebook.verify|verify} messages.
+ * @function encode
+ * @memberof google.cloud.dataplex.v1.Content.Notebook
+ * @static
+ * @param {google.cloud.dataplex.v1.Content.INotebook} message Notebook message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ Notebook.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.kernelType != null && Object.hasOwnProperty.call(message, "kernelType"))
+ writer.uint32(/* id 1, wireType 0 =*/8).int32(message.kernelType);
+ return writer;
+ };
+
+ /**
+ * Encodes the specified Notebook message, length delimited. Does not implicitly {@link google.cloud.dataplex.v1.Content.Notebook.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.cloud.dataplex.v1.Content.Notebook
+ * @static
+ * @param {google.cloud.dataplex.v1.Content.INotebook} message Notebook message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ Notebook.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes a Notebook message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.cloud.dataplex.v1.Content.Notebook
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.cloud.dataplex.v1.Content.Notebook} Notebook
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ Notebook.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.dataplex.v1.Content.Notebook();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ switch (tag >>> 3) {
+ case 1: {
+ message.kernelType = reader.int32();
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes a Notebook message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.cloud.dataplex.v1.Content.Notebook
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.cloud.dataplex.v1.Content.Notebook} Notebook
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ Notebook.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies a Notebook message.
+ * @function verify
+ * @memberof google.cloud.dataplex.v1.Content.Notebook
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ Notebook.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ if (message.kernelType != null && message.hasOwnProperty("kernelType"))
+ switch (message.kernelType) {
+ default:
+ return "kernelType: enum value expected";
+ case 0:
+ case 1:
+ break;
+ }
+ return null;
+ };
+
+ /**
+ * Creates a Notebook message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.cloud.dataplex.v1.Content.Notebook
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.cloud.dataplex.v1.Content.Notebook} Notebook
+ */
+ Notebook.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.cloud.dataplex.v1.Content.Notebook)
+ return object;
+ var message = new $root.google.cloud.dataplex.v1.Content.Notebook();
+ switch (object.kernelType) {
+ case "KERNEL_TYPE_UNSPECIFIED":
+ case 0:
+ message.kernelType = 0;
+ break;
+ case "PYTHON3":
+ case 1:
+ message.kernelType = 1;
+ break;
+ }
+ return message;
+ };
+
+ /**
+ * Creates a plain object from a Notebook message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.cloud.dataplex.v1.Content.Notebook
+ * @static
+ * @param {google.cloud.dataplex.v1.Content.Notebook} message Notebook
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ Notebook.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.defaults)
+ object.kernelType = options.enums === String ? "KERNEL_TYPE_UNSPECIFIED" : 0;
+ if (message.kernelType != null && message.hasOwnProperty("kernelType"))
+ object.kernelType = options.enums === String ? $root.google.cloud.dataplex.v1.Content.Notebook.KernelType[message.kernelType] : message.kernelType;
+ return object;
+ };
+
+ /**
+ * Converts this Notebook to JSON.
+ * @function toJSON
+ * @memberof google.cloud.dataplex.v1.Content.Notebook
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ Notebook.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for Notebook
+ * @function getTypeUrl
+ * @memberof google.cloud.dataplex.v1.Content.Notebook
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ Notebook.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.cloud.dataplex.v1.Content.Notebook";
+ };
+
+ /**
+ * KernelType enum.
+ * @name google.cloud.dataplex.v1.Content.Notebook.KernelType
+ * @enum {number}
+ * @property {number} KERNEL_TYPE_UNSPECIFIED=0 KERNEL_TYPE_UNSPECIFIED value
+ * @property {number} PYTHON3=1 PYTHON3 value
+ */
+ Notebook.KernelType = (function() {
+ var valuesById = {}, values = Object.create(valuesById);
+ values[valuesById[0] = "KERNEL_TYPE_UNSPECIFIED"] = 0;
+ values[valuesById[1] = "PYTHON3"] = 1;
+ return values;
+ })();
+
+ return Notebook;
+ })();
+
+ return Content;
+ })();
+
+ v1.Session = (function() {
+
+ /**
+ * Properties of a Session.
+ * @memberof google.cloud.dataplex.v1
+ * @interface ISession
+ * @property {string|null} [name] Session name
+ * @property {string|null} [userId] Session userId
+ * @property {google.protobuf.ITimestamp|null} [createTime] Session createTime
+ * @property {google.cloud.dataplex.v1.State|null} [state] Session state
+ */
+
+ /**
+ * Constructs a new Session.
+ * @memberof google.cloud.dataplex.v1
+ * @classdesc Represents a Session.
+ * @implements ISession
+ * @constructor
+ * @param {google.cloud.dataplex.v1.ISession=} [properties] Properties to set
+ */
+ function Session(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]];
+ }
+
+ /**
+ * Session name.
+ * @member {string} name
+ * @memberof google.cloud.dataplex.v1.Session
+ * @instance
+ */
+ Session.prototype.name = "";
+
+ /**
+ * Session userId.
+ * @member {string} userId
+ * @memberof google.cloud.dataplex.v1.Session
+ * @instance
+ */
+ Session.prototype.userId = "";
+
+ /**
+ * Session createTime.
+ * @member {google.protobuf.ITimestamp|null|undefined} createTime
+ * @memberof google.cloud.dataplex.v1.Session
+ * @instance
+ */
+ Session.prototype.createTime = null;
+
+ /**
+ * Session state.
+ * @member {google.cloud.dataplex.v1.State} state
+ * @memberof google.cloud.dataplex.v1.Session
+ * @instance
+ */
+ Session.prototype.state = 0;
+
+ /**
+ * Creates a new Session instance using the specified properties.
+ * @function create
+ * @memberof google.cloud.dataplex.v1.Session
+ * @static
+ * @param {google.cloud.dataplex.v1.ISession=} [properties] Properties to set
+ * @returns {google.cloud.dataplex.v1.Session} Session instance
+ */
+ Session.create = function create(properties) {
+ return new Session(properties);
+ };
+
+ /**
+ * Encodes the specified Session message. Does not implicitly {@link google.cloud.dataplex.v1.Session.verify|verify} messages.
+ * @function encode
+ * @memberof google.cloud.dataplex.v1.Session
+ * @static
+ * @param {google.cloud.dataplex.v1.ISession} message Session message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ Session.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.userId != null && Object.hasOwnProperty.call(message, "userId"))
+ writer.uint32(/* id 2, wireType 2 =*/18).string(message.userId);
+ if (message.createTime != null && Object.hasOwnProperty.call(message, "createTime"))
+ $root.google.protobuf.Timestamp.encode(message.createTime, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim();
+ if (message.state != null && Object.hasOwnProperty.call(message, "state"))
+ writer.uint32(/* id 4, wireType 0 =*/32).int32(message.state);
+ return writer;
+ };
+
+ /**
+ * Encodes the specified Session message, length delimited. Does not implicitly {@link google.cloud.dataplex.v1.Session.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.cloud.dataplex.v1.Session
+ * @static
+ * @param {google.cloud.dataplex.v1.ISession} message Session message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ Session.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes a Session message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.cloud.dataplex.v1.Session
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.cloud.dataplex.v1.Session} Session
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ Session.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.dataplex.v1.Session();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ switch (tag >>> 3) {
+ case 1: {
+ message.name = reader.string();
+ break;
+ }
+ case 2: {
+ message.userId = reader.string();
+ break;
+ }
+ case 3: {
+ message.createTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32());
+ break;
+ }
+ case 4: {
+ message.state = reader.int32();
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes a Session message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.cloud.dataplex.v1.Session
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.cloud.dataplex.v1.Session} Session
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ Session.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies a Session message.
+ * @function verify
+ * @memberof google.cloud.dataplex.v1.Session
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ Session.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.userId != null && message.hasOwnProperty("userId"))
+ if (!$util.isString(message.userId))
+ return "userId: 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.state != null && message.hasOwnProperty("state"))
+ switch (message.state) {
+ default:
+ return "state: enum value expected";
+ case 0:
+ case 1:
+ case 2:
+ case 3:
+ case 4:
+ break;
+ }
+ return null;
+ };
+
+ /**
+ * Creates a Session message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.cloud.dataplex.v1.Session
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.cloud.dataplex.v1.Session} Session
+ */
+ Session.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.cloud.dataplex.v1.Session)
+ return object;
+ var message = new $root.google.cloud.dataplex.v1.Session();
+ if (object.name != null)
+ message.name = String(object.name);
+ if (object.userId != null)
+ message.userId = String(object.userId);
+ if (object.createTime != null) {
+ if (typeof object.createTime !== "object")
+ throw TypeError(".google.cloud.dataplex.v1.Session.createTime: object expected");
+ message.createTime = $root.google.protobuf.Timestamp.fromObject(object.createTime);
+ }
+ switch (object.state) {
+ case "STATE_UNSPECIFIED":
+ case 0:
+ message.state = 0;
+ break;
+ case "ACTIVE":
+ case 1:
+ message.state = 1;
+ break;
+ case "CREATING":
+ case 2:
+ message.state = 2;
+ break;
+ case "DELETING":
+ case 3:
+ message.state = 3;
+ break;
+ case "ACTION_REQUIRED":
+ case 4:
+ message.state = 4;
+ break;
+ }
+ return message;
+ };
+
+ /**
+ * Creates a plain object from a Session message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.cloud.dataplex.v1.Session
+ * @static
+ * @param {google.cloud.dataplex.v1.Session} message Session
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ Session.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.defaults) {
+ object.name = "";
+ object.userId = "";
+ object.createTime = null;
+ object.state = options.enums === String ? "STATE_UNSPECIFIED" : 0;
+ }
+ if (message.name != null && message.hasOwnProperty("name"))
+ object.name = message.name;
+ if (message.userId != null && message.hasOwnProperty("userId"))
+ object.userId = message.userId;
+ if (message.createTime != null && message.hasOwnProperty("createTime"))
+ object.createTime = $root.google.protobuf.Timestamp.toObject(message.createTime, options);
+ if (message.state != null && message.hasOwnProperty("state"))
+ object.state = options.enums === String ? $root.google.cloud.dataplex.v1.State[message.state] : message.state;
+ return object;
+ };
+
+ /**
+ * Converts this Session to JSON.
+ * @function toJSON
+ * @memberof google.cloud.dataplex.v1.Session
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ Session.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for Session
+ * @function getTypeUrl
+ * @memberof google.cloud.dataplex.v1.Session
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ Session.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.cloud.dataplex.v1.Session";
+ };
+
+ return Session;
+ })();
+
+ v1.Lake = (function() {
+
+ /**
+ * Properties of a Lake.
+ * @memberof google.cloud.dataplex.v1
+ * @interface ILake
+ * @property {string|null} [name] Lake name
+ * @property {string|null} [displayName] Lake displayName
+ * @property {string|null} [uid] Lake uid
+ * @property {google.protobuf.ITimestamp|null} [createTime] Lake createTime
+ * @property {google.protobuf.ITimestamp|null} [updateTime] Lake updateTime
+ * @property {Object.|null} [labels] Lake labels
+ * @property {string|null} [description] Lake description
+ * @property {google.cloud.dataplex.v1.Lake.MetastoreStatus.State|null} [state] Lake state
+ * @property {string|null} [serviceAccount] Lake serviceAccount
+ * @property {google.cloud.dataplex.v1.Lake.IMetastore|null} [metastore] Lake metastore
+ * @property {google.cloud.dataplex.v1.IAssetStatus|null} [assetStatus] Lake assetStatus
+ * @property {google.cloud.dataplex.v1.Lake.IMetastoreStatus|null} [metastoreStatus] Lake metastoreStatus
+ */
+
+ /**
+ * Constructs a new Lake.
+ * @memberof google.cloud.dataplex.v1
+ * @classdesc Represents a Lake.
+ * @implements ILake
+ * @constructor
+ * @param {google.cloud.dataplex.v1.ILake=} [properties] Properties to set
+ */
+ function Lake(properties) {
+ this.labels = {};
+ if (properties)
+ for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+ if (properties[keys[i]] != null)
+ this[keys[i]] = properties[keys[i]];
+ }
+
+ /**
+ * Lake name.
+ * @member {string} name
+ * @memberof google.cloud.dataplex.v1.Lake
+ * @instance
+ */
+ Lake.prototype.name = "";
+
+ /**
+ * Lake displayName.
+ * @member {string} displayName
+ * @memberof google.cloud.dataplex.v1.Lake
+ * @instance
+ */
+ Lake.prototype.displayName = "";
+
+ /**
+ * Lake uid.
+ * @member {string} uid
+ * @memberof google.cloud.dataplex.v1.Lake
+ * @instance
+ */
+ Lake.prototype.uid = "";
+
+ /**
+ * Lake createTime.
+ * @member {google.protobuf.ITimestamp|null|undefined} createTime
+ * @memberof google.cloud.dataplex.v1.Lake
+ * @instance
+ */
+ Lake.prototype.createTime = null;
+
+ /**
+ * Lake updateTime.
+ * @member {google.protobuf.ITimestamp|null|undefined} updateTime
+ * @memberof google.cloud.dataplex.v1.Lake
+ * @instance
+ */
+ Lake.prototype.updateTime = null;
+
+ /**
+ * Lake labels.
+ * @member {Object.} labels
+ * @memberof google.cloud.dataplex.v1.Lake
+ * @instance
+ */
+ Lake.prototype.labels = $util.emptyObject;
+
+ /**
+ * Lake description.
+ * @member {string} description
+ * @memberof google.cloud.dataplex.v1.Lake
+ * @instance
+ */
+ Lake.prototype.description = "";
+
+ /**
+ * Lake state.
+ * @member {google.cloud.dataplex.v1.Lake.MetastoreStatus.State} state
+ * @memberof google.cloud.dataplex.v1.Lake
+ * @instance
+ */
+ Lake.prototype.state = 0;
+
+ /**
+ * Lake serviceAccount.
+ * @member {string} serviceAccount
+ * @memberof google.cloud.dataplex.v1.Lake
+ * @instance
+ */
+ Lake.prototype.serviceAccount = "";
+
+ /**
+ * Lake metastore.
+ * @member {google.cloud.dataplex.v1.Lake.IMetastore|null|undefined} metastore
+ * @memberof google.cloud.dataplex.v1.Lake
+ * @instance
+ */
+ Lake.prototype.metastore = null;
+
+ /**
+ * Lake assetStatus.
+ * @member {google.cloud.dataplex.v1.IAssetStatus|null|undefined} assetStatus
+ * @memberof google.cloud.dataplex.v1.Lake
+ * @instance
+ */
+ Lake.prototype.assetStatus = null;
+
+ /**
+ * Lake metastoreStatus.
+ * @member {google.cloud.dataplex.v1.Lake.IMetastoreStatus|null|undefined} metastoreStatus
+ * @memberof google.cloud.dataplex.v1.Lake
+ * @instance
+ */
+ Lake.prototype.metastoreStatus = null;
+
+ /**
+ * Creates a new Lake instance using the specified properties.
+ * @function create
+ * @memberof google.cloud.dataplex.v1.Lake
+ * @static
+ * @param {google.cloud.dataplex.v1.ILake=} [properties] Properties to set
+ * @returns {google.cloud.dataplex.v1.Lake} Lake instance
+ */
+ Lake.create = function create(properties) {
+ return new Lake(properties);
+ };
+
+ /**
+ * Encodes the specified Lake message. Does not implicitly {@link google.cloud.dataplex.v1.Lake.verify|verify} messages.
+ * @function encode
+ * @memberof google.cloud.dataplex.v1.Lake
+ * @static
+ * @param {google.cloud.dataplex.v1.ILake} message Lake message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ Lake.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.displayName != null && Object.hasOwnProperty.call(message, "displayName"))
+ writer.uint32(/* id 2, wireType 2 =*/18).string(message.displayName);
+ if (message.uid != null && Object.hasOwnProperty.call(message, "uid"))
+ writer.uint32(/* id 3, wireType 2 =*/26).string(message.uid);
+ if (message.createTime != null && Object.hasOwnProperty.call(message, "createTime"))
+ $root.google.protobuf.Timestamp.encode(message.createTime, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim();
+ if (message.updateTime != null && Object.hasOwnProperty.call(message, "updateTime"))
+ $root.google.protobuf.Timestamp.encode(message.updateTime, writer.uint32(/* id 5, wireType 2 =*/42).fork()).ldelim();
+ if (message.labels != null && Object.hasOwnProperty.call(message, "labels"))
+ for (var keys = Object.keys(message.labels), i = 0; i < keys.length; ++i)
+ writer.uint32(/* id 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.description != null && Object.hasOwnProperty.call(message, "description"))
+ writer.uint32(/* id 7, wireType 2 =*/58).string(message.description);
+ if (message.state != null && Object.hasOwnProperty.call(message, "state"))
+ writer.uint32(/* id 8, wireType 0 =*/64).int32(message.state);
+ if (message.serviceAccount != null && Object.hasOwnProperty.call(message, "serviceAccount"))
+ writer.uint32(/* id 9, wireType 2 =*/74).string(message.serviceAccount);
+ if (message.metastore != null && Object.hasOwnProperty.call(message, "metastore"))
+ $root.google.cloud.dataplex.v1.Lake.Metastore.encode(message.metastore, writer.uint32(/* id 102, wireType 2 =*/818).fork()).ldelim();
+ if (message.assetStatus != null && Object.hasOwnProperty.call(message, "assetStatus"))
+ $root.google.cloud.dataplex.v1.AssetStatus.encode(message.assetStatus, writer.uint32(/* id 103, wireType 2 =*/826).fork()).ldelim();
+ if (message.metastoreStatus != null && Object.hasOwnProperty.call(message, "metastoreStatus"))
+ $root.google.cloud.dataplex.v1.Lake.MetastoreStatus.encode(message.metastoreStatus, writer.uint32(/* id 104, wireType 2 =*/834).fork()).ldelim();
+ return writer;
+ };
+
+ /**
+ * Encodes the specified Lake message, length delimited. Does not implicitly {@link google.cloud.dataplex.v1.Lake.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.cloud.dataplex.v1.Lake
+ * @static
+ * @param {google.cloud.dataplex.v1.ILake} message Lake message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ Lake.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes a Lake message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.cloud.dataplex.v1.Lake
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.cloud.dataplex.v1.Lake} Lake
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ Lake.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.dataplex.v1.Lake(), key, value;
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ switch (tag >>> 3) {
+ case 1: {
+ message.name = reader.string();
+ break;
+ }
+ case 2: {
+ message.displayName = reader.string();
+ break;
+ }
+ case 3: {
+ message.uid = reader.string();
+ break;
+ }
+ case 4: {
+ message.createTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32());
+ break;
+ }
+ case 5: {
+ message.updateTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32());
+ 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 7: {
+ message.description = reader.string();
+ break;
+ }
+ case 8: {
+ message.state = reader.int32();
+ break;
+ }
+ case 9: {
+ message.serviceAccount = reader.string();
+ break;
+ }
+ case 102: {
+ message.metastore = $root.google.cloud.dataplex.v1.Lake.Metastore.decode(reader, reader.uint32());
+ break;
+ }
+ case 103: {
+ message.assetStatus = $root.google.cloud.dataplex.v1.AssetStatus.decode(reader, reader.uint32());
+ break;
+ }
+ case 104: {
+ message.metastoreStatus = $root.google.cloud.dataplex.v1.Lake.MetastoreStatus.decode(reader, reader.uint32());
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes a Lake message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.cloud.dataplex.v1.Lake
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.cloud.dataplex.v1.Lake} Lake
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ Lake.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies a Lake message.
+ * @function verify
+ * @memberof google.cloud.dataplex.v1.Lake
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ Lake.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.displayName != null && message.hasOwnProperty("displayName"))
+ if (!$util.isString(message.displayName))
+ return "displayName: string expected";
+ if (message.uid != null && message.hasOwnProperty("uid"))
+ if (!$util.isString(message.uid))
+ return "uid: string expected";
+ if (message.createTime != null && message.hasOwnProperty("createTime")) {
+ var error = $root.google.protobuf.Timestamp.verify(message.createTime);
+ if (error)
+ return "createTime." + error;
+ }
+ if (message.updateTime != null && message.hasOwnProperty("updateTime")) {
+ var error = $root.google.protobuf.Timestamp.verify(message.updateTime);
+ if (error)
+ return "updateTime." + error;
+ }
+ if (message.labels != null && message.hasOwnProperty("labels")) {
+ if (!$util.isObject(message.labels))
+ return "labels: object expected";
+ var key = Object.keys(message.labels);
+ for (var i = 0; i < key.length; ++i)
+ if (!$util.isString(message.labels[key[i]]))
+ return "labels: string{k:string} expected";
+ }
+ if (message.description != null && message.hasOwnProperty("description"))
+ if (!$util.isString(message.description))
+ return "description: string expected";
+ 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:
+ break;
+ }
+ if (message.serviceAccount != null && message.hasOwnProperty("serviceAccount"))
+ if (!$util.isString(message.serviceAccount))
+ return "serviceAccount: string expected";
+ if (message.metastore != null && message.hasOwnProperty("metastore")) {
+ var error = $root.google.cloud.dataplex.v1.Lake.Metastore.verify(message.metastore);
+ if (error)
+ return "metastore." + error;
+ }
+ if (message.assetStatus != null && message.hasOwnProperty("assetStatus")) {
+ var error = $root.google.cloud.dataplex.v1.AssetStatus.verify(message.assetStatus);
+ if (error)
+ return "assetStatus." + error;
+ }
+ if (message.metastoreStatus != null && message.hasOwnProperty("metastoreStatus")) {
+ var error = $root.google.cloud.dataplex.v1.Lake.MetastoreStatus.verify(message.metastoreStatus);
+ if (error)
+ return "metastoreStatus." + error;
+ }
+ return null;
+ };
+
+ /**
+ * Creates a Lake message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.cloud.dataplex.v1.Lake
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.cloud.dataplex.v1.Lake} Lake
+ */
+ Lake.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.cloud.dataplex.v1.Lake)
+ return object;
+ var message = new $root.google.cloud.dataplex.v1.Lake();
+ if (object.name != null)
+ message.name = String(object.name);
+ if (object.displayName != null)
+ message.displayName = String(object.displayName);
+ if (object.uid != null)
+ message.uid = String(object.uid);
+ if (object.createTime != null) {
+ if (typeof object.createTime !== "object")
+ throw TypeError(".google.cloud.dataplex.v1.Lake.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.dataplex.v1.Lake.updateTime: object expected");
+ message.updateTime = $root.google.protobuf.Timestamp.fromObject(object.updateTime);
+ }
+ if (object.labels) {
+ if (typeof object.labels !== "object")
+ throw TypeError(".google.cloud.dataplex.v1.Lake.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.description != null)
+ message.description = String(object.description);
+ switch (object.state) {
+ case "STATE_UNSPECIFIED":
+ case 0:
+ message.state = 0;
+ break;
+ case "NONE":
+ case 1:
+ message.state = 1;
+ break;
+ case "READY":
+ case 2:
+ message.state = 2;
+ break;
+ case "UPDATING":
+ case 3:
+ message.state = 3;
+ break;
+ case "ERROR":
+ case 4:
+ message.state = 4;
+ break;
+ }
+ if (object.serviceAccount != null)
+ message.serviceAccount = String(object.serviceAccount);
+ if (object.metastore != null) {
+ if (typeof object.metastore !== "object")
+ throw TypeError(".google.cloud.dataplex.v1.Lake.metastore: object expected");
+ message.metastore = $root.google.cloud.dataplex.v1.Lake.Metastore.fromObject(object.metastore);
+ }
+ if (object.assetStatus != null) {
+ if (typeof object.assetStatus !== "object")
+ throw TypeError(".google.cloud.dataplex.v1.Lake.assetStatus: object expected");
+ message.assetStatus = $root.google.cloud.dataplex.v1.AssetStatus.fromObject(object.assetStatus);
+ }
+ if (object.metastoreStatus != null) {
+ if (typeof object.metastoreStatus !== "object")
+ throw TypeError(".google.cloud.dataplex.v1.Lake.metastoreStatus: object expected");
+ message.metastoreStatus = $root.google.cloud.dataplex.v1.Lake.MetastoreStatus.fromObject(object.metastoreStatus);
+ }
+ return message;
+ };
+
+ /**
+ * Creates a plain object from a Lake message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.cloud.dataplex.v1.Lake
+ * @static
+ * @param {google.cloud.dataplex.v1.Lake} message Lake
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ Lake.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.objects || options.defaults)
+ object.labels = {};
+ if (options.defaults) {
+ object.name = "";
+ object.displayName = "";
+ object.uid = "";
+ object.createTime = null;
+ object.updateTime = null;
+ object.description = "";
+ object.state = options.enums === String ? "STATE_UNSPECIFIED" : 0;
+ object.serviceAccount = "";
+ object.metastore = null;
+ object.assetStatus = null;
+ object.metastoreStatus = null;
+ }
+ if (message.name != null && message.hasOwnProperty("name"))
+ object.name = message.name;
+ if (message.displayName != null && message.hasOwnProperty("displayName"))
+ object.displayName = message.displayName;
+ if (message.uid != null && message.hasOwnProperty("uid"))
+ object.uid = message.uid;
+ if (message.createTime != null && message.hasOwnProperty("createTime"))
+ object.createTime = $root.google.protobuf.Timestamp.toObject(message.createTime, options);
+ if (message.updateTime != null && message.hasOwnProperty("updateTime"))
+ object.updateTime = $root.google.protobuf.Timestamp.toObject(message.updateTime, options);
+ var keys2;
+ if (message.labels && (keys2 = Object.keys(message.labels)).length) {
+ object.labels = {};
+ for (var j = 0; j < keys2.length; ++j)
+ object.labels[keys2[j]] = message.labels[keys2[j]];
+ }
+ if (message.description != null && message.hasOwnProperty("description"))
+ object.description = message.description;
+ if (message.state != null && message.hasOwnProperty("state"))
+ object.state = options.enums === String ? $root.google.cloud.dataplex.v1.Lake.MetastoreStatus.State[message.state] : message.state;
+ if (message.serviceAccount != null && message.hasOwnProperty("serviceAccount"))
+ object.serviceAccount = message.serviceAccount;
+ if (message.metastore != null && message.hasOwnProperty("metastore"))
+ object.metastore = $root.google.cloud.dataplex.v1.Lake.Metastore.toObject(message.metastore, options);
+ if (message.assetStatus != null && message.hasOwnProperty("assetStatus"))
+ object.assetStatus = $root.google.cloud.dataplex.v1.AssetStatus.toObject(message.assetStatus, options);
+ if (message.metastoreStatus != null && message.hasOwnProperty("metastoreStatus"))
+ object.metastoreStatus = $root.google.cloud.dataplex.v1.Lake.MetastoreStatus.toObject(message.metastoreStatus, options);
+ return object;
+ };
+
+ /**
+ * Converts this Lake to JSON.
+ * @function toJSON
+ * @memberof google.cloud.dataplex.v1.Lake
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ Lake.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for Lake
+ * @function getTypeUrl
+ * @memberof google.cloud.dataplex.v1.Lake
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ Lake.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.cloud.dataplex.v1.Lake";
+ };
+
+ Lake.Metastore = (function() {
+
+ /**
+ * Properties of a Metastore.
+ * @memberof google.cloud.dataplex.v1.Lake
+ * @interface IMetastore
+ * @property {string|null} [service] Metastore service
+ */
+
+ /**
+ * Constructs a new Metastore.
+ * @memberof google.cloud.dataplex.v1.Lake
+ * @classdesc Represents a Metastore.
+ * @implements IMetastore
+ * @constructor
+ * @param {google.cloud.dataplex.v1.Lake.IMetastore=} [properties] Properties to set
+ */
+ function Metastore(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]];
+ }
+
+ /**
+ * Metastore service.
+ * @member {string} service
+ * @memberof google.cloud.dataplex.v1.Lake.Metastore
+ * @instance
+ */
+ Metastore.prototype.service = "";
+
+ /**
+ * Creates a new Metastore instance using the specified properties.
+ * @function create
+ * @memberof google.cloud.dataplex.v1.Lake.Metastore
+ * @static
+ * @param {google.cloud.dataplex.v1.Lake.IMetastore=} [properties] Properties to set
+ * @returns {google.cloud.dataplex.v1.Lake.Metastore} Metastore instance
+ */
+ Metastore.create = function create(properties) {
+ return new Metastore(properties);
+ };
+
+ /**
+ * Encodes the specified Metastore message. Does not implicitly {@link google.cloud.dataplex.v1.Lake.Metastore.verify|verify} messages.
+ * @function encode
+ * @memberof google.cloud.dataplex.v1.Lake.Metastore
+ * @static
+ * @param {google.cloud.dataplex.v1.Lake.IMetastore} message Metastore message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ Metastore.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.service != null && Object.hasOwnProperty.call(message, "service"))
+ writer.uint32(/* id 1, wireType 2 =*/10).string(message.service);
+ return writer;
+ };
+
+ /**
+ * Encodes the specified Metastore message, length delimited. Does not implicitly {@link google.cloud.dataplex.v1.Lake.Metastore.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.cloud.dataplex.v1.Lake.Metastore
+ * @static
+ * @param {google.cloud.dataplex.v1.Lake.IMetastore} message Metastore message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ Metastore.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes a Metastore message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.cloud.dataplex.v1.Lake.Metastore
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.cloud.dataplex.v1.Lake.Metastore} Metastore
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ Metastore.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.dataplex.v1.Lake.Metastore();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ switch (tag >>> 3) {
+ case 1: {
+ message.service = reader.string();
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes a Metastore message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.cloud.dataplex.v1.Lake.Metastore
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.cloud.dataplex.v1.Lake.Metastore} Metastore
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ Metastore.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies a Metastore message.
+ * @function verify
+ * @memberof google.cloud.dataplex.v1.Lake.Metastore
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ Metastore.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ if (message.service != null && message.hasOwnProperty("service"))
+ if (!$util.isString(message.service))
+ return "service: string expected";
+ return null;
+ };
+
+ /**
+ * Creates a Metastore message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.cloud.dataplex.v1.Lake.Metastore
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.cloud.dataplex.v1.Lake.Metastore} Metastore
+ */
+ Metastore.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.cloud.dataplex.v1.Lake.Metastore)
+ return object;
+ var message = new $root.google.cloud.dataplex.v1.Lake.Metastore();
+ if (object.service != null)
+ message.service = String(object.service);
+ return message;
+ };
+
+ /**
+ * Creates a plain object from a Metastore message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.cloud.dataplex.v1.Lake.Metastore
+ * @static
+ * @param {google.cloud.dataplex.v1.Lake.Metastore} message Metastore
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ Metastore.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.defaults)
+ object.service = "";
+ if (message.service != null && message.hasOwnProperty("service"))
+ object.service = message.service;
+ return object;
+ };
+
+ /**
+ * Converts this Metastore to JSON.
+ * @function toJSON
+ * @memberof google.cloud.dataplex.v1.Lake.Metastore
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ Metastore.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for Metastore
+ * @function getTypeUrl
+ * @memberof google.cloud.dataplex.v1.Lake.Metastore
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ Metastore.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.cloud.dataplex.v1.Lake.Metastore";
+ };
+
+ return Metastore;
+ })();
+
+ Lake.MetastoreStatus = (function() {
+
+ /**
+ * Properties of a MetastoreStatus.
+ * @memberof google.cloud.dataplex.v1.Lake
+ * @interface IMetastoreStatus
+ * @property {google.cloud.dataplex.v1.Lake.MetastoreStatus.State|null} [state] MetastoreStatus state
+ * @property {string|null} [message] MetastoreStatus message
+ * @property {google.protobuf.ITimestamp|null} [updateTime] MetastoreStatus updateTime
+ * @property {string|null} [endpoint] MetastoreStatus endpoint
+ */
+
+ /**
+ * Constructs a new MetastoreStatus.
+ * @memberof google.cloud.dataplex.v1.Lake
+ * @classdesc Represents a MetastoreStatus.
+ * @implements IMetastoreStatus
+ * @constructor
+ * @param {google.cloud.dataplex.v1.Lake.IMetastoreStatus=} [properties] Properties to set
+ */
+ function MetastoreStatus(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]];
+ }
+
+ /**
+ * MetastoreStatus state.
+ * @member {google.cloud.dataplex.v1.Lake.MetastoreStatus.State} state
+ * @memberof google.cloud.dataplex.v1.Lake.MetastoreStatus
+ * @instance
+ */
+ MetastoreStatus.prototype.state = 0;
+
+ /**
+ * MetastoreStatus message.
+ * @member {string} message
+ * @memberof google.cloud.dataplex.v1.Lake.MetastoreStatus
+ * @instance
+ */
+ MetastoreStatus.prototype.message = "";
+
+ /**
+ * MetastoreStatus updateTime.
+ * @member {google.protobuf.ITimestamp|null|undefined} updateTime
+ * @memberof google.cloud.dataplex.v1.Lake.MetastoreStatus
+ * @instance
+ */
+ MetastoreStatus.prototype.updateTime = null;
+
+ /**
+ * MetastoreStatus endpoint.
+ * @member {string} endpoint
+ * @memberof google.cloud.dataplex.v1.Lake.MetastoreStatus
+ * @instance
+ */
+ MetastoreStatus.prototype.endpoint = "";
+
+ /**
+ * Creates a new MetastoreStatus instance using the specified properties.
+ * @function create
+ * @memberof google.cloud.dataplex.v1.Lake.MetastoreStatus
+ * @static
+ * @param {google.cloud.dataplex.v1.Lake.IMetastoreStatus=} [properties] Properties to set
+ * @returns {google.cloud.dataplex.v1.Lake.MetastoreStatus} MetastoreStatus instance
+ */
+ MetastoreStatus.create = function create(properties) {
+ return new MetastoreStatus(properties);
+ };
+
+ /**
+ * Encodes the specified MetastoreStatus message. Does not implicitly {@link google.cloud.dataplex.v1.Lake.MetastoreStatus.verify|verify} messages.
+ * @function encode
+ * @memberof google.cloud.dataplex.v1.Lake.MetastoreStatus
+ * @static
+ * @param {google.cloud.dataplex.v1.Lake.IMetastoreStatus} message MetastoreStatus message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ MetastoreStatus.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.state != null && Object.hasOwnProperty.call(message, "state"))
+ writer.uint32(/* id 1, wireType 0 =*/8).int32(message.state);
+ if (message.message != null && Object.hasOwnProperty.call(message, "message"))
+ writer.uint32(/* id 2, wireType 2 =*/18).string(message.message);
+ if (message.updateTime != null && Object.hasOwnProperty.call(message, "updateTime"))
+ $root.google.protobuf.Timestamp.encode(message.updateTime, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim();
+ if (message.endpoint != null && Object.hasOwnProperty.call(message, "endpoint"))
+ writer.uint32(/* id 4, wireType 2 =*/34).string(message.endpoint);
+ return writer;
+ };
+
+ /**
+ * Encodes the specified MetastoreStatus message, length delimited. Does not implicitly {@link google.cloud.dataplex.v1.Lake.MetastoreStatus.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.cloud.dataplex.v1.Lake.MetastoreStatus
+ * @static
+ * @param {google.cloud.dataplex.v1.Lake.IMetastoreStatus} message MetastoreStatus message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ MetastoreStatus.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes a MetastoreStatus message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.cloud.dataplex.v1.Lake.MetastoreStatus
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.cloud.dataplex.v1.Lake.MetastoreStatus} MetastoreStatus
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ MetastoreStatus.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.dataplex.v1.Lake.MetastoreStatus();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ switch (tag >>> 3) {
+ case 1: {
+ message.state = reader.int32();
+ break;
+ }
+ case 2: {
+ message.message = reader.string();
+ break;
+ }
+ case 3: {
+ message.updateTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32());
+ break;
+ }
+ case 4: {
+ message.endpoint = reader.string();
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes a MetastoreStatus message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.cloud.dataplex.v1.Lake.MetastoreStatus
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.cloud.dataplex.v1.Lake.MetastoreStatus} MetastoreStatus
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ MetastoreStatus.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies a MetastoreStatus message.
+ * @function verify
+ * @memberof google.cloud.dataplex.v1.Lake.MetastoreStatus
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ MetastoreStatus.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ 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:
+ break;
+ }
+ if (message.message != null && message.hasOwnProperty("message"))
+ if (!$util.isString(message.message))
+ return "message: string expected";
+ if (message.updateTime != null && message.hasOwnProperty("updateTime")) {
+ var error = $root.google.protobuf.Timestamp.verify(message.updateTime);
+ if (error)
+ return "updateTime." + error;
+ }
+ if (message.endpoint != null && message.hasOwnProperty("endpoint"))
+ if (!$util.isString(message.endpoint))
+ return "endpoint: string expected";
+ return null;
+ };
+
+ /**
+ * Creates a MetastoreStatus message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.cloud.dataplex.v1.Lake.MetastoreStatus
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.cloud.dataplex.v1.Lake.MetastoreStatus} MetastoreStatus
+ */
+ MetastoreStatus.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.cloud.dataplex.v1.Lake.MetastoreStatus)
+ return object;
+ var message = new $root.google.cloud.dataplex.v1.Lake.MetastoreStatus();
+ switch (object.state) {
+ case "STATE_UNSPECIFIED":
+ case 0:
+ message.state = 0;
+ break;
+ case "NONE":
+ case 1:
+ message.state = 1;
+ break;
+ case "READY":
+ case 2:
+ message.state = 2;
+ break;
+ case "UPDATING":
+ case 3:
+ message.state = 3;
+ break;
+ case "ERROR":
+ case 4:
+ message.state = 4;
+ break;
+ }
+ if (object.message != null)
+ message.message = String(object.message);
+ if (object.updateTime != null) {
+ if (typeof object.updateTime !== "object")
+ throw TypeError(".google.cloud.dataplex.v1.Lake.MetastoreStatus.updateTime: object expected");
+ message.updateTime = $root.google.protobuf.Timestamp.fromObject(object.updateTime);
+ }
+ if (object.endpoint != null)
+ message.endpoint = String(object.endpoint);
+ return message;
+ };
+
+ /**
+ * Creates a plain object from a MetastoreStatus message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.cloud.dataplex.v1.Lake.MetastoreStatus
+ * @static
+ * @param {google.cloud.dataplex.v1.Lake.MetastoreStatus} message MetastoreStatus
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ MetastoreStatus.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.defaults) {
+ object.state = options.enums === String ? "STATE_UNSPECIFIED" : 0;
+ object.message = "";
+ object.updateTime = null;
+ object.endpoint = "";
+ }
+ if (message.state != null && message.hasOwnProperty("state"))
+ object.state = options.enums === String ? $root.google.cloud.dataplex.v1.Lake.MetastoreStatus.State[message.state] : message.state;
+ if (message.message != null && message.hasOwnProperty("message"))
+ object.message = message.message;
+ if (message.updateTime != null && message.hasOwnProperty("updateTime"))
+ object.updateTime = $root.google.protobuf.Timestamp.toObject(message.updateTime, options);
+ if (message.endpoint != null && message.hasOwnProperty("endpoint"))
+ object.endpoint = message.endpoint;
+ return object;
+ };
+
+ /**
+ * Converts this MetastoreStatus to JSON.
+ * @function toJSON
+ * @memberof google.cloud.dataplex.v1.Lake.MetastoreStatus
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ MetastoreStatus.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for MetastoreStatus
+ * @function getTypeUrl
+ * @memberof google.cloud.dataplex.v1.Lake.MetastoreStatus
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ MetastoreStatus.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.cloud.dataplex.v1.Lake.MetastoreStatus";
+ };
+
+ /**
+ * State enum.
+ * @name google.cloud.dataplex.v1.Lake.MetastoreStatus.State
+ * @enum {number}
+ * @property {number} STATE_UNSPECIFIED=0 STATE_UNSPECIFIED value
+ * @property {number} NONE=1 NONE value
+ * @property {number} READY=2 READY value
+ * @property {number} UPDATING=3 UPDATING value
+ * @property {number} ERROR=4 ERROR value
+ */
+ MetastoreStatus.State = (function() {
+ var valuesById = {}, values = Object.create(valuesById);
+ values[valuesById[0] = "STATE_UNSPECIFIED"] = 0;
+ values[valuesById[1] = "NONE"] = 1;
+ values[valuesById[2] = "READY"] = 2;
+ values[valuesById[3] = "UPDATING"] = 3;
+ values[valuesById[4] = "ERROR"] = 4;
+ return values;
+ })();
+
+ return MetastoreStatus;
+ })();
+
+ return Lake;
+ })();
+
+ v1.AssetStatus = (function() {
+
+ /**
+ * Properties of an AssetStatus.
+ * @memberof google.cloud.dataplex.v1
+ * @interface IAssetStatus
+ * @property {google.protobuf.ITimestamp|null} [updateTime] AssetStatus updateTime
+ * @property {number|null} [activeAssets] AssetStatus activeAssets
+ * @property {number|null} [securityPolicyApplyingAssets] AssetStatus securityPolicyApplyingAssets
+ */
+
+ /**
+ * Constructs a new AssetStatus.
+ * @memberof google.cloud.dataplex.v1
+ * @classdesc Represents an AssetStatus.
+ * @implements IAssetStatus
+ * @constructor
+ * @param {google.cloud.dataplex.v1.IAssetStatus=} [properties] Properties to set
+ */
+ function AssetStatus(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]];
+ }
+
+ /**
+ * AssetStatus updateTime.
+ * @member {google.protobuf.ITimestamp|null|undefined} updateTime
+ * @memberof google.cloud.dataplex.v1.AssetStatus
+ * @instance
+ */
+ AssetStatus.prototype.updateTime = null;
+
+ /**
+ * AssetStatus activeAssets.
+ * @member {number} activeAssets
+ * @memberof google.cloud.dataplex.v1.AssetStatus
+ * @instance
+ */
+ AssetStatus.prototype.activeAssets = 0;
+
+ /**
+ * AssetStatus securityPolicyApplyingAssets.
+ * @member {number} securityPolicyApplyingAssets
+ * @memberof google.cloud.dataplex.v1.AssetStatus
+ * @instance
+ */
+ AssetStatus.prototype.securityPolicyApplyingAssets = 0;
+
+ /**
+ * Creates a new AssetStatus instance using the specified properties.
+ * @function create
+ * @memberof google.cloud.dataplex.v1.AssetStatus
+ * @static
+ * @param {google.cloud.dataplex.v1.IAssetStatus=} [properties] Properties to set
+ * @returns {google.cloud.dataplex.v1.AssetStatus} AssetStatus instance
+ */
+ AssetStatus.create = function create(properties) {
+ return new AssetStatus(properties);
+ };
+
+ /**
+ * Encodes the specified AssetStatus message. Does not implicitly {@link google.cloud.dataplex.v1.AssetStatus.verify|verify} messages.
+ * @function encode
+ * @memberof google.cloud.dataplex.v1.AssetStatus
+ * @static
+ * @param {google.cloud.dataplex.v1.IAssetStatus} message AssetStatus message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ AssetStatus.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.updateTime != null && Object.hasOwnProperty.call(message, "updateTime"))
+ $root.google.protobuf.Timestamp.encode(message.updateTime, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
+ if (message.activeAssets != null && Object.hasOwnProperty.call(message, "activeAssets"))
+ writer.uint32(/* id 2, wireType 0 =*/16).int32(message.activeAssets);
+ if (message.securityPolicyApplyingAssets != null && Object.hasOwnProperty.call(message, "securityPolicyApplyingAssets"))
+ writer.uint32(/* id 3, wireType 0 =*/24).int32(message.securityPolicyApplyingAssets);
+ return writer;
+ };
+
+ /**
+ * Encodes the specified AssetStatus message, length delimited. Does not implicitly {@link google.cloud.dataplex.v1.AssetStatus.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.cloud.dataplex.v1.AssetStatus
+ * @static
+ * @param {google.cloud.dataplex.v1.IAssetStatus} message AssetStatus message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ AssetStatus.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes an AssetStatus message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.cloud.dataplex.v1.AssetStatus
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.cloud.dataplex.v1.AssetStatus} AssetStatus
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ AssetStatus.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.dataplex.v1.AssetStatus();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ switch (tag >>> 3) {
+ case 1: {
+ message.updateTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32());
+ break;
+ }
+ case 2: {
+ message.activeAssets = reader.int32();
+ break;
+ }
+ case 3: {
+ message.securityPolicyApplyingAssets = reader.int32();
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes an AssetStatus message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.cloud.dataplex.v1.AssetStatus
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.cloud.dataplex.v1.AssetStatus} AssetStatus
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ AssetStatus.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies an AssetStatus message.
+ * @function verify
+ * @memberof google.cloud.dataplex.v1.AssetStatus
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ AssetStatus.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ if (message.updateTime != null && message.hasOwnProperty("updateTime")) {
+ var error = $root.google.protobuf.Timestamp.verify(message.updateTime);
+ if (error)
+ return "updateTime." + error;
+ }
+ if (message.activeAssets != null && message.hasOwnProperty("activeAssets"))
+ if (!$util.isInteger(message.activeAssets))
+ return "activeAssets: integer expected";
+ if (message.securityPolicyApplyingAssets != null && message.hasOwnProperty("securityPolicyApplyingAssets"))
+ if (!$util.isInteger(message.securityPolicyApplyingAssets))
+ return "securityPolicyApplyingAssets: integer expected";
+ return null;
+ };
+
+ /**
+ * Creates an AssetStatus message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.cloud.dataplex.v1.AssetStatus
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.cloud.dataplex.v1.AssetStatus} AssetStatus
+ */
+ AssetStatus.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.cloud.dataplex.v1.AssetStatus)
+ return object;
+ var message = new $root.google.cloud.dataplex.v1.AssetStatus();
+ if (object.updateTime != null) {
+ if (typeof object.updateTime !== "object")
+ throw TypeError(".google.cloud.dataplex.v1.AssetStatus.updateTime: object expected");
+ message.updateTime = $root.google.protobuf.Timestamp.fromObject(object.updateTime);
+ }
+ if (object.activeAssets != null)
+ message.activeAssets = object.activeAssets | 0;
+ if (object.securityPolicyApplyingAssets != null)
+ message.securityPolicyApplyingAssets = object.securityPolicyApplyingAssets | 0;
+ return message;
+ };
+
+ /**
+ * Creates a plain object from an AssetStatus message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.cloud.dataplex.v1.AssetStatus
+ * @static
+ * @param {google.cloud.dataplex.v1.AssetStatus} message AssetStatus
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ AssetStatus.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.defaults) {
+ object.updateTime = null;
+ object.activeAssets = 0;
+ object.securityPolicyApplyingAssets = 0;
+ }
+ if (message.updateTime != null && message.hasOwnProperty("updateTime"))
+ object.updateTime = $root.google.protobuf.Timestamp.toObject(message.updateTime, options);
+ if (message.activeAssets != null && message.hasOwnProperty("activeAssets"))
+ object.activeAssets = message.activeAssets;
+ if (message.securityPolicyApplyingAssets != null && message.hasOwnProperty("securityPolicyApplyingAssets"))
+ object.securityPolicyApplyingAssets = message.securityPolicyApplyingAssets;
+ return object;
+ };
+
+ /**
+ * Converts this AssetStatus to JSON.
+ * @function toJSON
+ * @memberof google.cloud.dataplex.v1.AssetStatus
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ AssetStatus.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for AssetStatus
+ * @function getTypeUrl
+ * @memberof google.cloud.dataplex.v1.AssetStatus
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ AssetStatus.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.cloud.dataplex.v1.AssetStatus";
+ };
+
+ return AssetStatus;
+ })();
+
+ v1.Zone = (function() {
+
+ /**
+ * Properties of a Zone.
+ * @memberof google.cloud.dataplex.v1
+ * @interface IZone
+ * @property {string|null} [name] Zone name
+ * @property {string|null} [displayName] Zone displayName
+ * @property {string|null} [uid] Zone uid
+ * @property {google.protobuf.ITimestamp|null} [createTime] Zone createTime
+ * @property {google.protobuf.ITimestamp|null} [updateTime] Zone updateTime
+ * @property {Object.|null} [labels] Zone labels
+ * @property {string|null} [description] Zone description
+ * @property {google.cloud.dataplex.v1.State|null} [state] Zone state
+ * @property {google.cloud.dataplex.v1.Zone.Type|null} [type] Zone type
+ * @property {google.cloud.dataplex.v1.Zone.IDiscoverySpec|null} [discoverySpec] Zone discoverySpec
+ * @property {google.cloud.dataplex.v1.Zone.IResourceSpec|null} [resourceSpec] Zone resourceSpec
+ * @property {google.cloud.dataplex.v1.IAssetStatus|null} [assetStatus] Zone assetStatus
+ */
+
+ /**
+ * Constructs a new Zone.
+ * @memberof google.cloud.dataplex.v1
+ * @classdesc Represents a Zone.
+ * @implements IZone
+ * @constructor
+ * @param {google.cloud.dataplex.v1.IZone=} [properties] Properties to set
+ */
+ function Zone(properties) {
+ this.labels = {};
+ if (properties)
+ for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+ if (properties[keys[i]] != null)
+ this[keys[i]] = properties[keys[i]];
+ }
+
+ /**
+ * Zone name.
+ * @member {string} name
+ * @memberof google.cloud.dataplex.v1.Zone
+ * @instance
+ */
+ Zone.prototype.name = "";
+
+ /**
+ * Zone displayName.
+ * @member {string} displayName
+ * @memberof google.cloud.dataplex.v1.Zone
+ * @instance
+ */
+ Zone.prototype.displayName = "";
+
+ /**
+ * Zone uid.
+ * @member {string} uid
+ * @memberof google.cloud.dataplex.v1.Zone
+ * @instance
+ */
+ Zone.prototype.uid = "";
+
+ /**
+ * Zone createTime.
+ * @member {google.protobuf.ITimestamp|null|undefined} createTime
+ * @memberof google.cloud.dataplex.v1.Zone
+ * @instance
+ */
+ Zone.prototype.createTime = null;
+
+ /**
+ * Zone updateTime.
+ * @member {google.protobuf.ITimestamp|null|undefined} updateTime
+ * @memberof google.cloud.dataplex.v1.Zone
+ * @instance
+ */
+ Zone.prototype.updateTime = null;
+
+ /**
+ * Zone labels.
+ * @member {Object.} labels
+ * @memberof google.cloud.dataplex.v1.Zone
+ * @instance
+ */
+ Zone.prototype.labels = $util.emptyObject;
+
+ /**
+ * Zone description.
+ * @member {string} description
+ * @memberof google.cloud.dataplex.v1.Zone
+ * @instance
+ */
+ Zone.prototype.description = "";
+
+ /**
+ * Zone state.
+ * @member {google.cloud.dataplex.v1.State} state
+ * @memberof google.cloud.dataplex.v1.Zone
+ * @instance
+ */
+ Zone.prototype.state = 0;
+
+ /**
+ * Zone type.
+ * @member {google.cloud.dataplex.v1.Zone.Type} type
+ * @memberof google.cloud.dataplex.v1.Zone
+ * @instance
+ */
+ Zone.prototype.type = 0;
+
+ /**
+ * Zone discoverySpec.
+ * @member {google.cloud.dataplex.v1.Zone.IDiscoverySpec|null|undefined} discoverySpec
+ * @memberof google.cloud.dataplex.v1.Zone
+ * @instance
+ */
+ Zone.prototype.discoverySpec = null;
+
+ /**
+ * Zone resourceSpec.
+ * @member {google.cloud.dataplex.v1.Zone.IResourceSpec|null|undefined} resourceSpec
+ * @memberof google.cloud.dataplex.v1.Zone
+ * @instance
+ */
+ Zone.prototype.resourceSpec = null;
+
+ /**
+ * Zone assetStatus.
+ * @member {google.cloud.dataplex.v1.IAssetStatus|null|undefined} assetStatus
+ * @memberof google.cloud.dataplex.v1.Zone
+ * @instance
+ */
+ Zone.prototype.assetStatus = null;
+
+ /**
+ * Creates a new Zone instance using the specified properties.
+ * @function create
+ * @memberof google.cloud.dataplex.v1.Zone
+ * @static
+ * @param {google.cloud.dataplex.v1.IZone=} [properties] Properties to set
+ * @returns {google.cloud.dataplex.v1.Zone} Zone instance
+ */
+ Zone.create = function create(properties) {
+ return new Zone(properties);
+ };
+
+ /**
+ * Encodes the specified Zone message. Does not implicitly {@link google.cloud.dataplex.v1.Zone.verify|verify} messages.
+ * @function encode
+ * @memberof google.cloud.dataplex.v1.Zone
+ * @static
+ * @param {google.cloud.dataplex.v1.IZone} message Zone message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ Zone.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.displayName != null && Object.hasOwnProperty.call(message, "displayName"))
+ writer.uint32(/* id 2, wireType 2 =*/18).string(message.displayName);
+ if (message.uid != null && Object.hasOwnProperty.call(message, "uid"))
+ writer.uint32(/* id 3, wireType 2 =*/26).string(message.uid);
+ if (message.createTime != null && Object.hasOwnProperty.call(message, "createTime"))
+ $root.google.protobuf.Timestamp.encode(message.createTime, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim();
+ if (message.updateTime != null && Object.hasOwnProperty.call(message, "updateTime"))
+ $root.google.protobuf.Timestamp.encode(message.updateTime, writer.uint32(/* id 5, wireType 2 =*/42).fork()).ldelim();
+ if (message.labels != null && Object.hasOwnProperty.call(message, "labels"))
+ for (var keys = Object.keys(message.labels), i = 0; i < keys.length; ++i)
+ writer.uint32(/* id 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.description != null && Object.hasOwnProperty.call(message, "description"))
+ writer.uint32(/* id 7, wireType 2 =*/58).string(message.description);
+ if (message.state != null && Object.hasOwnProperty.call(message, "state"))
+ writer.uint32(/* id 8, wireType 0 =*/64).int32(message.state);
+ if (message.type != null && Object.hasOwnProperty.call(message, "type"))
+ writer.uint32(/* id 9, wireType 0 =*/72).int32(message.type);
+ if (message.discoverySpec != null && Object.hasOwnProperty.call(message, "discoverySpec"))
+ $root.google.cloud.dataplex.v1.Zone.DiscoverySpec.encode(message.discoverySpec, writer.uint32(/* id 103, wireType 2 =*/826).fork()).ldelim();
+ if (message.resourceSpec != null && Object.hasOwnProperty.call(message, "resourceSpec"))
+ $root.google.cloud.dataplex.v1.Zone.ResourceSpec.encode(message.resourceSpec, writer.uint32(/* id 104, wireType 2 =*/834).fork()).ldelim();
+ if (message.assetStatus != null && Object.hasOwnProperty.call(message, "assetStatus"))
+ $root.google.cloud.dataplex.v1.AssetStatus.encode(message.assetStatus, writer.uint32(/* id 105, wireType 2 =*/842).fork()).ldelim();
+ return writer;
+ };
+
+ /**
+ * Encodes the specified Zone message, length delimited. Does not implicitly {@link google.cloud.dataplex.v1.Zone.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.cloud.dataplex.v1.Zone
+ * @static
+ * @param {google.cloud.dataplex.v1.IZone} message Zone message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ Zone.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes a Zone message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.cloud.dataplex.v1.Zone
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.cloud.dataplex.v1.Zone} Zone
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ Zone.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.dataplex.v1.Zone(), key, value;
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ switch (tag >>> 3) {
+ case 1: {
+ message.name = reader.string();
+ break;
+ }
+ case 2: {
+ message.displayName = reader.string();
+ break;
+ }
+ case 3: {
+ message.uid = reader.string();
+ break;
+ }
+ case 4: {
+ message.createTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32());
+ break;
+ }
+ case 5: {
+ message.updateTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32());
+ 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 7: {
+ message.description = reader.string();
+ break;
+ }
+ case 8: {
+ message.state = reader.int32();
+ break;
+ }
+ case 9: {
+ message.type = reader.int32();
+ break;
+ }
+ case 103: {
+ message.discoverySpec = $root.google.cloud.dataplex.v1.Zone.DiscoverySpec.decode(reader, reader.uint32());
+ break;
+ }
+ case 104: {
+ message.resourceSpec = $root.google.cloud.dataplex.v1.Zone.ResourceSpec.decode(reader, reader.uint32());
+ break;
+ }
+ case 105: {
+ message.assetStatus = $root.google.cloud.dataplex.v1.AssetStatus.decode(reader, reader.uint32());
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes a Zone message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.cloud.dataplex.v1.Zone
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.cloud.dataplex.v1.Zone} Zone
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ Zone.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies a Zone message.
+ * @function verify
+ * @memberof google.cloud.dataplex.v1.Zone
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ Zone.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.displayName != null && message.hasOwnProperty("displayName"))
+ if (!$util.isString(message.displayName))
+ return "displayName: string expected";
+ if (message.uid != null && message.hasOwnProperty("uid"))
+ if (!$util.isString(message.uid))
+ return "uid: string expected";
+ if (message.createTime != null && message.hasOwnProperty("createTime")) {
+ var error = $root.google.protobuf.Timestamp.verify(message.createTime);
+ if (error)
+ return "createTime." + error;
+ }
+ if (message.updateTime != null && message.hasOwnProperty("updateTime")) {
+ var error = $root.google.protobuf.Timestamp.verify(message.updateTime);
+ if (error)
+ return "updateTime." + error;
+ }
+ if (message.labels != null && message.hasOwnProperty("labels")) {
+ if (!$util.isObject(message.labels))
+ return "labels: object expected";
+ var key = Object.keys(message.labels);
+ for (var i = 0; i < key.length; ++i)
+ if (!$util.isString(message.labels[key[i]]))
+ return "labels: string{k:string} expected";
+ }
+ if (message.description != null && message.hasOwnProperty("description"))
+ if (!$util.isString(message.description))
+ return "description: string expected";
+ 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:
+ break;
+ }
+ if (message.type != null && message.hasOwnProperty("type"))
+ switch (message.type) {
+ default:
+ return "type: enum value expected";
+ case 0:
+ case 1:
+ case 2:
+ break;
+ }
+ if (message.discoverySpec != null && message.hasOwnProperty("discoverySpec")) {
+ var error = $root.google.cloud.dataplex.v1.Zone.DiscoverySpec.verify(message.discoverySpec);
+ if (error)
+ return "discoverySpec." + error;
+ }
+ if (message.resourceSpec != null && message.hasOwnProperty("resourceSpec")) {
+ var error = $root.google.cloud.dataplex.v1.Zone.ResourceSpec.verify(message.resourceSpec);
+ if (error)
+ return "resourceSpec." + error;
+ }
+ if (message.assetStatus != null && message.hasOwnProperty("assetStatus")) {
+ var error = $root.google.cloud.dataplex.v1.AssetStatus.verify(message.assetStatus);
+ if (error)
+ return "assetStatus." + error;
+ }
+ return null;
+ };
+
+ /**
+ * Creates a Zone message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.cloud.dataplex.v1.Zone
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.cloud.dataplex.v1.Zone} Zone
+ */
+ Zone.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.cloud.dataplex.v1.Zone)
+ return object;
+ var message = new $root.google.cloud.dataplex.v1.Zone();
+ if (object.name != null)
+ message.name = String(object.name);
+ if (object.displayName != null)
+ message.displayName = String(object.displayName);
+ if (object.uid != null)
+ message.uid = String(object.uid);
+ if (object.createTime != null) {
+ if (typeof object.createTime !== "object")
+ throw TypeError(".google.cloud.dataplex.v1.Zone.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.dataplex.v1.Zone.updateTime: object expected");
+ message.updateTime = $root.google.protobuf.Timestamp.fromObject(object.updateTime);
+ }
+ if (object.labels) {
+ if (typeof object.labels !== "object")
+ throw TypeError(".google.cloud.dataplex.v1.Zone.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.description != null)
+ message.description = String(object.description);
+ switch (object.state) {
+ case "STATE_UNSPECIFIED":
+ case 0:
+ message.state = 0;
+ break;
+ case "ACTIVE":
+ case 1:
+ message.state = 1;
+ break;
+ case "CREATING":
+ case 2:
+ message.state = 2;
+ break;
+ case "DELETING":
+ case 3:
+ message.state = 3;
+ break;
+ case "ACTION_REQUIRED":
+ case 4:
+ message.state = 4;
+ break;
+ }
+ switch (object.type) {
+ case "TYPE_UNSPECIFIED":
+ case 0:
+ message.type = 0;
+ break;
+ case "RAW":
+ case 1:
+ message.type = 1;
+ break;
+ case "CURATED":
+ case 2:
+ message.type = 2;
+ break;
+ }
+ if (object.discoverySpec != null) {
+ if (typeof object.discoverySpec !== "object")
+ throw TypeError(".google.cloud.dataplex.v1.Zone.discoverySpec: object expected");
+ message.discoverySpec = $root.google.cloud.dataplex.v1.Zone.DiscoverySpec.fromObject(object.discoverySpec);
+ }
+ if (object.resourceSpec != null) {
+ if (typeof object.resourceSpec !== "object")
+ throw TypeError(".google.cloud.dataplex.v1.Zone.resourceSpec: object expected");
+ message.resourceSpec = $root.google.cloud.dataplex.v1.Zone.ResourceSpec.fromObject(object.resourceSpec);
+ }
+ if (object.assetStatus != null) {
+ if (typeof object.assetStatus !== "object")
+ throw TypeError(".google.cloud.dataplex.v1.Zone.assetStatus: object expected");
+ message.assetStatus = $root.google.cloud.dataplex.v1.AssetStatus.fromObject(object.assetStatus);
+ }
+ return message;
+ };
+
+ /**
+ * Creates a plain object from a Zone message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.cloud.dataplex.v1.Zone
+ * @static
+ * @param {google.cloud.dataplex.v1.Zone} message Zone
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ Zone.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.objects || options.defaults)
+ object.labels = {};
+ if (options.defaults) {
+ object.name = "";
+ object.displayName = "";
+ object.uid = "";
+ object.createTime = null;
+ object.updateTime = null;
+ object.description = "";
+ object.state = options.enums === String ? "STATE_UNSPECIFIED" : 0;
+ object.type = options.enums === String ? "TYPE_UNSPECIFIED" : 0;
+ object.discoverySpec = null;
+ object.resourceSpec = null;
+ object.assetStatus = null;
+ }
+ if (message.name != null && message.hasOwnProperty("name"))
+ object.name = message.name;
+ if (message.displayName != null && message.hasOwnProperty("displayName"))
+ object.displayName = message.displayName;
+ if (message.uid != null && message.hasOwnProperty("uid"))
+ object.uid = message.uid;
+ if (message.createTime != null && message.hasOwnProperty("createTime"))
+ object.createTime = $root.google.protobuf.Timestamp.toObject(message.createTime, options);
+ if (message.updateTime != null && message.hasOwnProperty("updateTime"))
+ object.updateTime = $root.google.protobuf.Timestamp.toObject(message.updateTime, options);
+ var keys2;
+ if (message.labels && (keys2 = Object.keys(message.labels)).length) {
+ object.labels = {};
+ for (var j = 0; j < keys2.length; ++j)
+ object.labels[keys2[j]] = message.labels[keys2[j]];
+ }
+ if (message.description != null && message.hasOwnProperty("description"))
+ object.description = message.description;
+ if (message.state != null && message.hasOwnProperty("state"))
+ object.state = options.enums === String ? $root.google.cloud.dataplex.v1.State[message.state] : message.state;
+ if (message.type != null && message.hasOwnProperty("type"))
+ object.type = options.enums === String ? $root.google.cloud.dataplex.v1.Zone.Type[message.type] : message.type;
+ if (message.discoverySpec != null && message.hasOwnProperty("discoverySpec"))
+ object.discoverySpec = $root.google.cloud.dataplex.v1.Zone.DiscoverySpec.toObject(message.discoverySpec, options);
+ if (message.resourceSpec != null && message.hasOwnProperty("resourceSpec"))
+ object.resourceSpec = $root.google.cloud.dataplex.v1.Zone.ResourceSpec.toObject(message.resourceSpec, options);
+ if (message.assetStatus != null && message.hasOwnProperty("assetStatus"))
+ object.assetStatus = $root.google.cloud.dataplex.v1.AssetStatus.toObject(message.assetStatus, options);
+ return object;
+ };
+
+ /**
+ * Converts this Zone to JSON.
+ * @function toJSON
+ * @memberof google.cloud.dataplex.v1.Zone
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ Zone.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for Zone
+ * @function getTypeUrl
+ * @memberof google.cloud.dataplex.v1.Zone
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ Zone.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.cloud.dataplex.v1.Zone";
+ };
+
+ /**
+ * Type enum.
+ * @name google.cloud.dataplex.v1.Zone.Type
+ * @enum {number}
+ * @property {number} TYPE_UNSPECIFIED=0 TYPE_UNSPECIFIED value
+ * @property {number} RAW=1 RAW value
+ * @property {number} CURATED=2 CURATED value
+ */
+ Zone.Type = (function() {
+ var valuesById = {}, values = Object.create(valuesById);
+ values[valuesById[0] = "TYPE_UNSPECIFIED"] = 0;
+ values[valuesById[1] = "RAW"] = 1;
+ values[valuesById[2] = "CURATED"] = 2;
+ return values;
+ })();
+
+ Zone.ResourceSpec = (function() {
+
+ /**
+ * Properties of a ResourceSpec.
+ * @memberof google.cloud.dataplex.v1.Zone
+ * @interface IResourceSpec
+ * @property {google.cloud.dataplex.v1.Zone.ResourceSpec.LocationType|null} [locationType] ResourceSpec locationType
+ */
+
+ /**
+ * Constructs a new ResourceSpec.
+ * @memberof google.cloud.dataplex.v1.Zone
+ * @classdesc Represents a ResourceSpec.
+ * @implements IResourceSpec
+ * @constructor
+ * @param {google.cloud.dataplex.v1.Zone.IResourceSpec=} [properties] Properties to set
+ */
+ function ResourceSpec(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]];
+ }
+
+ /**
+ * ResourceSpec locationType.
+ * @member {google.cloud.dataplex.v1.Zone.ResourceSpec.LocationType} locationType
+ * @memberof google.cloud.dataplex.v1.Zone.ResourceSpec
+ * @instance
+ */
+ ResourceSpec.prototype.locationType = 0;
+
+ /**
+ * Creates a new ResourceSpec instance using the specified properties.
+ * @function create
+ * @memberof google.cloud.dataplex.v1.Zone.ResourceSpec
+ * @static
+ * @param {google.cloud.dataplex.v1.Zone.IResourceSpec=} [properties] Properties to set
+ * @returns {google.cloud.dataplex.v1.Zone.ResourceSpec} ResourceSpec instance
+ */
+ ResourceSpec.create = function create(properties) {
+ return new ResourceSpec(properties);
+ };
+
+ /**
+ * Encodes the specified ResourceSpec message. Does not implicitly {@link google.cloud.dataplex.v1.Zone.ResourceSpec.verify|verify} messages.
+ * @function encode
+ * @memberof google.cloud.dataplex.v1.Zone.ResourceSpec
+ * @static
+ * @param {google.cloud.dataplex.v1.Zone.IResourceSpec} message ResourceSpec message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ ResourceSpec.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.locationType != null && Object.hasOwnProperty.call(message, "locationType"))
+ writer.uint32(/* id 1, wireType 0 =*/8).int32(message.locationType);
+ return writer;
+ };
+
+ /**
+ * Encodes the specified ResourceSpec message, length delimited. Does not implicitly {@link google.cloud.dataplex.v1.Zone.ResourceSpec.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.cloud.dataplex.v1.Zone.ResourceSpec
+ * @static
+ * @param {google.cloud.dataplex.v1.Zone.IResourceSpec} message ResourceSpec message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ ResourceSpec.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes a ResourceSpec message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.cloud.dataplex.v1.Zone.ResourceSpec
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.cloud.dataplex.v1.Zone.ResourceSpec} ResourceSpec
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ ResourceSpec.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.dataplex.v1.Zone.ResourceSpec();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ switch (tag >>> 3) {
+ case 1: {
+ message.locationType = reader.int32();
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes a ResourceSpec message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.cloud.dataplex.v1.Zone.ResourceSpec
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.cloud.dataplex.v1.Zone.ResourceSpec} ResourceSpec
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ ResourceSpec.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies a ResourceSpec message.
+ * @function verify
+ * @memberof google.cloud.dataplex.v1.Zone.ResourceSpec
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ ResourceSpec.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ if (message.locationType != null && message.hasOwnProperty("locationType"))
+ switch (message.locationType) {
+ default:
+ return "locationType: enum value expected";
+ case 0:
+ case 1:
+ case 2:
+ break;
+ }
+ return null;
+ };
+
+ /**
+ * Creates a ResourceSpec message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.cloud.dataplex.v1.Zone.ResourceSpec
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.cloud.dataplex.v1.Zone.ResourceSpec} ResourceSpec
+ */
+ ResourceSpec.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.cloud.dataplex.v1.Zone.ResourceSpec)
+ return object;
+ var message = new $root.google.cloud.dataplex.v1.Zone.ResourceSpec();
+ switch (object.locationType) {
+ case "LOCATION_TYPE_UNSPECIFIED":
+ case 0:
+ message.locationType = 0;
+ break;
+ case "SINGLE_REGION":
+ case 1:
+ message.locationType = 1;
+ break;
+ case "MULTI_REGION":
+ case 2:
+ message.locationType = 2;
+ break;
+ }
+ return message;
+ };
+
+ /**
+ * Creates a plain object from a ResourceSpec message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.cloud.dataplex.v1.Zone.ResourceSpec
+ * @static
+ * @param {google.cloud.dataplex.v1.Zone.ResourceSpec} message ResourceSpec
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ ResourceSpec.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.defaults)
+ object.locationType = options.enums === String ? "LOCATION_TYPE_UNSPECIFIED" : 0;
+ if (message.locationType != null && message.hasOwnProperty("locationType"))
+ object.locationType = options.enums === String ? $root.google.cloud.dataplex.v1.Zone.ResourceSpec.LocationType[message.locationType] : message.locationType;
+ return object;
+ };
+
+ /**
+ * Converts this ResourceSpec to JSON.
+ * @function toJSON
+ * @memberof google.cloud.dataplex.v1.Zone.ResourceSpec
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ ResourceSpec.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for ResourceSpec
+ * @function getTypeUrl
+ * @memberof google.cloud.dataplex.v1.Zone.ResourceSpec
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ ResourceSpec.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.cloud.dataplex.v1.Zone.ResourceSpec";
+ };
+
+ /**
+ * LocationType enum.
+ * @name google.cloud.dataplex.v1.Zone.ResourceSpec.LocationType
+ * @enum {number}
+ * @property {number} LOCATION_TYPE_UNSPECIFIED=0 LOCATION_TYPE_UNSPECIFIED value
+ * @property {number} SINGLE_REGION=1 SINGLE_REGION value
+ * @property {number} MULTI_REGION=2 MULTI_REGION value
+ */
+ ResourceSpec.LocationType = (function() {
+ var valuesById = {}, values = Object.create(valuesById);
+ values[valuesById[0] = "LOCATION_TYPE_UNSPECIFIED"] = 0;
+ values[valuesById[1] = "SINGLE_REGION"] = 1;
+ values[valuesById[2] = "MULTI_REGION"] = 2;
+ return values;
+ })();
+
+ return ResourceSpec;
+ })();
+
+ Zone.DiscoverySpec = (function() {
+
+ /**
+ * Properties of a DiscoverySpec.
+ * @memberof google.cloud.dataplex.v1.Zone
+ * @interface IDiscoverySpec
+ * @property {boolean|null} [enabled] DiscoverySpec enabled
+ * @property {Array.|null} [includePatterns] DiscoverySpec includePatterns
+ * @property {Array.|null} [excludePatterns] DiscoverySpec excludePatterns
+ * @property {google.cloud.dataplex.v1.Zone.DiscoverySpec.ICsvOptions|null} [csvOptions] DiscoverySpec csvOptions
+ * @property {google.cloud.dataplex.v1.Zone.DiscoverySpec.IJsonOptions|null} [jsonOptions] DiscoverySpec jsonOptions
+ * @property {string|null} [schedule] DiscoverySpec schedule
+ */
+
+ /**
+ * Constructs a new DiscoverySpec.
+ * @memberof google.cloud.dataplex.v1.Zone
+ * @classdesc Represents a DiscoverySpec.
+ * @implements IDiscoverySpec
+ * @constructor
+ * @param {google.cloud.dataplex.v1.Zone.IDiscoverySpec=} [properties] Properties to set
+ */
+ function DiscoverySpec(properties) {
+ this.includePatterns = [];
+ this.excludePatterns = [];
+ 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]];
+ }
+
+ /**
+ * DiscoverySpec enabled.
+ * @member {boolean} enabled
+ * @memberof google.cloud.dataplex.v1.Zone.DiscoverySpec
+ * @instance
+ */
+ DiscoverySpec.prototype.enabled = false;
+
+ /**
+ * DiscoverySpec includePatterns.
+ * @member {Array.} includePatterns
+ * @memberof google.cloud.dataplex.v1.Zone.DiscoverySpec
+ * @instance
+ */
+ DiscoverySpec.prototype.includePatterns = $util.emptyArray;
+
+ /**
+ * DiscoverySpec excludePatterns.
+ * @member {Array.} excludePatterns
+ * @memberof google.cloud.dataplex.v1.Zone.DiscoverySpec
+ * @instance
+ */
+ DiscoverySpec.prototype.excludePatterns = $util.emptyArray;
+
+ /**
+ * DiscoverySpec csvOptions.
+ * @member {google.cloud.dataplex.v1.Zone.DiscoverySpec.ICsvOptions|null|undefined} csvOptions
+ * @memberof google.cloud.dataplex.v1.Zone.DiscoverySpec
+ * @instance
+ */
+ DiscoverySpec.prototype.csvOptions = null;
+
+ /**
+ * DiscoverySpec jsonOptions.
+ * @member {google.cloud.dataplex.v1.Zone.DiscoverySpec.IJsonOptions|null|undefined} jsonOptions
+ * @memberof google.cloud.dataplex.v1.Zone.DiscoverySpec
+ * @instance
+ */
+ DiscoverySpec.prototype.jsonOptions = null;
+
+ /**
+ * DiscoverySpec schedule.
+ * @member {string|null|undefined} schedule
+ * @memberof google.cloud.dataplex.v1.Zone.DiscoverySpec
+ * @instance
+ */
+ DiscoverySpec.prototype.schedule = null;
+
+ // OneOf field names bound to virtual getters and setters
+ var $oneOfFields;
+
+ /**
+ * DiscoverySpec trigger.
+ * @member {"schedule"|undefined} trigger
+ * @memberof google.cloud.dataplex.v1.Zone.DiscoverySpec
+ * @instance
+ */
+ Object.defineProperty(DiscoverySpec.prototype, "trigger", {
+ get: $util.oneOfGetter($oneOfFields = ["schedule"]),
+ set: $util.oneOfSetter($oneOfFields)
+ });
+
+ /**
+ * Creates a new DiscoverySpec instance using the specified properties.
+ * @function create
+ * @memberof google.cloud.dataplex.v1.Zone.DiscoverySpec
+ * @static
+ * @param {google.cloud.dataplex.v1.Zone.IDiscoverySpec=} [properties] Properties to set
+ * @returns {google.cloud.dataplex.v1.Zone.DiscoverySpec} DiscoverySpec instance
+ */
+ DiscoverySpec.create = function create(properties) {
+ return new DiscoverySpec(properties);
+ };
+
+ /**
+ * Encodes the specified DiscoverySpec message. Does not implicitly {@link google.cloud.dataplex.v1.Zone.DiscoverySpec.verify|verify} messages.
+ * @function encode
+ * @memberof google.cloud.dataplex.v1.Zone.DiscoverySpec
+ * @static
+ * @param {google.cloud.dataplex.v1.Zone.IDiscoverySpec} message DiscoverySpec message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ DiscoverySpec.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.enabled != null && Object.hasOwnProperty.call(message, "enabled"))
+ writer.uint32(/* id 1, wireType 0 =*/8).bool(message.enabled);
+ if (message.includePatterns != null && message.includePatterns.length)
+ for (var i = 0; i < message.includePatterns.length; ++i)
+ writer.uint32(/* id 2, wireType 2 =*/18).string(message.includePatterns[i]);
+ if (message.excludePatterns != null && message.excludePatterns.length)
+ for (var i = 0; i < message.excludePatterns.length; ++i)
+ writer.uint32(/* id 3, wireType 2 =*/26).string(message.excludePatterns[i]);
+ if (message.csvOptions != null && Object.hasOwnProperty.call(message, "csvOptions"))
+ $root.google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions.encode(message.csvOptions, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim();
+ if (message.jsonOptions != null && Object.hasOwnProperty.call(message, "jsonOptions"))
+ $root.google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions.encode(message.jsonOptions, writer.uint32(/* id 5, wireType 2 =*/42).fork()).ldelim();
+ if (message.schedule != null && Object.hasOwnProperty.call(message, "schedule"))
+ writer.uint32(/* id 10, wireType 2 =*/82).string(message.schedule);
+ return writer;
+ };
+
+ /**
+ * Encodes the specified DiscoverySpec message, length delimited. Does not implicitly {@link google.cloud.dataplex.v1.Zone.DiscoverySpec.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.cloud.dataplex.v1.Zone.DiscoverySpec
+ * @static
+ * @param {google.cloud.dataplex.v1.Zone.IDiscoverySpec} message DiscoverySpec message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ DiscoverySpec.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes a DiscoverySpec message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.cloud.dataplex.v1.Zone.DiscoverySpec
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.cloud.dataplex.v1.Zone.DiscoverySpec} DiscoverySpec
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ DiscoverySpec.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.dataplex.v1.Zone.DiscoverySpec();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ switch (tag >>> 3) {
+ case 1: {
+ message.enabled = reader.bool();
+ break;
+ }
+ case 2: {
+ if (!(message.includePatterns && message.includePatterns.length))
+ message.includePatterns = [];
+ message.includePatterns.push(reader.string());
+ break;
+ }
+ case 3: {
+ if (!(message.excludePatterns && message.excludePatterns.length))
+ message.excludePatterns = [];
+ message.excludePatterns.push(reader.string());
+ break;
+ }
+ case 4: {
+ message.csvOptions = $root.google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions.decode(reader, reader.uint32());
+ break;
+ }
+ case 5: {
+ message.jsonOptions = $root.google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions.decode(reader, reader.uint32());
+ break;
+ }
+ case 10: {
+ message.schedule = reader.string();
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes a DiscoverySpec message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.cloud.dataplex.v1.Zone.DiscoverySpec
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.cloud.dataplex.v1.Zone.DiscoverySpec} DiscoverySpec
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ DiscoverySpec.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies a DiscoverySpec message.
+ * @function verify
+ * @memberof google.cloud.dataplex.v1.Zone.DiscoverySpec
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ DiscoverySpec.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ var properties = {};
+ if (message.enabled != null && message.hasOwnProperty("enabled"))
+ if (typeof message.enabled !== "boolean")
+ return "enabled: boolean expected";
+ if (message.includePatterns != null && message.hasOwnProperty("includePatterns")) {
+ if (!Array.isArray(message.includePatterns))
+ return "includePatterns: array expected";
+ for (var i = 0; i < message.includePatterns.length; ++i)
+ if (!$util.isString(message.includePatterns[i]))
+ return "includePatterns: string[] expected";
+ }
+ if (message.excludePatterns != null && message.hasOwnProperty("excludePatterns")) {
+ if (!Array.isArray(message.excludePatterns))
+ return "excludePatterns: array expected";
+ for (var i = 0; i < message.excludePatterns.length; ++i)
+ if (!$util.isString(message.excludePatterns[i]))
+ return "excludePatterns: string[] expected";
+ }
+ if (message.csvOptions != null && message.hasOwnProperty("csvOptions")) {
+ var error = $root.google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions.verify(message.csvOptions);
+ if (error)
+ return "csvOptions." + error;
+ }
+ if (message.jsonOptions != null && message.hasOwnProperty("jsonOptions")) {
+ var error = $root.google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions.verify(message.jsonOptions);
+ if (error)
+ return "jsonOptions." + error;
+ }
+ if (message.schedule != null && message.hasOwnProperty("schedule")) {
+ properties.trigger = 1;
+ if (!$util.isString(message.schedule))
+ return "schedule: string expected";
+ }
+ return null;
+ };
+
+ /**
+ * Creates a DiscoverySpec message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.cloud.dataplex.v1.Zone.DiscoverySpec
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.cloud.dataplex.v1.Zone.DiscoverySpec} DiscoverySpec
+ */
+ DiscoverySpec.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.cloud.dataplex.v1.Zone.DiscoverySpec)
+ return object;
+ var message = new $root.google.cloud.dataplex.v1.Zone.DiscoverySpec();
+ if (object.enabled != null)
+ message.enabled = Boolean(object.enabled);
+ if (object.includePatterns) {
+ if (!Array.isArray(object.includePatterns))
+ throw TypeError(".google.cloud.dataplex.v1.Zone.DiscoverySpec.includePatterns: array expected");
+ message.includePatterns = [];
+ for (var i = 0; i < object.includePatterns.length; ++i)
+ message.includePatterns[i] = String(object.includePatterns[i]);
+ }
+ if (object.excludePatterns) {
+ if (!Array.isArray(object.excludePatterns))
+ throw TypeError(".google.cloud.dataplex.v1.Zone.DiscoverySpec.excludePatterns: array expected");
+ message.excludePatterns = [];
+ for (var i = 0; i < object.excludePatterns.length; ++i)
+ message.excludePatterns[i] = String(object.excludePatterns[i]);
+ }
+ if (object.csvOptions != null) {
+ if (typeof object.csvOptions !== "object")
+ throw TypeError(".google.cloud.dataplex.v1.Zone.DiscoverySpec.csvOptions: object expected");
+ message.csvOptions = $root.google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions.fromObject(object.csvOptions);
+ }
+ if (object.jsonOptions != null) {
+ if (typeof object.jsonOptions !== "object")
+ throw TypeError(".google.cloud.dataplex.v1.Zone.DiscoverySpec.jsonOptions: object expected");
+ message.jsonOptions = $root.google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions.fromObject(object.jsonOptions);
+ }
+ if (object.schedule != null)
+ message.schedule = String(object.schedule);
+ return message;
+ };
+
+ /**
+ * Creates a plain object from a DiscoverySpec message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.cloud.dataplex.v1.Zone.DiscoverySpec
+ * @static
+ * @param {google.cloud.dataplex.v1.Zone.DiscoverySpec} message DiscoverySpec
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ DiscoverySpec.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.arrays || options.defaults) {
+ object.includePatterns = [];
+ object.excludePatterns = [];
+ }
+ if (options.defaults) {
+ object.enabled = false;
+ object.csvOptions = null;
+ object.jsonOptions = null;
+ }
+ if (message.enabled != null && message.hasOwnProperty("enabled"))
+ object.enabled = message.enabled;
+ if (message.includePatterns && message.includePatterns.length) {
+ object.includePatterns = [];
+ for (var j = 0; j < message.includePatterns.length; ++j)
+ object.includePatterns[j] = message.includePatterns[j];
+ }
+ if (message.excludePatterns && message.excludePatterns.length) {
+ object.excludePatterns = [];
+ for (var j = 0; j < message.excludePatterns.length; ++j)
+ object.excludePatterns[j] = message.excludePatterns[j];
+ }
+ if (message.csvOptions != null && message.hasOwnProperty("csvOptions"))
+ object.csvOptions = $root.google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions.toObject(message.csvOptions, options);
+ if (message.jsonOptions != null && message.hasOwnProperty("jsonOptions"))
+ object.jsonOptions = $root.google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions.toObject(message.jsonOptions, options);
+ if (message.schedule != null && message.hasOwnProperty("schedule")) {
+ object.schedule = message.schedule;
+ if (options.oneofs)
+ object.trigger = "schedule";
+ }
+ return object;
+ };
+
+ /**
+ * Converts this DiscoverySpec to JSON.
+ * @function toJSON
+ * @memberof google.cloud.dataplex.v1.Zone.DiscoverySpec
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ DiscoverySpec.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for DiscoverySpec
+ * @function getTypeUrl
+ * @memberof google.cloud.dataplex.v1.Zone.DiscoverySpec
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ DiscoverySpec.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.cloud.dataplex.v1.Zone.DiscoverySpec";
+ };
+
+ DiscoverySpec.CsvOptions = (function() {
+
+ /**
+ * Properties of a CsvOptions.
+ * @memberof google.cloud.dataplex.v1.Zone.DiscoverySpec
+ * @interface ICsvOptions
+ * @property {number|null} [headerRows] CsvOptions headerRows
+ * @property {string|null} [delimiter] CsvOptions delimiter
+ * @property {string|null} [encoding] CsvOptions encoding
+ * @property {boolean|null} [disableTypeInference] CsvOptions disableTypeInference
+ */
+
+ /**
+ * Constructs a new CsvOptions.
+ * @memberof google.cloud.dataplex.v1.Zone.DiscoverySpec
+ * @classdesc Represents a CsvOptions.
+ * @implements ICsvOptions
+ * @constructor
+ * @param {google.cloud.dataplex.v1.Zone.DiscoverySpec.ICsvOptions=} [properties] Properties to set
+ */
+ function CsvOptions(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]];
+ }
+
+ /**
+ * CsvOptions headerRows.
+ * @member {number} headerRows
+ * @memberof google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions
+ * @instance
+ */
+ CsvOptions.prototype.headerRows = 0;
+
+ /**
+ * CsvOptions delimiter.
+ * @member {string} delimiter
+ * @memberof google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions
+ * @instance
+ */
+ CsvOptions.prototype.delimiter = "";
+
+ /**
+ * CsvOptions encoding.
+ * @member {string} encoding
+ * @memberof google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions
+ * @instance
+ */
+ CsvOptions.prototype.encoding = "";
+
+ /**
+ * CsvOptions disableTypeInference.
+ * @member {boolean} disableTypeInference
+ * @memberof google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions
+ * @instance
+ */
+ CsvOptions.prototype.disableTypeInference = false;
+
+ /**
+ * Creates a new CsvOptions instance using the specified properties.
+ * @function create
+ * @memberof google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions
+ * @static
+ * @param {google.cloud.dataplex.v1.Zone.DiscoverySpec.ICsvOptions=} [properties] Properties to set
+ * @returns {google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions} CsvOptions instance
+ */
+ CsvOptions.create = function create(properties) {
+ return new CsvOptions(properties);
+ };
+
+ /**
+ * Encodes the specified CsvOptions message. Does not implicitly {@link google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions.verify|verify} messages.
+ * @function encode
+ * @memberof google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions
+ * @static
+ * @param {google.cloud.dataplex.v1.Zone.DiscoverySpec.ICsvOptions} message CsvOptions message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ CsvOptions.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.headerRows != null && Object.hasOwnProperty.call(message, "headerRows"))
+ writer.uint32(/* id 1, wireType 0 =*/8).int32(message.headerRows);
+ if (message.delimiter != null && Object.hasOwnProperty.call(message, "delimiter"))
+ writer.uint32(/* id 2, wireType 2 =*/18).string(message.delimiter);
+ if (message.encoding != null && Object.hasOwnProperty.call(message, "encoding"))
+ writer.uint32(/* id 3, wireType 2 =*/26).string(message.encoding);
+ if (message.disableTypeInference != null && Object.hasOwnProperty.call(message, "disableTypeInference"))
+ writer.uint32(/* id 4, wireType 0 =*/32).bool(message.disableTypeInference);
+ return writer;
+ };
+
+ /**
+ * Encodes the specified CsvOptions message, length delimited. Does not implicitly {@link google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions
+ * @static
+ * @param {google.cloud.dataplex.v1.Zone.DiscoverySpec.ICsvOptions} message CsvOptions message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ CsvOptions.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes a CsvOptions message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions} CsvOptions
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ CsvOptions.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.dataplex.v1.Zone.DiscoverySpec.CsvOptions();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ switch (tag >>> 3) {
+ case 1: {
+ message.headerRows = reader.int32();
+ break;
+ }
+ case 2: {
+ message.delimiter = reader.string();
+ break;
+ }
+ case 3: {
+ message.encoding = reader.string();
+ break;
+ }
+ case 4: {
+ message.disableTypeInference = reader.bool();
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes a CsvOptions message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions} CsvOptions
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ CsvOptions.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies a CsvOptions message.
+ * @function verify
+ * @memberof google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ CsvOptions.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ if (message.headerRows != null && message.hasOwnProperty("headerRows"))
+ if (!$util.isInteger(message.headerRows))
+ return "headerRows: integer expected";
+ if (message.delimiter != null && message.hasOwnProperty("delimiter"))
+ if (!$util.isString(message.delimiter))
+ return "delimiter: string expected";
+ if (message.encoding != null && message.hasOwnProperty("encoding"))
+ if (!$util.isString(message.encoding))
+ return "encoding: string expected";
+ if (message.disableTypeInference != null && message.hasOwnProperty("disableTypeInference"))
+ if (typeof message.disableTypeInference !== "boolean")
+ return "disableTypeInference: boolean expected";
+ return null;
+ };
+
+ /**
+ * Creates a CsvOptions message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions} CsvOptions
+ */
+ CsvOptions.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions)
+ return object;
+ var message = new $root.google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions();
+ if (object.headerRows != null)
+ message.headerRows = object.headerRows | 0;
+ if (object.delimiter != null)
+ message.delimiter = String(object.delimiter);
+ if (object.encoding != null)
+ message.encoding = String(object.encoding);
+ if (object.disableTypeInference != null)
+ message.disableTypeInference = Boolean(object.disableTypeInference);
+ return message;
+ };
+
+ /**
+ * Creates a plain object from a CsvOptions message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions
+ * @static
+ * @param {google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions} message CsvOptions
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ CsvOptions.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.defaults) {
+ object.headerRows = 0;
+ object.delimiter = "";
+ object.encoding = "";
+ object.disableTypeInference = false;
+ }
+ if (message.headerRows != null && message.hasOwnProperty("headerRows"))
+ object.headerRows = message.headerRows;
+ if (message.delimiter != null && message.hasOwnProperty("delimiter"))
+ object.delimiter = message.delimiter;
+ if (message.encoding != null && message.hasOwnProperty("encoding"))
+ object.encoding = message.encoding;
+ if (message.disableTypeInference != null && message.hasOwnProperty("disableTypeInference"))
+ object.disableTypeInference = message.disableTypeInference;
+ return object;
+ };
+
+ /**
+ * Converts this CsvOptions to JSON.
+ * @function toJSON
+ * @memberof google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ CsvOptions.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for CsvOptions
+ * @function getTypeUrl
+ * @memberof google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ CsvOptions.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.cloud.dataplex.v1.Zone.DiscoverySpec.CsvOptions";
+ };
+
+ return CsvOptions;
+ })();
+
+ DiscoverySpec.JsonOptions = (function() {
+
+ /**
+ * Properties of a JsonOptions.
+ * @memberof google.cloud.dataplex.v1.Zone.DiscoverySpec
+ * @interface IJsonOptions
+ * @property {string|null} [encoding] JsonOptions encoding
+ * @property {boolean|null} [disableTypeInference] JsonOptions disableTypeInference
+ */
+
+ /**
+ * Constructs a new JsonOptions.
+ * @memberof google.cloud.dataplex.v1.Zone.DiscoverySpec
+ * @classdesc Represents a JsonOptions.
+ * @implements IJsonOptions
+ * @constructor
+ * @param {google.cloud.dataplex.v1.Zone.DiscoverySpec.IJsonOptions=} [properties] Properties to set
+ */
+ function JsonOptions(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]];
+ }
+
+ /**
+ * JsonOptions encoding.
+ * @member {string} encoding
+ * @memberof google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions
+ * @instance
+ */
+ JsonOptions.prototype.encoding = "";
+
+ /**
+ * JsonOptions disableTypeInference.
+ * @member {boolean} disableTypeInference
+ * @memberof google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions
+ * @instance
+ */
+ JsonOptions.prototype.disableTypeInference = false;
+
+ /**
+ * Creates a new JsonOptions instance using the specified properties.
+ * @function create
+ * @memberof google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions
+ * @static
+ * @param {google.cloud.dataplex.v1.Zone.DiscoverySpec.IJsonOptions=} [properties] Properties to set
+ * @returns {google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions} JsonOptions instance
+ */
+ JsonOptions.create = function create(properties) {
+ return new JsonOptions(properties);
+ };
+
+ /**
+ * Encodes the specified JsonOptions message. Does not implicitly {@link google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions.verify|verify} messages.
+ * @function encode
+ * @memberof google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions
+ * @static
+ * @param {google.cloud.dataplex.v1.Zone.DiscoverySpec.IJsonOptions} message JsonOptions message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ JsonOptions.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.encoding != null && Object.hasOwnProperty.call(message, "encoding"))
+ writer.uint32(/* id 1, wireType 2 =*/10).string(message.encoding);
+ if (message.disableTypeInference != null && Object.hasOwnProperty.call(message, "disableTypeInference"))
+ writer.uint32(/* id 2, wireType 0 =*/16).bool(message.disableTypeInference);
+ return writer;
+ };
+
+ /**
+ * Encodes the specified JsonOptions message, length delimited. Does not implicitly {@link google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions
+ * @static
+ * @param {google.cloud.dataplex.v1.Zone.DiscoverySpec.IJsonOptions} message JsonOptions message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ JsonOptions.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes a JsonOptions message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions} JsonOptions
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ JsonOptions.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.dataplex.v1.Zone.DiscoverySpec.JsonOptions();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ switch (tag >>> 3) {
+ case 1: {
+ message.encoding = reader.string();
+ break;
+ }
+ case 2: {
+ message.disableTypeInference = reader.bool();
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes a JsonOptions message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions} JsonOptions
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ JsonOptions.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies a JsonOptions message.
+ * @function verify
+ * @memberof google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ JsonOptions.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ if (message.encoding != null && message.hasOwnProperty("encoding"))
+ if (!$util.isString(message.encoding))
+ return "encoding: string expected";
+ if (message.disableTypeInference != null && message.hasOwnProperty("disableTypeInference"))
+ if (typeof message.disableTypeInference !== "boolean")
+ return "disableTypeInference: boolean expected";
+ return null;
+ };
+
+ /**
+ * Creates a JsonOptions message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions} JsonOptions
+ */
+ JsonOptions.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions)
+ return object;
+ var message = new $root.google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions();
+ if (object.encoding != null)
+ message.encoding = String(object.encoding);
+ if (object.disableTypeInference != null)
+ message.disableTypeInference = Boolean(object.disableTypeInference);
+ return message;
+ };
+
+ /**
+ * Creates a plain object from a JsonOptions message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions
+ * @static
+ * @param {google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions} message JsonOptions
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ JsonOptions.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.defaults) {
+ object.encoding = "";
+ object.disableTypeInference = false;
+ }
+ if (message.encoding != null && message.hasOwnProperty("encoding"))
+ object.encoding = message.encoding;
+ if (message.disableTypeInference != null && message.hasOwnProperty("disableTypeInference"))
+ object.disableTypeInference = message.disableTypeInference;
+ return object;
+ };
+
+ /**
+ * Converts this JsonOptions to JSON.
+ * @function toJSON
+ * @memberof google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ JsonOptions.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for JsonOptions
+ * @function getTypeUrl
+ * @memberof google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ JsonOptions.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions";
+ };
+
+ return JsonOptions;
+ })();
+
+ return DiscoverySpec;
+ })();
+
+ return Zone;
+ })();
+
+ v1.Action = (function() {
+
+ /**
+ * Properties of an Action.
+ * @memberof google.cloud.dataplex.v1
+ * @interface IAction
+ * @property {google.cloud.dataplex.v1.Action.Category|null} [category] Action category
+ * @property {string|null} [issue] Action issue
+ * @property {google.protobuf.ITimestamp|null} [detectTime] Action detectTime
+ * @property {string|null} [name] Action name
+ * @property {string|null} [lake] Action lake
+ * @property {string|null} [zone] Action zone
+ * @property {string|null} [asset] Action asset
+ * @property {Array.|null} [dataLocations] Action dataLocations
+ * @property {google.cloud.dataplex.v1.Action.IInvalidDataFormat|null} [invalidDataFormat] Action invalidDataFormat
+ * @property {google.cloud.dataplex.v1.Action.IIncompatibleDataSchema|null} [incompatibleDataSchema] Action incompatibleDataSchema
+ * @property {google.cloud.dataplex.v1.Action.IInvalidDataPartition|null} [invalidDataPartition] Action invalidDataPartition
+ * @property {google.cloud.dataplex.v1.Action.IMissingData|null} [missingData] Action missingData
+ * @property {google.cloud.dataplex.v1.Action.IMissingResource|null} [missingResource] Action missingResource
+ * @property {google.cloud.dataplex.v1.Action.IUnauthorizedResource|null} [unauthorizedResource] Action unauthorizedResource
+ * @property {google.cloud.dataplex.v1.Action.IFailedSecurityPolicyApply|null} [failedSecurityPolicyApply] Action failedSecurityPolicyApply
+ * @property {google.cloud.dataplex.v1.Action.IInvalidDataOrganization|null} [invalidDataOrganization] Action invalidDataOrganization
+ */
+
+ /**
+ * Constructs a new Action.
+ * @memberof google.cloud.dataplex.v1
+ * @classdesc Represents an Action.
+ * @implements IAction
+ * @constructor
+ * @param {google.cloud.dataplex.v1.IAction=} [properties] Properties to set
+ */
+ function Action(properties) {
+ this.dataLocations = [];
+ 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]];
+ }
+
+ /**
+ * Action category.
+ * @member {google.cloud.dataplex.v1.Action.Category} category
+ * @memberof google.cloud.dataplex.v1.Action
+ * @instance
+ */
+ Action.prototype.category = 0;
+
+ /**
+ * Action issue.
+ * @member {string} issue
+ * @memberof google.cloud.dataplex.v1.Action
+ * @instance
+ */
+ Action.prototype.issue = "";
+
+ /**
+ * Action detectTime.
+ * @member {google.protobuf.ITimestamp|null|undefined} detectTime
+ * @memberof google.cloud.dataplex.v1.Action
+ * @instance
+ */
+ Action.prototype.detectTime = null;
+
+ /**
+ * Action name.
+ * @member {string} name
+ * @memberof google.cloud.dataplex.v1.Action
+ * @instance
+ */
+ Action.prototype.name = "";
+
+ /**
+ * Action lake.
+ * @member {string} lake
+ * @memberof google.cloud.dataplex.v1.Action
+ * @instance
+ */
+ Action.prototype.lake = "";
+
+ /**
+ * Action zone.
+ * @member {string} zone
+ * @memberof google.cloud.dataplex.v1.Action
+ * @instance
+ */
+ Action.prototype.zone = "";
+
+ /**
+ * Action asset.
+ * @member {string} asset
+ * @memberof google.cloud.dataplex.v1.Action
+ * @instance
+ */
+ Action.prototype.asset = "";
+
+ /**
+ * Action dataLocations.
+ * @member {Array.} dataLocations
+ * @memberof google.cloud.dataplex.v1.Action
+ * @instance
+ */
+ Action.prototype.dataLocations = $util.emptyArray;
+
+ /**
+ * Action invalidDataFormat.
+ * @member {google.cloud.dataplex.v1.Action.IInvalidDataFormat|null|undefined} invalidDataFormat
+ * @memberof google.cloud.dataplex.v1.Action
+ * @instance
+ */
+ Action.prototype.invalidDataFormat = null;
+
+ /**
+ * Action incompatibleDataSchema.
+ * @member {google.cloud.dataplex.v1.Action.IIncompatibleDataSchema|null|undefined} incompatibleDataSchema
+ * @memberof google.cloud.dataplex.v1.Action
+ * @instance
+ */
+ Action.prototype.incompatibleDataSchema = null;
+
+ /**
+ * Action invalidDataPartition.
+ * @member {google.cloud.dataplex.v1.Action.IInvalidDataPartition|null|undefined} invalidDataPartition
+ * @memberof google.cloud.dataplex.v1.Action
+ * @instance
+ */
+ Action.prototype.invalidDataPartition = null;
+
+ /**
+ * Action missingData.
+ * @member {google.cloud.dataplex.v1.Action.IMissingData|null|undefined} missingData
+ * @memberof google.cloud.dataplex.v1.Action
+ * @instance
+ */
+ Action.prototype.missingData = null;
+
+ /**
+ * Action missingResource.
+ * @member {google.cloud.dataplex.v1.Action.IMissingResource|null|undefined} missingResource
+ * @memberof google.cloud.dataplex.v1.Action
+ * @instance
+ */
+ Action.prototype.missingResource = null;
+
+ /**
+ * Action unauthorizedResource.
+ * @member {google.cloud.dataplex.v1.Action.IUnauthorizedResource|null|undefined} unauthorizedResource
+ * @memberof google.cloud.dataplex.v1.Action
+ * @instance
+ */
+ Action.prototype.unauthorizedResource = null;
+
+ /**
+ * Action failedSecurityPolicyApply.
+ * @member {google.cloud.dataplex.v1.Action.IFailedSecurityPolicyApply|null|undefined} failedSecurityPolicyApply
+ * @memberof google.cloud.dataplex.v1.Action
+ * @instance
+ */
+ Action.prototype.failedSecurityPolicyApply = null;
+
+ /**
+ * Action invalidDataOrganization.
+ * @member {google.cloud.dataplex.v1.Action.IInvalidDataOrganization|null|undefined} invalidDataOrganization
+ * @memberof google.cloud.dataplex.v1.Action
+ * @instance
+ */
+ Action.prototype.invalidDataOrganization = null;
+
+ // OneOf field names bound to virtual getters and setters
+ var $oneOfFields;
+
+ /**
+ * Action details.
+ * @member {"invalidDataFormat"|"incompatibleDataSchema"|"invalidDataPartition"|"missingData"|"missingResource"|"unauthorizedResource"|"failedSecurityPolicyApply"|"invalidDataOrganization"|undefined} details
+ * @memberof google.cloud.dataplex.v1.Action
+ * @instance
+ */
+ Object.defineProperty(Action.prototype, "details", {
+ get: $util.oneOfGetter($oneOfFields = ["invalidDataFormat", "incompatibleDataSchema", "invalidDataPartition", "missingData", "missingResource", "unauthorizedResource", "failedSecurityPolicyApply", "invalidDataOrganization"]),
+ set: $util.oneOfSetter($oneOfFields)
+ });
+
+ /**
+ * Creates a new Action instance using the specified properties.
+ * @function create
+ * @memberof google.cloud.dataplex.v1.Action
+ * @static
+ * @param {google.cloud.dataplex.v1.IAction=} [properties] Properties to set
+ * @returns {google.cloud.dataplex.v1.Action} Action instance
+ */
+ Action.create = function create(properties) {
+ return new Action(properties);
+ };
+
+ /**
+ * Encodes the specified Action message. Does not implicitly {@link google.cloud.dataplex.v1.Action.verify|verify} messages.
+ * @function encode
+ * @memberof google.cloud.dataplex.v1.Action
+ * @static
+ * @param {google.cloud.dataplex.v1.IAction} message Action message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ Action.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.category != null && Object.hasOwnProperty.call(message, "category"))
+ writer.uint32(/* id 1, wireType 0 =*/8).int32(message.category);
+ if (message.issue != null && Object.hasOwnProperty.call(message, "issue"))
+ writer.uint32(/* id 2, wireType 2 =*/18).string(message.issue);
+ if (message.detectTime != null && Object.hasOwnProperty.call(message, "detectTime"))
+ $root.google.protobuf.Timestamp.encode(message.detectTime, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim();
+ if (message.name != null && Object.hasOwnProperty.call(message, "name"))
+ writer.uint32(/* id 5, wireType 2 =*/42).string(message.name);
+ if (message.lake != null && Object.hasOwnProperty.call(message, "lake"))
+ writer.uint32(/* id 6, wireType 2 =*/50).string(message.lake);
+ if (message.zone != null && Object.hasOwnProperty.call(message, "zone"))
+ writer.uint32(/* id 7, wireType 2 =*/58).string(message.zone);
+ if (message.asset != null && Object.hasOwnProperty.call(message, "asset"))
+ writer.uint32(/* id 8, wireType 2 =*/66).string(message.asset);
+ if (message.dataLocations != null && message.dataLocations.length)
+ for (var i = 0; i < message.dataLocations.length; ++i)
+ writer.uint32(/* id 9, wireType 2 =*/74).string(message.dataLocations[i]);
+ if (message.invalidDataFormat != null && Object.hasOwnProperty.call(message, "invalidDataFormat"))
+ $root.google.cloud.dataplex.v1.Action.InvalidDataFormat.encode(message.invalidDataFormat, writer.uint32(/* id 10, wireType 2 =*/82).fork()).ldelim();
+ if (message.incompatibleDataSchema != null && Object.hasOwnProperty.call(message, "incompatibleDataSchema"))
+ $root.google.cloud.dataplex.v1.Action.IncompatibleDataSchema.encode(message.incompatibleDataSchema, writer.uint32(/* id 11, wireType 2 =*/90).fork()).ldelim();
+ if (message.invalidDataPartition != null && Object.hasOwnProperty.call(message, "invalidDataPartition"))
+ $root.google.cloud.dataplex.v1.Action.InvalidDataPartition.encode(message.invalidDataPartition, writer.uint32(/* id 12, wireType 2 =*/98).fork()).ldelim();
+ if (message.missingData != null && Object.hasOwnProperty.call(message, "missingData"))
+ $root.google.cloud.dataplex.v1.Action.MissingData.encode(message.missingData, writer.uint32(/* id 13, wireType 2 =*/106).fork()).ldelim();
+ if (message.missingResource != null && Object.hasOwnProperty.call(message, "missingResource"))
+ $root.google.cloud.dataplex.v1.Action.MissingResource.encode(message.missingResource, writer.uint32(/* id 14, wireType 2 =*/114).fork()).ldelim();
+ if (message.unauthorizedResource != null && Object.hasOwnProperty.call(message, "unauthorizedResource"))
+ $root.google.cloud.dataplex.v1.Action.UnauthorizedResource.encode(message.unauthorizedResource, writer.uint32(/* id 15, wireType 2 =*/122).fork()).ldelim();
+ if (message.failedSecurityPolicyApply != null && Object.hasOwnProperty.call(message, "failedSecurityPolicyApply"))
+ $root.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply.encode(message.failedSecurityPolicyApply, writer.uint32(/* id 21, wireType 2 =*/170).fork()).ldelim();
+ if (message.invalidDataOrganization != null && Object.hasOwnProperty.call(message, "invalidDataOrganization"))
+ $root.google.cloud.dataplex.v1.Action.InvalidDataOrganization.encode(message.invalidDataOrganization, writer.uint32(/* id 22, wireType 2 =*/178).fork()).ldelim();
+ return writer;
+ };
+
+ /**
+ * Encodes the specified Action message, length delimited. Does not implicitly {@link google.cloud.dataplex.v1.Action.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.cloud.dataplex.v1.Action
+ * @static
+ * @param {google.cloud.dataplex.v1.IAction} message Action message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ Action.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes an Action message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.cloud.dataplex.v1.Action
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.cloud.dataplex.v1.Action} Action
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ Action.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.dataplex.v1.Action();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ switch (tag >>> 3) {
+ case 1: {
+ message.category = reader.int32();
+ break;
+ }
+ case 2: {
+ message.issue = reader.string();
+ break;
+ }
+ case 4: {
+ message.detectTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32());
+ break;
+ }
+ case 5: {
+ message.name = reader.string();
+ break;
+ }
+ case 6: {
+ message.lake = reader.string();
+ break;
+ }
+ case 7: {
+ message.zone = reader.string();
+ break;
+ }
+ case 8: {
+ message.asset = reader.string();
+ break;
+ }
+ case 9: {
+ if (!(message.dataLocations && message.dataLocations.length))
+ message.dataLocations = [];
+ message.dataLocations.push(reader.string());
+ break;
+ }
+ case 10: {
+ message.invalidDataFormat = $root.google.cloud.dataplex.v1.Action.InvalidDataFormat.decode(reader, reader.uint32());
+ break;
+ }
+ case 11: {
+ message.incompatibleDataSchema = $root.google.cloud.dataplex.v1.Action.IncompatibleDataSchema.decode(reader, reader.uint32());
+ break;
+ }
+ case 12: {
+ message.invalidDataPartition = $root.google.cloud.dataplex.v1.Action.InvalidDataPartition.decode(reader, reader.uint32());
+ break;
+ }
+ case 13: {
+ message.missingData = $root.google.cloud.dataplex.v1.Action.MissingData.decode(reader, reader.uint32());
+ break;
+ }
+ case 14: {
+ message.missingResource = $root.google.cloud.dataplex.v1.Action.MissingResource.decode(reader, reader.uint32());
+ break;
+ }
+ case 15: {
+ message.unauthorizedResource = $root.google.cloud.dataplex.v1.Action.UnauthorizedResource.decode(reader, reader.uint32());
+ break;
+ }
+ case 21: {
+ message.failedSecurityPolicyApply = $root.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply.decode(reader, reader.uint32());
+ break;
+ }
+ case 22: {
+ message.invalidDataOrganization = $root.google.cloud.dataplex.v1.Action.InvalidDataOrganization.decode(reader, reader.uint32());
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes an Action message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.cloud.dataplex.v1.Action
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.cloud.dataplex.v1.Action} Action
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ Action.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies an Action message.
+ * @function verify
+ * @memberof google.cloud.dataplex.v1.Action
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ Action.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ var properties = {};
+ if (message.category != null && message.hasOwnProperty("category"))
+ switch (message.category) {
+ default:
+ return "category: enum value expected";
+ case 0:
+ case 1:
+ case 2:
+ case 3:
+ break;
+ }
+ if (message.issue != null && message.hasOwnProperty("issue"))
+ if (!$util.isString(message.issue))
+ return "issue: string expected";
+ if (message.detectTime != null && message.hasOwnProperty("detectTime")) {
+ var error = $root.google.protobuf.Timestamp.verify(message.detectTime);
+ if (error)
+ return "detectTime." + error;
+ }
+ if (message.name != null && message.hasOwnProperty("name"))
+ if (!$util.isString(message.name))
+ return "name: string expected";
+ if (message.lake != null && message.hasOwnProperty("lake"))
+ if (!$util.isString(message.lake))
+ return "lake: string expected";
+ if (message.zone != null && message.hasOwnProperty("zone"))
+ if (!$util.isString(message.zone))
+ return "zone: string expected";
+ if (message.asset != null && message.hasOwnProperty("asset"))
+ if (!$util.isString(message.asset))
+ return "asset: string expected";
+ if (message.dataLocations != null && message.hasOwnProperty("dataLocations")) {
+ if (!Array.isArray(message.dataLocations))
+ return "dataLocations: array expected";
+ for (var i = 0; i < message.dataLocations.length; ++i)
+ if (!$util.isString(message.dataLocations[i]))
+ return "dataLocations: string[] expected";
+ }
+ if (message.invalidDataFormat != null && message.hasOwnProperty("invalidDataFormat")) {
+ properties.details = 1;
+ {
+ var error = $root.google.cloud.dataplex.v1.Action.InvalidDataFormat.verify(message.invalidDataFormat);
+ if (error)
+ return "invalidDataFormat." + error;
+ }
+ }
+ if (message.incompatibleDataSchema != null && message.hasOwnProperty("incompatibleDataSchema")) {
+ if (properties.details === 1)
+ return "details: multiple values";
+ properties.details = 1;
+ {
+ var error = $root.google.cloud.dataplex.v1.Action.IncompatibleDataSchema.verify(message.incompatibleDataSchema);
+ if (error)
+ return "incompatibleDataSchema." + error;
+ }
+ }
+ if (message.invalidDataPartition != null && message.hasOwnProperty("invalidDataPartition")) {
+ if (properties.details === 1)
+ return "details: multiple values";
+ properties.details = 1;
+ {
+ var error = $root.google.cloud.dataplex.v1.Action.InvalidDataPartition.verify(message.invalidDataPartition);
+ if (error)
+ return "invalidDataPartition." + error;
+ }
+ }
+ if (message.missingData != null && message.hasOwnProperty("missingData")) {
+ if (properties.details === 1)
+ return "details: multiple values";
+ properties.details = 1;
+ {
+ var error = $root.google.cloud.dataplex.v1.Action.MissingData.verify(message.missingData);
+ if (error)
+ return "missingData." + error;
+ }
+ }
+ if (message.missingResource != null && message.hasOwnProperty("missingResource")) {
+ if (properties.details === 1)
+ return "details: multiple values";
+ properties.details = 1;
+ {
+ var error = $root.google.cloud.dataplex.v1.Action.MissingResource.verify(message.missingResource);
+ if (error)
+ return "missingResource." + error;
+ }
+ }
+ if (message.unauthorizedResource != null && message.hasOwnProperty("unauthorizedResource")) {
+ if (properties.details === 1)
+ return "details: multiple values";
+ properties.details = 1;
+ {
+ var error = $root.google.cloud.dataplex.v1.Action.UnauthorizedResource.verify(message.unauthorizedResource);
+ if (error)
+ return "unauthorizedResource." + error;
+ }
+ }
+ if (message.failedSecurityPolicyApply != null && message.hasOwnProperty("failedSecurityPolicyApply")) {
+ if (properties.details === 1)
+ return "details: multiple values";
+ properties.details = 1;
+ {
+ var error = $root.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply.verify(message.failedSecurityPolicyApply);
+ if (error)
+ return "failedSecurityPolicyApply." + error;
+ }
+ }
+ if (message.invalidDataOrganization != null && message.hasOwnProperty("invalidDataOrganization")) {
+ if (properties.details === 1)
+ return "details: multiple values";
+ properties.details = 1;
+ {
+ var error = $root.google.cloud.dataplex.v1.Action.InvalidDataOrganization.verify(message.invalidDataOrganization);
+ if (error)
+ return "invalidDataOrganization." + error;
+ }
+ }
+ return null;
+ };
+
+ /**
+ * Creates an Action message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.cloud.dataplex.v1.Action
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.cloud.dataplex.v1.Action} Action
+ */
+ Action.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.cloud.dataplex.v1.Action)
+ return object;
+ var message = new $root.google.cloud.dataplex.v1.Action();
+ switch (object.category) {
+ case "CATEGORY_UNSPECIFIED":
+ case 0:
+ message.category = 0;
+ break;
+ case "RESOURCE_MANAGEMENT":
+ case 1:
+ message.category = 1;
+ break;
+ case "SECURITY_POLICY":
+ case 2:
+ message.category = 2;
+ break;
+ case "DATA_DISCOVERY":
+ case 3:
+ message.category = 3;
+ break;
+ }
+ if (object.issue != null)
+ message.issue = String(object.issue);
+ if (object.detectTime != null) {
+ if (typeof object.detectTime !== "object")
+ throw TypeError(".google.cloud.dataplex.v1.Action.detectTime: object expected");
+ message.detectTime = $root.google.protobuf.Timestamp.fromObject(object.detectTime);
+ }
+ if (object.name != null)
+ message.name = String(object.name);
+ if (object.lake != null)
+ message.lake = String(object.lake);
+ if (object.zone != null)
+ message.zone = String(object.zone);
+ if (object.asset != null)
+ message.asset = String(object.asset);
+ if (object.dataLocations) {
+ if (!Array.isArray(object.dataLocations))
+ throw TypeError(".google.cloud.dataplex.v1.Action.dataLocations: array expected");
+ message.dataLocations = [];
+ for (var i = 0; i < object.dataLocations.length; ++i)
+ message.dataLocations[i] = String(object.dataLocations[i]);
+ }
+ if (object.invalidDataFormat != null) {
+ if (typeof object.invalidDataFormat !== "object")
+ throw TypeError(".google.cloud.dataplex.v1.Action.invalidDataFormat: object expected");
+ message.invalidDataFormat = $root.google.cloud.dataplex.v1.Action.InvalidDataFormat.fromObject(object.invalidDataFormat);
+ }
+ if (object.incompatibleDataSchema != null) {
+ if (typeof object.incompatibleDataSchema !== "object")
+ throw TypeError(".google.cloud.dataplex.v1.Action.incompatibleDataSchema: object expected");
+ message.incompatibleDataSchema = $root.google.cloud.dataplex.v1.Action.IncompatibleDataSchema.fromObject(object.incompatibleDataSchema);
+ }
+ if (object.invalidDataPartition != null) {
+ if (typeof object.invalidDataPartition !== "object")
+ throw TypeError(".google.cloud.dataplex.v1.Action.invalidDataPartition: object expected");
+ message.invalidDataPartition = $root.google.cloud.dataplex.v1.Action.InvalidDataPartition.fromObject(object.invalidDataPartition);
+ }
+ if (object.missingData != null) {
+ if (typeof object.missingData !== "object")
+ throw TypeError(".google.cloud.dataplex.v1.Action.missingData: object expected");
+ message.missingData = $root.google.cloud.dataplex.v1.Action.MissingData.fromObject(object.missingData);
+ }
+ if (object.missingResource != null) {
+ if (typeof object.missingResource !== "object")
+ throw TypeError(".google.cloud.dataplex.v1.Action.missingResource: object expected");
+ message.missingResource = $root.google.cloud.dataplex.v1.Action.MissingResource.fromObject(object.missingResource);
+ }
+ if (object.unauthorizedResource != null) {
+ if (typeof object.unauthorizedResource !== "object")
+ throw TypeError(".google.cloud.dataplex.v1.Action.unauthorizedResource: object expected");
+ message.unauthorizedResource = $root.google.cloud.dataplex.v1.Action.UnauthorizedResource.fromObject(object.unauthorizedResource);
+ }
+ if (object.failedSecurityPolicyApply != null) {
+ if (typeof object.failedSecurityPolicyApply !== "object")
+ throw TypeError(".google.cloud.dataplex.v1.Action.failedSecurityPolicyApply: object expected");
+ message.failedSecurityPolicyApply = $root.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply.fromObject(object.failedSecurityPolicyApply);
+ }
+ if (object.invalidDataOrganization != null) {
+ if (typeof object.invalidDataOrganization !== "object")
+ throw TypeError(".google.cloud.dataplex.v1.Action.invalidDataOrganization: object expected");
+ message.invalidDataOrganization = $root.google.cloud.dataplex.v1.Action.InvalidDataOrganization.fromObject(object.invalidDataOrganization);
+ }
+ return message;
+ };
+
+ /**
+ * Creates a plain object from an Action message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.cloud.dataplex.v1.Action
+ * @static
+ * @param {google.cloud.dataplex.v1.Action} message Action
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ Action.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.arrays || options.defaults)
+ object.dataLocations = [];
+ if (options.defaults) {
+ object.category = options.enums === String ? "CATEGORY_UNSPECIFIED" : 0;
+ object.issue = "";
+ object.detectTime = null;
+ object.name = "";
+ object.lake = "";
+ object.zone = "";
+ object.asset = "";
+ }
+ if (message.category != null && message.hasOwnProperty("category"))
+ object.category = options.enums === String ? $root.google.cloud.dataplex.v1.Action.Category[message.category] : message.category;
+ if (message.issue != null && message.hasOwnProperty("issue"))
+ object.issue = message.issue;
+ if (message.detectTime != null && message.hasOwnProperty("detectTime"))
+ object.detectTime = $root.google.protobuf.Timestamp.toObject(message.detectTime, options);
+ if (message.name != null && message.hasOwnProperty("name"))
+ object.name = message.name;
+ if (message.lake != null && message.hasOwnProperty("lake"))
+ object.lake = message.lake;
+ if (message.zone != null && message.hasOwnProperty("zone"))
+ object.zone = message.zone;
+ if (message.asset != null && message.hasOwnProperty("asset"))
+ object.asset = message.asset;
+ if (message.dataLocations && message.dataLocations.length) {
+ object.dataLocations = [];
+ for (var j = 0; j < message.dataLocations.length; ++j)
+ object.dataLocations[j] = message.dataLocations[j];
+ }
+ if (message.invalidDataFormat != null && message.hasOwnProperty("invalidDataFormat")) {
+ object.invalidDataFormat = $root.google.cloud.dataplex.v1.Action.InvalidDataFormat.toObject(message.invalidDataFormat, options);
+ if (options.oneofs)
+ object.details = "invalidDataFormat";
+ }
+ if (message.incompatibleDataSchema != null && message.hasOwnProperty("incompatibleDataSchema")) {
+ object.incompatibleDataSchema = $root.google.cloud.dataplex.v1.Action.IncompatibleDataSchema.toObject(message.incompatibleDataSchema, options);
+ if (options.oneofs)
+ object.details = "incompatibleDataSchema";
+ }
+ if (message.invalidDataPartition != null && message.hasOwnProperty("invalidDataPartition")) {
+ object.invalidDataPartition = $root.google.cloud.dataplex.v1.Action.InvalidDataPartition.toObject(message.invalidDataPartition, options);
+ if (options.oneofs)
+ object.details = "invalidDataPartition";
+ }
+ if (message.missingData != null && message.hasOwnProperty("missingData")) {
+ object.missingData = $root.google.cloud.dataplex.v1.Action.MissingData.toObject(message.missingData, options);
+ if (options.oneofs)
+ object.details = "missingData";
+ }
+ if (message.missingResource != null && message.hasOwnProperty("missingResource")) {
+ object.missingResource = $root.google.cloud.dataplex.v1.Action.MissingResource.toObject(message.missingResource, options);
+ if (options.oneofs)
+ object.details = "missingResource";
+ }
+ if (message.unauthorizedResource != null && message.hasOwnProperty("unauthorizedResource")) {
+ object.unauthorizedResource = $root.google.cloud.dataplex.v1.Action.UnauthorizedResource.toObject(message.unauthorizedResource, options);
+ if (options.oneofs)
+ object.details = "unauthorizedResource";
+ }
+ if (message.failedSecurityPolicyApply != null && message.hasOwnProperty("failedSecurityPolicyApply")) {
+ object.failedSecurityPolicyApply = $root.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply.toObject(message.failedSecurityPolicyApply, options);
+ if (options.oneofs)
+ object.details = "failedSecurityPolicyApply";
+ }
+ if (message.invalidDataOrganization != null && message.hasOwnProperty("invalidDataOrganization")) {
+ object.invalidDataOrganization = $root.google.cloud.dataplex.v1.Action.InvalidDataOrganization.toObject(message.invalidDataOrganization, options);
+ if (options.oneofs)
+ object.details = "invalidDataOrganization";
+ }
+ return object;
+ };
+
+ /**
+ * Converts this Action to JSON.
+ * @function toJSON
+ * @memberof google.cloud.dataplex.v1.Action
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ Action.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for Action
+ * @function getTypeUrl
+ * @memberof google.cloud.dataplex.v1.Action
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ Action.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.cloud.dataplex.v1.Action";
+ };
+
+ /**
+ * Category enum.
+ * @name google.cloud.dataplex.v1.Action.Category
+ * @enum {number}
+ * @property {number} CATEGORY_UNSPECIFIED=0 CATEGORY_UNSPECIFIED value
+ * @property {number} RESOURCE_MANAGEMENT=1 RESOURCE_MANAGEMENT value
+ * @property {number} SECURITY_POLICY=2 SECURITY_POLICY value
+ * @property {number} DATA_DISCOVERY=3 DATA_DISCOVERY value
+ */
+ Action.Category = (function() {
+ var valuesById = {}, values = Object.create(valuesById);
+ values[valuesById[0] = "CATEGORY_UNSPECIFIED"] = 0;
+ values[valuesById[1] = "RESOURCE_MANAGEMENT"] = 1;
+ values[valuesById[2] = "SECURITY_POLICY"] = 2;
+ values[valuesById[3] = "DATA_DISCOVERY"] = 3;
+ return values;
+ })();
+
+ Action.MissingResource = (function() {
+
+ /**
+ * Properties of a MissingResource.
+ * @memberof google.cloud.dataplex.v1.Action
+ * @interface IMissingResource
+ */
+
+ /**
+ * Constructs a new MissingResource.
+ * @memberof google.cloud.dataplex.v1.Action
+ * @classdesc Represents a MissingResource.
+ * @implements IMissingResource
+ * @constructor
+ * @param {google.cloud.dataplex.v1.Action.IMissingResource=} [properties] Properties to set
+ */
+ function MissingResource(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]];
+ }
+
+ /**
+ * Creates a new MissingResource instance using the specified properties.
+ * @function create
+ * @memberof google.cloud.dataplex.v1.Action.MissingResource
+ * @static
+ * @param {google.cloud.dataplex.v1.Action.IMissingResource=} [properties] Properties to set
+ * @returns {google.cloud.dataplex.v1.Action.MissingResource} MissingResource instance
+ */
+ MissingResource.create = function create(properties) {
+ return new MissingResource(properties);
+ };
+
+ /**
+ * Encodes the specified MissingResource message. Does not implicitly {@link google.cloud.dataplex.v1.Action.MissingResource.verify|verify} messages.
+ * @function encode
+ * @memberof google.cloud.dataplex.v1.Action.MissingResource
+ * @static
+ * @param {google.cloud.dataplex.v1.Action.IMissingResource} message MissingResource message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ MissingResource.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ return writer;
+ };
+
+ /**
+ * Encodes the specified MissingResource message, length delimited. Does not implicitly {@link google.cloud.dataplex.v1.Action.MissingResource.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.cloud.dataplex.v1.Action.MissingResource
+ * @static
+ * @param {google.cloud.dataplex.v1.Action.IMissingResource} message MissingResource message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ MissingResource.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes a MissingResource message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.cloud.dataplex.v1.Action.MissingResource
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.cloud.dataplex.v1.Action.MissingResource} MissingResource
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ MissingResource.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.dataplex.v1.Action.MissingResource();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ switch (tag >>> 3) {
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes a MissingResource message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.cloud.dataplex.v1.Action.MissingResource
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.cloud.dataplex.v1.Action.MissingResource} MissingResource
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ MissingResource.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies a MissingResource message.
+ * @function verify
+ * @memberof google.cloud.dataplex.v1.Action.MissingResource
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ MissingResource.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ return null;
+ };
+
+ /**
+ * Creates a MissingResource message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.cloud.dataplex.v1.Action.MissingResource
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.cloud.dataplex.v1.Action.MissingResource} MissingResource
+ */
+ MissingResource.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.cloud.dataplex.v1.Action.MissingResource)
+ return object;
+ return new $root.google.cloud.dataplex.v1.Action.MissingResource();
+ };
+
+ /**
+ * Creates a plain object from a MissingResource message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.cloud.dataplex.v1.Action.MissingResource
+ * @static
+ * @param {google.cloud.dataplex.v1.Action.MissingResource} message MissingResource
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ MissingResource.toObject = function toObject() {
+ return {};
+ };
+
+ /**
+ * Converts this MissingResource to JSON.
+ * @function toJSON
+ * @memberof google.cloud.dataplex.v1.Action.MissingResource
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ MissingResource.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for MissingResource
+ * @function getTypeUrl
+ * @memberof google.cloud.dataplex.v1.Action.MissingResource
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ MissingResource.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.cloud.dataplex.v1.Action.MissingResource";
+ };
+
+ return MissingResource;
+ })();
+
+ Action.UnauthorizedResource = (function() {
+
+ /**
+ * Properties of an UnauthorizedResource.
+ * @memberof google.cloud.dataplex.v1.Action
+ * @interface IUnauthorizedResource
+ */
+
+ /**
+ * Constructs a new UnauthorizedResource.
+ * @memberof google.cloud.dataplex.v1.Action
+ * @classdesc Represents an UnauthorizedResource.
+ * @implements IUnauthorizedResource
+ * @constructor
+ * @param {google.cloud.dataplex.v1.Action.IUnauthorizedResource=} [properties] Properties to set
+ */
+ function UnauthorizedResource(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]];
+ }
+
+ /**
+ * Creates a new UnauthorizedResource instance using the specified properties.
+ * @function create
+ * @memberof google.cloud.dataplex.v1.Action.UnauthorizedResource
+ * @static
+ * @param {google.cloud.dataplex.v1.Action.IUnauthorizedResource=} [properties] Properties to set
+ * @returns {google.cloud.dataplex.v1.Action.UnauthorizedResource} UnauthorizedResource instance
+ */
+ UnauthorizedResource.create = function create(properties) {
+ return new UnauthorizedResource(properties);
+ };
+
+ /**
+ * Encodes the specified UnauthorizedResource message. Does not implicitly {@link google.cloud.dataplex.v1.Action.UnauthorizedResource.verify|verify} messages.
+ * @function encode
+ * @memberof google.cloud.dataplex.v1.Action.UnauthorizedResource
+ * @static
+ * @param {google.cloud.dataplex.v1.Action.IUnauthorizedResource} message UnauthorizedResource message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ UnauthorizedResource.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ return writer;
+ };
+
+ /**
+ * Encodes the specified UnauthorizedResource message, length delimited. Does not implicitly {@link google.cloud.dataplex.v1.Action.UnauthorizedResource.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.cloud.dataplex.v1.Action.UnauthorizedResource
+ * @static
+ * @param {google.cloud.dataplex.v1.Action.IUnauthorizedResource} message UnauthorizedResource message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ UnauthorizedResource.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes an UnauthorizedResource message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.cloud.dataplex.v1.Action.UnauthorizedResource
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.cloud.dataplex.v1.Action.UnauthorizedResource} UnauthorizedResource
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ UnauthorizedResource.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.dataplex.v1.Action.UnauthorizedResource();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ switch (tag >>> 3) {
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes an UnauthorizedResource message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.cloud.dataplex.v1.Action.UnauthorizedResource
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.cloud.dataplex.v1.Action.UnauthorizedResource} UnauthorizedResource
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ UnauthorizedResource.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies an UnauthorizedResource message.
+ * @function verify
+ * @memberof google.cloud.dataplex.v1.Action.UnauthorizedResource
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ UnauthorizedResource.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ return null;
+ };
+
+ /**
+ * Creates an UnauthorizedResource message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.cloud.dataplex.v1.Action.UnauthorizedResource
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.cloud.dataplex.v1.Action.UnauthorizedResource} UnauthorizedResource
+ */
+ UnauthorizedResource.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.cloud.dataplex.v1.Action.UnauthorizedResource)
+ return object;
+ return new $root.google.cloud.dataplex.v1.Action.UnauthorizedResource();
+ };
+
+ /**
+ * Creates a plain object from an UnauthorizedResource message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.cloud.dataplex.v1.Action.UnauthorizedResource
+ * @static
+ * @param {google.cloud.dataplex.v1.Action.UnauthorizedResource} message UnauthorizedResource
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ UnauthorizedResource.toObject = function toObject() {
+ return {};
+ };
+
+ /**
+ * Converts this UnauthorizedResource to JSON.
+ * @function toJSON
+ * @memberof google.cloud.dataplex.v1.Action.UnauthorizedResource
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ UnauthorizedResource.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for UnauthorizedResource
+ * @function getTypeUrl
+ * @memberof google.cloud.dataplex.v1.Action.UnauthorizedResource
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ UnauthorizedResource.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.cloud.dataplex.v1.Action.UnauthorizedResource";
+ };
+
+ return UnauthorizedResource;
+ })();
+
+ Action.FailedSecurityPolicyApply = (function() {
+
+ /**
+ * Properties of a FailedSecurityPolicyApply.
+ * @memberof google.cloud.dataplex.v1.Action
+ * @interface IFailedSecurityPolicyApply
+ * @property {string|null} [asset] FailedSecurityPolicyApply asset
+ */
+
+ /**
+ * Constructs a new FailedSecurityPolicyApply.
+ * @memberof google.cloud.dataplex.v1.Action
+ * @classdesc Represents a FailedSecurityPolicyApply.
+ * @implements IFailedSecurityPolicyApply
+ * @constructor
+ * @param {google.cloud.dataplex.v1.Action.IFailedSecurityPolicyApply=} [properties] Properties to set
+ */
+ function FailedSecurityPolicyApply(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]];
+ }
+
+ /**
+ * FailedSecurityPolicyApply asset.
+ * @member {string} asset
+ * @memberof google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply
+ * @instance
+ */
+ FailedSecurityPolicyApply.prototype.asset = "";
+
+ /**
+ * Creates a new FailedSecurityPolicyApply instance using the specified properties.
+ * @function create
+ * @memberof google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply
+ * @static
+ * @param {google.cloud.dataplex.v1.Action.IFailedSecurityPolicyApply=} [properties] Properties to set
+ * @returns {google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply} FailedSecurityPolicyApply instance
+ */
+ FailedSecurityPolicyApply.create = function create(properties) {
+ return new FailedSecurityPolicyApply(properties);
+ };
+
+ /**
+ * Encodes the specified FailedSecurityPolicyApply message. Does not implicitly {@link google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply.verify|verify} messages.
+ * @function encode
+ * @memberof google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply
+ * @static
+ * @param {google.cloud.dataplex.v1.Action.IFailedSecurityPolicyApply} message FailedSecurityPolicyApply message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ FailedSecurityPolicyApply.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.asset != null && Object.hasOwnProperty.call(message, "asset"))
+ writer.uint32(/* id 1, wireType 2 =*/10).string(message.asset);
+ return writer;
+ };
+
+ /**
+ * Encodes the specified FailedSecurityPolicyApply message, length delimited. Does not implicitly {@link google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply
+ * @static
+ * @param {google.cloud.dataplex.v1.Action.IFailedSecurityPolicyApply} message FailedSecurityPolicyApply message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ FailedSecurityPolicyApply.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes a FailedSecurityPolicyApply message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply} FailedSecurityPolicyApply
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ FailedSecurityPolicyApply.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.dataplex.v1.Action.FailedSecurityPolicyApply();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ switch (tag >>> 3) {
+ case 1: {
+ message.asset = reader.string();
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes a FailedSecurityPolicyApply message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply} FailedSecurityPolicyApply
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ FailedSecurityPolicyApply.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies a FailedSecurityPolicyApply message.
+ * @function verify
+ * @memberof google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ FailedSecurityPolicyApply.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ if (message.asset != null && message.hasOwnProperty("asset"))
+ if (!$util.isString(message.asset))
+ return "asset: string expected";
+ return null;
+ };
+
+ /**
+ * Creates a FailedSecurityPolicyApply message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply} FailedSecurityPolicyApply
+ */
+ FailedSecurityPolicyApply.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply)
+ return object;
+ var message = new $root.google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply();
+ if (object.asset != null)
+ message.asset = String(object.asset);
+ return message;
+ };
+
+ /**
+ * Creates a plain object from a FailedSecurityPolicyApply message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply
+ * @static
+ * @param {google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply} message FailedSecurityPolicyApply
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ FailedSecurityPolicyApply.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.defaults)
+ object.asset = "";
+ if (message.asset != null && message.hasOwnProperty("asset"))
+ object.asset = message.asset;
+ return object;
+ };
+
+ /**
+ * Converts this FailedSecurityPolicyApply to JSON.
+ * @function toJSON
+ * @memberof google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ FailedSecurityPolicyApply.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for FailedSecurityPolicyApply
+ * @function getTypeUrl
+ * @memberof google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ FailedSecurityPolicyApply.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.cloud.dataplex.v1.Action.FailedSecurityPolicyApply";
+ };
+
+ return FailedSecurityPolicyApply;
+ })();
+
+ Action.InvalidDataFormat = (function() {
+
+ /**
+ * Properties of an InvalidDataFormat.
+ * @memberof google.cloud.dataplex.v1.Action
+ * @interface IInvalidDataFormat
+ * @property {Array.|null} [sampledDataLocations] InvalidDataFormat sampledDataLocations
+ * @property {string|null} [expectedFormat] InvalidDataFormat expectedFormat
+ * @property {string|null} [newFormat] InvalidDataFormat newFormat
+ */
+
+ /**
+ * Constructs a new InvalidDataFormat.
+ * @memberof google.cloud.dataplex.v1.Action
+ * @classdesc Represents an InvalidDataFormat.
+ * @implements IInvalidDataFormat
+ * @constructor
+ * @param {google.cloud.dataplex.v1.Action.IInvalidDataFormat=} [properties] Properties to set
+ */
+ function InvalidDataFormat(properties) {
+ this.sampledDataLocations = [];
+ 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]];
+ }
+
+ /**
+ * InvalidDataFormat sampledDataLocations.
+ * @member {Array.} sampledDataLocations
+ * @memberof google.cloud.dataplex.v1.Action.InvalidDataFormat
+ * @instance
+ */
+ InvalidDataFormat.prototype.sampledDataLocations = $util.emptyArray;
+
+ /**
+ * InvalidDataFormat expectedFormat.
+ * @member {string} expectedFormat
+ * @memberof google.cloud.dataplex.v1.Action.InvalidDataFormat
+ * @instance
+ */
+ InvalidDataFormat.prototype.expectedFormat = "";
+
+ /**
+ * InvalidDataFormat newFormat.
+ * @member {string} newFormat
+ * @memberof google.cloud.dataplex.v1.Action.InvalidDataFormat
+ * @instance
+ */
+ InvalidDataFormat.prototype.newFormat = "";
+
+ /**
+ * Creates a new InvalidDataFormat instance using the specified properties.
+ * @function create
+ * @memberof google.cloud.dataplex.v1.Action.InvalidDataFormat
+ * @static
+ * @param {google.cloud.dataplex.v1.Action.IInvalidDataFormat=} [properties] Properties to set
+ * @returns {google.cloud.dataplex.v1.Action.InvalidDataFormat} InvalidDataFormat instance
+ */
+ InvalidDataFormat.create = function create(properties) {
+ return new InvalidDataFormat(properties);
+ };
+
+ /**
+ * Encodes the specified InvalidDataFormat message. Does not implicitly {@link google.cloud.dataplex.v1.Action.InvalidDataFormat.verify|verify} messages.
+ * @function encode
+ * @memberof google.cloud.dataplex.v1.Action.InvalidDataFormat
+ * @static
+ * @param {google.cloud.dataplex.v1.Action.IInvalidDataFormat} message InvalidDataFormat message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ InvalidDataFormat.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.sampledDataLocations != null && message.sampledDataLocations.length)
+ for (var i = 0; i < message.sampledDataLocations.length; ++i)
+ writer.uint32(/* id 1, wireType 2 =*/10).string(message.sampledDataLocations[i]);
+ if (message.expectedFormat != null && Object.hasOwnProperty.call(message, "expectedFormat"))
+ writer.uint32(/* id 2, wireType 2 =*/18).string(message.expectedFormat);
+ if (message.newFormat != null && Object.hasOwnProperty.call(message, "newFormat"))
+ writer.uint32(/* id 3, wireType 2 =*/26).string(message.newFormat);
+ return writer;
+ };
+
+ /**
+ * Encodes the specified InvalidDataFormat message, length delimited. Does not implicitly {@link google.cloud.dataplex.v1.Action.InvalidDataFormat.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.cloud.dataplex.v1.Action.InvalidDataFormat
+ * @static
+ * @param {google.cloud.dataplex.v1.Action.IInvalidDataFormat} message InvalidDataFormat message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ InvalidDataFormat.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes an InvalidDataFormat message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.cloud.dataplex.v1.Action.InvalidDataFormat
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.cloud.dataplex.v1.Action.InvalidDataFormat} InvalidDataFormat
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ InvalidDataFormat.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.dataplex.v1.Action.InvalidDataFormat();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ switch (tag >>> 3) {
+ case 1: {
+ if (!(message.sampledDataLocations && message.sampledDataLocations.length))
+ message.sampledDataLocations = [];
+ message.sampledDataLocations.push(reader.string());
+ break;
+ }
+ case 2: {
+ message.expectedFormat = reader.string();
+ break;
+ }
+ case 3: {
+ message.newFormat = reader.string();
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes an InvalidDataFormat message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.cloud.dataplex.v1.Action.InvalidDataFormat
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.cloud.dataplex.v1.Action.InvalidDataFormat} InvalidDataFormat
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ InvalidDataFormat.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies an InvalidDataFormat message.
+ * @function verify
+ * @memberof google.cloud.dataplex.v1.Action.InvalidDataFormat
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ InvalidDataFormat.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ if (message.sampledDataLocations != null && message.hasOwnProperty("sampledDataLocations")) {
+ if (!Array.isArray(message.sampledDataLocations))
+ return "sampledDataLocations: array expected";
+ for (var i = 0; i < message.sampledDataLocations.length; ++i)
+ if (!$util.isString(message.sampledDataLocations[i]))
+ return "sampledDataLocations: string[] expected";
+ }
+ if (message.expectedFormat != null && message.hasOwnProperty("expectedFormat"))
+ if (!$util.isString(message.expectedFormat))
+ return "expectedFormat: string expected";
+ if (message.newFormat != null && message.hasOwnProperty("newFormat"))
+ if (!$util.isString(message.newFormat))
+ return "newFormat: string expected";
+ return null;
+ };
+
+ /**
+ * Creates an InvalidDataFormat message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.cloud.dataplex.v1.Action.InvalidDataFormat
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.cloud.dataplex.v1.Action.InvalidDataFormat} InvalidDataFormat
+ */
+ InvalidDataFormat.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.cloud.dataplex.v1.Action.InvalidDataFormat)
+ return object;
+ var message = new $root.google.cloud.dataplex.v1.Action.InvalidDataFormat();
+ if (object.sampledDataLocations) {
+ if (!Array.isArray(object.sampledDataLocations))
+ throw TypeError(".google.cloud.dataplex.v1.Action.InvalidDataFormat.sampledDataLocations: array expected");
+ message.sampledDataLocations = [];
+ for (var i = 0; i < object.sampledDataLocations.length; ++i)
+ message.sampledDataLocations[i] = String(object.sampledDataLocations[i]);
+ }
+ if (object.expectedFormat != null)
+ message.expectedFormat = String(object.expectedFormat);
+ if (object.newFormat != null)
+ message.newFormat = String(object.newFormat);
+ return message;
+ };
+
+ /**
+ * Creates a plain object from an InvalidDataFormat message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.cloud.dataplex.v1.Action.InvalidDataFormat
+ * @static
+ * @param {google.cloud.dataplex.v1.Action.InvalidDataFormat} message InvalidDataFormat
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ InvalidDataFormat.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.arrays || options.defaults)
+ object.sampledDataLocations = [];
+ if (options.defaults) {
+ object.expectedFormat = "";
+ object.newFormat = "";
+ }
+ if (message.sampledDataLocations && message.sampledDataLocations.length) {
+ object.sampledDataLocations = [];
+ for (var j = 0; j < message.sampledDataLocations.length; ++j)
+ object.sampledDataLocations[j] = message.sampledDataLocations[j];
+ }
+ if (message.expectedFormat != null && message.hasOwnProperty("expectedFormat"))
+ object.expectedFormat = message.expectedFormat;
+ if (message.newFormat != null && message.hasOwnProperty("newFormat"))
+ object.newFormat = message.newFormat;
+ return object;
+ };
+
+ /**
+ * Converts this InvalidDataFormat to JSON.
+ * @function toJSON
+ * @memberof google.cloud.dataplex.v1.Action.InvalidDataFormat
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ InvalidDataFormat.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for InvalidDataFormat
+ * @function getTypeUrl
+ * @memberof google.cloud.dataplex.v1.Action.InvalidDataFormat
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ InvalidDataFormat.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.cloud.dataplex.v1.Action.InvalidDataFormat";
+ };
+
+ return InvalidDataFormat;
+ })();
+
+ Action.IncompatibleDataSchema = (function() {
+
+ /**
+ * Properties of an IncompatibleDataSchema.
+ * @memberof google.cloud.dataplex.v1.Action
+ * @interface IIncompatibleDataSchema
+ * @property {string|null} [table] IncompatibleDataSchema table
+ * @property {string|null} [existingSchema] IncompatibleDataSchema existingSchema
+ * @property {string|null} [newSchema] IncompatibleDataSchema newSchema
+ * @property {Array.|null} [sampledDataLocations] IncompatibleDataSchema sampledDataLocations
+ * @property {google.cloud.dataplex.v1.Action.IncompatibleDataSchema.SchemaChange|null} [schemaChange] IncompatibleDataSchema schemaChange
+ */
+
+ /**
+ * Constructs a new IncompatibleDataSchema.
+ * @memberof google.cloud.dataplex.v1.Action
+ * @classdesc Represents an IncompatibleDataSchema.
+ * @implements IIncompatibleDataSchema
+ * @constructor
+ * @param {google.cloud.dataplex.v1.Action.IIncompatibleDataSchema=} [properties] Properties to set
+ */
+ function IncompatibleDataSchema(properties) {
+ this.sampledDataLocations = [];
+ 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]];
+ }
+
+ /**
+ * IncompatibleDataSchema table.
+ * @member {string} table
+ * @memberof google.cloud.dataplex.v1.Action.IncompatibleDataSchema
+ * @instance
+ */
+ IncompatibleDataSchema.prototype.table = "";
+
+ /**
+ * IncompatibleDataSchema existingSchema.
+ * @member {string} existingSchema
+ * @memberof google.cloud.dataplex.v1.Action.IncompatibleDataSchema
+ * @instance
+ */
+ IncompatibleDataSchema.prototype.existingSchema = "";
+
+ /**
+ * IncompatibleDataSchema newSchema.
+ * @member {string} newSchema
+ * @memberof google.cloud.dataplex.v1.Action.IncompatibleDataSchema
+ * @instance
+ */
+ IncompatibleDataSchema.prototype.newSchema = "";
+
+ /**
+ * IncompatibleDataSchema sampledDataLocations.
+ * @member {Array.} sampledDataLocations
+ * @memberof google.cloud.dataplex.v1.Action.IncompatibleDataSchema
+ * @instance
+ */
+ IncompatibleDataSchema.prototype.sampledDataLocations = $util.emptyArray;
+
+ /**
+ * IncompatibleDataSchema schemaChange.
+ * @member {google.cloud.dataplex.v1.Action.IncompatibleDataSchema.SchemaChange} schemaChange
+ * @memberof google.cloud.dataplex.v1.Action.IncompatibleDataSchema
+ * @instance
+ */
+ IncompatibleDataSchema.prototype.schemaChange = 0;
+
+ /**
+ * Creates a new IncompatibleDataSchema instance using the specified properties.
+ * @function create
+ * @memberof google.cloud.dataplex.v1.Action.IncompatibleDataSchema
+ * @static
+ * @param {google.cloud.dataplex.v1.Action.IIncompatibleDataSchema=} [properties] Properties to set
+ * @returns {google.cloud.dataplex.v1.Action.IncompatibleDataSchema} IncompatibleDataSchema instance
+ */
+ IncompatibleDataSchema.create = function create(properties) {
+ return new IncompatibleDataSchema(properties);
+ };
+
+ /**
+ * Encodes the specified IncompatibleDataSchema message. Does not implicitly {@link google.cloud.dataplex.v1.Action.IncompatibleDataSchema.verify|verify} messages.
+ * @function encode
+ * @memberof google.cloud.dataplex.v1.Action.IncompatibleDataSchema
+ * @static
+ * @param {google.cloud.dataplex.v1.Action.IIncompatibleDataSchema} message IncompatibleDataSchema message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ IncompatibleDataSchema.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.table != null && Object.hasOwnProperty.call(message, "table"))
+ writer.uint32(/* id 1, wireType 2 =*/10).string(message.table);
+ if (message.existingSchema != null && Object.hasOwnProperty.call(message, "existingSchema"))
+ writer.uint32(/* id 2, wireType 2 =*/18).string(message.existingSchema);
+ if (message.newSchema != null && Object.hasOwnProperty.call(message, "newSchema"))
+ writer.uint32(/* id 3, wireType 2 =*/26).string(message.newSchema);
+ if (message.sampledDataLocations != null && message.sampledDataLocations.length)
+ for (var i = 0; i < message.sampledDataLocations.length; ++i)
+ writer.uint32(/* id 4, wireType 2 =*/34).string(message.sampledDataLocations[i]);
+ if (message.schemaChange != null && Object.hasOwnProperty.call(message, "schemaChange"))
+ writer.uint32(/* id 5, wireType 0 =*/40).int32(message.schemaChange);
+ return writer;
+ };
+
+ /**
+ * Encodes the specified IncompatibleDataSchema message, length delimited. Does not implicitly {@link google.cloud.dataplex.v1.Action.IncompatibleDataSchema.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.cloud.dataplex.v1.Action.IncompatibleDataSchema
+ * @static
+ * @param {google.cloud.dataplex.v1.Action.IIncompatibleDataSchema} message IncompatibleDataSchema message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ IncompatibleDataSchema.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes an IncompatibleDataSchema message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.cloud.dataplex.v1.Action.IncompatibleDataSchema
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.cloud.dataplex.v1.Action.IncompatibleDataSchema} IncompatibleDataSchema
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ IncompatibleDataSchema.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.dataplex.v1.Action.IncompatibleDataSchema();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ switch (tag >>> 3) {
+ case 1: {
+ message.table = reader.string();
+ break;
+ }
+ case 2: {
+ message.existingSchema = reader.string();
+ break;
+ }
+ case 3: {
+ message.newSchema = reader.string();
+ break;
+ }
+ case 4: {
+ if (!(message.sampledDataLocations && message.sampledDataLocations.length))
+ message.sampledDataLocations = [];
+ message.sampledDataLocations.push(reader.string());
+ break;
+ }
+ case 5: {
+ message.schemaChange = reader.int32();
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes an IncompatibleDataSchema message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.cloud.dataplex.v1.Action.IncompatibleDataSchema
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.cloud.dataplex.v1.Action.IncompatibleDataSchema} IncompatibleDataSchema
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ IncompatibleDataSchema.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies an IncompatibleDataSchema message.
+ * @function verify
+ * @memberof google.cloud.dataplex.v1.Action.IncompatibleDataSchema
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ IncompatibleDataSchema.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ if (message.table != null && message.hasOwnProperty("table"))
+ if (!$util.isString(message.table))
+ return "table: string expected";
+ if (message.existingSchema != null && message.hasOwnProperty("existingSchema"))
+ if (!$util.isString(message.existingSchema))
+ return "existingSchema: string expected";
+ if (message.newSchema != null && message.hasOwnProperty("newSchema"))
+ if (!$util.isString(message.newSchema))
+ return "newSchema: string expected";
+ if (message.sampledDataLocations != null && message.hasOwnProperty("sampledDataLocations")) {
+ if (!Array.isArray(message.sampledDataLocations))
+ return "sampledDataLocations: array expected";
+ for (var i = 0; i < message.sampledDataLocations.length; ++i)
+ if (!$util.isString(message.sampledDataLocations[i]))
+ return "sampledDataLocations: string[] expected";
+ }
+ if (message.schemaChange != null && message.hasOwnProperty("schemaChange"))
+ switch (message.schemaChange) {
+ default:
+ return "schemaChange: enum value expected";
+ case 0:
+ case 1:
+ case 2:
+ break;
+ }
+ return null;
+ };
+
+ /**
+ * Creates an IncompatibleDataSchema message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.cloud.dataplex.v1.Action.IncompatibleDataSchema
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.cloud.dataplex.v1.Action.IncompatibleDataSchema} IncompatibleDataSchema
+ */
+ IncompatibleDataSchema.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.cloud.dataplex.v1.Action.IncompatibleDataSchema)
+ return object;
+ var message = new $root.google.cloud.dataplex.v1.Action.IncompatibleDataSchema();
+ if (object.table != null)
+ message.table = String(object.table);
+ if (object.existingSchema != null)
+ message.existingSchema = String(object.existingSchema);
+ if (object.newSchema != null)
+ message.newSchema = String(object.newSchema);
+ if (object.sampledDataLocations) {
+ if (!Array.isArray(object.sampledDataLocations))
+ throw TypeError(".google.cloud.dataplex.v1.Action.IncompatibleDataSchema.sampledDataLocations: array expected");
+ message.sampledDataLocations = [];
+ for (var i = 0; i < object.sampledDataLocations.length; ++i)
+ message.sampledDataLocations[i] = String(object.sampledDataLocations[i]);
+ }
+ switch (object.schemaChange) {
+ case "SCHEMA_CHANGE_UNSPECIFIED":
+ case 0:
+ message.schemaChange = 0;
+ break;
+ case "INCOMPATIBLE":
+ case 1:
+ message.schemaChange = 1;
+ break;
+ case "MODIFIED":
+ case 2:
+ message.schemaChange = 2;
+ break;
+ }
+ return message;
+ };
+
+ /**
+ * Creates a plain object from an IncompatibleDataSchema message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.cloud.dataplex.v1.Action.IncompatibleDataSchema
+ * @static
+ * @param {google.cloud.dataplex.v1.Action.IncompatibleDataSchema} message IncompatibleDataSchema
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ IncompatibleDataSchema.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.arrays || options.defaults)
+ object.sampledDataLocations = [];
+ if (options.defaults) {
+ object.table = "";
+ object.existingSchema = "";
+ object.newSchema = "";
+ object.schemaChange = options.enums === String ? "SCHEMA_CHANGE_UNSPECIFIED" : 0;
+ }
+ if (message.table != null && message.hasOwnProperty("table"))
+ object.table = message.table;
+ if (message.existingSchema != null && message.hasOwnProperty("existingSchema"))
+ object.existingSchema = message.existingSchema;
+ if (message.newSchema != null && message.hasOwnProperty("newSchema"))
+ object.newSchema = message.newSchema;
+ if (message.sampledDataLocations && message.sampledDataLocations.length) {
+ object.sampledDataLocations = [];
+ for (var j = 0; j < message.sampledDataLocations.length; ++j)
+ object.sampledDataLocations[j] = message.sampledDataLocations[j];
+ }
+ if (message.schemaChange != null && message.hasOwnProperty("schemaChange"))
+ object.schemaChange = options.enums === String ? $root.google.cloud.dataplex.v1.Action.IncompatibleDataSchema.SchemaChange[message.schemaChange] : message.schemaChange;
+ return object;
+ };
+
+ /**
+ * Converts this IncompatibleDataSchema to JSON.
+ * @function toJSON
+ * @memberof google.cloud.dataplex.v1.Action.IncompatibleDataSchema
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ IncompatibleDataSchema.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for IncompatibleDataSchema
+ * @function getTypeUrl
+ * @memberof google.cloud.dataplex.v1.Action.IncompatibleDataSchema
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ IncompatibleDataSchema.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.cloud.dataplex.v1.Action.IncompatibleDataSchema";
+ };
+
+ /**
+ * SchemaChange enum.
+ * @name google.cloud.dataplex.v1.Action.IncompatibleDataSchema.SchemaChange
+ * @enum {number}
+ * @property {number} SCHEMA_CHANGE_UNSPECIFIED=0 SCHEMA_CHANGE_UNSPECIFIED value
+ * @property {number} INCOMPATIBLE=1 INCOMPATIBLE value
+ * @property {number} MODIFIED=2 MODIFIED value
+ */
+ IncompatibleDataSchema.SchemaChange = (function() {
+ var valuesById = {}, values = Object.create(valuesById);
+ values[valuesById[0] = "SCHEMA_CHANGE_UNSPECIFIED"] = 0;
+ values[valuesById[1] = "INCOMPATIBLE"] = 1;
+ values[valuesById[2] = "MODIFIED"] = 2;
+ return values;
+ })();
+
+ return IncompatibleDataSchema;
+ })();
+
+ Action.InvalidDataPartition = (function() {
+
+ /**
+ * Properties of an InvalidDataPartition.
+ * @memberof google.cloud.dataplex.v1.Action
+ * @interface IInvalidDataPartition
+ * @property {google.cloud.dataplex.v1.Action.InvalidDataPartition.PartitionStructure|null} [expectedStructure] InvalidDataPartition expectedStructure
+ */
+
+ /**
+ * Constructs a new InvalidDataPartition.
+ * @memberof google.cloud.dataplex.v1.Action
+ * @classdesc Represents an InvalidDataPartition.
+ * @implements IInvalidDataPartition
+ * @constructor
+ * @param {google.cloud.dataplex.v1.Action.IInvalidDataPartition=} [properties] Properties to set
+ */
+ function InvalidDataPartition(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]];
+ }
+
+ /**
+ * InvalidDataPartition expectedStructure.
+ * @member {google.cloud.dataplex.v1.Action.InvalidDataPartition.PartitionStructure} expectedStructure
+ * @memberof google.cloud.dataplex.v1.Action.InvalidDataPartition
+ * @instance
+ */
+ InvalidDataPartition.prototype.expectedStructure = 0;
+
+ /**
+ * Creates a new InvalidDataPartition instance using the specified properties.
+ * @function create
+ * @memberof google.cloud.dataplex.v1.Action.InvalidDataPartition
+ * @static
+ * @param {google.cloud.dataplex.v1.Action.IInvalidDataPartition=} [properties] Properties to set
+ * @returns {google.cloud.dataplex.v1.Action.InvalidDataPartition} InvalidDataPartition instance
+ */
+ InvalidDataPartition.create = function create(properties) {
+ return new InvalidDataPartition(properties);
+ };
+
+ /**
+ * Encodes the specified InvalidDataPartition message. Does not implicitly {@link google.cloud.dataplex.v1.Action.InvalidDataPartition.verify|verify} messages.
+ * @function encode
+ * @memberof google.cloud.dataplex.v1.Action.InvalidDataPartition
+ * @static
+ * @param {google.cloud.dataplex.v1.Action.IInvalidDataPartition} message InvalidDataPartition message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ InvalidDataPartition.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.expectedStructure != null && Object.hasOwnProperty.call(message, "expectedStructure"))
+ writer.uint32(/* id 1, wireType 0 =*/8).int32(message.expectedStructure);
+ return writer;
+ };
+
+ /**
+ * Encodes the specified InvalidDataPartition message, length delimited. Does not implicitly {@link google.cloud.dataplex.v1.Action.InvalidDataPartition.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.cloud.dataplex.v1.Action.InvalidDataPartition
+ * @static
+ * @param {google.cloud.dataplex.v1.Action.IInvalidDataPartition} message InvalidDataPartition message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ InvalidDataPartition.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes an InvalidDataPartition message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.cloud.dataplex.v1.Action.InvalidDataPartition
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.cloud.dataplex.v1.Action.InvalidDataPartition} InvalidDataPartition
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ InvalidDataPartition.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.dataplex.v1.Action.InvalidDataPartition();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ switch (tag >>> 3) {
+ case 1: {
+ message.expectedStructure = reader.int32();
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes an InvalidDataPartition message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.cloud.dataplex.v1.Action.InvalidDataPartition
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.cloud.dataplex.v1.Action.InvalidDataPartition} InvalidDataPartition
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ InvalidDataPartition.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies an InvalidDataPartition message.
+ * @function verify
+ * @memberof google.cloud.dataplex.v1.Action.InvalidDataPartition
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ InvalidDataPartition.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ if (message.expectedStructure != null && message.hasOwnProperty("expectedStructure"))
+ switch (message.expectedStructure) {
+ default:
+ return "expectedStructure: enum value expected";
+ case 0:
+ case 1:
+ case 2:
+ break;
+ }
+ return null;
+ };
+
+ /**
+ * Creates an InvalidDataPartition message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.cloud.dataplex.v1.Action.InvalidDataPartition
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.cloud.dataplex.v1.Action.InvalidDataPartition} InvalidDataPartition
+ */
+ InvalidDataPartition.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.cloud.dataplex.v1.Action.InvalidDataPartition)
+ return object;
+ var message = new $root.google.cloud.dataplex.v1.Action.InvalidDataPartition();
+ switch (object.expectedStructure) {
+ case "PARTITION_STRUCTURE_UNSPECIFIED":
+ case 0:
+ message.expectedStructure = 0;
+ break;
+ case "CONSISTENT_KEYS":
+ case 1:
+ message.expectedStructure = 1;
+ break;
+ case "HIVE_STYLE_KEYS":
+ case 2:
+ message.expectedStructure = 2;
+ break;
+ }
+ return message;
+ };
+
+ /**
+ * Creates a plain object from an InvalidDataPartition message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.cloud.dataplex.v1.Action.InvalidDataPartition
+ * @static
+ * @param {google.cloud.dataplex.v1.Action.InvalidDataPartition} message InvalidDataPartition
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ InvalidDataPartition.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.defaults)
+ object.expectedStructure = options.enums === String ? "PARTITION_STRUCTURE_UNSPECIFIED" : 0;
+ if (message.expectedStructure != null && message.hasOwnProperty("expectedStructure"))
+ object.expectedStructure = options.enums === String ? $root.google.cloud.dataplex.v1.Action.InvalidDataPartition.PartitionStructure[message.expectedStructure] : message.expectedStructure;
+ return object;
+ };
+
+ /**
+ * Converts this InvalidDataPartition to JSON.
+ * @function toJSON
+ * @memberof google.cloud.dataplex.v1.Action.InvalidDataPartition
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ InvalidDataPartition.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for InvalidDataPartition
+ * @function getTypeUrl
+ * @memberof google.cloud.dataplex.v1.Action.InvalidDataPartition
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ InvalidDataPartition.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.cloud.dataplex.v1.Action.InvalidDataPartition";
+ };
+
+ /**
+ * PartitionStructure enum.
+ * @name google.cloud.dataplex.v1.Action.InvalidDataPartition.PartitionStructure
+ * @enum {number}
+ * @property {number} PARTITION_STRUCTURE_UNSPECIFIED=0 PARTITION_STRUCTURE_UNSPECIFIED value
+ * @property {number} CONSISTENT_KEYS=1 CONSISTENT_KEYS value
+ * @property {number} HIVE_STYLE_KEYS=2 HIVE_STYLE_KEYS value
+ */
+ InvalidDataPartition.PartitionStructure = (function() {
+ var valuesById = {}, values = Object.create(valuesById);
+ values[valuesById[0] = "PARTITION_STRUCTURE_UNSPECIFIED"] = 0;
+ values[valuesById[1] = "CONSISTENT_KEYS"] = 1;
+ values[valuesById[2] = "HIVE_STYLE_KEYS"] = 2;
+ return values;
+ })();
+
+ return InvalidDataPartition;
+ })();
+
+ Action.MissingData = (function() {
+
+ /**
+ * Properties of a MissingData.
+ * @memberof google.cloud.dataplex.v1.Action
+ * @interface IMissingData
+ */
+
+ /**
+ * Constructs a new MissingData.
+ * @memberof google.cloud.dataplex.v1.Action
+ * @classdesc Represents a MissingData.
+ * @implements IMissingData
+ * @constructor
+ * @param {google.cloud.dataplex.v1.Action.IMissingData=} [properties] Properties to set
+ */
+ function MissingData(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]];
+ }
+
+ /**
+ * Creates a new MissingData instance using the specified properties.
+ * @function create
+ * @memberof google.cloud.dataplex.v1.Action.MissingData
+ * @static
+ * @param {google.cloud.dataplex.v1.Action.IMissingData=} [properties] Properties to set
+ * @returns {google.cloud.dataplex.v1.Action.MissingData} MissingData instance
+ */
+ MissingData.create = function create(properties) {
+ return new MissingData(properties);
+ };
+
+ /**
+ * Encodes the specified MissingData message. Does not implicitly {@link google.cloud.dataplex.v1.Action.MissingData.verify|verify} messages.
+ * @function encode
+ * @memberof google.cloud.dataplex.v1.Action.MissingData
+ * @static
+ * @param {google.cloud.dataplex.v1.Action.IMissingData} message MissingData message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ MissingData.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ return writer;
+ };
+
+ /**
+ * Encodes the specified MissingData message, length delimited. Does not implicitly {@link google.cloud.dataplex.v1.Action.MissingData.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.cloud.dataplex.v1.Action.MissingData
+ * @static
+ * @param {google.cloud.dataplex.v1.Action.IMissingData} message MissingData message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ MissingData.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes a MissingData message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.cloud.dataplex.v1.Action.MissingData
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.cloud.dataplex.v1.Action.MissingData} MissingData
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ MissingData.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.dataplex.v1.Action.MissingData();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ switch (tag >>> 3) {
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes a MissingData message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.cloud.dataplex.v1.Action.MissingData
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.cloud.dataplex.v1.Action.MissingData} MissingData
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ MissingData.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies a MissingData message.
+ * @function verify
+ * @memberof google.cloud.dataplex.v1.Action.MissingData
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ MissingData.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ return null;
+ };
+
+ /**
+ * Creates a MissingData message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.cloud.dataplex.v1.Action.MissingData
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.cloud.dataplex.v1.Action.MissingData} MissingData
+ */
+ MissingData.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.cloud.dataplex.v1.Action.MissingData)
+ return object;
+ return new $root.google.cloud.dataplex.v1.Action.MissingData();
+ };
+
+ /**
+ * Creates a plain object from a MissingData message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.cloud.dataplex.v1.Action.MissingData
+ * @static
+ * @param {google.cloud.dataplex.v1.Action.MissingData} message MissingData
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ MissingData.toObject = function toObject() {
+ return {};
+ };
+
+ /**
+ * Converts this MissingData to JSON.
+ * @function toJSON
+ * @memberof google.cloud.dataplex.v1.Action.MissingData
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ MissingData.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for MissingData
+ * @function getTypeUrl
+ * @memberof google.cloud.dataplex.v1.Action.MissingData
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ MissingData.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.cloud.dataplex.v1.Action.MissingData";
+ };
+
+ return MissingData;
+ })();
+
+ Action.InvalidDataOrganization = (function() {
+
+ /**
+ * Properties of an InvalidDataOrganization.
+ * @memberof google.cloud.dataplex.v1.Action
+ * @interface IInvalidDataOrganization
+ */
+
+ /**
+ * Constructs a new InvalidDataOrganization.
+ * @memberof google.cloud.dataplex.v1.Action
+ * @classdesc Represents an InvalidDataOrganization.
+ * @implements IInvalidDataOrganization
+ * @constructor
+ * @param {google.cloud.dataplex.v1.Action.IInvalidDataOrganization=} [properties] Properties to set
+ */
+ function InvalidDataOrganization(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]];
+ }
+
+ /**
+ * Creates a new InvalidDataOrganization instance using the specified properties.
+ * @function create
+ * @memberof google.cloud.dataplex.v1.Action.InvalidDataOrganization
+ * @static
+ * @param {google.cloud.dataplex.v1.Action.IInvalidDataOrganization=} [properties] Properties to set
+ * @returns {google.cloud.dataplex.v1.Action.InvalidDataOrganization} InvalidDataOrganization instance
+ */
+ InvalidDataOrganization.create = function create(properties) {
+ return new InvalidDataOrganization(properties);
+ };
+
+ /**
+ * Encodes the specified InvalidDataOrganization message. Does not implicitly {@link google.cloud.dataplex.v1.Action.InvalidDataOrganization.verify|verify} messages.
+ * @function encode
+ * @memberof google.cloud.dataplex.v1.Action.InvalidDataOrganization
+ * @static
+ * @param {google.cloud.dataplex.v1.Action.IInvalidDataOrganization} message InvalidDataOrganization message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ InvalidDataOrganization.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ return writer;
+ };
+
+ /**
+ * Encodes the specified InvalidDataOrganization message, length delimited. Does not implicitly {@link google.cloud.dataplex.v1.Action.InvalidDataOrganization.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.cloud.dataplex.v1.Action.InvalidDataOrganization
+ * @static
+ * @param {google.cloud.dataplex.v1.Action.IInvalidDataOrganization} message InvalidDataOrganization message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ InvalidDataOrganization.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes an InvalidDataOrganization message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.cloud.dataplex.v1.Action.InvalidDataOrganization
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.cloud.dataplex.v1.Action.InvalidDataOrganization} InvalidDataOrganization
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ InvalidDataOrganization.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.dataplex.v1.Action.InvalidDataOrganization();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ switch (tag >>> 3) {
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes an InvalidDataOrganization message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.cloud.dataplex.v1.Action.InvalidDataOrganization
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.cloud.dataplex.v1.Action.InvalidDataOrganization} InvalidDataOrganization
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ InvalidDataOrganization.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies an InvalidDataOrganization message.
+ * @function verify
+ * @memberof google.cloud.dataplex.v1.Action.InvalidDataOrganization
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ InvalidDataOrganization.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ return null;
+ };
+
+ /**
+ * Creates an InvalidDataOrganization message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.cloud.dataplex.v1.Action.InvalidDataOrganization
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.cloud.dataplex.v1.Action.InvalidDataOrganization} InvalidDataOrganization
+ */
+ InvalidDataOrganization.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.cloud.dataplex.v1.Action.InvalidDataOrganization)
+ return object;
+ return new $root.google.cloud.dataplex.v1.Action.InvalidDataOrganization();
+ };
+
+ /**
+ * Creates a plain object from an InvalidDataOrganization message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.cloud.dataplex.v1.Action.InvalidDataOrganization
+ * @static
+ * @param {google.cloud.dataplex.v1.Action.InvalidDataOrganization} message InvalidDataOrganization
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ InvalidDataOrganization.toObject = function toObject() {
+ return {};
+ };
+
+ /**
+ * Converts this InvalidDataOrganization to JSON.
+ * @function toJSON
+ * @memberof google.cloud.dataplex.v1.Action.InvalidDataOrganization
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ InvalidDataOrganization.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for InvalidDataOrganization
+ * @function getTypeUrl
+ * @memberof google.cloud.dataplex.v1.Action.InvalidDataOrganization
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ InvalidDataOrganization.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.cloud.dataplex.v1.Action.InvalidDataOrganization";
+ };
+
+ return InvalidDataOrganization;
+ })();
+
+ return Action;
+ })();
+
+ v1.Asset = (function() {
+
+ /**
+ * Properties of an Asset.
+ * @memberof google.cloud.dataplex.v1
+ * @interface IAsset
+ * @property {string|null} [name] Asset name
+ * @property {string|null} [displayName] Asset displayName
+ * @property {string|null} [uid] Asset uid
+ * @property {google.protobuf.ITimestamp|null} [createTime] Asset createTime
+ * @property {google.protobuf.ITimestamp|null} [updateTime] Asset updateTime
+ * @property {Object.|null} [labels] Asset labels
+ * @property {string|null} [description] Asset description
+ * @property {google.cloud.dataplex.v1.Asset.SecurityStatus.State|null} [state] Asset state
+ * @property {google.cloud.dataplex.v1.Asset.IResourceSpec|null} [resourceSpec] Asset resourceSpec
+ * @property {google.cloud.dataplex.v1.Asset.IResourceStatus|null} [resourceStatus] Asset resourceStatus
+ * @property {google.cloud.dataplex.v1.Asset.ISecurityStatus|null} [securityStatus] Asset securityStatus
+ * @property {google.cloud.dataplex.v1.Asset.IDiscoverySpec|null} [discoverySpec] Asset discoverySpec
+ * @property {google.cloud.dataplex.v1.Asset.IDiscoveryStatus|null} [discoveryStatus] Asset discoveryStatus
+ */
+
+ /**
+ * Constructs a new Asset.
+ * @memberof google.cloud.dataplex.v1
+ * @classdesc Represents an Asset.
+ * @implements IAsset
+ * @constructor
+ * @param {google.cloud.dataplex.v1.IAsset=} [properties] Properties to set
+ */
+ function Asset(properties) {
+ this.labels = {};
+ if (properties)
+ for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+ if (properties[keys[i]] != null)
+ this[keys[i]] = properties[keys[i]];
+ }
+
+ /**
+ * Asset name.
+ * @member {string} name
+ * @memberof google.cloud.dataplex.v1.Asset
+ * @instance
+ */
+ Asset.prototype.name = "";
+
+ /**
+ * Asset displayName.
+ * @member {string} displayName
+ * @memberof google.cloud.dataplex.v1.Asset
+ * @instance
+ */
+ Asset.prototype.displayName = "";
+
+ /**
+ * Asset uid.
+ * @member {string} uid
+ * @memberof google.cloud.dataplex.v1.Asset
+ * @instance
+ */
+ Asset.prototype.uid = "";
+
+ /**
+ * Asset createTime.
+ * @member {google.protobuf.ITimestamp|null|undefined} createTime
+ * @memberof google.cloud.dataplex.v1.Asset
+ * @instance
+ */
+ Asset.prototype.createTime = null;
+
+ /**
+ * Asset updateTime.
+ * @member {google.protobuf.ITimestamp|null|undefined} updateTime
+ * @memberof google.cloud.dataplex.v1.Asset
+ * @instance
+ */
+ Asset.prototype.updateTime = null;
+
+ /**
+ * Asset labels.
+ * @member {Object.} labels
+ * @memberof google.cloud.dataplex.v1.Asset
+ * @instance
+ */
+ Asset.prototype.labels = $util.emptyObject;
+
+ /**
+ * Asset description.
+ * @member {string} description
+ * @memberof google.cloud.dataplex.v1.Asset
+ * @instance
+ */
+ Asset.prototype.description = "";
+
+ /**
+ * Asset state.
+ * @member {google.cloud.dataplex.v1.Asset.SecurityStatus.State} state
+ * @memberof google.cloud.dataplex.v1.Asset
+ * @instance
+ */
+ Asset.prototype.state = 0;
+
+ /**
+ * Asset resourceSpec.
+ * @member {google.cloud.dataplex.v1.Asset.IResourceSpec|null|undefined} resourceSpec
+ * @memberof google.cloud.dataplex.v1.Asset
+ * @instance
+ */
+ Asset.prototype.resourceSpec = null;
+
+ /**
+ * Asset resourceStatus.
+ * @member {google.cloud.dataplex.v1.Asset.IResourceStatus|null|undefined} resourceStatus
+ * @memberof google.cloud.dataplex.v1.Asset
+ * @instance
+ */
+ Asset.prototype.resourceStatus = null;
+
+ /**
+ * Asset securityStatus.
+ * @member {google.cloud.dataplex.v1.Asset.ISecurityStatus|null|undefined} securityStatus
+ * @memberof google.cloud.dataplex.v1.Asset
+ * @instance
+ */
+ Asset.prototype.securityStatus = null;
+
+ /**
+ * Asset discoverySpec.
+ * @member {google.cloud.dataplex.v1.Asset.IDiscoverySpec|null|undefined} discoverySpec
+ * @memberof google.cloud.dataplex.v1.Asset
+ * @instance
+ */
+ Asset.prototype.discoverySpec = null;
+
+ /**
+ * Asset discoveryStatus.
+ * @member {google.cloud.dataplex.v1.Asset.IDiscoveryStatus|null|undefined} discoveryStatus
+ * @memberof google.cloud.dataplex.v1.Asset
+ * @instance
+ */
+ Asset.prototype.discoveryStatus = null;
+
+ /**
+ * Creates a new Asset instance using the specified properties.
+ * @function create
+ * @memberof google.cloud.dataplex.v1.Asset
+ * @static
+ * @param {google.cloud.dataplex.v1.IAsset=} [properties] Properties to set
+ * @returns {google.cloud.dataplex.v1.Asset} Asset instance
+ */
+ Asset.create = function create(properties) {
+ return new Asset(properties);
+ };
+
+ /**
+ * Encodes the specified Asset message. Does not implicitly {@link google.cloud.dataplex.v1.Asset.verify|verify} messages.
+ * @function encode
+ * @memberof google.cloud.dataplex.v1.Asset
+ * @static
+ * @param {google.cloud.dataplex.v1.IAsset} message Asset message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ Asset.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.displayName != null && Object.hasOwnProperty.call(message, "displayName"))
+ writer.uint32(/* id 2, wireType 2 =*/18).string(message.displayName);
+ if (message.uid != null && Object.hasOwnProperty.call(message, "uid"))
+ writer.uint32(/* id 3, wireType 2 =*/26).string(message.uid);
+ if (message.createTime != null && Object.hasOwnProperty.call(message, "createTime"))
+ $root.google.protobuf.Timestamp.encode(message.createTime, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim();
+ if (message.updateTime != null && Object.hasOwnProperty.call(message, "updateTime"))
+ $root.google.protobuf.Timestamp.encode(message.updateTime, writer.uint32(/* id 5, wireType 2 =*/42).fork()).ldelim();
+ if (message.labels != null && Object.hasOwnProperty.call(message, "labels"))
+ for (var keys = Object.keys(message.labels), i = 0; i < keys.length; ++i)
+ writer.uint32(/* id 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.description != null && Object.hasOwnProperty.call(message, "description"))
+ writer.uint32(/* id 7, wireType 2 =*/58).string(message.description);
+ if (message.state != null && Object.hasOwnProperty.call(message, "state"))
+ writer.uint32(/* id 8, wireType 0 =*/64).int32(message.state);
+ if (message.resourceSpec != null && Object.hasOwnProperty.call(message, "resourceSpec"))
+ $root.google.cloud.dataplex.v1.Asset.ResourceSpec.encode(message.resourceSpec, writer.uint32(/* id 100, wireType 2 =*/802).fork()).ldelim();
+ if (message.resourceStatus != null && Object.hasOwnProperty.call(message, "resourceStatus"))
+ $root.google.cloud.dataplex.v1.Asset.ResourceStatus.encode(message.resourceStatus, writer.uint32(/* id 101, wireType 2 =*/810).fork()).ldelim();
+ if (message.securityStatus != null && Object.hasOwnProperty.call(message, "securityStatus"))
+ $root.google.cloud.dataplex.v1.Asset.SecurityStatus.encode(message.securityStatus, writer.uint32(/* id 103, wireType 2 =*/826).fork()).ldelim();
+ if (message.discoverySpec != null && Object.hasOwnProperty.call(message, "discoverySpec"))
+ $root.google.cloud.dataplex.v1.Asset.DiscoverySpec.encode(message.discoverySpec, writer.uint32(/* id 106, wireType 2 =*/850).fork()).ldelim();
+ if (message.discoveryStatus != null && Object.hasOwnProperty.call(message, "discoveryStatus"))
+ $root.google.cloud.dataplex.v1.Asset.DiscoveryStatus.encode(message.discoveryStatus, writer.uint32(/* id 107, wireType 2 =*/858).fork()).ldelim();
+ return writer;
+ };
+
+ /**
+ * Encodes the specified Asset message, length delimited. Does not implicitly {@link google.cloud.dataplex.v1.Asset.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.cloud.dataplex.v1.Asset
+ * @static
+ * @param {google.cloud.dataplex.v1.IAsset} message Asset message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ Asset.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes an Asset message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.cloud.dataplex.v1.Asset
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.cloud.dataplex.v1.Asset} Asset
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ Asset.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.dataplex.v1.Asset(), key, value;
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ switch (tag >>> 3) {
+ case 1: {
+ message.name = reader.string();
+ break;
+ }
+ case 2: {
+ message.displayName = reader.string();
+ break;
+ }
+ case 3: {
+ message.uid = reader.string();
+ break;
+ }
+ case 4: {
+ message.createTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32());
+ break;
+ }
+ case 5: {
+ message.updateTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32());
+ 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 7: {
+ message.description = reader.string();
+ break;
+ }
+ case 8: {
+ message.state = reader.int32();
+ break;
+ }
+ case 100: {
+ message.resourceSpec = $root.google.cloud.dataplex.v1.Asset.ResourceSpec.decode(reader, reader.uint32());
+ break;
+ }
+ case 101: {
+ message.resourceStatus = $root.google.cloud.dataplex.v1.Asset.ResourceStatus.decode(reader, reader.uint32());
+ break;
+ }
+ case 103: {
+ message.securityStatus = $root.google.cloud.dataplex.v1.Asset.SecurityStatus.decode(reader, reader.uint32());
+ break;
+ }
+ case 106: {
+ message.discoverySpec = $root.google.cloud.dataplex.v1.Asset.DiscoverySpec.decode(reader, reader.uint32());
+ break;
+ }
+ case 107: {
+ message.discoveryStatus = $root.google.cloud.dataplex.v1.Asset.DiscoveryStatus.decode(reader, reader.uint32());
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes an Asset message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.cloud.dataplex.v1.Asset
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.cloud.dataplex.v1.Asset} Asset
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ Asset.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies an Asset message.
+ * @function verify
+ * @memberof google.cloud.dataplex.v1.Asset
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ Asset.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.displayName != null && message.hasOwnProperty("displayName"))
+ if (!$util.isString(message.displayName))
+ return "displayName: string expected";
+ if (message.uid != null && message.hasOwnProperty("uid"))
+ if (!$util.isString(message.uid))
+ return "uid: string expected";
+ if (message.createTime != null && message.hasOwnProperty("createTime")) {
+ var error = $root.google.protobuf.Timestamp.verify(message.createTime);
+ if (error)
+ return "createTime." + error;
+ }
+ if (message.updateTime != null && message.hasOwnProperty("updateTime")) {
+ var error = $root.google.protobuf.Timestamp.verify(message.updateTime);
+ if (error)
+ return "updateTime." + error;
+ }
+ if (message.labels != null && message.hasOwnProperty("labels")) {
+ if (!$util.isObject(message.labels))
+ return "labels: object expected";
+ var key = Object.keys(message.labels);
+ for (var i = 0; i < key.length; ++i)
+ if (!$util.isString(message.labels[key[i]]))
+ return "labels: string{k:string} expected";
+ }
+ if (message.description != null && message.hasOwnProperty("description"))
+ if (!$util.isString(message.description))
+ return "description: string expected";
+ if (message.state != null && message.hasOwnProperty("state"))
+ switch (message.state) {
+ default:
+ return "state: enum value expected";
+ case 0:
+ case 1:
+ case 2:
+ case 3:
+ break;
+ }
+ if (message.resourceSpec != null && message.hasOwnProperty("resourceSpec")) {
+ var error = $root.google.cloud.dataplex.v1.Asset.ResourceSpec.verify(message.resourceSpec);
+ if (error)
+ return "resourceSpec." + error;
+ }
+ if (message.resourceStatus != null && message.hasOwnProperty("resourceStatus")) {
+ var error = $root.google.cloud.dataplex.v1.Asset.ResourceStatus.verify(message.resourceStatus);
+ if (error)
+ return "resourceStatus." + error;
+ }
+ if (message.securityStatus != null && message.hasOwnProperty("securityStatus")) {
+ var error = $root.google.cloud.dataplex.v1.Asset.SecurityStatus.verify(message.securityStatus);
+ if (error)
+ return "securityStatus." + error;
+ }
+ if (message.discoverySpec != null && message.hasOwnProperty("discoverySpec")) {
+ var error = $root.google.cloud.dataplex.v1.Asset.DiscoverySpec.verify(message.discoverySpec);
+ if (error)
+ return "discoverySpec." + error;
+ }
+ if (message.discoveryStatus != null && message.hasOwnProperty("discoveryStatus")) {
+ var error = $root.google.cloud.dataplex.v1.Asset.DiscoveryStatus.verify(message.discoveryStatus);
+ if (error)
+ return "discoveryStatus." + error;
+ }
+ return null;
+ };
+
+ /**
+ * Creates an Asset message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.cloud.dataplex.v1.Asset
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.cloud.dataplex.v1.Asset} Asset
+ */
+ Asset.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.cloud.dataplex.v1.Asset)
+ return object;
+ var message = new $root.google.cloud.dataplex.v1.Asset();
+ if (object.name != null)
+ message.name = String(object.name);
+ if (object.displayName != null)
+ message.displayName = String(object.displayName);
+ if (object.uid != null)
+ message.uid = String(object.uid);
+ if (object.createTime != null) {
+ if (typeof object.createTime !== "object")
+ throw TypeError(".google.cloud.dataplex.v1.Asset.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.dataplex.v1.Asset.updateTime: object expected");
+ message.updateTime = $root.google.protobuf.Timestamp.fromObject(object.updateTime);
+ }
+ if (object.labels) {
+ if (typeof object.labels !== "object")
+ throw TypeError(".google.cloud.dataplex.v1.Asset.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.description != null)
+ message.description = String(object.description);
+ switch (object.state) {
+ case "STATE_UNSPECIFIED":
+ case 0:
+ message.state = 0;
+ break;
+ case "READY":
+ case 1:
+ message.state = 1;
+ break;
+ case "APPLYING":
+ case 2:
+ message.state = 2;
+ break;
+ case "ERROR":
+ case 3:
+ message.state = 3;
+ break;
+ }
+ if (object.resourceSpec != null) {
+ if (typeof object.resourceSpec !== "object")
+ throw TypeError(".google.cloud.dataplex.v1.Asset.resourceSpec: object expected");
+ message.resourceSpec = $root.google.cloud.dataplex.v1.Asset.ResourceSpec.fromObject(object.resourceSpec);
+ }
+ if (object.resourceStatus != null) {
+ if (typeof object.resourceStatus !== "object")
+ throw TypeError(".google.cloud.dataplex.v1.Asset.resourceStatus: object expected");
+ message.resourceStatus = $root.google.cloud.dataplex.v1.Asset.ResourceStatus.fromObject(object.resourceStatus);
+ }
+ if (object.securityStatus != null) {
+ if (typeof object.securityStatus !== "object")
+ throw TypeError(".google.cloud.dataplex.v1.Asset.securityStatus: object expected");
+ message.securityStatus = $root.google.cloud.dataplex.v1.Asset.SecurityStatus.fromObject(object.securityStatus);
+ }
+ if (object.discoverySpec != null) {
+ if (typeof object.discoverySpec !== "object")
+ throw TypeError(".google.cloud.dataplex.v1.Asset.discoverySpec: object expected");
+ message.discoverySpec = $root.google.cloud.dataplex.v1.Asset.DiscoverySpec.fromObject(object.discoverySpec);
+ }
+ if (object.discoveryStatus != null) {
+ if (typeof object.discoveryStatus !== "object")
+ throw TypeError(".google.cloud.dataplex.v1.Asset.discoveryStatus: object expected");
+ message.discoveryStatus = $root.google.cloud.dataplex.v1.Asset.DiscoveryStatus.fromObject(object.discoveryStatus);
+ }
+ return message;
+ };
+
+ /**
+ * Creates a plain object from an Asset message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.cloud.dataplex.v1.Asset
+ * @static
+ * @param {google.cloud.dataplex.v1.Asset} message Asset
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ Asset.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.objects || options.defaults)
+ object.labels = {};
+ if (options.defaults) {
+ object.name = "";
+ object.displayName = "";
+ object.uid = "";
+ object.createTime = null;
+ object.updateTime = null;
+ object.description = "";
+ object.state = options.enums === String ? "STATE_UNSPECIFIED" : 0;
+ object.resourceSpec = null;
+ object.resourceStatus = null;
+ object.securityStatus = null;
+ object.discoverySpec = null;
+ object.discoveryStatus = null;
+ }
+ if (message.name != null && message.hasOwnProperty("name"))
+ object.name = message.name;
+ if (message.displayName != null && message.hasOwnProperty("displayName"))
+ object.displayName = message.displayName;
+ if (message.uid != null && message.hasOwnProperty("uid"))
+ object.uid = message.uid;
+ if (message.createTime != null && message.hasOwnProperty("createTime"))
+ object.createTime = $root.google.protobuf.Timestamp.toObject(message.createTime, options);
+ if (message.updateTime != null && message.hasOwnProperty("updateTime"))
+ object.updateTime = $root.google.protobuf.Timestamp.toObject(message.updateTime, options);
+ var keys2;
+ if (message.labels && (keys2 = Object.keys(message.labels)).length) {
+ object.labels = {};
+ for (var j = 0; j < keys2.length; ++j)
+ object.labels[keys2[j]] = message.labels[keys2[j]];
+ }
+ if (message.description != null && message.hasOwnProperty("description"))
+ object.description = message.description;
+ if (message.state != null && message.hasOwnProperty("state"))
+ object.state = options.enums === String ? $root.google.cloud.dataplex.v1.Asset.SecurityStatus.State[message.state] : message.state;
+ if (message.resourceSpec != null && message.hasOwnProperty("resourceSpec"))
+ object.resourceSpec = $root.google.cloud.dataplex.v1.Asset.ResourceSpec.toObject(message.resourceSpec, options);
+ if (message.resourceStatus != null && message.hasOwnProperty("resourceStatus"))
+ object.resourceStatus = $root.google.cloud.dataplex.v1.Asset.ResourceStatus.toObject(message.resourceStatus, options);
+ if (message.securityStatus != null && message.hasOwnProperty("securityStatus"))
+ object.securityStatus = $root.google.cloud.dataplex.v1.Asset.SecurityStatus.toObject(message.securityStatus, options);
+ if (message.discoverySpec != null && message.hasOwnProperty("discoverySpec"))
+ object.discoverySpec = $root.google.cloud.dataplex.v1.Asset.DiscoverySpec.toObject(message.discoverySpec, options);
+ if (message.discoveryStatus != null && message.hasOwnProperty("discoveryStatus"))
+ object.discoveryStatus = $root.google.cloud.dataplex.v1.Asset.DiscoveryStatus.toObject(message.discoveryStatus, options);
+ return object;
+ };
+
+ /**
+ * Converts this Asset to JSON.
+ * @function toJSON
+ * @memberof google.cloud.dataplex.v1.Asset
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ Asset.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for Asset
+ * @function getTypeUrl
+ * @memberof google.cloud.dataplex.v1.Asset
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ Asset.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.cloud.dataplex.v1.Asset";
+ };
+
+ Asset.SecurityStatus = (function() {
+
+ /**
+ * Properties of a SecurityStatus.
+ * @memberof google.cloud.dataplex.v1.Asset
+ * @interface ISecurityStatus
+ * @property {google.cloud.dataplex.v1.Asset.SecurityStatus.State|null} [state] SecurityStatus state
+ * @property {string|null} [message] SecurityStatus message
+ * @property {google.protobuf.ITimestamp|null} [updateTime] SecurityStatus updateTime
+ */
+
+ /**
+ * Constructs a new SecurityStatus.
+ * @memberof google.cloud.dataplex.v1.Asset
+ * @classdesc Represents a SecurityStatus.
+ * @implements ISecurityStatus
+ * @constructor
+ * @param {google.cloud.dataplex.v1.Asset.ISecurityStatus=} [properties] Properties to set
+ */
+ function SecurityStatus(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]];
+ }
+
+ /**
+ * SecurityStatus state.
+ * @member {google.cloud.dataplex.v1.Asset.SecurityStatus.State} state
+ * @memberof google.cloud.dataplex.v1.Asset.SecurityStatus
+ * @instance
+ */
+ SecurityStatus.prototype.state = 0;
+
+ /**
+ * SecurityStatus message.
+ * @member {string} message
+ * @memberof google.cloud.dataplex.v1.Asset.SecurityStatus
+ * @instance
+ */
+ SecurityStatus.prototype.message = "";
+
+ /**
+ * SecurityStatus updateTime.
+ * @member {google.protobuf.ITimestamp|null|undefined} updateTime
+ * @memberof google.cloud.dataplex.v1.Asset.SecurityStatus
+ * @instance
+ */
+ SecurityStatus.prototype.updateTime = null;
+
+ /**
+ * Creates a new SecurityStatus instance using the specified properties.
+ * @function create
+ * @memberof google.cloud.dataplex.v1.Asset.SecurityStatus
+ * @static
+ * @param {google.cloud.dataplex.v1.Asset.ISecurityStatus=} [properties] Properties to set
+ * @returns {google.cloud.dataplex.v1.Asset.SecurityStatus} SecurityStatus instance
+ */
+ SecurityStatus.create = function create(properties) {
+ return new SecurityStatus(properties);
+ };
+
+ /**
+ * Encodes the specified SecurityStatus message. Does not implicitly {@link google.cloud.dataplex.v1.Asset.SecurityStatus.verify|verify} messages.
+ * @function encode
+ * @memberof google.cloud.dataplex.v1.Asset.SecurityStatus
+ * @static
+ * @param {google.cloud.dataplex.v1.Asset.ISecurityStatus} message SecurityStatus message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ SecurityStatus.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.state != null && Object.hasOwnProperty.call(message, "state"))
+ writer.uint32(/* id 1, wireType 0 =*/8).int32(message.state);
+ if (message.message != null && Object.hasOwnProperty.call(message, "message"))
+ writer.uint32(/* id 2, wireType 2 =*/18).string(message.message);
+ if (message.updateTime != null && Object.hasOwnProperty.call(message, "updateTime"))
+ $root.google.protobuf.Timestamp.encode(message.updateTime, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim();
+ return writer;
+ };
+
+ /**
+ * Encodes the specified SecurityStatus message, length delimited. Does not implicitly {@link google.cloud.dataplex.v1.Asset.SecurityStatus.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.cloud.dataplex.v1.Asset.SecurityStatus
+ * @static
+ * @param {google.cloud.dataplex.v1.Asset.ISecurityStatus} message SecurityStatus message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ SecurityStatus.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes a SecurityStatus message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.cloud.dataplex.v1.Asset.SecurityStatus
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.cloud.dataplex.v1.Asset.SecurityStatus} SecurityStatus
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ SecurityStatus.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.dataplex.v1.Asset.SecurityStatus();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ switch (tag >>> 3) {
+ case 1: {
+ message.state = reader.int32();
+ break;
+ }
+ case 2: {
+ message.message = reader.string();
+ break;
+ }
+ case 3: {
+ message.updateTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32());
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes a SecurityStatus message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.cloud.dataplex.v1.Asset.SecurityStatus
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.cloud.dataplex.v1.Asset.SecurityStatus} SecurityStatus
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ SecurityStatus.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies a SecurityStatus message.
+ * @function verify
+ * @memberof google.cloud.dataplex.v1.Asset.SecurityStatus
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ SecurityStatus.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ if (message.state != null && message.hasOwnProperty("state"))
+ switch (message.state) {
+ default:
+ return "state: enum value expected";
+ case 0:
+ case 1:
+ case 2:
+ case 3:
+ break;
+ }
+ if (message.message != null && message.hasOwnProperty("message"))
+ if (!$util.isString(message.message))
+ return "message: 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 SecurityStatus message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.cloud.dataplex.v1.Asset.SecurityStatus
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.cloud.dataplex.v1.Asset.SecurityStatus} SecurityStatus
+ */
+ SecurityStatus.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.cloud.dataplex.v1.Asset.SecurityStatus)
+ return object;
+ var message = new $root.google.cloud.dataplex.v1.Asset.SecurityStatus();
+ switch (object.state) {
+ case "STATE_UNSPECIFIED":
+ case 0:
+ message.state = 0;
+ break;
+ case "READY":
+ case 1:
+ message.state = 1;
+ break;
+ case "APPLYING":
+ case 2:
+ message.state = 2;
+ break;
+ case "ERROR":
+ case 3:
+ message.state = 3;
+ break;
+ }
+ if (object.message != null)
+ message.message = String(object.message);
+ if (object.updateTime != null) {
+ if (typeof object.updateTime !== "object")
+ throw TypeError(".google.cloud.dataplex.v1.Asset.SecurityStatus.updateTime: object expected");
+ message.updateTime = $root.google.protobuf.Timestamp.fromObject(object.updateTime);
+ }
+ return message;
+ };
+
+ /**
+ * Creates a plain object from a SecurityStatus message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.cloud.dataplex.v1.Asset.SecurityStatus
+ * @static
+ * @param {google.cloud.dataplex.v1.Asset.SecurityStatus} message SecurityStatus
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ SecurityStatus.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.defaults) {
+ object.state = options.enums === String ? "STATE_UNSPECIFIED" : 0;
+ object.message = "";
+ object.updateTime = null;
+ }
+ if (message.state != null && message.hasOwnProperty("state"))
+ object.state = options.enums === String ? $root.google.cloud.dataplex.v1.Asset.SecurityStatus.State[message.state] : message.state;
+ if (message.message != null && message.hasOwnProperty("message"))
+ object.message = message.message;
+ if (message.updateTime != null && message.hasOwnProperty("updateTime"))
+ object.updateTime = $root.google.protobuf.Timestamp.toObject(message.updateTime, options);
+ return object;
+ };
+
+ /**
+ * Converts this SecurityStatus to JSON.
+ * @function toJSON
+ * @memberof google.cloud.dataplex.v1.Asset.SecurityStatus
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ SecurityStatus.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for SecurityStatus
+ * @function getTypeUrl
+ * @memberof google.cloud.dataplex.v1.Asset.SecurityStatus
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ SecurityStatus.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.cloud.dataplex.v1.Asset.SecurityStatus";
+ };
+
+ /**
+ * State enum.
+ * @name google.cloud.dataplex.v1.Asset.SecurityStatus.State
+ * @enum {number}
+ * @property {number} STATE_UNSPECIFIED=0 STATE_UNSPECIFIED value
+ * @property {number} READY=1 READY value
+ * @property {number} APPLYING=2 APPLYING value
+ * @property {number} ERROR=3 ERROR value
+ */
+ SecurityStatus.State = (function() {
+ var valuesById = {}, values = Object.create(valuesById);
+ values[valuesById[0] = "STATE_UNSPECIFIED"] = 0;
+ values[valuesById[1] = "READY"] = 1;
+ values[valuesById[2] = "APPLYING"] = 2;
+ values[valuesById[3] = "ERROR"] = 3;
+ return values;
+ })();
+
+ return SecurityStatus;
+ })();
+
+ Asset.DiscoverySpec = (function() {
+
+ /**
+ * Properties of a DiscoverySpec.
+ * @memberof google.cloud.dataplex.v1.Asset
+ * @interface IDiscoverySpec
+ * @property {boolean|null} [enabled] DiscoverySpec enabled
+ * @property {Array.|null} [includePatterns] DiscoverySpec includePatterns
+ * @property {Array.|null} [excludePatterns] DiscoverySpec excludePatterns
+ * @property {google.cloud.dataplex.v1.Asset.DiscoverySpec.ICsvOptions|null} [csvOptions] DiscoverySpec csvOptions
+ * @property {google.cloud.dataplex.v1.Asset.DiscoverySpec.IJsonOptions|null} [jsonOptions] DiscoverySpec jsonOptions
+ * @property {string|null} [schedule] DiscoverySpec schedule
+ */
+
+ /**
+ * Constructs a new DiscoverySpec.
+ * @memberof google.cloud.dataplex.v1.Asset
+ * @classdesc Represents a DiscoverySpec.
+ * @implements IDiscoverySpec
+ * @constructor
+ * @param {google.cloud.dataplex.v1.Asset.IDiscoverySpec=} [properties] Properties to set
+ */
+ function DiscoverySpec(properties) {
+ this.includePatterns = [];
+ this.excludePatterns = [];
+ 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]];
+ }
+
+ /**
+ * DiscoverySpec enabled.
+ * @member {boolean} enabled
+ * @memberof google.cloud.dataplex.v1.Asset.DiscoverySpec
+ * @instance
+ */
+ DiscoverySpec.prototype.enabled = false;
+
+ /**
+ * DiscoverySpec includePatterns.
+ * @member {Array.} includePatterns
+ * @memberof google.cloud.dataplex.v1.Asset.DiscoverySpec
+ * @instance
+ */
+ DiscoverySpec.prototype.includePatterns = $util.emptyArray;
+
+ /**
+ * DiscoverySpec excludePatterns.
+ * @member {Array.} excludePatterns
+ * @memberof google.cloud.dataplex.v1.Asset.DiscoverySpec
+ * @instance
+ */
+ DiscoverySpec.prototype.excludePatterns = $util.emptyArray;
+
+ /**
+ * DiscoverySpec csvOptions.
+ * @member {google.cloud.dataplex.v1.Asset.DiscoverySpec.ICsvOptions|null|undefined} csvOptions
+ * @memberof google.cloud.dataplex.v1.Asset.DiscoverySpec
+ * @instance
+ */
+ DiscoverySpec.prototype.csvOptions = null;
+
+ /**
+ * DiscoverySpec jsonOptions.
+ * @member {google.cloud.dataplex.v1.Asset.DiscoverySpec.IJsonOptions|null|undefined} jsonOptions
+ * @memberof google.cloud.dataplex.v1.Asset.DiscoverySpec
+ * @instance
+ */
+ DiscoverySpec.prototype.jsonOptions = null;
+
+ /**
+ * DiscoverySpec schedule.
+ * @member {string|null|undefined} schedule
+ * @memberof google.cloud.dataplex.v1.Asset.DiscoverySpec
+ * @instance
+ */
+ DiscoverySpec.prototype.schedule = null;
+
+ // OneOf field names bound to virtual getters and setters
+ var $oneOfFields;
+
+ /**
+ * DiscoverySpec trigger.
+ * @member {"schedule"|undefined} trigger
+ * @memberof google.cloud.dataplex.v1.Asset.DiscoverySpec
+ * @instance
+ */
+ Object.defineProperty(DiscoverySpec.prototype, "trigger", {
+ get: $util.oneOfGetter($oneOfFields = ["schedule"]),
+ set: $util.oneOfSetter($oneOfFields)
+ });
+
+ /**
+ * Creates a new DiscoverySpec instance using the specified properties.
+ * @function create
+ * @memberof google.cloud.dataplex.v1.Asset.DiscoverySpec
+ * @static
+ * @param {google.cloud.dataplex.v1.Asset.IDiscoverySpec=} [properties] Properties to set
+ * @returns {google.cloud.dataplex.v1.Asset.DiscoverySpec} DiscoverySpec instance
+ */
+ DiscoverySpec.create = function create(properties) {
+ return new DiscoverySpec(properties);
+ };
+
+ /**
+ * Encodes the specified DiscoverySpec message. Does not implicitly {@link google.cloud.dataplex.v1.Asset.DiscoverySpec.verify|verify} messages.
+ * @function encode
+ * @memberof google.cloud.dataplex.v1.Asset.DiscoverySpec
+ * @static
+ * @param {google.cloud.dataplex.v1.Asset.IDiscoverySpec} message DiscoverySpec message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ DiscoverySpec.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.enabled != null && Object.hasOwnProperty.call(message, "enabled"))
+ writer.uint32(/* id 1, wireType 0 =*/8).bool(message.enabled);
+ if (message.includePatterns != null && message.includePatterns.length)
+ for (var i = 0; i < message.includePatterns.length; ++i)
+ writer.uint32(/* id 2, wireType 2 =*/18).string(message.includePatterns[i]);
+ if (message.excludePatterns != null && message.excludePatterns.length)
+ for (var i = 0; i < message.excludePatterns.length; ++i)
+ writer.uint32(/* id 3, wireType 2 =*/26).string(message.excludePatterns[i]);
+ if (message.csvOptions != null && Object.hasOwnProperty.call(message, "csvOptions"))
+ $root.google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions.encode(message.csvOptions, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim();
+ if (message.jsonOptions != null && Object.hasOwnProperty.call(message, "jsonOptions"))
+ $root.google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions.encode(message.jsonOptions, writer.uint32(/* id 5, wireType 2 =*/42).fork()).ldelim();
+ if (message.schedule != null && Object.hasOwnProperty.call(message, "schedule"))
+ writer.uint32(/* id 10, wireType 2 =*/82).string(message.schedule);
+ return writer;
+ };
+
+ /**
+ * Encodes the specified DiscoverySpec message, length delimited. Does not implicitly {@link google.cloud.dataplex.v1.Asset.DiscoverySpec.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.cloud.dataplex.v1.Asset.DiscoverySpec
+ * @static
+ * @param {google.cloud.dataplex.v1.Asset.IDiscoverySpec} message DiscoverySpec message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ DiscoverySpec.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes a DiscoverySpec message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.cloud.dataplex.v1.Asset.DiscoverySpec
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.cloud.dataplex.v1.Asset.DiscoverySpec} DiscoverySpec
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ DiscoverySpec.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.dataplex.v1.Asset.DiscoverySpec();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ switch (tag >>> 3) {
+ case 1: {
+ message.enabled = reader.bool();
+ break;
+ }
+ case 2: {
+ if (!(message.includePatterns && message.includePatterns.length))
+ message.includePatterns = [];
+ message.includePatterns.push(reader.string());
+ break;
+ }
+ case 3: {
+ if (!(message.excludePatterns && message.excludePatterns.length))
+ message.excludePatterns = [];
+ message.excludePatterns.push(reader.string());
+ break;
+ }
+ case 4: {
+ message.csvOptions = $root.google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions.decode(reader, reader.uint32());
+ break;
+ }
+ case 5: {
+ message.jsonOptions = $root.google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions.decode(reader, reader.uint32());
+ break;
+ }
+ case 10: {
+ message.schedule = reader.string();
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes a DiscoverySpec message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.cloud.dataplex.v1.Asset.DiscoverySpec
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.cloud.dataplex.v1.Asset.DiscoverySpec} DiscoverySpec
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ DiscoverySpec.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies a DiscoverySpec message.
+ * @function verify
+ * @memberof google.cloud.dataplex.v1.Asset.DiscoverySpec
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ DiscoverySpec.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ var properties = {};
+ if (message.enabled != null && message.hasOwnProperty("enabled"))
+ if (typeof message.enabled !== "boolean")
+ return "enabled: boolean expected";
+ if (message.includePatterns != null && message.hasOwnProperty("includePatterns")) {
+ if (!Array.isArray(message.includePatterns))
+ return "includePatterns: array expected";
+ for (var i = 0; i < message.includePatterns.length; ++i)
+ if (!$util.isString(message.includePatterns[i]))
+ return "includePatterns: string[] expected";
+ }
+ if (message.excludePatterns != null && message.hasOwnProperty("excludePatterns")) {
+ if (!Array.isArray(message.excludePatterns))
+ return "excludePatterns: array expected";
+ for (var i = 0; i < message.excludePatterns.length; ++i)
+ if (!$util.isString(message.excludePatterns[i]))
+ return "excludePatterns: string[] expected";
+ }
+ if (message.csvOptions != null && message.hasOwnProperty("csvOptions")) {
+ var error = $root.google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions.verify(message.csvOptions);
+ if (error)
+ return "csvOptions." + error;
+ }
+ if (message.jsonOptions != null && message.hasOwnProperty("jsonOptions")) {
+ var error = $root.google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions.verify(message.jsonOptions);
+ if (error)
+ return "jsonOptions." + error;
+ }
+ if (message.schedule != null && message.hasOwnProperty("schedule")) {
+ properties.trigger = 1;
+ if (!$util.isString(message.schedule))
+ return "schedule: string expected";
+ }
+ return null;
+ };
+
+ /**
+ * Creates a DiscoverySpec message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.cloud.dataplex.v1.Asset.DiscoverySpec
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.cloud.dataplex.v1.Asset.DiscoverySpec} DiscoverySpec
+ */
+ DiscoverySpec.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.cloud.dataplex.v1.Asset.DiscoverySpec)
+ return object;
+ var message = new $root.google.cloud.dataplex.v1.Asset.DiscoverySpec();
+ if (object.enabled != null)
+ message.enabled = Boolean(object.enabled);
+ if (object.includePatterns) {
+ if (!Array.isArray(object.includePatterns))
+ throw TypeError(".google.cloud.dataplex.v1.Asset.DiscoverySpec.includePatterns: array expected");
+ message.includePatterns = [];
+ for (var i = 0; i < object.includePatterns.length; ++i)
+ message.includePatterns[i] = String(object.includePatterns[i]);
+ }
+ if (object.excludePatterns) {
+ if (!Array.isArray(object.excludePatterns))
+ throw TypeError(".google.cloud.dataplex.v1.Asset.DiscoverySpec.excludePatterns: array expected");
+ message.excludePatterns = [];
+ for (var i = 0; i < object.excludePatterns.length; ++i)
+ message.excludePatterns[i] = String(object.excludePatterns[i]);
+ }
+ if (object.csvOptions != null) {
+ if (typeof object.csvOptions !== "object")
+ throw TypeError(".google.cloud.dataplex.v1.Asset.DiscoverySpec.csvOptions: object expected");
+ message.csvOptions = $root.google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions.fromObject(object.csvOptions);
+ }
+ if (object.jsonOptions != null) {
+ if (typeof object.jsonOptions !== "object")
+ throw TypeError(".google.cloud.dataplex.v1.Asset.DiscoverySpec.jsonOptions: object expected");
+ message.jsonOptions = $root.google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions.fromObject(object.jsonOptions);
+ }
+ if (object.schedule != null)
+ message.schedule = String(object.schedule);
+ return message;
+ };
+
+ /**
+ * Creates a plain object from a DiscoverySpec message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.cloud.dataplex.v1.Asset.DiscoverySpec
+ * @static
+ * @param {google.cloud.dataplex.v1.Asset.DiscoverySpec} message DiscoverySpec
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ DiscoverySpec.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.arrays || options.defaults) {
+ object.includePatterns = [];
+ object.excludePatterns = [];
+ }
+ if (options.defaults) {
+ object.enabled = false;
+ object.csvOptions = null;
+ object.jsonOptions = null;
+ }
+ if (message.enabled != null && message.hasOwnProperty("enabled"))
+ object.enabled = message.enabled;
+ if (message.includePatterns && message.includePatterns.length) {
+ object.includePatterns = [];
+ for (var j = 0; j < message.includePatterns.length; ++j)
+ object.includePatterns[j] = message.includePatterns[j];
+ }
+ if (message.excludePatterns && message.excludePatterns.length) {
+ object.excludePatterns = [];
+ for (var j = 0; j < message.excludePatterns.length; ++j)
+ object.excludePatterns[j] = message.excludePatterns[j];
+ }
+ if (message.csvOptions != null && message.hasOwnProperty("csvOptions"))
+ object.csvOptions = $root.google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions.toObject(message.csvOptions, options);
+ if (message.jsonOptions != null && message.hasOwnProperty("jsonOptions"))
+ object.jsonOptions = $root.google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions.toObject(message.jsonOptions, options);
+ if (message.schedule != null && message.hasOwnProperty("schedule")) {
+ object.schedule = message.schedule;
+ if (options.oneofs)
+ object.trigger = "schedule";
+ }
+ return object;
+ };
+
+ /**
+ * Converts this DiscoverySpec to JSON.
+ * @function toJSON
+ * @memberof google.cloud.dataplex.v1.Asset.DiscoverySpec
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ DiscoverySpec.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for DiscoverySpec
+ * @function getTypeUrl
+ * @memberof google.cloud.dataplex.v1.Asset.DiscoverySpec
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ DiscoverySpec.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.cloud.dataplex.v1.Asset.DiscoverySpec";
+ };
+
+ DiscoverySpec.CsvOptions = (function() {
+
+ /**
+ * Properties of a CsvOptions.
+ * @memberof google.cloud.dataplex.v1.Asset.DiscoverySpec
+ * @interface ICsvOptions
+ * @property {number|null} [headerRows] CsvOptions headerRows
+ * @property {string|null} [delimiter] CsvOptions delimiter
+ * @property {string|null} [encoding] CsvOptions encoding
+ * @property {boolean|null} [disableTypeInference] CsvOptions disableTypeInference
+ */
+
+ /**
+ * Constructs a new CsvOptions.
+ * @memberof google.cloud.dataplex.v1.Asset.DiscoverySpec
+ * @classdesc Represents a CsvOptions.
+ * @implements ICsvOptions
+ * @constructor
+ * @param {google.cloud.dataplex.v1.Asset.DiscoverySpec.ICsvOptions=} [properties] Properties to set
+ */
+ function CsvOptions(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]];
+ }
+
+ /**
+ * CsvOptions headerRows.
+ * @member {number} headerRows
+ * @memberof google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions
+ * @instance
+ */
+ CsvOptions.prototype.headerRows = 0;
+
+ /**
+ * CsvOptions delimiter.
+ * @member {string} delimiter
+ * @memberof google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions
+ * @instance
+ */
+ CsvOptions.prototype.delimiter = "";
+
+ /**
+ * CsvOptions encoding.
+ * @member {string} encoding
+ * @memberof google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions
+ * @instance
+ */
+ CsvOptions.prototype.encoding = "";
+
+ /**
+ * CsvOptions disableTypeInference.
+ * @member {boolean} disableTypeInference
+ * @memberof google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions
+ * @instance
+ */
+ CsvOptions.prototype.disableTypeInference = false;
+
+ /**
+ * Creates a new CsvOptions instance using the specified properties.
+ * @function create
+ * @memberof google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions
+ * @static
+ * @param {google.cloud.dataplex.v1.Asset.DiscoverySpec.ICsvOptions=} [properties] Properties to set
+ * @returns {google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions} CsvOptions instance
+ */
+ CsvOptions.create = function create(properties) {
+ return new CsvOptions(properties);
+ };
+
+ /**
+ * Encodes the specified CsvOptions message. Does not implicitly {@link google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions.verify|verify} messages.
+ * @function encode
+ * @memberof google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions
+ * @static
+ * @param {google.cloud.dataplex.v1.Asset.DiscoverySpec.ICsvOptions} message CsvOptions message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ CsvOptions.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.headerRows != null && Object.hasOwnProperty.call(message, "headerRows"))
+ writer.uint32(/* id 1, wireType 0 =*/8).int32(message.headerRows);
+ if (message.delimiter != null && Object.hasOwnProperty.call(message, "delimiter"))
+ writer.uint32(/* id 2, wireType 2 =*/18).string(message.delimiter);
+ if (message.encoding != null && Object.hasOwnProperty.call(message, "encoding"))
+ writer.uint32(/* id 3, wireType 2 =*/26).string(message.encoding);
+ if (message.disableTypeInference != null && Object.hasOwnProperty.call(message, "disableTypeInference"))
+ writer.uint32(/* id 4, wireType 0 =*/32).bool(message.disableTypeInference);
+ return writer;
+ };
+
+ /**
+ * Encodes the specified CsvOptions message, length delimited. Does not implicitly {@link google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions
+ * @static
+ * @param {google.cloud.dataplex.v1.Asset.DiscoverySpec.ICsvOptions} message CsvOptions message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ CsvOptions.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes a CsvOptions message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions} CsvOptions
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ CsvOptions.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.dataplex.v1.Asset.DiscoverySpec.CsvOptions();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ switch (tag >>> 3) {
+ case 1: {
+ message.headerRows = reader.int32();
+ break;
+ }
+ case 2: {
+ message.delimiter = reader.string();
+ break;
+ }
+ case 3: {
+ message.encoding = reader.string();
+ break;
+ }
+ case 4: {
+ message.disableTypeInference = reader.bool();
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes a CsvOptions message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions} CsvOptions
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ CsvOptions.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies a CsvOptions message.
+ * @function verify
+ * @memberof google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ CsvOptions.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ if (message.headerRows != null && message.hasOwnProperty("headerRows"))
+ if (!$util.isInteger(message.headerRows))
+ return "headerRows: integer expected";
+ if (message.delimiter != null && message.hasOwnProperty("delimiter"))
+ if (!$util.isString(message.delimiter))
+ return "delimiter: string expected";
+ if (message.encoding != null && message.hasOwnProperty("encoding"))
+ if (!$util.isString(message.encoding))
+ return "encoding: string expected";
+ if (message.disableTypeInference != null && message.hasOwnProperty("disableTypeInference"))
+ if (typeof message.disableTypeInference !== "boolean")
+ return "disableTypeInference: boolean expected";
+ return null;
+ };
+
+ /**
+ * Creates a CsvOptions message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions} CsvOptions
+ */
+ CsvOptions.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions)
+ return object;
+ var message = new $root.google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions();
+ if (object.headerRows != null)
+ message.headerRows = object.headerRows | 0;
+ if (object.delimiter != null)
+ message.delimiter = String(object.delimiter);
+ if (object.encoding != null)
+ message.encoding = String(object.encoding);
+ if (object.disableTypeInference != null)
+ message.disableTypeInference = Boolean(object.disableTypeInference);
+ return message;
+ };
+
+ /**
+ * Creates a plain object from a CsvOptions message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions
+ * @static
+ * @param {google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions} message CsvOptions
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ CsvOptions.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.defaults) {
+ object.headerRows = 0;
+ object.delimiter = "";
+ object.encoding = "";
+ object.disableTypeInference = false;
+ }
+ if (message.headerRows != null && message.hasOwnProperty("headerRows"))
+ object.headerRows = message.headerRows;
+ if (message.delimiter != null && message.hasOwnProperty("delimiter"))
+ object.delimiter = message.delimiter;
+ if (message.encoding != null && message.hasOwnProperty("encoding"))
+ object.encoding = message.encoding;
+ if (message.disableTypeInference != null && message.hasOwnProperty("disableTypeInference"))
+ object.disableTypeInference = message.disableTypeInference;
+ return object;
+ };
+
+ /**
+ * Converts this CsvOptions to JSON.
+ * @function toJSON
+ * @memberof google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ CsvOptions.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for CsvOptions
+ * @function getTypeUrl
+ * @memberof google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ CsvOptions.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.cloud.dataplex.v1.Asset.DiscoverySpec.CsvOptions";
+ };
+
+ return CsvOptions;
+ })();
+
+ DiscoverySpec.JsonOptions = (function() {
+
+ /**
+ * Properties of a JsonOptions.
+ * @memberof google.cloud.dataplex.v1.Asset.DiscoverySpec
+ * @interface IJsonOptions
+ * @property {string|null} [encoding] JsonOptions encoding
+ * @property {boolean|null} [disableTypeInference] JsonOptions disableTypeInference
+ */
+
+ /**
+ * Constructs a new JsonOptions.
+ * @memberof google.cloud.dataplex.v1.Asset.DiscoverySpec
+ * @classdesc Represents a JsonOptions.
+ * @implements IJsonOptions
+ * @constructor
+ * @param {google.cloud.dataplex.v1.Asset.DiscoverySpec.IJsonOptions=} [properties] Properties to set
+ */
+ function JsonOptions(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]];
+ }
+
+ /**
+ * JsonOptions encoding.
+ * @member {string} encoding
+ * @memberof google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions
+ * @instance
+ */
+ JsonOptions.prototype.encoding = "";
+
+ /**
+ * JsonOptions disableTypeInference.
+ * @member {boolean} disableTypeInference
+ * @memberof google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions
+ * @instance
+ */
+ JsonOptions.prototype.disableTypeInference = false;
+
+ /**
+ * Creates a new JsonOptions instance using the specified properties.
+ * @function create
+ * @memberof google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions
+ * @static
+ * @param {google.cloud.dataplex.v1.Asset.DiscoverySpec.IJsonOptions=} [properties] Properties to set
+ * @returns {google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions} JsonOptions instance
+ */
+ JsonOptions.create = function create(properties) {
+ return new JsonOptions(properties);
+ };
+
+ /**
+ * Encodes the specified JsonOptions message. Does not implicitly {@link google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions.verify|verify} messages.
+ * @function encode
+ * @memberof google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions
+ * @static
+ * @param {google.cloud.dataplex.v1.Asset.DiscoverySpec.IJsonOptions} message JsonOptions message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ JsonOptions.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.encoding != null && Object.hasOwnProperty.call(message, "encoding"))
+ writer.uint32(/* id 1, wireType 2 =*/10).string(message.encoding);
+ if (message.disableTypeInference != null && Object.hasOwnProperty.call(message, "disableTypeInference"))
+ writer.uint32(/* id 2, wireType 0 =*/16).bool(message.disableTypeInference);
+ return writer;
+ };
+
+ /**
+ * Encodes the specified JsonOptions message, length delimited. Does not implicitly {@link google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions
+ * @static
+ * @param {google.cloud.dataplex.v1.Asset.DiscoverySpec.IJsonOptions} message JsonOptions message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ JsonOptions.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes a JsonOptions message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions} JsonOptions
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ JsonOptions.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.dataplex.v1.Asset.DiscoverySpec.JsonOptions();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ switch (tag >>> 3) {
+ case 1: {
+ message.encoding = reader.string();
+ break;
+ }
+ case 2: {
+ message.disableTypeInference = reader.bool();
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes a JsonOptions message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions} JsonOptions
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ JsonOptions.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies a JsonOptions message.
+ * @function verify
+ * @memberof google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ JsonOptions.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ if (message.encoding != null && message.hasOwnProperty("encoding"))
+ if (!$util.isString(message.encoding))
+ return "encoding: string expected";
+ if (message.disableTypeInference != null && message.hasOwnProperty("disableTypeInference"))
+ if (typeof message.disableTypeInference !== "boolean")
+ return "disableTypeInference: boolean expected";
+ return null;
+ };
+
+ /**
+ * Creates a JsonOptions message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions} JsonOptions
+ */
+ JsonOptions.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions)
+ return object;
+ var message = new $root.google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions();
+ if (object.encoding != null)
+ message.encoding = String(object.encoding);
+ if (object.disableTypeInference != null)
+ message.disableTypeInference = Boolean(object.disableTypeInference);
+ return message;
+ };
+
+ /**
+ * Creates a plain object from a JsonOptions message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions
+ * @static
+ * @param {google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions} message JsonOptions
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ JsonOptions.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.defaults) {
+ object.encoding = "";
+ object.disableTypeInference = false;
+ }
+ if (message.encoding != null && message.hasOwnProperty("encoding"))
+ object.encoding = message.encoding;
+ if (message.disableTypeInference != null && message.hasOwnProperty("disableTypeInference"))
+ object.disableTypeInference = message.disableTypeInference;
+ return object;
+ };
+
+ /**
+ * Converts this JsonOptions to JSON.
+ * @function toJSON
+ * @memberof google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ JsonOptions.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for JsonOptions
+ * @function getTypeUrl
+ * @memberof google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ JsonOptions.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.cloud.dataplex.v1.Asset.DiscoverySpec.JsonOptions";
+ };
+
+ return JsonOptions;
+ })();
+
+ return DiscoverySpec;
+ })();
+
+ Asset.ResourceSpec = (function() {
+
+ /**
+ * Properties of a ResourceSpec.
+ * @memberof google.cloud.dataplex.v1.Asset
+ * @interface IResourceSpec
+ * @property {string|null} [name] ResourceSpec name
+ * @property {google.cloud.dataplex.v1.Asset.ResourceSpec.Type|null} [type] ResourceSpec type
+ */
+
+ /**
+ * Constructs a new ResourceSpec.
+ * @memberof google.cloud.dataplex.v1.Asset
+ * @classdesc Represents a ResourceSpec.
+ * @implements IResourceSpec
+ * @constructor
+ * @param {google.cloud.dataplex.v1.Asset.IResourceSpec=} [properties] Properties to set
+ */
+ function ResourceSpec(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]];
+ }
+
+ /**
+ * ResourceSpec name.
+ * @member {string} name
+ * @memberof google.cloud.dataplex.v1.Asset.ResourceSpec
+ * @instance
+ */
+ ResourceSpec.prototype.name = "";
+
+ /**
+ * ResourceSpec type.
+ * @member {google.cloud.dataplex.v1.Asset.ResourceSpec.Type} type
+ * @memberof google.cloud.dataplex.v1.Asset.ResourceSpec
+ * @instance
+ */
+ ResourceSpec.prototype.type = 0;
+
+ /**
+ * Creates a new ResourceSpec instance using the specified properties.
+ * @function create
+ * @memberof google.cloud.dataplex.v1.Asset.ResourceSpec
+ * @static
+ * @param {google.cloud.dataplex.v1.Asset.IResourceSpec=} [properties] Properties to set
+ * @returns {google.cloud.dataplex.v1.Asset.ResourceSpec} ResourceSpec instance
+ */
+ ResourceSpec.create = function create(properties) {
+ return new ResourceSpec(properties);
+ };
+
+ /**
+ * Encodes the specified ResourceSpec message. Does not implicitly {@link google.cloud.dataplex.v1.Asset.ResourceSpec.verify|verify} messages.
+ * @function encode
+ * @memberof google.cloud.dataplex.v1.Asset.ResourceSpec
+ * @static
+ * @param {google.cloud.dataplex.v1.Asset.IResourceSpec} message ResourceSpec message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ ResourceSpec.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.type != null && Object.hasOwnProperty.call(message, "type"))
+ writer.uint32(/* id 2, wireType 0 =*/16).int32(message.type);
+ return writer;
+ };
+
+ /**
+ * Encodes the specified ResourceSpec message, length delimited. Does not implicitly {@link google.cloud.dataplex.v1.Asset.ResourceSpec.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.cloud.dataplex.v1.Asset.ResourceSpec
+ * @static
+ * @param {google.cloud.dataplex.v1.Asset.IResourceSpec} message ResourceSpec message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ ResourceSpec.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes a ResourceSpec message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.cloud.dataplex.v1.Asset.ResourceSpec
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.cloud.dataplex.v1.Asset.ResourceSpec} ResourceSpec
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ ResourceSpec.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.dataplex.v1.Asset.ResourceSpec();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ switch (tag >>> 3) {
+ case 1: {
+ message.name = reader.string();
+ break;
+ }
+ case 2: {
+ message.type = reader.int32();
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes a ResourceSpec message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.cloud.dataplex.v1.Asset.ResourceSpec
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.cloud.dataplex.v1.Asset.ResourceSpec} ResourceSpec
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ ResourceSpec.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies a ResourceSpec message.
+ * @function verify
+ * @memberof google.cloud.dataplex.v1.Asset.ResourceSpec
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ ResourceSpec.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.type != null && message.hasOwnProperty("type"))
+ switch (message.type) {
+ default:
+ return "type: enum value expected";
+ case 0:
+ case 1:
+ case 2:
+ break;
+ }
+ return null;
+ };
+
+ /**
+ * Creates a ResourceSpec message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.cloud.dataplex.v1.Asset.ResourceSpec
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.cloud.dataplex.v1.Asset.ResourceSpec} ResourceSpec
+ */
+ ResourceSpec.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.cloud.dataplex.v1.Asset.ResourceSpec)
+ return object;
+ var message = new $root.google.cloud.dataplex.v1.Asset.ResourceSpec();
+ if (object.name != null)
+ message.name = String(object.name);
+ switch (object.type) {
+ case "TYPE_UNSPECIFIED":
+ case 0:
+ message.type = 0;
+ break;
+ case "STORAGE_BUCKET":
+ case 1:
+ message.type = 1;
+ break;
+ case "BIGQUERY_DATASET":
+ case 2:
+ message.type = 2;
+ break;
+ }
+ return message;
+ };
+
+ /**
+ * Creates a plain object from a ResourceSpec message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.cloud.dataplex.v1.Asset.ResourceSpec
+ * @static
+ * @param {google.cloud.dataplex.v1.Asset.ResourceSpec} message ResourceSpec
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ ResourceSpec.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.defaults) {
+ object.name = "";
+ object.type = options.enums === String ? "TYPE_UNSPECIFIED" : 0;
+ }
+ if (message.name != null && message.hasOwnProperty("name"))
+ object.name = message.name;
+ if (message.type != null && message.hasOwnProperty("type"))
+ object.type = options.enums === String ? $root.google.cloud.dataplex.v1.Asset.ResourceSpec.Type[message.type] : message.type;
+ return object;
+ };
+
+ /**
+ * Converts this ResourceSpec to JSON.
+ * @function toJSON
+ * @memberof google.cloud.dataplex.v1.Asset.ResourceSpec
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ ResourceSpec.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for ResourceSpec
+ * @function getTypeUrl
+ * @memberof google.cloud.dataplex.v1.Asset.ResourceSpec
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ ResourceSpec.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.cloud.dataplex.v1.Asset.ResourceSpec";
+ };
+
+ /**
+ * Type enum.
+ * @name google.cloud.dataplex.v1.Asset.ResourceSpec.Type
+ * @enum {number}
+ * @property {number} TYPE_UNSPECIFIED=0 TYPE_UNSPECIFIED value
+ * @property {number} STORAGE_BUCKET=1 STORAGE_BUCKET value
+ * @property {number} BIGQUERY_DATASET=2 BIGQUERY_DATASET value
+ */
+ ResourceSpec.Type = (function() {
+ var valuesById = {}, values = Object.create(valuesById);
+ values[valuesById[0] = "TYPE_UNSPECIFIED"] = 0;
+ values[valuesById[1] = "STORAGE_BUCKET"] = 1;
+ values[valuesById[2] = "BIGQUERY_DATASET"] = 2;
+ return values;
+ })();
+
+ return ResourceSpec;
+ })();
+
+ Asset.ResourceStatus = (function() {
+
+ /**
+ * Properties of a ResourceStatus.
+ * @memberof google.cloud.dataplex.v1.Asset
+ * @interface IResourceStatus
+ * @property {google.cloud.dataplex.v1.Asset.ResourceStatus.State|null} [state] ResourceStatus state
+ * @property {string|null} [message] ResourceStatus message
+ * @property {google.protobuf.ITimestamp|null} [updateTime] ResourceStatus updateTime
+ */
+
+ /**
+ * Constructs a new ResourceStatus.
+ * @memberof google.cloud.dataplex.v1.Asset
+ * @classdesc Represents a ResourceStatus.
+ * @implements IResourceStatus
+ * @constructor
+ * @param {google.cloud.dataplex.v1.Asset.IResourceStatus=} [properties] Properties to set
+ */
+ function ResourceStatus(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]];
+ }
+
+ /**
+ * ResourceStatus state.
+ * @member {google.cloud.dataplex.v1.Asset.ResourceStatus.State} state
+ * @memberof google.cloud.dataplex.v1.Asset.ResourceStatus
+ * @instance
+ */
+ ResourceStatus.prototype.state = 0;
+
+ /**
+ * ResourceStatus message.
+ * @member {string} message
+ * @memberof google.cloud.dataplex.v1.Asset.ResourceStatus
+ * @instance
+ */
+ ResourceStatus.prototype.message = "";
+
+ /**
+ * ResourceStatus updateTime.
+ * @member {google.protobuf.ITimestamp|null|undefined} updateTime
+ * @memberof google.cloud.dataplex.v1.Asset.ResourceStatus
+ * @instance
+ */
+ ResourceStatus.prototype.updateTime = null;
+
+ /**
+ * Creates a new ResourceStatus instance using the specified properties.
+ * @function create
+ * @memberof google.cloud.dataplex.v1.Asset.ResourceStatus
+ * @static
+ * @param {google.cloud.dataplex.v1.Asset.IResourceStatus=} [properties] Properties to set
+ * @returns {google.cloud.dataplex.v1.Asset.ResourceStatus} ResourceStatus instance
+ */
+ ResourceStatus.create = function create(properties) {
+ return new ResourceStatus(properties);
+ };
+
+ /**
+ * Encodes the specified ResourceStatus message. Does not implicitly {@link google.cloud.dataplex.v1.Asset.ResourceStatus.verify|verify} messages.
+ * @function encode
+ * @memberof google.cloud.dataplex.v1.Asset.ResourceStatus
+ * @static
+ * @param {google.cloud.dataplex.v1.Asset.IResourceStatus} message ResourceStatus message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ ResourceStatus.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.state != null && Object.hasOwnProperty.call(message, "state"))
+ writer.uint32(/* id 1, wireType 0 =*/8).int32(message.state);
+ if (message.message != null && Object.hasOwnProperty.call(message, "message"))
+ writer.uint32(/* id 2, wireType 2 =*/18).string(message.message);
+ if (message.updateTime != null && Object.hasOwnProperty.call(message, "updateTime"))
+ $root.google.protobuf.Timestamp.encode(message.updateTime, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim();
+ return writer;
+ };
+
+ /**
+ * Encodes the specified ResourceStatus message, length delimited. Does not implicitly {@link google.cloud.dataplex.v1.Asset.ResourceStatus.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.cloud.dataplex.v1.Asset.ResourceStatus
+ * @static
+ * @param {google.cloud.dataplex.v1.Asset.IResourceStatus} message ResourceStatus message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ ResourceStatus.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes a ResourceStatus message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.cloud.dataplex.v1.Asset.ResourceStatus
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.cloud.dataplex.v1.Asset.ResourceStatus} ResourceStatus
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ ResourceStatus.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.dataplex.v1.Asset.ResourceStatus();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ switch (tag >>> 3) {
+ case 1: {
+ message.state = reader.int32();
+ break;
+ }
+ case 2: {
+ message.message = reader.string();
+ break;
+ }
+ case 3: {
+ message.updateTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32());
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes a ResourceStatus message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.cloud.dataplex.v1.Asset.ResourceStatus
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.cloud.dataplex.v1.Asset.ResourceStatus} ResourceStatus
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ ResourceStatus.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies a ResourceStatus message.
+ * @function verify
+ * @memberof google.cloud.dataplex.v1.Asset.ResourceStatus
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ ResourceStatus.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ if (message.state != null && message.hasOwnProperty("state"))
+ switch (message.state) {
+ default:
+ return "state: enum value expected";
+ case 0:
+ case 1:
+ case 2:
+ break;
+ }
+ if (message.message != null && message.hasOwnProperty("message"))
+ if (!$util.isString(message.message))
+ return "message: 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 ResourceStatus message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.cloud.dataplex.v1.Asset.ResourceStatus
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.cloud.dataplex.v1.Asset.ResourceStatus} ResourceStatus
+ */
+ ResourceStatus.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.cloud.dataplex.v1.Asset.ResourceStatus)
+ return object;
+ var message = new $root.google.cloud.dataplex.v1.Asset.ResourceStatus();
+ switch (object.state) {
+ case "STATE_UNSPECIFIED":
+ case 0:
+ message.state = 0;
+ break;
+ case "READY":
+ case 1:
+ message.state = 1;
+ break;
+ case "ERROR":
+ case 2:
+ message.state = 2;
+ break;
+ }
+ if (object.message != null)
+ message.message = String(object.message);
+ if (object.updateTime != null) {
+ if (typeof object.updateTime !== "object")
+ throw TypeError(".google.cloud.dataplex.v1.Asset.ResourceStatus.updateTime: object expected");
+ message.updateTime = $root.google.protobuf.Timestamp.fromObject(object.updateTime);
+ }
+ return message;
+ };
+
+ /**
+ * Creates a plain object from a ResourceStatus message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.cloud.dataplex.v1.Asset.ResourceStatus
+ * @static
+ * @param {google.cloud.dataplex.v1.Asset.ResourceStatus} message ResourceStatus
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ ResourceStatus.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.defaults) {
+ object.state = options.enums === String ? "STATE_UNSPECIFIED" : 0;
+ object.message = "";
+ object.updateTime = null;
+ }
+ if (message.state != null && message.hasOwnProperty("state"))
+ object.state = options.enums === String ? $root.google.cloud.dataplex.v1.Asset.ResourceStatus.State[message.state] : message.state;
+ if (message.message != null && message.hasOwnProperty("message"))
+ object.message = message.message;
+ if (message.updateTime != null && message.hasOwnProperty("updateTime"))
+ object.updateTime = $root.google.protobuf.Timestamp.toObject(message.updateTime, options);
+ return object;
+ };
+
+ /**
+ * Converts this ResourceStatus to JSON.
+ * @function toJSON
+ * @memberof google.cloud.dataplex.v1.Asset.ResourceStatus
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ ResourceStatus.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for ResourceStatus
+ * @function getTypeUrl
+ * @memberof google.cloud.dataplex.v1.Asset.ResourceStatus
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ ResourceStatus.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.cloud.dataplex.v1.Asset.ResourceStatus";
+ };
+
+ /**
+ * State enum.
+ * @name google.cloud.dataplex.v1.Asset.ResourceStatus.State
+ * @enum {number}
+ * @property {number} STATE_UNSPECIFIED=0 STATE_UNSPECIFIED value
+ * @property {number} READY=1 READY value
+ * @property {number} ERROR=2 ERROR value
+ */
+ ResourceStatus.State = (function() {
+ var valuesById = {}, values = Object.create(valuesById);
+ values[valuesById[0] = "STATE_UNSPECIFIED"] = 0;
+ values[valuesById[1] = "READY"] = 1;
+ values[valuesById[2] = "ERROR"] = 2;
+ return values;
+ })();
+
+ return ResourceStatus;
+ })();
+
+ Asset.DiscoveryStatus = (function() {
+
+ /**
+ * Properties of a DiscoveryStatus.
+ * @memberof google.cloud.dataplex.v1.Asset
+ * @interface IDiscoveryStatus
+ * @property {google.cloud.dataplex.v1.Asset.DiscoveryStatus.State|null} [state] DiscoveryStatus state
+ * @property {string|null} [message] DiscoveryStatus message
+ * @property {google.protobuf.ITimestamp|null} [updateTime] DiscoveryStatus updateTime
+ * @property {google.protobuf.ITimestamp|null} [lastRunTime] DiscoveryStatus lastRunTime
+ * @property {google.cloud.dataplex.v1.Asset.DiscoveryStatus.IStats|null} [stats] DiscoveryStatus stats
+ * @property {google.protobuf.IDuration|null} [lastRunDuration] DiscoveryStatus lastRunDuration
+ */
+
+ /**
+ * Constructs a new DiscoveryStatus.
+ * @memberof google.cloud.dataplex.v1.Asset
+ * @classdesc Represents a DiscoveryStatus.
+ * @implements IDiscoveryStatus
+ * @constructor
+ * @param {google.cloud.dataplex.v1.Asset.IDiscoveryStatus=} [properties] Properties to set
+ */
+ function DiscoveryStatus(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]];
+ }
+
+ /**
+ * DiscoveryStatus state.
+ * @member {google.cloud.dataplex.v1.Asset.DiscoveryStatus.State} state
+ * @memberof google.cloud.dataplex.v1.Asset.DiscoveryStatus
+ * @instance
+ */
+ DiscoveryStatus.prototype.state = 0;
+
+ /**
+ * DiscoveryStatus message.
+ * @member {string} message
+ * @memberof google.cloud.dataplex.v1.Asset.DiscoveryStatus
+ * @instance
+ */
+ DiscoveryStatus.prototype.message = "";
+
+ /**
+ * DiscoveryStatus updateTime.
+ * @member {google.protobuf.ITimestamp|null|undefined} updateTime
+ * @memberof google.cloud.dataplex.v1.Asset.DiscoveryStatus
+ * @instance
+ */
+ DiscoveryStatus.prototype.updateTime = null;
+
+ /**
+ * DiscoveryStatus lastRunTime.
+ * @member {google.protobuf.ITimestamp|null|undefined} lastRunTime
+ * @memberof google.cloud.dataplex.v1.Asset.DiscoveryStatus
+ * @instance
+ */
+ DiscoveryStatus.prototype.lastRunTime = null;
+
+ /**
+ * DiscoveryStatus stats.
+ * @member {google.cloud.dataplex.v1.Asset.DiscoveryStatus.IStats|null|undefined} stats
+ * @memberof google.cloud.dataplex.v1.Asset.DiscoveryStatus
+ * @instance
+ */
+ DiscoveryStatus.prototype.stats = null;
+
+ /**
+ * DiscoveryStatus lastRunDuration.
+ * @member {google.protobuf.IDuration|null|undefined} lastRunDuration
+ * @memberof google.cloud.dataplex.v1.Asset.DiscoveryStatus
+ * @instance
+ */
+ DiscoveryStatus.prototype.lastRunDuration = null;
+
+ /**
+ * Creates a new DiscoveryStatus instance using the specified properties.
+ * @function create
+ * @memberof google.cloud.dataplex.v1.Asset.DiscoveryStatus
+ * @static
+ * @param {google.cloud.dataplex.v1.Asset.IDiscoveryStatus=} [properties] Properties to set
+ * @returns {google.cloud.dataplex.v1.Asset.DiscoveryStatus} DiscoveryStatus instance
+ */
+ DiscoveryStatus.create = function create(properties) {
+ return new DiscoveryStatus(properties);
+ };
+
+ /**
+ * Encodes the specified DiscoveryStatus message. Does not implicitly {@link google.cloud.dataplex.v1.Asset.DiscoveryStatus.verify|verify} messages.
+ * @function encode
+ * @memberof google.cloud.dataplex.v1.Asset.DiscoveryStatus
+ * @static
+ * @param {google.cloud.dataplex.v1.Asset.IDiscoveryStatus} message DiscoveryStatus message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ DiscoveryStatus.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.state != null && Object.hasOwnProperty.call(message, "state"))
+ writer.uint32(/* id 1, wireType 0 =*/8).int32(message.state);
+ if (message.message != null && Object.hasOwnProperty.call(message, "message"))
+ writer.uint32(/* id 2, wireType 2 =*/18).string(message.message);
+ if (message.updateTime != null && Object.hasOwnProperty.call(message, "updateTime"))
+ $root.google.protobuf.Timestamp.encode(message.updateTime, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim();
+ if (message.lastRunTime != null && Object.hasOwnProperty.call(message, "lastRunTime"))
+ $root.google.protobuf.Timestamp.encode(message.lastRunTime, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim();
+ if (message.stats != null && Object.hasOwnProperty.call(message, "stats"))
+ $root.google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats.encode(message.stats, writer.uint32(/* id 6, wireType 2 =*/50).fork()).ldelim();
+ if (message.lastRunDuration != null && Object.hasOwnProperty.call(message, "lastRunDuration"))
+ $root.google.protobuf.Duration.encode(message.lastRunDuration, writer.uint32(/* id 7, wireType 2 =*/58).fork()).ldelim();
+ return writer;
+ };
+
+ /**
+ * Encodes the specified DiscoveryStatus message, length delimited. Does not implicitly {@link google.cloud.dataplex.v1.Asset.DiscoveryStatus.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.cloud.dataplex.v1.Asset.DiscoveryStatus
+ * @static
+ * @param {google.cloud.dataplex.v1.Asset.IDiscoveryStatus} message DiscoveryStatus message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ DiscoveryStatus.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes a DiscoveryStatus message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.cloud.dataplex.v1.Asset.DiscoveryStatus
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.cloud.dataplex.v1.Asset.DiscoveryStatus} DiscoveryStatus
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ DiscoveryStatus.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.dataplex.v1.Asset.DiscoveryStatus();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ switch (tag >>> 3) {
+ case 1: {
+ message.state = reader.int32();
+ break;
+ }
+ case 2: {
+ message.message = reader.string();
+ break;
+ }
+ case 3: {
+ message.updateTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32());
+ break;
+ }
+ case 4: {
+ message.lastRunTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32());
+ break;
+ }
+ case 6: {
+ message.stats = $root.google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats.decode(reader, reader.uint32());
+ break;
+ }
+ case 7: {
+ message.lastRunDuration = $root.google.protobuf.Duration.decode(reader, reader.uint32());
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes a DiscoveryStatus message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.cloud.dataplex.v1.Asset.DiscoveryStatus
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.cloud.dataplex.v1.Asset.DiscoveryStatus} DiscoveryStatus
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ DiscoveryStatus.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies a DiscoveryStatus message.
+ * @function verify
+ * @memberof google.cloud.dataplex.v1.Asset.DiscoveryStatus
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ DiscoveryStatus.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ 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 5:
+ break;
+ }
+ if (message.message != null && message.hasOwnProperty("message"))
+ if (!$util.isString(message.message))
+ return "message: string expected";
+ if (message.updateTime != null && message.hasOwnProperty("updateTime")) {
+ var error = $root.google.protobuf.Timestamp.verify(message.updateTime);
+ if (error)
+ return "updateTime." + error;
+ }
+ if (message.lastRunTime != null && message.hasOwnProperty("lastRunTime")) {
+ var error = $root.google.protobuf.Timestamp.verify(message.lastRunTime);
+ if (error)
+ return "lastRunTime." + error;
+ }
+ if (message.stats != null && message.hasOwnProperty("stats")) {
+ var error = $root.google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats.verify(message.stats);
+ if (error)
+ return "stats." + error;
+ }
+ if (message.lastRunDuration != null && message.hasOwnProperty("lastRunDuration")) {
+ var error = $root.google.protobuf.Duration.verify(message.lastRunDuration);
+ if (error)
+ return "lastRunDuration." + error;
+ }
+ return null;
+ };
+
+ /**
+ * Creates a DiscoveryStatus message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.cloud.dataplex.v1.Asset.DiscoveryStatus
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.cloud.dataplex.v1.Asset.DiscoveryStatus} DiscoveryStatus
+ */
+ DiscoveryStatus.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.cloud.dataplex.v1.Asset.DiscoveryStatus)
+ return object;
+ var message = new $root.google.cloud.dataplex.v1.Asset.DiscoveryStatus();
+ switch (object.state) {
+ case "STATE_UNSPECIFIED":
+ case 0:
+ message.state = 0;
+ break;
+ case "SCHEDULED":
+ case 1:
+ message.state = 1;
+ break;
+ case "IN_PROGRESS":
+ case 2:
+ message.state = 2;
+ break;
+ case "PAUSED":
+ case 3:
+ message.state = 3;
+ break;
+ case "DISABLED":
+ case 5:
+ message.state = 5;
+ break;
+ }
+ if (object.message != null)
+ message.message = String(object.message);
+ if (object.updateTime != null) {
+ if (typeof object.updateTime !== "object")
+ throw TypeError(".google.cloud.dataplex.v1.Asset.DiscoveryStatus.updateTime: object expected");
+ message.updateTime = $root.google.protobuf.Timestamp.fromObject(object.updateTime);
+ }
+ if (object.lastRunTime != null) {
+ if (typeof object.lastRunTime !== "object")
+ throw TypeError(".google.cloud.dataplex.v1.Asset.DiscoveryStatus.lastRunTime: object expected");
+ message.lastRunTime = $root.google.protobuf.Timestamp.fromObject(object.lastRunTime);
+ }
+ if (object.stats != null) {
+ if (typeof object.stats !== "object")
+ throw TypeError(".google.cloud.dataplex.v1.Asset.DiscoveryStatus.stats: object expected");
+ message.stats = $root.google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats.fromObject(object.stats);
+ }
+ if (object.lastRunDuration != null) {
+ if (typeof object.lastRunDuration !== "object")
+ throw TypeError(".google.cloud.dataplex.v1.Asset.DiscoveryStatus.lastRunDuration: object expected");
+ message.lastRunDuration = $root.google.protobuf.Duration.fromObject(object.lastRunDuration);
+ }
+ return message;
+ };
+
+ /**
+ * Creates a plain object from a DiscoveryStatus message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.cloud.dataplex.v1.Asset.DiscoveryStatus
+ * @static
+ * @param {google.cloud.dataplex.v1.Asset.DiscoveryStatus} message DiscoveryStatus
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ DiscoveryStatus.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.defaults) {
+ object.state = options.enums === String ? "STATE_UNSPECIFIED" : 0;
+ object.message = "";
+ object.updateTime = null;
+ object.lastRunTime = null;
+ object.stats = null;
+ object.lastRunDuration = null;
+ }
+ if (message.state != null && message.hasOwnProperty("state"))
+ object.state = options.enums === String ? $root.google.cloud.dataplex.v1.Asset.DiscoveryStatus.State[message.state] : message.state;
+ if (message.message != null && message.hasOwnProperty("message"))
+ object.message = message.message;
+ if (message.updateTime != null && message.hasOwnProperty("updateTime"))
+ object.updateTime = $root.google.protobuf.Timestamp.toObject(message.updateTime, options);
+ if (message.lastRunTime != null && message.hasOwnProperty("lastRunTime"))
+ object.lastRunTime = $root.google.protobuf.Timestamp.toObject(message.lastRunTime, options);
+ if (message.stats != null && message.hasOwnProperty("stats"))
+ object.stats = $root.google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats.toObject(message.stats, options);
+ if (message.lastRunDuration != null && message.hasOwnProperty("lastRunDuration"))
+ object.lastRunDuration = $root.google.protobuf.Duration.toObject(message.lastRunDuration, options);
+ return object;
+ };
+
+ /**
+ * Converts this DiscoveryStatus to JSON.
+ * @function toJSON
+ * @memberof google.cloud.dataplex.v1.Asset.DiscoveryStatus
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ DiscoveryStatus.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for DiscoveryStatus
+ * @function getTypeUrl
+ * @memberof google.cloud.dataplex.v1.Asset.DiscoveryStatus
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ DiscoveryStatus.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.cloud.dataplex.v1.Asset.DiscoveryStatus";
+ };
+
+ /**
+ * State enum.
+ * @name google.cloud.dataplex.v1.Asset.DiscoveryStatus.State
+ * @enum {number}
+ * @property {number} STATE_UNSPECIFIED=0 STATE_UNSPECIFIED value
+ * @property {number} SCHEDULED=1 SCHEDULED value
+ * @property {number} IN_PROGRESS=2 IN_PROGRESS value
+ * @property {number} PAUSED=3 PAUSED value
+ * @property {number} DISABLED=5 DISABLED value
+ */
+ DiscoveryStatus.State = (function() {
+ var valuesById = {}, values = Object.create(valuesById);
+ values[valuesById[0] = "STATE_UNSPECIFIED"] = 0;
+ values[valuesById[1] = "SCHEDULED"] = 1;
+ values[valuesById[2] = "IN_PROGRESS"] = 2;
+ values[valuesById[3] = "PAUSED"] = 3;
+ values[valuesById[5] = "DISABLED"] = 5;
+ return values;
+ })();
+
+ DiscoveryStatus.Stats = (function() {
+
+ /**
+ * Properties of a Stats.
+ * @memberof google.cloud.dataplex.v1.Asset.DiscoveryStatus
+ * @interface IStats
+ * @property {number|Long|null} [dataItems] Stats dataItems
+ * @property {number|Long|null} [dataSize] Stats dataSize
+ * @property {number|Long|null} [tables] Stats tables
+ * @property {number|Long|null} [filesets] Stats filesets
+ */
+
+ /**
+ * Constructs a new Stats.
+ * @memberof google.cloud.dataplex.v1.Asset.DiscoveryStatus
+ * @classdesc Represents a Stats.
+ * @implements IStats
+ * @constructor
+ * @param {google.cloud.dataplex.v1.Asset.DiscoveryStatus.IStats=} [properties] Properties to set
+ */
+ function Stats(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]];
+ }
+
+ /**
+ * Stats dataItems.
+ * @member {number|Long} dataItems
+ * @memberof google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats
+ * @instance
+ */
+ Stats.prototype.dataItems = $util.Long ? $util.Long.fromBits(0,0,false) : 0;
+
+ /**
+ * Stats dataSize.
+ * @member {number|Long} dataSize
+ * @memberof google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats
+ * @instance
+ */
+ Stats.prototype.dataSize = $util.Long ? $util.Long.fromBits(0,0,false) : 0;
+
+ /**
+ * Stats tables.
+ * @member {number|Long} tables
+ * @memberof google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats
+ * @instance
+ */
+ Stats.prototype.tables = $util.Long ? $util.Long.fromBits(0,0,false) : 0;
+
+ /**
+ * Stats filesets.
+ * @member {number|Long} filesets
+ * @memberof google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats
+ * @instance
+ */
+ Stats.prototype.filesets = $util.Long ? $util.Long.fromBits(0,0,false) : 0;
+
+ /**
+ * Creates a new Stats instance using the specified properties.
+ * @function create
+ * @memberof google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats
+ * @static
+ * @param {google.cloud.dataplex.v1.Asset.DiscoveryStatus.IStats=} [properties] Properties to set
+ * @returns {google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats} Stats instance
+ */
+ Stats.create = function create(properties) {
+ return new Stats(properties);
+ };
+
+ /**
+ * Encodes the specified Stats message. Does not implicitly {@link google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats.verify|verify} messages.
+ * @function encode
+ * @memberof google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats
+ * @static
+ * @param {google.cloud.dataplex.v1.Asset.DiscoveryStatus.IStats} message Stats message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ Stats.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.dataItems != null && Object.hasOwnProperty.call(message, "dataItems"))
+ writer.uint32(/* id 1, wireType 0 =*/8).int64(message.dataItems);
+ if (message.dataSize != null && Object.hasOwnProperty.call(message, "dataSize"))
+ writer.uint32(/* id 2, wireType 0 =*/16).int64(message.dataSize);
+ if (message.tables != null && Object.hasOwnProperty.call(message, "tables"))
+ writer.uint32(/* id 3, wireType 0 =*/24).int64(message.tables);
+ if (message.filesets != null && Object.hasOwnProperty.call(message, "filesets"))
+ writer.uint32(/* id 4, wireType 0 =*/32).int64(message.filesets);
+ return writer;
+ };
+
+ /**
+ * Encodes the specified Stats message, length delimited. Does not implicitly {@link google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats
+ * @static
+ * @param {google.cloud.dataplex.v1.Asset.DiscoveryStatus.IStats} message Stats message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ Stats.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes a Stats message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats} Stats
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ Stats.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.dataplex.v1.Asset.DiscoveryStatus.Stats();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ switch (tag >>> 3) {
+ case 1: {
+ message.dataItems = reader.int64();
+ break;
+ }
+ case 2: {
+ message.dataSize = reader.int64();
+ break;
+ }
+ case 3: {
+ message.tables = reader.int64();
+ break;
+ }
+ case 4: {
+ message.filesets = reader.int64();
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes a Stats message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats} Stats
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ Stats.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies a Stats message.
+ * @function verify
+ * @memberof google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ Stats.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ if (message.dataItems != null && message.hasOwnProperty("dataItems"))
+ if (!$util.isInteger(message.dataItems) && !(message.dataItems && $util.isInteger(message.dataItems.low) && $util.isInteger(message.dataItems.high)))
+ return "dataItems: integer|Long expected";
+ if (message.dataSize != null && message.hasOwnProperty("dataSize"))
+ if (!$util.isInteger(message.dataSize) && !(message.dataSize && $util.isInteger(message.dataSize.low) && $util.isInteger(message.dataSize.high)))
+ return "dataSize: integer|Long expected";
+ if (message.tables != null && message.hasOwnProperty("tables"))
+ if (!$util.isInteger(message.tables) && !(message.tables && $util.isInteger(message.tables.low) && $util.isInteger(message.tables.high)))
+ return "tables: integer|Long expected";
+ if (message.filesets != null && message.hasOwnProperty("filesets"))
+ if (!$util.isInteger(message.filesets) && !(message.filesets && $util.isInteger(message.filesets.low) && $util.isInteger(message.filesets.high)))
+ return "filesets: integer|Long expected";
+ return null;
+ };
+
+ /**
+ * Creates a Stats message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats} Stats
+ */
+ Stats.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats)
+ return object;
+ var message = new $root.google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats();
+ if (object.dataItems != null)
+ if ($util.Long)
+ (message.dataItems = $util.Long.fromValue(object.dataItems)).unsigned = false;
+ else if (typeof object.dataItems === "string")
+ message.dataItems = parseInt(object.dataItems, 10);
+ else if (typeof object.dataItems === "number")
+ message.dataItems = object.dataItems;
+ else if (typeof object.dataItems === "object")
+ message.dataItems = new $util.LongBits(object.dataItems.low >>> 0, object.dataItems.high >>> 0).toNumber();
+ if (object.dataSize != null)
+ if ($util.Long)
+ (message.dataSize = $util.Long.fromValue(object.dataSize)).unsigned = false;
+ else if (typeof object.dataSize === "string")
+ message.dataSize = parseInt(object.dataSize, 10);
+ else if (typeof object.dataSize === "number")
+ message.dataSize = object.dataSize;
+ else if (typeof object.dataSize === "object")
+ message.dataSize = new $util.LongBits(object.dataSize.low >>> 0, object.dataSize.high >>> 0).toNumber();
+ if (object.tables != null)
+ if ($util.Long)
+ (message.tables = $util.Long.fromValue(object.tables)).unsigned = false;
+ else if (typeof object.tables === "string")
+ message.tables = parseInt(object.tables, 10);
+ else if (typeof object.tables === "number")
+ message.tables = object.tables;
+ else if (typeof object.tables === "object")
+ message.tables = new $util.LongBits(object.tables.low >>> 0, object.tables.high >>> 0).toNumber();
+ if (object.filesets != null)
+ if ($util.Long)
+ (message.filesets = $util.Long.fromValue(object.filesets)).unsigned = false;
+ else if (typeof object.filesets === "string")
+ message.filesets = parseInt(object.filesets, 10);
+ else if (typeof object.filesets === "number")
+ message.filesets = object.filesets;
+ else if (typeof object.filesets === "object")
+ message.filesets = new $util.LongBits(object.filesets.low >>> 0, object.filesets.high >>> 0).toNumber();
+ return message;
+ };
+
+ /**
+ * Creates a plain object from a Stats message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats
+ * @static
+ * @param {google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats} message Stats
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ Stats.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.defaults) {
+ if ($util.Long) {
+ var long = new $util.Long(0, 0, false);
+ object.dataItems = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
+ } else
+ object.dataItems = options.longs === String ? "0" : 0;
+ if ($util.Long) {
+ var long = new $util.Long(0, 0, false);
+ object.dataSize = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
+ } else
+ object.dataSize = options.longs === String ? "0" : 0;
+ if ($util.Long) {
+ var long = new $util.Long(0, 0, false);
+ object.tables = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
+ } else
+ object.tables = options.longs === String ? "0" : 0;
+ if ($util.Long) {
+ var long = new $util.Long(0, 0, false);
+ object.filesets = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
+ } else
+ object.filesets = options.longs === String ? "0" : 0;
+ }
+ if (message.dataItems != null && message.hasOwnProperty("dataItems"))
+ if (typeof message.dataItems === "number")
+ object.dataItems = options.longs === String ? String(message.dataItems) : message.dataItems;
+ else
+ object.dataItems = options.longs === String ? $util.Long.prototype.toString.call(message.dataItems) : options.longs === Number ? new $util.LongBits(message.dataItems.low >>> 0, message.dataItems.high >>> 0).toNumber() : message.dataItems;
+ if (message.dataSize != null && message.hasOwnProperty("dataSize"))
+ if (typeof message.dataSize === "number")
+ object.dataSize = options.longs === String ? String(message.dataSize) : message.dataSize;
+ else
+ object.dataSize = options.longs === String ? $util.Long.prototype.toString.call(message.dataSize) : options.longs === Number ? new $util.LongBits(message.dataSize.low >>> 0, message.dataSize.high >>> 0).toNumber() : message.dataSize;
+ if (message.tables != null && message.hasOwnProperty("tables"))
+ if (typeof message.tables === "number")
+ object.tables = options.longs === String ? String(message.tables) : message.tables;
+ else
+ object.tables = options.longs === String ? $util.Long.prototype.toString.call(message.tables) : options.longs === Number ? new $util.LongBits(message.tables.low >>> 0, message.tables.high >>> 0).toNumber() : message.tables;
+ if (message.filesets != null && message.hasOwnProperty("filesets"))
+ if (typeof message.filesets === "number")
+ object.filesets = options.longs === String ? String(message.filesets) : message.filesets;
+ else
+ object.filesets = options.longs === String ? $util.Long.prototype.toString.call(message.filesets) : options.longs === Number ? new $util.LongBits(message.filesets.low >>> 0, message.filesets.high >>> 0).toNumber() : message.filesets;
+ return object;
+ };
+
+ /**
+ * Converts this Stats to JSON.
+ * @function toJSON
+ * @memberof google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ Stats.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for Stats
+ * @function getTypeUrl
+ * @memberof google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ Stats.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.cloud.dataplex.v1.Asset.DiscoveryStatus.Stats";
+ };
+
+ return Stats;
+ })();
+
+ return DiscoveryStatus;
+ })();
+
+ return Asset;
+ })();
+
+ /**
+ * State enum.
+ * @name google.cloud.dataplex.v1.State
+ * @enum {number}
+ * @property {number} STATE_UNSPECIFIED=0 STATE_UNSPECIFIED value
+ * @property {number} ACTIVE=1 ACTIVE value
+ * @property {number} CREATING=2 CREATING value
+ * @property {number} DELETING=3 DELETING value
+ * @property {number} ACTION_REQUIRED=4 ACTION_REQUIRED value
+ */
+ v1.State = (function() {
+ var valuesById = {}, values = Object.create(valuesById);
+ values[valuesById[0] = "STATE_UNSPECIFIED"] = 0;
+ values[valuesById[1] = "ACTIVE"] = 1;
+ values[valuesById[2] = "CREATING"] = 2;
+ values[valuesById[3] = "DELETING"] = 3;
+ values[valuesById[4] = "ACTION_REQUIRED"] = 4;
+ return values;
+ })();
+
+ v1.ContentService = (function() {
+
+ /**
+ * Constructs a new ContentService service.
+ * @memberof google.cloud.dataplex.v1
+ * @classdesc Represents a ContentService
+ * @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 ContentService(rpcImpl, requestDelimited, responseDelimited) {
+ $protobuf.rpc.Service.call(this, rpcImpl, requestDelimited, responseDelimited);
+ }
+
+ (ContentService.prototype = Object.create($protobuf.rpc.Service.prototype)).constructor = ContentService;
+
+ /**
+ * Creates new ContentService service using the specified rpc implementation.
+ * @function create
+ * @memberof google.cloud.dataplex.v1.ContentService
+ * @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 {ContentService} RPC service. Useful where requests and/or responses are streamed.
+ */
+ ContentService.create = function create(rpcImpl, requestDelimited, responseDelimited) {
+ return new this(rpcImpl, requestDelimited, responseDelimited);
+ };
+
+ /**
+ * Callback as used by {@link google.cloud.dataplex.v1.ContentService|createContent}.
+ * @memberof google.cloud.dataplex.v1.ContentService
+ * @typedef CreateContentCallback
+ * @type {function}
+ * @param {Error|null} error Error, if any
+ * @param {google.cloud.dataplex.v1.Content} [response] Content
+ */
+
+ /**
+ * Calls CreateContent.
+ * @function createContent
+ * @memberof google.cloud.dataplex.v1.ContentService
+ * @instance
+ * @param {google.cloud.dataplex.v1.ICreateContentRequest} request CreateContentRequest message or plain object
+ * @param {google.cloud.dataplex.v1.ContentService.CreateContentCallback} callback Node-style callback called with the error, if any, and Content
+ * @returns {undefined}
+ * @variation 1
+ */
+ Object.defineProperty(ContentService.prototype.createContent = function createContent(request, callback) {
+ return this.rpcCall(createContent, $root.google.cloud.dataplex.v1.CreateContentRequest, $root.google.cloud.dataplex.v1.Content, request, callback);
+ }, "name", { value: "CreateContent" });
+
+ /**
+ * Calls CreateContent.
+ * @function createContent
+ * @memberof google.cloud.dataplex.v1.ContentService
+ * @instance
+ * @param {google.cloud.dataplex.v1.ICreateContentRequest} request CreateContentRequest message or plain object
+ * @returns {Promise} Promise
+ * @variation 2
+ */
+
+ /**
+ * Callback as used by {@link google.cloud.dataplex.v1.ContentService|updateContent}.
+ * @memberof google.cloud.dataplex.v1.ContentService
+ * @typedef UpdateContentCallback
+ * @type {function}
+ * @param {Error|null} error Error, if any
+ * @param {google.cloud.dataplex.v1.Content} [response] Content
+ */
+
+ /**
+ * Calls UpdateContent.
+ * @function updateContent
+ * @memberof google.cloud.dataplex.v1.ContentService
+ * @instance
+ * @param {google.cloud.dataplex.v1.IUpdateContentRequest} request UpdateContentRequest message or plain object
+ * @param {google.cloud.dataplex.v1.ContentService.UpdateContentCallback} callback Node-style callback called with the error, if any, and Content
+ * @returns {undefined}
+ * @variation 1
+ */
+ Object.defineProperty(ContentService.prototype.updateContent = function updateContent(request, callback) {
+ return this.rpcCall(updateContent, $root.google.cloud.dataplex.v1.UpdateContentRequest, $root.google.cloud.dataplex.v1.Content, request, callback);
+ }, "name", { value: "UpdateContent" });
+
+ /**
+ * Calls UpdateContent.
+ * @function updateContent
+ * @memberof google.cloud.dataplex.v1.ContentService
+ * @instance
+ * @param {google.cloud.dataplex.v1.IUpdateContentRequest} request UpdateContentRequest message or plain object
+ * @returns {Promise