diff --git a/owl-bot-staging/dlp/v2/.OwlBot.yaml b/owl-bot-staging/dlp/v2/.OwlBot.yaml
new file mode 100644
index 000000000..ec5105fb1
--- /dev/null
+++ b/owl-bot-staging/dlp/v2/.OwlBot.yaml
@@ -0,0 +1,19 @@
+# Copyright 2025 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-copy-regex:
+ - source: /google/privacy/dlp/google-privacy-dlp-nodejs
+ dest: /owl-bot-staging/google-privacy-dlp
+
+api-name: dlp
\ No newline at end of file
diff --git a/owl-bot-staging/dlp/v2/.eslintignore b/owl-bot-staging/dlp/v2/.eslintignore
new file mode 100644
index 000000000..cfc348ec4
--- /dev/null
+++ b/owl-bot-staging/dlp/v2/.eslintignore
@@ -0,0 +1,7 @@
+**/node_modules
+**/.coverage
+build/
+docs/
+protos/
+system-test/
+samples/generated/
diff --git a/owl-bot-staging/dlp/v2/.eslintrc.json b/owl-bot-staging/dlp/v2/.eslintrc.json
new file mode 100644
index 000000000..782153495
--- /dev/null
+++ b/owl-bot-staging/dlp/v2/.eslintrc.json
@@ -0,0 +1,3 @@
+{
+ "extends": "./node_modules/gts"
+}
diff --git a/owl-bot-staging/dlp/v2/.gitattributes b/owl-bot-staging/dlp/v2/.gitattributes
new file mode 100644
index 000000000..33739cb74
--- /dev/null
+++ b/owl-bot-staging/dlp/v2/.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/owl-bot-staging/dlp/v2/.gitignore b/owl-bot-staging/dlp/v2/.gitignore
new file mode 100644
index 000000000..d4f03a0df
--- /dev/null
+++ b/owl-bot-staging/dlp/v2/.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/owl-bot-staging/dlp/v2/.jsdoc.js b/owl-bot-staging/dlp/v2/.jsdoc.js
new file mode 100644
index 000000000..ce33171f6
--- /dev/null
+++ b/owl-bot-staging/dlp/v2/.jsdoc.js
@@ -0,0 +1,55 @@
+// Copyright 2026 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 2026 Google LLC',
+ includeDate: false,
+ sourceFiles: false,
+ systemName: '@google-cloud/dlp',
+ theme: 'lumen',
+ default: {
+ outputSourceFiles: false
+ }
+ },
+ markdown: {
+ idInHeadings: true
+ }
+};
diff --git a/owl-bot-staging/dlp/v2/.mocharc.js b/owl-bot-staging/dlp/v2/.mocharc.js
new file mode 100644
index 000000000..5eb34e86c
--- /dev/null
+++ b/owl-bot-staging/dlp/v2/.mocharc.js
@@ -0,0 +1,33 @@
+// Copyright 2026 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. **
+
+const config = {
+ "enable-source-maps": true,
+ "throw-deprecation": true,
+ "timeout": 10000
+}
+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/owl-bot-staging/dlp/v2/.nycrc b/owl-bot-staging/dlp/v2/.nycrc
new file mode 100644
index 000000000..81a95fc94
--- /dev/null
+++ b/owl-bot-staging/dlp/v2/.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
+}
\ No newline at end of file
diff --git a/owl-bot-staging/dlp/v2/.prettierignore b/owl-bot-staging/dlp/v2/.prettierignore
new file mode 100644
index 000000000..9340ad9b8
--- /dev/null
+++ b/owl-bot-staging/dlp/v2/.prettierignore
@@ -0,0 +1,6 @@
+**/node_modules
+**/coverage
+test/fixtures
+build/
+docs/
+protos/
diff --git a/owl-bot-staging/dlp/v2/.prettierrc.js b/owl-bot-staging/dlp/v2/.prettierrc.js
new file mode 100644
index 000000000..7649ee3c2
--- /dev/null
+++ b/owl-bot-staging/dlp/v2/.prettierrc.js
@@ -0,0 +1,22 @@
+// Copyright 2026 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. **
+
+
+module.exports = {
+ ...require('gts/.prettierrc.json')
+}
diff --git a/owl-bot-staging/dlp/v2/CODE_OF_CONDUCT.md b/owl-bot-staging/dlp/v2/CODE_OF_CONDUCT.md
new file mode 100644
index 000000000..2add2547a
--- /dev/null
+++ b/owl-bot-staging/dlp/v2/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/owl-bot-staging/dlp/v2/CONTRIBUTING.md b/owl-bot-staging/dlp/v2/CONTRIBUTING.md
new file mode 100644
index 000000000..b48f952a3
--- /dev/null
+++ b/owl-bot-staging/dlp/v2/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 Dlp 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=dlp.googleapis.com
+[auth]: https://cloud.google.com/docs/authentication/getting-started
\ No newline at end of file
diff --git a/owl-bot-staging/dlp/v2/LICENSE b/owl-bot-staging/dlp/v2/LICENSE
new file mode 100644
index 000000000..d64569567
--- /dev/null
+++ b/owl-bot-staging/dlp/v2/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/owl-bot-staging/dlp/v2/README.md b/owl-bot-staging/dlp/v2/README.md
new file mode 100644
index 000000000..18fdbc400
--- /dev/null
+++ b/owl-bot-staging/dlp/v2/README.md
@@ -0,0 +1,108 @@
+[//]: # "This README.md file is auto-generated, all changes to this file will be lost."
+[//]: # "The comments you see below are used to generate those parts of the template in later states."
+
+
+# [Sensitive Data Protection (DLP): Nodejs Client][homepage]
+
+[//]: # "releaseLevel"
+
+[](https://www.npmjs.org/package/@google-cloud/dlp)
+
+Sensitive Data Protection (DLP) client for Node.js
+
+[//]: # "partials.introduction"
+
+A comprehensive list of changes in each version may be found in
+[the CHANGELOG][homepage_changelog].
+
+* [Sensitive Data Protection (DLP) Nodejs Client API Reference](https://cloud.google.com/nodejs/docs/reference/dlp/latest)
+
+
+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)
+
+* [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 Sensitive Data Protection (DLP) API][enable_api].
+1. [Set up authentication][auth] so you can access the
+ API from your local workstation.
+### Installing the client library
+
+```bash
+npm install @google-cloud/dlp
+```
+
+[//]: # "partials.body"
+
+## Samples
+
+Samples are in the [`samples/`][homepage_samples] directory. Each sample's `README.md` has instructions for running its sample.
+
+[//]: # "samples"
+
+## Supported Node.js Versions
+
+Our client libraries follow the [Node.js release schedule](https://github.com/nodejs/release#release-schedule).
+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/dlp@legacy-8` installs client libraries
+for versions compatible with Node.js 8.
+
+## Versioning
+
+This library follows [Semantic Versioning](http://semver.org/).
+
+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/packages/google-privacy-dlp/CONTRIBUTING.md).
+
+Please note that this `README.md`
+and a variety of configuration files in this repository (including `.nycrc` and `tsconfig.json`)
+are generated from a central template.
+
+## License
+
+Apache Version 2.0
+
+See [LICENSE](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-privacy-dlp/LICENSE)
+
+[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=dlp.googleapis.com
+[auth]: https://cloud.google.com/docs/authentication/external/set-up-adc-local
+[homepage_samples]: https://github.com/googleapis/google-cloud-node/blob/main/packages/google-privacy-dlp/samples
+[homepage_changelog]: https://github.com/googleapis/google-cloud-node/blob/main/packages/google-privacy-dlp/CHANGELOG.md
+[homepage]: https://github.com/googleapis/google-cloud-node/blob/main/packages/google-privacy-dlp
diff --git a/owl-bot-staging/dlp/v2/package.json b/owl-bot-staging/dlp/v2/package.json
new file mode 100644
index 000000000..36b9351a9
--- /dev/null
+++ b/owl-bot-staging/dlp/v2/package.json
@@ -0,0 +1,58 @@
+{
+ "name": "@google-cloud/dlp",
+ "version": "0.1.0",
+ "description": "Dlp client for Node.js",
+ "repository": "googleapis/nodejs-dlp",
+ "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 dlp",
+ "dlp",
+ "dlp service"
+ ],
+ "scripts": {
+ "clean": "gts clean",
+ "compile": "tsc -p . && cp -r protos build/ && minifyProtoJson",
+ "compile-protos": "compileProtos src",
+ "docs": "jsdoc -c .jsdoc.js",
+ "fix": "gts fix",
+ "lint": "gts check",
+ "prepare": "npm run compile-protos && npm run compile",
+ "system-test": "c8 mocha build/system-test",
+ "test": "c8 mocha build/test"
+ },
+ "dependencies": {
+ "google-gax": "^5.1.1-rc.1"
+ },
+ "devDependencies": {
+ "@types/mocha": "^10.0.10",
+ "@types/node": "^22.18.12",
+ "@types/sinon": "^17.0.4",
+ "c8": "^10.1.3",
+ "gapic-tools": "^1.0.3",
+ "gts": "^6.0.2",
+ "jsdoc": "^4.0.5",
+ "jsdoc-fresh": "^5.0.2",
+ "jsdoc-region-tag": "^4.0.1",
+ "mocha": "^11.7.4",
+ "pack-n-play": "^4.2.1",
+ "typescript": "5.8.3",
+ "sinon": "^21.0.0"
+ },
+ "engines": {
+ "node": ">=v18"
+ }
+}
diff --git a/owl-bot-staging/dlp/v2/protos/google/privacy/dlp/v2/dlp.proto b/owl-bot-staging/dlp/v2/protos/google/privacy/dlp/v2/dlp.proto
new file mode 100644
index 000000000..dd98d7ce7
--- /dev/null
+++ b/owl-bot-staging/dlp/v2/protos/google/privacy/dlp/v2/dlp.proto
@@ -0,0 +1,8947 @@
+// Copyright 2025 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.privacy.dlp.v2;
+
+import "google/api/annotations.proto";
+import "google/api/client.proto";
+import "google/api/field_behavior.proto";
+import "google/api/resource.proto";
+import "google/privacy/dlp/v2/storage.proto";
+import "google/protobuf/duration.proto";
+import "google/protobuf/empty.proto";
+import "google/protobuf/field_mask.proto";
+import "google/protobuf/timestamp.proto";
+import "google/rpc/status.proto";
+import "google/type/date.proto";
+import "google/type/dayofweek.proto";
+import "google/type/timeofday.proto";
+
+option csharp_namespace = "Google.Cloud.Dlp.V2";
+option go_package = "cloud.google.com/go/dlp/apiv2/dlppb;dlppb";
+option java_multiple_files = true;
+option java_outer_classname = "DlpProto";
+option java_package = "com.google.privacy.dlp.v2";
+option php_namespace = "Google\\Cloud\\Dlp\\V2";
+option ruby_package = "Google::Cloud::Dlp::V2";
+option (google.api.resource_definition) = {
+ type: "dlp.googleapis.com/DlpContent"
+ pattern: "projects/{project}/dlpContent"
+ pattern: "projects/{project}/locations/{location}/dlpContent"
+};
+option (google.api.resource_definition) = {
+ type: "dlp.googleapis.com/OrganizationLocation"
+ pattern: "organizations/{organization}/locations/{location}"
+};
+
+// Sensitive Data Protection provides access to a powerful sensitive data
+// inspection, classification, and de-identification platform that works
+// on text, images, and Google Cloud storage repositories.
+// To learn more about concepts and find how-to guides see
+// https://cloud.google.com/sensitive-data-protection/docs/.
+service DlpService {
+ option (google.api.default_host) = "dlp.googleapis.com";
+ option (google.api.oauth_scopes) =
+ "https://www.googleapis.com/auth/cloud-platform";
+
+ // Finds potentially sensitive info in content.
+ // This method has limits on input size, processing time, and output size.
+ //
+ // When no InfoTypes or CustomInfoTypes are specified in this request, the
+ // system will automatically choose what detectors to run. By default this may
+ // be all types, but may change over time as detectors are updated.
+ //
+ // For how to guides, see
+ // https://cloud.google.com/sensitive-data-protection/docs/inspecting-images
+ // and
+ // https://cloud.google.com/sensitive-data-protection/docs/inspecting-text,
+ rpc InspectContent(InspectContentRequest) returns (InspectContentResponse) {
+ option (google.api.http) = {
+ post: "/v2/{parent=projects/*}/content:inspect"
+ body: "*"
+ additional_bindings {
+ post: "/v2/{parent=projects/*/locations/*}/content:inspect"
+ body: "*"
+ }
+ };
+ }
+
+ // Redacts potentially sensitive info from an image.
+ // This method has limits on input size, processing time, and output size.
+ // See
+ // https://cloud.google.com/sensitive-data-protection/docs/redacting-sensitive-data-images
+ // to learn more.
+ //
+ // When no InfoTypes or CustomInfoTypes are specified in this request, the
+ // system will automatically choose what detectors to run. By default this may
+ // be all types, but may change over time as detectors are updated.
+ //
+ // Only the first frame of each multiframe image is redacted. Metadata and
+ // other frames are omitted in the response.
+ rpc RedactImage(RedactImageRequest) returns (RedactImageResponse) {
+ option (google.api.http) = {
+ post: "/v2/{parent=projects/*}/image:redact"
+ body: "*"
+ additional_bindings {
+ post: "/v2/{parent=projects/*/locations/*}/image:redact"
+ body: "*"
+ }
+ };
+ }
+
+ // De-identifies potentially sensitive info from a ContentItem.
+ // This method has limits on input size and output size.
+ // See
+ // https://cloud.google.com/sensitive-data-protection/docs/deidentify-sensitive-data
+ // to learn more.
+ //
+ // When no InfoTypes or CustomInfoTypes are specified in this request, the
+ // system will automatically choose what detectors to run. By default this may
+ // be all types, but may change over time as detectors are updated.
+ rpc DeidentifyContent(DeidentifyContentRequest)
+ returns (DeidentifyContentResponse) {
+ option (google.api.http) = {
+ post: "/v2/{parent=projects/*}/content:deidentify"
+ body: "*"
+ additional_bindings {
+ post: "/v2/{parent=projects/*/locations/*}/content:deidentify"
+ body: "*"
+ }
+ };
+ }
+
+ // Re-identifies content that has been de-identified.
+ // See
+ // https://cloud.google.com/sensitive-data-protection/docs/pseudonymization#re-identification_in_free_text_code_example
+ // to learn more.
+ rpc ReidentifyContent(ReidentifyContentRequest)
+ returns (ReidentifyContentResponse) {
+ option (google.api.http) = {
+ post: "/v2/{parent=projects/*}/content:reidentify"
+ body: "*"
+ additional_bindings {
+ post: "/v2/{parent=projects/*/locations/*}/content:reidentify"
+ body: "*"
+ }
+ };
+ }
+
+ // Returns a list of the sensitive information types that the DLP API
+ // supports. See
+ // https://cloud.google.com/sensitive-data-protection/docs/infotypes-reference
+ // to learn more.
+ rpc ListInfoTypes(ListInfoTypesRequest) returns (ListInfoTypesResponse) {
+ option (google.api.http) = {
+ get: "/v2/infoTypes"
+ additional_bindings { get: "/v2/{parent=locations/*}/infoTypes" }
+ additional_bindings {
+ get: "/v2/{parent=projects/*/locations/*}/infoTypes"
+ }
+ additional_bindings {
+ get: "/v2/{parent=organizations/*/locations/*}/infoTypes"
+ }
+ };
+ option (google.api.method_signature) = "parent";
+ }
+
+ // Creates an InspectTemplate for reusing frequently used configuration
+ // for inspecting content, images, and storage.
+ // See
+ // https://cloud.google.com/sensitive-data-protection/docs/creating-templates
+ // to learn more.
+ rpc CreateInspectTemplate(CreateInspectTemplateRequest)
+ returns (InspectTemplate) {
+ option (google.api.http) = {
+ post: "/v2/{parent=projects/*/locations/*}/inspectTemplates"
+ body: "*"
+ additional_bindings {
+ post: "/v2/{parent=organizations/*/locations/*}/inspectTemplates"
+ body: "*"
+ }
+ additional_bindings {
+ post: "/v2/{parent=projects/*}/inspectTemplates"
+ body: "*"
+ }
+ additional_bindings {
+ post: "/v2/{parent=organizations/*}/inspectTemplates"
+ body: "*"
+ }
+ };
+ option (google.api.method_signature) = "parent,inspect_template";
+ }
+
+ // Updates the InspectTemplate.
+ // See
+ // https://cloud.google.com/sensitive-data-protection/docs/creating-templates
+ // to learn more.
+ rpc UpdateInspectTemplate(UpdateInspectTemplateRequest)
+ returns (InspectTemplate) {
+ option (google.api.http) = {
+ patch: "/v2/{name=projects/*/locations/*/inspectTemplates/*}"
+ body: "*"
+ additional_bindings {
+ patch: "/v2/{name=organizations/*/locations/*/inspectTemplates/*}"
+ body: "*"
+ }
+ additional_bindings {
+ patch: "/v2/{name=projects/*/inspectTemplates/*}"
+ body: "*"
+ }
+ additional_bindings {
+ patch: "/v2/{name=organizations/*/inspectTemplates/*}"
+ body: "*"
+ }
+ };
+ option (google.api.method_signature) = "name,inspect_template,update_mask";
+ }
+
+ // Gets an InspectTemplate.
+ // See
+ // https://cloud.google.com/sensitive-data-protection/docs/creating-templates
+ // to learn more.
+ rpc GetInspectTemplate(GetInspectTemplateRequest) returns (InspectTemplate) {
+ option (google.api.http) = {
+ get: "/v2/{name=projects/*/locations/*/inspectTemplates/*}"
+ additional_bindings {
+ get: "/v2/{name=organizations/*/locations/*/inspectTemplates/*}"
+ }
+ additional_bindings { get: "/v2/{name=projects/*/inspectTemplates/*}" }
+ additional_bindings {
+ get: "/v2/{name=organizations/*/inspectTemplates/*}"
+ }
+ };
+ option (google.api.method_signature) = "name";
+ }
+
+ // Lists InspectTemplates.
+ // See
+ // https://cloud.google.com/sensitive-data-protection/docs/creating-templates
+ // to learn more.
+ rpc ListInspectTemplates(ListInspectTemplatesRequest)
+ returns (ListInspectTemplatesResponse) {
+ option (google.api.http) = {
+ get: "/v2/{parent=projects/*/locations/*}/inspectTemplates"
+ additional_bindings {
+ get: "/v2/{parent=organizations/*/locations/*}/inspectTemplates"
+ }
+ additional_bindings { get: "/v2/{parent=projects/*}/inspectTemplates" }
+ additional_bindings {
+ get: "/v2/{parent=organizations/*}/inspectTemplates"
+ }
+ };
+ option (google.api.method_signature) = "parent";
+ }
+
+ // Deletes an InspectTemplate.
+ // See
+ // https://cloud.google.com/sensitive-data-protection/docs/creating-templates
+ // to learn more.
+ rpc DeleteInspectTemplate(DeleteInspectTemplateRequest)
+ returns (google.protobuf.Empty) {
+ option (google.api.http) = {
+ delete: "/v2/{name=projects/*/locations/*/inspectTemplates/*}"
+ additional_bindings {
+ delete: "/v2/{name=organizations/*/locations/*/inspectTemplates/*}"
+ }
+ additional_bindings { delete: "/v2/{name=projects/*/inspectTemplates/*}" }
+ additional_bindings {
+ delete: "/v2/{name=organizations/*/inspectTemplates/*}"
+ }
+ };
+ option (google.api.method_signature) = "name";
+ }
+
+ // Creates a DeidentifyTemplate for reusing frequently used configuration
+ // for de-identifying content, images, and storage.
+ // See
+ // https://cloud.google.com/sensitive-data-protection/docs/creating-templates-deid
+ // to learn more.
+ rpc CreateDeidentifyTemplate(CreateDeidentifyTemplateRequest)
+ returns (DeidentifyTemplate) {
+ option (google.api.http) = {
+ post: "/v2/{parent=organizations/*}/deidentifyTemplates"
+ body: "*"
+ additional_bindings {
+ post: "/v2/{parent=organizations/*/locations/*}/deidentifyTemplates"
+ body: "*"
+ }
+ additional_bindings {
+ post: "/v2/{parent=projects/*}/deidentifyTemplates"
+ body: "*"
+ }
+ additional_bindings {
+ post: "/v2/{parent=projects/*/locations/*}/deidentifyTemplates"
+ body: "*"
+ }
+ };
+ option (google.api.method_signature) = "parent,deidentify_template";
+ }
+
+ // Updates the DeidentifyTemplate.
+ // See
+ // https://cloud.google.com/sensitive-data-protection/docs/creating-templates-deid
+ // to learn more.
+ rpc UpdateDeidentifyTemplate(UpdateDeidentifyTemplateRequest)
+ returns (DeidentifyTemplate) {
+ option (google.api.http) = {
+ patch: "/v2/{name=organizations/*/deidentifyTemplates/*}"
+ body: "*"
+ additional_bindings {
+ patch: "/v2/{name=organizations/*/locations/*/deidentifyTemplates/*}"
+ body: "*"
+ }
+ additional_bindings {
+ patch: "/v2/{name=projects/*/deidentifyTemplates/*}"
+ body: "*"
+ }
+ additional_bindings {
+ patch: "/v2/{name=projects/*/locations/*/deidentifyTemplates/*}"
+ body: "*"
+ }
+ };
+ option (google.api.method_signature) =
+ "name,deidentify_template,update_mask";
+ }
+
+ // Gets a DeidentifyTemplate.
+ // See
+ // https://cloud.google.com/sensitive-data-protection/docs/creating-templates-deid
+ // to learn more.
+ rpc GetDeidentifyTemplate(GetDeidentifyTemplateRequest)
+ returns (DeidentifyTemplate) {
+ option (google.api.http) = {
+ get: "/v2/{name=organizations/*/deidentifyTemplates/*}"
+ additional_bindings {
+ get: "/v2/{name=organizations/*/locations/*/deidentifyTemplates/*}"
+ }
+ additional_bindings { get: "/v2/{name=projects/*/deidentifyTemplates/*}" }
+ additional_bindings {
+ get: "/v2/{name=projects/*/locations/*/deidentifyTemplates/*}"
+ }
+ };
+ option (google.api.method_signature) = "name";
+ }
+
+ // Lists DeidentifyTemplates.
+ // See
+ // https://cloud.google.com/sensitive-data-protection/docs/creating-templates-deid
+ // to learn more.
+ rpc ListDeidentifyTemplates(ListDeidentifyTemplatesRequest)
+ returns (ListDeidentifyTemplatesResponse) {
+ option (google.api.http) = {
+ get: "/v2/{parent=organizations/*}/deidentifyTemplates"
+ additional_bindings {
+ get: "/v2/{parent=organizations/*/locations/*}/deidentifyTemplates"
+ }
+ additional_bindings { get: "/v2/{parent=projects/*}/deidentifyTemplates" }
+ additional_bindings {
+ get: "/v2/{parent=projects/*/locations/*}/deidentifyTemplates"
+ }
+ };
+ option (google.api.method_signature) = "parent";
+ }
+
+ // Deletes a DeidentifyTemplate.
+ // See
+ // https://cloud.google.com/sensitive-data-protection/docs/creating-templates-deid
+ // to learn more.
+ rpc DeleteDeidentifyTemplate(DeleteDeidentifyTemplateRequest)
+ returns (google.protobuf.Empty) {
+ option (google.api.http) = {
+ delete: "/v2/{name=organizations/*/deidentifyTemplates/*}"
+ additional_bindings {
+ delete: "/v2/{name=organizations/*/locations/*/deidentifyTemplates/*}"
+ }
+ additional_bindings {
+ delete: "/v2/{name=projects/*/deidentifyTemplates/*}"
+ }
+ additional_bindings {
+ delete: "/v2/{name=projects/*/locations/*/deidentifyTemplates/*}"
+ }
+ };
+ option (google.api.method_signature) = "name";
+ }
+
+ // Creates a job trigger to run DLP actions such as scanning storage for
+ // sensitive information on a set schedule.
+ // See
+ // https://cloud.google.com/sensitive-data-protection/docs/creating-job-triggers
+ // to learn more.
+ rpc CreateJobTrigger(CreateJobTriggerRequest) returns (JobTrigger) {
+ option (google.api.http) = {
+ post: "/v2/{parent=projects/*}/jobTriggers"
+ body: "*"
+ additional_bindings {
+ post: "/v2/{parent=projects/*/locations/*}/jobTriggers"
+ body: "*"
+ }
+ additional_bindings {
+ post: "/v2/{parent=organizations/*/locations/*}/jobTriggers"
+ body: "*"
+ }
+ };
+ option (google.api.method_signature) = "parent,job_trigger";
+ }
+
+ // Updates a job trigger.
+ // See
+ // https://cloud.google.com/sensitive-data-protection/docs/creating-job-triggers
+ // to learn more.
+ rpc UpdateJobTrigger(UpdateJobTriggerRequest) returns (JobTrigger) {
+ option (google.api.http) = {
+ patch: "/v2/{name=projects/*/jobTriggers/*}"
+ body: "*"
+ additional_bindings {
+ patch: "/v2/{name=projects/*/locations/*/jobTriggers/*}"
+ body: "*"
+ }
+ additional_bindings {
+ patch: "/v2/{name=organizations/*/locations/*/jobTriggers/*}"
+ body: "*"
+ }
+ };
+ option (google.api.method_signature) = "name,job_trigger,update_mask";
+ }
+
+ // Inspect hybrid content and store findings to a trigger. The inspection
+ // will be processed asynchronously. To review the findings monitor the
+ // jobs within the trigger.
+ rpc HybridInspectJobTrigger(HybridInspectJobTriggerRequest)
+ returns (HybridInspectResponse) {
+ option (google.api.http) = {
+ post: "/v2/{name=projects/*/locations/*/jobTriggers/*}:hybridInspect"
+ body: "*"
+ };
+ option (google.api.method_signature) = "name";
+ }
+
+ // Gets a job trigger.
+ // See
+ // https://cloud.google.com/sensitive-data-protection/docs/creating-job-triggers
+ // to learn more.
+ rpc GetJobTrigger(GetJobTriggerRequest) returns (JobTrigger) {
+ option (google.api.http) = {
+ get: "/v2/{name=projects/*/jobTriggers/*}"
+ additional_bindings {
+ get: "/v2/{name=projects/*/locations/*/jobTriggers/*}"
+ }
+ additional_bindings {
+ get: "/v2/{name=organizations/*/locations/*/jobTriggers/*}"
+ }
+ };
+ option (google.api.method_signature) = "name";
+ }
+
+ // Lists job triggers.
+ // See
+ // https://cloud.google.com/sensitive-data-protection/docs/creating-job-triggers
+ // to learn more.
+ rpc ListJobTriggers(ListJobTriggersRequest)
+ returns (ListJobTriggersResponse) {
+ option (google.api.http) = {
+ get: "/v2/{parent=projects/*}/jobTriggers"
+ additional_bindings {
+ get: "/v2/{parent=projects/*/locations/*}/jobTriggers"
+ }
+ additional_bindings {
+ get: "/v2/{parent=organizations/*/locations/*}/jobTriggers"
+ }
+ };
+ option (google.api.method_signature) = "parent";
+ }
+
+ // Deletes a job trigger.
+ // See
+ // https://cloud.google.com/sensitive-data-protection/docs/creating-job-triggers
+ // to learn more.
+ rpc DeleteJobTrigger(DeleteJobTriggerRequest)
+ returns (google.protobuf.Empty) {
+ option (google.api.http) = {
+ delete: "/v2/{name=projects/*/jobTriggers/*}"
+ additional_bindings {
+ delete: "/v2/{name=projects/*/locations/*/jobTriggers/*}"
+ }
+ additional_bindings {
+ delete: "/v2/{name=organizations/*/locations/*/jobTriggers/*}"
+ }
+ };
+ option (google.api.method_signature) = "name";
+ }
+
+ // Activate a job trigger. Causes the immediate execute of a trigger
+ // instead of waiting on the trigger event to occur.
+ rpc ActivateJobTrigger(ActivateJobTriggerRequest) returns (DlpJob) {
+ option (google.api.http) = {
+ post: "/v2/{name=projects/*/jobTriggers/*}:activate"
+ body: "*"
+ additional_bindings {
+ post: "/v2/{name=projects/*/locations/*/jobTriggers/*}:activate"
+ body: "*"
+ }
+ };
+ }
+
+ // Creates a config for discovery to scan and profile storage.
+ rpc CreateDiscoveryConfig(CreateDiscoveryConfigRequest)
+ returns (DiscoveryConfig) {
+ option (google.api.http) = {
+ post: "/v2/{parent=projects/*/locations/*}/discoveryConfigs"
+ body: "*"
+ additional_bindings {
+ post: "/v2/{parent=organizations/*/locations/*}/discoveryConfigs"
+ body: "*"
+ }
+ };
+ option (google.api.method_signature) = "parent,discovery_config";
+ }
+
+ // Updates a discovery configuration.
+ rpc UpdateDiscoveryConfig(UpdateDiscoveryConfigRequest)
+ returns (DiscoveryConfig) {
+ option (google.api.http) = {
+ patch: "/v2/{name=projects/*/locations/*/discoveryConfigs/*}"
+ body: "*"
+ additional_bindings {
+ patch: "/v2/{name=organizations/*/locations/*/discoveryConfigs/*}"
+ body: "*"
+ }
+ };
+ option (google.api.method_signature) = "name,discovery_config,update_mask";
+ }
+
+ // Gets a discovery configuration.
+ rpc GetDiscoveryConfig(GetDiscoveryConfigRequest) returns (DiscoveryConfig) {
+ option (google.api.http) = {
+ get: "/v2/{name=projects/*/locations/*/discoveryConfigs/*}"
+ additional_bindings {
+ get: "/v2/{name=organizations/*/locations/*/discoveryConfigs/*}"
+ }
+ };
+ option (google.api.method_signature) = "name";
+ }
+
+ // Lists discovery configurations.
+ rpc ListDiscoveryConfigs(ListDiscoveryConfigsRequest)
+ returns (ListDiscoveryConfigsResponse) {
+ option (google.api.http) = {
+ get: "/v2/{parent=projects/*/locations/*}/discoveryConfigs"
+ additional_bindings {
+ get: "/v2/{parent=organizations/*/locations/*}/discoveryConfigs"
+ }
+ };
+ option (google.api.method_signature) = "parent";
+ }
+
+ // Deletes a discovery configuration.
+ rpc DeleteDiscoveryConfig(DeleteDiscoveryConfigRequest)
+ returns (google.protobuf.Empty) {
+ option (google.api.http) = {
+ delete: "/v2/{name=projects/*/locations/*/discoveryConfigs/*}"
+ additional_bindings {
+ delete: "/v2/{name=organizations/*/locations/*/discoveryConfigs/*}"
+ }
+ };
+ option (google.api.method_signature) = "name";
+ }
+
+ // Creates a new job to inspect storage or calculate risk metrics.
+ // See
+ // https://cloud.google.com/sensitive-data-protection/docs/inspecting-storage
+ // and
+ // https://cloud.google.com/sensitive-data-protection/docs/compute-risk-analysis
+ // to learn more.
+ //
+ // When no InfoTypes or CustomInfoTypes are specified in inspect jobs, the
+ // system will automatically choose what detectors to run. By default this may
+ // be all types, but may change over time as detectors are updated.
+ rpc CreateDlpJob(CreateDlpJobRequest) returns (DlpJob) {
+ option (google.api.http) = {
+ post: "/v2/{parent=projects/*}/dlpJobs"
+ body: "*"
+ additional_bindings {
+ post: "/v2/{parent=projects/*/locations/*}/dlpJobs"
+ body: "*"
+ }
+ };
+ option (google.api.method_signature) = "parent,inspect_job";
+ option (google.api.method_signature) = "parent,risk_job";
+ }
+
+ // Lists DlpJobs that match the specified filter in the request.
+ // See
+ // https://cloud.google.com/sensitive-data-protection/docs/inspecting-storage
+ // and
+ // https://cloud.google.com/sensitive-data-protection/docs/compute-risk-analysis
+ // to learn more.
+ rpc ListDlpJobs(ListDlpJobsRequest) returns (ListDlpJobsResponse) {
+ option (google.api.http) = {
+ get: "/v2/{parent=projects/*}/dlpJobs"
+ additional_bindings { get: "/v2/{parent=projects/*/locations/*}/dlpJobs" }
+ additional_bindings {
+ get: "/v2/{parent=organizations/*/locations/*}/dlpJobs"
+ }
+ };
+ option (google.api.method_signature) = "parent";
+ }
+
+ // Gets the latest state of a long-running DlpJob.
+ // See
+ // https://cloud.google.com/sensitive-data-protection/docs/inspecting-storage
+ // and
+ // https://cloud.google.com/sensitive-data-protection/docs/compute-risk-analysis
+ // to learn more.
+ rpc GetDlpJob(GetDlpJobRequest) returns (DlpJob) {
+ option (google.api.http) = {
+ get: "/v2/{name=projects/*/dlpJobs/*}"
+ additional_bindings { get: "/v2/{name=projects/*/locations/*/dlpJobs/*}" }
+ };
+ option (google.api.method_signature) = "name";
+ }
+
+ // Deletes a long-running DlpJob. This method indicates that the client is
+ // no longer interested in the DlpJob result. The job will be canceled if
+ // possible.
+ // See
+ // https://cloud.google.com/sensitive-data-protection/docs/inspecting-storage
+ // and
+ // https://cloud.google.com/sensitive-data-protection/docs/compute-risk-analysis
+ // to learn more.
+ rpc DeleteDlpJob(DeleteDlpJobRequest) returns (google.protobuf.Empty) {
+ option (google.api.http) = {
+ delete: "/v2/{name=projects/*/dlpJobs/*}"
+ additional_bindings {
+ delete: "/v2/{name=projects/*/locations/*/dlpJobs/*}"
+ }
+ };
+ option (google.api.method_signature) = "name";
+ }
+
+ // Starts asynchronous cancellation on a long-running DlpJob. The server
+ // makes a best effort to cancel the DlpJob, but success is not
+ // guaranteed.
+ // See
+ // https://cloud.google.com/sensitive-data-protection/docs/inspecting-storage
+ // and
+ // https://cloud.google.com/sensitive-data-protection/docs/compute-risk-analysis
+ // to learn more.
+ rpc CancelDlpJob(CancelDlpJobRequest) returns (google.protobuf.Empty) {
+ option (google.api.http) = {
+ post: "/v2/{name=projects/*/dlpJobs/*}:cancel"
+ body: "*"
+ additional_bindings {
+ post: "/v2/{name=projects/*/locations/*/dlpJobs/*}:cancel"
+ body: "*"
+ }
+ };
+ }
+
+ // Creates a pre-built stored infoType to be used for inspection.
+ // See
+ // https://cloud.google.com/sensitive-data-protection/docs/creating-stored-infotypes
+ // to learn more.
+ rpc CreateStoredInfoType(CreateStoredInfoTypeRequest)
+ returns (StoredInfoType) {
+ option (google.api.http) = {
+ post: "/v2/{parent=organizations/*}/storedInfoTypes"
+ body: "*"
+ additional_bindings {
+ post: "/v2/{parent=organizations/*/locations/*}/storedInfoTypes"
+ body: "*"
+ }
+ additional_bindings {
+ post: "/v2/{parent=projects/*}/storedInfoTypes"
+ body: "*"
+ }
+ additional_bindings {
+ post: "/v2/{parent=projects/*/locations/*}/storedInfoTypes"
+ body: "*"
+ }
+ };
+ option (google.api.method_signature) = "parent,config";
+ }
+
+ // Updates the stored infoType by creating a new version. The existing version
+ // will continue to be used until the new version is ready.
+ // See
+ // https://cloud.google.com/sensitive-data-protection/docs/creating-stored-infotypes
+ // to learn more.
+ rpc UpdateStoredInfoType(UpdateStoredInfoTypeRequest)
+ returns (StoredInfoType) {
+ option (google.api.http) = {
+ patch: "/v2/{name=organizations/*/storedInfoTypes/*}"
+ body: "*"
+ additional_bindings {
+ patch: "/v2/{name=organizations/*/locations/*/storedInfoTypes/*}"
+ body: "*"
+ }
+ additional_bindings {
+ patch: "/v2/{name=projects/*/storedInfoTypes/*}"
+ body: "*"
+ }
+ additional_bindings {
+ patch: "/v2/{name=projects/*/locations/*/storedInfoTypes/*}"
+ body: "*"
+ }
+ };
+ option (google.api.method_signature) = "name,config,update_mask";
+ }
+
+ // Gets a stored infoType.
+ // See
+ // https://cloud.google.com/sensitive-data-protection/docs/creating-stored-infotypes
+ // to learn more.
+ rpc GetStoredInfoType(GetStoredInfoTypeRequest) returns (StoredInfoType) {
+ option (google.api.http) = {
+ get: "/v2/{name=organizations/*/storedInfoTypes/*}"
+ additional_bindings {
+ get: "/v2/{name=organizations/*/locations/*/storedInfoTypes/*}"
+ }
+ additional_bindings { get: "/v2/{name=projects/*/storedInfoTypes/*}" }
+ additional_bindings {
+ get: "/v2/{name=projects/*/locations/*/storedInfoTypes/*}"
+ }
+ };
+ option (google.api.method_signature) = "name";
+ }
+
+ // Lists stored infoTypes.
+ // See
+ // https://cloud.google.com/sensitive-data-protection/docs/creating-stored-infotypes
+ // to learn more.
+ rpc ListStoredInfoTypes(ListStoredInfoTypesRequest)
+ returns (ListStoredInfoTypesResponse) {
+ option (google.api.http) = {
+ get: "/v2/{parent=organizations/*}/storedInfoTypes"
+ additional_bindings {
+ get: "/v2/{parent=organizations/*/locations/*}/storedInfoTypes"
+ }
+ additional_bindings { get: "/v2/{parent=projects/*}/storedInfoTypes" }
+ additional_bindings {
+ get: "/v2/{parent=projects/*/locations/*}/storedInfoTypes"
+ }
+ };
+ option (google.api.method_signature) = "parent";
+ }
+
+ // Deletes a stored infoType.
+ // See
+ // https://cloud.google.com/sensitive-data-protection/docs/creating-stored-infotypes
+ // to learn more.
+ rpc DeleteStoredInfoType(DeleteStoredInfoTypeRequest)
+ returns (google.protobuf.Empty) {
+ option (google.api.http) = {
+ delete: "/v2/{name=organizations/*/storedInfoTypes/*}"
+ additional_bindings {
+ delete: "/v2/{name=organizations/*/locations/*/storedInfoTypes/*}"
+ }
+ additional_bindings { delete: "/v2/{name=projects/*/storedInfoTypes/*}" }
+ additional_bindings {
+ delete: "/v2/{name=projects/*/locations/*/storedInfoTypes/*}"
+ }
+ };
+ option (google.api.method_signature) = "name";
+ }
+
+ // Lists project data profiles for an organization.
+ rpc ListProjectDataProfiles(ListProjectDataProfilesRequest)
+ returns (ListProjectDataProfilesResponse) {
+ option (google.api.http) = {
+ get: "/v2/{parent=organizations/*/locations/*}/projectDataProfiles"
+ additional_bindings {
+ get: "/v2/{parent=projects/*/locations/*}/projectDataProfiles"
+ }
+ };
+ option (google.api.method_signature) = "parent";
+ }
+
+ // Lists table data profiles for an organization.
+ rpc ListTableDataProfiles(ListTableDataProfilesRequest)
+ returns (ListTableDataProfilesResponse) {
+ option (google.api.http) = {
+ get: "/v2/{parent=organizations/*/locations/*}/tableDataProfiles"
+ additional_bindings {
+ get: "/v2/{parent=projects/*/locations/*}/tableDataProfiles"
+ }
+ };
+ option (google.api.method_signature) = "parent";
+ }
+
+ // Lists column data profiles for an organization.
+ rpc ListColumnDataProfiles(ListColumnDataProfilesRequest)
+ returns (ListColumnDataProfilesResponse) {
+ option (google.api.http) = {
+ get: "/v2/{parent=organizations/*/locations/*}/columnDataProfiles"
+ additional_bindings {
+ get: "/v2/{parent=projects/*/locations/*}/columnDataProfiles"
+ }
+ };
+ option (google.api.method_signature) = "parent";
+ }
+
+ // Gets a project data profile.
+ rpc GetProjectDataProfile(GetProjectDataProfileRequest)
+ returns (ProjectDataProfile) {
+ option (google.api.http) = {
+ get: "/v2/{name=organizations/*/locations/*/projectDataProfiles/*}"
+ additional_bindings {
+ get: "/v2/{name=projects/*/locations/*/projectDataProfiles/*}"
+ }
+ };
+ option (google.api.method_signature) = "name";
+ }
+
+ // Lists file store data profiles for an organization.
+ rpc ListFileStoreDataProfiles(ListFileStoreDataProfilesRequest)
+ returns (ListFileStoreDataProfilesResponse) {
+ option (google.api.http) = {
+ get: "/v2/{parent=organizations/*/locations/*}/fileStoreDataProfiles"
+ additional_bindings {
+ get: "/v2/{parent=projects/*/locations/*}/fileStoreDataProfiles"
+ }
+ };
+ option (google.api.method_signature) = "parent";
+ }
+
+ // Gets a file store data profile.
+ rpc GetFileStoreDataProfile(GetFileStoreDataProfileRequest)
+ returns (FileStoreDataProfile) {
+ option (google.api.http) = {
+ get: "/v2/{name=organizations/*/locations/*/fileStoreDataProfiles/*}"
+ additional_bindings {
+ get: "/v2/{name=projects/*/locations/*/fileStoreDataProfiles/*}"
+ }
+ };
+ option (google.api.method_signature) = "name";
+ }
+
+ // Delete a FileStoreDataProfile. Will not prevent the profile from being
+ // regenerated if the resource is still included in a discovery configuration.
+ rpc DeleteFileStoreDataProfile(DeleteFileStoreDataProfileRequest)
+ returns (google.protobuf.Empty) {
+ option (google.api.http) = {
+ delete: "/v2/{name=organizations/*/locations/*/fileStoreDataProfiles/*}"
+ additional_bindings {
+ delete: "/v2/{name=projects/*/locations/*/fileStoreDataProfiles/*}"
+ }
+ };
+ option (google.api.method_signature) = "name";
+ }
+
+ // Gets a table data profile.
+ rpc GetTableDataProfile(GetTableDataProfileRequest)
+ returns (TableDataProfile) {
+ option (google.api.http) = {
+ get: "/v2/{name=organizations/*/locations/*/tableDataProfiles/*}"
+ additional_bindings {
+ get: "/v2/{name=projects/*/locations/*/tableDataProfiles/*}"
+ }
+ };
+ option (google.api.method_signature) = "name";
+ }
+
+ // Gets a column data profile.
+ rpc GetColumnDataProfile(GetColumnDataProfileRequest)
+ returns (ColumnDataProfile) {
+ option (google.api.http) = {
+ get: "/v2/{name=organizations/*/locations/*/columnDataProfiles/*}"
+ additional_bindings {
+ get: "/v2/{name=projects/*/locations/*/columnDataProfiles/*}"
+ }
+ };
+ option (google.api.method_signature) = "name";
+ }
+
+ // Delete a TableDataProfile. Will not prevent the profile from being
+ // regenerated if the table is still included in a discovery configuration.
+ rpc DeleteTableDataProfile(DeleteTableDataProfileRequest)
+ returns (google.protobuf.Empty) {
+ option (google.api.http) = {
+ delete: "/v2/{name=organizations/*/locations/*/tableDataProfiles/*}"
+ additional_bindings {
+ delete: "/v2/{name=projects/*/locations/*/tableDataProfiles/*}"
+ }
+ };
+ option (google.api.method_signature) = "name";
+ }
+
+ // Inspect hybrid content and store findings to a job.
+ // To review the findings, inspect the job. Inspection will occur
+ // asynchronously.
+ rpc HybridInspectDlpJob(HybridInspectDlpJobRequest)
+ returns (HybridInspectResponse) {
+ option (google.api.http) = {
+ post: "/v2/{name=projects/*/locations/*/dlpJobs/*}:hybridInspect"
+ body: "*"
+ };
+ option (google.api.method_signature) = "name";
+ }
+
+ // Finish a running hybrid DlpJob. Triggers the finalization steps and running
+ // of any enabled actions that have not yet run.
+ rpc FinishDlpJob(FinishDlpJobRequest) returns (google.protobuf.Empty) {
+ option (google.api.http) = {
+ post: "/v2/{name=projects/*/locations/*/dlpJobs/*}:finish"
+ body: "*"
+ };
+ }
+
+ // Create a Connection to an external data source.
+ rpc CreateConnection(CreateConnectionRequest) returns (Connection) {
+ option (google.api.http) = {
+ post: "/v2/{parent=projects/*/locations/*}/connections"
+ body: "*"
+ additional_bindings {
+ post: "/v2/{parent=organizations/*/locations/*}/connections"
+ body: "*"
+ }
+ };
+ option (google.api.method_signature) = "parent, connection";
+ }
+
+ // Get a Connection by name.
+ rpc GetConnection(GetConnectionRequest) returns (Connection) {
+ option (google.api.http) = {
+ get: "/v2/{name=projects/*/locations/*/connections/*}"
+ additional_bindings {
+ get: "/v2/{name=organizations/*/locations/*/connections/*}"
+ }
+ };
+ option (google.api.method_signature) = "name";
+ }
+
+ // Lists Connections in a parent. Use SearchConnections to see all connections
+ // within an organization.
+ rpc ListConnections(ListConnectionsRequest)
+ returns (ListConnectionsResponse) {
+ option (google.api.http) = {
+ get: "/v2/{parent=projects/*/locations/*}/connections"
+ additional_bindings {
+ get: "/v2/{parent=organizations/*/locations/*}/connections"
+ }
+ };
+ option (google.api.method_signature) = "parent";
+ }
+
+ // Searches for Connections in a parent.
+ rpc SearchConnections(SearchConnectionsRequest)
+ returns (SearchConnectionsResponse) {
+ option (google.api.http) = {
+ get: "/v2/{parent=projects/*/locations/*}/connections:search"
+ additional_bindings {
+ get: "/v2/{parent=organizations/*/locations/*}/connections:search"
+ }
+ };
+ option (google.api.method_signature) = "parent";
+ }
+
+ // Delete a Connection.
+ rpc DeleteConnection(DeleteConnectionRequest)
+ returns (google.protobuf.Empty) {
+ option (google.api.http) = {
+ delete: "/v2/{name=projects/*/locations/*/connections/*}"
+ additional_bindings {
+ delete: "/v2/{name=organizations/*/locations/*/connections/*}"
+ }
+ };
+ option (google.api.method_signature) = "name";
+ }
+
+ // Update a Connection.
+ rpc UpdateConnection(UpdateConnectionRequest) returns (Connection) {
+ option (google.api.http) = {
+ patch: "/v2/{name=projects/*/locations/*/connections/*}"
+ body: "*"
+ additional_bindings {
+ patch: "/v2/{name=organizations/*/locations/*/connections/*}"
+ body: "*"
+ }
+ };
+ option (google.api.method_signature) = "name";
+ }
+}
+
+// List of excluded infoTypes.
+message ExcludeInfoTypes {
+ // InfoType list in ExclusionRule rule drops a finding when it overlaps or
+ // contained within with a finding of an infoType from this list. For
+ // example, for `InspectionRuleSet.info_types` containing "PHONE_NUMBER"` and
+ // `exclusion_rule` containing `exclude_info_types.info_types` with
+ // "EMAIL_ADDRESS" the phone number findings are dropped if they overlap
+ // with EMAIL_ADDRESS finding.
+ // That leads to "555-222-2222@example.org" to generate only a single
+ // finding, namely email address.
+ repeated InfoType info_types = 1;
+}
+
+// The rule to exclude findings based on a hotword. For record inspection of
+// tables, column names are considered hotwords. An example of this is to
+// exclude a finding if it belongs to a BigQuery column that matches a specific
+// pattern.
+message ExcludeByHotword {
+ // Regular expression pattern defining what qualifies as a hotword.
+ CustomInfoType.Regex hotword_regex = 1;
+
+ // Range of characters within which the entire hotword must reside.
+ // The total length of the window cannot exceed 1000 characters.
+ // The windowBefore property in proximity should be set to 1 if the hotword
+ // needs to be included in a column header.
+ CustomInfoType.DetectionRule.Proximity proximity = 2;
+}
+
+// The rule that specifies conditions when findings of infoTypes specified in
+// `InspectionRuleSet` are removed from results.
+message ExclusionRule {
+ // Exclusion rule types.
+ oneof type {
+ // Dictionary which defines the rule.
+ CustomInfoType.Dictionary dictionary = 1;
+
+ // Regular expression which defines the rule.
+ CustomInfoType.Regex regex = 2;
+
+ // Set of infoTypes for which findings would affect this rule.
+ ExcludeInfoTypes exclude_info_types = 3;
+
+ // Drop if the hotword rule is contained in the proximate context. For
+ // tabular data, the context includes the column name.
+ ExcludeByHotword exclude_by_hotword = 5;
+ }
+
+ // How the rule is applied, see MatchingType documentation for details.
+ MatchingType matching_type = 4;
+}
+
+// A single inspection rule to be applied to infoTypes, specified in
+// `InspectionRuleSet`.
+message InspectionRule {
+ // Inspection rule types.
+ oneof type {
+ // Hotword-based detection rule.
+ CustomInfoType.DetectionRule.HotwordRule hotword_rule = 1;
+
+ // Exclusion rule.
+ ExclusionRule exclusion_rule = 2;
+ }
+}
+
+// Rule set for modifying a set of infoTypes to alter behavior under certain
+// circumstances, depending on the specific details of the rules within the set.
+message InspectionRuleSet {
+ // List of infoTypes this rule set is applied to.
+ repeated InfoType info_types = 1;
+
+ // Set of rules to be applied to infoTypes. The rules are applied in order.
+ repeated InspectionRule rules = 2;
+}
+
+// Configuration description of the scanning process.
+// When used with redactContent only info_types and min_likelihood are currently
+// used.
+message InspectConfig {
+ // Configuration for setting a minimum likelihood per infotype. Used to
+ // customize the minimum likelihood level for specific infotypes in the
+ // request. For example, use this if you want to lower the precision for
+ // PERSON_NAME without lowering the precision for the other infotypes in the
+ // request.
+ message InfoTypeLikelihood {
+ // Type of information the likelihood threshold applies to. Only one
+ // likelihood per info_type should be provided. If InfoTypeLikelihood does
+ // not have an info_type, the configuration fails.
+ InfoType info_type = 1;
+
+ // Only returns findings equal to or above this threshold. This field is
+ // required or else the configuration fails.
+ Likelihood min_likelihood = 2;
+ }
+
+ // Configuration to control the number of findings returned for inspection.
+ // This is not used for de-identification or data profiling.
+ //
+ // When redacting sensitive data from images, finding limits don't apply. They
+ // can cause unexpected or inconsistent results, where only some data is
+ // redacted. Don't include finding limits in
+ // [RedactImage][google.privacy.dlp.v2.DlpService.RedactImage]
+ // requests. Otherwise, Cloud DLP returns an error.
+ message FindingLimits {
+ // Max findings configuration per infoType, per content item or long
+ // running DlpJob.
+ message InfoTypeLimit {
+ // Type of information the findings limit applies to. Only one limit per
+ // info_type should be provided. If InfoTypeLimit does not have an
+ // info_type, the DLP API applies the limit against all info_types that
+ // are found but not specified in another InfoTypeLimit.
+ InfoType info_type = 1;
+
+ // Max findings limit for the given infoType.
+ int32 max_findings = 2;
+ }
+
+ // Max number of findings that are returned for each item scanned.
+ //
+ // When set within an
+ // [InspectContentRequest][google.privacy.dlp.v2.InspectContentRequest],
+ // this field is ignored.
+ //
+ // This value isn't a hard limit. If the number of findings for an item
+ // reaches this limit, the inspection of that item ends gradually, not
+ // abruptly. Therefore, the actual number of findings that Cloud DLP returns
+ // for the item can be multiple times higher than this value.
+ int32 max_findings_per_item = 1;
+
+ // Max number of findings that are returned per request or job.
+ //
+ // If you set this field in an
+ // [InspectContentRequest][google.privacy.dlp.v2.InspectContentRequest], the
+ // resulting maximum value is the value that you set or 3,000, whichever is
+ // lower.
+ //
+ // This value isn't a hard limit. If an inspection reaches this limit, the
+ // inspection ends gradually, not abruptly. Therefore, the actual number of
+ // findings that Cloud DLP returns can be multiple times higher than this
+ // value.
+ int32 max_findings_per_request = 2;
+
+ // Configuration of findings limit given for specified infoTypes.
+ repeated InfoTypeLimit max_findings_per_info_type = 3;
+ }
+
+ // Restricts what info_types to look for. The values must correspond to
+ // InfoType values returned by ListInfoTypes or listed at
+ // https://cloud.google.com/sensitive-data-protection/docs/infotypes-reference.
+ //
+ // When no InfoTypes or CustomInfoTypes are specified in a request, the
+ // system may automatically choose a default list of detectors to run, which
+ // may change over time.
+ //
+ // If you need precise control and predictability as to what detectors are
+ // run you should specify specific InfoTypes listed in the reference,
+ // otherwise a default list will be used, which may change over time.
+ repeated InfoType info_types = 1;
+
+ // Only returns findings equal to or above this threshold. The default is
+ // POSSIBLE.
+ //
+ // In general, the highest likelihood setting yields the fewest findings in
+ // results and the lowest chance of a false positive. For more information,
+ // see [Match
+ // likelihood](https://cloud.google.com/sensitive-data-protection/docs/likelihood).
+ Likelihood min_likelihood = 2;
+
+ // Minimum likelihood per infotype. For each infotype, a user can specify a
+ // minimum likelihood. The system only returns a finding if its likelihood is
+ // above this threshold. If this field is not set, the system uses the
+ // InspectConfig min_likelihood.
+ repeated InfoTypeLikelihood min_likelihood_per_info_type = 11;
+
+ // Configuration to control the number of findings returned.
+ // This is not used for data profiling.
+ //
+ // When redacting sensitive data from images, finding limits don't apply. They
+ // can cause unexpected or inconsistent results, where only some data is
+ // redacted. Don't include finding limits in
+ // [RedactImage][google.privacy.dlp.v2.DlpService.RedactImage]
+ // requests. Otherwise, Cloud DLP returns an error.
+ //
+ // When set within an
+ // [InspectJobConfig][google.privacy.dlp.v2.InspectJobConfig], the specified
+ // maximum values aren't hard limits. If an inspection job reaches these
+ // limits, the job ends gradually, not abruptly. Therefore, the actual number
+ // of findings that Cloud DLP returns can be multiple times higher than these
+ // maximum values.
+ FindingLimits limits = 3;
+
+ // When true, a contextual quote from the data that triggered a finding is
+ // included in the response; see
+ // [Finding.quote][google.privacy.dlp.v2.Finding.quote]. This is not used for
+ // data profiling.
+ bool include_quote = 4;
+
+ // When true, excludes type information of the findings.
+ // This is not used for data profiling.
+ bool exclude_info_types = 5;
+
+ // CustomInfoTypes provided by the user. See
+ // https://cloud.google.com/sensitive-data-protection/docs/creating-custom-infotypes
+ // to learn more.
+ repeated CustomInfoType custom_info_types = 6;
+
+ // Deprecated and unused.
+ repeated ContentOption content_options = 8;
+
+ // Set of rules to apply to the findings for this InspectConfig.
+ // Exclusion rules, contained in the set are executed in the end, other
+ // rules are executed in the order they are specified for each info type.
+ repeated InspectionRuleSet rule_set = 10;
+}
+
+// Container for bytes to inspect or redact.
+message ByteContentItem {
+ // The type of data being sent for inspection. To learn more, see
+ // [Supported file
+ // types](https://cloud.google.com/sensitive-data-protection/docs/supported-file-types).
+ //
+ // Only the first frame of each multiframe image is inspected. Metadata and
+ // other frames aren't inspected.
+ enum BytesType {
+ // Unused
+ BYTES_TYPE_UNSPECIFIED = 0;
+
+ // Any image type.
+ IMAGE = 6;
+
+ // jpeg
+ IMAGE_JPEG = 1;
+
+ // bmp
+ IMAGE_BMP = 2;
+
+ // png
+ IMAGE_PNG = 3;
+
+ // svg
+ IMAGE_SVG = 4;
+
+ // plain text
+ TEXT_UTF8 = 5;
+
+ // docx, docm, dotx, dotm
+ WORD_DOCUMENT = 7;
+
+ // pdf
+ PDF = 8;
+
+ // pptx, pptm, potx, potm, pot
+ POWERPOINT_DOCUMENT = 9;
+
+ // xlsx, xlsm, xltx, xltm
+ EXCEL_DOCUMENT = 10;
+
+ // avro
+ AVRO = 11;
+
+ // csv
+ CSV = 12;
+
+ // tsv
+ TSV = 13;
+
+ // Audio file types. Only used for profiling.
+ AUDIO = 15;
+
+ // Video file types. Only used for profiling.
+ VIDEO = 16;
+
+ // Executable file types. Only used for profiling.
+ EXECUTABLE = 17;
+
+ // AI model file types. Only used for profiling.
+ AI_MODEL = 18;
+ }
+
+ // The type of data stored in the bytes string. Default will be TEXT_UTF8.
+ BytesType type = 1;
+
+ // Content data to inspect or redact.
+ bytes data = 2;
+}
+
+// Type of content to inspect.
+message ContentItem {
+ // Data of the item either in the byte array or UTF-8 string form, or table.
+ oneof data_item {
+ // String data to inspect or redact.
+ string value = 3;
+
+ // Structured content for inspection. See
+ // https://cloud.google.com/sensitive-data-protection/docs/inspecting-text#inspecting_a_table
+ // to learn more.
+ Table table = 4;
+
+ // Content data to inspect or redact. Replaces `type` and `data`.
+ ByteContentItem byte_item = 5;
+ }
+}
+
+// Structured content to inspect. Up to 50,000 `Value`s per request allowed. See
+// https://cloud.google.com/sensitive-data-protection/docs/inspecting-structured-text#inspecting_a_table
+// to learn more.
+message Table {
+ // Values of the row.
+ message Row {
+ // Individual cells.
+ repeated Value values = 1;
+ }
+
+ // Headers of the table.
+ repeated FieldId headers = 1;
+
+ // Rows of the table.
+ repeated Row rows = 2;
+}
+
+// All the findings for a single scanned item.
+message InspectResult {
+ // List of findings for an item.
+ repeated Finding findings = 1;
+
+ // If true, then this item might have more findings than were returned,
+ // and the findings returned are an arbitrary subset of all findings.
+ // The findings list might be truncated because the input items were too
+ // large, or because the server reached the maximum amount of resources
+ // allowed for a single API call. For best results, divide the input into
+ // smaller batches.
+ bool findings_truncated = 2;
+}
+
+// Represents a piece of potentially sensitive content.
+message Finding {
+ option (google.api.resource) = {
+ type: "dlp.googleapis.com/Finding"
+ pattern: "projects/{project}/locations/{location}/findings/{finding}"
+ };
+
+ // Resource name in format
+ // projects/{project}/locations/{location}/findings/{finding} Populated only
+ // when viewing persisted findings.
+ string name = 14;
+
+ // The content that was found. Even if the content is not textual, it
+ // may be converted to a textual representation here.
+ // Provided if `include_quote` is true and the finding is
+ // less than or equal to 4096 bytes long. If the finding exceeds 4096 bytes
+ // in length, the quote may be omitted.
+ string quote = 1;
+
+ // The type of content that might have been found.
+ // Provided if `excluded_types` is false.
+ InfoType info_type = 2;
+
+ // Confidence of how likely it is that the `info_type` is correct.
+ Likelihood likelihood = 3;
+
+ // Where the content was found.
+ Location location = 4;
+
+ // Timestamp when finding was detected.
+ google.protobuf.Timestamp create_time = 6;
+
+ // Contains data parsed from quotes. Only populated if include_quote was set
+ // to true and a supported infoType was requested. Currently supported
+ // infoTypes: DATE, DATE_OF_BIRTH and TIME.
+ QuoteInfo quote_info = 7;
+
+ // The job that stored the finding.
+ string resource_name = 8
+ [(google.api.resource_reference) = { type: "dlp.googleapis.com/DlpJob" }];
+
+ // Job trigger name, if applicable, for this finding.
+ string trigger_name = 9 [
+ (google.api.resource_reference) = { type: "dlp.googleapis.com/JobTrigger" }
+ ];
+
+ // The labels associated with this `Finding`.
+ //
+ // Label keys must be between 1 and 63 characters long and must conform
+ // to the following regular expression: `[a-z]([-a-z0-9]*[a-z0-9])?`.
+ //
+ // Label values must be between 0 and 63 characters long and must conform
+ // to the regular expression `([a-z]([-a-z0-9]*[a-z0-9])?)?`.
+ //
+ // No more than 10 labels can be associated with a given finding.
+ //
+ // Examples:
+ //
+ // * `"environment" : "production"`
+ // * `"pipeline" : "etl"`
+ map labels = 10;
+
+ // Time the job started that produced this finding.
+ google.protobuf.Timestamp job_create_time = 11;
+
+ // The job that stored the finding.
+ string job_name = 13
+ [(google.api.resource_reference) = { type: "dlp.googleapis.com/DlpJob" }];
+
+ // The unique finding id.
+ string finding_id = 15;
+}
+
+// Specifies the location of the finding.
+message Location {
+ // Zero-based byte offsets delimiting the finding.
+ // These are relative to the finding's containing element.
+ // Note that when the content is not textual, this references
+ // the UTF-8 encoded textual representation of the content.
+ // Omitted if content is an image.
+ Range byte_range = 1;
+
+ // Unicode character offsets delimiting the finding.
+ // These are relative to the finding's containing element.
+ // Provided when the content is text.
+ Range codepoint_range = 2;
+
+ // List of nested objects pointing to the precise location of the finding
+ // within the file or record.
+ repeated ContentLocation content_locations = 7;
+
+ // Information about the container where this finding occurred, if available.
+ Container container = 8;
+}
+
+// Precise location of the finding within a document, record, image, or metadata
+// container.
+message ContentLocation {
+ // Name of the container where the finding is located.
+ // The top level name is the source file name or table name. Names of some
+ // common storage containers are formatted as follows:
+ //
+ // * BigQuery tables: `{project_id}:{dataset_id}.{table_id}`
+ // * Cloud Storage files: `gs://{bucket}/{path}`
+ // * Datastore namespace: {namespace}
+ //
+ // Nested names could be absent if the embedded object has no string
+ // identifier (for example, an image contained within a document).
+ string container_name = 1;
+
+ // Type of the container within the file with location of the finding.
+ oneof location {
+ // Location within a row or record of a database table.
+ RecordLocation record_location = 2;
+
+ // Location within an image's pixels.
+ ImageLocation image_location = 3;
+
+ // Location data for document files.
+ DocumentLocation document_location = 5;
+
+ // Location within the metadata for inspected content.
+ MetadataLocation metadata_location = 8;
+ }
+
+ // Finding container modification timestamp, if applicable. For Cloud Storage,
+ // this field contains the last file modification timestamp. For a BigQuery
+ // table, this field contains the last_modified_time property. For Datastore,
+ // this field isn't populated.
+ google.protobuf.Timestamp container_timestamp = 6;
+
+ // Finding container version, if available
+ // ("generation" for Cloud Storage).
+ string container_version = 7;
+}
+
+// Metadata Location
+message MetadataLocation {
+ // Type of metadata containing the finding.
+ MetadataType type = 1;
+
+ // Label of the piece of metadata containing the finding, for example -
+ // latitude, author, caption.
+ oneof label {
+ // Storage metadata.
+ StorageMetadataLabel storage_label = 3;
+ }
+}
+
+// Storage metadata label to indicate which metadata entry contains findings.
+message StorageMetadataLabel {
+ // Label name.
+ string key = 1;
+}
+
+// Location of a finding within a document.
+message DocumentLocation {
+ // Offset of the line, from the beginning of the file, where the finding
+ // is located.
+ int64 file_offset = 1;
+}
+
+// Location of a finding within a row or record.
+message RecordLocation {
+ // Key of the finding.
+ RecordKey record_key = 1;
+
+ // Field id of the field containing the finding.
+ FieldId field_id = 2;
+
+ // Location within a `ContentItem.Table`.
+ TableLocation table_location = 3;
+}
+
+// Location of a finding within a table.
+message TableLocation {
+ // The zero-based index of the row where the finding is located. Only
+ // populated for resources that have a natural ordering, not BigQuery. In
+ // BigQuery, to identify the row a finding came from, populate
+ // BigQueryOptions.identifying_fields with your primary key column names and
+ // when you store the findings the value of those columns will be stored
+ // inside of Finding.
+ int64 row_index = 1;
+}
+
+// Represents a container that may contain DLP findings.
+// Examples of a container include a file, table, or database record.
+message Container {
+ // Container type, for example BigQuery or Cloud Storage.
+ string type = 1;
+
+ // Project where the finding was found.
+ // Can be different from the project that owns the finding.
+ string project_id = 2;
+
+ // A string representation of the full container name.
+ // Examples:
+ // - BigQuery: 'Project:DataSetId.TableId'
+ // - Cloud Storage: 'gs://Bucket/folders/filename.txt'
+ string full_path = 3;
+
+ // The root of the container.
+ // Examples:
+ //
+ // - For BigQuery table `project_id:dataset_id.table_id`, the root is
+ // `dataset_id`
+ // - For Cloud Storage file `gs://bucket/folder/filename.txt`, the root
+ // is `gs://bucket`
+ string root_path = 4;
+
+ // The rest of the path after the root.
+ // Examples:
+ //
+ // - For BigQuery table `project_id:dataset_id.table_id`, the relative path is
+ // `table_id`
+ // - For Cloud Storage file `gs://bucket/folder/filename.txt`, the relative
+ // path is `folder/filename.txt`
+ string relative_path = 5;
+
+ // Findings container modification timestamp, if applicable. For Cloud
+ // Storage, this field contains the last file modification timestamp. For a
+ // BigQuery table, this field contains the last_modified_time property. For
+ // Datastore, this field isn't populated.
+ google.protobuf.Timestamp update_time = 6;
+
+ // Findings container version, if available
+ // ("generation" for Cloud Storage).
+ string version = 7;
+}
+
+// Generic half-open interval [start, end)
+message Range {
+ // Index of the first character of the range (inclusive).
+ int64 start = 1;
+
+ // Index of the last character of the range (exclusive).
+ int64 end = 2;
+}
+
+// Location of the finding within an image.
+message ImageLocation {
+ // Bounding boxes locating the pixels within the image containing the finding.
+ repeated BoundingBox bounding_boxes = 1;
+}
+
+// Bounding box encompassing detected text within an image.
+message BoundingBox {
+ // Top coordinate of the bounding box. (0,0) is upper left.
+ int32 top = 1;
+
+ // Left coordinate of the bounding box. (0,0) is upper left.
+ int32 left = 2;
+
+ // Width of the bounding box in pixels.
+ int32 width = 3;
+
+ // Height of the bounding box in pixels.
+ int32 height = 4;
+}
+
+// Request to search for potentially sensitive info in an image and redact it
+// by covering it with a colored rectangle.
+message RedactImageRequest {
+ // Configuration for determining how redaction of images should occur.
+ message ImageRedactionConfig {
+ // Type of information to redact from images.
+ oneof target {
+ // Only one per info_type should be provided per request. If not
+ // specified, and redact_all_text is false, the DLP API will redact all
+ // text that it matches against all info_types that are found, but not
+ // specified in another ImageRedactionConfig.
+ InfoType info_type = 1;
+
+ // If true, all text found in the image, regardless whether it matches an
+ // info_type, is redacted. Only one should be provided.
+ bool redact_all_text = 2;
+ }
+
+ // The color to use when redacting content from an image. If not specified,
+ // the default is black.
+ Color redaction_color = 3;
+ }
+
+ // Parent resource name.
+ //
+ // The format of this value varies depending on whether you have [specified a
+ // processing
+ // location](https://cloud.google.com/sensitive-data-protection/docs/specifying-location):
+ //
+ // + Projects scope, location specified:
+ // `projects/{project_id}/locations/{location_id}`
+ // + Projects scope, no location specified (defaults to global):
+ // `projects/{project_id}`
+ //
+ // The following example `parent` string specifies a parent project with the
+ // identifier `example-project`, and specifies the `europe-west3` location
+ // for processing data:
+ //
+ // parent=projects/example-project/locations/europe-west3
+ string parent = 1 [(google.api.resource_reference) = {
+ child_type: "dlp.googleapis.com/DlpContent"
+ }];
+
+ // Deprecated. This field has no effect.
+ string location_id = 8;
+
+ // Configuration for the inspector.
+ InspectConfig inspect_config = 2;
+
+ // The configuration for specifying what content to redact from images.
+ repeated ImageRedactionConfig image_redaction_configs = 5;
+
+ // Whether the response should include findings along with the redacted
+ // image.
+ bool include_findings = 6;
+
+ // The content must be PNG, JPEG, SVG or BMP.
+ ByteContentItem byte_item = 7;
+
+ // The full resource name of the inspection template to use. Settings in the
+ // main `inspect_config` field override the corresponding settings in this
+ // inspection template.
+ //
+ // The merge behavior is as follows:
+ //
+ // - Singular field: The main field's value replaces the value of the
+ // corresponding field in the template.
+ // - Repeated fields: The field values are appended to the list defined in
+ // the template.
+ // - Sub-messages and groups: The fields are recursively merged.
+ string inspect_template = 9;
+
+ // The full resource name of the de-identification template to use. Settings
+ // in the main `image_redaction_configs` field override the corresponding
+ // settings in this de-identification template. The request fails if the
+ // type of the template's deidentify_config is not image_transformations.
+ string deidentify_template = 10;
+}
+
+// Represents a color in the RGB color space.
+message Color {
+ // The amount of red in the color as a value in the interval [0, 1].
+ float red = 1;
+
+ // The amount of green in the color as a value in the interval [0, 1].
+ float green = 2;
+
+ // The amount of blue in the color as a value in the interval [0, 1].
+ float blue = 3;
+}
+
+// Results of redacting an image.
+message RedactImageResponse {
+ // The redacted image. The type will be the same as the original image.
+ bytes redacted_image = 1;
+
+ // If an image was being inspected and the InspectConfig's include_quote was
+ // set to true, then this field will include all text, if any, that was found
+ // in the image.
+ string extracted_text = 2;
+
+ // The findings. Populated when include_findings in the request is true.
+ InspectResult inspect_result = 3;
+}
+
+// Request to de-identify a ContentItem.
+message DeidentifyContentRequest {
+ // Parent resource name.
+ //
+ // The format of this value varies depending on whether you have [specified a
+ // processing
+ // location](https://cloud.google.com/sensitive-data-protection/docs/specifying-location):
+ //
+ // + Projects scope, location specified:
+ // `projects/{project_id}/locations/{location_id}`
+ // + Projects scope, no location specified (defaults to global):
+ // `projects/{project_id}`
+ //
+ // The following example `parent` string specifies a parent project with the
+ // identifier `example-project`, and specifies the `europe-west3` location
+ // for processing data:
+ //
+ // parent=projects/example-project/locations/europe-west3
+ string parent = 1 [(google.api.resource_reference) = {
+ child_type: "dlp.googleapis.com/DlpContent"
+ }];
+
+ // Configuration for the de-identification of the content item.
+ // Items specified here will override the template referenced by the
+ // deidentify_template_name argument.
+ DeidentifyConfig deidentify_config = 2;
+
+ // Configuration for the inspector.
+ // Items specified here will override the template referenced by the
+ // inspect_template_name argument.
+ InspectConfig inspect_config = 3;
+
+ // The item to de-identify. Will be treated as text.
+ //
+ // This value must be of type
+ // [Table][google.privacy.dlp.v2.Table] if your
+ // [deidentify_config][google.privacy.dlp.v2.DeidentifyContentRequest.deidentify_config]
+ // is a
+ // [RecordTransformations][google.privacy.dlp.v2.RecordTransformations]
+ // object.
+ ContentItem item = 4;
+
+ // Template to use. Any configuration directly specified in
+ // inspect_config will override those set in the template. Singular fields
+ // that are set in this request will replace their corresponding fields in the
+ // template. Repeated fields are appended. Singular sub-messages and groups
+ // are recursively merged.
+ string inspect_template_name = 5;
+
+ // Template to use. Any configuration directly specified in
+ // deidentify_config will override those set in the template. Singular fields
+ // that are set in this request will replace their corresponding fields in the
+ // template. Repeated fields are appended. Singular sub-messages and groups
+ // are recursively merged.
+ string deidentify_template_name = 6;
+
+ // Deprecated. This field has no effect.
+ string location_id = 7;
+}
+
+// Results of de-identifying a ContentItem.
+message DeidentifyContentResponse {
+ // The de-identified item.
+ ContentItem item = 1;
+
+ // An overview of the changes that were made on the `item`.
+ TransformationOverview overview = 2;
+}
+
+// Request to re-identify an item.
+message ReidentifyContentRequest {
+ // Required. Parent resource name.
+ //
+ // The format of this value varies depending on whether you have [specified a
+ // processing
+ // location](https://cloud.google.com/sensitive-data-protection/docs/specifying-location):
+ //
+ // + Projects scope, location specified:
+ // `projects/{project_id}/locations/{location_id}`
+ // + Projects scope, no location specified (defaults to global):
+ // `projects/{project_id}`
+ //
+ // The following example `parent` string specifies a parent project with the
+ // identifier `example-project`, and specifies the `europe-west3` location
+ // for processing data:
+ //
+ // parent=projects/example-project/locations/europe-west3
+ string parent = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ child_type: "dlp.googleapis.com/DlpContent"
+ }
+ ];
+
+ // Configuration for the re-identification of the content item.
+ // This field shares the same proto message type that is used for
+ // de-identification, however its usage here is for the reversal of the
+ // previous de-identification. Re-identification is performed by examining
+ // the transformations used to de-identify the items and executing the
+ // reverse. This requires that only reversible transformations
+ // be provided here. The reversible transformations are:
+ //
+ // - `CryptoDeterministicConfig`
+ // - `CryptoReplaceFfxFpeConfig`
+ DeidentifyConfig reidentify_config = 2;
+
+ // Configuration for the inspector.
+ InspectConfig inspect_config = 3;
+
+ // The item to re-identify. Will be treated as text.
+ ContentItem item = 4;
+
+ // Template to use. Any configuration directly specified in
+ // `inspect_config` will override those set in the template. Singular fields
+ // that are set in this request will replace their corresponding fields in the
+ // template. Repeated fields are appended. Singular sub-messages and groups
+ // are recursively merged.
+ string inspect_template_name = 5;
+
+ // Template to use. References an instance of `DeidentifyTemplate`.
+ // Any configuration directly specified in `reidentify_config` or
+ // `inspect_config` will override those set in the template. The
+ // `DeidentifyTemplate` used must include only reversible transformations.
+ // Singular fields that are set in this request will replace their
+ // corresponding fields in the template. Repeated fields are appended.
+ // Singular sub-messages and groups are recursively merged.
+ string reidentify_template_name = 6;
+
+ // Deprecated. This field has no effect.
+ string location_id = 7;
+}
+
+// Results of re-identifying an item.
+message ReidentifyContentResponse {
+ // The re-identified item.
+ ContentItem item = 1;
+
+ // An overview of the changes that were made to the `item`.
+ TransformationOverview overview = 2;
+}
+
+// Request to search for potentially sensitive info in a ContentItem.
+message InspectContentRequest {
+ // Parent resource name.
+ //
+ // The format of this value varies depending on whether you have [specified a
+ // processing
+ // location](https://cloud.google.com/sensitive-data-protection/docs/specifying-location):
+ //
+ // + Projects scope, location specified:
+ // `projects/{project_id}/locations/{location_id}`
+ // + Projects scope, no location specified (defaults to global):
+ // `projects/{project_id}`
+ //
+ // The following example `parent` string specifies a parent project with the
+ // identifier `example-project`, and specifies the `europe-west3` location
+ // for processing data:
+ //
+ // parent=projects/example-project/locations/europe-west3
+ string parent = 1 [(google.api.resource_reference) = {
+ child_type: "dlp.googleapis.com/DlpContent"
+ }];
+
+ // Configuration for the inspector. What specified here will override
+ // the template referenced by the inspect_template_name argument.
+ InspectConfig inspect_config = 2;
+
+ // The item to inspect.
+ ContentItem item = 3;
+
+ // Template to use. Any configuration directly specified in
+ // inspect_config will override those set in the template. Singular fields
+ // that are set in this request will replace their corresponding fields in the
+ // template. Repeated fields are appended. Singular sub-messages and groups
+ // are recursively merged.
+ string inspect_template_name = 4;
+
+ // Deprecated. This field has no effect.
+ string location_id = 5;
+}
+
+// Results of inspecting an item.
+message InspectContentResponse {
+ // The findings.
+ InspectResult result = 1;
+}
+
+// Cloud repository for storing output.
+message OutputStorageConfig {
+ // Predefined schemas for storing findings.
+ // Only for use with external storage.
+ enum OutputSchema {
+ // Unused.
+ OUTPUT_SCHEMA_UNSPECIFIED = 0;
+
+ // Basic schema including only `info_type`, `quote`, `certainty`, and
+ // `timestamp`.
+ BASIC_COLUMNS = 1;
+
+ // Schema tailored to findings from scanning Cloud Storage.
+ GCS_COLUMNS = 2;
+
+ // Schema tailored to findings from scanning Google Datastore.
+ DATASTORE_COLUMNS = 3;
+
+ // Schema tailored to findings from scanning Google BigQuery.
+ BIG_QUERY_COLUMNS = 4;
+
+ // Schema containing all columns.
+ ALL_COLUMNS = 5;
+ }
+
+ // Output storage types.
+ oneof type {
+ // Store findings in an existing table or a new table in an existing
+ // dataset. If table_id is not set a new one will be generated
+ // for you with the following format:
+ // dlp_googleapis_yyyy_mm_dd_[dlp_job_id]. Pacific time zone will be used
+ // for generating the date details.
+ //
+ // For Inspect, each column in an existing output table must have the same
+ // name, type, and mode of a field in the `Finding` object.
+ //
+ // For Risk, an existing output table should be the output of a previous
+ // Risk analysis job run on the same source table, with the same privacy
+ // metric and quasi-identifiers. Risk jobs that analyze the same table but
+ // compute a different privacy metric, or use different sets of
+ // quasi-identifiers, cannot store their results in the same table.
+ BigQueryTable table = 1;
+
+ // Store findings in an existing Cloud Storage bucket. Files will be
+ // generated with the job ID and file part number as the filename and will
+ // contain findings in textproto format as
+ // [SaveToGcsFindingsOutput][google.privacy.dlp.v2.SaveToGcsFindingsOutput].
+ // The filename will follow the naming convention `-`.
+ // Example: `my-job-id-2`.
+ //
+ // Supported for [Inspect jobs][google.privacy.dlp.v2.InspectJobConfig]. The
+ // bucket must not be the same as the bucket being inspected. If storing
+ // findings to Cloud Storage, the output schema field should not be set. If
+ // set, it will be ignored.
+ CloudStoragePath storage_path = 5;
+ }
+
+ // Schema used for writing the findings for Inspect jobs. This field is only
+ // used for Inspect and must be unspecified for Risk jobs. Columns are derived
+ // from the `Finding` object. If appending to an existing table, any columns
+ // from the predefined schema that are missing will be added. No columns in
+ // the existing table will be deleted.
+ //
+ // If unspecified, then all available columns will be used for a new table or
+ // an (existing) table with no schema, and no changes will be made to an
+ // existing table that has a schema.
+ // Only for use with external storage.
+ OutputSchema output_schema = 3;
+}
+
+// Statistics regarding a specific InfoType.
+message InfoTypeStats {
+ // The type of finding this stat is for.
+ InfoType info_type = 1;
+
+ // Number of findings for this infoType.
+ int64 count = 2;
+}
+
+// The results of an inspect DataSource job.
+message InspectDataSourceDetails {
+ // Snapshot of the inspection configuration.
+ message RequestedOptions {
+ // If run with an InspectTemplate, a snapshot of its state at the time of
+ // this run.
+ InspectTemplate snapshot_inspect_template = 1;
+
+ // Inspect config.
+ InspectJobConfig job_config = 3;
+ }
+
+ // All Result fields are updated while the job is processing.
+ message Result {
+ // Total size in bytes that were processed.
+ int64 processed_bytes = 1;
+
+ // Estimate of the number of bytes to process.
+ int64 total_estimated_bytes = 2;
+
+ // Statistics of how many instances of each info type were found during
+ // inspect job.
+ repeated InfoTypeStats info_type_stats = 3;
+
+ // Number of rows scanned after sampling and time filtering (applicable for
+ // row based stores such as BigQuery).
+ int64 num_rows_processed = 5;
+
+ // Statistics related to the processing of hybrid inspect.
+ HybridInspectStatistics hybrid_stats = 7;
+ }
+
+ // The configuration used for this job.
+ RequestedOptions requested_options = 2;
+
+ // A summary of the outcome of this inspection job.
+ Result result = 3;
+}
+
+// The schema of data to be saved to the BigQuery table when the
+// `DataProfileAction` is enabled.
+message DataProfileBigQueryRowSchema {
+ // Data profile type.
+ oneof data_profile {
+ // Table data profile column
+ TableDataProfile table_profile = 1;
+
+ // Column data profile column
+ ColumnDataProfile column_profile = 2;
+
+ // File store data profile column.
+ FileStoreDataProfile file_store_profile = 3;
+ }
+}
+
+// Statistics related to processing hybrid inspect requests.
+message HybridInspectStatistics {
+ // The number of hybrid inspection requests processed within this job.
+ int64 processed_count = 1;
+
+ // The number of hybrid inspection requests aborted because the job ran
+ // out of quota or was ended before they could be processed.
+ int64 aborted_count = 2;
+
+ // The number of hybrid requests currently being processed. Only populated
+ // when called via method `getDlpJob`.
+ // A burst of traffic may cause hybrid inspect requests to be enqueued.
+ // Processing will take place as quickly as possible, but resource limitations
+ // may impact how long a request is enqueued for.
+ int64 pending_count = 3;
+}
+
+// The results of an [Action][google.privacy.dlp.v2.Action].
+message ActionDetails {
+ // Summary of what occurred in the actions.
+ oneof details {
+ // Outcome of a de-identification action.
+ DeidentifyDataSourceDetails deidentify_details = 1;
+ }
+}
+
+// Summary of what was modified during a transformation.
+message DeidentifyDataSourceStats {
+ // Total size in bytes that were transformed in some way.
+ int64 transformed_bytes = 1;
+
+ // Number of successfully applied transformations.
+ int64 transformation_count = 2;
+
+ // Number of errors encountered while trying to apply transformations.
+ int64 transformation_error_count = 3;
+}
+
+// The results of a [Deidentify][google.privacy.dlp.v2.Action.Deidentify] action
+// from an inspect job.
+message DeidentifyDataSourceDetails {
+ // De-identification options.
+ message RequestedDeidentifyOptions {
+ // Snapshot of the state of the `DeidentifyTemplate` from the
+ // [Deidentify][google.privacy.dlp.v2.Action.Deidentify] action at the time
+ // this job was run.
+ DeidentifyTemplate snapshot_deidentify_template = 1;
+
+ // Snapshot of the state of the structured `DeidentifyTemplate` from the
+ // `Deidentify` action at the time this job was run.
+ DeidentifyTemplate snapshot_structured_deidentify_template = 2;
+
+ // Snapshot of the state of the image transformation `DeidentifyTemplate`
+ // from the `Deidentify` action at the time this job was run.
+ DeidentifyTemplate snapshot_image_redact_template = 3;
+ }
+
+ // De-identification config used for the request.
+ RequestedDeidentifyOptions requested_options = 1;
+
+ // Stats about the de-identification operation.
+ DeidentifyDataSourceStats deidentify_stats = 2;
+}
+
+// Locations at which a feature can be used.
+message LocationSupport {
+ // The location scope for a feature.
+ enum RegionalizationScope {
+ // Invalid.
+ REGIONALIZATION_SCOPE_UNSPECIFIED = 0;
+
+ // Feature may be used with one or more regions. See locations for details.
+ REGIONAL = 1;
+
+ // Feature may be used anywhere. Default value.
+ ANY_LOCATION = 2;
+ }
+
+ // The current scope for location on this feature. This may expand over time.
+ RegionalizationScope regionalization_scope = 1;
+
+ // Specific locations where the feature may be used.
+ // Examples: us-central1, us, asia, global
+ // If scope is ANY_LOCATION, no regions will be listed.
+ repeated string locations = 2;
+}
+
+// InfoType description.
+message InfoTypeDescription {
+ // Internal name of the infoType.
+ string name = 1;
+
+ // Human readable form of the infoType name.
+ string display_name = 2;
+
+ // Which parts of the API supports this InfoType.
+ repeated InfoTypeSupportedBy supported_by = 3;
+
+ // Description of the infotype. Translated when language is provided in the
+ // request.
+ string description = 4;
+
+ // Locations at which this feature can be used. May change over time.
+ LocationSupport location_support = 6;
+
+ // A sample that is a true positive for this infoType.
+ string example = 8;
+
+ // A list of available versions for the infotype.
+ repeated VersionDescription versions = 9;
+
+ // The category of the infoType.
+ repeated InfoTypeCategory categories = 10;
+
+ // The default sensitivity of the infoType.
+ SensitivityScore sensitivity_score = 11;
+
+ // If this field is set, this infoType is a general infoType and these
+ // specific infoTypes are contained within it.
+ // General infoTypes are infoTypes that encompass multiple specific infoTypes.
+ // For example, the "GEOGRAPHIC_DATA" general infoType would have set for this
+ // field "LOCATION", "LOCATION_COORDINATES", and "STREET_ADDRESS".
+ repeated string specific_info_types = 12;
+}
+
+// Classification of infoTypes to organize them according to geographic
+// location, industry, and data type.
+message InfoTypeCategory {
+ // Enum of the current locations.
+ // We might add more locations in the future.
+ enum LocationCategory {
+ // Unused location
+ LOCATION_UNSPECIFIED = 0;
+
+ // The infoType is not issued by or tied to a specific region, but is used
+ // almost everywhere.
+ GLOBAL = 1;
+
+ // The infoType is typically used in Argentina.
+ ARGENTINA = 2;
+
+ // The infoType is typically used in Armenia.
+ ARMENIA = 51;
+
+ // The infoType is typically used in Australia.
+ AUSTRALIA = 3;
+
+ // The infoType is typically used in Austria.
+ AUSTRIA = 53;
+
+ // The infoType is typically used in Azerbaijan.
+ AZERBAIJAN = 48;
+
+ // The infoType is typically used in Belarus.
+ BELARUS = 50;
+
+ // The infoType is typically used in Belgium.
+ BELGIUM = 4;
+
+ // The infoType is typically used in Brazil.
+ BRAZIL = 5;
+
+ // The infoType is typically used in Canada.
+ CANADA = 6;
+
+ // The infoType is typically used in Chile.
+ CHILE = 7;
+
+ // The infoType is typically used in China.
+ CHINA = 8;
+
+ // The infoType is typically used in Colombia.
+ COLOMBIA = 9;
+
+ // The infoType is typically used in Croatia.
+ CROATIA = 42;
+
+ // The infoType is typically used in Czechia.
+ CZECHIA = 52;
+
+ // The infoType is typically used in Denmark.
+ DENMARK = 10;
+
+ // The infoType is typically used in France.
+ FRANCE = 11;
+
+ // The infoType is typically used in Finland.
+ FINLAND = 12;
+
+ // The infoType is typically used in Germany.
+ GERMANY = 13;
+
+ // The infoType is typically used in Hong Kong.
+ HONG_KONG = 14;
+
+ // The infoType is typically used in India.
+ INDIA = 15;
+
+ // The infoType is typically used in Indonesia.
+ INDONESIA = 16;
+
+ // The infoType is typically used in Ireland.
+ IRELAND = 17;
+
+ // The infoType is typically used in Israel.
+ ISRAEL = 18;
+
+ // The infoType is typically used in Italy.
+ ITALY = 19;
+
+ // The infoType is typically used in Japan.
+ JAPAN = 20;
+
+ // The infoType is typically used in Kazakhstan.
+ KAZAKHSTAN = 47;
+
+ // The infoType is typically used in Korea.
+ KOREA = 21;
+
+ // The infoType is typically used in Mexico.
+ MEXICO = 22;
+
+ // The infoType is typically used in the Netherlands.
+ THE_NETHERLANDS = 23;
+
+ // The infoType is typically used in New Zealand.
+ NEW_ZEALAND = 41;
+
+ // The infoType is typically used in Norway.
+ NORWAY = 24;
+
+ // The infoType is typically used in Paraguay.
+ PARAGUAY = 25;
+
+ // The infoType is typically used in Peru.
+ PERU = 26;
+
+ // The infoType is typically used in Poland.
+ POLAND = 27;
+
+ // The infoType is typically used in Portugal.
+ PORTUGAL = 28;
+
+ // The infoType is typically used in Russia.
+ RUSSIA = 44;
+
+ // The infoType is typically used in Singapore.
+ SINGAPORE = 29;
+
+ // The infoType is typically used in South Africa.
+ SOUTH_AFRICA = 30;
+
+ // The infoType is typically used in Spain.
+ SPAIN = 31;
+
+ // The infoType is typically used in Sweden.
+ SWEDEN = 32;
+
+ // The infoType is typically used in Switzerland.
+ SWITZERLAND = 43;
+
+ // The infoType is typically used in Taiwan.
+ TAIWAN = 33;
+
+ // The infoType is typically used in Thailand.
+ THAILAND = 34;
+
+ // The infoType is typically used in Turkey.
+ TURKEY = 35;
+
+ // The infoType is typically used in Ukraine.
+ UKRAINE = 45;
+
+ // The infoType is typically used in the United Kingdom.
+ UNITED_KINGDOM = 36;
+
+ // The infoType is typically used in the United States.
+ UNITED_STATES = 37;
+
+ // The infoType is typically used in Uruguay.
+ URUGUAY = 38;
+
+ // The infoType is typically used in Uzbekistan.
+ UZBEKISTAN = 46;
+
+ // The infoType is typically used in Venezuela.
+ VENEZUELA = 39;
+
+ // The infoType is typically used in Google internally.
+ INTERNAL = 40;
+ }
+
+ // Enum of the current industries in the category.
+ // We might add more industries in the future.
+ enum IndustryCategory {
+ // Unused industry
+ INDUSTRY_UNSPECIFIED = 0;
+
+ // The infoType is typically used in the finance industry.
+ FINANCE = 1;
+
+ // The infoType is typically used in the health industry.
+ HEALTH = 2;
+
+ // The infoType is typically used in the telecommunications industry.
+ TELECOMMUNICATIONS = 3;
+ }
+
+ // Enum of the current types in the category.
+ // We might add more types in the future.
+ enum TypeCategory {
+ // Unused type
+ TYPE_UNSPECIFIED = 0;
+
+ // Personally identifiable information, for example, a
+ // name or phone number
+ PII = 1;
+
+ // Personally identifiable information that is especially sensitive, for
+ // example, a passport number.
+ SPII = 2;
+
+ // Attributes that can partially identify someone, especially in
+ // combination with other attributes, like age, height, and gender.
+ DEMOGRAPHIC = 3;
+
+ // Confidential or secret information, for example, a password.
+ CREDENTIAL = 4;
+
+ // An identification document issued by a government.
+ GOVERNMENT_ID = 5;
+
+ // A document, for example, a resume or source code.
+ DOCUMENT = 6;
+
+ // Information that is not sensitive on its own, but provides details about
+ // the circumstances surrounding an entity or an event.
+ CONTEXTUAL_INFORMATION = 7;
+
+ // Category for `CustomInfoType` types.
+ CUSTOM = 8;
+ }
+
+ // Categories of infotypes.
+ oneof category {
+ // The region or country that issued the ID or document represented by the
+ // infoType.
+ LocationCategory location_category = 1;
+
+ // The group of relevant businesses where this infoType is commonly used
+ IndustryCategory industry_category = 2;
+
+ // The class of identifiers where this infoType belongs
+ TypeCategory type_category = 3;
+ }
+}
+
+// Details about each available version for an infotype.
+message VersionDescription {
+ // Name of the version
+ string version = 1;
+
+ // Description of the version.
+ string description = 2;
+}
+
+// Request for the list of infoTypes.
+message ListInfoTypesRequest {
+ // The parent resource name.
+ //
+ // The format of this value is as follows:
+ //
+ // `locations/{location_id}`
+ string parent = 4;
+
+ // BCP-47 language code for localized infoType friendly
+ // names. If omitted, or if localized strings are not available,
+ // en-US strings will be returned.
+ string language_code = 1;
+
+ // filter to only return infoTypes supported by certain parts of the
+ // API. Defaults to supported_by=INSPECT.
+ string filter = 2;
+
+ // Deprecated. This field has no effect.
+ string location_id = 3;
+}
+
+// Response to the ListInfoTypes request.
+message ListInfoTypesResponse {
+ // Set of sensitive infoTypes.
+ repeated InfoTypeDescription info_types = 1;
+}
+
+// Configuration for a risk analysis job. See
+// https://cloud.google.com/sensitive-data-protection/docs/concepts-risk-analysis
+// to learn more.
+message RiskAnalysisJobConfig {
+ // Privacy metric to compute.
+ PrivacyMetric privacy_metric = 1;
+
+ // Input dataset to compute metrics over.
+ BigQueryTable source_table = 2;
+
+ // Actions to execute at the completion of the job. Are executed in the order
+ // provided.
+ repeated Action actions = 3;
+}
+
+// A column with a semantic tag attached.
+message QuasiId {
+ // Required. Identifies the column.
+ FieldId field = 1 [(google.api.field_behavior) = REQUIRED];
+
+ // Semantic tag that identifies what a column contains, to determine which
+ // statistical model to use to estimate the reidentifiability of each
+ // value. [required]
+ oneof tag {
+ // A column can be tagged with a InfoType to use the relevant public
+ // dataset as a statistical model of population, if available. We
+ // currently support US ZIP codes, region codes, ages and genders.
+ // To programmatically obtain the list of supported InfoTypes, use
+ // ListInfoTypes with the supported_by=RISK_ANALYSIS filter.
+ InfoType info_type = 2;
+
+ // A column can be tagged with a custom tag. In this case, the user must
+ // indicate an auxiliary table that contains statistical information on
+ // the possible values of this column.
+ string custom_tag = 3;
+
+ // If no semantic tag is indicated, we infer the statistical model from
+ // the distribution of values in the input data
+ google.protobuf.Empty inferred = 4;
+ }
+}
+
+// An auxiliary table containing statistical information on the relative
+// frequency of different quasi-identifiers values. It has one or several
+// quasi-identifiers columns, and one column that indicates the relative
+// frequency of each quasi-identifier tuple.
+// If a tuple is present in the data but not in the auxiliary table, the
+// corresponding relative frequency is assumed to be zero (and thus, the
+// tuple is highly reidentifiable).
+message StatisticalTable {
+ // A quasi-identifier column has a custom_tag, used to know which column
+ // in the data corresponds to which column in the statistical model.
+ message QuasiIdentifierField {
+ // Identifies the column.
+ FieldId field = 1;
+
+ // A column can be tagged with a custom tag. In this case, the user must
+ // indicate an auxiliary table that contains statistical information on
+ // the possible values of this column.
+ string custom_tag = 2;
+ }
+
+ // Required. Auxiliary table location.
+ BigQueryTable table = 3 [(google.api.field_behavior) = REQUIRED];
+
+ // Required. Quasi-identifier columns.
+ repeated QuasiIdentifierField quasi_ids = 1
+ [(google.api.field_behavior) = REQUIRED];
+
+ // Required. The relative frequency column must contain a floating-point
+ // number between 0 and 1 (inclusive). Null values are assumed to be zero.
+ FieldId relative_frequency = 2 [(google.api.field_behavior) = REQUIRED];
+}
+
+// Privacy metric to compute for reidentification risk analysis.
+message PrivacyMetric {
+ // Compute numerical stats over an individual column, including
+ // min, max, and quantiles.
+ message NumericalStatsConfig {
+ // Field to compute numerical stats on. Supported types are
+ // integer, float, date, datetime, timestamp, time.
+ FieldId field = 1;
+ }
+
+ // Compute numerical stats over an individual column, including
+ // number of distinct values and value count distribution.
+ message CategoricalStatsConfig {
+ // Field to compute categorical stats on. All column types are
+ // supported except for arrays and structs. However, it may be more
+ // informative to use NumericalStats when the field type is supported,
+ // depending on the data.
+ FieldId field = 1;
+ }
+
+ // k-anonymity metric, used for analysis of reidentification risk.
+ message KAnonymityConfig {
+ // Set of fields to compute k-anonymity over. When multiple fields are
+ // specified, they are considered a single composite key. Structs and
+ // repeated data types are not supported; however, nested fields are
+ // supported so long as they are not structs themselves or nested within
+ // a repeated field.
+ repeated FieldId quasi_ids = 1;
+
+ // Message indicating that multiple rows might be associated to a
+ // single individual. If the same entity_id is associated to multiple
+ // quasi-identifier tuples over distinct rows, we consider the entire
+ // collection of tuples as the composite quasi-identifier. This collection
+ // is a multiset: the order in which the different tuples appear in the
+ // dataset is ignored, but their frequency is taken into account.
+ //
+ // Important note: a maximum of 1000 rows can be associated to a single
+ // entity ID. If more rows are associated with the same entity ID, some
+ // might be ignored.
+ EntityId entity_id = 2;
+ }
+
+ // l-diversity metric, used for analysis of reidentification risk.
+ message LDiversityConfig {
+ // Set of quasi-identifiers indicating how equivalence classes are
+ // defined for the l-diversity computation. When multiple fields are
+ // specified, they are considered a single composite key.
+ repeated FieldId quasi_ids = 1;
+
+ // Sensitive field for computing the l-value.
+ FieldId sensitive_attribute = 2;
+ }
+
+ // Reidentifiability metric. This corresponds to a risk model similar to what
+ // is called "journalist risk" in the literature, except the attack dataset is
+ // statistically modeled instead of being perfectly known. This can be done
+ // using publicly available data (like the US Census), or using a custom
+ // statistical model (indicated as one or several BigQuery tables), or by
+ // extrapolating from the distribution of values in the input dataset.
+ message KMapEstimationConfig {
+ // A column with a semantic tag attached.
+ message TaggedField {
+ // Required. Identifies the column.
+ FieldId field = 1 [(google.api.field_behavior) = REQUIRED];
+
+ // Semantic tag that identifies what a column contains, to determine which
+ // statistical model to use to estimate the reidentifiability of each
+ // value. [required]
+ oneof tag {
+ // A column can be tagged with a InfoType to use the relevant public
+ // dataset as a statistical model of population, if available. We
+ // currently support US ZIP codes, region codes, ages and genders.
+ // To programmatically obtain the list of supported InfoTypes, use
+ // ListInfoTypes with the supported_by=RISK_ANALYSIS filter.
+ InfoType info_type = 2;
+
+ // A column can be tagged with a custom tag. In this case, the user must
+ // indicate an auxiliary table that contains statistical information on
+ // the possible values of this column.
+ string custom_tag = 3;
+
+ // If no semantic tag is indicated, we infer the statistical model from
+ // the distribution of values in the input data
+ google.protobuf.Empty inferred = 4;
+ }
+ }
+
+ // An auxiliary table contains statistical information on the relative
+ // frequency of different quasi-identifiers values. It has one or several
+ // quasi-identifiers columns, and one column that indicates the relative
+ // frequency of each quasi-identifier tuple.
+ // If a tuple is present in the data but not in the auxiliary table, the
+ // corresponding relative frequency is assumed to be zero (and thus, the
+ // tuple is highly reidentifiable).
+ message AuxiliaryTable {
+ // A quasi-identifier column has a custom_tag, used to know which column
+ // in the data corresponds to which column in the statistical model.
+ message QuasiIdField {
+ // Identifies the column.
+ FieldId field = 1;
+
+ // A auxiliary field.
+ string custom_tag = 2;
+ }
+
+ // Required. Auxiliary table location.
+ BigQueryTable table = 3 [(google.api.field_behavior) = REQUIRED];
+
+ // Required. Quasi-identifier columns.
+ repeated QuasiIdField quasi_ids = 1
+ [(google.api.field_behavior) = REQUIRED];
+
+ // Required. The relative frequency column must contain a floating-point
+ // number between 0 and 1 (inclusive). Null values are assumed to be zero.
+ FieldId relative_frequency = 2 [(google.api.field_behavior) = REQUIRED];
+ }
+
+ // Required. Fields considered to be quasi-identifiers. No two columns can
+ // have the same tag.
+ repeated TaggedField quasi_ids = 1 [(google.api.field_behavior) = REQUIRED];
+
+ // ISO 3166-1 alpha-2 region code to use in the statistical modeling.
+ // Set if no column is tagged with a region-specific InfoType (like
+ // US_ZIP_5) or a region code.
+ string region_code = 2;
+
+ // Several auxiliary tables can be used in the analysis. Each custom_tag
+ // used to tag a quasi-identifiers column must appear in exactly one column
+ // of one auxiliary table.
+ repeated AuxiliaryTable auxiliary_tables = 3;
+ }
+
+ // δ-presence metric, used to estimate how likely it is for an attacker to
+ // figure out that one given individual appears in a de-identified dataset.
+ // Similarly to the k-map metric, we cannot compute δ-presence exactly without
+ // knowing the attack dataset, so we use a statistical model instead.
+ message DeltaPresenceEstimationConfig {
+ // Required. Fields considered to be quasi-identifiers. No two fields can
+ // have the same tag.
+ repeated QuasiId quasi_ids = 1 [(google.api.field_behavior) = REQUIRED];
+
+ // ISO 3166-1 alpha-2 region code to use in the statistical modeling.
+ // Set if no column is tagged with a region-specific InfoType (like
+ // US_ZIP_5) or a region code.
+ string region_code = 2;
+
+ // Several auxiliary tables can be used in the analysis. Each custom_tag
+ // used to tag a quasi-identifiers field must appear in exactly one
+ // field of one auxiliary table.
+ repeated StatisticalTable auxiliary_tables = 3;
+ }
+
+ // Types of analysis.
+ oneof type {
+ // Numerical stats
+ NumericalStatsConfig numerical_stats_config = 1;
+
+ // Categorical stats
+ CategoricalStatsConfig categorical_stats_config = 2;
+
+ // K-anonymity
+ KAnonymityConfig k_anonymity_config = 3;
+
+ // l-diversity
+ LDiversityConfig l_diversity_config = 4;
+
+ // k-map
+ KMapEstimationConfig k_map_estimation_config = 5;
+
+ // delta-presence
+ DeltaPresenceEstimationConfig delta_presence_estimation_config = 6;
+ }
+}
+
+// Result of a risk analysis operation request.
+message AnalyzeDataSourceRiskDetails {
+ // Result of the numerical stats computation.
+ message NumericalStatsResult {
+ // Minimum value appearing in the column.
+ Value min_value = 1;
+
+ // Maximum value appearing in the column.
+ Value max_value = 2;
+
+ // List of 99 values that partition the set of field values into 100 equal
+ // sized buckets.
+ repeated Value quantile_values = 4;
+ }
+
+ // Result of the categorical stats computation.
+ message CategoricalStatsResult {
+ // Histogram of value frequencies in the column.
+ message CategoricalStatsHistogramBucket {
+ // Lower bound on the value frequency of the values in this bucket.
+ int64 value_frequency_lower_bound = 1;
+
+ // Upper bound on the value frequency of the values in this bucket.
+ int64 value_frequency_upper_bound = 2;
+
+ // Total number of values in this bucket.
+ int64 bucket_size = 3;
+
+ // Sample of value frequencies in this bucket. The total number of
+ // values returned per bucket is capped at 20.
+ repeated ValueFrequency bucket_values = 4;
+
+ // Total number of distinct values in this bucket.
+ int64 bucket_value_count = 5;
+ }
+
+ // Histogram of value frequencies in the column.
+ repeated CategoricalStatsHistogramBucket value_frequency_histogram_buckets =
+ 5;
+ }
+
+ // Result of the k-anonymity computation.
+ message KAnonymityResult {
+ // The set of columns' values that share the same ldiversity value
+ message KAnonymityEquivalenceClass {
+ // Set of values defining the equivalence class. One value per
+ // quasi-identifier column in the original KAnonymity metric message.
+ // The order is always the same as the original request.
+ repeated Value quasi_ids_values = 1;
+
+ // Size of the equivalence class, for example number of rows with the
+ // above set of values.
+ int64 equivalence_class_size = 2;
+ }
+
+ // Histogram of k-anonymity equivalence classes.
+ message KAnonymityHistogramBucket {
+ // Lower bound on the size of the equivalence classes in this bucket.
+ int64 equivalence_class_size_lower_bound = 1;
+
+ // Upper bound on the size of the equivalence classes in this bucket.
+ int64 equivalence_class_size_upper_bound = 2;
+
+ // Total number of equivalence classes in this bucket.
+ int64 bucket_size = 3;
+
+ // Sample of equivalence classes in this bucket. The total number of
+ // classes returned per bucket is capped at 20.
+ repeated KAnonymityEquivalenceClass bucket_values = 4;
+
+ // Total number of distinct equivalence classes in this bucket.
+ int64 bucket_value_count = 5;
+ }
+
+ // Histogram of k-anonymity equivalence classes.
+ repeated KAnonymityHistogramBucket equivalence_class_histogram_buckets = 5;
+ }
+
+ // Result of the l-diversity computation.
+ message LDiversityResult {
+ // The set of columns' values that share the same ldiversity value.
+ message LDiversityEquivalenceClass {
+ // Quasi-identifier values defining the k-anonymity equivalence
+ // class. The order is always the same as the original request.
+ repeated Value quasi_ids_values = 1;
+
+ // Size of the k-anonymity equivalence class.
+ int64 equivalence_class_size = 2;
+
+ // Number of distinct sensitive values in this equivalence class.
+ int64 num_distinct_sensitive_values = 3;
+
+ // Estimated frequencies of top sensitive values.
+ repeated ValueFrequency top_sensitive_values = 4;
+ }
+
+ // Histogram of l-diversity equivalence class sensitive value frequencies.
+ message LDiversityHistogramBucket {
+ // Lower bound on the sensitive value frequencies of the equivalence
+ // classes in this bucket.
+ int64 sensitive_value_frequency_lower_bound = 1;
+
+ // Upper bound on the sensitive value frequencies of the equivalence
+ // classes in this bucket.
+ int64 sensitive_value_frequency_upper_bound = 2;
+
+ // Total number of equivalence classes in this bucket.
+ int64 bucket_size = 3;
+
+ // Sample of equivalence classes in this bucket. The total number of
+ // classes returned per bucket is capped at 20.
+ repeated LDiversityEquivalenceClass bucket_values = 4;
+
+ // Total number of distinct equivalence classes in this bucket.
+ int64 bucket_value_count = 5;
+ }
+
+ // Histogram of l-diversity equivalence class sensitive value frequencies.
+ repeated LDiversityHistogramBucket
+ sensitive_value_frequency_histogram_buckets = 5;
+ }
+
+ // Result of the reidentifiability analysis. Note that these results are an
+ // estimation, not exact values.
+ message KMapEstimationResult {
+ // A tuple of values for the quasi-identifier columns.
+ message KMapEstimationQuasiIdValues {
+ // The quasi-identifier values.
+ repeated Value quasi_ids_values = 1;
+
+ // The estimated anonymity for these quasi-identifier values.
+ int64 estimated_anonymity = 2;
+ }
+
+ // A KMapEstimationHistogramBucket message with the following values:
+ // min_anonymity: 3
+ // max_anonymity: 5
+ // frequency: 42
+ // means that there are 42 records whose quasi-identifier values correspond
+ // to 3, 4 or 5 people in the overlying population. An important particular
+ // case is when min_anonymity = max_anonymity = 1: the frequency field then
+ // corresponds to the number of uniquely identifiable records.
+ message KMapEstimationHistogramBucket {
+ // Always positive.
+ int64 min_anonymity = 1;
+
+ // Always greater than or equal to min_anonymity.
+ int64 max_anonymity = 2;
+
+ // Number of records within these anonymity bounds.
+ int64 bucket_size = 5;
+
+ // Sample of quasi-identifier tuple values in this bucket. The total
+ // number of classes returned per bucket is capped at 20.
+ repeated KMapEstimationQuasiIdValues bucket_values = 6;
+
+ // Total number of distinct quasi-identifier tuple values in this bucket.
+ int64 bucket_value_count = 7;
+ }
+
+ // The intervals [min_anonymity, max_anonymity] do not overlap. If a value
+ // doesn't correspond to any such interval, the associated frequency is
+ // zero. For example, the following records:
+ // {min_anonymity: 1, max_anonymity: 1, frequency: 17}
+ // {min_anonymity: 2, max_anonymity: 3, frequency: 42}
+ // {min_anonymity: 5, max_anonymity: 10, frequency: 99}
+ // mean that there are no record with an estimated anonymity of 4, 5, or
+ // larger than 10.
+ repeated KMapEstimationHistogramBucket k_map_estimation_histogram = 1;
+ }
+
+ // Result of the δ-presence computation. Note that these results are an
+ // estimation, not exact values.
+ message DeltaPresenceEstimationResult {
+ // A tuple of values for the quasi-identifier columns.
+ message DeltaPresenceEstimationQuasiIdValues {
+ // The quasi-identifier values.
+ repeated Value quasi_ids_values = 1;
+
+ // The estimated probability that a given individual sharing these
+ // quasi-identifier values is in the dataset. This value, typically
+ // called δ, is the ratio between the number of records in the dataset
+ // with these quasi-identifier values, and the total number of individuals
+ // (inside *and* outside the dataset) with these quasi-identifier values.
+ // For example, if there are 15 individuals in the dataset who share the
+ // same quasi-identifier values, and an estimated 100 people in the entire
+ // population with these values, then δ is 0.15.
+ double estimated_probability = 2;
+ }
+
+ // A DeltaPresenceEstimationHistogramBucket message with the following
+ // values:
+ // min_probability: 0.1
+ // max_probability: 0.2
+ // frequency: 42
+ // means that there are 42 records for which δ is in [0.1, 0.2). An
+ // important particular case is when min_probability = max_probability = 1:
+ // then, every individual who shares this quasi-identifier combination is in
+ // the dataset.
+ message DeltaPresenceEstimationHistogramBucket {
+ // Between 0 and 1.
+ double min_probability = 1;
+
+ // Always greater than or equal to min_probability.
+ double max_probability = 2;
+
+ // Number of records within these probability bounds.
+ int64 bucket_size = 5;
+
+ // Sample of quasi-identifier tuple values in this bucket. The total
+ // number of classes returned per bucket is capped at 20.
+ repeated DeltaPresenceEstimationQuasiIdValues bucket_values = 6;
+
+ // Total number of distinct quasi-identifier tuple values in this bucket.
+ int64 bucket_value_count = 7;
+ }
+
+ // The intervals [min_probability, max_probability) do not overlap. If a
+ // value doesn't correspond to any such interval, the associated frequency
+ // is zero. For example, the following records:
+ // {min_probability: 0, max_probability: 0.1, frequency: 17}
+ // {min_probability: 0.2, max_probability: 0.3, frequency: 42}
+ // {min_probability: 0.3, max_probability: 0.4, frequency: 99}
+ // mean that there are no record with an estimated probability in [0.1, 0.2)
+ // nor larger or equal to 0.4.
+ repeated DeltaPresenceEstimationHistogramBucket
+ delta_presence_estimation_histogram = 1;
+ }
+
+ // Risk analysis options.
+ message RequestedRiskAnalysisOptions {
+ // The job config for the risk job.
+ RiskAnalysisJobConfig job_config = 1;
+ }
+
+ // Privacy metric to compute.
+ PrivacyMetric requested_privacy_metric = 1;
+
+ // Input dataset to compute metrics over.
+ BigQueryTable requested_source_table = 2;
+
+ // Values associated with this metric.
+ oneof result {
+ // Numerical stats result
+ NumericalStatsResult numerical_stats_result = 3;
+
+ // Categorical stats result
+ CategoricalStatsResult categorical_stats_result = 4;
+
+ // K-anonymity result
+ KAnonymityResult k_anonymity_result = 5;
+
+ // L-divesity result
+ LDiversityResult l_diversity_result = 6;
+
+ // K-map result
+ KMapEstimationResult k_map_estimation_result = 7;
+
+ // Delta-presence result
+ DeltaPresenceEstimationResult delta_presence_estimation_result = 9;
+ }
+
+ // The configuration used for this job.
+ RequestedRiskAnalysisOptions requested_options = 10;
+}
+
+// A value of a field, including its frequency.
+message ValueFrequency {
+ // A value contained in the field in question.
+ Value value = 1;
+
+ // How many times the value is contained in the field.
+ int64 count = 2;
+}
+
+// Set of primitive values supported by the system.
+// Note that for the purposes of inspection or transformation, the number
+// of bytes considered to comprise a 'Value' is based on its representation
+// as a UTF-8 encoded string. For example, if 'integer_value' is set to
+// 123456789, the number of bytes would be counted as 9, even though an
+// int64 only holds up to 8 bytes of data.
+message Value {
+ // Value types
+ oneof type {
+ // integer
+ int64 integer_value = 1;
+
+ // float
+ double float_value = 2;
+
+ // string
+ string string_value = 3;
+
+ // boolean
+ bool boolean_value = 4;
+
+ // timestamp
+ google.protobuf.Timestamp timestamp_value = 5;
+
+ // time of day
+ google.type.TimeOfDay time_value = 6;
+
+ // date
+ google.type.Date date_value = 7;
+
+ // day of week
+ google.type.DayOfWeek day_of_week_value = 8;
+ }
+}
+
+// Message for infoType-dependent details parsed from quote.
+message QuoteInfo {
+ // Object representation of the quote.
+ oneof parsed_quote {
+ // The date time indicated by the quote.
+ DateTime date_time = 2;
+ }
+}
+
+// Message for a date time object.
+// e.g. 2018-01-01, 5th August.
+message DateTime {
+ // Time zone of the date time object.
+ message TimeZone {
+ // Set only if the offset can be determined. Positive for time ahead of UTC.
+ // E.g. For "UTC-9", this value is -540.
+ int32 offset_minutes = 1;
+ }
+
+ // One or more of the following must be set.
+ // Must be a valid date or time value.
+ google.type.Date date = 1;
+
+ // Day of week
+ google.type.DayOfWeek day_of_week = 2;
+
+ // Time of day
+ google.type.TimeOfDay time = 3;
+
+ // Time zone
+ TimeZone time_zone = 4;
+}
+
+// The configuration that controls how the data will change.
+message DeidentifyConfig {
+ // Type of transformation
+ oneof transformation {
+ // Treat the dataset as free-form text and apply the same free text
+ // transformation everywhere.
+ InfoTypeTransformations info_type_transformations = 1;
+
+ // Treat the dataset as structured. Transformations can be applied to
+ // specific locations within structured datasets, such as transforming
+ // a column within a table.
+ RecordTransformations record_transformations = 2;
+
+ // Treat the dataset as an image and redact.
+ ImageTransformations image_transformations = 4;
+ }
+
+ // Mode for handling transformation errors. If left unspecified, the default
+ // mode is `TransformationErrorHandling.ThrowError`.
+ TransformationErrorHandling transformation_error_handling = 3;
+}
+
+// A type of transformation that is applied over images.
+message ImageTransformations {
+ // Configuration for determining how redaction of images should occur.
+ message ImageTransformation {
+ // Apply transformation to the selected info_types.
+ message SelectedInfoTypes {
+ // Required. InfoTypes to apply the transformation to. Required. Provided
+ // InfoType must be unique within the ImageTransformations message.
+ repeated InfoType info_types = 5 [(google.api.field_behavior) = REQUIRED];
+ }
+
+ // Apply transformation to all findings.
+ message AllInfoTypes {}
+
+ // Apply to all text.
+ message AllText {}
+
+ // Part of the image to transform.
+ oneof target {
+ // Apply transformation to the selected info_types.
+ SelectedInfoTypes selected_info_types = 4;
+
+ // Apply transformation to all findings not specified in other
+ // ImageTransformation's selected_info_types. Only one instance is allowed
+ // within the ImageTransformations message.
+ AllInfoTypes all_info_types = 5;
+
+ // Apply transformation to all text that doesn't match an infoType. Only
+ // one instance is allowed within the ImageTransformations message.
+ AllText all_text = 6;
+ }
+
+ // The color to use when redacting content from an image. If not
+ // specified, the default is black.
+ Color redaction_color = 3;
+ }
+
+ // List of transforms to make.
+ repeated ImageTransformation transforms = 2;
+}
+
+// How to handle transformation errors during de-identification. A
+// transformation error occurs when the requested transformation is incompatible
+// with the data. For example, trying to de-identify an IP address using a
+// `DateShift` transformation would result in a transformation error, since date
+// info cannot be extracted from an IP address.
+// Information about any incompatible transformations, and how they were
+// handled, is returned in the response as part of the
+// `TransformationOverviews`.
+message TransformationErrorHandling {
+ // Throw an error and fail the request when a transformation error occurs.
+ message ThrowError {}
+
+ // Skips the data without modifying it if the requested transformation would
+ // cause an error. For example, if a `DateShift` transformation were applied
+ // an an IP address, this mode would leave the IP address unchanged in the
+ // response.
+ message LeaveUntransformed {}
+
+ // How transformation errors should be handled.
+ oneof mode {
+ // Throw an error
+ ThrowError throw_error = 1;
+
+ // Ignore errors
+ LeaveUntransformed leave_untransformed = 2;
+ }
+}
+
+// A rule for transforming a value.
+message PrimitiveTransformation {
+ // Type of transformation.
+ oneof transformation {
+ // Replace with a specified value.
+ ReplaceValueConfig replace_config = 1;
+
+ // Redact
+ RedactConfig redact_config = 2;
+
+ // Mask
+ CharacterMaskConfig character_mask_config = 3;
+
+ // Ffx-Fpe. Strongly discouraged, consider using CryptoDeterministicConfig
+ // instead. Fpe is computationally expensive incurring latency costs.
+ CryptoReplaceFfxFpeConfig crypto_replace_ffx_fpe_config = 4;
+
+ // Fixed size bucketing
+ FixedSizeBucketingConfig fixed_size_bucketing_config = 5;
+
+ // Bucketing
+ BucketingConfig bucketing_config = 6;
+
+ // Replace with infotype
+ ReplaceWithInfoTypeConfig replace_with_info_type_config = 7;
+
+ // Time extraction
+ TimePartConfig time_part_config = 8;
+
+ // Crypto
+ CryptoHashConfig crypto_hash_config = 9;
+
+ // Date Shift
+ DateShiftConfig date_shift_config = 11;
+
+ // Deterministic Crypto
+ CryptoDeterministicConfig crypto_deterministic_config = 12;
+
+ // Replace with a value randomly drawn (with replacement) from a dictionary.
+ ReplaceDictionaryConfig replace_dictionary_config = 13;
+ }
+}
+
+// For use with `Date`, `Timestamp`, and `TimeOfDay`, extract or preserve a
+// portion of the value.
+message TimePartConfig {
+ // Components that make up time.
+ enum TimePart {
+ // Unused
+ TIME_PART_UNSPECIFIED = 0;
+
+ // [0-9999]
+ YEAR = 1;
+
+ // [1-12]
+ MONTH = 2;
+
+ // [1-31]
+ DAY_OF_MONTH = 3;
+
+ // [1-7]
+ DAY_OF_WEEK = 4;
+
+ // [1-53]
+ WEEK_OF_YEAR = 5;
+
+ // [0-23]
+ HOUR_OF_DAY = 6;
+ }
+
+ // The part of the time to keep.
+ TimePart part_to_extract = 1;
+}
+
+// Pseudonymization method that generates surrogates via cryptographic hashing.
+// Uses SHA-256.
+// The key size must be either 32 or 64 bytes.
+// Outputs a base64 encoded representation of the hashed output
+// (for example, L7k0BHmF1ha5U3NfGykjro4xWi1MPVQPjhMAZbSV9mM=).
+// Currently, only string and integer values can be hashed.
+// See https://cloud.google.com/sensitive-data-protection/docs/pseudonymization
+// to learn more.
+message CryptoHashConfig {
+ // The key used by the hash function.
+ CryptoKey crypto_key = 1;
+}
+
+// Pseudonymization method that generates deterministic encryption for the given
+// input. Outputs a base64 encoded representation of the encrypted output.
+// Uses AES-SIV based on the RFC https://tools.ietf.org/html/rfc5297.
+message CryptoDeterministicConfig {
+ // The key used by the encryption function. For deterministic encryption
+ // using AES-SIV, the provided key is internally expanded to 64 bytes prior to
+ // use.
+ CryptoKey crypto_key = 1;
+
+ // The custom info type to annotate the surrogate with.
+ // This annotation will be applied to the surrogate by prefixing it with
+ // the name of the custom info type followed by the number of
+ // characters comprising the surrogate. The following scheme defines the
+ // format: {info type name}({surrogate character count}):{surrogate}
+ //
+ // For example, if the name of custom info type is 'MY_TOKEN_INFO_TYPE' and
+ // the surrogate is 'abc', the full replacement value
+ // will be: 'MY_TOKEN_INFO_TYPE(3):abc'
+ //
+ // This annotation identifies the surrogate when inspecting content using the
+ // custom info type 'Surrogate'. This facilitates reversal of the
+ // surrogate when it occurs in free text.
+ //
+ // Note: For record transformations where the entire cell in a table is being
+ // transformed, surrogates are not mandatory. Surrogates are used to denote
+ // the location of the token and are necessary for re-identification in free
+ // form text.
+ //
+ // In order for inspection to work properly, the name of this info type must
+ // not occur naturally anywhere in your data; otherwise, inspection may either
+ //
+ // - reverse a surrogate that does not correspond to an actual identifier
+ // - be unable to parse the surrogate and result in an error
+ //
+ // Therefore, choose your custom info type name carefully after considering
+ // what your data looks like. One way to select a name that has a high chance
+ // of yielding reliable detection is to include one or more unicode characters
+ // that are highly improbable to exist in your data.
+ // For example, assuming your data is entered from a regular ASCII keyboard,
+ // the symbol with the hex code point 29DD might be used like so:
+ // ⧝MY_TOKEN_TYPE.
+ InfoType surrogate_info_type = 2;
+
+ // A context may be used for higher security and maintaining
+ // referential integrity such that the same identifier in two different
+ // contexts will be given a distinct surrogate. The context is appended to
+ // plaintext value being encrypted. On decryption the provided context is
+ // validated against the value used during encryption. If a context was
+ // provided during encryption, same context must be provided during decryption
+ // as well.
+ //
+ // If the context is not set, plaintext would be used as is for encryption.
+ // If the context is set but:
+ //
+ // 1. there is no record present when transforming a given value or
+ // 2. the field is not present when transforming a given value,
+ //
+ // plaintext would be used as is for encryption.
+ //
+ // Note that case (1) is expected when an `InfoTypeTransformation` is
+ // applied to both structured and unstructured `ContentItem`s.
+ FieldId context = 3;
+}
+
+// Replace each input value with a given `Value`.
+message ReplaceValueConfig {
+ // Value to replace it with.
+ Value new_value = 1;
+}
+
+// Replace each input value with a value randomly selected from the dictionary.
+message ReplaceDictionaryConfig {
+ // Type of dictionary.
+ oneof type {
+ // A list of words to select from for random replacement. The
+ // [limits](https://cloud.google.com/sensitive-data-protection/limits) page
+ // contains details about the size limits of dictionaries.
+ CustomInfoType.Dictionary.WordList word_list = 1;
+ }
+}
+
+// Replace each matching finding with the name of the info_type.
+message ReplaceWithInfoTypeConfig {}
+
+// Redact a given value. For example, if used with an `InfoTypeTransformation`
+// transforming PHONE_NUMBER, and input 'My phone number is 206-555-0123', the
+// output would be 'My phone number is '.
+message RedactConfig {}
+
+// Characters to skip when doing deidentification of a value. These will be left
+// alone and skipped.
+message CharsToIgnore {
+ // Convenience enum for indicating common characters to not transform.
+ enum CommonCharsToIgnore {
+ // Unused.
+ COMMON_CHARS_TO_IGNORE_UNSPECIFIED = 0;
+
+ // 0-9
+ NUMERIC = 1;
+
+ // A-Z
+ ALPHA_UPPER_CASE = 2;
+
+ // a-z
+ ALPHA_LOWER_CASE = 3;
+
+ // US Punctuation, one of !"#$%&'()*+,-./:;<=>?@[\]^_`{|}~
+ PUNCTUATION = 4;
+
+ // Whitespace character, one of [ \t\n\x0B\f\r]
+ WHITESPACE = 5;
+ }
+
+ // Type of characters to skip.
+ oneof characters {
+ // Characters to not transform when masking.
+ string characters_to_skip = 1;
+
+ // Common characters to not transform when masking. Useful to avoid removing
+ // punctuation.
+ CommonCharsToIgnore common_characters_to_ignore = 2;
+ }
+}
+
+// Partially mask a string by replacing a given number of characters with a
+// fixed character. Masking can start from the beginning or end of the string.
+// This can be used on data of any type (numbers, longs, and so on) and when
+// de-identifying structured data we'll attempt to preserve the original data's
+// type. (This allows you to take a long like 123 and modify it to a string like
+// **3.
+message CharacterMaskConfig {
+ // Character to use to mask the sensitive values—for example, `*` for an
+ // alphabetic string such as a name, or `0` for a numeric string such as ZIP
+ // code or credit card number. This string must have a length of 1. If not
+ // supplied, this value defaults to `*` for strings, and `0` for digits.
+ string masking_character = 1;
+
+ // Number of characters to mask. If not set, all matching chars will be
+ // masked. Skipped characters do not count towards this tally.
+ //
+ // If `number_to_mask` is negative, this denotes inverse masking. Cloud DLP
+ // masks all but a number of characters.
+ // For example, suppose you have the following values:
+ //
+ // - `masking_character` is `*`
+ // - `number_to_mask` is `-4`
+ // - `reverse_order` is `false`
+ // - `CharsToIgnore` includes `-`
+ // - Input string is `1234-5678-9012-3456`
+ //
+ // The resulting de-identified string is
+ // `****-****-****-3456`. Cloud DLP masks all but the last four characters.
+ // If `reverse_order` is `true`, all but the first four characters are masked
+ // as `1234-****-****-****`.
+ int32 number_to_mask = 2;
+
+ // Mask characters in reverse order. For example, if `masking_character` is
+ // `0`, `number_to_mask` is `14`, and `reverse_order` is `false`, then the
+ // input string `1234-5678-9012-3456` is masked as `00000000000000-3456`.
+ // If `masking_character` is `*`, `number_to_mask` is `3`, and `reverse_order`
+ // is `true`, then the string `12345` is masked as `12***`.
+ bool reverse_order = 3;
+
+ // When masking a string, items in this list will be skipped when replacing
+ // characters. For example, if the input string is `555-555-5555` and you
+ // instruct Cloud DLP to skip `-` and mask 5 characters with `*`, Cloud DLP
+ // returns `***-**5-5555`.
+ repeated CharsToIgnore characters_to_ignore = 4;
+}
+
+// Buckets values based on fixed size ranges. The
+// Bucketing transformation can provide all of this functionality,
+// but requires more configuration. This message is provided as a convenience to
+// the user for simple bucketing strategies.
+//
+// The transformed value will be a hyphenated string of
+// {lower_bound}-{upper_bound}. For example, if lower_bound = 10 and upper_bound
+// = 20, all values that are within this bucket will be replaced with "10-20".
+//
+// This can be used on data of type: double, long.
+//
+// If the bound Value type differs from the type of data
+// being transformed, we will first attempt converting the type of the data to
+// be transformed to match the type of the bound before comparing.
+//
+// See
+// https://cloud.google.com/sensitive-data-protection/docs/concepts-bucketing to
+// learn more.
+message FixedSizeBucketingConfig {
+ // Required. Lower bound value of buckets. All values less than `lower_bound`
+ // are grouped together into a single bucket; for example if `lower_bound` =
+ // 10, then all values less than 10 are replaced with the value "-10".
+ Value lower_bound = 1 [(google.api.field_behavior) = REQUIRED];
+
+ // Required. Upper bound value of buckets. All values greater than upper_bound
+ // are grouped together into a single bucket; for example if `upper_bound` =
+ // 89, then all values greater than 89 are replaced with the value "89+".
+ Value upper_bound = 2 [(google.api.field_behavior) = REQUIRED];
+
+ // Required. Size of each bucket (except for minimum and maximum buckets). So
+ // if `lower_bound` = 10, `upper_bound` = 89, and `bucket_size` = 10, then the
+ // following buckets would be used: -10, 10-20, 20-30, 30-40, 40-50, 50-60,
+ // 60-70, 70-80, 80-89, 89+. Precision up to 2 decimals works.
+ double bucket_size = 3 [(google.api.field_behavior) = REQUIRED];
+}
+
+// Generalization function that buckets values based on ranges. The ranges and
+// replacement values are dynamically provided by the user for custom behavior,
+// such as 1-30 -> LOW, 31-65 -> MEDIUM, 66-100 -> HIGH.
+//
+// This can be used on data of type: number, long, string, timestamp.
+//
+// If the bound `Value` type differs from the type of data being transformed, we
+// will first attempt converting the type of the data to be transformed to match
+// the type of the bound before comparing.
+// See
+// https://cloud.google.com/sensitive-data-protection/docs/concepts-bucketing to
+// learn more.
+message BucketingConfig {
+ // Bucket is represented as a range, along with replacement values.
+ message Bucket {
+ // Lower bound of the range, inclusive. Type should be the same as max if
+ // used.
+ Value min = 1;
+
+ // Upper bound of the range, exclusive; type must match min.
+ Value max = 2;
+
+ // Required. Replacement value for this bucket.
+ Value replacement_value = 3 [(google.api.field_behavior) = REQUIRED];
+ }
+
+ // Set of buckets. Ranges must be non-overlapping.
+ repeated Bucket buckets = 1;
+}
+
+// Replaces an identifier with a surrogate using Format Preserving Encryption
+// (FPE) with the FFX mode of operation; however when used in the
+// `ReidentifyContent` API method, it serves the opposite function by reversing
+// the surrogate back into the original identifier. The identifier must be
+// encoded as ASCII. For a given crypto key and context, the same identifier
+// will be replaced with the same surrogate. Identifiers must be at least two
+// characters long. In the case that the identifier is the empty string, it will
+// be skipped. See
+// https://cloud.google.com/sensitive-data-protection/docs/pseudonymization to
+// learn more.
+//
+// Note: We recommend using CryptoDeterministicConfig for all use cases which
+// do not require preserving the input alphabet space and size, plus warrant
+// referential integrity. FPE incurs significant latency costs.
+message CryptoReplaceFfxFpeConfig {
+ // These are commonly used subsets of the alphabet that the FFX mode
+ // natively supports. In the algorithm, the alphabet is selected using
+ // the "radix". Therefore each corresponds to a particular radix.
+ enum FfxCommonNativeAlphabet {
+ // Unused.
+ FFX_COMMON_NATIVE_ALPHABET_UNSPECIFIED = 0;
+
+ // `[0-9]` (radix of 10)
+ NUMERIC = 1;
+
+ // `[0-9A-F]` (radix of 16)
+ HEXADECIMAL = 2;
+
+ // `[0-9A-Z]` (radix of 36)
+ UPPER_CASE_ALPHA_NUMERIC = 3;
+
+ // `[0-9A-Za-z]` (radix of 62)
+ ALPHA_NUMERIC = 4;
+ }
+
+ // Required. The key used by the encryption algorithm.
+ CryptoKey crypto_key = 1 [(google.api.field_behavior) = REQUIRED];
+
+ // The 'tweak', a context may be used for higher security since the same
+ // identifier in two different contexts won't be given the same surrogate. If
+ // the context is not set, a default tweak will be used.
+ //
+ // If the context is set but:
+ //
+ // 1. there is no record present when transforming a given value or
+ // 1. the field is not present when transforming a given value,
+ //
+ // a default tweak will be used.
+ //
+ // Note that case (1) is expected when an `InfoTypeTransformation` is
+ // applied to both structured and unstructured `ContentItem`s.
+ // Currently, the referenced field may be of value type integer or string.
+ //
+ // The tweak is constructed as a sequence of bytes in big endian byte order
+ // such that:
+ //
+ // - a 64 bit integer is encoded followed by a single byte of value 1
+ // - a string is encoded in UTF-8 format followed by a single byte of value 2
+ FieldId context = 2;
+
+ // Choose an alphabet which the data being transformed will be made up of.
+ oneof alphabet {
+ // Common alphabets.
+ FfxCommonNativeAlphabet common_alphabet = 4;
+
+ // This is supported by mapping these to the alphanumeric characters
+ // that the FFX mode natively supports. This happens before/after
+ // encryption/decryption.
+ // Each character listed must appear only once.
+ // Number of characters must be in the range [2, 95].
+ // This must be encoded as ASCII.
+ // The order of characters does not matter.
+ // The full list of allowed characters is:
+ // ``0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz~`!@#$%^&*()_-+={[}]|\:;"'<,>.?/``
+ string custom_alphabet = 5;
+
+ // The native way to select the alphabet. Must be in the range [2, 95].
+ int32 radix = 6;
+ }
+
+ // The custom infoType to annotate the surrogate with.
+ // This annotation will be applied to the surrogate by prefixing it with
+ // the name of the custom infoType followed by the number of
+ // characters comprising the surrogate. The following scheme defines the
+ // format: info_type_name(surrogate_character_count):surrogate
+ //
+ // For example, if the name of custom infoType is 'MY_TOKEN_INFO_TYPE' and
+ // the surrogate is 'abc', the full replacement value
+ // will be: 'MY_TOKEN_INFO_TYPE(3):abc'
+ //
+ // This annotation identifies the surrogate when inspecting content using the
+ // custom infoType
+ // [`SurrogateType`](https://cloud.google.com/sensitive-data-protection/docs/reference/rest/v2/InspectConfig#surrogatetype).
+ // This facilitates reversal of the surrogate when it occurs in free text.
+ //
+ // In order for inspection to work properly, the name of this infoType must
+ // not occur naturally anywhere in your data; otherwise, inspection may
+ // find a surrogate that does not correspond to an actual identifier.
+ // Therefore, choose your custom infoType name carefully after considering
+ // what your data looks like. One way to select a name that has a high chance
+ // of yielding reliable detection is to include one or more unicode characters
+ // that are highly improbable to exist in your data.
+ // For example, assuming your data is entered from a regular ASCII keyboard,
+ // the symbol with the hex code point 29DD might be used like so:
+ // ⧝MY_TOKEN_TYPE
+ InfoType surrogate_info_type = 8;
+}
+
+// This is a data encryption key (DEK) (as opposed to
+// a key encryption key (KEK) stored by Cloud Key Management Service
+// (Cloud KMS).
+// When using Cloud KMS to wrap or unwrap a DEK, be sure to set an appropriate
+// IAM policy on the KEK to ensure an attacker cannot
+// unwrap the DEK.
+message CryptoKey {
+ // Sources of crypto keys.
+ oneof source {
+ // Transient crypto key
+ TransientCryptoKey transient = 1;
+
+ // Unwrapped crypto key
+ UnwrappedCryptoKey unwrapped = 2;
+
+ // Key wrapped using Cloud KMS
+ KmsWrappedCryptoKey kms_wrapped = 3;
+ }
+}
+
+// Use this to have a random data crypto key generated.
+// It will be discarded after the request finishes.
+message TransientCryptoKey {
+ // Required. Name of the key.
+ // This is an arbitrary string used to differentiate different keys.
+ // A unique key is generated per name: two separate `TransientCryptoKey`
+ // protos share the same generated key if their names are the same.
+ // When the data crypto key is generated, this name is not used in any way
+ // (repeating the api call will result in a different key being generated).
+ string name = 1 [(google.api.field_behavior) = REQUIRED];
+}
+
+// Using raw keys is prone to security risks due to accidentally
+// leaking the key. Choose another type of key if possible.
+message UnwrappedCryptoKey {
+ // Required. A 128/192/256 bit key.
+ bytes key = 1 [(google.api.field_behavior) = REQUIRED];
+}
+
+// Include to use an existing data crypto key wrapped by KMS.
+// The wrapped key must be a 128-, 192-, or 256-bit key.
+// Authorization requires the following IAM permissions when sending a request
+// to perform a crypto transformation using a KMS-wrapped crypto key:
+// dlp.kms.encrypt
+//
+// For more information, see [Creating a wrapped key]
+// (https://cloud.google.com/sensitive-data-protection/docs/create-wrapped-key).
+//
+// Note: When you use Cloud KMS for cryptographic operations,
+// [charges apply](https://cloud.google.com/kms/pricing).
+message KmsWrappedCryptoKey {
+ // Required. The wrapped data crypto key.
+ bytes wrapped_key = 1 [(google.api.field_behavior) = REQUIRED];
+
+ // Required. The resource name of the KMS CryptoKey to use for unwrapping.
+ string crypto_key_name = 2 [(google.api.field_behavior) = REQUIRED];
+}
+
+// Shifts dates by random number of days, with option to be consistent for the
+// same context. See
+// https://cloud.google.com/sensitive-data-protection/docs/concepts-date-shifting
+// to learn more.
+message DateShiftConfig {
+ // Required. Range of shift in days. Actual shift will be selected at random
+ // within this range (inclusive ends). Negative means shift to earlier in
+ // time. Must not be more than 365250 days (1000 years) each direction.
+ //
+ // For example, 3 means shift date to at most 3 days into the future.
+ int32 upper_bound_days = 1 [(google.api.field_behavior) = REQUIRED];
+
+ // Required. For example, -5 means shift date to at most 5 days back in the
+ // past.
+ int32 lower_bound_days = 2 [(google.api.field_behavior) = REQUIRED];
+
+ // Points to the field that contains the context, for example, an entity id.
+ // If set, must also set cryptoKey. If set, shift will be consistent for the
+ // given context.
+ FieldId context = 3;
+
+ // Method for calculating shift that takes context into consideration. If
+ // set, must also set context. Can only be applied to table items.
+ oneof method {
+ // Causes the shift to be computed based on this key and the context. This
+ // results in the same shift for the same context and crypto_key. If
+ // set, must also set context. Can only be applied to table items.
+ CryptoKey crypto_key = 4;
+ }
+}
+
+// A type of transformation that will scan unstructured text and
+// apply various `PrimitiveTransformation`s to each finding, where the
+// transformation is applied to only values that were identified as a specific
+// info_type.
+message InfoTypeTransformations {
+ // A transformation to apply to text that is identified as a specific
+ // info_type.
+ message InfoTypeTransformation {
+ // InfoTypes to apply the transformation to. An empty list will cause
+ // this transformation to apply to all findings that correspond to
+ // infoTypes that were requested in `InspectConfig`.
+ repeated InfoType info_types = 1;
+
+ // Required. Primitive transformation to apply to the infoType.
+ PrimitiveTransformation primitive_transformation = 2
+ [(google.api.field_behavior) = REQUIRED];
+ }
+
+ // Required. Transformation for each infoType. Cannot specify more than one
+ // for a given infoType.
+ repeated InfoTypeTransformation transformations = 1
+ [(google.api.field_behavior) = REQUIRED];
+}
+
+// The transformation to apply to the field.
+message FieldTransformation {
+ // Required. Input field(s) to apply the transformation to.
+ // When you have columns that reference their position within a list,
+ // omit the index from the FieldId. FieldId name matching ignores the index.
+ // For example, instead of "contact.nums[0].type", use "contact.nums.type".
+ repeated FieldId fields = 1 [(google.api.field_behavior) = REQUIRED];
+
+ // Only apply the transformation if the condition evaluates to true for the
+ // given `RecordCondition`. The conditions are allowed to reference fields
+ // that are not used in the actual transformation.
+ //
+ // Example Use Cases:
+ //
+ // - Apply a different bucket transformation to an age column if the zip code
+ // column for the same record is within a specific range.
+ // - Redact a field if the date of birth field is greater than 85.
+ RecordCondition condition = 3;
+
+ // Transformation to apply. [required]
+ oneof transformation {
+ // Apply the transformation to the entire field.
+ PrimitiveTransformation primitive_transformation = 4;
+
+ // Treat the contents of the field as free text, and selectively
+ // transform content that matches an `InfoType`.
+ InfoTypeTransformations info_type_transformations = 5;
+ }
+}
+
+// A type of transformation that is applied over structured data such as a
+// table.
+message RecordTransformations {
+ // Transform the record by applying various field transformations.
+ repeated FieldTransformation field_transformations = 1;
+
+ // Configuration defining which records get suppressed entirely. Records that
+ // match any suppression rule are omitted from the output.
+ repeated RecordSuppression record_suppressions = 2;
+}
+
+// Configuration to suppress records whose suppression conditions evaluate to
+// true.
+message RecordSuppression {
+ // A condition that when it evaluates to true will result in the record being
+ // evaluated to be suppressed from the transformed content.
+ RecordCondition condition = 1;
+}
+
+// A condition for determining whether a transformation should be applied to
+// a field.
+message RecordCondition {
+ // The field type of `value` and `field` do not need to match to be
+ // considered equal, but not all comparisons are possible.
+ // EQUAL_TO and NOT_EQUAL_TO attempt to compare even with incompatible types,
+ // but all other comparisons are invalid with incompatible types.
+ // A `value` of type:
+ //
+ // - `string` can be compared against all other types
+ // - `boolean` can only be compared against other booleans
+ // - `integer` can be compared against doubles or a string if the string value
+ // can be parsed as an integer.
+ // - `double` can be compared against integers or a string if the string can
+ // be parsed as a double.
+ // - `Timestamp` can be compared against strings in RFC 3339 date string
+ // format.
+ // - `TimeOfDay` can be compared against timestamps and strings in the format
+ // of 'HH:mm:ss'.
+ //
+ // If we fail to compare do to type mismatch, a warning will be given and
+ // the condition will evaluate to false.
+ message Condition {
+ // Required. Field within the record this condition is evaluated against.
+ FieldId field = 1 [(google.api.field_behavior) = REQUIRED];
+
+ // Required. Operator used to compare the field or infoType to the value.
+ RelationalOperator operator = 3 [(google.api.field_behavior) = REQUIRED];
+
+ // Value to compare against. [Mandatory, except for `EXISTS` tests.]
+ Value value = 4;
+ }
+
+ // A collection of conditions.
+ message Conditions {
+ // A collection of conditions.
+ repeated Condition conditions = 1;
+ }
+
+ // An expression, consisting of an operator and conditions.
+ message Expressions {
+ // Logical operators for conditional checks.
+ enum LogicalOperator {
+ // Unused
+ LOGICAL_OPERATOR_UNSPECIFIED = 0;
+
+ // Conditional AND
+ AND = 1;
+ }
+
+ // The operator to apply to the result of conditions. Default and currently
+ // only supported value is `AND`.
+ LogicalOperator logical_operator = 1;
+
+ // Expression types.
+ oneof type {
+ // Conditions to apply to the expression.
+ Conditions conditions = 3;
+ }
+ }
+
+ // An expression.
+ Expressions expressions = 3;
+}
+
+// Overview of the modifications that occurred.
+message TransformationOverview {
+ // Total size in bytes that were transformed in some way.
+ int64 transformed_bytes = 2;
+
+ // Transformations applied to the dataset.
+ repeated TransformationSummary transformation_summaries = 3;
+}
+
+// Summary of a single transformation.
+// Only one of 'transformation', 'field_transformation', or 'record_suppress'
+// will be set.
+message TransformationSummary {
+ // Possible outcomes of transformations.
+ enum TransformationResultCode {
+ // Unused
+ TRANSFORMATION_RESULT_CODE_UNSPECIFIED = 0;
+
+ // Transformation completed without an error.
+ SUCCESS = 1;
+
+ // Transformation had an error.
+ ERROR = 2;
+ }
+
+ // A collection that informs the user the number of times a particular
+ // `TransformationResultCode` and error details occurred.
+ message SummaryResult {
+ // Number of transformations counted by this result.
+ int64 count = 1;
+
+ // Outcome of the transformation.
+ TransformationResultCode code = 2;
+
+ // A place for warnings or errors to show up if a transformation didn't
+ // work as expected.
+ string details = 3;
+ }
+
+ // Set if the transformation was limited to a specific InfoType.
+ InfoType info_type = 1;
+
+ // Set if the transformation was limited to a specific FieldId.
+ FieldId field = 2;
+
+ // The specific transformation these stats apply to.
+ PrimitiveTransformation transformation = 3;
+
+ // The field transformation that was applied.
+ // If multiple field transformations are requested for a single field,
+ // this list will contain all of them; otherwise, only one is supplied.
+ repeated FieldTransformation field_transformations = 5;
+
+ // The specific suppression option these stats apply to.
+ RecordSuppression record_suppress = 6;
+
+ // Collection of all transformations that took place or had an error.
+ repeated SummaryResult results = 4;
+
+ // Total size in bytes that were transformed in some way.
+ int64 transformed_bytes = 7;
+}
+
+// A flattened description of a `PrimitiveTransformation` or
+// `RecordSuppression`.
+message TransformationDescription {
+ // The transformation type.
+ TransformationType type = 1;
+
+ // A description of the transformation. This is empty for a
+ // RECORD_SUPPRESSION, or is the output of calling toString() on the
+ // `PrimitiveTransformation` protocol buffer message for any other type of
+ // transformation.
+ string description = 2;
+
+ // A human-readable string representation of the `RecordCondition`
+ // corresponding to this transformation. Set if a `RecordCondition` was used
+ // to determine whether or not to apply this transformation.
+ //
+ // Examples:
+ // * (age_field > 85)
+ // * (age_field <= 18)
+ // * (zip_field exists)
+ // * (zip_field == 01234) && (city_field != "Springville")
+ // * (zip_field == 01234) && (age_field <= 18) && (city_field exists)
+ string condition = 3;
+
+ // Set if the transformation was limited to a specific `InfoType`.
+ InfoType info_type = 4;
+}
+
+// Details about a single transformation. This object contains a description of
+// the transformation, information about whether the transformation was
+// successfully applied, and the precise location where the transformation
+// occurred. These details are stored in a user-specified BigQuery table.
+message TransformationDetails {
+ // The name of the job that completed the transformation.
+ string resource_name = 1;
+
+ // The top level name of the container where the transformation is located
+ // (this will be the source file name or table name).
+ string container_name = 2;
+
+ // Description of transformation. This would only contain more than one
+ // element if there were multiple matching transformations and which one to
+ // apply was ambiguous. Not set for states that contain no transformation,
+ // currently only state that contains no transformation is
+ // TransformationResultStateType.METADATA_UNRETRIEVABLE.
+ repeated TransformationDescription transformation = 3;
+
+ // Status of the transformation, if transformation was not successful, this
+ // will specify what caused it to fail, otherwise it will show that the
+ // transformation was successful.
+ TransformationResultStatus status_details = 4;
+
+ // The number of bytes that were transformed. If transformation was
+ // unsuccessful or did not take place because there was no content to
+ // transform, this will be zero.
+ int64 transformed_bytes = 5;
+
+ // The precise location of the transformed content in the original container.
+ TransformationLocation transformation_location = 6;
+}
+
+// Specifies the location of a transformation.
+message TransformationLocation {
+ // Location type.
+ oneof location_type {
+ // For infotype transformations, link to the corresponding findings ID so
+ // that location information does not need to be duplicated. Each findings
+ // ID correlates to an entry in the findings output table, this table only
+ // gets created when users specify to save findings (add the save findings
+ // action to the request).
+ string finding_id = 1;
+
+ // For record transformations, provide a field and container information.
+ RecordTransformation record_transformation = 2;
+ }
+
+ // Information about the functionality of the container where this finding
+ // occurred, if available.
+ TransformationContainerType container_type = 3;
+}
+
+// The field in a record to transform.
+message RecordTransformation {
+ // For record transformations, provide a field.
+ FieldId field_id = 1;
+
+ // Findings container modification timestamp, if applicable.
+ google.protobuf.Timestamp container_timestamp = 2;
+
+ // Container version, if available ("generation" for Cloud Storage).
+ string container_version = 3;
+}
+
+// The outcome of a transformation.
+message TransformationResultStatus {
+ // Transformation result status type, this will be either SUCCESS, or it will
+ // be the reason for why the transformation was not completely successful.
+ TransformationResultStatusType result_status_type = 1;
+
+ // Detailed error codes and messages
+ google.rpc.Status details = 2;
+}
+
+// Enum of possible outcomes of transformations. SUCCESS if transformation and
+// storing of transformation was successful, otherwise, reason for not
+// transforming.
+enum TransformationResultStatusType {
+ // Unused.
+ STATE_TYPE_UNSPECIFIED = 0;
+
+ // This will be set when a finding could not be transformed (i.e. outside user
+ // set bucket range).
+ INVALID_TRANSFORM = 1;
+
+ // This will be set when a BigQuery transformation was successful but could
+ // not be stored back in BigQuery because the transformed row exceeds
+ // BigQuery's max row size.
+ BIGQUERY_MAX_ROW_SIZE_EXCEEDED = 2;
+
+ // This will be set when there is a finding in the custom metadata of a file,
+ // but at the write time of the transformed file, this key / value pair is
+ // unretrievable.
+ METADATA_UNRETRIEVABLE = 3;
+
+ // This will be set when the transformation and storing of it is successful.
+ SUCCESS = 4;
+}
+
+// Describes functionality of a given container in its original format.
+enum TransformationContainerType {
+ // Unused.
+ TRANSFORM_UNKNOWN_CONTAINER = 0;
+
+ // Body of a file.
+ TRANSFORM_BODY = 1;
+
+ // Metadata for a file.
+ TRANSFORM_METADATA = 2;
+
+ // A table.
+ TRANSFORM_TABLE = 3;
+}
+
+// An enum of rules that can be used to transform a value. Can be a
+// record suppression, or one of the transformation rules specified under
+// `PrimitiveTransformation`.
+enum TransformationType {
+ // Unused
+ TRANSFORMATION_TYPE_UNSPECIFIED = 0;
+
+ // Record suppression
+ RECORD_SUPPRESSION = 1;
+
+ // Replace value
+ REPLACE_VALUE = 2;
+
+ // Replace value using a dictionary.
+ REPLACE_DICTIONARY = 15;
+
+ // Redact
+ REDACT = 3;
+
+ // Character mask
+ CHARACTER_MASK = 4;
+
+ // FFX-FPE
+ CRYPTO_REPLACE_FFX_FPE = 5;
+
+ // Fixed size bucketing
+ FIXED_SIZE_BUCKETING = 6;
+
+ // Bucketing
+ BUCKETING = 7;
+
+ // Replace with info type
+ REPLACE_WITH_INFO_TYPE = 8;
+
+ // Time part
+ TIME_PART = 9;
+
+ // Crypto hash
+ CRYPTO_HASH = 10;
+
+ // Date shift
+ DATE_SHIFT = 12;
+
+ // Deterministic crypto
+ CRYPTO_DETERMINISTIC_CONFIG = 13;
+
+ // Redact image
+ REDACT_IMAGE = 14;
+}
+
+// Config for storing transformation details.
+message TransformationDetailsStorageConfig {
+ // Location to store the transformation summary.
+ oneof type {
+ // The BigQuery table in which to store the output. This may be an existing
+ // table or in a new table in an existing dataset.
+ // If table_id is not set a new one will be generated for you with the
+ // following format:
+ // dlp_googleapis_transformation_details_yyyy_mm_dd_[dlp_job_id]. Pacific
+ // time zone will be used for generating the date details.
+ BigQueryTable table = 1;
+ }
+}
+
+// Schedule for inspect job triggers.
+message Schedule {
+ // Type of schedule.
+ oneof option {
+ // With this option a job is started on a regular periodic basis. For
+ // example: every day (86400 seconds).
+ //
+ // A scheduled start time will be skipped if the previous
+ // execution has not ended when its scheduled time occurs.
+ //
+ // This value must be set to a time duration greater than or equal
+ // to 1 day and can be no longer than 60 days.
+ google.protobuf.Duration recurrence_period_duration = 1;
+ }
+}
+
+// Job trigger option for hybrid jobs. Jobs must be manually created
+// and finished.
+message Manual {}
+
+// The inspectTemplate contains a configuration (set of types of sensitive data
+// to be detected) to be used anywhere you otherwise would normally specify
+// InspectConfig. See
+// https://cloud.google.com/sensitive-data-protection/docs/concepts-templates to
+// learn more.
+message InspectTemplate {
+ option (google.api.resource) = {
+ type: "dlp.googleapis.com/InspectTemplate"
+ pattern: "organizations/{organization}/inspectTemplates/{inspect_template}"
+ pattern: "projects/{project}/inspectTemplates/{inspect_template}"
+ pattern: "organizations/{organization}/locations/{location}/inspectTemplates/{inspect_template}"
+ pattern: "projects/{project}/locations/{location}/inspectTemplates/{inspect_template}"
+ };
+
+ // Output only. The template name.
+ //
+ // The template will have one of the following formats:
+ // `projects/PROJECT_ID/inspectTemplates/TEMPLATE_ID` OR
+ // `organizations/ORGANIZATION_ID/inspectTemplates/TEMPLATE_ID`;
+ string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Display name (max 256 chars).
+ string display_name = 2;
+
+ // Short description (max 256 chars).
+ string description = 3;
+
+ // Output only. The creation timestamp of an inspectTemplate.
+ google.protobuf.Timestamp create_time = 4
+ [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Output only. The last update timestamp of an inspectTemplate.
+ google.protobuf.Timestamp update_time = 5
+ [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // The core content of the template. Configuration of the scanning process.
+ InspectConfig inspect_config = 6;
+}
+
+// DeidentifyTemplates contains instructions on how to de-identify content.
+// See
+// https://cloud.google.com/sensitive-data-protection/docs/concepts-templates to
+// learn more.
+message DeidentifyTemplate {
+ option (google.api.resource) = {
+ type: "dlp.googleapis.com/DeidentifyTemplate"
+ pattern: "organizations/{organization}/deidentifyTemplates/{deidentify_template}"
+ pattern: "projects/{project}/deidentifyTemplates/{deidentify_template}"
+ pattern: "organizations/{organization}/locations/{location}/deidentifyTemplates/{deidentify_template}"
+ pattern: "projects/{project}/locations/{location}/deidentifyTemplates/{deidentify_template}"
+ };
+
+ // Output only. The template name.
+ //
+ // The template will have one of the following formats:
+ // `projects/PROJECT_ID/deidentifyTemplates/TEMPLATE_ID` OR
+ // `organizations/ORGANIZATION_ID/deidentifyTemplates/TEMPLATE_ID`
+ string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Display name (max 256 chars).
+ string display_name = 2;
+
+ // Short description (max 256 chars).
+ string description = 3;
+
+ // Output only. The creation timestamp of an inspectTemplate.
+ google.protobuf.Timestamp create_time = 4
+ [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Output only. The last update timestamp of an inspectTemplate.
+ google.protobuf.Timestamp update_time = 5
+ [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // The core content of the template.
+ DeidentifyConfig deidentify_config = 6;
+}
+
+// Details information about an error encountered during job execution or
+// the results of an unsuccessful activation of the JobTrigger.
+message Error {
+ // Additional information about the error.
+ enum ErrorExtraInfo {
+ // Unused.
+ ERROR_INFO_UNSPECIFIED = 0;
+
+ // Image scan is not available in the region.
+ IMAGE_SCAN_UNAVAILABLE_IN_REGION = 1;
+
+ // File store cluster is not supported for profile generation.
+ FILE_STORE_CLUSTER_UNSUPPORTED = 2;
+ }
+
+ // Detailed error codes and messages.
+ google.rpc.Status details = 1;
+
+ // The times the error occurred. List includes the oldest timestamp and the
+ // last 9 timestamps.
+ repeated google.protobuf.Timestamp timestamps = 2;
+
+ // Additional information about the error.
+ ErrorExtraInfo extra_info = 4;
+}
+
+// Contains a configuration to make API calls on a repeating basis.
+// See
+// https://cloud.google.com/sensitive-data-protection/docs/concepts-job-triggers
+// to learn more.
+message JobTrigger {
+ option (google.api.resource) = {
+ type: "dlp.googleapis.com/JobTrigger"
+ pattern: "projects/{project}/jobTriggers/{job_trigger}"
+ pattern: "projects/{project}/locations/{location}/jobTriggers/{job_trigger}"
+ };
+
+ // What event needs to occur for a new job to be started.
+ message Trigger {
+ // What event needs to occur for a new job to be started.
+ oneof trigger {
+ // Create a job on a repeating basis based on the elapse of time.
+ Schedule schedule = 1;
+
+ // For use with hybrid jobs. Jobs must be manually created and finished.
+ Manual manual = 2;
+ }
+ }
+
+ // Whether the trigger is currently active. If PAUSED or CANCELLED, no jobs
+ // will be created with this configuration. The service may automatically
+ // pause triggers experiencing frequent errors. To restart a job, set the
+ // status to HEALTHY after correcting user errors.
+ enum Status {
+ // Unused.
+ STATUS_UNSPECIFIED = 0;
+
+ // Trigger is healthy.
+ HEALTHY = 1;
+
+ // Trigger is temporarily paused.
+ PAUSED = 2;
+
+ // Trigger is cancelled and can not be resumed.
+ CANCELLED = 3;
+ }
+
+ // Unique resource name for the triggeredJob, assigned by the service when the
+ // triggeredJob is created, for example
+ // `projects/dlp-test-project/jobTriggers/53234423`.
+ string name = 1;
+
+ // Display name (max 100 chars)
+ string display_name = 2;
+
+ // User provided description (max 256 chars)
+ string description = 3;
+
+ // The configuration details for the specific type of job to run.
+ oneof job {
+ // For inspect jobs, a snapshot of the configuration.
+ InspectJobConfig inspect_job = 4;
+ }
+
+ // A list of triggers which will be OR'ed together. Only one in the list
+ // needs to trigger for a job to be started. The list may contain only
+ // a single Schedule trigger and must have at least one object.
+ repeated Trigger triggers = 5;
+
+ // Output only. A stream of errors encountered when the trigger was activated.
+ // Repeated errors may result in the JobTrigger automatically being paused.
+ // Will return the last 100 errors. Whenever the JobTrigger is modified
+ // this list will be cleared.
+ repeated Error errors = 6 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Output only. The creation timestamp of a triggeredJob.
+ google.protobuf.Timestamp create_time = 7
+ [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Output only. The last update timestamp of a triggeredJob.
+ google.protobuf.Timestamp update_time = 8
+ [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Output only. The timestamp of the last time this trigger executed.
+ google.protobuf.Timestamp last_run_time = 9
+ [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Required. A status for this trigger.
+ Status status = 10 [(google.api.field_behavior) = REQUIRED];
+}
+
+// A task to execute on the completion of a job.
+// See https://cloud.google.com/sensitive-data-protection/docs/concepts-actions
+// to learn more.
+message Action {
+ // If set, the detailed findings will be persisted to the specified
+ // OutputStorageConfig. Only a single instance of this action can be
+ // specified.
+ // Compatible with: Inspect, Risk
+ message SaveFindings {
+ // Location to store findings outside of DLP.
+ OutputStorageConfig output_config = 1;
+ }
+
+ // Publish a message into a given Pub/Sub topic when DlpJob has completed. The
+ // message contains a single field, `DlpJobName`, which is equal to the
+ // finished job's
+ // [`DlpJob.name`](https://cloud.google.com/sensitive-data-protection/docs/reference/rest/v2/projects.dlpJobs#DlpJob).
+ // Compatible with: Inspect, Risk
+ message PublishToPubSub {
+ // Cloud Pub/Sub topic to send notifications to. The topic must have given
+ // publishing access rights to the DLP API service account executing
+ // the long running DlpJob sending the notifications.
+ // Format is projects/{project}/topics/{topic}.
+ string topic = 1;
+ }
+
+ // Publish the result summary of a DlpJob to [Security Command
+ // Center](https://cloud.google.com/security-command-center). This action is
+ // available for only projects that belong to an organization. This action
+ // publishes the count of finding instances and their infoTypes. The summary
+ // of findings are persisted in Security Command Center and are governed by
+ // [service-specific policies for Security Command
+ // Center](https://cloud.google.com/terms/service-terms). Only a single
+ // instance of this action can be specified. Compatible with: Inspect
+ message PublishSummaryToCscc {}
+
+ // Publish findings of a DlpJob to Data Catalog. In Data Catalog, tag
+ // templates are applied to the resource that Cloud DLP scanned. Data
+ // Catalog tag templates are stored in the same project and region where the
+ // BigQuery table exists. For Cloud DLP to create and apply the tag template,
+ // the Cloud DLP service agent must have the
+ // `roles/datacatalog.tagTemplateOwner` permission on the project. The tag
+ // template contains fields summarizing the results of the DlpJob. Any field
+ // values previously written by another DlpJob are deleted. [InfoType naming
+ // patterns][google.privacy.dlp.v2.InfoType] are strictly enforced when using
+ // this feature.
+ //
+ // Findings are persisted in Data Catalog storage and are governed by
+ // service-specific policies for Data Catalog. For more information, see
+ // [Service Specific Terms](https://cloud.google.com/terms/service-terms).
+ //
+ // Only a single instance of this action can be specified. This action is
+ // allowed only if all resources being scanned are BigQuery tables.
+ // Compatible with: Inspect
+ message PublishFindingsToCloudDataCatalog {}
+
+ // Publish findings of a DlpJob to Dataplex Universal Catalog as a
+ // `sensitive-data-protection-job-result` aspect. For more information,
+ // see [Send inspection results to Dataplex Universal Catalog as
+ // aspects](https://cloud.google.com/sensitive-data-protection/docs/add-aspects-inspection-job).
+ //
+ // Aspects are stored in Dataplex Universal Catalog storage and are
+ // governed by service-specific policies for Dataplex Universal Catalog. For
+ // more information, see [Service Specific
+ // Terms](https://cloud.google.com/terms/service-terms).
+ //
+ // Only a single instance of this action can be specified. This action is
+ // allowed only if all resources being scanned are BigQuery tables.
+ // Compatible with: Inspect
+ message PublishFindingsToDataplexCatalog {}
+
+ // Create a de-identified copy of a storage bucket. Only compatible
+ // with Cloud Storage buckets.
+ //
+ //
+ // A TransformationDetail will be created for each transformation.
+ //
+ //
+ // Compatible with: Inspection of Cloud Storage
+ message Deidentify {
+ // User specified deidentify templates and configs for structured,
+ // unstructured, and image files.
+ TransformationConfig transformation_config = 7;
+
+ // Config for storing transformation details.
+ //
+ // This field specifies the configuration for storing detailed metadata
+ // about each transformation performed during a de-identification process.
+ // The metadata is stored separately from the de-identified content itself
+ // and provides a granular record of both successful transformations and any
+ // failures that occurred.
+ //
+ // Enabling this configuration is essential for users who need to access
+ // comprehensive information about the status, outcome, and specifics of
+ // each transformation. The details are captured in the
+ // [TransformationDetails][google.privacy.dlp.v2.TransformationDetails]
+ // message for each operation.
+ //
+ // Key use cases:
+ //
+ // * **Auditing and compliance**
+ // * Provides a verifiable audit trail of de-identification activities,
+ // which is crucial for meeting regulatory requirements and internal
+ // data governance policies.
+ // * Logs what data was transformed, what transformations were applied,
+ // when they occurred, and their success status. This helps
+ // demonstrate accountability and due diligence in protecting
+ // sensitive data.
+ //
+ // * **Troubleshooting and debugging**
+ // * Offers detailed error messages and context if a transformation
+ // fails. This information is useful for diagnosing and resolving
+ // issues in the de-identification pipeline.
+ // * Helps pinpoint the exact location and nature of failures, speeding
+ // up the debugging process.
+ //
+ // * **Process verification and quality assurance**
+ // * Allows users to confirm that de-identification rules and
+ // transformations were applied correctly and consistently across
+ // the dataset as intended.
+ // * Helps in verifying the effectiveness of the chosen
+ // de-identification strategies.
+ //
+ // * **Data lineage and impact analysis**
+ // * Creates a record of how data elements were modified, contributing
+ // to data lineage. This is useful for understanding the provenance
+ // of de-identified data.
+ // * Aids in assessing the potential impact of de-identification choices
+ // on downstream analytical processes or data usability.
+ //
+ // * **Reporting and operational insights**
+ // * You can analyze the metadata stored in a queryable BigQuery table
+ // to generate reports on transformation success rates, common
+ // error types, processing volumes (e.g., transformedBytes), and the
+ // types of transformations applied.
+ // * These insights can inform optimization of de-identification
+ // configurations and resource planning.
+ //
+ // To take advantage of these benefits, set this configuration. The stored
+ // details include a description of the transformation, success or
+ // error codes, error messages, the number of bytes transformed, the
+ // location of the transformed content, and identifiers for the job and
+ // source data.
+ TransformationDetailsStorageConfig transformation_details_storage_config =
+ 3;
+
+ // Where to store the output.
+ oneof output {
+ // Required. User settable Cloud Storage bucket and folders to store
+ // de-identified files. This field must be set for Cloud Storage
+ // deidentification. The output Cloud Storage bucket must be different
+ // from the input bucket. De-identified files will overwrite files in the
+ // output path.
+ //
+ // Form of: gs://bucket/folder/ or gs://bucket
+ string cloud_storage_output = 9 [(google.api.field_behavior) = REQUIRED];
+ }
+
+ // List of user-specified file type groups to transform. If specified, only
+ // the files with these file types are transformed. If empty, all
+ // supported files are transformed. Supported types may be automatically
+ // added over time. Any unsupported file types that are set in this field
+ // are excluded from de-identification. An error is recorded for each
+ // unsupported file in the TransformationDetails output table. Currently the
+ // only file types supported are: IMAGES, TEXT_FILES, CSV, TSV.
+ repeated FileType file_types_to_transform = 8;
+ }
+
+ // Sends an email when the job completes. The email goes to IAM project owners
+ // and technical [Essential
+ // Contacts](https://cloud.google.com/resource-manager/docs/managing-notification-contacts).
+ message JobNotificationEmails {}
+
+ // Enable Stackdriver metric dlp.googleapis.com/finding_count. This
+ // will publish a metric to stack driver on each infotype requested and
+ // how many findings were found for it. CustomDetectors will be bucketed
+ // as 'Custom' under the Stackdriver label 'info_type'.
+ message PublishToStackdriver {}
+
+ // Extra events to execute after the job has finished.
+ oneof action {
+ // Save resulting findings in a provided location.
+ SaveFindings save_findings = 1;
+
+ // Publish a notification to a Pub/Sub topic.
+ PublishToPubSub pub_sub = 2;
+
+ // Publish summary to Cloud Security Command Center (Alpha).
+ PublishSummaryToCscc publish_summary_to_cscc = 3;
+
+ // Deprecated because Data Catalog is being turned down. Use
+ // publish_findings_to_dataplex_catalog to publish findings to Dataplex
+ // Universal Catalog.
+ PublishFindingsToCloudDataCatalog publish_findings_to_cloud_data_catalog = 5
+ [deprecated = true];
+
+ // Publish findings as an aspect to Dataplex Universal Catalog.
+ PublishFindingsToDataplexCatalog publish_findings_to_dataplex_catalog = 10;
+
+ // Create a de-identified copy of the input data.
+ Deidentify deidentify = 7;
+
+ // Sends an email when the job completes. The email goes to IAM project
+ // owners and technical [Essential
+ // Contacts](https://cloud.google.com/resource-manager/docs/managing-notification-contacts).
+ JobNotificationEmails job_notification_emails = 8;
+
+ // Enable Stackdriver metric dlp.googleapis.com/finding_count.
+ PublishToStackdriver publish_to_stackdriver = 9;
+ }
+}
+
+// User specified templates and configs for how to deidentify structured,
+// unstructures, and image files. User must provide either a unstructured
+// deidentify template or at least one redact image config.
+message TransformationConfig {
+ // De-identify template.
+ // If this template is specified, it will serve as the default de-identify
+ // template. This template cannot contain `record_transformations` since it
+ // can be used for unstructured content such as free-form text files. If this
+ // template is not set, a default `ReplaceWithInfoTypeConfig` will be used to
+ // de-identify unstructured content.
+ string deidentify_template = 1;
+
+ // Structured de-identify template.
+ // If this template is specified, it will serve as the de-identify template
+ // for structured content such as delimited files and tables. If this template
+ // is not set but the `deidentify_template` is set, then `deidentify_template`
+ // will also apply to the structured content. If neither template is set, a
+ // default `ReplaceWithInfoTypeConfig` will be used to de-identify structured
+ // content.
+ string structured_deidentify_template = 2;
+
+ // Image redact template.
+ // If this template is specified, it will serve as the de-identify template
+ // for images. If this template is not set, all findings in the image will be
+ // redacted with a black box.
+ string image_redact_template = 4;
+}
+
+// Request message for CreateInspectTemplate.
+message CreateInspectTemplateRequest {
+ // Required. Parent resource name.
+ //
+ // The format of this value varies depending on the scope of the request
+ // (project or organization) and whether you have [specified a processing
+ // location](https://cloud.google.com/sensitive-data-protection/docs/specifying-location):
+ //
+ // + Projects scope, location specified:
+ // `projects/{project_id}/locations/{location_id}`
+ // + Projects scope, no location specified (defaults to global):
+ // `projects/{project_id}`
+ // + Organizations scope, location specified:
+ // `organizations/{org_id}/locations/{location_id}`
+ // + Organizations scope, no location specified (defaults to global):
+ // `organizations/{org_id}`
+ //
+ // The following example `parent` string specifies a parent project with the
+ // identifier `example-project`, and specifies the `europe-west3` location
+ // for processing data:
+ //
+ // parent=projects/example-project/locations/europe-west3
+ string parent = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ child_type: "dlp.googleapis.com/InspectTemplate"
+ }
+ ];
+
+ // Required. The InspectTemplate to create.
+ InspectTemplate inspect_template = 2 [(google.api.field_behavior) = REQUIRED];
+
+ // The template id can contain uppercase and lowercase letters,
+ // numbers, and hyphens; that is, it must match the regular
+ // expression: `[a-zA-Z\d-_]+`. The maximum length is 100
+ // characters. Can be empty to allow the system to generate one.
+ string template_id = 3;
+
+ // Deprecated. This field has no effect.
+ string location_id = 4;
+}
+
+// Request message for UpdateInspectTemplate.
+message UpdateInspectTemplateRequest {
+ // Required. Resource name of organization and inspectTemplate to be updated,
+ // for example `organizations/433245324/inspectTemplates/432452342` or
+ // projects/project-id/inspectTemplates/432452342.
+ string name = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ type: "dlp.googleapis.com/InspectTemplate"
+ }
+ ];
+
+ // New InspectTemplate value.
+ InspectTemplate inspect_template = 2;
+
+ // Mask to control which fields get updated.
+ google.protobuf.FieldMask update_mask = 3;
+}
+
+// Request message for GetInspectTemplate.
+message GetInspectTemplateRequest {
+ // Required. Resource name of the organization and inspectTemplate to be read,
+ // for example `organizations/433245324/inspectTemplates/432452342` or
+ // projects/project-id/inspectTemplates/432452342.
+ string name = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ type: "dlp.googleapis.com/InspectTemplate"
+ }
+ ];
+}
+
+// Request message for ListInspectTemplates.
+message ListInspectTemplatesRequest {
+ // Required. Parent resource name.
+ //
+ // The format of this value varies depending on the scope of the request
+ // (project or organization) and whether you have [specified a processing
+ // location](https://cloud.google.com/sensitive-data-protection/docs/specifying-location):
+ //
+ // + Projects scope, location specified:
+ // `projects/{project_id}/locations/{location_id}`
+ // + Projects scope, no location specified (defaults to global):
+ // `projects/{project_id}`
+ // + Organizations scope, location specified:
+ // `organizations/{org_id}/locations/{location_id}`
+ // + Organizations scope, no location specified (defaults to global):
+ // `organizations/{org_id}`
+ //
+ // The following example `parent` string specifies a parent project with the
+ // identifier `example-project`, and specifies the `europe-west3` location
+ // for processing data:
+ //
+ // parent=projects/example-project/locations/europe-west3
+ string parent = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ child_type: "dlp.googleapis.com/InspectTemplate"
+ }
+ ];
+
+ // Page token to continue retrieval. Comes from the previous call
+ // to `ListInspectTemplates`.
+ string page_token = 2;
+
+ // Size of the page. This value can be limited by the server. If zero server
+ // returns a page of max size 100.
+ int32 page_size = 3;
+
+ // Comma-separated list of fields to order by,
+ // followed by `asc` or `desc` postfix. This list is case insensitive. The
+ // default sorting order is ascending. Redundant space characters are
+ // insignificant.
+ //
+ // Example: `name asc,update_time, create_time desc`
+ //
+ // Supported fields are:
+ //
+ // - `create_time`: corresponds to the time the template was created.
+ // - `update_time`: corresponds to the time the template was last updated.
+ // - `name`: corresponds to the template's name.
+ // - `display_name`: corresponds to the template's display name.
+ string order_by = 4;
+
+ // Deprecated. This field has no effect.
+ string location_id = 5;
+}
+
+// Response message for ListInspectTemplates.
+message ListInspectTemplatesResponse {
+ // List of inspectTemplates, up to page_size in ListInspectTemplatesRequest.
+ repeated InspectTemplate inspect_templates = 1;
+
+ // If the next page is available then the next page token to be used in the
+ // following ListInspectTemplates request.
+ string next_page_token = 2;
+}
+
+// Request message for DeleteInspectTemplate.
+message DeleteInspectTemplateRequest {
+ // Required. Resource name of the organization and inspectTemplate to be
+ // deleted, for example `organizations/433245324/inspectTemplates/432452342`
+ // or projects/project-id/inspectTemplates/432452342.
+ string name = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ type: "dlp.googleapis.com/InspectTemplate"
+ }
+ ];
+}
+
+// Request message for CreateJobTrigger.
+message CreateJobTriggerRequest {
+ // Required. Parent resource name.
+ //
+ // The format of this value varies depending on whether you have [specified a
+ // processing
+ // location](https://cloud.google.com/sensitive-data-protection/docs/specifying-location):
+ //
+ // + Projects scope, location specified:
+ // `projects/{project_id}/locations/{location_id}`
+ // + Projects scope, no location specified (defaults to global):
+ // `projects/{project_id}`
+ //
+ // The following example `parent` string specifies a parent project with the
+ // identifier `example-project`, and specifies the `europe-west3` location
+ // for processing data:
+ //
+ // parent=projects/example-project/locations/europe-west3
+ string parent = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ child_type: "dlp.googleapis.com/JobTrigger"
+ }
+ ];
+
+ // Required. The JobTrigger to create.
+ JobTrigger job_trigger = 2 [(google.api.field_behavior) = REQUIRED];
+
+ // The trigger id can contain uppercase and lowercase letters,
+ // numbers, and hyphens; that is, it must match the regular
+ // expression: `[a-zA-Z\d-_]+`. The maximum length is 100
+ // characters. Can be empty to allow the system to generate one.
+ string trigger_id = 3;
+
+ // Deprecated. This field has no effect.
+ string location_id = 4;
+}
+
+// Request message for ActivateJobTrigger.
+message ActivateJobTriggerRequest {
+ // Required. Resource name of the trigger to activate, for example
+ // `projects/dlp-test-project/jobTriggers/53234423`.
+ string name = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = { type: "dlp.googleapis.com/JobTrigger" }
+ ];
+}
+
+// Request message for UpdateJobTrigger.
+message UpdateJobTriggerRequest {
+ // Required. Resource name of the project and the triggeredJob, for example
+ // `projects/dlp-test-project/jobTriggers/53234423`.
+ string name = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = { type: "dlp.googleapis.com/JobTrigger" }
+ ];
+
+ // New JobTrigger value.
+ JobTrigger job_trigger = 2;
+
+ // Mask to control which fields get updated.
+ google.protobuf.FieldMask update_mask = 3;
+}
+
+// Request message for GetJobTrigger.
+message GetJobTriggerRequest {
+ // Required. Resource name of the project and the triggeredJob, for example
+ // `projects/dlp-test-project/jobTriggers/53234423`.
+ string name = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = { type: "dlp.googleapis.com/JobTrigger" }
+ ];
+}
+
+// Request message for CreateDiscoveryConfig.
+message CreateDiscoveryConfigRequest {
+ // Required. Parent resource name.
+ //
+ // The format of this value varies depending on the scope of the request
+ // (project or organization):
+ //
+ // + Projects scope:
+ // `projects/{project_id}/locations/{location_id}`
+ // + Organizations scope:
+ // `organizations/{org_id}/locations/{location_id}`
+ //
+ // The following example `parent` string specifies a parent project with the
+ // identifier `example-project`, and specifies the `europe-west3` location
+ // for processing data:
+ //
+ // parent=projects/example-project/locations/europe-west3
+ string parent = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ child_type: "dlp.googleapis.com/DiscoveryConfig"
+ }
+ ];
+
+ // Required. The DiscoveryConfig to create.
+ DiscoveryConfig discovery_config = 2 [(google.api.field_behavior) = REQUIRED];
+
+ // The config ID can contain uppercase and lowercase letters,
+ // numbers, and hyphens; that is, it must match the regular
+ // expression: `[a-zA-Z\d-_]+`. The maximum length is 100
+ // characters. Can be empty to allow the system to generate one.
+ string config_id = 3;
+}
+
+// Request message for UpdateDiscoveryConfig.
+message UpdateDiscoveryConfigRequest {
+ // Required. Resource name of the project and the configuration, for example
+ // `projects/dlp-test-project/discoveryConfigs/53234423`.
+ string name = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ type: "dlp.googleapis.com/DiscoveryConfig"
+ }
+ ];
+
+ // Required. New DiscoveryConfig value.
+ DiscoveryConfig discovery_config = 2 [(google.api.field_behavior) = REQUIRED];
+
+ // Mask to control which fields get updated.
+ google.protobuf.FieldMask update_mask = 3;
+}
+
+// Request message for GetDiscoveryConfig.
+message GetDiscoveryConfigRequest {
+ // Required. Resource name of the project and the configuration, for example
+ // `projects/dlp-test-project/discoveryConfigs/53234423`.
+ string name = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ type: "dlp.googleapis.com/DiscoveryConfig"
+ }
+ ];
+}
+
+// Request message for ListDiscoveryConfigs.
+message ListDiscoveryConfigsRequest {
+ // Required. Parent resource name.
+ //
+ // The format of this value is as follows:
+ // `projects/{project_id}/locations/{location_id}`
+ //
+ // The following example `parent` string specifies a parent project with the
+ // identifier `example-project`, and specifies the `europe-west3` location
+ // for processing data:
+ //
+ // parent=projects/example-project/locations/europe-west3
+ string parent = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ child_type: "dlp.googleapis.com/DiscoveryConfig"
+ }
+ ];
+
+ // Page token to continue retrieval. Comes from the previous call
+ // to ListDiscoveryConfigs. `order_by` field must not
+ // change for subsequent calls.
+ string page_token = 2;
+
+ // Size of the page. This value can be limited by a server.
+ int32 page_size = 3;
+
+ // Comma-separated list of config fields to order by,
+ // followed by `asc` or `desc` postfix. This list is case insensitive. The
+ // default sorting order is ascending. Redundant space characters are
+ // insignificant.
+ //
+ // Example: `name asc,update_time, create_time desc`
+ //
+ // Supported fields are:
+ //
+ // - `last_run_time`: corresponds to the last time the DiscoveryConfig ran.
+ // - `name`: corresponds to the DiscoveryConfig's name.
+ // - `status`: corresponds to DiscoveryConfig's status.
+ string order_by = 4;
+}
+
+// Response message for ListDiscoveryConfigs.
+message ListDiscoveryConfigsResponse {
+ // List of configs, up to page_size in ListDiscoveryConfigsRequest.
+ repeated DiscoveryConfig discovery_configs = 1;
+
+ // If the next page is available then this value is the next page token to be
+ // used in the following ListDiscoveryConfigs request.
+ string next_page_token = 2;
+}
+
+// Request message for DeleteDiscoveryConfig.
+message DeleteDiscoveryConfigRequest {
+ // Required. Resource name of the project and the config, for example
+ // `projects/dlp-test-project/discoveryConfigs/53234423`.
+ string name = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ type: "dlp.googleapis.com/DiscoveryConfig"
+ }
+ ];
+}
+
+// Request message for CreateDlpJobRequest. Used to initiate long running
+// jobs such as calculating risk metrics or inspecting Google Cloud
+// Storage.
+message CreateDlpJobRequest {
+ // Required. Parent resource name.
+ //
+ // The format of this value varies depending on whether you have [specified a
+ // processing
+ // location](https://cloud.google.com/sensitive-data-protection/docs/specifying-location):
+ //
+ // + Projects scope, location specified:
+ // `projects/{project_id}/locations/{location_id}`
+ // + Projects scope, no location specified (defaults to global):
+ // `projects/{project_id}`
+ //
+ // The following example `parent` string specifies a parent project with the
+ // identifier `example-project`, and specifies the `europe-west3` location
+ // for processing data:
+ //
+ // parent=projects/example-project/locations/europe-west3
+ string parent = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ child_type: "dlp.googleapis.com/DlpJob"
+ }
+ ];
+
+ // The configuration details for the specific type of job to run.
+ oneof job {
+ // An inspection job scans a storage repository for InfoTypes.
+ InspectJobConfig inspect_job = 2;
+
+ // A risk analysis job calculates re-identification risk metrics for a
+ // BigQuery table.
+ RiskAnalysisJobConfig risk_job = 3;
+ }
+
+ // The job id can contain uppercase and lowercase letters,
+ // numbers, and hyphens; that is, it must match the regular
+ // expression: `[a-zA-Z\d-_]+`. The maximum length is 100
+ // characters. Can be empty to allow the system to generate one.
+ string job_id = 4;
+
+ // Deprecated. This field has no effect.
+ string location_id = 5;
+}
+
+// Request message for ListJobTriggers.
+message ListJobTriggersRequest {
+ // Required. Parent resource name.
+ //
+ // The format of this value varies depending on whether you have [specified a
+ // processing
+ // location](https://cloud.google.com/sensitive-data-protection/docs/specifying-location):
+ //
+ // + Projects scope, location specified:
+ // `projects/{project_id}/locations/{location_id}`
+ // + Projects scope, no location specified (defaults to global):
+ // `projects/{project_id}`
+ //
+ // The following example `parent` string specifies a parent project with the
+ // identifier `example-project`, and specifies the `europe-west3` location
+ // for processing data:
+ //
+ // parent=projects/example-project/locations/europe-west3
+ string parent = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ child_type: "dlp.googleapis.com/JobTrigger"
+ }
+ ];
+
+ // Page token to continue retrieval. Comes from the previous call
+ // to ListJobTriggers. `order_by` field must not
+ // change for subsequent calls.
+ string page_token = 2;
+
+ // Size of the page. This value can be limited by a server.
+ int32 page_size = 3;
+
+ // Comma-separated list of triggeredJob fields to order by,
+ // followed by `asc` or `desc` postfix. This list is case insensitive. The
+ // default sorting order is ascending. Redundant space characters are
+ // insignificant.
+ //
+ // Example: `name asc,update_time, create_time desc`
+ //
+ // Supported fields are:
+ //
+ // - `create_time`: corresponds to the time the JobTrigger was created.
+ // - `update_time`: corresponds to the time the JobTrigger was last updated.
+ // - `last_run_time`: corresponds to the last time the JobTrigger ran.
+ // - `name`: corresponds to the JobTrigger's name.
+ // - `display_name`: corresponds to the JobTrigger's display name.
+ // - `status`: corresponds to JobTrigger's status.
+ string order_by = 4;
+
+ // Allows filtering.
+ //
+ // Supported syntax:
+ //
+ // * Filter expressions are made up of one or more restrictions.
+ // * Restrictions can be combined by `AND` or `OR` logical operators. A
+ // sequence of restrictions implicitly uses `AND`.
+ // * A restriction has the form of `{field} {operator} {value}`.
+ // * Supported fields/values for inspect triggers:
+ // - `status` - HEALTHY|PAUSED|CANCELLED
+ // - `inspected_storage` - DATASTORE|CLOUD_STORAGE|BIGQUERY
+ // - 'last_run_time` - RFC 3339 formatted timestamp, surrounded by
+ // quotation marks. Nanoseconds are ignored.
+ // - 'error_count' - Number of errors that have occurred while running.
+ // * The operator must be `=` or `!=` for status and inspected_storage.
+ //
+ // The syntax is based on https://google.aip.dev/160.
+ //
+ // Examples:
+ //
+ // * inspected_storage = cloud_storage AND status = HEALTHY
+ // * inspected_storage = cloud_storage OR inspected_storage = bigquery
+ // * inspected_storage = cloud_storage AND (state = PAUSED OR state = HEALTHY)
+ // * last_run_time > \"2017-12-12T00:00:00+00:00\"
+ //
+ // The length of this field should be no more than 500 characters.
+ string filter = 5;
+
+ // The type of jobs. Will use `DlpJobType.INSPECT` if not set.
+ DlpJobType type = 6;
+
+ // Deprecated. This field has no effect.
+ string location_id = 7;
+}
+
+// Response message for ListJobTriggers.
+message ListJobTriggersResponse {
+ // List of triggeredJobs, up to page_size in ListJobTriggersRequest.
+ repeated JobTrigger job_triggers = 1;
+
+ // If the next page is available then this value is the next page token to be
+ // used in the following ListJobTriggers request.
+ string next_page_token = 2;
+}
+
+// Request message for DeleteJobTrigger.
+message DeleteJobTriggerRequest {
+ // Required. Resource name of the project and the triggeredJob, for example
+ // `projects/dlp-test-project/jobTriggers/53234423`.
+ string name = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = { type: "dlp.googleapis.com/JobTrigger" }
+ ];
+}
+
+// Controls what and how to inspect for findings.
+message InspectJobConfig {
+ // The data to scan.
+ StorageConfig storage_config = 1;
+
+ // How and what to scan for.
+ InspectConfig inspect_config = 2;
+
+ // If provided, will be used as the default for all values in InspectConfig.
+ // `inspect_config` will be merged into the values persisted as part of the
+ // template.
+ string inspect_template_name = 3;
+
+ // Actions to execute at the completion of the job.
+ repeated Action actions = 4;
+}
+
+// Whether a profile being created is the first generation or an update.
+enum ProfileGeneration {
+ // Unused.
+ PROFILE_GENERATION_UNSPECIFIED = 0;
+
+ // The profile is the first profile for the resource.
+ PROFILE_GENERATION_NEW = 1;
+
+ // The profile is an update to a previous profile.
+ PROFILE_GENERATION_UPDATE = 2;
+}
+
+// A task to execute when a data profile has been generated.
+message DataProfileAction {
+ // If set, the detailed data profiles will be persisted to the location
+ // of your choice whenever updated.
+ message Export {
+ // Store all profiles to BigQuery.
+ //
+ // * The system will create a new dataset and table for you if none are
+ // are provided. The dataset will be named
+ // `sensitive_data_protection_discovery` and table will be named
+ // `discovery_profiles`. This table will be placed in the same project as
+ // the container project running the scan. After the first profile is
+ // generated and the dataset and table are created, the discovery scan
+ // configuration will be updated with the dataset and table names.
+ // * See [Analyze data profiles stored in
+ // BigQuery](https://cloud.google.com/sensitive-data-protection/docs/analyze-data-profiles).
+ // * See [Sample queries for your BigQuery
+ // table](https://cloud.google.com/sensitive-data-protection/docs/analyze-data-profiles#sample_sql_queries).
+ // * Data is inserted using [streaming
+ // insert](https://cloud.google.com/blog/products/bigquery/life-of-a-bigquery-streaming-insert)
+ // and so data may be in the buffer for a period of time after the
+ // profile has finished.
+ // * The Pub/Sub notification is sent before the streaming buffer is
+ // guaranteed to be written, so data may not be instantly
+ // visible to queries by the time your topic receives the Pub/Sub
+ // notification.
+ // * The best practice is to use the same table for an entire organization
+ // so that you can take advantage of the [provided Looker
+ // reports](https://cloud.google.com/sensitive-data-protection/docs/analyze-data-profiles#use_a_premade_report).
+ // If you use VPC Service Controls to define security perimeters, then
+ // you must use a separate table for each boundary.
+ BigQueryTable profile_table = 1;
+
+ // Store sample [data profile
+ // findings][google.privacy.dlp.v2.DataProfileFinding] in an existing table
+ // or a new table in an existing dataset. Each regeneration will result in
+ // new rows in BigQuery. Data is inserted using [streaming
+ // insert](https://cloud.google.com/blog/products/bigquery/life-of-a-bigquery-streaming-insert)
+ // and so data may be in the buffer for a period of time after the profile
+ // has finished.
+ BigQueryTable sample_findings_table = 2;
+ }
+
+ // Send a Pub/Sub message into the given Pub/Sub topic to connect other
+ // systems to data profile generation. The message payload data will
+ // be the byte serialization of `DataProfilePubSubMessage`.
+ message PubSubNotification {
+ // The levels of detail that can be included in the Pub/Sub message.
+ enum DetailLevel {
+ // Unused.
+ DETAIL_LEVEL_UNSPECIFIED = 0;
+
+ // The full table data profile.
+ TABLE_PROFILE = 1;
+
+ // The name of the profiled resource.
+ RESOURCE_NAME = 2;
+
+ // The full file store data profile.
+ FILE_STORE_PROFILE = 3;
+ }
+
+ // Cloud Pub/Sub topic to send notifications to.
+ // Format is projects/{project}/topics/{topic}.
+ string topic = 1;
+
+ // The type of event that triggers a Pub/Sub. At most one
+ // `PubSubNotification` per EventType is permitted.
+ EventType event = 2;
+
+ // Conditions (e.g., data risk or sensitivity level) for triggering a
+ // Pub/Sub.
+ DataProfilePubSubCondition pubsub_condition = 3;
+
+ // How much data to include in the Pub/Sub message. If the user wishes to
+ // limit the size of the message, they can use resource_name and fetch the
+ // profile fields they wish to. Per table profile (not per column).
+ DetailLevel detail_of_message = 4;
+ }
+
+ // Types of event that can trigger an action.
+ enum EventType {
+ // Unused.
+ EVENT_TYPE_UNSPECIFIED = 0;
+
+ // New profile (not a re-profile).
+ NEW_PROFILE = 1;
+
+ // One of the following profile metrics changed: Data risk score,
+ // Sensitivity score, Resource visibility, Encryption type, Predicted
+ // infoTypes, Other infoTypes
+ CHANGED_PROFILE = 2;
+
+ // Table data risk score or sensitivity score increased.
+ SCORE_INCREASED = 3;
+
+ // A user (non-internal) error occurred.
+ ERROR_CHANGED = 4;
+ }
+
+ // Message expressing intention to publish to Google Security Operations.
+ message PublishToChronicle {}
+
+ // If set, a summary finding will be created or updated in Security Command
+ // Center for each profile.
+ message PublishToSecurityCommandCenter {}
+
+ // Create Dataplex Universal Catalog aspects for profiled resources with the
+ // aspect type Sensitive Data Protection Profile. To learn more about aspects,
+ // see https://cloud.google.com/sensitive-data-protection/docs/add-aspects.
+ message PublishToDataplexCatalog {
+ // Whether creating a Dataplex Universal Catalog aspect for a profiled
+ // resource should lower the risk of the profile for that resource. This
+ // also lowers the data risk of resources at the lower levels of the
+ // resource hierarchy. For example, reducing the data risk of a table data
+ // profile also reduces the data risk of the constituent column data
+ // profiles.
+ bool lower_data_risk_to_low = 1;
+ }
+
+ // If set, attaches the [tags]
+ // (https://cloud.google.com/resource-manager/docs/tags/tags-overview)
+ // provided to profiled resources. Tags support [access
+ // control](https://cloud.google.com/iam/docs/tags-access-control). You can
+ // conditionally grant or deny access to a resource based on whether the
+ // resource has a specific tag.
+ message TagResources {
+ // The tag to attach to profiles matching the condition. At most one
+ // `TagCondition` can be specified per sensitivity level.
+ message TagCondition {
+ // The tag value to attach to resources.
+ TagValue tag = 1;
+
+ // The type of condition on which attaching the tag will be predicated.
+ oneof type {
+ // Conditions attaching the tag to a resource on its profile having this
+ // sensitivity score.
+ SensitivityScore sensitivity_score = 2;
+ }
+ }
+
+ // A value of a tag.
+ message TagValue {
+ // The format of the tag value.
+ oneof format {
+ // The namespaced name for the tag value to attach to resources. Must be
+ // in the format `{parent_id}/{tag_key_short_name}/{short_name}`, for
+ // example, "123456/environment/prod" for an organization parent, or
+ // "my-project/environment/prod" for a project parent.
+ string namespaced_value = 1;
+ }
+ }
+
+ // The tags to associate with different conditions.
+ repeated TagCondition tag_conditions = 1;
+
+ // The profile generations for which the tag should be attached to
+ // resources. If you attach a tag to only new profiles, then if the
+ // sensitivity score of a profile subsequently changes, its tag doesn't
+ // change. By default, this field includes only new profiles. To include
+ // both new and updated profiles for tagging, this field should explicitly
+ // include both `PROFILE_GENERATION_NEW` and `PROFILE_GENERATION_UPDATE`.
+ repeated ProfileGeneration profile_generations_to_tag = 2;
+
+ // Whether applying a tag to a resource should lower the risk of the profile
+ // for that resource. For example, in conjunction with an [IAM deny
+ // policy](https://cloud.google.com/iam/docs/deny-overview), you can deny
+ // all principals a permission if a tag value is present, mitigating the
+ // risk of the resource. This also lowers the data risk of resources at the
+ // lower levels of the resource hierarchy. For example, reducing the data
+ // risk of a table data profile also reduces the data risk of the
+ // constituent column data profiles.
+ bool lower_data_risk_to_low = 3;
+ }
+
+ // Type of action to execute when a profile is generated.
+ oneof action {
+ // Export data profiles into a provided location.
+ Export export_data = 1;
+
+ // Publish a message into the Pub/Sub topic.
+ PubSubNotification pub_sub_notification = 2;
+
+ // Publishes generated data profiles to Google Security Operations.
+ // For more information, see [Use Sensitive Data Protection data in
+ // context-aware
+ // analytics](https://cloud.google.com/chronicle/docs/detection/usecase-dlp-high-risk-user-download).
+ PublishToChronicle publish_to_chronicle = 3;
+
+ // Publishes findings to Security Command Center for each data profile.
+ PublishToSecurityCommandCenter publish_to_scc = 4;
+
+ // Tags the profiled resources with the specified tag values.
+ TagResources tag_resources = 8;
+
+ // Publishes a portion of each profile to Dataplex Universal Catalog with
+ // the aspect type Sensitive Data Protection Profile.
+ PublishToDataplexCatalog publish_to_dataplex_catalog = 9;
+ }
+}
+
+// Details about a piece of potentially sensitive information that was detected
+// when the data resource was profiled.
+message DataProfileFinding {
+ // The content that was found. Even if the content is not textual, it
+ // may be converted to a textual representation here. If the finding exceeds
+ // 4096 bytes in length, the quote may be omitted.
+ string quote = 1;
+
+ // The [type of
+ // content](https://cloud.google.com/sensitive-data-protection/docs/infotypes-reference)
+ // that might have been found.
+ InfoType infotype = 2;
+
+ // Contains data parsed from quotes. Currently supported infoTypes: DATE,
+ // DATE_OF_BIRTH, and TIME.
+ QuoteInfo quote_info = 3;
+
+ // Resource name of the data profile associated with the finding.
+ string data_profile_resource_name = 4;
+
+ // A unique identifier for the finding.
+ string finding_id = 5;
+
+ // Timestamp when the finding was detected.
+ google.protobuf.Timestamp timestamp = 6;
+
+ // Where the content was found.
+ DataProfileFindingLocation location = 7;
+
+ // How broadly a resource has been shared.
+ ResourceVisibility resource_visibility = 8;
+
+ // The [full resource
+ // name](https://cloud.google.com/apis/design/resource_names#full_resource_name)
+ // of the resource profiled for this finding.
+ string full_resource_name = 9;
+
+ // The type of the resource that was profiled.
+ DataSourceType data_source_type = 10;
+}
+
+// Location of a data profile finding within a resource.
+message DataProfileFindingLocation {
+ // Name of the container where the finding is located.
+ // The top-level name is the source file name or table name. Names of some
+ // common storage containers are formatted as follows:
+ //
+ // * BigQuery tables: `{project_id}:{dataset_id}.{table_id}`
+ // * Cloud Storage files: `gs://{bucket}/{path}`
+ string container_name = 1;
+
+ // Additional location details that may be provided for some types of
+ // profiles. At this time, only findings for table data profiles include such
+ // details.
+ oneof location_extra_details {
+ // Location of a finding within a resource that produces a table data
+ // profile.
+ DataProfileFindingRecordLocation data_profile_finding_record_location = 2;
+ }
+}
+
+// Location of a finding within a resource that produces a table data profile.
+message DataProfileFindingRecordLocation {
+ // Field ID of the column containing the finding.
+ FieldId field = 1;
+}
+
+// Configuration for setting up a job to scan resources for profile generation.
+// Only one data profile configuration may exist per organization, folder,
+// or project.
+//
+// The generated data profiles are retained according to the
+// [data retention policy]
+// (https://cloud.google.com/sensitive-data-protection/docs/data-profiles#retention).
+message DataProfileJobConfig {
+ // The data to scan.
+ DataProfileLocation location = 1;
+
+ // The project that will run the scan. The DLP service
+ // account that exists within this project must have access to all resources
+ // that are profiled, and the DLP API must be enabled.
+ string project_id = 5;
+
+ // Must be set only when scanning other clouds.
+ OtherCloudDiscoveryStartingLocation other_cloud_starting_location = 8;
+
+ // Detection logic for profile generation.
+ //
+ // Not all template features are used by profiles. FindingLimits,
+ // include_quote and exclude_info_types have no impact on
+ // data profiling.
+ //
+ // Multiple templates may be provided if there is data in multiple regions.
+ // At most one template must be specified per-region (including "global").
+ // Each region is scanned using the applicable template. If no region-specific
+ // template is specified, but a "global" template is specified, it will be
+ // copied to that region and used instead. If no global or region-specific
+ // template is provided for a region with data, that region's data will not be
+ // scanned.
+ //
+ // For more information, see
+ // https://cloud.google.com/sensitive-data-protection/docs/data-profiles#data-residency.
+ repeated string inspect_templates = 7;
+
+ // Actions to execute at the completion of the job.
+ repeated DataProfileAction data_profile_actions = 6;
+}
+
+// A pattern to match against one or more tables, datasets, or projects that
+// contain BigQuery tables. At least one pattern must be specified.
+// Regular expressions use RE2
+// [syntax](https://github.com/google/re2/wiki/Syntax); a guide can be found
+// under the google/re2 repository on GitHub.
+message BigQueryRegex {
+ // For organizations, if unset, will match all projects. Has no effect
+ // for data profile configurations created within a project.
+ string project_id_regex = 1;
+
+ // If unset, this property matches all datasets.
+ string dataset_id_regex = 2;
+
+ // If unset, this property matches all tables.
+ string table_id_regex = 3;
+}
+
+// A collection of regular expressions to determine what tables to match
+// against.
+message BigQueryRegexes {
+ // A single BigQuery regular expression pattern to match against one or more
+ // tables, datasets, or projects that contain BigQuery tables.
+ repeated BigQueryRegex patterns = 1;
+}
+
+// The types of BigQuery tables supported by Cloud DLP.
+message BigQueryTableTypes {
+ // A set of BigQuery table types.
+ repeated BigQueryTableType types = 1;
+}
+
+// Over time new types may be added. Currently VIEW, MATERIALIZED_VIEW, and
+// non-BigLake external tables are not supported.
+enum BigQueryTableTypeCollection {
+ // Unused.
+ BIG_QUERY_COLLECTION_UNSPECIFIED = 0;
+
+ // Automatically generate profiles for all tables, even if the table type is
+ // not yet fully supported for analysis. Profiles for unsupported tables will
+ // be generated with errors to indicate their partial support. When full
+ // support is added, the tables will automatically be profiled during the next
+ // scheduled run.
+ BIG_QUERY_COLLECTION_ALL_TYPES = 1;
+
+ // Only those types fully supported will be profiled. Will expand
+ // automatically as Cloud DLP adds support for new table types. Unsupported
+ // table types will not have partial profiles generated.
+ BIG_QUERY_COLLECTION_ONLY_SUPPORTED_TYPES = 2;
+}
+
+// Over time new types may be added. Currently VIEW, MATERIALIZED_VIEW, and
+// non-BigLake external tables are not supported.
+enum BigQueryTableType {
+ // Unused.
+ BIG_QUERY_TABLE_TYPE_UNSPECIFIED = 0;
+
+ // A normal BigQuery table.
+ BIG_QUERY_TABLE_TYPE_TABLE = 1;
+
+ // A table that references data stored in Cloud Storage.
+ BIG_QUERY_TABLE_TYPE_EXTERNAL_BIG_LAKE = 2;
+
+ // A snapshot of a BigQuery table.
+ BIG_QUERY_TABLE_TYPE_SNAPSHOT = 3;
+}
+
+// How frequently data profiles can be updated. New options can be added at a
+// later time.
+enum DataProfileUpdateFrequency {
+ // Unspecified.
+ UPDATE_FREQUENCY_UNSPECIFIED = 0;
+
+ // After the data profile is created, it will never be updated.
+ UPDATE_FREQUENCY_NEVER = 1;
+
+ // The data profile can be updated up to once every 24 hours.
+ UPDATE_FREQUENCY_DAILY = 2;
+
+ // The data profile can be updated up to once every 30 days. Default.
+ UPDATE_FREQUENCY_MONTHLY = 4;
+}
+
+// Do not profile the tables.
+message Disabled {}
+
+// The data that will be profiled.
+message DataProfileLocation {
+ // The location to be scanned.
+ oneof location {
+ // The ID of an organization to scan.
+ int64 organization_id = 1;
+
+ // The ID of the folder within an organization to scan.
+ int64 folder_id = 2;
+ }
+}
+
+// Configuration for discovery to scan resources for profile generation.
+// Only one discovery configuration may exist per organization, folder,
+// or project.
+//
+// The generated data profiles are retained according to the
+// [data retention policy]
+// (https://cloud.google.com/sensitive-data-protection/docs/data-profiles#retention).
+message DiscoveryConfig {
+ option (google.api.resource) = {
+ type: "dlp.googleapis.com/DiscoveryConfig"
+ pattern: "projects/{project}/locations/{location}/discoveryConfigs/{discovery_config}"
+ };
+
+ // Project and scan location information. Only set when the parent is an org.
+ message OrgConfig {
+ // The data to scan: folder, org, or project
+ DiscoveryStartingLocation location = 1;
+
+ // The project that will run the scan. The DLP service
+ // account that exists within this project must have access to all resources
+ // that are profiled, and the DLP API must be enabled.
+ string project_id = 2;
+ }
+
+ // Whether the discovery config is currently active. New options may be added
+ // at a later time.
+ enum Status {
+ // Unused
+ STATUS_UNSPECIFIED = 0;
+
+ // The discovery config is currently active.
+ RUNNING = 1;
+
+ // The discovery config is paused temporarily.
+ PAUSED = 2;
+ }
+
+ // Unique resource name for the DiscoveryConfig, assigned by the service when
+ // the DiscoveryConfig is created, for example
+ // `projects/dlp-test-project/locations/global/discoveryConfigs/53234423`.
+ string name = 1;
+
+ // Display name (max 100 chars)
+ string display_name = 11;
+
+ // Only set when the parent is an org.
+ OrgConfig org_config = 2;
+
+ // Must be set only when scanning other clouds.
+ OtherCloudDiscoveryStartingLocation other_cloud_starting_location = 12;
+
+ // Detection logic for profile generation.
+ //
+ // Not all template features are used by Discovery. FindingLimits,
+ // include_quote and exclude_info_types have no impact on
+ // Discovery.
+ //
+ // Multiple templates may be provided if there is data in multiple regions.
+ // At most one template must be specified per-region (including "global").
+ // Each region is scanned using the applicable template. If no region-specific
+ // template is specified, but a "global" template is specified, it will be
+ // copied to that region and used instead. If no global or region-specific
+ // template is provided for a region with data, that region's data will not be
+ // scanned.
+ //
+ // For more information, see
+ // https://cloud.google.com/sensitive-data-protection/docs/data-profiles#data-residency.
+ repeated string inspect_templates = 3;
+
+ // Actions to execute at the completion of scanning.
+ repeated DataProfileAction actions = 4;
+
+ // Target to match against for determining what to scan and how frequently.
+ repeated DiscoveryTarget targets = 5;
+
+ // Output only. A stream of errors encountered when the config was activated.
+ // Repeated errors may result in the config automatically being paused. Output
+ // only field. Will return the last 100 errors. Whenever the config is
+ // modified this list will be cleared.
+ repeated Error errors = 6 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Output only. The creation timestamp of a DiscoveryConfig.
+ google.protobuf.Timestamp create_time = 7
+ [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Output only. The last update timestamp of a DiscoveryConfig.
+ google.protobuf.Timestamp update_time = 8
+ [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Output only. The timestamp of the last time this config was executed.
+ google.protobuf.Timestamp last_run_time = 9
+ [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Required. A status for this configuration.
+ Status status = 10 [(google.api.field_behavior) = REQUIRED];
+
+ // Optional. Processing location configuration. Vertex AI dataset scanning
+ // will set processing_location.image_fallback_type to MultiRegionProcessing
+ // by default.
+ ProcessingLocation processing_location = 13
+ [(google.api.field_behavior) = OPTIONAL];
+}
+
+// Target used to match against for Discovery.
+message DiscoveryTarget {
+ // A target to match against for Discovery.
+ oneof target {
+ // BigQuery target for Discovery. The first target to match a table will be
+ // the one applied.
+ BigQueryDiscoveryTarget big_query_target = 1;
+
+ // Cloud SQL target for Discovery. The first target to match a table will be
+ // the one applied.
+ CloudSqlDiscoveryTarget cloud_sql_target = 2;
+
+ // Discovery target that looks for credentials and secrets stored in cloud
+ // resource metadata and reports them as vulnerabilities to Security Command
+ // Center. Only one target of this type is allowed.
+ SecretsDiscoveryTarget secrets_target = 3;
+
+ // Cloud Storage target for Discovery. The first target to match a table
+ // will be the one applied.
+ CloudStorageDiscoveryTarget cloud_storage_target = 4;
+
+ // Other clouds target for discovery. The first target to match a resource
+ // will be the one applied.
+ OtherCloudDiscoveryTarget other_cloud_target = 5;
+
+ // Vertex AI dataset target for Discovery. The first target to match a
+ // dataset will be the one applied. Note that discovery for Vertex AI can
+ // incur Cloud Storage Class B operation charges for storage.objects.get
+ // operations and retrieval fees. For more information, see [Cloud Storage
+ // pricing](https://cloud.google.com/storage/pricing#price-tables).
+ // Note that discovery for Vertex AI dataset will not be able to scan images
+ // unless DiscoveryConfig.processing_location.image_fallback_location has
+ // multi_region_processing or global_processing configured.
+ VertexDatasetDiscoveryTarget vertex_dataset_target = 7;
+ }
+}
+
+// Target used to match against for discovery with BigQuery tables
+message BigQueryDiscoveryTarget {
+ // Required. The tables the discovery cadence applies to. The first target
+ // with a matching filter will be the one to apply to a table.
+ DiscoveryBigQueryFilter filter = 1 [(google.api.field_behavior) = REQUIRED];
+
+ // In addition to matching the filter, these conditions must be true
+ // before a profile is generated.
+ DiscoveryBigQueryConditions conditions = 2;
+
+ // The generation rule includes the logic on how frequently
+ // to update the data profiles. If not specified, discovery will re-run and
+ // update no more than once a month if new columns appear in the table.
+ oneof frequency {
+ // How often and when to update profiles. New tables that match both the
+ // filter and conditions are scanned as quickly as possible depending on
+ // system capacity.
+ DiscoveryGenerationCadence cadence = 3;
+
+ // Tables that match this filter will not have profiles created.
+ Disabled disabled = 4;
+ }
+}
+
+// Determines what tables will have profiles generated within an organization
+// or project. Includes the ability to filter by regular expression patterns
+// on project ID, dataset ID, and table ID.
+message DiscoveryBigQueryFilter {
+ // Catch-all for all other tables not specified by other filters. Should
+ // always be last, except for single-table configurations, which will only
+ // have a TableReference target.
+ message AllOtherBigQueryTables {}
+
+ // Whether the filter applies to a specific set of tables or all other tables
+ // within the location being profiled. The first filter to match will be
+ // applied, regardless of the condition. If none is set, will default to
+ // `other_tables`.
+ oneof filter {
+ // A specific set of tables for this filter to apply to. A table collection
+ // must be specified in only one filter per config.
+ // If a table id or dataset is empty, Cloud DLP assumes all tables in that
+ // collection must be profiled. Must specify a project ID.
+ BigQueryTableCollection tables = 1;
+
+ // Catch-all. This should always be the last filter in the list because
+ // anything above it will apply first. Should only appear once in a
+ // configuration. If none is specified, a default one will be added
+ // automatically.
+ AllOtherBigQueryTables other_tables = 2;
+
+ // The table to scan. Discovery configurations including this can only
+ // include one DiscoveryTarget (the DiscoveryTarget with this
+ // TableReference).
+ TableReference table_reference = 3;
+ }
+}
+
+// Specifies a collection of BigQuery tables. Used for Discovery.
+message BigQueryTableCollection {
+ // Maximum of 100 entries.
+ // The first filter containing a pattern that matches a table will be used.
+ oneof pattern {
+ // A collection of regular expressions to match a BigQuery table against.
+ BigQueryRegexes include_regexes = 1;
+ }
+}
+
+// Requirements that must be true before a table is scanned in discovery for the
+// first time. There is an AND relationship between the top-level attributes.
+// Additionally, minimum conditions with an OR relationship that must be met
+// before Cloud DLP scans a table can be set (like a minimum row count or a
+// minimum table age).
+message DiscoveryBigQueryConditions {
+ // There is an OR relationship between these attributes. They are used to
+ // determine if a table should be scanned or not in Discovery.
+ message OrConditions {
+ // Minimum number of rows that should be present before Cloud DLP
+ // profiles a table
+ int32 min_row_count = 1;
+
+ // Minimum age a table must have before Cloud DLP can profile it. Value must
+ // be 1 hour or greater.
+ google.protobuf.Duration min_age = 2;
+ }
+
+ // BigQuery table must have been created after this date. Used to avoid
+ // backfilling.
+ google.protobuf.Timestamp created_after = 1;
+
+ // The type of BigQuery tables to scan. If nothing is set the default
+ // behavior is to scan only tables of type TABLE and to give errors
+ // for all unsupported tables.
+ oneof included_types {
+ // Restrict discovery to specific table types.
+ BigQueryTableTypes types = 2;
+
+ // Restrict discovery to categories of table types.
+ BigQueryTableTypeCollection type_collection = 3;
+ }
+
+ // At least one of the conditions must be true for a table to be scanned.
+ OrConditions or_conditions = 4;
+}
+
+// What must take place for a profile to be updated and how
+// frequently it should occur.
+// New tables are scanned as quickly as possible depending on system
+// capacity.
+message DiscoveryGenerationCadence {
+ // Governs when to update data profiles when a schema is modified.
+ DiscoverySchemaModifiedCadence schema_modified_cadence = 1;
+
+ // Governs when to update data profiles when a table is modified.
+ DiscoveryTableModifiedCadence table_modified_cadence = 2;
+
+ // Governs when to update data profiles when the inspection rules
+ // defined by the `InspectTemplate` change.
+ // If not set, changing the template will not cause a data profile to update.
+ DiscoveryInspectTemplateModifiedCadence inspect_template_modified_cadence = 3;
+
+ // Frequency at which profiles should be updated, regardless of whether the
+ // underlying resource has changed. Defaults to never.
+ DataProfileUpdateFrequency refresh_frequency = 4;
+}
+
+// The cadence at which to update data profiles when a table is modified.
+message DiscoveryTableModifiedCadence {
+ // The type of events to consider when deciding if the table has been
+ // modified and should have the profile updated. Defaults to
+ // MODIFIED_TIMESTAMP.
+ repeated BigQueryTableModification types = 1;
+
+ // How frequently data profiles can be updated when tables are modified.
+ // Defaults to never.
+ DataProfileUpdateFrequency frequency = 2;
+}
+
+// Attributes evaluated to determine if a table has been modified. New values
+// may be added at a later time.
+enum BigQueryTableModification {
+ // Unused.
+ TABLE_MODIFICATION_UNSPECIFIED = 0;
+
+ // A table will be considered modified when the last_modified_time from
+ // BigQuery has been updated.
+ TABLE_MODIFIED_TIMESTAMP = 1;
+}
+
+// The cadence at which to update data profiles when a schema is modified.
+message DiscoverySchemaModifiedCadence {
+ // The type of events to consider when deciding if the table's schema
+ // has been modified and should have the profile updated. Defaults to
+ // NEW_COLUMNS.
+ repeated BigQuerySchemaModification types = 1;
+
+ // How frequently profiles may be updated when schemas are
+ // modified. Defaults to monthly.
+ DataProfileUpdateFrequency frequency = 2;
+}
+
+// Attributes evaluated to determine if a schema has been modified. New values
+// may be added at a later time.
+enum BigQuerySchemaModification {
+ // Unused
+ SCHEMA_MODIFICATION_UNSPECIFIED = 0;
+
+ // Profiles should be regenerated when new columns are added to the table.
+ // Default.
+ SCHEMA_NEW_COLUMNS = 1;
+
+ // Profiles should be regenerated when columns are removed from the table.
+ SCHEMA_REMOVED_COLUMNS = 2;
+}
+
+// The cadence at which to update data profiles when the inspection rules
+// defined by the `InspectTemplate` change.
+message DiscoveryInspectTemplateModifiedCadence {
+ // How frequently data profiles can be updated when the template is modified.
+ // Defaults to never.
+ DataProfileUpdateFrequency frequency = 1;
+}
+
+// Target used to match against for discovery with Cloud SQL tables.
+message CloudSqlDiscoveryTarget {
+ // Required. The tables the discovery cadence applies to. The first target
+ // with a matching filter will be the one to apply to a table.
+ DiscoveryCloudSqlFilter filter = 1 [(google.api.field_behavior) = REQUIRED];
+
+ // In addition to matching the filter, these conditions must be true
+ // before a profile is generated.
+ DiscoveryCloudSqlConditions conditions = 2;
+
+ // Type of schedule.
+ oneof cadence {
+ // How often and when to update profiles. New tables that match both the
+ // filter and conditions are scanned as quickly as possible depending on
+ // system capacity.
+ DiscoveryCloudSqlGenerationCadence generation_cadence = 3;
+
+ // Disable profiling for database resources that match this filter.
+ Disabled disabled = 4;
+ }
+}
+
+// Determines what tables will have profiles generated within an organization
+// or project. Includes the ability to filter by regular expression patterns
+// on project ID, location, instance, database, and database resource name.
+message DiscoveryCloudSqlFilter {
+ // Whether the filter applies to a specific set of database resources or all
+ // other database resources within the location being profiled. The first
+ // filter to match will be applied, regardless of the condition. If none is
+ // set, will default to `others`.
+ oneof filter {
+ // A specific set of database resources for this filter to apply to.
+ DatabaseResourceCollection collection = 1;
+
+ // Catch-all. This should always be the last target in the list because
+ // anything above it will apply first. Should only appear once in a
+ // configuration. If none is specified, a default one will be added
+ // automatically.
+ AllOtherDatabaseResources others = 2;
+
+ // The database resource to scan. Targets including this can only include
+ // one target (the target with this database resource reference).
+ DatabaseResourceReference database_resource_reference = 3;
+ }
+}
+
+// Match database resources using regex filters. Examples of database
+// resources are tables, views, and stored procedures.
+message DatabaseResourceCollection {
+ // The first filter containing a pattern that matches a database resource will
+ // be used.
+ oneof pattern {
+ // A collection of regular expressions to match a database resource against.
+ DatabaseResourceRegexes include_regexes = 1;
+ }
+}
+
+// A collection of regular expressions to determine what database resources to
+// match against.
+message DatabaseResourceRegexes {
+ // A group of regular expression patterns to match against one or more
+ // database resources.
+ // Maximum of 100 entries. The sum of all regular expression's length can't
+ // exceed 10 KiB.
+ repeated DatabaseResourceRegex patterns = 1;
+}
+
+// A pattern to match against one or more database resources. At least one
+// pattern must be specified. Regular expressions use RE2
+// [syntax](https://github.com/google/re2/wiki/Syntax); a guide can be found
+// under the google/re2 repository on GitHub.
+message DatabaseResourceRegex {
+ // For organizations, if unset, will match all projects. Has no effect
+ // for configurations created within a project.
+ string project_id_regex = 1;
+
+ // Regex to test the instance name against. If empty, all instances match.
+ string instance_regex = 2;
+
+ // Regex to test the database name against. If empty, all databases match.
+ string database_regex = 3;
+
+ // Regex to test the database resource's name against. An example of a
+ // database resource name is a table's name. Other database resource names
+ // like view names could be included in the future. If empty, all database
+ // resources match.
+ string database_resource_name_regex = 4;
+}
+
+// Match database resources not covered by any other filter.
+message AllOtherDatabaseResources {}
+
+// Identifies a single database resource, like a table within a database.
+message DatabaseResourceReference {
+ // Required. If within a project-level config, then this must match the
+ // config's project ID.
+ string project_id = 1 [(google.api.field_behavior) = REQUIRED];
+
+ // Required. The instance where this resource is located. For example: Cloud
+ // SQL instance ID.
+ string instance = 2 [(google.api.field_behavior) = REQUIRED];
+
+ // Required. Name of a database within the instance.
+ string database = 3 [(google.api.field_behavior) = REQUIRED];
+
+ // Required. Name of a database resource, for example, a table within the
+ // database.
+ string database_resource = 4 [(google.api.field_behavior) = REQUIRED];
+}
+
+// Requirements that must be true before a table is profiled for the
+// first time.
+message DiscoveryCloudSqlConditions {
+ // The database engines that should be profiled.
+ enum DatabaseEngine {
+ // Unused.
+ DATABASE_ENGINE_UNSPECIFIED = 0;
+
+ // Include all supported database engines.
+ ALL_SUPPORTED_DATABASE_ENGINES = 1;
+
+ // MySQL database.
+ MYSQL = 2;
+
+ // PostgreSQL database.
+ POSTGRES = 3;
+ }
+
+ // Cloud SQL database resource types. New values can be added at a later time.
+ enum DatabaseResourceType {
+ // Unused.
+ DATABASE_RESOURCE_TYPE_UNSPECIFIED = 0;
+
+ // Includes database resource types that become supported at a later time.
+ DATABASE_RESOURCE_TYPE_ALL_SUPPORTED_TYPES = 1;
+
+ // Tables.
+ DATABASE_RESOURCE_TYPE_TABLE = 2;
+ }
+
+ // Optional. Database engines that should be profiled.
+ // Optional. Defaults to ALL_SUPPORTED_DATABASE_ENGINES if unspecified.
+ repeated DatabaseEngine database_engines = 1
+ [(google.api.field_behavior) = OPTIONAL];
+
+ // Data profiles will only be generated for the database resource types
+ // specified in this field.
+ // If not specified, defaults to [DATABASE_RESOURCE_TYPE_ALL_SUPPORTED_TYPES].
+ repeated DatabaseResourceType types = 3;
+}
+
+// How often existing tables should have their profiles refreshed.
+// New tables are scanned as quickly as possible depending on system
+// capacity.
+message DiscoveryCloudSqlGenerationCadence {
+ // How frequently to modify the profile when the table's schema is modified.
+ message SchemaModifiedCadence {
+ // The type of modification that causes a profile update.
+ enum CloudSqlSchemaModification {
+ // Unused.
+ SQL_SCHEMA_MODIFICATION_UNSPECIFIED = 0;
+
+ // New columns have appeared.
+ NEW_COLUMNS = 1;
+
+ // Columns have been removed from the table.
+ REMOVED_COLUMNS = 2;
+ }
+
+ // The types of schema modifications to consider.
+ // Defaults to NEW_COLUMNS.
+ repeated CloudSqlSchemaModification types = 1;
+
+ // Frequency to regenerate data profiles when the schema is modified.
+ // Defaults to monthly.
+ DataProfileUpdateFrequency frequency = 2;
+ }
+
+ // When to reprofile if the schema has changed.
+ SchemaModifiedCadence schema_modified_cadence = 1;
+
+ // Data changes (non-schema changes) in Cloud SQL tables can't trigger
+ // reprofiling. If you set this field, profiles are refreshed at this
+ // frequency regardless of whether the underlying tables have changed.
+ // Defaults to never.
+ DataProfileUpdateFrequency refresh_frequency = 2;
+
+ // Governs when to update data profiles when the inspection rules
+ // defined by the `InspectTemplate` change.
+ // If not set, changing the template will not cause a data profile to update.
+ DiscoveryInspectTemplateModifiedCadence inspect_template_modified_cadence = 3;
+}
+
+// Discovery target for credentials and secrets in cloud resource metadata.
+//
+// This target does not include any filtering or frequency controls. Cloud
+// DLP will scan cloud resource metadata for secrets daily.
+//
+// No inspect template should be included in the discovery config for a
+// security benchmarks scan. Instead, the built-in list of secrets and
+// credentials infoTypes will be used (see
+// https://cloud.google.com/sensitive-data-protection/docs/infotypes-reference#credentials_and_secrets).
+//
+// Credentials and secrets discovered will be reported as vulnerabilities to
+// Security Command Center.
+message SecretsDiscoveryTarget {}
+
+// Target used to match against for discovery with Cloud Storage buckets.
+message CloudStorageDiscoveryTarget {
+ // Required. The buckets the generation_cadence applies to. The first target
+ // with a matching filter will be the one to apply to a bucket.
+ DiscoveryCloudStorageFilter filter = 1
+ [(google.api.field_behavior) = REQUIRED];
+
+ // Optional. In addition to matching the filter, these conditions must be true
+ // before a profile is generated.
+ DiscoveryFileStoreConditions conditions = 4
+ [(google.api.field_behavior) = OPTIONAL];
+
+ // How often and when to update profiles.
+ oneof cadence {
+ // Optional. How often and when to update profiles. New buckets that match
+ // both the filter and conditions are scanned as quickly as possible
+ // depending on system capacity.
+ DiscoveryCloudStorageGenerationCadence generation_cadence = 2
+ [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. Disable profiling for buckets that match this filter.
+ Disabled disabled = 3 [(google.api.field_behavior) = OPTIONAL];
+ }
+}
+
+// Determines which buckets will have profiles generated within an organization
+// or project. Includes the ability to filter by regular expression patterns
+// on project ID and bucket name.
+message DiscoveryCloudStorageFilter {
+ // Whether the filter applies to a specific set of buckets or all
+ // other buckets within the location being profiled. The first
+ // filter to match will be applied, regardless of the condition. If none is
+ // set, will default to `others`.
+ oneof filter {
+ // Optional. A specific set of buckets for this filter to apply to.
+ FileStoreCollection collection = 1 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. The bucket to scan. Targets including this can only include one
+ // target (the target with this bucket). This enables profiling the contents
+ // of a single bucket, while the other options allow for easy profiling of
+ // many bucets within a project or an organization.
+ CloudStorageResourceReference cloud_storage_resource_reference = 2
+ [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. Catch-all. This should always be the last target in the list
+ // because anything above it will apply first. Should only appear once in a
+ // configuration. If none is specified, a default one will be added
+ // automatically.
+ AllOtherResources others = 100 [(google.api.field_behavior) = OPTIONAL];
+ }
+}
+
+// Match file stores (e.g. buckets) using filters.
+message FileStoreCollection {
+ // The first filter containing a pattern that matches a file store will be
+ // used.
+ oneof pattern {
+ // Optional. A collection of regular expressions to match a file store
+ // against.
+ FileStoreRegexes include_regexes = 1
+ [(google.api.field_behavior) = OPTIONAL];
+ }
+
+ // Optional. To be included in the collection, a resource must meet all of the
+ // following requirements:
+ //
+ // - If tag filters are provided, match all provided tag filters.
+ // - If one or more patterns are specified, match at least one pattern.
+ //
+ // For a resource to match the tag filters, the resource must have all of the
+ // provided tags attached. Tags refer to Resource Manager tags bound to the
+ // resource or its ancestors. For more information, see [Manage
+ // schedules](https://cloud.google.com/sensitive-data-protection/docs/profile-project-cloud-storage#manage-schedules).
+ TagFilters include_tags = 2 [(google.api.field_behavior) = OPTIONAL];
+}
+
+// A collection of regular expressions to determine what file store to match
+// against.
+message FileStoreRegexes {
+ // Required. The group of regular expression patterns to match against one or
+ // more file stores. Maximum of 100 entries. The sum of all regular
+ // expression's length can't exceed 10 KiB.
+ repeated FileStoreRegex patterns = 1 [(google.api.field_behavior) = REQUIRED];
+}
+
+// A pattern to match against one or more file stores.
+message FileStoreRegex {
+ // The type of resource regex to use.
+ oneof resource_regex {
+ // Optional. Regex for Cloud Storage.
+ CloudStorageRegex cloud_storage_regex = 1
+ [(google.api.field_behavior) = OPTIONAL];
+ }
+}
+
+// A pattern to match against one or more file stores. At least one
+// pattern must be specified. Regular expressions use RE2
+// [syntax](https://github.com/google/re2/wiki/Syntax); a guide can be found
+// under the google/re2 repository on GitHub.
+message CloudStorageRegex {
+ // Optional. For organizations, if unset, will match all projects.
+ string project_id_regex = 1 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. Regex to test the bucket name against. If empty, all buckets
+ // match. Example: "marketing2021" or "(marketing)\d{4}" will both match the
+ // bucket gs://marketing2021
+ string bucket_name_regex = 2 [(google.api.field_behavior) = OPTIONAL];
+}
+
+// Identifies a single Cloud Storage bucket.
+message CloudStorageResourceReference {
+ // Required. The bucket to scan.
+ string bucket_name = 1 [(google.api.field_behavior) = REQUIRED];
+
+ // Required. If within a project-level config, then this must match the
+ // config's project id.
+ string project_id = 2 [(google.api.field_behavior) = REQUIRED];
+}
+
+// How often existing buckets should have their profiles refreshed.
+// New buckets are scanned as quickly as possible depending on system
+// capacity.
+message DiscoveryCloudStorageGenerationCadence {
+ // Optional. Data changes in Cloud Storage can't trigger reprofiling. If you
+ // set this field, profiles are refreshed at this frequency regardless of
+ // whether the underlying buckets have changed. Defaults to never.
+ DataProfileUpdateFrequency refresh_frequency = 1
+ [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. Governs when to update data profiles when the inspection rules
+ // defined by the `InspectTemplate` change.
+ // If not set, changing the template will not cause a data profile to update.
+ DiscoveryInspectTemplateModifiedCadence inspect_template_modified_cadence = 2
+ [(google.api.field_behavior) = OPTIONAL];
+}
+
+// Requirements that must be true before a Cloud Storage bucket or object is
+// scanned in discovery for the first time. There is an AND relationship between
+// the top-level attributes.
+message DiscoveryCloudStorageConditions {
+ // The attribute of an object. See
+ // https://cloud.google.com/storage/docs/storage-classes for more information
+ // on storage classes.
+ enum CloudStorageObjectAttribute {
+ // Unused.
+ CLOUD_STORAGE_OBJECT_ATTRIBUTE_UNSPECIFIED = 0;
+
+ // Scan objects regardless of the attribute.
+ ALL_SUPPORTED_OBJECTS = 1;
+
+ // Scan objects with the standard storage class.
+ STANDARD = 2;
+
+ // Scan objects with the nearline storage class. This will incur retrieval
+ // fees.
+ NEARLINE = 3;
+
+ // Scan objects with the coldline storage class. This will incur retrieval
+ // fees.
+ COLDLINE = 4;
+
+ // Scan objects with the archive storage class. This will incur retrieval
+ // fees.
+ ARCHIVE = 5;
+
+ // Scan objects with the regional storage class.
+ REGIONAL = 6;
+
+ // Scan objects with the multi-regional storage class.
+ MULTI_REGIONAL = 7;
+
+ // Scan objects with the dual-regional storage class. This will incur
+ // retrieval fees.
+ DURABLE_REDUCED_AVAILABILITY = 8;
+ }
+
+ // The attribute of a bucket.
+ enum CloudStorageBucketAttribute {
+ // Unused.
+ CLOUD_STORAGE_BUCKET_ATTRIBUTE_UNSPECIFIED = 0;
+
+ // Scan buckets regardless of the attribute.
+ ALL_SUPPORTED_BUCKETS = 1;
+
+ // Buckets with [Autoclass](https://cloud.google.com/storage/docs/autoclass)
+ // disabled. Only one of
+ // AUTOCLASS_DISABLED or AUTOCLASS_ENABLED should be set.
+ AUTOCLASS_DISABLED = 2;
+
+ // Buckets with [Autoclass](https://cloud.google.com/storage/docs/autoclass)
+ // enabled. Only one of
+ // AUTOCLASS_DISABLED or AUTOCLASS_ENABLED should be set. Scanning
+ // Autoclass-enabled buckets can affect object storage classes.
+ AUTOCLASS_ENABLED = 3;
+ }
+
+ // Required. Only objects with the specified attributes will be scanned. If an
+ // object has one of the specified attributes but is inside an excluded
+ // bucket, it will not be scanned. Defaults to [ALL_SUPPORTED_OBJECTS]. A
+ // profile will be created even if no objects match the
+ // included_object_attributes.
+ repeated CloudStorageObjectAttribute included_object_attributes = 1
+ [(google.api.field_behavior) = REQUIRED];
+
+ // Required. Only objects with the specified attributes will be scanned.
+ // Defaults to [ALL_SUPPORTED_BUCKETS] if unset.
+ repeated CloudStorageBucketAttribute included_bucket_attributes = 2
+ [(google.api.field_behavior) = REQUIRED];
+}
+
+// Requirements that must be true before a file store is scanned in discovery
+// for the first time. There is an AND relationship between the top-level
+// attributes.
+message DiscoveryFileStoreConditions {
+ // Optional. File store must have been created after this date. Used to avoid
+ // backfilling.
+ google.protobuf.Timestamp created_after = 1
+ [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. Minimum age a file store must have. If set, the value must be 1
+ // hour or greater.
+ google.protobuf.Duration min_age = 2 [(google.api.field_behavior) = OPTIONAL];
+
+ // File store specific conditions.
+ oneof conditions {
+ // Optional. Cloud Storage conditions.
+ DiscoveryCloudStorageConditions cloud_storage_conditions = 3
+ [(google.api.field_behavior) = OPTIONAL];
+ }
+}
+
+// Target used to match against for discovery of resources from other clouds.
+// An [AWS connector in Security Command Center
+// (Enterprise](https://cloud.google.com/security-command-center/docs/connect-scc-to-aws)
+// is required to use this feature.
+message OtherCloudDiscoveryTarget {
+ // Required. The type of data profiles generated by this discovery target.
+ // Supported values are:
+ // * aws/s3/bucket
+ DataSourceType data_source_type = 1 [(google.api.field_behavior) = REQUIRED];
+
+ // Required. The resources that the discovery cadence applies to. The
+ // first target with a matching filter will be the one to apply to a resource.
+ DiscoveryOtherCloudFilter filter = 2 [(google.api.field_behavior) = REQUIRED];
+
+ // Optional. In addition to matching the filter, these conditions must be true
+ // before a profile is generated.
+ DiscoveryOtherCloudConditions conditions = 3
+ [(google.api.field_behavior) = OPTIONAL];
+
+ // Type of cadence.
+ oneof cadence {
+ // How often and when to update data profiles. New resources that match both
+ // the filter and conditions are scanned as quickly as possible depending on
+ // system capacity.
+ DiscoveryOtherCloudGenerationCadence generation_cadence = 4;
+
+ // Disable profiling for resources that match this filter.
+ Disabled disabled = 5;
+ }
+}
+
+// Determines which resources from the other cloud will have profiles generated.
+// Includes the ability to filter by resource names.
+message DiscoveryOtherCloudFilter {
+ // Whether the filter applies to a specific set of resources or all
+ // other resources. The first filter to match will be applied, regardless of
+ // the condition. Defaults to `others` if none is set.
+ oneof filter {
+ // A collection of resources for this filter to apply to.
+ OtherCloudResourceCollection collection = 1;
+
+ // The resource to scan. Configs using this filter can only have one target
+ // (the target with this single resource reference).
+ OtherCloudSingleResourceReference single_resource = 2;
+
+ // Optional. Catch-all. This should always be the last target in the list
+ // because anything above it will apply first. Should only appear once in a
+ // configuration. If none is specified, a default one will be added
+ // automatically.
+ AllOtherResources others = 100 [(google.api.field_behavior) = OPTIONAL];
+ }
+}
+
+// Match resources using regex filters.
+message OtherCloudResourceCollection {
+ // The first filter containing a pattern that matches a resource will be used.
+ oneof pattern {
+ // A collection of regular expressions to match a resource against.
+ OtherCloudResourceRegexes include_regexes = 1;
+ }
+}
+
+// A collection of regular expressions to determine what resources to match
+// against.
+message OtherCloudResourceRegexes {
+ // A group of regular expression patterns to match against one or more
+ // resources.
+ // Maximum of 100 entries. The sum of all regular expression's length can't
+ // exceed 10 KiB.
+ repeated OtherCloudResourceRegex patterns = 1;
+}
+
+// A pattern to match against one or more resources. At least one pattern must
+// be specified. Regular expressions use RE2
+// [syntax](https://github.com/google/re2/wiki/Syntax); a guide can be found
+// under the google/re2 repository on GitHub.
+message OtherCloudResourceRegex {
+ // The type of resource regex to use.
+ oneof resource_regex {
+ // Regex for Amazon S3 buckets.
+ AmazonS3BucketRegex amazon_s3_bucket_regex = 1;
+ }
+}
+
+// AWS account regex.
+message AwsAccountRegex {
+ // Optional. Regex to test the AWS account ID against.
+ // If empty, all accounts match.
+ string account_id_regex = 1 [(google.api.field_behavior) = OPTIONAL];
+}
+
+// Amazon S3 bucket regex.
+message AmazonS3BucketRegex {
+ // The AWS account regex.
+ AwsAccountRegex aws_account_regex = 1;
+
+ // Optional. Regex to test the bucket name against.
+ // If empty, all buckets match.
+ string bucket_name_regex = 2 [(google.api.field_behavior) = OPTIONAL];
+}
+
+// Identifies a single resource, like a single Amazon S3 bucket.
+message OtherCloudSingleResourceReference {
+ // The resource to scan.
+ oneof resource {
+ // Amazon S3 bucket.
+ AmazonS3Bucket amazon_s3_bucket = 1;
+ }
+}
+
+// AWS account.
+message AwsAccount {
+ // Required. AWS account ID.
+ string account_id = 1 [(google.api.field_behavior) = REQUIRED];
+}
+
+// Amazon S3 bucket.
+message AmazonS3Bucket {
+ // The AWS account.
+ AwsAccount aws_account = 1;
+
+ // Required. The bucket name.
+ string bucket_name = 2 [(google.api.field_behavior) = REQUIRED];
+}
+
+// Requirements that must be true before a resource is profiled for the first
+// time.
+message DiscoveryOtherCloudConditions {
+ // Minimum age a resource must be before Cloud DLP can profile it. Value must
+ // be 1 hour or greater.
+ google.protobuf.Duration min_age = 1;
+
+ // The conditions to apply.
+ oneof conditions {
+ // Amazon S3 bucket conditions.
+ AmazonS3BucketConditions amazon_s3_bucket_conditions = 2;
+ }
+}
+
+// Amazon S3 bucket conditions.
+message AmazonS3BucketConditions {
+ // Supported Amazon S3 bucket types.
+ // Defaults to TYPE_ALL_SUPPORTED.
+ enum BucketType {
+ // Unused.
+ TYPE_UNSPECIFIED = 0;
+
+ // All supported classes.
+ TYPE_ALL_SUPPORTED = 1;
+
+ // A general purpose Amazon S3 bucket.
+ TYPE_GENERAL_PURPOSE = 2;
+ }
+
+ // Supported Amazon S3 object storage classes.
+ // Defaults to ALL_SUPPORTED_CLASSES.
+ enum ObjectStorageClass {
+ // Unused.
+ UNSPECIFIED = 0;
+
+ // All supported classes.
+ ALL_SUPPORTED_CLASSES = 1;
+
+ // Standard object class.
+ STANDARD = 2;
+
+ // Standard - infrequent access object class.
+ STANDARD_INFREQUENT_ACCESS = 4;
+
+ // Glacier - instant retrieval object class.
+ GLACIER_INSTANT_RETRIEVAL = 6;
+
+ // Objects in the S3 Intelligent-Tiering access tiers.
+ INTELLIGENT_TIERING = 7;
+ }
+
+ // Optional. Bucket types that should be profiled.
+ // Optional. Defaults to TYPE_ALL_SUPPORTED if unspecified.
+ repeated BucketType bucket_types = 1 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. Object classes that should be profiled.
+ // Optional. Defaults to ALL_SUPPORTED_CLASSES if unspecified.
+ repeated ObjectStorageClass object_storage_classes = 2
+ [(google.api.field_behavior) = OPTIONAL];
+}
+
+// How often existing resources should have their profiles refreshed.
+// New resources are scanned as quickly as possible depending on system
+// capacity.
+message DiscoveryOtherCloudGenerationCadence {
+ // Optional. Frequency to update profiles regardless of whether the underlying
+ // resource has changes. Defaults to never.
+ DataProfileUpdateFrequency refresh_frequency = 1
+ [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. Governs when to update data profiles when the inspection rules
+ // defined by the `InspectTemplate` change.
+ // If not set, changing the template will not cause a data profile to update.
+ DiscoveryInspectTemplateModifiedCadence inspect_template_modified_cadence = 2
+ [(google.api.field_behavior) = OPTIONAL];
+}
+
+// The location to begin a discovery scan. Denotes an organization ID or folder
+// ID within an organization.
+message DiscoveryStartingLocation {
+ // The location to be scanned.
+ oneof location {
+ // The ID of an organization to scan.
+ int64 organization_id = 1;
+
+ // The ID of the folder within an organization to be scanned.
+ int64 folder_id = 2;
+ }
+}
+
+// The other cloud starting location for discovery.
+message OtherCloudDiscoveryStartingLocation {
+ // The AWS starting location for discovery.
+ message AwsDiscoveryStartingLocation {
+ // The scope of this starting location.
+ oneof scope {
+ // The AWS account ID that this discovery config applies to.
+ // Within an AWS organization, you can find the AWS account ID inside an
+ // AWS account ARN. Example:
+ // arn:{partition}:organizations::{management_account_id}:account/{org_id}/{account_id}
+ string account_id = 2;
+
+ // All AWS assets stored in Asset Inventory that didn't match other AWS
+ // discovery configs.
+ bool all_asset_inventory_assets = 3;
+ }
+ }
+
+ // The other cloud starting location for discovery.
+ oneof location {
+ // The AWS starting location for discovery.
+ AwsDiscoveryStartingLocation aws_location = 1;
+ }
+}
+
+// Match discovery resources not covered by any other filter.
+message AllOtherResources {}
+
+// Target used to match against for discovery with Vertex AI datasets.
+message VertexDatasetDiscoveryTarget {
+ // Required. The datasets the discovery cadence applies to. The first target
+ // with a matching filter will be the one to apply to a dataset.
+ DiscoveryVertexDatasetFilter filter = 1
+ [(google.api.field_behavior) = REQUIRED];
+
+ // In addition to matching the filter, these conditions must be true
+ // before a profile is generated.
+ DiscoveryVertexDatasetConditions conditions = 2;
+
+ // Type of schedule.
+ oneof cadence {
+ // How often and when to update profiles. New datasets that match both the
+ // filter and conditions are scanned as quickly as possible depending on
+ // system capacity.
+ DiscoveryVertexDatasetGenerationCadence generation_cadence = 3;
+
+ // Disable profiling for datasets that match this filter.
+ Disabled disabled = 4;
+ }
+}
+
+// Determines what datasets will have profiles generated within an organization
+// or project. Includes the ability to filter by regular expression patterns
+// on project ID or dataset regex.
+message DiscoveryVertexDatasetFilter {
+ // Whether the filter applies to a specific set of datasets or all
+ // other datasets within the location being profiled. The first
+ // filter to match will be applied, regardless of the condition. If none is
+ // set, this field defaults to `others`.
+ oneof filter {
+ // A specific set of Vertex AI datasets for this filter to apply to.
+ VertexDatasetCollection collection = 1;
+
+ // The dataset resource to scan. Targets including this can only include
+ // one target (the target with this dataset resource reference).
+ VertexDatasetResourceReference vertex_dataset_resource_reference = 2;
+
+ // Catch-all. This should always be the last target in the list because
+ // anything above it will apply first. Should only appear once in a
+ // configuration. If none is specified, a default one will be added
+ // automatically.
+ AllOtherResources others = 100;
+ }
+}
+
+// Match dataset resources using regex filters.
+message VertexDatasetCollection {
+ // The pattern used to filter dataset resources.
+ oneof pattern {
+ // The regex used to filter dataset resources.
+ VertexDatasetRegexes vertex_dataset_regexes = 1;
+ }
+}
+
+// A collection of regular expressions to determine what datasets to match
+// against.
+message VertexDatasetRegexes {
+ // Required. The group of regular expression patterns to match against one or
+ // more datasets. Maximum of 100 entries. The sum of the lengths of all
+ // regular expressions can't exceed 10 KiB.
+ repeated VertexDatasetRegex patterns = 1
+ [(google.api.field_behavior) = REQUIRED];
+}
+
+// A pattern to match against one or more dataset resources.
+message VertexDatasetRegex {
+ // For organizations, if unset, will match all projects. Has no effect
+ // for configurations created within a project.
+ string project_id_regex = 1;
+}
+
+// Identifies a single Vertex AI resource. Only datasets are
+// supported.
+message VertexDatasetResourceReference {
+ // Required. The name of the Vertex AI resource. If set within a project-level
+ // configuration, the specified resource must be within the project.
+ // Examples:
+ //
+ // * `projects/{project}/locations/{location}/datasets/{dataset}`
+ string dataset_resource_name = 1 [(google.api.field_behavior) = REQUIRED];
+}
+
+// Requirements that must be true before a dataset is profiled for the
+// first time.
+message DiscoveryVertexDatasetConditions {
+ // Vertex AI dataset must have been created after this date. Used to avoid
+ // backfilling.
+ google.protobuf.Timestamp created_after = 1;
+
+ // Minimum age a Vertex AI dataset must have. If set, the value must be 1 hour
+ // or greater.
+ google.protobuf.Duration min_age = 2;
+}
+
+// How often existing datasets should have their profiles refreshed.
+// New datasets are scanned as quickly as possible depending on system
+// capacity.
+message DiscoveryVertexDatasetGenerationCadence {
+ // If you set this field, profiles are refreshed at this
+ // frequency regardless of whether the underlying datasets have changed.
+ // Defaults to never.
+ DataProfileUpdateFrequency refresh_frequency = 1;
+
+ // Governs when to update data profiles when the inspection rules
+ // defined by the `InspectTemplate` change.
+ // If not set, changing the template will not cause a data profile to be
+ // updated.
+ DiscoveryInspectTemplateModifiedCadence inspect_template_modified_cadence = 2;
+}
+
+// Combines all of the information about a DLP job.
+message DlpJob {
+ option (google.api.resource) = {
+ type: "dlp.googleapis.com/DlpJob"
+ pattern: "projects/{project}/dlpJobs/{dlp_job}"
+ pattern: "projects/{project}/locations/{location}/dlpJobs/{dlp_job}"
+ };
+
+ // Possible states of a job. New items may be added.
+ enum JobState {
+ // Unused.
+ JOB_STATE_UNSPECIFIED = 0;
+
+ // The job has not yet started.
+ PENDING = 1;
+
+ // The job is currently running. Once a job has finished it will transition
+ // to FAILED or DONE.
+ RUNNING = 2;
+
+ // The job is no longer running.
+ DONE = 3;
+
+ // The job was canceled before it could be completed.
+ CANCELED = 4;
+
+ // The job had an error and did not complete.
+ FAILED = 5;
+
+ // The job is currently accepting findings via hybridInspect.
+ // A hybrid job in ACTIVE state may continue to have findings added to it
+ // through the calling of hybridInspect. After the job has finished no more
+ // calls to hybridInspect may be made. ACTIVE jobs can transition to DONE.
+ ACTIVE = 6;
+ }
+
+ // The server-assigned name.
+ string name = 1;
+
+ // The type of job.
+ DlpJobType type = 2;
+
+ // State of a job.
+ JobState state = 3;
+
+ // Job details.
+ oneof details {
+ // Results from analyzing risk of a data source.
+ AnalyzeDataSourceRiskDetails risk_details = 4;
+
+ // Results from inspecting a data source.
+ InspectDataSourceDetails inspect_details = 5;
+ }
+
+ // Time when the job was created.
+ google.protobuf.Timestamp create_time = 6;
+
+ // Time when the job started.
+ google.protobuf.Timestamp start_time = 7;
+
+ // Time when the job finished.
+ google.protobuf.Timestamp end_time = 8;
+
+ // Time when the job was last modified by the system.
+ google.protobuf.Timestamp last_modified = 15;
+
+ // If created by a job trigger, the resource name of the trigger that
+ // instantiated the job.
+ string job_trigger_name = 10;
+
+ // A stream of errors encountered running the job.
+ repeated Error errors = 11;
+
+ // Events that should occur after the job has completed.
+ repeated ActionDetails action_details = 12;
+}
+
+// The request message for
+// [GetDlpJob][google.privacy.dlp.v2.DlpService.GetDlpJob].
+message GetDlpJobRequest {
+ // Required. The name of the DlpJob resource.
+ string name = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = { type: "dlp.googleapis.com/DlpJob" }
+ ];
+}
+
+// The request message for listing DLP jobs.
+message ListDlpJobsRequest {
+ // Required. Parent resource name.
+ //
+ // The format of this value varies depending on whether you have [specified a
+ // processing
+ // location](https://cloud.google.com/sensitive-data-protection/docs/specifying-location):
+ //
+ // + Projects scope, location specified:
+ // `projects/{project_id}/locations/{location_id}`
+ // + Projects scope, no location specified (defaults to global):
+ // `projects/{project_id}`
+ //
+ // The following example `parent` string specifies a parent project with the
+ // identifier `example-project`, and specifies the `europe-west3` location
+ // for processing data:
+ //
+ // parent=projects/example-project/locations/europe-west3
+ string parent = 4 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ child_type: "dlp.googleapis.com/DlpJob"
+ }
+ ];
+
+ // Allows filtering.
+ //
+ // Supported syntax:
+ //
+ // * Filter expressions are made up of one or more restrictions.
+ // * Restrictions can be combined by `AND` or `OR` logical operators. A
+ // sequence of restrictions implicitly uses `AND`.
+ // * A restriction has the form of `{field} {operator} {value}`.
+ // * Supported fields/values for inspect jobs:
+ // - `state` - PENDING|RUNNING|CANCELED|FINISHED|FAILED
+ // - `inspected_storage` - DATASTORE|CLOUD_STORAGE|BIGQUERY
+ // - `trigger_name` - The name of the trigger that created the job.
+ // - 'end_time` - Corresponds to the time the job finished.
+ // - 'start_time` - Corresponds to the time the job finished.
+ // * Supported fields for risk analysis jobs:
+ // - `state` - RUNNING|CANCELED|FINISHED|FAILED
+ // - 'end_time` - Corresponds to the time the job finished.
+ // - 'start_time` - Corresponds to the time the job finished.
+ // * The operator must be `=` or `!=`.
+ //
+ // The syntax is based on https://google.aip.dev/160.
+ //
+ // Examples:
+ //
+ // * inspected_storage = cloud_storage AND state = done
+ // * inspected_storage = cloud_storage OR inspected_storage = bigquery
+ // * inspected_storage = cloud_storage AND (state = done OR state = canceled)
+ // * end_time > \"2017-12-12T00:00:00+00:00\"
+ //
+ // The length of this field should be no more than 500 characters.
+ string filter = 1;
+
+ // The standard list page size.
+ int32 page_size = 2;
+
+ // The standard list page token.
+ string page_token = 3;
+
+ // The type of job. Defaults to `DlpJobType.INSPECT`
+ DlpJobType type = 5;
+
+ // Comma-separated list of fields to order by,
+ // followed by `asc` or `desc` postfix. This list is case insensitive. The
+ // default sorting order is ascending. Redundant space characters are
+ // insignificant.
+ //
+ // Example: `name asc, end_time asc, create_time desc`
+ //
+ // Supported fields are:
+ //
+ // - `create_time`: corresponds to the time the job was created.
+ // - `end_time`: corresponds to the time the job ended.
+ // - `name`: corresponds to the job's name.
+ // - `state`: corresponds to `state`
+ string order_by = 6;
+
+ // Deprecated. This field has no effect.
+ string location_id = 7;
+}
+
+// The response message for listing DLP jobs.
+message ListDlpJobsResponse {
+ // A list of DlpJobs that matches the specified filter in the request.
+ repeated DlpJob jobs = 1;
+
+ // The standard List next-page token.
+ string next_page_token = 2;
+}
+
+// The request message for canceling a DLP job.
+message CancelDlpJobRequest {
+ // Required. The name of the DlpJob resource to be cancelled.
+ string name = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = { type: "dlp.googleapis.com/DlpJob" }
+ ];
+}
+
+// The request message for finishing a DLP hybrid job.
+message FinishDlpJobRequest {
+ // Required. The name of the DlpJob resource to be finished.
+ string name = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = { type: "dlp.googleapis.com/DlpJob" }
+ ];
+}
+
+// The request message for deleting a DLP job.
+message DeleteDlpJobRequest {
+ // Required. The name of the DlpJob resource to be deleted.
+ string name = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = { type: "dlp.googleapis.com/DlpJob" }
+ ];
+}
+
+// Request message for CreateDeidentifyTemplate.
+message CreateDeidentifyTemplateRequest {
+ // Required. Parent resource name.
+ //
+ // The format of this value varies depending on the scope of the request
+ // (project or organization) and whether you have [specified a processing
+ // location](https://cloud.google.com/sensitive-data-protection/docs/specifying-location):
+ //
+ // + Projects scope, location specified:
+ // `projects/{project_id}/locations/{location_id}`
+ // + Projects scope, no location specified (defaults to global):
+ // `projects/{project_id}`
+ // + Organizations scope, location specified:
+ // `organizations/{org_id}/locations/{location_id}`
+ // + Organizations scope, no location specified (defaults to global):
+ // `organizations/{org_id}`
+ //
+ // The following example `parent` string specifies a parent project with the
+ // identifier `example-project`, and specifies the `europe-west3` location
+ // for processing data:
+ //
+ // parent=projects/example-project/locations/europe-west3
+ string parent = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ child_type: "dlp.googleapis.com/DeidentifyTemplate"
+ }
+ ];
+
+ // Required. The DeidentifyTemplate to create.
+ DeidentifyTemplate deidentify_template = 2
+ [(google.api.field_behavior) = REQUIRED];
+
+ // The template id can contain uppercase and lowercase letters,
+ // numbers, and hyphens; that is, it must match the regular
+ // expression: `[a-zA-Z\d-_]+`. The maximum length is 100
+ // characters. Can be empty to allow the system to generate one.
+ string template_id = 3;
+
+ // Deprecated. This field has no effect.
+ string location_id = 4;
+}
+
+// Request message for UpdateDeidentifyTemplate.
+message UpdateDeidentifyTemplateRequest {
+ // Required. Resource name of organization and deidentify template to be
+ // updated, for example
+ // `organizations/433245324/deidentifyTemplates/432452342` or
+ // projects/project-id/deidentifyTemplates/432452342.
+ string name = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ type: "dlp.googleapis.com/DeidentifyTemplate"
+ }
+ ];
+
+ // New DeidentifyTemplate value.
+ DeidentifyTemplate deidentify_template = 2;
+
+ // Mask to control which fields get updated.
+ google.protobuf.FieldMask update_mask = 3;
+}
+
+// Request message for GetDeidentifyTemplate.
+message GetDeidentifyTemplateRequest {
+ // Required. Resource name of the organization and deidentify template to be
+ // read, for example `organizations/433245324/deidentifyTemplates/432452342`
+ // or projects/project-id/deidentifyTemplates/432452342.
+ string name = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ type: "dlp.googleapis.com/DeidentifyTemplate"
+ }
+ ];
+}
+
+// Request message for ListDeidentifyTemplates.
+message ListDeidentifyTemplatesRequest {
+ // Required. Parent resource name.
+ //
+ // The format of this value varies depending on the scope of the request
+ // (project or organization) and whether you have [specified a processing
+ // location](https://cloud.google.com/sensitive-data-protection/docs/specifying-location):
+ //
+ // + Projects scope, location specified:
+ // `projects/{project_id}/locations/{location_id}`
+ // + Projects scope, no location specified (defaults to global):
+ // `projects/{project_id}`
+ // + Organizations scope, location specified:
+ // `organizations/{org_id}/locations/{location_id}`
+ // + Organizations scope, no location specified (defaults to global):
+ // `organizations/{org_id}`
+ //
+ // The following example `parent` string specifies a parent project with the
+ // identifier `example-project`, and specifies the `europe-west3` location
+ // for processing data:
+ //
+ // parent=projects/example-project/locations/europe-west3
+ string parent = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ child_type: "dlp.googleapis.com/DeidentifyTemplate"
+ }
+ ];
+
+ // Page token to continue retrieval. Comes from the previous call
+ // to `ListDeidentifyTemplates`.
+ string page_token = 2;
+
+ // Size of the page. This value can be limited by the server. If zero server
+ // returns a page of max size 100.
+ int32 page_size = 3;
+
+ // Comma-separated list of fields to order by,
+ // followed by `asc` or `desc` postfix. This list is case insensitive. The
+ // default sorting order is ascending. Redundant space characters are
+ // insignificant.
+ //
+ // Example: `name asc,update_time, create_time desc`
+ //
+ // Supported fields are:
+ //
+ // - `create_time`: corresponds to the time the template was created.
+ // - `update_time`: corresponds to the time the template was last updated.
+ // - `name`: corresponds to the template's name.
+ // - `display_name`: corresponds to the template's display name.
+ string order_by = 4;
+
+ // Deprecated. This field has no effect.
+ string location_id = 5;
+}
+
+// Response message for ListDeidentifyTemplates.
+message ListDeidentifyTemplatesResponse {
+ // List of deidentify templates, up to page_size in
+ // ListDeidentifyTemplatesRequest.
+ repeated DeidentifyTemplate deidentify_templates = 1;
+
+ // If the next page is available then the next page token to be used in the
+ // following ListDeidentifyTemplates request.
+ string next_page_token = 2;
+}
+
+// Request message for DeleteDeidentifyTemplate.
+message DeleteDeidentifyTemplateRequest {
+ // Required. Resource name of the organization and deidentify template to be
+ // deleted, for example
+ // `organizations/433245324/deidentifyTemplates/432452342` or
+ // projects/project-id/deidentifyTemplates/432452342.
+ string name = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ type: "dlp.googleapis.com/DeidentifyTemplate"
+ }
+ ];
+}
+
+// Configuration for a custom dictionary created from a data source of any size
+// up to the maximum size defined in the
+// [limits](https://cloud.google.com/sensitive-data-protection/limits) page. The
+// artifacts of dictionary creation are stored in the specified Cloud Storage
+// location. Consider using `CustomInfoType.Dictionary` for smaller dictionaries
+// that satisfy the size requirements.
+message LargeCustomDictionaryConfig {
+ // Location to store dictionary artifacts in Cloud Storage. These files
+ // will only be accessible by project owners and the DLP API. If any of these
+ // artifacts are modified, the dictionary is considered invalid and can no
+ // longer be used.
+ CloudStoragePath output_path = 1;
+
+ // Source of the dictionary.
+ oneof source {
+ // Set of files containing newline-delimited lists of dictionary phrases.
+ CloudStorageFileSet cloud_storage_file_set = 2;
+
+ // Field in a BigQuery table where each cell represents a dictionary phrase.
+ BigQueryField big_query_field = 3;
+ }
+}
+
+// Summary statistics of a custom dictionary.
+message LargeCustomDictionaryStats {
+ // Approximate number of distinct phrases in the dictionary.
+ int64 approx_num_phrases = 1;
+}
+
+// Configuration for stored infoTypes. All fields and subfield are provided
+// by the user. For more information, see
+// https://cloud.google.com/sensitive-data-protection/docs/creating-custom-infotypes.
+message StoredInfoTypeConfig {
+ // Display name of the StoredInfoType (max 256 characters).
+ string display_name = 1;
+
+ // Description of the StoredInfoType (max 256 characters).
+ string description = 2;
+
+ // Stored infotype types.
+ oneof type {
+ // StoredInfoType where findings are defined by a dictionary of phrases.
+ LargeCustomDictionaryConfig large_custom_dictionary = 3;
+
+ // Store dictionary-based CustomInfoType.
+ CustomInfoType.Dictionary dictionary = 4;
+
+ // Store regular expression-based StoredInfoType.
+ CustomInfoType.Regex regex = 5;
+ }
+}
+
+// Statistics for a StoredInfoType.
+message StoredInfoTypeStats {
+ // Stat types
+ oneof type {
+ // StoredInfoType where findings are defined by a dictionary of phrases.
+ LargeCustomDictionaryStats large_custom_dictionary = 1;
+ }
+}
+
+// Version of a StoredInfoType, including the configuration used to build it,
+// create timestamp, and current state.
+message StoredInfoTypeVersion {
+ // StoredInfoType configuration.
+ StoredInfoTypeConfig config = 1;
+
+ // Create timestamp of the version. Read-only, determined by the system
+ // when the version is created.
+ google.protobuf.Timestamp create_time = 2;
+
+ // Stored info type version state. Read-only, updated by the system
+ // during dictionary creation.
+ StoredInfoTypeState state = 3;
+
+ // Errors that occurred when creating this storedInfoType version, or
+ // anomalies detected in the storedInfoType data that render it unusable. Only
+ // the five most recent errors will be displayed, with the most recent error
+ // appearing first.
+ //
+ // For example, some of the data for stored custom dictionaries is put in
+ // the user's Cloud Storage bucket, and if this data is modified or
+ // deleted by the user or another system, the dictionary becomes invalid.
+ //
+ // If any errors occur, fix the problem indicated by the error message and
+ // use the UpdateStoredInfoType API method to create another version of the
+ // storedInfoType to continue using it, reusing the same `config` if it was
+ // not the source of the error.
+ repeated Error errors = 4;
+
+ // Statistics about this storedInfoType version.
+ StoredInfoTypeStats stats = 5;
+}
+
+// StoredInfoType resource message that contains information about the current
+// version and any pending updates.
+message StoredInfoType {
+ option (google.api.resource) = {
+ type: "dlp.googleapis.com/StoredInfoType"
+ pattern: "organizations/{organization}/storedInfoTypes/{stored_info_type}"
+ pattern: "projects/{project}/storedInfoTypes/{stored_info_type}"
+ pattern: "organizations/{organization}/locations/{location}/storedInfoTypes/{stored_info_type}"
+ pattern: "projects/{project}/locations/{location}/storedInfoTypes/{stored_info_type}"
+ };
+
+ // Resource name.
+ string name = 1;
+
+ // Current version of the stored info type.
+ StoredInfoTypeVersion current_version = 2;
+
+ // Pending versions of the stored info type. Empty if no versions are
+ // pending.
+ repeated StoredInfoTypeVersion pending_versions = 3;
+}
+
+// Request message for CreateStoredInfoType.
+message CreateStoredInfoTypeRequest {
+ // Required. Parent resource name.
+ //
+ // The format of this value varies depending on the scope of the request
+ // (project or organization) and whether you have [specified a processing
+ // location](https://cloud.google.com/sensitive-data-protection/docs/specifying-location):
+ //
+ // + Projects scope, location specified:
+ // `projects/{project_id}/locations/{location_id}`
+ // + Projects scope, no location specified (defaults to global):
+ // `projects/{project_id}`
+ // + Organizations scope, location specified:
+ // `organizations/{org_id}/locations/{location_id}`
+ // + Organizations scope, no location specified (defaults to global):
+ // `organizations/{org_id}`
+ //
+ // The following example `parent` string specifies a parent project with the
+ // identifier `example-project`, and specifies the `europe-west3` location
+ // for processing data:
+ //
+ // parent=projects/example-project/locations/europe-west3
+ string parent = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ child_type: "dlp.googleapis.com/StoredInfoType"
+ }
+ ];
+
+ // Required. Configuration of the storedInfoType to create.
+ StoredInfoTypeConfig config = 2 [(google.api.field_behavior) = REQUIRED];
+
+ // The storedInfoType ID can contain uppercase and lowercase letters,
+ // numbers, and hyphens; that is, it must match the regular
+ // expression: `[a-zA-Z\d-_]+`. The maximum length is 100
+ // characters. Can be empty to allow the system to generate one.
+ string stored_info_type_id = 3;
+
+ // Deprecated. This field has no effect.
+ string location_id = 4;
+}
+
+// Request message for UpdateStoredInfoType.
+message UpdateStoredInfoTypeRequest {
+ // Required. Resource name of organization and storedInfoType to be updated,
+ // for example `organizations/433245324/storedInfoTypes/432452342` or
+ // projects/project-id/storedInfoTypes/432452342.
+ string name = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ type: "dlp.googleapis.com/StoredInfoType"
+ }
+ ];
+
+ // Updated configuration for the storedInfoType. If not provided, a new
+ // version of the storedInfoType will be created with the existing
+ // configuration.
+ StoredInfoTypeConfig config = 2;
+
+ // Mask to control which fields get updated.
+ google.protobuf.FieldMask update_mask = 3;
+}
+
+// Request message for GetStoredInfoType.
+message GetStoredInfoTypeRequest {
+ // Required. Resource name of the organization and storedInfoType to be read,
+ // for example `organizations/433245324/storedInfoTypes/432452342` or
+ // projects/project-id/storedInfoTypes/432452342.
+ string name = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ type: "dlp.googleapis.com/StoredInfoType"
+ }
+ ];
+}
+
+// Request message for ListStoredInfoTypes.
+message ListStoredInfoTypesRequest {
+ // Required. Parent resource name.
+ //
+ // The format of this value varies depending on the scope of the request
+ // (project or organization) and whether you have [specified a processing
+ // location](https://cloud.google.com/sensitive-data-protection/docs/specifying-location):
+ //
+ // + Projects scope, location specified:
+ // `projects/{project_id}/locations/{location_id}`
+ // + Projects scope, no location specified (defaults to global):
+ // `projects/{project_id}`
+ //
+ // The following example `parent` string specifies a parent project with the
+ // identifier `example-project`, and specifies the `europe-west3` location
+ // for processing data:
+ //
+ // parent=projects/example-project/locations/europe-west3
+ string parent = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ child_type: "dlp.googleapis.com/StoredInfoType"
+ }
+ ];
+
+ // Page token to continue retrieval. Comes from the previous call
+ // to `ListStoredInfoTypes`.
+ string page_token = 2;
+
+ // Size of the page. This value can be limited by the server. If zero server
+ // returns a page of max size 100.
+ int32 page_size = 3;
+
+ // Comma-separated list of fields to order by,
+ // followed by `asc` or `desc` postfix. This list is case insensitive. The
+ // default sorting order is ascending. Redundant space characters are
+ // insignificant.
+ //
+ // Example: `name asc, display_name, create_time desc`
+ //
+ // Supported fields are:
+ //
+ // - `create_time`: corresponds to the time the most recent version of the
+ // resource was created.
+ // - `state`: corresponds to the state of the resource.
+ // - `name`: corresponds to resource name.
+ // - `display_name`: corresponds to info type's display name.
+ string order_by = 4;
+
+ // Deprecated. This field has no effect.
+ string location_id = 5;
+}
+
+// Response message for ListStoredInfoTypes.
+message ListStoredInfoTypesResponse {
+ // List of storedInfoTypes, up to page_size in ListStoredInfoTypesRequest.
+ repeated StoredInfoType stored_info_types = 1;
+
+ // If the next page is available then the next page token to be used
+ // in the following ListStoredInfoTypes request.
+ string next_page_token = 2;
+}
+
+// Request message for DeleteStoredInfoType.
+message DeleteStoredInfoTypeRequest {
+ // Required. Resource name of the organization and storedInfoType to be
+ // deleted, for example `organizations/433245324/storedInfoTypes/432452342` or
+ // projects/project-id/storedInfoTypes/432452342.
+ string name = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ type: "dlp.googleapis.com/StoredInfoType"
+ }
+ ];
+}
+
+// Request to search for potentially sensitive info in a custom location.
+message HybridInspectJobTriggerRequest {
+ // Required. Resource name of the trigger to execute a hybrid inspect on, for
+ // example `projects/dlp-test-project/jobTriggers/53234423`.
+ string name = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = { type: "dlp.googleapis.com/JobTrigger" }
+ ];
+
+ // The item to inspect.
+ HybridContentItem hybrid_item = 3;
+}
+
+// Request to search for potentially sensitive info in a custom location.
+message HybridInspectDlpJobRequest {
+ // Required. Resource name of the job to execute a hybrid inspect on, for
+ // example `projects/dlp-test-project/dlpJob/53234423`.
+ string name = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = { type: "dlp.googleapis.com/DlpJob" }
+ ];
+
+ // The item to inspect.
+ HybridContentItem hybrid_item = 3;
+}
+
+// An individual hybrid item to inspect. Will be stored temporarily during
+// processing.
+message HybridContentItem {
+ // The item to inspect.
+ ContentItem item = 1;
+
+ // Supplementary information that will be added to each finding.
+ HybridFindingDetails finding_details = 2;
+}
+
+// Populate to associate additional data with each finding.
+message HybridFindingDetails {
+ // Details about the container where the content being inspected is from.
+ Container container_details = 1;
+
+ // Offset in bytes of the line, from the beginning of the file, where the
+ // finding is located. Populate if the item being scanned is only part of a
+ // bigger item, such as a shard of a file and you want to track the absolute
+ // position of the finding.
+ int64 file_offset = 2;
+
+ // Offset of the row for tables. Populate if the row(s) being scanned are
+ // part of a bigger dataset and you want to keep track of their absolute
+ // position.
+ int64 row_offset = 3;
+
+ // If the container is a table, additional information to make findings
+ // meaningful such as the columns that are primary keys. If not known ahead
+ // of time, can also be set within each inspect hybrid call and the two
+ // will be merged. Note that identifying_fields will only be stored to
+ // BigQuery, and only if the BigQuery action has been included.
+ TableOptions table_options = 4;
+
+ // Labels to represent user provided metadata about the data being inspected.
+ // If configured by the job, some key values may be required.
+ // The labels associated with `Finding`'s produced by hybrid
+ // inspection.
+ //
+ // Label keys must be between 1 and 63 characters long and must conform
+ // to the following regular expression: `[a-z]([-a-z0-9]*[a-z0-9])?`.
+ //
+ // Label values must be between 0 and 63 characters long and must conform
+ // to the regular expression `([a-z]([-a-z0-9]*[a-z0-9])?)?`.
+ //
+ // No more than 10 labels can be associated with a given finding.
+ //
+ // Examples:
+ //
+ // * `"environment" : "production"`
+ // * `"pipeline" : "etl"`
+ map labels = 5;
+}
+
+// Quota exceeded errors will be thrown once quota has been met.
+message HybridInspectResponse {}
+
+// Operators available for comparing the value of fields.
+enum RelationalOperator {
+ // Unused
+ RELATIONAL_OPERATOR_UNSPECIFIED = 0;
+
+ // Equal. Attempts to match even with incompatible types.
+ EQUAL_TO = 1;
+
+ // Not equal to. Attempts to match even with incompatible types.
+ NOT_EQUAL_TO = 2;
+
+ // Greater than.
+ GREATER_THAN = 3;
+
+ // Less than.
+ LESS_THAN = 4;
+
+ // Greater than or equals.
+ GREATER_THAN_OR_EQUALS = 5;
+
+ // Less than or equals.
+ LESS_THAN_OR_EQUALS = 6;
+
+ // Exists
+ EXISTS = 7;
+}
+
+// Type of the match which can be applied to different ways of matching, like
+// Dictionary, regular expression and intersecting with findings of another
+// infoType.
+enum MatchingType {
+ // Invalid.
+ MATCHING_TYPE_UNSPECIFIED = 0;
+
+ // Full match.
+ //
+ // - Dictionary: join of Dictionary results matched the complete finding quote
+ // - Regex: all regex matches fill a finding quote from start to end
+ // - Exclude infoType: completely inside affecting infoTypes findings
+ MATCHING_TYPE_FULL_MATCH = 1;
+
+ // Partial match.
+ //
+ // - Dictionary: at least one of the tokens in the finding matches
+ // - Regex: substring of the finding matches
+ // - Exclude infoType: intersects with affecting infoTypes findings
+ MATCHING_TYPE_PARTIAL_MATCH = 2;
+
+ // Inverse match.
+ //
+ // - Dictionary: no tokens in the finding match the dictionary
+ // - Regex: finding doesn't match the regex
+ // - Exclude infoType: no intersection with affecting infoTypes findings
+ MATCHING_TYPE_INVERSE_MATCH = 3;
+}
+
+// Deprecated and unused.
+enum ContentOption {
+ // Includes entire content of a file or a data stream.
+ CONTENT_UNSPECIFIED = 0;
+
+ // Text content within the data, excluding any metadata.
+ CONTENT_TEXT = 1;
+
+ // Images found in the data.
+ CONTENT_IMAGE = 2;
+}
+
+// Type of metadata containing the finding.
+enum MetadataType {
+ // Unused
+ METADATATYPE_UNSPECIFIED = 0;
+
+ // General file metadata provided by Cloud Storage.
+ STORAGE_METADATA = 2;
+}
+
+// Parts of the APIs which use certain infoTypes.
+enum InfoTypeSupportedBy {
+ // Unused.
+ ENUM_TYPE_UNSPECIFIED = 0;
+
+ // Supported by the inspect operations.
+ INSPECT = 1;
+
+ // Supported by the risk analysis operations.
+ RISK_ANALYSIS = 2;
+}
+
+// An enum to represent the various types of DLP jobs.
+enum DlpJobType {
+ // Defaults to INSPECT_JOB.
+ DLP_JOB_TYPE_UNSPECIFIED = 0;
+
+ // The job inspected Google Cloud for sensitive data.
+ INSPECT_JOB = 1;
+
+ // The job executed a Risk Analysis computation.
+ RISK_ANALYSIS_JOB = 2;
+}
+
+// State of a StoredInfoType version.
+enum StoredInfoTypeState {
+ // Unused
+ STORED_INFO_TYPE_STATE_UNSPECIFIED = 0;
+
+ // StoredInfoType version is being created.
+ PENDING = 1;
+
+ // StoredInfoType version is ready for use.
+ READY = 2;
+
+ // StoredInfoType creation failed. All relevant error messages are returned in
+ // the `StoredInfoTypeVersion` message.
+ FAILED = 3;
+
+ // StoredInfoType is no longer valid because artifacts stored in
+ // user-controlled storage were modified. To fix an invalid StoredInfoType,
+ // use the `UpdateStoredInfoType` method to create a new version.
+ INVALID = 4;
+}
+
+// Request to list the profiles generated for a given organization or project.
+message ListProjectDataProfilesRequest {
+ // Required. organizations/{org_id}/locations/{loc_id}
+ string parent = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ child_type: "dlp.googleapis.com/ProjectDataProfile"
+ }
+ ];
+
+ // Page token to continue retrieval.
+ string page_token = 2;
+
+ // Size of the page. This value can be limited by the server. If zero, server
+ // returns a page of max size 100.
+ int32 page_size = 3;
+
+ // Comma-separated list of fields to order by, followed by `asc` or `desc`
+ // postfix. This list is case insensitive. The default sorting order is
+ // ascending. Redundant space characters are insignificant. Only one order
+ // field at a time is allowed.
+ //
+ // Examples:
+ // * `project_id`
+ // * `sensitivity_level desc`
+ //
+ // Supported fields:
+ //
+ // - `project_id`: Google Cloud project ID
+ // - `sensitivity_level`: How sensitive the data in a project is, at most
+ // - `data_risk_level`: How much risk is associated with this data
+ // - `profile_last_generated`: Date and time (in epoch seconds) the profile
+ // was last generated
+ string order_by = 4;
+
+ // Allows filtering.
+ //
+ // Supported syntax:
+ //
+ // * Filter expressions are made up of one or more restrictions.
+ // * Restrictions can be combined by `AND` or `OR` logical operators. A
+ // sequence of restrictions implicitly uses `AND`.
+ // * A restriction has the form of `{field} {operator} {value}`.
+ // * Supported fields:
+ // - `project_id`: the Google Cloud project ID
+ // - `sensitivity_level`: HIGH|MODERATE|LOW
+ // - `data_risk_level`: HIGH|MODERATE|LOW
+ // - `status_code`: an RPC status code as defined in
+ // https://github.com/googleapis/googleapis/blob/master/google/rpc/code.proto
+ // - `profile_last_generated`: Date and time the profile was last
+ // generated
+ // * The operator must be `=` or `!=`. The `profile_last_generated` filter
+ // also supports `<` and `>`.
+ //
+ // The syntax is based on https://google.aip.dev/160.
+ //
+ // Examples:
+ //
+ // * `project_id = 12345 AND status_code = 1`
+ // * `project_id = 12345 AND sensitivity_level = HIGH`
+ // * `profile_last_generated < "2025-01-01T00:00:00.000Z"`
+ //
+ // The length of this field should be no more than 500 characters.
+ string filter = 5;
+}
+
+// List of profiles generated for a given organization or project.
+message ListProjectDataProfilesResponse {
+ // List of data profiles.
+ repeated ProjectDataProfile project_data_profiles = 1;
+
+ // The next page token.
+ string next_page_token = 2;
+}
+
+// Request to list the profiles generated for a given organization or project.
+message ListTableDataProfilesRequest {
+ // Required. Resource name of the organization or project, for
+ // example `organizations/433245324/locations/europe` or
+ // `projects/project-id/locations/asia`.
+ string parent = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ child_type: "dlp.googleapis.com/TableDataProfile"
+ }
+ ];
+
+ // Page token to continue retrieval.
+ string page_token = 2;
+
+ // Size of the page. This value can be limited by the server. If zero, server
+ // returns a page of max size 100.
+ int32 page_size = 3;
+
+ // Comma-separated list of fields to order by, followed by `asc` or `desc`
+ // postfix. This list is case insensitive. The default sorting order is
+ // ascending. Redundant space characters are insignificant. Only one order
+ // field at a time is allowed.
+ //
+ // Examples:
+ // * `project_id asc`
+ // * `table_id`
+ // * `sensitivity_level desc`
+ //
+ // Supported fields are:
+ //
+ // - `project_id`: The Google Cloud project ID.
+ // - `dataset_id`: The ID of a BigQuery dataset.
+ // - `table_id`: The ID of a BigQuery table.
+ // - `sensitivity_level`: How sensitive the data in a table is, at most.
+ // - `data_risk_level`: How much risk is associated with this data.
+ // - `profile_last_generated`: When the profile was last updated in epoch
+ // seconds.
+ // - `last_modified`: The last time the resource was modified.
+ // - `resource_visibility`: Visibility restriction for this resource.
+ // - `row_count`: Number of rows in this resource.
+ string order_by = 4;
+
+ // Allows filtering.
+ //
+ // Supported syntax:
+ //
+ // * Filter expressions are made up of one or more restrictions.
+ // * Restrictions can be combined by `AND` or `OR` logical operators. A
+ // sequence of restrictions implicitly uses `AND`.
+ // * A restriction has the form of `{field} {operator} {value}`.
+ // * Supported fields:
+ // - `project_id`: The Google Cloud project ID
+ // - `dataset_id`: The BigQuery dataset ID
+ // - `table_id`: The ID of the BigQuery table
+ // - `sensitivity_level`: HIGH|MODERATE|LOW
+ // - `data_risk_level`: HIGH|MODERATE|LOW
+ // - `resource_visibility`: PUBLIC|RESTRICTED
+ // - `status_code`: an RPC status code as defined in
+ // https://github.com/googleapis/googleapis/blob/master/google/rpc/code.proto
+ // - `profile_last_generated`: Date and time the profile was last
+ // generated
+ //
+ // * The operator must be `=` or `!=`. The `profile_last_generated` filter
+ // also supports `<` and `>`.
+ //
+ // The syntax is based on https://google.aip.dev/160.
+ //
+ // Examples:
+ //
+ // * `project_id = 12345 AND status_code = 1`
+ // * `project_id = 12345 AND sensitivity_level = HIGH`
+ // * `project_id = 12345 AND resource_visibility = PUBLIC`
+ // * `profile_last_generated < "2025-01-01T00:00:00.000Z"`
+ //
+ // The length of this field should be no more than 500 characters.
+ string filter = 5;
+}
+
+// List of profiles generated for a given organization or project.
+message ListTableDataProfilesResponse {
+ // List of data profiles.
+ repeated TableDataProfile table_data_profiles = 1;
+
+ // The next page token.
+ string next_page_token = 2;
+}
+
+// Request to list the profiles generated for a given organization or project.
+message ListColumnDataProfilesRequest {
+ // Required. Resource name of the organization or project, for
+ // example `organizations/433245324/locations/europe` or
+ // `projects/project-id/locations/asia`.
+ string parent = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ child_type: "dlp.googleapis.com/ColumnDataProfile"
+ }
+ ];
+
+ // Page token to continue retrieval.
+ string page_token = 2;
+
+ // Size of the page. This value can be limited by the server. If zero, server
+ // returns a page of max size 100.
+ int32 page_size = 3;
+
+ // Comma-separated list of fields to order by, followed by `asc` or `desc`
+ // postfix. This list is case insensitive. The default sorting order is
+ // ascending. Redundant space characters are insignificant. Only one order
+ // field at a time is allowed.
+ //
+ // Examples:
+ //
+ // * `project_id asc`
+ // * `table_id`
+ // * `sensitivity_level desc`
+ //
+ // Supported fields are:
+ //
+ // - `project_id`: The Google Cloud project ID.
+ // - `dataset_id`: The ID of a BigQuery dataset.
+ // - `table_id`: The ID of a BigQuery table.
+ // - `sensitivity_level`: How sensitive the data in a column is, at most.
+ // - `data_risk_level`: How much risk is associated with this data.
+ // - `profile_last_generated`: When the profile was last updated in epoch
+ // seconds.
+ string order_by = 4;
+
+ // Allows filtering.
+ //
+ // Supported syntax:
+ //
+ // * Filter expressions are made up of one or more restrictions.
+ // * Restrictions can be combined by `AND` or `OR` logical operators. A
+ // sequence of restrictions implicitly uses `AND`.
+ // * A restriction has the form of `{field} {operator} {value}`.
+ // * Supported fields:
+ // - `table_data_profile_name`: The name of the related table data
+ // profile
+ // - `project_id`: The Google Cloud project ID (REQUIRED)
+ // - `dataset_id`: The BigQuery dataset ID (REQUIRED)
+ // - `table_id`: The BigQuery table ID (REQUIRED)
+ // - `field_id`: The ID of the BigQuery field
+ // - `info_type`: The infotype detected in the resource
+ // - `sensitivity_level`: HIGH|MEDIUM|LOW
+ // - `data_risk_level`: How much risk is associated with this data
+ // - `status_code`: An RPC status code as defined in
+ // https://github.com/googleapis/googleapis/blob/master/google/rpc/code.proto
+ // - `profile_last_generated`: Date and time the profile was last
+ // generated
+ // * The operator must be `=` for project_id, dataset_id, and table_id. Other
+ // filters also support `!=`. The `profile_last_generated` filter also
+ // supports `<` and `>`.
+ //
+ // The syntax is based on https://google.aip.dev/160.
+ //
+ // Examples:
+ //
+ // * project_id = 12345 AND status_code = 1
+ // * project_id = 12345 AND sensitivity_level = HIGH
+ // * project_id = 12345 AND info_type = STREET_ADDRESS
+ // * profile_last_generated < "2025-01-01T00:00:00.000Z"
+ //
+ // The length of this field should be no more than 500 characters.
+ string filter = 5;
+}
+
+// List of profiles generated for a given organization or project.
+message ListColumnDataProfilesResponse {
+ // List of data profiles.
+ repeated ColumnDataProfile column_data_profiles = 1;
+
+ // The next page token.
+ string next_page_token = 2;
+}
+
+// Score is a summary of all elements in the data profile.
+// A higher number means more risk.
+message DataRiskLevel {
+ // Various score levels for resources.
+ enum DataRiskLevelScore {
+ // Unused.
+ RISK_SCORE_UNSPECIFIED = 0;
+
+ // Low risk - Lower indication of sensitive data that appears to have
+ // additional access restrictions in place or no indication of sensitive
+ // data found.
+ RISK_LOW = 10;
+
+ // Unable to determine risk.
+ RISK_UNKNOWN = 12;
+
+ // Medium risk - Sensitive data may be present but additional access or fine
+ // grain access restrictions appear to be present. Consider limiting
+ // access even further or transform data to mask.
+ RISK_MODERATE = 20;
+
+ // High risk – SPII may be present. Access controls may include public
+ // ACLs. Exfiltration of data may lead to user data loss. Re-identification
+ // of users may be possible. Consider limiting usage and or removing SPII.
+ RISK_HIGH = 30;
+ }
+
+ // The score applied to the resource.
+ DataRiskLevelScore score = 1;
+}
+
+// An aggregated profile for this project, based on the resources profiled
+// within it.
+message ProjectDataProfile {
+ option (google.api.resource) = {
+ type: "dlp.googleapis.com/ProjectDataProfile"
+ pattern: "organizations/{organization}/locations/{location}/projectDataProfiles/{project_data_profile}"
+ pattern: "projects/{project}/locations/{location}/projectDataProfiles/{project_data_profile}"
+ };
+
+ // The resource name of the profile.
+ string name = 1;
+
+ // Project ID or account that was profiled.
+ string project_id = 2;
+
+ // The last time the profile was generated.
+ google.protobuf.Timestamp profile_last_generated = 3;
+
+ // The sensitivity score of this project.
+ SensitivityScore sensitivity_score = 4;
+
+ // The data risk level of this project.
+ DataRiskLevel data_risk_level = 5;
+
+ // Success or error status of the last attempt to profile the project.
+ ProfileStatus profile_status = 7;
+
+ // The number of table data profiles generated for this project.
+ int64 table_data_profile_count = 9;
+
+ // The number of file store data profiles generated for this project.
+ int64 file_store_data_profile_count = 10;
+}
+
+// How broadly the data in the resource has been shared. New items may be added
+// over time. A higher number means more restricted.
+enum ResourceVisibility {
+ // Unused.
+ RESOURCE_VISIBILITY_UNSPECIFIED = 0;
+
+ // Visible to any user.
+ RESOURCE_VISIBILITY_PUBLIC = 10;
+
+ // May contain public items.
+ // For example, if a Cloud Storage bucket has uniform bucket level access
+ // disabled, some objects inside it may be public, but none are known yet.
+ RESOURCE_VISIBILITY_INCONCLUSIVE = 15;
+
+ // Visible only to specific users.
+ RESOURCE_VISIBILITY_RESTRICTED = 20;
+}
+
+// Snapshot of the configurations used to generate the profile.
+message DataProfileConfigSnapshot {
+ // A copy of the inspection config used to generate this profile. This
+ // is a copy of the inspect_template specified in `DataProfileJobConfig`.
+ InspectConfig inspect_config = 2;
+
+ // A copy of the configuration used to generate this profile. This is
+ // deprecated, and the DiscoveryConfig field is preferred moving forward.
+ // DataProfileJobConfig will still be written here for Discovery in BigQuery
+ // for backwards compatibility, but will not be updated with new fields, while
+ // DiscoveryConfig will.
+ DataProfileJobConfig data_profile_job = 3 [deprecated = true];
+
+ // A copy of the configuration used to generate this profile.
+ DiscoveryConfig discovery_config = 4;
+
+ // Name of the inspection template used to generate this profile
+ string inspect_template_name = 5;
+
+ // Timestamp when the template was modified
+ google.protobuf.Timestamp inspect_template_modified_time = 6;
+}
+
+// The profile for a scanned table.
+message TableDataProfile {
+ option (google.api.resource) = {
+ type: "dlp.googleapis.com/TableDataProfile"
+ pattern: "organizations/{organization}/locations/{location}/tableDataProfiles/{table_data_profile}"
+ pattern: "projects/{project}/locations/{location}/tableDataProfiles/{table_data_profile}"
+ };
+
+ // Possible states of a profile. New items may be added.
+ enum State {
+ // Unused.
+ STATE_UNSPECIFIED = 0;
+
+ // The profile is currently running. Once a profile has finished it will
+ // transition to DONE.
+ RUNNING = 1;
+
+ // The profile is no longer generating.
+ // If profile_status.status.code is 0, the profile succeeded, otherwise, it
+ // failed.
+ DONE = 2;
+ }
+
+ // The name of the profile.
+ string name = 1;
+
+ // The resource type that was profiled.
+ DataSourceType data_source_type = 36;
+
+ // The resource name of the project data profile for this table.
+ string project_data_profile = 2;
+
+ // The Google Cloud project ID that owns the resource.
+ string dataset_project_id = 24;
+
+ // If supported, the location where the dataset's data is stored.
+ // See https://cloud.google.com/bigquery/docs/locations for supported
+ // locations.
+ string dataset_location = 29;
+
+ // If the resource is BigQuery, the dataset ID.
+ string dataset_id = 25;
+
+ // The table ID.
+ string table_id = 26;
+
+ // The Cloud Asset Inventory resource that was profiled in order to generate
+ // this TableDataProfile.
+ // https://cloud.google.com/apis/design/resource_names#full_resource_name
+ string full_resource = 3;
+
+ // Success or error status from the most recent profile generation attempt.
+ // May be empty if the profile is still being generated.
+ ProfileStatus profile_status = 21;
+
+ // State of a profile. This will always be set to DONE when the table data
+ // profile is written to another service like BigQuery or Pub/Sub.
+ State state = 22;
+
+ // The sensitivity score of this table.
+ SensitivityScore sensitivity_score = 5;
+
+ // The data risk level of this table.
+ DataRiskLevel data_risk_level = 6;
+
+ // The infoTypes predicted from this table's data.
+ repeated InfoTypeSummary predicted_info_types = 27;
+
+ // Other infoTypes found in this table's data.
+ repeated OtherInfoTypeSummary other_info_types = 28;
+
+ // The snapshot of the configurations used to generate the profile.
+ DataProfileConfigSnapshot config_snapshot = 7;
+
+ // The time when this table was last modified
+ google.protobuf.Timestamp last_modified_time = 8;
+
+ // Optional. The time when this table expires.
+ google.protobuf.Timestamp expiration_time = 9;
+
+ // The number of columns profiled in the table.
+ int64 scanned_column_count = 10;
+
+ // The number of columns skipped in the table because of an error.
+ int64 failed_column_count = 11;
+
+ // The size of the table when the profile was generated.
+ int64 table_size_bytes = 12;
+
+ // Number of rows in the table when the profile was generated.
+ // This will not be populated for BigLake tables.
+ int64 row_count = 13;
+
+ // How the table is encrypted.
+ EncryptionStatus encryption_status = 14;
+
+ // How broadly a resource has been shared.
+ ResourceVisibility resource_visibility = 15;
+
+ // The last time the profile was generated.
+ google.protobuf.Timestamp profile_last_generated = 16;
+
+ // The labels applied to the resource at the time the profile was generated.
+ map resource_labels = 17;
+
+ // The time at which the table was created.
+ google.protobuf.Timestamp create_time = 23;
+
+ // The BigQuery table to which the sample findings are written.
+ BigQueryTable sample_findings_table = 37;
+
+ // The tags attached to the table, including any tags attached during
+ // profiling. Because tags are attached to Cloud SQL instances rather than
+ // Cloud SQL tables, this field is empty for Cloud SQL table profiles.
+ repeated Tag tags = 39;
+
+ // Resources related to this profile.
+ repeated RelatedResource related_resources = 41;
+
+ // Domains associated with the profile.
+ repeated Domain domains = 47;
+}
+
+// Success or errors for the profile generation.
+message ProfileStatus {
+ // Profiling status code and optional message. The `status.code` value is 0
+ // (default value) for OK.
+ google.rpc.Status status = 1;
+
+ // Time when the profile generation status was updated
+ google.protobuf.Timestamp timestamp = 3;
+}
+
+// How a resource is encrypted.
+enum EncryptionStatus {
+ // Unused.
+ ENCRYPTION_STATUS_UNSPECIFIED = 0;
+
+ // Google manages server-side encryption keys on your behalf.
+ ENCRYPTION_GOOGLE_MANAGED = 1;
+
+ // Customer provides the key.
+ ENCRYPTION_CUSTOMER_MANAGED = 2;
+}
+
+// The infoType details for this column.
+message InfoTypeSummary {
+ // The infoType.
+ InfoType info_type = 1;
+
+ // Not populated for predicted infotypes.
+ int32 estimated_prevalence = 2 [deprecated = true];
+}
+
+// Infotype details for other infoTypes found within a column.
+message OtherInfoTypeSummary {
+ // The other infoType.
+ InfoType info_type = 1;
+
+ // Approximate percentage of non-null rows that contained data detected by
+ // this infotype.
+ int32 estimated_prevalence = 2;
+
+ // Whether this infoType was excluded from sensitivity and risk analysis due
+ // to factors such as low prevalence (subject to change).
+ bool excluded_from_analysis = 3;
+}
+
+// Bucketized nullness percentage levels. A higher level means a higher
+// percentage of the column is null.
+enum NullPercentageLevel {
+ // Unused.
+ NULL_PERCENTAGE_LEVEL_UNSPECIFIED = 0;
+
+ // Very few null entries.
+ NULL_PERCENTAGE_VERY_LOW = 1;
+
+ // Some null entries.
+ NULL_PERCENTAGE_LOW = 2;
+
+ // A few null entries.
+ NULL_PERCENTAGE_MEDIUM = 3;
+
+ // A lot of null entries.
+ NULL_PERCENTAGE_HIGH = 4;
+}
+
+// Bucketized uniqueness score levels. A higher uniqueness score is a strong
+// signal that the column may contain a unique identifier like user id. A low
+// value indicates that the column contains few unique values like booleans or
+// other classifiers.
+enum UniquenessScoreLevel {
+ // Some columns do not have estimated uniqueness. Possible reasons include
+ // having too few values.
+ UNIQUENESS_SCORE_LEVEL_UNSPECIFIED = 0;
+
+ // Low uniqueness, possibly a boolean, enum or similiarly typed column.
+ UNIQUENESS_SCORE_LOW = 1;
+
+ // Medium uniqueness.
+ UNIQUENESS_SCORE_MEDIUM = 2;
+
+ // High uniqueness, possibly a column of free text or unique identifiers.
+ UNIQUENESS_SCORE_HIGH = 3;
+}
+
+// The profile for a scanned column within a table.
+message ColumnDataProfile {
+ option (google.api.resource) = {
+ type: "dlp.googleapis.com/ColumnDataProfile"
+ pattern: "organizations/{organization}/locations/{location}/columnDataProfiles/{column_data_profile}"
+ pattern: "projects/{project}/locations/{location}/columnDataProfiles/{column_data_profile}"
+ };
+
+ // Possible states of a profile. New items may be added.
+ enum State {
+ // Unused.
+ STATE_UNSPECIFIED = 0;
+
+ // The profile is currently running. Once a profile has finished it will
+ // transition to DONE.
+ RUNNING = 1;
+
+ // The profile is no longer generating.
+ // If profile_status.status.code is 0, the profile succeeded, otherwise, it
+ // failed.
+ DONE = 2;
+ }
+
+ // Data types of the data in a column. Types may be added over time.
+ enum ColumnDataType {
+ // Invalid type.
+ COLUMN_DATA_TYPE_UNSPECIFIED = 0;
+
+ // Encoded as a string in decimal format.
+ TYPE_INT64 = 1;
+
+ // Encoded as a boolean "false" or "true".
+ TYPE_BOOL = 2;
+
+ // Encoded as a number, or string "NaN", "Infinity" or "-Infinity".
+ TYPE_FLOAT64 = 3;
+
+ // Encoded as a string value.
+ TYPE_STRING = 4;
+
+ // Encoded as a base64 string per RFC 4648, section 4.
+ TYPE_BYTES = 5;
+
+ // Encoded as an RFC 3339 timestamp with mandatory "Z" time zone string:
+ // 1985-04-12T23:20:50.52Z
+ TYPE_TIMESTAMP = 6;
+
+ // Encoded as RFC 3339 full-date format string: 1985-04-12
+ TYPE_DATE = 7;
+
+ // Encoded as RFC 3339 partial-time format string: 23:20:50.52
+ TYPE_TIME = 8;
+
+ // Encoded as RFC 3339 full-date "T" partial-time: 1985-04-12T23:20:50.52
+ TYPE_DATETIME = 9;
+
+ // Encoded as WKT
+ TYPE_GEOGRAPHY = 10;
+
+ // Encoded as a decimal string.
+ TYPE_NUMERIC = 11;
+
+ // Container of ordered fields, each with a type and field name.
+ TYPE_RECORD = 12;
+
+ // Decimal type.
+ TYPE_BIGNUMERIC = 13;
+
+ // Json type.
+ TYPE_JSON = 14;
+
+ // Interval type.
+ TYPE_INTERVAL = 15;
+
+ // `Range` type.
+ TYPE_RANGE_DATE = 16;
+
+ // `Range` type.
+ TYPE_RANGE_DATETIME = 17;
+
+ // `Range` type.
+ TYPE_RANGE_TIMESTAMP = 18;
+ }
+
+ // The possible policy states for a column.
+ enum ColumnPolicyState {
+ // No policy tags.
+ COLUMN_POLICY_STATE_UNSPECIFIED = 0;
+
+ // Column has policy tag applied.
+ COLUMN_POLICY_TAGGED = 1;
+ }
+
+ // The name of the profile.
+ string name = 1;
+
+ // Success or error status from the most recent profile generation attempt.
+ // May be empty if the profile is still being generated.
+ ProfileStatus profile_status = 17;
+
+ // State of a profile.
+ State state = 18;
+
+ // The last time the profile was generated.
+ google.protobuf.Timestamp profile_last_generated = 3;
+
+ // The resource name of the table data profile.
+ string table_data_profile = 4;
+
+ // The resource name of the resource this column is within.
+ string table_full_resource = 5;
+
+ // The Google Cloud project ID that owns the profiled resource.
+ string dataset_project_id = 19;
+
+ // If supported, the location where the dataset's data is stored.
+ // See https://cloud.google.com/bigquery/docs/locations for supported
+ // BigQuery locations.
+ string dataset_location = 20;
+
+ // The BigQuery dataset ID, if the resource profiled is a BigQuery table.
+ string dataset_id = 21;
+
+ // The table ID.
+ string table_id = 22;
+
+ // The name of the column.
+ string column = 6;
+
+ // The sensitivity of this column.
+ SensitivityScore sensitivity_score = 7;
+
+ // The data risk level for this column.
+ DataRiskLevel data_risk_level = 8;
+
+ // If it's been determined this column can be identified as a single type,
+ // this will be set. Otherwise the column either has unidentifiable content
+ // or mixed types.
+ InfoTypeSummary column_info_type = 9;
+
+ // Other types found within this column. List will be unordered.
+ repeated OtherInfoTypeSummary other_matches = 10;
+
+ // Approximate percentage of entries being null in the column.
+ NullPercentageLevel estimated_null_percentage = 23;
+
+ // Approximate uniqueness of the column.
+ UniquenessScoreLevel estimated_uniqueness_score = 24;
+
+ // The likelihood that this column contains free-form text.
+ // A value close to 1 may indicate the column is likely to contain
+ // free-form or natural language text.
+ // Range in 0-1.
+ double free_text_score = 13;
+
+ // The data type of a given column.
+ ColumnDataType column_type = 14;
+
+ // Indicates if a policy tag has been applied to the column.
+ ColumnPolicyState policy_state = 15;
+}
+
+// The profile for a file store.
+//
+// * Cloud Storage: maps 1:1 with a bucket.
+// * Amazon S3: maps 1:1 with a bucket.
+message FileStoreDataProfile {
+ option (google.api.resource) = {
+ type: "dlp.googleapis.com/FileStoreDataProfile"
+ pattern: "organizations/{organization}/locations/{location}/fileStoreDataProfiles/{file_store_data_profile}"
+ pattern: "projects/{project}/locations/{location}/fileStoreDataProfiles/{file_store_data_profile}"
+ };
+
+ // Possible states of a profile. New items may be added.
+ enum State {
+ // Unused.
+ STATE_UNSPECIFIED = 0;
+
+ // The profile is currently running. Once a profile has finished it will
+ // transition to DONE.
+ RUNNING = 1;
+
+ // The profile is no longer generating.
+ // If profile_status.status.code is 0, the profile succeeded, otherwise, it
+ // failed.
+ DONE = 2;
+ }
+
+ // The name of the profile.
+ string name = 1;
+
+ // The resource type that was profiled.
+ DataSourceType data_source_type = 2;
+
+ // The resource name of the project data profile for this file store.
+ string project_data_profile = 3;
+
+ // The Google Cloud project ID that owns the resource.
+ // For Amazon S3 buckets, this is the AWS Account Id.
+ string project_id = 4;
+
+ // The location of the file store.
+ //
+ // * Cloud Storage:
+ // https://cloud.google.com/storage/docs/locations#available-locations
+ // * Amazon S3:
+ // https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints
+ string file_store_location = 5;
+
+ // For resources that have multiple storage locations, these are those
+ // regions. For Cloud Storage this is the list of regions chosen for
+ // dual-region storage. `file_store_location` will normally be the
+ // corresponding multi-region for the list of individual locations. The first
+ // region is always picked as the processing and storage location for the data
+ // profile.
+ repeated string data_storage_locations = 19;
+
+ // The location type of the file store (region, dual-region, multi-region,
+ // etc). If dual-region, expect data_storage_locations to be populated.
+ string location_type = 20;
+
+ // The file store path.
+ //
+ // * Cloud Storage: `gs://{bucket}`
+ // * Amazon S3: `s3://{bucket}`
+ // * Vertex AI dataset:
+ // `projects/{project_number}/locations/{location}/datasets/{dataset_id}`
+ string file_store_path = 6;
+
+ // The resource name of the resource profiled.
+ // https://cloud.google.com/apis/design/resource_names#full_resource_name
+ //
+ // Example format of an S3 bucket full resource name:
+ // `//cloudasset.googleapis.com/organizations/{org_id}/otherCloudConnections/aws/arn:aws:s3:::{bucket_name}`
+ string full_resource = 24;
+
+ // The snapshot of the configurations used to generate the profile.
+ DataProfileConfigSnapshot config_snapshot = 7;
+
+ // Success or error status from the most recent profile generation attempt.
+ // May be empty if the profile is still being generated.
+ ProfileStatus profile_status = 8;
+
+ // State of a profile.
+ State state = 9;
+
+ // The last time the profile was generated.
+ google.protobuf.Timestamp profile_last_generated = 10;
+
+ // How broadly a resource has been shared.
+ ResourceVisibility resource_visibility = 11;
+
+ // The sensitivity score of this resource.
+ SensitivityScore sensitivity_score = 12;
+
+ // The data risk level of this resource.
+ DataRiskLevel data_risk_level = 13;
+
+ // The time the file store was first created.
+ google.protobuf.Timestamp create_time = 14;
+
+ // The time the file store was last modified.
+ google.protobuf.Timestamp last_modified_time = 15;
+
+ // FileClusterSummary per each cluster.
+ repeated FileClusterSummary file_cluster_summaries = 16;
+
+ // Attributes of the resource being profiled.
+ // Currently used attributes:
+ //
+ // * customer_managed_encryption: boolean
+ // - true: the resource is encrypted with a customer-managed key.
+ // - false: the resource is encrypted with a provider-managed key.
+ map resource_attributes = 17;
+
+ // The labels applied to the resource at the time the profile was generated.
+ map resource_labels = 18;
+
+ // InfoTypes detected in this file store.
+ repeated FileStoreInfoTypeSummary file_store_info_type_summaries = 21;
+
+ // The BigQuery table to which the sample findings are written.
+ BigQueryTable sample_findings_table = 22;
+
+ // The file store does not have any files. If the profiling operation failed,
+ // this is false.
+ bool file_store_is_empty = 23;
+
+ // The tags attached to the resource, including any tags attached during
+ // profiling.
+ repeated Tag tags = 25;
+
+ // Resources related to this profile.
+ repeated RelatedResource related_resources = 26;
+
+ // Domains associated with the profile.
+ repeated Domain domains = 27;
+}
+
+// A tag associated with a resource.
+message Tag {
+ // The namespaced name for the tag value to attach to Google Cloud resources.
+ // Must be in the format `{parent_id}/{tag_key_short_name}/{short_name}`, for
+ // example, "123456/environment/prod" for an organization parent, or
+ // "my-project/environment/prod" for a project parent. This is only set for
+ // Google Cloud resources.
+ string namespaced_tag_value = 1;
+
+ // The key of a tag key-value pair. For Google Cloud resources, this is the
+ // resource name of the key, for example, "tagKeys/123456".
+ string key = 2;
+
+ // The value of a tag key-value pair. For Google Cloud resources, this is the
+ // resource name of the value, for example, "tagValues/123456".
+ string value = 3;
+}
+
+// Tags to match against for filtering.
+message TagFilters {
+ // Required. A resource must match ALL of the specified tag filters to be
+ // included in the collection.
+ repeated TagFilter tag_filters = 1 [(google.api.field_behavior) = REQUIRED];
+}
+
+// A single tag to filter against.
+message TagFilter {
+ // Tag filter formats. Tags refer to Resource Manager tags bound to the
+ // resource or its ancestors.
+ oneof format {
+ // The namespaced name for the tag value. Must be in the format
+ // `{parent_id}/{tag_key_short_name}/{short_name}`, for example,
+ // "123456/environment/prod" for an organization parent, or
+ // "my-project/environment/prod" for a project parent.
+ string namespaced_tag_value = 1;
+
+ // The namespaced name for the tag key. Must be in the format
+ // `{parent_id}/{tag_key_short_name}`, for example, "123456/sensitive" for
+ // an organization parent, or "my-project/sensitive" for a project parent.
+ string namespaced_tag_key = 2;
+ }
+}
+
+// A related resource.
+// Examples:
+//
+// * The source BigQuery table for a Vertex AI dataset.
+// * The source Cloud Storage bucket for a Vertex AI dataset.
+message RelatedResource {
+ // The full resource name of the related resource.
+ string full_resource = 1;
+}
+
+// Information regarding the discovered InfoType.
+message FileStoreInfoTypeSummary {
+ // The InfoType seen.
+ InfoType info_type = 1;
+}
+
+// Information regarding the discovered file extension.
+message FileExtensionInfo {
+ // The file extension if set. (aka .pdf, .jpg, .txt)
+ string file_extension = 1;
+}
+
+// The file cluster summary.
+message FileClusterSummary {
+ // The file cluster type.
+ FileClusterType file_cluster_type = 1;
+
+ // InfoTypes detected in this cluster.
+ repeated FileStoreInfoTypeSummary file_store_info_type_summaries = 2;
+
+ // The sensitivity score of this cluster. The score will be SENSITIVITY_LOW
+ // if nothing has been scanned.
+ SensitivityScore sensitivity_score = 3;
+
+ // The data risk level of this cluster. RISK_LOW if nothing has been
+ // scanned.
+ DataRiskLevel data_risk_level = 4;
+
+ // A list of errors detected while scanning this cluster. The list is
+ // truncated to 10 per cluster.
+ repeated Error errors = 6;
+
+ // A sample of file types scanned in this cluster. Empty if no files were
+ // scanned. File extensions can be derived from the file name or the file
+ // content.
+ repeated FileExtensionInfo file_extensions_scanned = 7;
+
+ // A sample of file types seen in this cluster. Empty if no files were seen.
+ // File extensions can be derived from the file name or the file content.
+ repeated FileExtensionInfo file_extensions_seen = 8;
+
+ // True if no files exist in this cluster. If the file store had more files
+ // than could be listed, this will be false even if no files for this cluster
+ // were seen and file_extensions_seen is empty.
+ bool no_files_exist = 9;
+}
+
+// Request to get a project data profile.
+message GetProjectDataProfileRequest {
+ // Required. Resource name, for example
+ // `organizations/12345/locations/us/projectDataProfiles/53234423`.
+ string name = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ type: "dlp.googleapis.com/ProjectDataProfile"
+ }
+ ];
+}
+
+// Request to get a file store data profile.
+message GetFileStoreDataProfileRequest {
+ // Required. Resource name, for example
+ // `organizations/12345/locations/us/fileStoreDataProfiles/53234423`.
+ string name = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ type: "dlp.googleapis.com/ProjectDataProfile"
+ }
+ ];
+}
+
+// Request to list the file store profiles generated for a given organization or
+// project.
+message ListFileStoreDataProfilesRequest {
+ // Required. Resource name of the organization or project, for
+ // example `organizations/433245324/locations/europe` or
+ // `projects/project-id/locations/asia`.
+ string parent = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ child_type: "dlp.googleapis.com/FileStoreDataProfile"
+ }
+ ];
+
+ // Optional. Page token to continue retrieval.
+ string page_token = 2 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. Size of the page. This value can be limited by the server. If
+ // zero, server returns a page of max size 100.
+ int32 page_size = 3 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. Comma-separated list of fields to order by, followed by `asc` or
+ // `desc` postfix. This list is case insensitive. The default sorting order is
+ // ascending. Redundant space characters are insignificant. Only one order
+ // field at a time is allowed.
+ //
+ // Examples:
+ //
+ // * `project_id asc`
+ // * `name`
+ // * `sensitivity_level desc`
+ //
+ // Supported fields are:
+ //
+ // - `project_id`: The Google Cloud project ID.
+ // - `sensitivity_level`: How sensitive the data in a table is, at most.
+ // - `data_risk_level`: How much risk is associated with this data.
+ // - `profile_last_generated`: When the profile was last updated in epoch
+ // seconds.
+ // - `last_modified`: The last time the resource was modified.
+ // - `resource_visibility`: Visibility restriction for this resource.
+ // - `name`: The name of the profile.
+ // - `create_time`: The time the file store was first created.
+ string order_by = 4 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. Allows filtering.
+ //
+ // Supported syntax:
+ //
+ // * Filter expressions are made up of one or more restrictions.
+ // * Restrictions can be combined by `AND` or `OR` logical operators. A
+ // sequence of restrictions implicitly uses `AND`.
+ // * A restriction has the form of `{field} {operator} {value}`.
+ // * Supported fields:
+ // - `project_id`: The Google Cloud project ID
+ // - `account_id`: The AWS account ID
+ // - `file_store_path`: The path like "gs://bucket"
+ // - `data_source_type`: The profile's data source type, like
+ // "google/storage/bucket"
+ // - `data_storage_location`: The location where the file store's data is
+ // stored, like "us-central1"
+ // - `sensitivity_level`: HIGH|MODERATE|LOW
+ // - `data_risk_level`: HIGH|MODERATE|LOW
+ // - `resource_visibility`: PUBLIC|RESTRICTED
+ // - `status_code`: an RPC status code as defined in
+ // https://github.com/googleapis/googleapis/blob/master/google/rpc/code.proto
+ // - `profile_last_generated`: Date and time the profile was last
+ // generated
+ //
+ // * The operator must be `=` or `!=`. The `profile_last_generated` filter
+ // also supports `<` and `>`.
+ //
+ // The syntax is based on https://google.aip.dev/160.
+ //
+ // Examples:
+ //
+ // * `project_id = 12345 AND status_code = 1`
+ // * `project_id = 12345 AND sensitivity_level = HIGH`
+ // * `project_id = 12345 AND resource_visibility = PUBLIC`
+ // * `file_store_path = "gs://mybucket"`
+ // * `profile_last_generated < "2025-01-01T00:00:00.000Z"`
+ //
+ // The length of this field should be no more than 500 characters.
+ string filter = 5 [(google.api.field_behavior) = OPTIONAL];
+}
+
+// List of file store data profiles generated for a given organization or
+// project.
+message ListFileStoreDataProfilesResponse {
+ // List of data profiles.
+ repeated FileStoreDataProfile file_store_data_profiles = 1;
+
+ // The next page token.
+ string next_page_token = 2;
+}
+
+// Request message for DeleteFileStoreProfile.
+message DeleteFileStoreDataProfileRequest {
+ // Required. Resource name of the file store data profile.
+ string name = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ type: "dlp.googleapis.com/FileStoreDataProfile"
+ }
+ ];
+}
+
+// Request to get a table data profile.
+message GetTableDataProfileRequest {
+ // Required. Resource name, for example
+ // `organizations/12345/locations/us/tableDataProfiles/53234423`.
+ string name = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ type: "dlp.googleapis.com/TableDataProfile"
+ }
+ ];
+}
+
+// Request to get a column data profile.
+message GetColumnDataProfileRequest {
+ // Required. Resource name, for example
+ // `organizations/12345/locations/us/columnDataProfiles/53234423`.
+ string name = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ type: "dlp.googleapis.com/ColumnDataProfile"
+ }
+ ];
+}
+
+// A condition for determining whether a Pub/Sub should be triggered.
+message DataProfilePubSubCondition {
+ // Various score levels for resources.
+ enum ProfileScoreBucket {
+ // Unused.
+ PROFILE_SCORE_BUCKET_UNSPECIFIED = 0;
+
+ // High risk/sensitivity detected.
+ HIGH = 1;
+
+ // Medium or high risk/sensitivity detected.
+ MEDIUM_OR_HIGH = 2;
+ }
+
+ // A condition consisting of a value.
+ message PubSubCondition {
+ // The value for the condition to trigger.
+ oneof value {
+ // The minimum data risk score that triggers the condition.
+ ProfileScoreBucket minimum_risk_score = 1;
+
+ // The minimum sensitivity level that triggers the condition.
+ ProfileScoreBucket minimum_sensitivity_score = 2;
+ }
+ }
+
+ // An expression, consisting of an operator and conditions.
+ message PubSubExpressions {
+ // Logical operators for conditional checks.
+ enum PubSubLogicalOperator {
+ // Unused.
+ LOGICAL_OPERATOR_UNSPECIFIED = 0;
+
+ // Conditional OR.
+ OR = 1;
+
+ // Conditional AND.
+ AND = 2;
+ }
+
+ // The operator to apply to the collection of conditions.
+ PubSubLogicalOperator logical_operator = 1;
+
+ // Conditions to apply to the expression.
+ repeated PubSubCondition conditions = 2;
+ }
+
+ // An expression.
+ PubSubExpressions expressions = 1;
+}
+
+// Pub/Sub topic message for a DataProfileAction.PubSubNotification event.
+// To receive a message of protocol buffer schema type, convert the message data
+// to an object of this proto class.
+message DataProfilePubSubMessage {
+ // If `DetailLevel` is `TABLE_PROFILE` this will be fully populated.
+ // Otherwise, if `DetailLevel` is `RESOURCE_NAME`, then only `name` and
+ // `full_resource` will be populated.
+ TableDataProfile profile = 1;
+
+ // If `DetailLevel` is `FILE_STORE_PROFILE` this will be fully populated.
+ // Otherwise, if `DetailLevel` is `RESOURCE_NAME`, then only `name` and
+ // `file_store_path` will be populated.
+ FileStoreDataProfile file_store_profile = 3;
+
+ // The event that caused the Pub/Sub message to be sent.
+ DataProfileAction.EventType event = 2;
+}
+
+// Request message for CreateConnection.
+message CreateConnectionRequest {
+ // Required. Parent resource name.
+ //
+ // The format of this value varies depending on the scope of the request
+ // (project or organization):
+ //
+ // + Projects scope:
+ // `projects/{project_id}/locations/{location_id}`
+ // + Organizations scope:
+ // `organizations/{org_id}/locations/{location_id}`
+ string parent = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ child_type: "dlp.googleapis.com/Connection"
+ }
+ ];
+
+ // Required. The connection resource.
+ Connection connection = 2 [(google.api.field_behavior) = REQUIRED];
+}
+
+// Request message for GetConnection.
+message GetConnectionRequest {
+ // Required. Resource name in the format:
+ // `projects/{project}/locations/{location}/connections/{connection}`.
+ string name = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = { type: "dlp.googleapis.com/Connection" }
+ ];
+}
+
+// Request message for ListConnections.
+message ListConnectionsRequest {
+ // Required. Resource name of the organization or project, for
+ // example, `organizations/433245324/locations/europe` or
+ // `projects/project-id/locations/asia`.
+ string parent = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ child_type: "dlp.googleapis.com/Connection"
+ }
+ ];
+
+ // Optional. Number of results per page, max 1000.
+ int32 page_size = 2 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. Page token from a previous page to return the next set of
+ // results. If set, all other request fields must match the original request.
+ string page_token = 3 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. Supported field/value: `state` - MISSING|AVAILABLE|ERROR
+ //
+ // The syntax is based on https://google.aip.dev/160.
+ string filter = 4 [(google.api.field_behavior) = OPTIONAL];
+}
+
+// Request message for SearchConnections.
+message SearchConnectionsRequest {
+ // Required. Resource name of the organization or project with a wildcard
+ // location, for example, `organizations/433245324/locations/-` or
+ // `projects/project-id/locations/-`.
+ string parent = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ child_type: "dlp.googleapis.com/Connection"
+ }
+ ];
+
+ // Optional. Number of results per page, max 1000.
+ int32 page_size = 2 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. Page token from a previous page to return the next set of
+ // results. If set, all other request fields must match the original request.
+ string page_token = 3 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. Supported field/value: - `state` - MISSING|AVAILABLE|ERROR
+ //
+ // The syntax is based on https://google.aip.dev/160.
+ string filter = 4 [(google.api.field_behavior) = OPTIONAL];
+}
+
+// Response message for ListConnections.
+message ListConnectionsResponse {
+ // List of connections.
+ repeated Connection connections = 1;
+
+ // Token to retrieve the next page of results. An empty value means there are
+ // no more results.
+ string next_page_token = 2;
+}
+
+// Response message for SearchConnections.
+message SearchConnectionsResponse {
+ // List of connections that match the search query. Note that only a subset
+ // of the fields will be populated, and only "name" is guaranteed to be set.
+ // For full details of a Connection, call GetConnection with the name.
+ repeated Connection connections = 1;
+
+ // Token to retrieve the next page of results. An empty value means there are
+ // no more results.
+ string next_page_token = 2;
+}
+
+// Request message for UpdateConnection.
+message UpdateConnectionRequest {
+ // Required. Resource name in the format:
+ // `projects/{project}/locations/{location}/connections/{connection}`.
+ string name = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = { type: "dlp.googleapis.com/Connection" }
+ ];
+
+ // Required. The connection with new values for the relevant fields.
+ Connection connection = 2 [(google.api.field_behavior) = REQUIRED];
+
+ // Optional. Mask to control which fields get updated.
+ google.protobuf.FieldMask update_mask = 3
+ [(google.api.field_behavior) = OPTIONAL];
+}
+
+// Request message for DeleteConnection.
+message DeleteConnectionRequest {
+ // Required. Resource name of the Connection to be deleted, in the format:
+ // `projects/{project}/locations/{location}/connections/{connection}`.
+ string name = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = { type: "dlp.googleapis.com/Connection" }
+ ];
+}
+
+// A data connection to allow the DLP API to profile data in locations that
+// require additional configuration.
+message Connection {
+ option (google.api.resource) = {
+ type: "dlp.googleapis.com/Connection"
+ pattern: "projects/{project}/locations/{location}/connections/{connection}"
+ pattern: "organizations/{organization}/locations/{location}/connections/{connection}"
+ };
+
+ // Output only. Name of the connection:
+ // `projects/{project}/locations/{location}/connections/{name}`.
+ string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Required. The connection's state in its lifecycle.
+ ConnectionState state = 2 [(google.api.field_behavior) = REQUIRED];
+
+ // Output only. Set if status == ERROR, to provide additional details. Will
+ // store the last 10 errors sorted with the most recent first.
+ repeated Error errors = 3 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Type of connection.
+ oneof properties {
+ // Connect to a Cloud SQL instance.
+ CloudSqlProperties cloud_sql = 4;
+ }
+}
+
+// State of the connection.
+// New values may be added over time.
+enum ConnectionState {
+ // Unused
+ CONNECTION_STATE_UNSPECIFIED = 0;
+
+ // The DLP API automatically created this connection during an initial scan,
+ // and it is awaiting full configuration by a user.
+ MISSING_CREDENTIALS = 1;
+
+ // A configured connection that has not encountered any errors.
+ AVAILABLE = 2;
+
+ // A configured connection that encountered errors during its last use. It
+ // will not be used again until it is set to AVAILABLE.
+ //
+ // If the resolution requires external action, then the client must send a
+ // request to set the status to AVAILABLE when the connection is ready for
+ // use. If the resolution doesn't require external action, then any changes to
+ // the connection properties will automatically mark it as AVAILABLE.
+ ERROR = 3;
+}
+
+// A credential consisting of a username and password, where the password is
+// stored in a Secret Manager resource.
+// Note: Secret Manager [charges
+// apply](https://cloud.google.com/secret-manager/pricing).
+message SecretManagerCredential {
+ // Required. The username.
+ string username = 1 [(google.api.field_behavior) = REQUIRED];
+
+ // Required. The name of the Secret Manager resource that stores the password,
+ // in the form `projects/project-id/secrets/secret-name/versions/version`.
+ string password_secret_version_name = 2
+ [(google.api.field_behavior) = REQUIRED];
+}
+
+// Use IAM authentication to connect. This requires the Cloud SQL IAM feature
+// to be enabled on the instance, which is not the default for Cloud SQL.
+// See https://cloud.google.com/sql/docs/postgres/authentication and
+// https://cloud.google.com/sql/docs/mysql/authentication.
+message CloudSqlIamCredential {}
+
+// Cloud SQL connection properties.
+message CloudSqlProperties {
+ // Database engine of a Cloud SQL instance.
+ // New values may be added over time.
+ enum DatabaseEngine {
+ // An engine that is not currently supported by Sensitive Data Protection.
+ DATABASE_ENGINE_UNKNOWN = 0;
+
+ // Cloud SQL for MySQL instance.
+ DATABASE_ENGINE_MYSQL = 1;
+
+ // Cloud SQL for PostgreSQL instance.
+ DATABASE_ENGINE_POSTGRES = 2;
+ }
+
+ // Optional. Immutable. The Cloud SQL instance for which the connection is
+ // defined. Only one connection per instance is allowed. This can only be set
+ // at creation time, and cannot be updated.
+ //
+ // It is an error to use a connection_name from different project or region
+ // than the one that holds the connection.
+ // For example, a Connection resource for Cloud SQL connection_name
+ // `project-id:us-central1:sql-instance`
+ // must be created under the parent
+ // `projects/project-id/locations/us-central1`
+ string connection_name = 1 [
+ (google.api.field_behavior) = IMMUTABLE,
+ (google.api.field_behavior) = OPTIONAL
+ ];
+
+ // How to authenticate to the instance.
+ oneof credential {
+ // A username and password stored in Secret Manager.
+ SecretManagerCredential username_password = 2;
+
+ // Built-in IAM authentication (must be configured in Cloud SQL).
+ CloudSqlIamCredential cloud_sql_iam = 3;
+ }
+
+ // Required. The DLP API will limit its connections to max_connections.
+ // Must be 2 or greater.
+ int32 max_connections = 4 [(google.api.field_behavior) = REQUIRED];
+
+ // Required. The database engine used by the Cloud SQL instance that this
+ // connection configures.
+ DatabaseEngine database_engine = 7 [(google.api.field_behavior) = REQUIRED];
+}
+
+// Request message for DeleteTableProfile.
+message DeleteTableDataProfileRequest {
+ // Required. Resource name of the table data profile.
+ string name = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ type: "dlp.googleapis.com/TableDataProfile"
+ }
+ ];
+}
+
+// Message used to identify the type of resource being profiled.
+message DataSourceType {
+ // A string that identifies the type of resource being profiled.
+ // Current values:
+ //
+ // * google/bigquery/table
+ // * google/project
+ // * google/sql/table
+ // * google/gcs/bucket
+ string data_source = 1;
+}
+
+// Message used to identify file cluster type being profiled.
+message FileClusterType {
+ // Cluster type. Each cluster corresponds to a set of file types.
+ // Over time, new types may be added and files may move between clusters.
+ enum Cluster {
+ // Unused.
+ CLUSTER_UNSPECIFIED = 0;
+
+ // Unsupported files.
+ CLUSTER_UNKNOWN = 1;
+
+ // Plain text.
+ CLUSTER_TEXT = 2;
+
+ // Structured data like CSV, TSV etc.
+ CLUSTER_STRUCTURED_DATA = 3;
+
+ // Source code.
+ CLUSTER_SOURCE_CODE = 4;
+
+ // Rich document like docx, xlsx etc.
+ CLUSTER_RICH_DOCUMENT = 5;
+
+ // Images like jpeg, bmp.
+ CLUSTER_IMAGE = 6;
+
+ // Archives and containers like .zip, .tar etc.
+ CLUSTER_ARCHIVE = 7;
+
+ // Multimedia like .mp4, .avi etc.
+ CLUSTER_MULTIMEDIA = 8;
+
+ // Executable files like .exe, .class, .apk etc.
+ CLUSTER_EXECUTABLE = 9;
+
+ // AI models like .tflite etc.
+ CLUSTER_AI_MODEL = 10;
+ }
+
+ // File cluster type.
+ oneof file_cluster_type {
+ // Cluster type.
+ Cluster cluster = 1;
+ }
+}
+
+// Configure processing location for discovery and inspection. For example,
+// image OCR is only provided in limited regions but configuring
+// ProcessingLocation will redirect OCR to a location where OCR is provided.
+message ProcessingLocation {
+ // Processing occurs in a multi-region that contains the current region
+ // if available.
+ message MultiRegionProcessing {}
+
+ // Processing occurs in the global region.
+ message GlobalProcessing {}
+
+ // Configure image processing to fall back to any of the following processing
+ // options if image processing is unavailable in the original request
+ // location.
+ message ImageFallbackLocation {
+ // Processing occurs in a multi-region that contains the current region
+ // if available.
+ MultiRegionProcessing multi_region_processing = 100;
+
+ // Processing occurs in the global region.
+ GlobalProcessing global_processing = 200;
+ }
+
+ // Configure document processing to fall back to any of the following
+ // processing options if document processing is unavailable in the original
+ // request location.
+ message DocumentFallbackLocation {
+ // Processing occurs in a multi-region that contains the current region
+ // if available.
+ MultiRegionProcessing multi_region_processing = 100;
+
+ // Processing occurs in the global region.
+ GlobalProcessing global_processing = 200;
+ }
+
+ // Image processing falls back using this configuration.
+ ImageFallbackLocation image_fallback_location = 1;
+
+ // Document processing falls back using this configuration.
+ DocumentFallbackLocation document_fallback_location = 2;
+}
+
+// Collection of findings saved to a Cloud Storage bucket. This is used as the
+// proto schema for textproto files created when specifying a cloud storage
+// path to save Inspect findings.
+message SaveToGcsFindingsOutput {
+ // List of findings.
+ repeated Finding findings = 1;
+}
+
+// A domain represents a thematic category that a data profile can fall under.
+message Domain {
+ // This enum defines the various domain categories a data profile can fall
+ // under.
+ enum Category {
+ // Category unspecified.
+ CATEGORY_UNSPECIFIED = 0;
+
+ // Indicates that the data profile is related to artificial intelligence.
+ // When set, all findings stored to Security Command Center will set the
+ // corresponding AI domain field of `Finding` objects.
+ AI = 1;
+
+ // Indicates that the data profile is related to code.
+ CODE = 2;
+ }
+
+ // The signal used to determine the category.
+ // This list may increase over time.
+ enum Signal {
+ // Unused.
+ SIGNAL_UNSPECIFIED = 0;
+
+ // One or more machine learning models are present.
+ MODEL = 1;
+
+ // A table appears to be a text embedding.
+ TEXT_EMBEDDING = 2;
+
+ // The [Cloud SQL Vertex
+ // AI](https://cloud.google.com/sql/docs/postgres/integrate-cloud-sql-with-vertex-ai)
+ // plugin is installed on the database.
+ VERTEX_PLUGIN = 3;
+
+ // Support for [Cloud SQL vector
+ // embeddings](https://cloud.google.com/sql/docs/mysql/enable-vector-search)
+ // is enabled on the database.
+ VECTOR_PLUGIN = 4;
+
+ // Source code is present.
+ SOURCE_CODE = 5;
+
+ // If the service determines the category type. For example, Vertex AI
+ // assets would always have a `Category` of `AI`.
+ SERVICE = 6;
+ }
+
+ // A domain category that this profile is related to.
+ Category category = 1;
+
+ // The collection of signals that influenced selection of the category.
+ repeated Signal signals = 2;
+}
diff --git a/owl-bot-staging/dlp/v2/protos/google/privacy/dlp/v2/storage.proto b/owl-bot-staging/dlp/v2/protos/google/privacy/dlp/v2/storage.proto
new file mode 100644
index 000000000..0f522e572
--- /dev/null
+++ b/owl-bot-staging/dlp/v2/protos/google/privacy/dlp/v2/storage.proto
@@ -0,0 +1,905 @@
+// Copyright 2025 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.privacy.dlp.v2;
+
+import "google/api/resource.proto";
+import "google/protobuf/timestamp.proto";
+
+option csharp_namespace = "Google.Cloud.Dlp.V2";
+option go_package = "cloud.google.com/go/dlp/apiv2/dlppb;dlppb";
+option java_multiple_files = true;
+option java_outer_classname = "DlpStorage";
+option java_package = "com.google.privacy.dlp.v2";
+option php_namespace = "Google\\Cloud\\Dlp\\V2";
+option ruby_package = "Google::Cloud::Dlp::V2";
+
+// Type of information detected by the API.
+message InfoType {
+ // Name of the information type. Either a name of your choosing when
+ // creating a CustomInfoType, or one of the names listed
+ // at
+ // https://cloud.google.com/sensitive-data-protection/docs/infotypes-reference
+ // when specifying a built-in type. When sending Cloud DLP results to Data
+ // Catalog, infoType names should conform to the pattern
+ // `[A-Za-z0-9$_-]{1,64}`.
+ string name = 1;
+
+ // Optional version name for this InfoType.
+ string version = 2;
+
+ // Optional custom sensitivity for this InfoType.
+ // This only applies to data profiling.
+ SensitivityScore sensitivity_score = 3;
+}
+
+// Score is calculated from of all elements in the data profile.
+// A higher level means the data is more sensitive.
+message SensitivityScore {
+ // Various sensitivity score levels for resources.
+ enum SensitivityScoreLevel {
+ // Unused.
+ SENSITIVITY_SCORE_UNSPECIFIED = 0;
+
+ // No sensitive information detected. The resource isn't publicly
+ // accessible.
+ SENSITIVITY_LOW = 10;
+
+ // Unable to determine sensitivity.
+ SENSITIVITY_UNKNOWN = 12;
+
+ // Medium risk. Contains personally identifiable information (PII),
+ // potentially sensitive data, or fields with free-text data that are at a
+ // higher risk of having intermittent sensitive data. Consider limiting
+ // access.
+ SENSITIVITY_MODERATE = 20;
+
+ // High risk. Sensitive personally identifiable information (SPII) can be
+ // present. Exfiltration of data can lead to user data loss.
+ // Re-identification of users might be possible. Consider limiting usage and
+ // or removing SPII.
+ SENSITIVITY_HIGH = 30;
+ }
+
+ // The sensitivity score applied to the resource.
+ SensitivityScoreLevel score = 1;
+}
+
+// Coarse-grained confidence level of how well a particular finding
+// satisfies the criteria to match a particular infoType.
+//
+// Likelihood is calculated based on the number of signals a
+// finding has that implies that the finding matches the infoType. For
+// example, a string that has an '@' and a '.com' is more likely to be a
+// match for an email address than a string that only has an '@'.
+//
+// In general, the highest likelihood level has the strongest signals that
+// indicate a match. That is, a finding with a high likelihood has a low chance
+// of being a false positive.
+//
+// For more information about each likelihood level
+// and how likelihood works, see [Match
+// likelihood](https://cloud.google.com/sensitive-data-protection/docs/likelihood).
+enum Likelihood {
+ // Default value; same as POSSIBLE.
+ LIKELIHOOD_UNSPECIFIED = 0;
+
+ // Highest chance of a false positive.
+ VERY_UNLIKELY = 1;
+
+ // High chance of a false positive.
+ UNLIKELY = 2;
+
+ // Some matching signals. The default value.
+ POSSIBLE = 3;
+
+ // Low chance of a false positive.
+ LIKELY = 4;
+
+ // Confidence level is high. Lowest chance of a false positive.
+ VERY_LIKELY = 5;
+}
+
+// A reference to a StoredInfoType to use with scanning.
+message StoredType {
+ // Resource name of the requested `StoredInfoType`, for example
+ // `organizations/433245324/storedInfoTypes/432452342` or
+ // `projects/project-id/storedInfoTypes/432452342`.
+ string name = 1;
+
+ // Timestamp indicating when the version of the `StoredInfoType` used for
+ // inspection was created. Output-only field, populated by the system.
+ google.protobuf.Timestamp create_time = 2;
+}
+
+// Custom information type provided by the user. Used to find domain-specific
+// sensitive information configurable to the data in question.
+message CustomInfoType {
+ // Custom information type based on a dictionary of words or phrases. This can
+ // be used to match sensitive information specific to the data, such as a list
+ // of employee IDs or job titles.
+ //
+ // Dictionary words are case-insensitive and all characters other than letters
+ // and digits in the unicode [Basic Multilingual
+ // Plane](https://en.wikipedia.org/wiki/Plane_%28Unicode%29#Basic_Multilingual_Plane)
+ // will be replaced with whitespace when scanning for matches, so the
+ // dictionary phrase "Sam Johnson" will match all three phrases "sam johnson",
+ // "Sam, Johnson", and "Sam (Johnson)". Additionally, the characters
+ // surrounding any match must be of a different type than the adjacent
+ // characters within the word, so letters must be next to non-letters and
+ // digits next to non-digits. For example, the dictionary word "jen" will
+ // match the first three letters of the text "jen123" but will return no
+ // matches for "jennifer".
+ //
+ // Dictionary words containing a large number of characters that are not
+ // letters or digits may result in unexpected findings because such characters
+ // are treated as whitespace. The
+ // [limits](https://cloud.google.com/sensitive-data-protection/limits) page
+ // contains details about the size limits of dictionaries. For dictionaries
+ // that do not fit within these constraints, consider using
+ // `LargeCustomDictionaryConfig` in the `StoredInfoType` API.
+ message Dictionary {
+ // Message defining a list of words or phrases to search for in the data.
+ message WordList {
+ // Words or phrases defining the dictionary. The dictionary must contain
+ // at least one phrase and every phrase must contain at least 2 characters
+ // that are letters or digits. [required]
+ repeated string words = 1;
+ }
+
+ // The potential places the data can be read from.
+ oneof source {
+ // List of words or phrases to search for.
+ WordList word_list = 1;
+
+ // Newline-delimited file of words in Cloud Storage. Only a single file
+ // is accepted.
+ CloudStoragePath cloud_storage_path = 3;
+ }
+ }
+
+ // Message defining a custom regular expression.
+ message Regex {
+ // Pattern defining the regular expression. Its syntax
+ // (https://github.com/google/re2/wiki/Syntax) can be found under the
+ // google/re2 repository on GitHub.
+ string pattern = 1;
+
+ // The index of the submatch to extract as findings. When not
+ // specified, the entire match is returned. No more than 3 may be included.
+ repeated int32 group_indexes = 2;
+ }
+
+ // Message for detecting output from deidentification transformations
+ // such as
+ // [`CryptoReplaceFfxFpeConfig`](https://cloud.google.com/sensitive-data-protection/docs/reference/rest/v2/organizations.deidentifyTemplates#cryptoreplaceffxfpeconfig).
+ // These types of transformations are
+ // those that perform pseudonymization, thereby producing a "surrogate" as
+ // output. This should be used in conjunction with a field on the
+ // transformation such as `surrogate_info_type`. This CustomInfoType does
+ // not support the use of `detection_rules`.
+ message SurrogateType {}
+
+ // Deprecated; use `InspectionRuleSet` instead. Rule for modifying a
+ // `CustomInfoType` to alter behavior under certain circumstances, depending
+ // on the specific details of the rule. Not supported for the `surrogate_type`
+ // custom infoType.
+ message DetectionRule {
+ // Message for specifying a window around a finding to apply a detection
+ // rule.
+ message Proximity {
+ // Number of characters before the finding to consider. For tabular data,
+ // if you want to modify the likelihood of an entire column of findngs,
+ // set this to 1. For more information, see
+ // [Hotword example: Set the match likelihood of a table column]
+ // (https://cloud.google.com/sensitive-data-protection/docs/creating-custom-infotypes-likelihood#match-column-values).
+ int32 window_before = 1;
+
+ // Number of characters after the finding to consider.
+ int32 window_after = 2;
+ }
+
+ // Message for specifying an adjustment to the likelihood of a finding as
+ // part of a detection rule.
+ message LikelihoodAdjustment {
+ // How the likelihood will be modified.
+ oneof adjustment {
+ // Set the likelihood of a finding to a fixed value.
+ Likelihood fixed_likelihood = 1;
+
+ // Increase or decrease the likelihood by the specified number of
+ // levels. For example, if a finding would be `POSSIBLE` without the
+ // detection rule and `relative_likelihood` is 1, then it is upgraded to
+ // `LIKELY`, while a value of -1 would downgrade it to `UNLIKELY`.
+ // Likelihood may never drop below `VERY_UNLIKELY` or exceed
+ // `VERY_LIKELY`, so applying an adjustment of 1 followed by an
+ // adjustment of -1 when base likelihood is `VERY_LIKELY` will result in
+ // a final likelihood of `LIKELY`.
+ int32 relative_likelihood = 2;
+ }
+ }
+
+ // The rule that adjusts the likelihood of findings within a certain
+ // proximity of hotwords.
+ message HotwordRule {
+ // Regular expression pattern defining what qualifies as a hotword.
+ Regex hotword_regex = 1;
+
+ // Range of characters within which the entire hotword must reside.
+ // The total length of the window cannot exceed 1000 characters.
+ // The finding itself will be included in the window, so that hotwords can
+ // be used to match substrings of the finding itself. Suppose you
+ // want Cloud DLP to promote the likelihood of the phone number
+ // regex "\(\d{3}\) \d{3}-\d{4}" if the area code is known to be the
+ // area code of a company's office. In this case, use the hotword regex
+ // "\(xxx\)", where "xxx" is the area code in question.
+ //
+ // For tabular data, if you want to modify the likelihood of an entire
+ // column of findngs, see
+ // [Hotword example: Set the match likelihood of a table column]
+ // (https://cloud.google.com/sensitive-data-protection/docs/creating-custom-infotypes-likelihood#match-column-values).
+ Proximity proximity = 2;
+
+ // Likelihood adjustment to apply to all matching findings.
+ LikelihoodAdjustment likelihood_adjustment = 3;
+ }
+
+ // Type of hotword rule.
+ oneof type {
+ // Hotword-based detection rule.
+ HotwordRule hotword_rule = 1;
+ }
+ }
+
+ // Type of exclusion rule.
+ enum ExclusionType {
+ // A finding of this custom info type will not be excluded from results.
+ EXCLUSION_TYPE_UNSPECIFIED = 0;
+
+ // A finding of this custom info type will be excluded from final results,
+ // but can still affect rule execution.
+ EXCLUSION_TYPE_EXCLUDE = 1;
+ }
+
+ // CustomInfoType can either be a new infoType, or an extension of built-in
+ // infoType, when the name matches one of existing infoTypes and that infoType
+ // is specified in `InspectContent.info_types` field. Specifying the latter
+ // adds findings to the one detected by the system. If built-in info type is
+ // not specified in `InspectContent.info_types` list then the name is treated
+ // as a custom info type.
+ InfoType info_type = 1;
+
+ // Likelihood to return for this CustomInfoType. This base value can be
+ // altered by a detection rule if the finding meets the criteria specified by
+ // the rule. Defaults to `VERY_LIKELY` if not specified.
+ Likelihood likelihood = 6;
+
+ // Type of custom detector.
+ oneof type {
+ // A list of phrases to detect as a CustomInfoType.
+ Dictionary dictionary = 2;
+
+ // Regular expression based CustomInfoType.
+ Regex regex = 3;
+
+ // Message for detecting output from deidentification transformations that
+ // support reversing.
+ SurrogateType surrogate_type = 4;
+
+ // Load an existing `StoredInfoType` resource for use in
+ // `InspectDataSource`. Not currently supported in `InspectContent`.
+ StoredType stored_type = 5;
+ }
+
+ // Set of detection rules to apply to all findings of this CustomInfoType.
+ // Rules are applied in order that they are specified. Not supported for the
+ // `surrogate_type` CustomInfoType.
+ repeated DetectionRule detection_rules = 7;
+
+ // If set to EXCLUSION_TYPE_EXCLUDE this infoType will not cause a finding
+ // to be returned. It still can be used for rules matching.
+ ExclusionType exclusion_type = 8;
+
+ // Sensitivity for this CustomInfoType. If this CustomInfoType extends an
+ // existing InfoType, the sensitivity here will take precedence over that of
+ // the original InfoType. If unset for a CustomInfoType, it will default to
+ // HIGH.
+ // This only applies to data profiling.
+ SensitivityScore sensitivity_score = 9;
+}
+
+// General identifier of a data field in a storage service.
+message FieldId {
+ // Name describing the field.
+ string name = 1;
+}
+
+// Datastore partition ID.
+// A partition ID identifies a grouping of entities. The grouping is always
+// by project and namespace, however the namespace ID may be empty.
+//
+// A partition ID contains several dimensions:
+// project ID and namespace ID.
+message PartitionId {
+ // The ID of the project to which the entities belong.
+ string project_id = 2;
+
+ // If not empty, the ID of the namespace to which the entities belong.
+ string namespace_id = 4;
+}
+
+// A representation of a Datastore kind.
+message KindExpression {
+ // The name of the kind.
+ string name = 1;
+}
+
+// Options defining a data set within Google Cloud Datastore.
+message DatastoreOptions {
+ // A partition ID identifies a grouping of entities. The grouping is always
+ // by project and namespace, however the namespace ID may be empty.
+ PartitionId partition_id = 1;
+
+ // The kind to process.
+ KindExpression kind = 2;
+}
+
+// Definitions of file type groups to scan. New types will be added to this
+// list.
+enum FileType {
+ // Includes all files.
+ FILE_TYPE_UNSPECIFIED = 0;
+
+ // Includes all file extensions not covered by another entry. Binary
+ // scanning attempts to convert the content of the file to utf_8 to scan
+ // the file.
+ // If you wish to avoid this fall back, specify one or more of the other
+ // file types in your storage scan.
+ BINARY_FILE = 1;
+
+ // Included file extensions:
+ // asc,asp, aspx, brf, c, cc,cfm, cgi, cpp, csv, cxx, c++, cs, css, dart,
+ // dat, dot, eml,, epbub, ged, go, h, hh, hpp, hxx, h++, hs, html, htm,
+ // mkd, markdown, m, ml, mli, perl, pl, plist, pm, php, phtml, pht,
+ // properties, py, pyw, rb, rbw, rs, rss, rc, scala, sh, sql, swift, tex,
+ // shtml, shtm, xhtml, lhs, ics, ini, java, js, json, jsonl, kix, kml,
+ // ocaml, md, txt, text, tsv, vb, vcard, vcs, wml, xcodeproj, xml, xsl, xsd,
+ // yml, yaml.
+ TEXT_FILE = 2;
+
+ // Included file extensions:
+ // bmp, gif, jpg, jpeg, jpe, png. Setting
+ // [bytes_limit_per_file][google.privacy.dlp.v2.CloudStorageOptions.bytes_limit_per_file]
+ // or
+ // [bytes_limit_per_file_percent][google.privacy.dlp.v2.CloudStorageOptions.bytes_limit_per_file]
+ // has no effect on image files. Image inspection is restricted to the
+ // `global`, `us`, `asia`, and `europe` regions.
+ IMAGE = 3;
+
+ // Microsoft Word files larger than 30 MB will be scanned as binary files.
+ // Included file extensions:
+ // docx, dotx, docm, dotm. Setting `bytes_limit_per_file` or
+ // `bytes_limit_per_file_percent` has no effect on Word files.
+ WORD = 5;
+
+ // PDF files larger than 30 MB will be scanned as binary files.
+ // Included file extensions:
+ // pdf. Setting `bytes_limit_per_file` or `bytes_limit_per_file_percent`
+ // has no effect on PDF files.
+ PDF = 6;
+
+ // Included file extensions:
+ // avro
+ AVRO = 7;
+
+ // Included file extensions:
+ // csv
+ CSV = 8;
+
+ // Included file extensions:
+ // tsv
+ TSV = 9;
+
+ // Microsoft PowerPoint files larger than 30 MB will be scanned as binary
+ // files. Included file extensions:
+ // pptx, pptm, potx, potm, pot. Setting `bytes_limit_per_file` or
+ // `bytes_limit_per_file_percent` has no effect on PowerPoint files.
+ POWERPOINT = 11;
+
+ // Microsoft Excel files larger than 30 MB will be scanned as binary files.
+ // Included file extensions:
+ // xlsx, xlsm, xltx, xltm. Setting `bytes_limit_per_file` or
+ // `bytes_limit_per_file_percent` has no effect on Excel files.
+ EXCEL = 12;
+}
+
+// Message representing a set of files in a Cloud Storage bucket. Regular
+// expressions are used to allow fine-grained control over which files in the
+// bucket to include.
+//
+// Included files are those that match at least one item in `include_regex` and
+// do not match any items in `exclude_regex`. Note that a file that matches
+// items from both lists will _not_ be included. For a match to occur, the
+// entire file path (i.e., everything in the url after the bucket name) must
+// match the regular expression.
+//
+// For example, given the input `{bucket_name: "mybucket", include_regex:
+// ["directory1/.*"], exclude_regex:
+// ["directory1/excluded.*"]}`:
+//
+// * `gs://mybucket/directory1/myfile` will be included
+// * `gs://mybucket/directory1/directory2/myfile` will be included (`.*` matches
+// across `/`)
+// * `gs://mybucket/directory0/directory1/myfile` will _not_ be included (the
+// full path doesn't match any items in `include_regex`)
+// * `gs://mybucket/directory1/excludedfile` will _not_ be included (the path
+// matches an item in `exclude_regex`)
+//
+// If `include_regex` is left empty, it will match all files by default
+// (this is equivalent to setting `include_regex: [".*"]`).
+//
+// Some other common use cases:
+//
+// * `{bucket_name: "mybucket", exclude_regex: [".*\.pdf"]}` will include all
+// files in `mybucket` except for .pdf files
+// * `{bucket_name: "mybucket", include_regex: ["directory/[^/]+"]}` will
+// include all files directly under `gs://mybucket/directory/`, without matching
+// across `/`
+message CloudStorageRegexFileSet {
+ // The name of a Cloud Storage bucket. Required.
+ string bucket_name = 1;
+
+ // A list of regular expressions matching file paths to include. All files in
+ // the bucket that match at least one of these regular expressions will be
+ // included in the set of files, except for those that also match an item in
+ // `exclude_regex`. Leaving this field empty will match all files by default
+ // (this is equivalent to including `.*` in the list).
+ //
+ // Regular expressions use RE2
+ // [syntax](https://github.com/google/re2/wiki/Syntax); a guide can be found
+ // under the google/re2 repository on GitHub.
+ repeated string include_regex = 2;
+
+ // A list of regular expressions matching file paths to exclude. All files in
+ // the bucket that match at least one of these regular expressions will be
+ // excluded from the scan.
+ //
+ // Regular expressions use RE2
+ // [syntax](https://github.com/google/re2/wiki/Syntax); a guide can be found
+ // under the google/re2 repository on GitHub.
+ repeated string exclude_regex = 3;
+}
+
+// Options defining a file or a set of files within a Cloud Storage
+// bucket.
+message CloudStorageOptions {
+ // Set of files to scan.
+ message FileSet {
+ // The Cloud Storage url of the file(s) to scan, in the format
+ // `gs:///`. Trailing wildcard in the path is allowed.
+ //
+ // If the url ends in a trailing slash, the bucket or directory represented
+ // by the url will be scanned non-recursively (content in sub-directories
+ // will not be scanned). This means that `gs://mybucket/` is equivalent to
+ // `gs://mybucket/*`, and `gs://mybucket/directory/` is equivalent to
+ // `gs://mybucket/directory/*`.
+ //
+ // Exactly one of `url` or `regex_file_set` must be set.
+ string url = 1;
+
+ // The regex-filtered set of files to scan. Exactly one of `url` or
+ // `regex_file_set` must be set.
+ CloudStorageRegexFileSet regex_file_set = 2;
+ }
+
+ // How to sample bytes if not all bytes are scanned. Meaningful only when used
+ // in conjunction with bytes_limit_per_file. If not specified, scanning would
+ // start from the top.
+ enum SampleMethod {
+ // No sampling.
+ SAMPLE_METHOD_UNSPECIFIED = 0;
+
+ // Scan from the top (default).
+ TOP = 1;
+
+ // For each file larger than bytes_limit_per_file, randomly pick the offset
+ // to start scanning. The scanned bytes are contiguous.
+ RANDOM_START = 2;
+ }
+
+ // The set of one or more files to scan.
+ FileSet file_set = 1;
+
+ // Max number of bytes to scan from a file. If a scanned file's size is bigger
+ // than this value then the rest of the bytes are omitted. Only one of
+ // `bytes_limit_per_file` and `bytes_limit_per_file_percent` can be specified.
+ // This field can't be set if de-identification is requested. For certain file
+ // types, setting this field has no effect. For more information, see [Limits
+ // on bytes scanned per
+ // file](https://cloud.google.com/sensitive-data-protection/docs/supported-file-types#max-byte-size-per-file).
+ int64 bytes_limit_per_file = 4;
+
+ // Max percentage of bytes to scan from a file. The rest are omitted. The
+ // number of bytes scanned is rounded down. Must be between 0 and 100,
+ // inclusively. Both 0 and 100 means no limit. Defaults to 0. Only one of
+ // bytes_limit_per_file and bytes_limit_per_file_percent can be specified.
+ // This field can't be set if de-identification is requested. For certain file
+ // types, setting this field has no effect. For more information, see [Limits
+ // on bytes scanned per
+ // file](https://cloud.google.com/sensitive-data-protection/docs/supported-file-types#max-byte-size-per-file).
+ int32 bytes_limit_per_file_percent = 8;
+
+ // List of file type groups to include in the scan.
+ // If empty, all files are scanned and available data format processors
+ // are applied. In addition, the binary content of the selected files
+ // is always scanned as well.
+ // Images are scanned only as binary if the specified region
+ // does not support image inspection and no file_types were specified.
+ // Image inspection is restricted to 'global', 'us', 'asia', and 'europe'.
+ repeated FileType file_types = 5;
+
+ // How to sample the data.
+ SampleMethod sample_method = 6;
+
+ // Limits the number of files to scan to this percentage of the input FileSet.
+ // Number of files scanned is rounded down. Must be between 0 and 100,
+ // inclusively. Both 0 and 100 means no limit. Defaults to 0.
+ int32 files_limit_percent = 7;
+}
+
+// Message representing a set of files in Cloud Storage.
+message CloudStorageFileSet {
+ // The url, in the format `gs:///`. Trailing wildcard in the
+ // path is allowed.
+ string url = 1;
+}
+
+// Message representing a single file or path in Cloud Storage.
+message CloudStoragePath {
+ // A URL representing a file or path (no wildcards) in Cloud Storage.
+ // Example: `gs://[BUCKET_NAME]/dictionary.txt`
+ string path = 1;
+}
+
+// Options defining BigQuery table and row identifiers.
+message BigQueryOptions {
+ // How to sample rows if not all rows are scanned. Meaningful only when used
+ // in conjunction with either rows_limit or rows_limit_percent. If not
+ // specified, rows are scanned in the order BigQuery reads them.
+ enum SampleMethod {
+ // No sampling.
+ SAMPLE_METHOD_UNSPECIFIED = 0;
+
+ // Scan groups of rows in the order BigQuery provides (default). Multiple
+ // groups of rows may be scanned in parallel, so results may not appear in
+ // the same order the rows are read.
+ TOP = 1;
+
+ // Randomly pick groups of rows to scan.
+ RANDOM_START = 2;
+ }
+
+ // Complete BigQuery table reference.
+ BigQueryTable table_reference = 1;
+
+ // Table fields that may uniquely identify a row within the table. When
+ // `actions.saveFindings.outputConfig.table` is specified, the values of
+ // columns specified here are available in the output table under
+ // `location.content_locations.record_location.record_key.id_values`. Nested
+ // fields such as `person.birthdate.year` are allowed.
+ repeated FieldId identifying_fields = 2;
+
+ // Max number of rows to scan. If the table has more rows than this value, the
+ // rest of the rows are omitted. If not set, or if set to 0, all rows will be
+ // scanned. Only one of rows_limit and rows_limit_percent can be specified.
+ // Cannot be used in conjunction with TimespanConfig.
+ int64 rows_limit = 3;
+
+ // Max percentage of rows to scan. The rest are omitted. The number of rows
+ // scanned is rounded down. Must be between 0 and 100, inclusively. Both 0 and
+ // 100 means no limit. Defaults to 0. Only one of rows_limit and
+ // rows_limit_percent can be specified. Cannot be used in conjunction with
+ // TimespanConfig.
+ //
+ // Caution: A [known
+ // issue](https://cloud.google.com/sensitive-data-protection/docs/known-issues#bq-sampling)
+ // is causing the `rowsLimitPercent` field to behave unexpectedly. We
+ // recommend using `rowsLimit` instead.
+ int32 rows_limit_percent = 6;
+
+ // How to sample the data.
+ SampleMethod sample_method = 4;
+
+ // References to fields excluded from scanning. This allows you to skip
+ // inspection of entire columns which you know have no findings.
+ // When inspecting a table, we recommend that you inspect all columns.
+ // Otherwise, findings might be affected because hints from excluded columns
+ // will not be used.
+ repeated FieldId excluded_fields = 5;
+
+ // Limit scanning only to these fields.
+ // When inspecting a table, we recommend that you inspect all columns.
+ // Otherwise, findings might be affected because hints from excluded columns
+ // will not be used.
+ repeated FieldId included_fields = 7;
+}
+
+// Shared message indicating Cloud storage type.
+message StorageConfig {
+ // Configuration of the timespan of the items to include in scanning.
+ // Currently only supported when inspecting Cloud Storage and BigQuery.
+ message TimespanConfig {
+ // Exclude files, tables, or rows older than this value.
+ // If not set, no lower time limit is applied.
+ google.protobuf.Timestamp start_time = 1;
+
+ // Exclude files, tables, or rows newer than this value.
+ // If not set, no upper time limit is applied.
+ google.protobuf.Timestamp end_time = 2;
+
+ // Specification of the field containing the timestamp of scanned items.
+ // Used for data sources like Datastore and BigQuery.
+ //
+ // **For BigQuery**
+ //
+ // If this value is not specified and the table was modified between the
+ // given start and end times, the entire table will be scanned. If this
+ // value is specified, then rows are filtered based on the given start and
+ // end times. Rows with a `NULL` value in the provided BigQuery column are
+ // skipped.
+ // Valid data types of the provided BigQuery column are: `INTEGER`, `DATE`,
+ // `TIMESTAMP`, and `DATETIME`.
+ //
+ // If your BigQuery table is [partitioned at ingestion
+ // time](https://cloud.google.com/bigquery/docs/partitioned-tables#ingestion_time),
+ // you can use any of the following pseudo-columns as your timestamp field.
+ // When used with Cloud DLP, these pseudo-column names are case sensitive.
+ //
+ // - `_PARTITIONTIME`
+ // - `_PARTITIONDATE`
+ // - `_PARTITION_LOAD_TIME`
+ //
+ // **For Datastore**
+ //
+ // If this value is specified, then entities are filtered based on the given
+ // start and end times. If an entity does not contain the provided timestamp
+ // property or contains empty or invalid values, then it is included.
+ // Valid data types of the provided timestamp property are: `TIMESTAMP`.
+ //
+ // See the
+ // [known
+ // issue](https://cloud.google.com/sensitive-data-protection/docs/known-issues#bq-timespan)
+ // related to this operation.
+ FieldId timestamp_field = 3;
+
+ // When the job is started by a JobTrigger we will automatically figure out
+ // a valid start_time to avoid scanning files that have not been modified
+ // since the last time the JobTrigger executed. This will be based on the
+ // time of the execution of the last run of the JobTrigger or the timespan
+ // end_time used in the last run of the JobTrigger.
+ //
+ // **For BigQuery**
+ //
+ // Inspect jobs triggered by automatic population will scan data that is at
+ // least three hours old when the job starts. This is because streaming
+ // buffer rows are not read during inspection and reading up to the current
+ // timestamp will result in skipped rows.
+ //
+ // See the [known
+ // issue](https://cloud.google.com/sensitive-data-protection/docs/known-issues#recently-streamed-data)
+ // related to this operation.
+ bool enable_auto_population_of_timespan_config = 4;
+ }
+
+ // Type of storage system to inspect.
+ oneof type {
+ // Google Cloud Datastore options.
+ DatastoreOptions datastore_options = 2;
+
+ // Cloud Storage options.
+ CloudStorageOptions cloud_storage_options = 3;
+
+ // BigQuery options.
+ BigQueryOptions big_query_options = 4;
+
+ // Hybrid inspection options.
+ HybridOptions hybrid_options = 9;
+ }
+
+ // Configuration of the timespan of the items to include in scanning.
+ TimespanConfig timespan_config = 6;
+}
+
+// Configuration to control jobs where the content being inspected is outside
+// of Google Cloud Platform.
+message HybridOptions {
+ // A short description of where the data is coming from. Will be stored once
+ // in the job. 256 max length.
+ string description = 1;
+
+ // These are labels that each inspection request must include within their
+ // 'finding_labels' map. Request may contain others, but any missing one of
+ // these will be rejected.
+ //
+ // Label keys must be between 1 and 63 characters long and must conform
+ // to the following regular expression: `[a-z]([-a-z0-9]*[a-z0-9])?`.
+ //
+ // No more than 10 keys can be required.
+ repeated string required_finding_label_keys = 2;
+
+ // To organize findings, these labels will be added to each finding.
+ //
+ // Label keys must be between 1 and 63 characters long and must conform
+ // to the following regular expression: `[a-z]([-a-z0-9]*[a-z0-9])?`.
+ //
+ // Label values must be between 0 and 63 characters long and must conform
+ // to the regular expression `([a-z]([-a-z0-9]*[a-z0-9])?)?`.
+ //
+ // No more than 10 labels can be associated with a given finding.
+ //
+ // Examples:
+ //
+ // * `"environment" : "production"`
+ // * `"pipeline" : "etl"`
+ map labels = 3;
+
+ // If the container is a table, additional information to make findings
+ // meaningful such as the columns that are primary keys.
+ TableOptions table_options = 4;
+}
+
+// Row key for identifying a record in BigQuery table.
+message BigQueryKey {
+ // Complete BigQuery table reference.
+ BigQueryTable table_reference = 1;
+
+ // Row number inferred at the time the table was scanned. This value is
+ // nondeterministic, cannot be queried, and may be null for inspection
+ // jobs. To locate findings within a table, specify
+ // `inspect_job.storage_config.big_query_options.identifying_fields` in
+ // `CreateDlpJobRequest`.
+ int64 row_number = 2;
+}
+
+// Record key for a finding in Cloud Datastore.
+message DatastoreKey {
+ // Datastore entity key.
+ Key entity_key = 1;
+}
+
+// A unique identifier for a Datastore entity.
+// If a key's partition ID or any of its path kinds or names are
+// reserved/read-only, the key is reserved/read-only.
+// A reserved/read-only key is forbidden in certain documented contexts.
+message Key {
+ // A (kind, ID/name) pair used to construct a key path.
+ //
+ // If either name or ID is set, the element is complete.
+ // If neither is set, the element is incomplete.
+ message PathElement {
+ // The kind of the entity.
+ // A kind matching regex `__.*__` is reserved/read-only.
+ // A kind must not contain more than 1500 bytes when UTF-8 encoded.
+ // Cannot be `""`.
+ string kind = 1;
+
+ // The type of ID.
+ oneof id_type {
+ // The auto-allocated ID of the entity.
+ // Never equal to zero. Values less than zero are discouraged and may not
+ // be supported in the future.
+ int64 id = 2;
+
+ // The name of the entity.
+ // A name matching regex `__.*__` is reserved/read-only.
+ // A name must not be more than 1500 bytes when UTF-8 encoded.
+ // Cannot be `""`.
+ string name = 3;
+ }
+ }
+
+ // Entities are partitioned into subsets, currently identified by a project
+ // ID and namespace ID.
+ // Queries are scoped to a single partition.
+ PartitionId partition_id = 1;
+
+ // The entity path.
+ // An entity path consists of one or more elements composed of a kind and a
+ // string or numerical identifier, which identify entities. The first
+ // element identifies a _root entity_, the second element identifies
+ // a _child_ of the root entity, the third element identifies a child of the
+ // second entity, and so forth. The entities identified by all prefixes of
+ // the path are called the element's _ancestors_.
+ //
+ // A path can never be empty, and a path can have at most 100 elements.
+ repeated PathElement path = 2;
+}
+
+// Message for a unique key indicating a record that contains a finding.
+message RecordKey {
+ // Type of key
+ oneof type {
+ // BigQuery key
+ DatastoreKey datastore_key = 2;
+
+ // Datastore key
+ BigQueryKey big_query_key = 3;
+ }
+
+ // Values of identifying columns in the given row. Order of values matches
+ // the order of `identifying_fields` specified in the scanning request.
+ repeated string id_values = 5;
+}
+
+// Message defining the location of a BigQuery table. A table is uniquely
+// identified by its project_id, dataset_id, and table_name. Within a query
+// a table is often referenced with a string in the format of:
+// `:.` or
+// `..`.
+message BigQueryTable {
+ // The Google Cloud project ID of the project containing the table.
+ // If omitted, project ID is inferred from the API call.
+ string project_id = 1;
+
+ // Dataset ID of the table.
+ string dataset_id = 2;
+
+ // Name of the table.
+ string table_id = 3;
+}
+
+// Message defining the location of a BigQuery table with the projectId inferred
+// from the parent project.
+message TableReference {
+ // Dataset ID of the table.
+ string dataset_id = 1;
+
+ // Name of the table.
+ string table_id = 2;
+
+ // The Google Cloud project ID of the project containing the table.
+ // If omitted, the project ID is inferred from the parent project. This field
+ // is required if the parent resource is an organization.
+ string project_id = 3;
+}
+
+// Message defining a field of a BigQuery table.
+message BigQueryField {
+ // Source table of the field.
+ BigQueryTable table = 1;
+
+ // Designated field in the BigQuery table.
+ FieldId field = 2;
+}
+
+// An entity in a dataset is a field or set of fields that correspond to a
+// single person. For example, in medical records the `EntityId` might be a
+// patient identifier, or for financial records it might be an account
+// identifier. This message is used when generalizations or analysis must take
+// into account that multiple rows correspond to the same entity.
+message EntityId {
+ // Composite key indicating which field contains the entity identifier.
+ FieldId field = 1;
+}
+
+// Instructions regarding the table content being inspected.
+message TableOptions {
+ // The columns that are the primary keys for table objects included in
+ // ContentItem. A copy of this cell's value will stored alongside alongside
+ // each finding so that the finding can be traced to the specific row it came
+ // from. No more than 3 may be provided.
+ repeated FieldId identifying_fields = 1;
+}
diff --git a/owl-bot-staging/dlp/v2/protos/protos.d.ts b/owl-bot-staging/dlp/v2/protos/protos.d.ts
new file mode 100644
index 000000000..bb693408d
--- /dev/null
+++ b/owl-bot-staging/dlp/v2/protos/protos.d.ts
@@ -0,0 +1,49290 @@
+// Copyright 2026 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+import type {protobuf as $protobuf} from "google-gax";
+import Long = require("long");
+/** Namespace google. */
+export namespace google {
+
+ /** Namespace privacy. */
+ namespace privacy {
+
+ /** Namespace dlp. */
+ namespace dlp {
+
+ /** Namespace v2. */
+ namespace v2 {
+
+ /** Represents a DlpService */
+ class DlpService extends $protobuf.rpc.Service {
+
+ /**
+ * Constructs a new DlpService 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 DlpService 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): DlpService;
+
+ /**
+ * Calls InspectContent.
+ * @param request InspectContentRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and InspectContentResponse
+ */
+ public inspectContent(request: google.privacy.dlp.v2.IInspectContentRequest, callback: google.privacy.dlp.v2.DlpService.InspectContentCallback): void;
+
+ /**
+ * Calls InspectContent.
+ * @param request InspectContentRequest message or plain object
+ * @returns Promise
+ */
+ public inspectContent(request: google.privacy.dlp.v2.IInspectContentRequest): Promise;
+
+ /**
+ * Calls RedactImage.
+ * @param request RedactImageRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and RedactImageResponse
+ */
+ public redactImage(request: google.privacy.dlp.v2.IRedactImageRequest, callback: google.privacy.dlp.v2.DlpService.RedactImageCallback): void;
+
+ /**
+ * Calls RedactImage.
+ * @param request RedactImageRequest message or plain object
+ * @returns Promise
+ */
+ public redactImage(request: google.privacy.dlp.v2.IRedactImageRequest): Promise;
+
+ /**
+ * Calls DeidentifyContent.
+ * @param request DeidentifyContentRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and DeidentifyContentResponse
+ */
+ public deidentifyContent(request: google.privacy.dlp.v2.IDeidentifyContentRequest, callback: google.privacy.dlp.v2.DlpService.DeidentifyContentCallback): void;
+
+ /**
+ * Calls DeidentifyContent.
+ * @param request DeidentifyContentRequest message or plain object
+ * @returns Promise
+ */
+ public deidentifyContent(request: google.privacy.dlp.v2.IDeidentifyContentRequest): Promise;
+
+ /**
+ * Calls ReidentifyContent.
+ * @param request ReidentifyContentRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and ReidentifyContentResponse
+ */
+ public reidentifyContent(request: google.privacy.dlp.v2.IReidentifyContentRequest, callback: google.privacy.dlp.v2.DlpService.ReidentifyContentCallback): void;
+
+ /**
+ * Calls ReidentifyContent.
+ * @param request ReidentifyContentRequest message or plain object
+ * @returns Promise
+ */
+ public reidentifyContent(request: google.privacy.dlp.v2.IReidentifyContentRequest): Promise;
+
+ /**
+ * Calls ListInfoTypes.
+ * @param request ListInfoTypesRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and ListInfoTypesResponse
+ */
+ public listInfoTypes(request: google.privacy.dlp.v2.IListInfoTypesRequest, callback: google.privacy.dlp.v2.DlpService.ListInfoTypesCallback): void;
+
+ /**
+ * Calls ListInfoTypes.
+ * @param request ListInfoTypesRequest message or plain object
+ * @returns Promise
+ */
+ public listInfoTypes(request: google.privacy.dlp.v2.IListInfoTypesRequest): Promise;
+
+ /**
+ * Calls CreateInspectTemplate.
+ * @param request CreateInspectTemplateRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and InspectTemplate
+ */
+ public createInspectTemplate(request: google.privacy.dlp.v2.ICreateInspectTemplateRequest, callback: google.privacy.dlp.v2.DlpService.CreateInspectTemplateCallback): void;
+
+ /**
+ * Calls CreateInspectTemplate.
+ * @param request CreateInspectTemplateRequest message or plain object
+ * @returns Promise
+ */
+ public createInspectTemplate(request: google.privacy.dlp.v2.ICreateInspectTemplateRequest): Promise;
+
+ /**
+ * Calls UpdateInspectTemplate.
+ * @param request UpdateInspectTemplateRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and InspectTemplate
+ */
+ public updateInspectTemplate(request: google.privacy.dlp.v2.IUpdateInspectTemplateRequest, callback: google.privacy.dlp.v2.DlpService.UpdateInspectTemplateCallback): void;
+
+ /**
+ * Calls UpdateInspectTemplate.
+ * @param request UpdateInspectTemplateRequest message or plain object
+ * @returns Promise
+ */
+ public updateInspectTemplate(request: google.privacy.dlp.v2.IUpdateInspectTemplateRequest): Promise;
+
+ /**
+ * Calls GetInspectTemplate.
+ * @param request GetInspectTemplateRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and InspectTemplate
+ */
+ public getInspectTemplate(request: google.privacy.dlp.v2.IGetInspectTemplateRequest, callback: google.privacy.dlp.v2.DlpService.GetInspectTemplateCallback): void;
+
+ /**
+ * Calls GetInspectTemplate.
+ * @param request GetInspectTemplateRequest message or plain object
+ * @returns Promise
+ */
+ public getInspectTemplate(request: google.privacy.dlp.v2.IGetInspectTemplateRequest): Promise;
+
+ /**
+ * Calls ListInspectTemplates.
+ * @param request ListInspectTemplatesRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and ListInspectTemplatesResponse
+ */
+ public listInspectTemplates(request: google.privacy.dlp.v2.IListInspectTemplatesRequest, callback: google.privacy.dlp.v2.DlpService.ListInspectTemplatesCallback): void;
+
+ /**
+ * Calls ListInspectTemplates.
+ * @param request ListInspectTemplatesRequest message or plain object
+ * @returns Promise
+ */
+ public listInspectTemplates(request: google.privacy.dlp.v2.IListInspectTemplatesRequest): Promise;
+
+ /**
+ * Calls DeleteInspectTemplate.
+ * @param request DeleteInspectTemplateRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and Empty
+ */
+ public deleteInspectTemplate(request: google.privacy.dlp.v2.IDeleteInspectTemplateRequest, callback: google.privacy.dlp.v2.DlpService.DeleteInspectTemplateCallback): void;
+
+ /**
+ * Calls DeleteInspectTemplate.
+ * @param request DeleteInspectTemplateRequest message or plain object
+ * @returns Promise
+ */
+ public deleteInspectTemplate(request: google.privacy.dlp.v2.IDeleteInspectTemplateRequest): Promise;
+
+ /**
+ * Calls CreateDeidentifyTemplate.
+ * @param request CreateDeidentifyTemplateRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and DeidentifyTemplate
+ */
+ public createDeidentifyTemplate(request: google.privacy.dlp.v2.ICreateDeidentifyTemplateRequest, callback: google.privacy.dlp.v2.DlpService.CreateDeidentifyTemplateCallback): void;
+
+ /**
+ * Calls CreateDeidentifyTemplate.
+ * @param request CreateDeidentifyTemplateRequest message or plain object
+ * @returns Promise
+ */
+ public createDeidentifyTemplate(request: google.privacy.dlp.v2.ICreateDeidentifyTemplateRequest): Promise;
+
+ /**
+ * Calls UpdateDeidentifyTemplate.
+ * @param request UpdateDeidentifyTemplateRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and DeidentifyTemplate
+ */
+ public updateDeidentifyTemplate(request: google.privacy.dlp.v2.IUpdateDeidentifyTemplateRequest, callback: google.privacy.dlp.v2.DlpService.UpdateDeidentifyTemplateCallback): void;
+
+ /**
+ * Calls UpdateDeidentifyTemplate.
+ * @param request UpdateDeidentifyTemplateRequest message or plain object
+ * @returns Promise
+ */
+ public updateDeidentifyTemplate(request: google.privacy.dlp.v2.IUpdateDeidentifyTemplateRequest): Promise;
+
+ /**
+ * Calls GetDeidentifyTemplate.
+ * @param request GetDeidentifyTemplateRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and DeidentifyTemplate
+ */
+ public getDeidentifyTemplate(request: google.privacy.dlp.v2.IGetDeidentifyTemplateRequest, callback: google.privacy.dlp.v2.DlpService.GetDeidentifyTemplateCallback): void;
+
+ /**
+ * Calls GetDeidentifyTemplate.
+ * @param request GetDeidentifyTemplateRequest message or plain object
+ * @returns Promise
+ */
+ public getDeidentifyTemplate(request: google.privacy.dlp.v2.IGetDeidentifyTemplateRequest): Promise;
+
+ /**
+ * Calls ListDeidentifyTemplates.
+ * @param request ListDeidentifyTemplatesRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and ListDeidentifyTemplatesResponse
+ */
+ public listDeidentifyTemplates(request: google.privacy.dlp.v2.IListDeidentifyTemplatesRequest, callback: google.privacy.dlp.v2.DlpService.ListDeidentifyTemplatesCallback): void;
+
+ /**
+ * Calls ListDeidentifyTemplates.
+ * @param request ListDeidentifyTemplatesRequest message or plain object
+ * @returns Promise
+ */
+ public listDeidentifyTemplates(request: google.privacy.dlp.v2.IListDeidentifyTemplatesRequest): Promise;
+
+ /**
+ * Calls DeleteDeidentifyTemplate.
+ * @param request DeleteDeidentifyTemplateRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and Empty
+ */
+ public deleteDeidentifyTemplate(request: google.privacy.dlp.v2.IDeleteDeidentifyTemplateRequest, callback: google.privacy.dlp.v2.DlpService.DeleteDeidentifyTemplateCallback): void;
+
+ /**
+ * Calls DeleteDeidentifyTemplate.
+ * @param request DeleteDeidentifyTemplateRequest message or plain object
+ * @returns Promise
+ */
+ public deleteDeidentifyTemplate(request: google.privacy.dlp.v2.IDeleteDeidentifyTemplateRequest): Promise;
+
+ /**
+ * Calls CreateJobTrigger.
+ * @param request CreateJobTriggerRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and JobTrigger
+ */
+ public createJobTrigger(request: google.privacy.dlp.v2.ICreateJobTriggerRequest, callback: google.privacy.dlp.v2.DlpService.CreateJobTriggerCallback): void;
+
+ /**
+ * Calls CreateJobTrigger.
+ * @param request CreateJobTriggerRequest message or plain object
+ * @returns Promise
+ */
+ public createJobTrigger(request: google.privacy.dlp.v2.ICreateJobTriggerRequest): Promise;
+
+ /**
+ * Calls UpdateJobTrigger.
+ * @param request UpdateJobTriggerRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and JobTrigger
+ */
+ public updateJobTrigger(request: google.privacy.dlp.v2.IUpdateJobTriggerRequest, callback: google.privacy.dlp.v2.DlpService.UpdateJobTriggerCallback): void;
+
+ /**
+ * Calls UpdateJobTrigger.
+ * @param request UpdateJobTriggerRequest message or plain object
+ * @returns Promise
+ */
+ public updateJobTrigger(request: google.privacy.dlp.v2.IUpdateJobTriggerRequest): Promise;
+
+ /**
+ * Calls HybridInspectJobTrigger.
+ * @param request HybridInspectJobTriggerRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and HybridInspectResponse
+ */
+ public hybridInspectJobTrigger(request: google.privacy.dlp.v2.IHybridInspectJobTriggerRequest, callback: google.privacy.dlp.v2.DlpService.HybridInspectJobTriggerCallback): void;
+
+ /**
+ * Calls HybridInspectJobTrigger.
+ * @param request HybridInspectJobTriggerRequest message or plain object
+ * @returns Promise
+ */
+ public hybridInspectJobTrigger(request: google.privacy.dlp.v2.IHybridInspectJobTriggerRequest): Promise;
+
+ /**
+ * Calls GetJobTrigger.
+ * @param request GetJobTriggerRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and JobTrigger
+ */
+ public getJobTrigger(request: google.privacy.dlp.v2.IGetJobTriggerRequest, callback: google.privacy.dlp.v2.DlpService.GetJobTriggerCallback): void;
+
+ /**
+ * Calls GetJobTrigger.
+ * @param request GetJobTriggerRequest message or plain object
+ * @returns Promise
+ */
+ public getJobTrigger(request: google.privacy.dlp.v2.IGetJobTriggerRequest): Promise;
+
+ /**
+ * Calls ListJobTriggers.
+ * @param request ListJobTriggersRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and ListJobTriggersResponse
+ */
+ public listJobTriggers(request: google.privacy.dlp.v2.IListJobTriggersRequest, callback: google.privacy.dlp.v2.DlpService.ListJobTriggersCallback): void;
+
+ /**
+ * Calls ListJobTriggers.
+ * @param request ListJobTriggersRequest message or plain object
+ * @returns Promise
+ */
+ public listJobTriggers(request: google.privacy.dlp.v2.IListJobTriggersRequest): Promise;
+
+ /**
+ * Calls DeleteJobTrigger.
+ * @param request DeleteJobTriggerRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and Empty
+ */
+ public deleteJobTrigger(request: google.privacy.dlp.v2.IDeleteJobTriggerRequest, callback: google.privacy.dlp.v2.DlpService.DeleteJobTriggerCallback): void;
+
+ /**
+ * Calls DeleteJobTrigger.
+ * @param request DeleteJobTriggerRequest message or plain object
+ * @returns Promise
+ */
+ public deleteJobTrigger(request: google.privacy.dlp.v2.IDeleteJobTriggerRequest): Promise;
+
+ /**
+ * Calls ActivateJobTrigger.
+ * @param request ActivateJobTriggerRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and DlpJob
+ */
+ public activateJobTrigger(request: google.privacy.dlp.v2.IActivateJobTriggerRequest, callback: google.privacy.dlp.v2.DlpService.ActivateJobTriggerCallback): void;
+
+ /**
+ * Calls ActivateJobTrigger.
+ * @param request ActivateJobTriggerRequest message or plain object
+ * @returns Promise
+ */
+ public activateJobTrigger(request: google.privacy.dlp.v2.IActivateJobTriggerRequest): Promise;
+
+ /**
+ * Calls CreateDiscoveryConfig.
+ * @param request CreateDiscoveryConfigRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and DiscoveryConfig
+ */
+ public createDiscoveryConfig(request: google.privacy.dlp.v2.ICreateDiscoveryConfigRequest, callback: google.privacy.dlp.v2.DlpService.CreateDiscoveryConfigCallback): void;
+
+ /**
+ * Calls CreateDiscoveryConfig.
+ * @param request CreateDiscoveryConfigRequest message or plain object
+ * @returns Promise
+ */
+ public createDiscoveryConfig(request: google.privacy.dlp.v2.ICreateDiscoveryConfigRequest): Promise;
+
+ /**
+ * Calls UpdateDiscoveryConfig.
+ * @param request UpdateDiscoveryConfigRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and DiscoveryConfig
+ */
+ public updateDiscoveryConfig(request: google.privacy.dlp.v2.IUpdateDiscoveryConfigRequest, callback: google.privacy.dlp.v2.DlpService.UpdateDiscoveryConfigCallback): void;
+
+ /**
+ * Calls UpdateDiscoveryConfig.
+ * @param request UpdateDiscoveryConfigRequest message or plain object
+ * @returns Promise
+ */
+ public updateDiscoveryConfig(request: google.privacy.dlp.v2.IUpdateDiscoveryConfigRequest): Promise;
+
+ /**
+ * Calls GetDiscoveryConfig.
+ * @param request GetDiscoveryConfigRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and DiscoveryConfig
+ */
+ public getDiscoveryConfig(request: google.privacy.dlp.v2.IGetDiscoveryConfigRequest, callback: google.privacy.dlp.v2.DlpService.GetDiscoveryConfigCallback): void;
+
+ /**
+ * Calls GetDiscoveryConfig.
+ * @param request GetDiscoveryConfigRequest message or plain object
+ * @returns Promise
+ */
+ public getDiscoveryConfig(request: google.privacy.dlp.v2.IGetDiscoveryConfigRequest): Promise;
+
+ /**
+ * Calls ListDiscoveryConfigs.
+ * @param request ListDiscoveryConfigsRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and ListDiscoveryConfigsResponse
+ */
+ public listDiscoveryConfigs(request: google.privacy.dlp.v2.IListDiscoveryConfigsRequest, callback: google.privacy.dlp.v2.DlpService.ListDiscoveryConfigsCallback): void;
+
+ /**
+ * Calls ListDiscoveryConfigs.
+ * @param request ListDiscoveryConfigsRequest message or plain object
+ * @returns Promise
+ */
+ public listDiscoveryConfigs(request: google.privacy.dlp.v2.IListDiscoveryConfigsRequest): Promise;
+
+ /**
+ * Calls DeleteDiscoveryConfig.
+ * @param request DeleteDiscoveryConfigRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and Empty
+ */
+ public deleteDiscoveryConfig(request: google.privacy.dlp.v2.IDeleteDiscoveryConfigRequest, callback: google.privacy.dlp.v2.DlpService.DeleteDiscoveryConfigCallback): void;
+
+ /**
+ * Calls DeleteDiscoveryConfig.
+ * @param request DeleteDiscoveryConfigRequest message or plain object
+ * @returns Promise
+ */
+ public deleteDiscoveryConfig(request: google.privacy.dlp.v2.IDeleteDiscoveryConfigRequest): Promise;
+
+ /**
+ * Calls CreateDlpJob.
+ * @param request CreateDlpJobRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and DlpJob
+ */
+ public createDlpJob(request: google.privacy.dlp.v2.ICreateDlpJobRequest, callback: google.privacy.dlp.v2.DlpService.CreateDlpJobCallback): void;
+
+ /**
+ * Calls CreateDlpJob.
+ * @param request CreateDlpJobRequest message or plain object
+ * @returns Promise
+ */
+ public createDlpJob(request: google.privacy.dlp.v2.ICreateDlpJobRequest): Promise;
+
+ /**
+ * Calls ListDlpJobs.
+ * @param request ListDlpJobsRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and ListDlpJobsResponse
+ */
+ public listDlpJobs(request: google.privacy.dlp.v2.IListDlpJobsRequest, callback: google.privacy.dlp.v2.DlpService.ListDlpJobsCallback): void;
+
+ /**
+ * Calls ListDlpJobs.
+ * @param request ListDlpJobsRequest message or plain object
+ * @returns Promise
+ */
+ public listDlpJobs(request: google.privacy.dlp.v2.IListDlpJobsRequest): Promise;
+
+ /**
+ * Calls GetDlpJob.
+ * @param request GetDlpJobRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and DlpJob
+ */
+ public getDlpJob(request: google.privacy.dlp.v2.IGetDlpJobRequest, callback: google.privacy.dlp.v2.DlpService.GetDlpJobCallback): void;
+
+ /**
+ * Calls GetDlpJob.
+ * @param request GetDlpJobRequest message or plain object
+ * @returns Promise
+ */
+ public getDlpJob(request: google.privacy.dlp.v2.IGetDlpJobRequest): Promise;
+
+ /**
+ * Calls DeleteDlpJob.
+ * @param request DeleteDlpJobRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and Empty
+ */
+ public deleteDlpJob(request: google.privacy.dlp.v2.IDeleteDlpJobRequest, callback: google.privacy.dlp.v2.DlpService.DeleteDlpJobCallback): void;
+
+ /**
+ * Calls DeleteDlpJob.
+ * @param request DeleteDlpJobRequest message or plain object
+ * @returns Promise
+ */
+ public deleteDlpJob(request: google.privacy.dlp.v2.IDeleteDlpJobRequest): Promise;
+
+ /**
+ * Calls CancelDlpJob.
+ * @param request CancelDlpJobRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and Empty
+ */
+ public cancelDlpJob(request: google.privacy.dlp.v2.ICancelDlpJobRequest, callback: google.privacy.dlp.v2.DlpService.CancelDlpJobCallback): void;
+
+ /**
+ * Calls CancelDlpJob.
+ * @param request CancelDlpJobRequest message or plain object
+ * @returns Promise
+ */
+ public cancelDlpJob(request: google.privacy.dlp.v2.ICancelDlpJobRequest): Promise;
+
+ /**
+ * Calls CreateStoredInfoType.
+ * @param request CreateStoredInfoTypeRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and StoredInfoType
+ */
+ public createStoredInfoType(request: google.privacy.dlp.v2.ICreateStoredInfoTypeRequest, callback: google.privacy.dlp.v2.DlpService.CreateStoredInfoTypeCallback): void;
+
+ /**
+ * Calls CreateStoredInfoType.
+ * @param request CreateStoredInfoTypeRequest message or plain object
+ * @returns Promise
+ */
+ public createStoredInfoType(request: google.privacy.dlp.v2.ICreateStoredInfoTypeRequest): Promise;
+
+ /**
+ * Calls UpdateStoredInfoType.
+ * @param request UpdateStoredInfoTypeRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and StoredInfoType
+ */
+ public updateStoredInfoType(request: google.privacy.dlp.v2.IUpdateStoredInfoTypeRequest, callback: google.privacy.dlp.v2.DlpService.UpdateStoredInfoTypeCallback): void;
+
+ /**
+ * Calls UpdateStoredInfoType.
+ * @param request UpdateStoredInfoTypeRequest message or plain object
+ * @returns Promise
+ */
+ public updateStoredInfoType(request: google.privacy.dlp.v2.IUpdateStoredInfoTypeRequest): Promise;
+
+ /**
+ * Calls GetStoredInfoType.
+ * @param request GetStoredInfoTypeRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and StoredInfoType
+ */
+ public getStoredInfoType(request: google.privacy.dlp.v2.IGetStoredInfoTypeRequest, callback: google.privacy.dlp.v2.DlpService.GetStoredInfoTypeCallback): void;
+
+ /**
+ * Calls GetStoredInfoType.
+ * @param request GetStoredInfoTypeRequest message or plain object
+ * @returns Promise
+ */
+ public getStoredInfoType(request: google.privacy.dlp.v2.IGetStoredInfoTypeRequest): Promise;
+
+ /**
+ * Calls ListStoredInfoTypes.
+ * @param request ListStoredInfoTypesRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and ListStoredInfoTypesResponse
+ */
+ public listStoredInfoTypes(request: google.privacy.dlp.v2.IListStoredInfoTypesRequest, callback: google.privacy.dlp.v2.DlpService.ListStoredInfoTypesCallback): void;
+
+ /**
+ * Calls ListStoredInfoTypes.
+ * @param request ListStoredInfoTypesRequest message or plain object
+ * @returns Promise
+ */
+ public listStoredInfoTypes(request: google.privacy.dlp.v2.IListStoredInfoTypesRequest): Promise;
+
+ /**
+ * Calls DeleteStoredInfoType.
+ * @param request DeleteStoredInfoTypeRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and Empty
+ */
+ public deleteStoredInfoType(request: google.privacy.dlp.v2.IDeleteStoredInfoTypeRequest, callback: google.privacy.dlp.v2.DlpService.DeleteStoredInfoTypeCallback): void;
+
+ /**
+ * Calls DeleteStoredInfoType.
+ * @param request DeleteStoredInfoTypeRequest message or plain object
+ * @returns Promise
+ */
+ public deleteStoredInfoType(request: google.privacy.dlp.v2.IDeleteStoredInfoTypeRequest): Promise;
+
+ /**
+ * Calls ListProjectDataProfiles.
+ * @param request ListProjectDataProfilesRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and ListProjectDataProfilesResponse
+ */
+ public listProjectDataProfiles(request: google.privacy.dlp.v2.IListProjectDataProfilesRequest, callback: google.privacy.dlp.v2.DlpService.ListProjectDataProfilesCallback): void;
+
+ /**
+ * Calls ListProjectDataProfiles.
+ * @param request ListProjectDataProfilesRequest message or plain object
+ * @returns Promise
+ */
+ public listProjectDataProfiles(request: google.privacy.dlp.v2.IListProjectDataProfilesRequest): Promise;
+
+ /**
+ * Calls ListTableDataProfiles.
+ * @param request ListTableDataProfilesRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and ListTableDataProfilesResponse
+ */
+ public listTableDataProfiles(request: google.privacy.dlp.v2.IListTableDataProfilesRequest, callback: google.privacy.dlp.v2.DlpService.ListTableDataProfilesCallback): void;
+
+ /**
+ * Calls ListTableDataProfiles.
+ * @param request ListTableDataProfilesRequest message or plain object
+ * @returns Promise
+ */
+ public listTableDataProfiles(request: google.privacy.dlp.v2.IListTableDataProfilesRequest): Promise;
+
+ /**
+ * Calls ListColumnDataProfiles.
+ * @param request ListColumnDataProfilesRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and ListColumnDataProfilesResponse
+ */
+ public listColumnDataProfiles(request: google.privacy.dlp.v2.IListColumnDataProfilesRequest, callback: google.privacy.dlp.v2.DlpService.ListColumnDataProfilesCallback): void;
+
+ /**
+ * Calls ListColumnDataProfiles.
+ * @param request ListColumnDataProfilesRequest message or plain object
+ * @returns Promise
+ */
+ public listColumnDataProfiles(request: google.privacy.dlp.v2.IListColumnDataProfilesRequest): Promise;
+
+ /**
+ * Calls GetProjectDataProfile.
+ * @param request GetProjectDataProfileRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and ProjectDataProfile
+ */
+ public getProjectDataProfile(request: google.privacy.dlp.v2.IGetProjectDataProfileRequest, callback: google.privacy.dlp.v2.DlpService.GetProjectDataProfileCallback): void;
+
+ /**
+ * Calls GetProjectDataProfile.
+ * @param request GetProjectDataProfileRequest message or plain object
+ * @returns Promise
+ */
+ public getProjectDataProfile(request: google.privacy.dlp.v2.IGetProjectDataProfileRequest): Promise;
+
+ /**
+ * Calls ListFileStoreDataProfiles.
+ * @param request ListFileStoreDataProfilesRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and ListFileStoreDataProfilesResponse
+ */
+ public listFileStoreDataProfiles(request: google.privacy.dlp.v2.IListFileStoreDataProfilesRequest, callback: google.privacy.dlp.v2.DlpService.ListFileStoreDataProfilesCallback): void;
+
+ /**
+ * Calls ListFileStoreDataProfiles.
+ * @param request ListFileStoreDataProfilesRequest message or plain object
+ * @returns Promise
+ */
+ public listFileStoreDataProfiles(request: google.privacy.dlp.v2.IListFileStoreDataProfilesRequest): Promise;
+
+ /**
+ * Calls GetFileStoreDataProfile.
+ * @param request GetFileStoreDataProfileRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and FileStoreDataProfile
+ */
+ public getFileStoreDataProfile(request: google.privacy.dlp.v2.IGetFileStoreDataProfileRequest, callback: google.privacy.dlp.v2.DlpService.GetFileStoreDataProfileCallback): void;
+
+ /**
+ * Calls GetFileStoreDataProfile.
+ * @param request GetFileStoreDataProfileRequest message or plain object
+ * @returns Promise
+ */
+ public getFileStoreDataProfile(request: google.privacy.dlp.v2.IGetFileStoreDataProfileRequest): Promise;
+
+ /**
+ * Calls DeleteFileStoreDataProfile.
+ * @param request DeleteFileStoreDataProfileRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and Empty
+ */
+ public deleteFileStoreDataProfile(request: google.privacy.dlp.v2.IDeleteFileStoreDataProfileRequest, callback: google.privacy.dlp.v2.DlpService.DeleteFileStoreDataProfileCallback): void;
+
+ /**
+ * Calls DeleteFileStoreDataProfile.
+ * @param request DeleteFileStoreDataProfileRequest message or plain object
+ * @returns Promise
+ */
+ public deleteFileStoreDataProfile(request: google.privacy.dlp.v2.IDeleteFileStoreDataProfileRequest): Promise;
+
+ /**
+ * Calls GetTableDataProfile.
+ * @param request GetTableDataProfileRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and TableDataProfile
+ */
+ public getTableDataProfile(request: google.privacy.dlp.v2.IGetTableDataProfileRequest, callback: google.privacy.dlp.v2.DlpService.GetTableDataProfileCallback): void;
+
+ /**
+ * Calls GetTableDataProfile.
+ * @param request GetTableDataProfileRequest message or plain object
+ * @returns Promise
+ */
+ public getTableDataProfile(request: google.privacy.dlp.v2.IGetTableDataProfileRequest): Promise;
+
+ /**
+ * Calls GetColumnDataProfile.
+ * @param request GetColumnDataProfileRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and ColumnDataProfile
+ */
+ public getColumnDataProfile(request: google.privacy.dlp.v2.IGetColumnDataProfileRequest, callback: google.privacy.dlp.v2.DlpService.GetColumnDataProfileCallback): void;
+
+ /**
+ * Calls GetColumnDataProfile.
+ * @param request GetColumnDataProfileRequest message or plain object
+ * @returns Promise
+ */
+ public getColumnDataProfile(request: google.privacy.dlp.v2.IGetColumnDataProfileRequest): Promise;
+
+ /**
+ * Calls DeleteTableDataProfile.
+ * @param request DeleteTableDataProfileRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and Empty
+ */
+ public deleteTableDataProfile(request: google.privacy.dlp.v2.IDeleteTableDataProfileRequest, callback: google.privacy.dlp.v2.DlpService.DeleteTableDataProfileCallback): void;
+
+ /**
+ * Calls DeleteTableDataProfile.
+ * @param request DeleteTableDataProfileRequest message or plain object
+ * @returns Promise
+ */
+ public deleteTableDataProfile(request: google.privacy.dlp.v2.IDeleteTableDataProfileRequest): Promise;
+
+ /**
+ * Calls HybridInspectDlpJob.
+ * @param request HybridInspectDlpJobRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and HybridInspectResponse
+ */
+ public hybridInspectDlpJob(request: google.privacy.dlp.v2.IHybridInspectDlpJobRequest, callback: google.privacy.dlp.v2.DlpService.HybridInspectDlpJobCallback): void;
+
+ /**
+ * Calls HybridInspectDlpJob.
+ * @param request HybridInspectDlpJobRequest message or plain object
+ * @returns Promise
+ */
+ public hybridInspectDlpJob(request: google.privacy.dlp.v2.IHybridInspectDlpJobRequest): Promise;
+
+ /**
+ * Calls FinishDlpJob.
+ * @param request FinishDlpJobRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and Empty
+ */
+ public finishDlpJob(request: google.privacy.dlp.v2.IFinishDlpJobRequest, callback: google.privacy.dlp.v2.DlpService.FinishDlpJobCallback): void;
+
+ /**
+ * Calls FinishDlpJob.
+ * @param request FinishDlpJobRequest message or plain object
+ * @returns Promise
+ */
+ public finishDlpJob(request: google.privacy.dlp.v2.IFinishDlpJobRequest): Promise;
+
+ /**
+ * Calls CreateConnection.
+ * @param request CreateConnectionRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and Connection
+ */
+ public createConnection(request: google.privacy.dlp.v2.ICreateConnectionRequest, callback: google.privacy.dlp.v2.DlpService.CreateConnectionCallback): void;
+
+ /**
+ * Calls CreateConnection.
+ * @param request CreateConnectionRequest message or plain object
+ * @returns Promise
+ */
+ public createConnection(request: google.privacy.dlp.v2.ICreateConnectionRequest): Promise;
+
+ /**
+ * Calls GetConnection.
+ * @param request GetConnectionRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and Connection
+ */
+ public getConnection(request: google.privacy.dlp.v2.IGetConnectionRequest, callback: google.privacy.dlp.v2.DlpService.GetConnectionCallback): void;
+
+ /**
+ * Calls GetConnection.
+ * @param request GetConnectionRequest message or plain object
+ * @returns Promise
+ */
+ public getConnection(request: google.privacy.dlp.v2.IGetConnectionRequest): Promise;
+
+ /**
+ * Calls ListConnections.
+ * @param request ListConnectionsRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and ListConnectionsResponse
+ */
+ public listConnections(request: google.privacy.dlp.v2.IListConnectionsRequest, callback: google.privacy.dlp.v2.DlpService.ListConnectionsCallback): void;
+
+ /**
+ * Calls ListConnections.
+ * @param request ListConnectionsRequest message or plain object
+ * @returns Promise
+ */
+ public listConnections(request: google.privacy.dlp.v2.IListConnectionsRequest): Promise;
+
+ /**
+ * Calls SearchConnections.
+ * @param request SearchConnectionsRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and SearchConnectionsResponse
+ */
+ public searchConnections(request: google.privacy.dlp.v2.ISearchConnectionsRequest, callback: google.privacy.dlp.v2.DlpService.SearchConnectionsCallback): void;
+
+ /**
+ * Calls SearchConnections.
+ * @param request SearchConnectionsRequest message or plain object
+ * @returns Promise
+ */
+ public searchConnections(request: google.privacy.dlp.v2.ISearchConnectionsRequest): Promise;
+
+ /**
+ * Calls DeleteConnection.
+ * @param request DeleteConnectionRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and Empty
+ */
+ public deleteConnection(request: google.privacy.dlp.v2.IDeleteConnectionRequest, callback: google.privacy.dlp.v2.DlpService.DeleteConnectionCallback): void;
+
+ /**
+ * Calls DeleteConnection.
+ * @param request DeleteConnectionRequest message or plain object
+ * @returns Promise
+ */
+ public deleteConnection(request: google.privacy.dlp.v2.IDeleteConnectionRequest): Promise;
+
+ /**
+ * Calls UpdateConnection.
+ * @param request UpdateConnectionRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and Connection
+ */
+ public updateConnection(request: google.privacy.dlp.v2.IUpdateConnectionRequest, callback: google.privacy.dlp.v2.DlpService.UpdateConnectionCallback): void;
+
+ /**
+ * Calls UpdateConnection.
+ * @param request UpdateConnectionRequest message or plain object
+ * @returns Promise
+ */
+ public updateConnection(request: google.privacy.dlp.v2.IUpdateConnectionRequest): Promise;
+ }
+
+ namespace DlpService {
+
+ /**
+ * Callback as used by {@link google.privacy.dlp.v2.DlpService|inspectContent}.
+ * @param error Error, if any
+ * @param [response] InspectContentResponse
+ */
+ type InspectContentCallback = (error: (Error|null), response?: google.privacy.dlp.v2.InspectContentResponse) => void;
+
+ /**
+ * Callback as used by {@link google.privacy.dlp.v2.DlpService|redactImage}.
+ * @param error Error, if any
+ * @param [response] RedactImageResponse
+ */
+ type RedactImageCallback = (error: (Error|null), response?: google.privacy.dlp.v2.RedactImageResponse) => void;
+
+ /**
+ * Callback as used by {@link google.privacy.dlp.v2.DlpService|deidentifyContent}.
+ * @param error Error, if any
+ * @param [response] DeidentifyContentResponse
+ */
+ type DeidentifyContentCallback = (error: (Error|null), response?: google.privacy.dlp.v2.DeidentifyContentResponse) => void;
+
+ /**
+ * Callback as used by {@link google.privacy.dlp.v2.DlpService|reidentifyContent}.
+ * @param error Error, if any
+ * @param [response] ReidentifyContentResponse
+ */
+ type ReidentifyContentCallback = (error: (Error|null), response?: google.privacy.dlp.v2.ReidentifyContentResponse) => void;
+
+ /**
+ * Callback as used by {@link google.privacy.dlp.v2.DlpService|listInfoTypes}.
+ * @param error Error, if any
+ * @param [response] ListInfoTypesResponse
+ */
+ type ListInfoTypesCallback = (error: (Error|null), response?: google.privacy.dlp.v2.ListInfoTypesResponse) => void;
+
+ /**
+ * Callback as used by {@link google.privacy.dlp.v2.DlpService|createInspectTemplate}.
+ * @param error Error, if any
+ * @param [response] InspectTemplate
+ */
+ type CreateInspectTemplateCallback = (error: (Error|null), response?: google.privacy.dlp.v2.InspectTemplate) => void;
+
+ /**
+ * Callback as used by {@link google.privacy.dlp.v2.DlpService|updateInspectTemplate}.
+ * @param error Error, if any
+ * @param [response] InspectTemplate
+ */
+ type UpdateInspectTemplateCallback = (error: (Error|null), response?: google.privacy.dlp.v2.InspectTemplate) => void;
+
+ /**
+ * Callback as used by {@link google.privacy.dlp.v2.DlpService|getInspectTemplate}.
+ * @param error Error, if any
+ * @param [response] InspectTemplate
+ */
+ type GetInspectTemplateCallback = (error: (Error|null), response?: google.privacy.dlp.v2.InspectTemplate) => void;
+
+ /**
+ * Callback as used by {@link google.privacy.dlp.v2.DlpService|listInspectTemplates}.
+ * @param error Error, if any
+ * @param [response] ListInspectTemplatesResponse
+ */
+ type ListInspectTemplatesCallback = (error: (Error|null), response?: google.privacy.dlp.v2.ListInspectTemplatesResponse) => void;
+
+ /**
+ * Callback as used by {@link google.privacy.dlp.v2.DlpService|deleteInspectTemplate}.
+ * @param error Error, if any
+ * @param [response] Empty
+ */
+ type DeleteInspectTemplateCallback = (error: (Error|null), response?: google.protobuf.Empty) => void;
+
+ /**
+ * Callback as used by {@link google.privacy.dlp.v2.DlpService|createDeidentifyTemplate}.
+ * @param error Error, if any
+ * @param [response] DeidentifyTemplate
+ */
+ type CreateDeidentifyTemplateCallback = (error: (Error|null), response?: google.privacy.dlp.v2.DeidentifyTemplate) => void;
+
+ /**
+ * Callback as used by {@link google.privacy.dlp.v2.DlpService|updateDeidentifyTemplate}.
+ * @param error Error, if any
+ * @param [response] DeidentifyTemplate
+ */
+ type UpdateDeidentifyTemplateCallback = (error: (Error|null), response?: google.privacy.dlp.v2.DeidentifyTemplate) => void;
+
+ /**
+ * Callback as used by {@link google.privacy.dlp.v2.DlpService|getDeidentifyTemplate}.
+ * @param error Error, if any
+ * @param [response] DeidentifyTemplate
+ */
+ type GetDeidentifyTemplateCallback = (error: (Error|null), response?: google.privacy.dlp.v2.DeidentifyTemplate) => void;
+
+ /**
+ * Callback as used by {@link google.privacy.dlp.v2.DlpService|listDeidentifyTemplates}.
+ * @param error Error, if any
+ * @param [response] ListDeidentifyTemplatesResponse
+ */
+ type ListDeidentifyTemplatesCallback = (error: (Error|null), response?: google.privacy.dlp.v2.ListDeidentifyTemplatesResponse) => void;
+
+ /**
+ * Callback as used by {@link google.privacy.dlp.v2.DlpService|deleteDeidentifyTemplate}.
+ * @param error Error, if any
+ * @param [response] Empty
+ */
+ type DeleteDeidentifyTemplateCallback = (error: (Error|null), response?: google.protobuf.Empty) => void;
+
+ /**
+ * Callback as used by {@link google.privacy.dlp.v2.DlpService|createJobTrigger}.
+ * @param error Error, if any
+ * @param [response] JobTrigger
+ */
+ type CreateJobTriggerCallback = (error: (Error|null), response?: google.privacy.dlp.v2.JobTrigger) => void;
+
+ /**
+ * Callback as used by {@link google.privacy.dlp.v2.DlpService|updateJobTrigger}.
+ * @param error Error, if any
+ * @param [response] JobTrigger
+ */
+ type UpdateJobTriggerCallback = (error: (Error|null), response?: google.privacy.dlp.v2.JobTrigger) => void;
+
+ /**
+ * Callback as used by {@link google.privacy.dlp.v2.DlpService|hybridInspectJobTrigger}.
+ * @param error Error, if any
+ * @param [response] HybridInspectResponse
+ */
+ type HybridInspectJobTriggerCallback = (error: (Error|null), response?: google.privacy.dlp.v2.HybridInspectResponse) => void;
+
+ /**
+ * Callback as used by {@link google.privacy.dlp.v2.DlpService|getJobTrigger}.
+ * @param error Error, if any
+ * @param [response] JobTrigger
+ */
+ type GetJobTriggerCallback = (error: (Error|null), response?: google.privacy.dlp.v2.JobTrigger) => void;
+
+ /**
+ * Callback as used by {@link google.privacy.dlp.v2.DlpService|listJobTriggers}.
+ * @param error Error, if any
+ * @param [response] ListJobTriggersResponse
+ */
+ type ListJobTriggersCallback = (error: (Error|null), response?: google.privacy.dlp.v2.ListJobTriggersResponse) => void;
+
+ /**
+ * Callback as used by {@link google.privacy.dlp.v2.DlpService|deleteJobTrigger}.
+ * @param error Error, if any
+ * @param [response] Empty
+ */
+ type DeleteJobTriggerCallback = (error: (Error|null), response?: google.protobuf.Empty) => void;
+
+ /**
+ * Callback as used by {@link google.privacy.dlp.v2.DlpService|activateJobTrigger}.
+ * @param error Error, if any
+ * @param [response] DlpJob
+ */
+ type ActivateJobTriggerCallback = (error: (Error|null), response?: google.privacy.dlp.v2.DlpJob) => void;
+
+ /**
+ * Callback as used by {@link google.privacy.dlp.v2.DlpService|createDiscoveryConfig}.
+ * @param error Error, if any
+ * @param [response] DiscoveryConfig
+ */
+ type CreateDiscoveryConfigCallback = (error: (Error|null), response?: google.privacy.dlp.v2.DiscoveryConfig) => void;
+
+ /**
+ * Callback as used by {@link google.privacy.dlp.v2.DlpService|updateDiscoveryConfig}.
+ * @param error Error, if any
+ * @param [response] DiscoveryConfig
+ */
+ type UpdateDiscoveryConfigCallback = (error: (Error|null), response?: google.privacy.dlp.v2.DiscoveryConfig) => void;
+
+ /**
+ * Callback as used by {@link google.privacy.dlp.v2.DlpService|getDiscoveryConfig}.
+ * @param error Error, if any
+ * @param [response] DiscoveryConfig
+ */
+ type GetDiscoveryConfigCallback = (error: (Error|null), response?: google.privacy.dlp.v2.DiscoveryConfig) => void;
+
+ /**
+ * Callback as used by {@link google.privacy.dlp.v2.DlpService|listDiscoveryConfigs}.
+ * @param error Error, if any
+ * @param [response] ListDiscoveryConfigsResponse
+ */
+ type ListDiscoveryConfigsCallback = (error: (Error|null), response?: google.privacy.dlp.v2.ListDiscoveryConfigsResponse) => void;
+
+ /**
+ * Callback as used by {@link google.privacy.dlp.v2.DlpService|deleteDiscoveryConfig}.
+ * @param error Error, if any
+ * @param [response] Empty
+ */
+ type DeleteDiscoveryConfigCallback = (error: (Error|null), response?: google.protobuf.Empty) => void;
+
+ /**
+ * Callback as used by {@link google.privacy.dlp.v2.DlpService|createDlpJob}.
+ * @param error Error, if any
+ * @param [response] DlpJob
+ */
+ type CreateDlpJobCallback = (error: (Error|null), response?: google.privacy.dlp.v2.DlpJob) => void;
+
+ /**
+ * Callback as used by {@link google.privacy.dlp.v2.DlpService|listDlpJobs}.
+ * @param error Error, if any
+ * @param [response] ListDlpJobsResponse
+ */
+ type ListDlpJobsCallback = (error: (Error|null), response?: google.privacy.dlp.v2.ListDlpJobsResponse) => void;
+
+ /**
+ * Callback as used by {@link google.privacy.dlp.v2.DlpService|getDlpJob}.
+ * @param error Error, if any
+ * @param [response] DlpJob
+ */
+ type GetDlpJobCallback = (error: (Error|null), response?: google.privacy.dlp.v2.DlpJob) => void;
+
+ /**
+ * Callback as used by {@link google.privacy.dlp.v2.DlpService|deleteDlpJob}.
+ * @param error Error, if any
+ * @param [response] Empty
+ */
+ type DeleteDlpJobCallback = (error: (Error|null), response?: google.protobuf.Empty) => void;
+
+ /**
+ * Callback as used by {@link google.privacy.dlp.v2.DlpService|cancelDlpJob}.
+ * @param error Error, if any
+ * @param [response] Empty
+ */
+ type CancelDlpJobCallback = (error: (Error|null), response?: google.protobuf.Empty) => void;
+
+ /**
+ * Callback as used by {@link google.privacy.dlp.v2.DlpService|createStoredInfoType}.
+ * @param error Error, if any
+ * @param [response] StoredInfoType
+ */
+ type CreateStoredInfoTypeCallback = (error: (Error|null), response?: google.privacy.dlp.v2.StoredInfoType) => void;
+
+ /**
+ * Callback as used by {@link google.privacy.dlp.v2.DlpService|updateStoredInfoType}.
+ * @param error Error, if any
+ * @param [response] StoredInfoType
+ */
+ type UpdateStoredInfoTypeCallback = (error: (Error|null), response?: google.privacy.dlp.v2.StoredInfoType) => void;
+
+ /**
+ * Callback as used by {@link google.privacy.dlp.v2.DlpService|getStoredInfoType}.
+ * @param error Error, if any
+ * @param [response] StoredInfoType
+ */
+ type GetStoredInfoTypeCallback = (error: (Error|null), response?: google.privacy.dlp.v2.StoredInfoType) => void;
+
+ /**
+ * Callback as used by {@link google.privacy.dlp.v2.DlpService|listStoredInfoTypes}.
+ * @param error Error, if any
+ * @param [response] ListStoredInfoTypesResponse
+ */
+ type ListStoredInfoTypesCallback = (error: (Error|null), response?: google.privacy.dlp.v2.ListStoredInfoTypesResponse) => void;
+
+ /**
+ * Callback as used by {@link google.privacy.dlp.v2.DlpService|deleteStoredInfoType}.
+ * @param error Error, if any
+ * @param [response] Empty
+ */
+ type DeleteStoredInfoTypeCallback = (error: (Error|null), response?: google.protobuf.Empty) => void;
+
+ /**
+ * Callback as used by {@link google.privacy.dlp.v2.DlpService|listProjectDataProfiles}.
+ * @param error Error, if any
+ * @param [response] ListProjectDataProfilesResponse
+ */
+ type ListProjectDataProfilesCallback = (error: (Error|null), response?: google.privacy.dlp.v2.ListProjectDataProfilesResponse) => void;
+
+ /**
+ * Callback as used by {@link google.privacy.dlp.v2.DlpService|listTableDataProfiles}.
+ * @param error Error, if any
+ * @param [response] ListTableDataProfilesResponse
+ */
+ type ListTableDataProfilesCallback = (error: (Error|null), response?: google.privacy.dlp.v2.ListTableDataProfilesResponse) => void;
+
+ /**
+ * Callback as used by {@link google.privacy.dlp.v2.DlpService|listColumnDataProfiles}.
+ * @param error Error, if any
+ * @param [response] ListColumnDataProfilesResponse
+ */
+ type ListColumnDataProfilesCallback = (error: (Error|null), response?: google.privacy.dlp.v2.ListColumnDataProfilesResponse) => void;
+
+ /**
+ * Callback as used by {@link google.privacy.dlp.v2.DlpService|getProjectDataProfile}.
+ * @param error Error, if any
+ * @param [response] ProjectDataProfile
+ */
+ type GetProjectDataProfileCallback = (error: (Error|null), response?: google.privacy.dlp.v2.ProjectDataProfile) => void;
+
+ /**
+ * Callback as used by {@link google.privacy.dlp.v2.DlpService|listFileStoreDataProfiles}.
+ * @param error Error, if any
+ * @param [response] ListFileStoreDataProfilesResponse
+ */
+ type ListFileStoreDataProfilesCallback = (error: (Error|null), response?: google.privacy.dlp.v2.ListFileStoreDataProfilesResponse) => void;
+
+ /**
+ * Callback as used by {@link google.privacy.dlp.v2.DlpService|getFileStoreDataProfile}.
+ * @param error Error, if any
+ * @param [response] FileStoreDataProfile
+ */
+ type GetFileStoreDataProfileCallback = (error: (Error|null), response?: google.privacy.dlp.v2.FileStoreDataProfile) => void;
+
+ /**
+ * Callback as used by {@link google.privacy.dlp.v2.DlpService|deleteFileStoreDataProfile}.
+ * @param error Error, if any
+ * @param [response] Empty
+ */
+ type DeleteFileStoreDataProfileCallback = (error: (Error|null), response?: google.protobuf.Empty) => void;
+
+ /**
+ * Callback as used by {@link google.privacy.dlp.v2.DlpService|getTableDataProfile}.
+ * @param error Error, if any
+ * @param [response] TableDataProfile
+ */
+ type GetTableDataProfileCallback = (error: (Error|null), response?: google.privacy.dlp.v2.TableDataProfile) => void;
+
+ /**
+ * Callback as used by {@link google.privacy.dlp.v2.DlpService|getColumnDataProfile}.
+ * @param error Error, if any
+ * @param [response] ColumnDataProfile
+ */
+ type GetColumnDataProfileCallback = (error: (Error|null), response?: google.privacy.dlp.v2.ColumnDataProfile) => void;
+
+ /**
+ * Callback as used by {@link google.privacy.dlp.v2.DlpService|deleteTableDataProfile}.
+ * @param error Error, if any
+ * @param [response] Empty
+ */
+ type DeleteTableDataProfileCallback = (error: (Error|null), response?: google.protobuf.Empty) => void;
+
+ /**
+ * Callback as used by {@link google.privacy.dlp.v2.DlpService|hybridInspectDlpJob}.
+ * @param error Error, if any
+ * @param [response] HybridInspectResponse
+ */
+ type HybridInspectDlpJobCallback = (error: (Error|null), response?: google.privacy.dlp.v2.HybridInspectResponse) => void;
+
+ /**
+ * Callback as used by {@link google.privacy.dlp.v2.DlpService|finishDlpJob}.
+ * @param error Error, if any
+ * @param [response] Empty
+ */
+ type FinishDlpJobCallback = (error: (Error|null), response?: google.protobuf.Empty) => void;
+
+ /**
+ * Callback as used by {@link google.privacy.dlp.v2.DlpService|createConnection}.
+ * @param error Error, if any
+ * @param [response] Connection
+ */
+ type CreateConnectionCallback = (error: (Error|null), response?: google.privacy.dlp.v2.Connection) => void;
+
+ /**
+ * Callback as used by {@link google.privacy.dlp.v2.DlpService|getConnection}.
+ * @param error Error, if any
+ * @param [response] Connection
+ */
+ type GetConnectionCallback = (error: (Error|null), response?: google.privacy.dlp.v2.Connection) => void;
+
+ /**
+ * Callback as used by {@link google.privacy.dlp.v2.DlpService|listConnections}.
+ * @param error Error, if any
+ * @param [response] ListConnectionsResponse
+ */
+ type ListConnectionsCallback = (error: (Error|null), response?: google.privacy.dlp.v2.ListConnectionsResponse) => void;
+
+ /**
+ * Callback as used by {@link google.privacy.dlp.v2.DlpService|searchConnections}.
+ * @param error Error, if any
+ * @param [response] SearchConnectionsResponse
+ */
+ type SearchConnectionsCallback = (error: (Error|null), response?: google.privacy.dlp.v2.SearchConnectionsResponse) => void;
+
+ /**
+ * Callback as used by {@link google.privacy.dlp.v2.DlpService|deleteConnection}.
+ * @param error Error, if any
+ * @param [response] Empty
+ */
+ type DeleteConnectionCallback = (error: (Error|null), response?: google.protobuf.Empty) => void;
+
+ /**
+ * Callback as used by {@link google.privacy.dlp.v2.DlpService|updateConnection}.
+ * @param error Error, if any
+ * @param [response] Connection
+ */
+ type UpdateConnectionCallback = (error: (Error|null), response?: google.privacy.dlp.v2.Connection) => void;
+ }
+
+ /** Properties of an ExcludeInfoTypes. */
+ interface IExcludeInfoTypes {
+
+ /** ExcludeInfoTypes infoTypes */
+ infoTypes?: (google.privacy.dlp.v2.IInfoType[]|null);
+ }
+
+ /** Represents an ExcludeInfoTypes. */
+ class ExcludeInfoTypes implements IExcludeInfoTypes {
+
+ /**
+ * Constructs a new ExcludeInfoTypes.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.IExcludeInfoTypes);
+
+ /** ExcludeInfoTypes infoTypes. */
+ public infoTypes: google.privacy.dlp.v2.IInfoType[];
+
+ /**
+ * Creates a new ExcludeInfoTypes instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ExcludeInfoTypes instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.IExcludeInfoTypes): google.privacy.dlp.v2.ExcludeInfoTypes;
+
+ /**
+ * Encodes the specified ExcludeInfoTypes message. Does not implicitly {@link google.privacy.dlp.v2.ExcludeInfoTypes.verify|verify} messages.
+ * @param message ExcludeInfoTypes message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.IExcludeInfoTypes, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ExcludeInfoTypes message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.ExcludeInfoTypes.verify|verify} messages.
+ * @param message ExcludeInfoTypes message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.IExcludeInfoTypes, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an ExcludeInfoTypes message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ExcludeInfoTypes
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.ExcludeInfoTypes;
+
+ /**
+ * Decodes an ExcludeInfoTypes message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ExcludeInfoTypes
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.ExcludeInfoTypes;
+
+ /**
+ * Verifies an ExcludeInfoTypes message.
+ * @param message Plain 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 ExcludeInfoTypes message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ExcludeInfoTypes
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.ExcludeInfoTypes;
+
+ /**
+ * Creates a plain object from an ExcludeInfoTypes message. Also converts values to other types if specified.
+ * @param message ExcludeInfoTypes
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.ExcludeInfoTypes, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ExcludeInfoTypes to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ExcludeInfoTypes
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of an ExcludeByHotword. */
+ interface IExcludeByHotword {
+
+ /** ExcludeByHotword hotwordRegex */
+ hotwordRegex?: (google.privacy.dlp.v2.CustomInfoType.IRegex|null);
+
+ /** ExcludeByHotword proximity */
+ proximity?: (google.privacy.dlp.v2.CustomInfoType.DetectionRule.IProximity|null);
+ }
+
+ /** Represents an ExcludeByHotword. */
+ class ExcludeByHotword implements IExcludeByHotword {
+
+ /**
+ * Constructs a new ExcludeByHotword.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.IExcludeByHotword);
+
+ /** ExcludeByHotword hotwordRegex. */
+ public hotwordRegex?: (google.privacy.dlp.v2.CustomInfoType.IRegex|null);
+
+ /** ExcludeByHotword proximity. */
+ public proximity?: (google.privacy.dlp.v2.CustomInfoType.DetectionRule.IProximity|null);
+
+ /**
+ * Creates a new ExcludeByHotword instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ExcludeByHotword instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.IExcludeByHotword): google.privacy.dlp.v2.ExcludeByHotword;
+
+ /**
+ * Encodes the specified ExcludeByHotword message. Does not implicitly {@link google.privacy.dlp.v2.ExcludeByHotword.verify|verify} messages.
+ * @param message ExcludeByHotword message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.IExcludeByHotword, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ExcludeByHotword message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.ExcludeByHotword.verify|verify} messages.
+ * @param message ExcludeByHotword message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.IExcludeByHotword, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an ExcludeByHotword message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ExcludeByHotword
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.ExcludeByHotword;
+
+ /**
+ * Decodes an ExcludeByHotword message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ExcludeByHotword
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.ExcludeByHotword;
+
+ /**
+ * Verifies an ExcludeByHotword message.
+ * @param message Plain 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 ExcludeByHotword message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ExcludeByHotword
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.ExcludeByHotword;
+
+ /**
+ * Creates a plain object from an ExcludeByHotword message. Also converts values to other types if specified.
+ * @param message ExcludeByHotword
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.ExcludeByHotword, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ExcludeByHotword to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ExcludeByHotword
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of an ExclusionRule. */
+ interface IExclusionRule {
+
+ /** ExclusionRule dictionary */
+ dictionary?: (google.privacy.dlp.v2.CustomInfoType.IDictionary|null);
+
+ /** ExclusionRule regex */
+ regex?: (google.privacy.dlp.v2.CustomInfoType.IRegex|null);
+
+ /** ExclusionRule excludeInfoTypes */
+ excludeInfoTypes?: (google.privacy.dlp.v2.IExcludeInfoTypes|null);
+
+ /** ExclusionRule excludeByHotword */
+ excludeByHotword?: (google.privacy.dlp.v2.IExcludeByHotword|null);
+
+ /** ExclusionRule matchingType */
+ matchingType?: (google.privacy.dlp.v2.MatchingType|keyof typeof google.privacy.dlp.v2.MatchingType|null);
+ }
+
+ /** Represents an ExclusionRule. */
+ class ExclusionRule implements IExclusionRule {
+
+ /**
+ * Constructs a new ExclusionRule.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.IExclusionRule);
+
+ /** ExclusionRule dictionary. */
+ public dictionary?: (google.privacy.dlp.v2.CustomInfoType.IDictionary|null);
+
+ /** ExclusionRule regex. */
+ public regex?: (google.privacy.dlp.v2.CustomInfoType.IRegex|null);
+
+ /** ExclusionRule excludeInfoTypes. */
+ public excludeInfoTypes?: (google.privacy.dlp.v2.IExcludeInfoTypes|null);
+
+ /** ExclusionRule excludeByHotword. */
+ public excludeByHotword?: (google.privacy.dlp.v2.IExcludeByHotword|null);
+
+ /** ExclusionRule matchingType. */
+ public matchingType: (google.privacy.dlp.v2.MatchingType|keyof typeof google.privacy.dlp.v2.MatchingType);
+
+ /** ExclusionRule type. */
+ public type?: ("dictionary"|"regex"|"excludeInfoTypes"|"excludeByHotword");
+
+ /**
+ * Creates a new ExclusionRule instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ExclusionRule instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.IExclusionRule): google.privacy.dlp.v2.ExclusionRule;
+
+ /**
+ * Encodes the specified ExclusionRule message. Does not implicitly {@link google.privacy.dlp.v2.ExclusionRule.verify|verify} messages.
+ * @param message ExclusionRule message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.IExclusionRule, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ExclusionRule message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.ExclusionRule.verify|verify} messages.
+ * @param message ExclusionRule message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.IExclusionRule, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an ExclusionRule message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ExclusionRule
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.ExclusionRule;
+
+ /**
+ * Decodes an ExclusionRule message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ExclusionRule
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.ExclusionRule;
+
+ /**
+ * Verifies an ExclusionRule message.
+ * @param message Plain 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 ExclusionRule message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ExclusionRule
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.ExclusionRule;
+
+ /**
+ * Creates a plain object from an ExclusionRule message. Also converts values to other types if specified.
+ * @param message ExclusionRule
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.ExclusionRule, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ExclusionRule to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ExclusionRule
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of an InspectionRule. */
+ interface IInspectionRule {
+
+ /** InspectionRule hotwordRule */
+ hotwordRule?: (google.privacy.dlp.v2.CustomInfoType.DetectionRule.IHotwordRule|null);
+
+ /** InspectionRule exclusionRule */
+ exclusionRule?: (google.privacy.dlp.v2.IExclusionRule|null);
+ }
+
+ /** Represents an InspectionRule. */
+ class InspectionRule implements IInspectionRule {
+
+ /**
+ * Constructs a new InspectionRule.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.IInspectionRule);
+
+ /** InspectionRule hotwordRule. */
+ public hotwordRule?: (google.privacy.dlp.v2.CustomInfoType.DetectionRule.IHotwordRule|null);
+
+ /** InspectionRule exclusionRule. */
+ public exclusionRule?: (google.privacy.dlp.v2.IExclusionRule|null);
+
+ /** InspectionRule type. */
+ public type?: ("hotwordRule"|"exclusionRule");
+
+ /**
+ * Creates a new InspectionRule instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns InspectionRule instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.IInspectionRule): google.privacy.dlp.v2.InspectionRule;
+
+ /**
+ * Encodes the specified InspectionRule message. Does not implicitly {@link google.privacy.dlp.v2.InspectionRule.verify|verify} messages.
+ * @param message InspectionRule message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.IInspectionRule, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified InspectionRule message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.InspectionRule.verify|verify} messages.
+ * @param message InspectionRule message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.IInspectionRule, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an InspectionRule message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns InspectionRule
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.InspectionRule;
+
+ /**
+ * Decodes an InspectionRule message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns InspectionRule
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.InspectionRule;
+
+ /**
+ * Verifies an InspectionRule message.
+ * @param message Plain 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 InspectionRule message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns InspectionRule
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.InspectionRule;
+
+ /**
+ * Creates a plain object from an InspectionRule message. Also converts values to other types if specified.
+ * @param message InspectionRule
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.InspectionRule, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this InspectionRule to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for InspectionRule
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of an InspectionRuleSet. */
+ interface IInspectionRuleSet {
+
+ /** InspectionRuleSet infoTypes */
+ infoTypes?: (google.privacy.dlp.v2.IInfoType[]|null);
+
+ /** InspectionRuleSet rules */
+ rules?: (google.privacy.dlp.v2.IInspectionRule[]|null);
+ }
+
+ /** Represents an InspectionRuleSet. */
+ class InspectionRuleSet implements IInspectionRuleSet {
+
+ /**
+ * Constructs a new InspectionRuleSet.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.IInspectionRuleSet);
+
+ /** InspectionRuleSet infoTypes. */
+ public infoTypes: google.privacy.dlp.v2.IInfoType[];
+
+ /** InspectionRuleSet rules. */
+ public rules: google.privacy.dlp.v2.IInspectionRule[];
+
+ /**
+ * Creates a new InspectionRuleSet instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns InspectionRuleSet instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.IInspectionRuleSet): google.privacy.dlp.v2.InspectionRuleSet;
+
+ /**
+ * Encodes the specified InspectionRuleSet message. Does not implicitly {@link google.privacy.dlp.v2.InspectionRuleSet.verify|verify} messages.
+ * @param message InspectionRuleSet message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.IInspectionRuleSet, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified InspectionRuleSet message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.InspectionRuleSet.verify|verify} messages.
+ * @param message InspectionRuleSet message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.IInspectionRuleSet, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an InspectionRuleSet message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns InspectionRuleSet
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.InspectionRuleSet;
+
+ /**
+ * Decodes an InspectionRuleSet message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns InspectionRuleSet
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.InspectionRuleSet;
+
+ /**
+ * Verifies an InspectionRuleSet message.
+ * @param message Plain 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 InspectionRuleSet message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns InspectionRuleSet
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.InspectionRuleSet;
+
+ /**
+ * Creates a plain object from an InspectionRuleSet message. Also converts values to other types if specified.
+ * @param message InspectionRuleSet
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.InspectionRuleSet, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this InspectionRuleSet to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for InspectionRuleSet
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of an InspectConfig. */
+ interface IInspectConfig {
+
+ /** InspectConfig infoTypes */
+ infoTypes?: (google.privacy.dlp.v2.IInfoType[]|null);
+
+ /** InspectConfig minLikelihood */
+ minLikelihood?: (google.privacy.dlp.v2.Likelihood|keyof typeof google.privacy.dlp.v2.Likelihood|null);
+
+ /** InspectConfig minLikelihoodPerInfoType */
+ minLikelihoodPerInfoType?: (google.privacy.dlp.v2.InspectConfig.IInfoTypeLikelihood[]|null);
+
+ /** InspectConfig limits */
+ limits?: (google.privacy.dlp.v2.InspectConfig.IFindingLimits|null);
+
+ /** InspectConfig includeQuote */
+ includeQuote?: (boolean|null);
+
+ /** InspectConfig excludeInfoTypes */
+ excludeInfoTypes?: (boolean|null);
+
+ /** InspectConfig customInfoTypes */
+ customInfoTypes?: (google.privacy.dlp.v2.ICustomInfoType[]|null);
+
+ /** InspectConfig contentOptions */
+ contentOptions?: (google.privacy.dlp.v2.ContentOption[]|null);
+
+ /** InspectConfig ruleSet */
+ ruleSet?: (google.privacy.dlp.v2.IInspectionRuleSet[]|null);
+ }
+
+ /** Represents an InspectConfig. */
+ class InspectConfig implements IInspectConfig {
+
+ /**
+ * Constructs a new InspectConfig.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.IInspectConfig);
+
+ /** InspectConfig infoTypes. */
+ public infoTypes: google.privacy.dlp.v2.IInfoType[];
+
+ /** InspectConfig minLikelihood. */
+ public minLikelihood: (google.privacy.dlp.v2.Likelihood|keyof typeof google.privacy.dlp.v2.Likelihood);
+
+ /** InspectConfig minLikelihoodPerInfoType. */
+ public minLikelihoodPerInfoType: google.privacy.dlp.v2.InspectConfig.IInfoTypeLikelihood[];
+
+ /** InspectConfig limits. */
+ public limits?: (google.privacy.dlp.v2.InspectConfig.IFindingLimits|null);
+
+ /** InspectConfig includeQuote. */
+ public includeQuote: boolean;
+
+ /** InspectConfig excludeInfoTypes. */
+ public excludeInfoTypes: boolean;
+
+ /** InspectConfig customInfoTypes. */
+ public customInfoTypes: google.privacy.dlp.v2.ICustomInfoType[];
+
+ /** InspectConfig contentOptions. */
+ public contentOptions: google.privacy.dlp.v2.ContentOption[];
+
+ /** InspectConfig ruleSet. */
+ public ruleSet: google.privacy.dlp.v2.IInspectionRuleSet[];
+
+ /**
+ * Creates a new InspectConfig instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns InspectConfig instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.IInspectConfig): google.privacy.dlp.v2.InspectConfig;
+
+ /**
+ * Encodes the specified InspectConfig message. Does not implicitly {@link google.privacy.dlp.v2.InspectConfig.verify|verify} messages.
+ * @param message InspectConfig message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.IInspectConfig, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified InspectConfig message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.InspectConfig.verify|verify} messages.
+ * @param message InspectConfig message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.IInspectConfig, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an InspectConfig message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns InspectConfig
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.InspectConfig;
+
+ /**
+ * Decodes an InspectConfig message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns InspectConfig
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.InspectConfig;
+
+ /**
+ * Verifies an InspectConfig message.
+ * @param message Plain 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 InspectConfig message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns InspectConfig
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.InspectConfig;
+
+ /**
+ * Creates a plain object from an InspectConfig message. Also converts values to other types if specified.
+ * @param message InspectConfig
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.InspectConfig, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this InspectConfig to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for InspectConfig
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace InspectConfig {
+
+ /** Properties of an InfoTypeLikelihood. */
+ interface IInfoTypeLikelihood {
+
+ /** InfoTypeLikelihood infoType */
+ infoType?: (google.privacy.dlp.v2.IInfoType|null);
+
+ /** InfoTypeLikelihood minLikelihood */
+ minLikelihood?: (google.privacy.dlp.v2.Likelihood|keyof typeof google.privacy.dlp.v2.Likelihood|null);
+ }
+
+ /** Represents an InfoTypeLikelihood. */
+ class InfoTypeLikelihood implements IInfoTypeLikelihood {
+
+ /**
+ * Constructs a new InfoTypeLikelihood.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.InspectConfig.IInfoTypeLikelihood);
+
+ /** InfoTypeLikelihood infoType. */
+ public infoType?: (google.privacy.dlp.v2.IInfoType|null);
+
+ /** InfoTypeLikelihood minLikelihood. */
+ public minLikelihood: (google.privacy.dlp.v2.Likelihood|keyof typeof google.privacy.dlp.v2.Likelihood);
+
+ /**
+ * Creates a new InfoTypeLikelihood instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns InfoTypeLikelihood instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.InspectConfig.IInfoTypeLikelihood): google.privacy.dlp.v2.InspectConfig.InfoTypeLikelihood;
+
+ /**
+ * Encodes the specified InfoTypeLikelihood message. Does not implicitly {@link google.privacy.dlp.v2.InspectConfig.InfoTypeLikelihood.verify|verify} messages.
+ * @param message InfoTypeLikelihood message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.InspectConfig.IInfoTypeLikelihood, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified InfoTypeLikelihood message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.InspectConfig.InfoTypeLikelihood.verify|verify} messages.
+ * @param message InfoTypeLikelihood message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.InspectConfig.IInfoTypeLikelihood, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an InfoTypeLikelihood message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns InfoTypeLikelihood
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.InspectConfig.InfoTypeLikelihood;
+
+ /**
+ * Decodes an InfoTypeLikelihood message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns InfoTypeLikelihood
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.InspectConfig.InfoTypeLikelihood;
+
+ /**
+ * Verifies an InfoTypeLikelihood message.
+ * @param message Plain 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 InfoTypeLikelihood message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns InfoTypeLikelihood
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.InspectConfig.InfoTypeLikelihood;
+
+ /**
+ * Creates a plain object from an InfoTypeLikelihood message. Also converts values to other types if specified.
+ * @param message InfoTypeLikelihood
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.InspectConfig.InfoTypeLikelihood, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this InfoTypeLikelihood to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for InfoTypeLikelihood
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a FindingLimits. */
+ interface IFindingLimits {
+
+ /** FindingLimits maxFindingsPerItem */
+ maxFindingsPerItem?: (number|null);
+
+ /** FindingLimits maxFindingsPerRequest */
+ maxFindingsPerRequest?: (number|null);
+
+ /** FindingLimits maxFindingsPerInfoType */
+ maxFindingsPerInfoType?: (google.privacy.dlp.v2.InspectConfig.FindingLimits.IInfoTypeLimit[]|null);
+ }
+
+ /** Represents a FindingLimits. */
+ class FindingLimits implements IFindingLimits {
+
+ /**
+ * Constructs a new FindingLimits.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.InspectConfig.IFindingLimits);
+
+ /** FindingLimits maxFindingsPerItem. */
+ public maxFindingsPerItem: number;
+
+ /** FindingLimits maxFindingsPerRequest. */
+ public maxFindingsPerRequest: number;
+
+ /** FindingLimits maxFindingsPerInfoType. */
+ public maxFindingsPerInfoType: google.privacy.dlp.v2.InspectConfig.FindingLimits.IInfoTypeLimit[];
+
+ /**
+ * Creates a new FindingLimits instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns FindingLimits instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.InspectConfig.IFindingLimits): google.privacy.dlp.v2.InspectConfig.FindingLimits;
+
+ /**
+ * Encodes the specified FindingLimits message. Does not implicitly {@link google.privacy.dlp.v2.InspectConfig.FindingLimits.verify|verify} messages.
+ * @param message FindingLimits message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.InspectConfig.IFindingLimits, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified FindingLimits message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.InspectConfig.FindingLimits.verify|verify} messages.
+ * @param message FindingLimits message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.InspectConfig.IFindingLimits, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a FindingLimits message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns FindingLimits
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.InspectConfig.FindingLimits;
+
+ /**
+ * Decodes a FindingLimits message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns FindingLimits
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.InspectConfig.FindingLimits;
+
+ /**
+ * Verifies a FindingLimits message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a FindingLimits message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns FindingLimits
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.InspectConfig.FindingLimits;
+
+ /**
+ * Creates a plain object from a FindingLimits message. Also converts values to other types if specified.
+ * @param message FindingLimits
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.InspectConfig.FindingLimits, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this FindingLimits to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for FindingLimits
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace FindingLimits {
+
+ /** Properties of an InfoTypeLimit. */
+ interface IInfoTypeLimit {
+
+ /** InfoTypeLimit infoType */
+ infoType?: (google.privacy.dlp.v2.IInfoType|null);
+
+ /** InfoTypeLimit maxFindings */
+ maxFindings?: (number|null);
+ }
+
+ /** Represents an InfoTypeLimit. */
+ class InfoTypeLimit implements IInfoTypeLimit {
+
+ /**
+ * Constructs a new InfoTypeLimit.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.InspectConfig.FindingLimits.IInfoTypeLimit);
+
+ /** InfoTypeLimit infoType. */
+ public infoType?: (google.privacy.dlp.v2.IInfoType|null);
+
+ /** InfoTypeLimit maxFindings. */
+ public maxFindings: number;
+
+ /**
+ * Creates a new InfoTypeLimit instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns InfoTypeLimit instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.InspectConfig.FindingLimits.IInfoTypeLimit): google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit;
+
+ /**
+ * Encodes the specified InfoTypeLimit message. Does not implicitly {@link google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit.verify|verify} messages.
+ * @param message InfoTypeLimit message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.InspectConfig.FindingLimits.IInfoTypeLimit, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified InfoTypeLimit message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit.verify|verify} messages.
+ * @param message InfoTypeLimit message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.InspectConfig.FindingLimits.IInfoTypeLimit, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an InfoTypeLimit message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns InfoTypeLimit
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit;
+
+ /**
+ * Decodes an InfoTypeLimit message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns InfoTypeLimit
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit;
+
+ /**
+ * Verifies an InfoTypeLimit message.
+ * @param message Plain 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 InfoTypeLimit message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns InfoTypeLimit
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit;
+
+ /**
+ * Creates a plain object from an InfoTypeLimit message. Also converts values to other types if specified.
+ * @param message InfoTypeLimit
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this InfoTypeLimit to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for InfoTypeLimit
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+ }
+ }
+
+ /** Properties of a ByteContentItem. */
+ interface IByteContentItem {
+
+ /** ByteContentItem type */
+ type?: (google.privacy.dlp.v2.ByteContentItem.BytesType|keyof typeof google.privacy.dlp.v2.ByteContentItem.BytesType|null);
+
+ /** ByteContentItem data */
+ data?: (Uint8Array|Buffer|string|null);
+ }
+
+ /** Represents a ByteContentItem. */
+ class ByteContentItem implements IByteContentItem {
+
+ /**
+ * Constructs a new ByteContentItem.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.IByteContentItem);
+
+ /** ByteContentItem type. */
+ public type: (google.privacy.dlp.v2.ByteContentItem.BytesType|keyof typeof google.privacy.dlp.v2.ByteContentItem.BytesType);
+
+ /** ByteContentItem data. */
+ public data: (Uint8Array|Buffer|string);
+
+ /**
+ * Creates a new ByteContentItem instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ByteContentItem instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.IByteContentItem): google.privacy.dlp.v2.ByteContentItem;
+
+ /**
+ * Encodes the specified ByteContentItem message. Does not implicitly {@link google.privacy.dlp.v2.ByteContentItem.verify|verify} messages.
+ * @param message ByteContentItem message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.IByteContentItem, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ByteContentItem message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.ByteContentItem.verify|verify} messages.
+ * @param message ByteContentItem message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.IByteContentItem, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ByteContentItem message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ByteContentItem
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.ByteContentItem;
+
+ /**
+ * Decodes a ByteContentItem message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ByteContentItem
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.ByteContentItem;
+
+ /**
+ * Verifies a ByteContentItem message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a ByteContentItem message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ByteContentItem
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.ByteContentItem;
+
+ /**
+ * Creates a plain object from a ByteContentItem message. Also converts values to other types if specified.
+ * @param message ByteContentItem
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.ByteContentItem, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ByteContentItem to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ByteContentItem
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace ByteContentItem {
+
+ /** BytesType enum. */
+ enum BytesType {
+ BYTES_TYPE_UNSPECIFIED = 0,
+ IMAGE = 6,
+ IMAGE_JPEG = 1,
+ IMAGE_BMP = 2,
+ IMAGE_PNG = 3,
+ IMAGE_SVG = 4,
+ TEXT_UTF8 = 5,
+ WORD_DOCUMENT = 7,
+ PDF = 8,
+ POWERPOINT_DOCUMENT = 9,
+ EXCEL_DOCUMENT = 10,
+ AVRO = 11,
+ CSV = 12,
+ TSV = 13,
+ AUDIO = 15,
+ VIDEO = 16,
+ EXECUTABLE = 17,
+ AI_MODEL = 18
+ }
+ }
+
+ /** Properties of a ContentItem. */
+ interface IContentItem {
+
+ /** ContentItem value */
+ value?: (string|null);
+
+ /** ContentItem table */
+ table?: (google.privacy.dlp.v2.ITable|null);
+
+ /** ContentItem byteItem */
+ byteItem?: (google.privacy.dlp.v2.IByteContentItem|null);
+ }
+
+ /** Represents a ContentItem. */
+ class ContentItem implements IContentItem {
+
+ /**
+ * Constructs a new ContentItem.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.IContentItem);
+
+ /** ContentItem value. */
+ public value?: (string|null);
+
+ /** ContentItem table. */
+ public table?: (google.privacy.dlp.v2.ITable|null);
+
+ /** ContentItem byteItem. */
+ public byteItem?: (google.privacy.dlp.v2.IByteContentItem|null);
+
+ /** ContentItem dataItem. */
+ public dataItem?: ("value"|"table"|"byteItem");
+
+ /**
+ * Creates a new ContentItem instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ContentItem instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.IContentItem): google.privacy.dlp.v2.ContentItem;
+
+ /**
+ * Encodes the specified ContentItem message. Does not implicitly {@link google.privacy.dlp.v2.ContentItem.verify|verify} messages.
+ * @param message ContentItem message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.IContentItem, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ContentItem message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.ContentItem.verify|verify} messages.
+ * @param message ContentItem message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.IContentItem, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ContentItem message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ContentItem
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.ContentItem;
+
+ /**
+ * Decodes a ContentItem message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ContentItem
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.ContentItem;
+
+ /**
+ * Verifies a ContentItem message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a ContentItem message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ContentItem
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.ContentItem;
+
+ /**
+ * Creates a plain object from a ContentItem message. Also converts values to other types if specified.
+ * @param message ContentItem
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.ContentItem, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ContentItem to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ContentItem
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a Table. */
+ interface ITable {
+
+ /** Table headers */
+ headers?: (google.privacy.dlp.v2.IFieldId[]|null);
+
+ /** Table rows */
+ rows?: (google.privacy.dlp.v2.Table.IRow[]|null);
+ }
+
+ /** Represents a Table. */
+ class Table implements ITable {
+
+ /**
+ * Constructs a new Table.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.ITable);
+
+ /** Table headers. */
+ public headers: google.privacy.dlp.v2.IFieldId[];
+
+ /** Table rows. */
+ public rows: google.privacy.dlp.v2.Table.IRow[];
+
+ /**
+ * Creates a new Table instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns Table instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.ITable): google.privacy.dlp.v2.Table;
+
+ /**
+ * Encodes the specified Table message. Does not implicitly {@link google.privacy.dlp.v2.Table.verify|verify} messages.
+ * @param message Table message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.ITable, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified Table message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.Table.verify|verify} messages.
+ * @param message Table message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.ITable, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a Table message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns Table
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.Table;
+
+ /**
+ * Decodes a Table message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns Table
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.Table;
+
+ /**
+ * Verifies a Table message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a Table message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns Table
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.Table;
+
+ /**
+ * Creates a plain object from a Table message. Also converts values to other types if specified.
+ * @param message Table
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.Table, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this Table to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for Table
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace Table {
+
+ /** Properties of a Row. */
+ interface IRow {
+
+ /** Row values */
+ values?: (google.privacy.dlp.v2.IValue[]|null);
+ }
+
+ /** Represents a Row. */
+ class Row implements IRow {
+
+ /**
+ * Constructs a new Row.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.Table.IRow);
+
+ /** Row values. */
+ public values: google.privacy.dlp.v2.IValue[];
+
+ /**
+ * Creates a new Row instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns Row instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.Table.IRow): google.privacy.dlp.v2.Table.Row;
+
+ /**
+ * Encodes the specified Row message. Does not implicitly {@link google.privacy.dlp.v2.Table.Row.verify|verify} messages.
+ * @param message Row message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.Table.IRow, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified Row message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.Table.Row.verify|verify} messages.
+ * @param message Row message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.Table.IRow, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a Row message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns Row
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.Table.Row;
+
+ /**
+ * Decodes a Row message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns Row
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.Table.Row;
+
+ /**
+ * Verifies a Row message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a Row message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns Row
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.Table.Row;
+
+ /**
+ * Creates a plain object from a Row message. Also converts values to other types if specified.
+ * @param message Row
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.Table.Row, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this Row to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for Row
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+ }
+
+ /** Properties of an InspectResult. */
+ interface IInspectResult {
+
+ /** InspectResult findings */
+ findings?: (google.privacy.dlp.v2.IFinding[]|null);
+
+ /** InspectResult findingsTruncated */
+ findingsTruncated?: (boolean|null);
+ }
+
+ /** Represents an InspectResult. */
+ class InspectResult implements IInspectResult {
+
+ /**
+ * Constructs a new InspectResult.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.IInspectResult);
+
+ /** InspectResult findings. */
+ public findings: google.privacy.dlp.v2.IFinding[];
+
+ /** InspectResult findingsTruncated. */
+ public findingsTruncated: boolean;
+
+ /**
+ * Creates a new InspectResult instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns InspectResult instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.IInspectResult): google.privacy.dlp.v2.InspectResult;
+
+ /**
+ * Encodes the specified InspectResult message. Does not implicitly {@link google.privacy.dlp.v2.InspectResult.verify|verify} messages.
+ * @param message InspectResult message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.IInspectResult, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified InspectResult message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.InspectResult.verify|verify} messages.
+ * @param message InspectResult message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.IInspectResult, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an InspectResult message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns InspectResult
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.InspectResult;
+
+ /**
+ * Decodes an InspectResult message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns InspectResult
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.InspectResult;
+
+ /**
+ * Verifies an InspectResult message.
+ * @param message Plain 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 InspectResult message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns InspectResult
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.InspectResult;
+
+ /**
+ * Creates a plain object from an InspectResult message. Also converts values to other types if specified.
+ * @param message InspectResult
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.InspectResult, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this InspectResult to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for InspectResult
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a Finding. */
+ interface IFinding {
+
+ /** Finding name */
+ name?: (string|null);
+
+ /** Finding quote */
+ quote?: (string|null);
+
+ /** Finding infoType */
+ infoType?: (google.privacy.dlp.v2.IInfoType|null);
+
+ /** Finding likelihood */
+ likelihood?: (google.privacy.dlp.v2.Likelihood|keyof typeof google.privacy.dlp.v2.Likelihood|null);
+
+ /** Finding location */
+ location?: (google.privacy.dlp.v2.ILocation|null);
+
+ /** Finding createTime */
+ createTime?: (google.protobuf.ITimestamp|null);
+
+ /** Finding quoteInfo */
+ quoteInfo?: (google.privacy.dlp.v2.IQuoteInfo|null);
+
+ /** Finding resourceName */
+ resourceName?: (string|null);
+
+ /** Finding triggerName */
+ triggerName?: (string|null);
+
+ /** Finding labels */
+ labels?: ({ [k: string]: string }|null);
+
+ /** Finding jobCreateTime */
+ jobCreateTime?: (google.protobuf.ITimestamp|null);
+
+ /** Finding jobName */
+ jobName?: (string|null);
+
+ /** Finding findingId */
+ findingId?: (string|null);
+ }
+
+ /** Represents a Finding. */
+ class Finding implements IFinding {
+
+ /**
+ * Constructs a new Finding.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.IFinding);
+
+ /** Finding name. */
+ public name: string;
+
+ /** Finding quote. */
+ public quote: string;
+
+ /** Finding infoType. */
+ public infoType?: (google.privacy.dlp.v2.IInfoType|null);
+
+ /** Finding likelihood. */
+ public likelihood: (google.privacy.dlp.v2.Likelihood|keyof typeof google.privacy.dlp.v2.Likelihood);
+
+ /** Finding location. */
+ public location?: (google.privacy.dlp.v2.ILocation|null);
+
+ /** Finding createTime. */
+ public createTime?: (google.protobuf.ITimestamp|null);
+
+ /** Finding quoteInfo. */
+ public quoteInfo?: (google.privacy.dlp.v2.IQuoteInfo|null);
+
+ /** Finding resourceName. */
+ public resourceName: string;
+
+ /** Finding triggerName. */
+ public triggerName: string;
+
+ /** Finding labels. */
+ public labels: { [k: string]: string };
+
+ /** Finding jobCreateTime. */
+ public jobCreateTime?: (google.protobuf.ITimestamp|null);
+
+ /** Finding jobName. */
+ public jobName: string;
+
+ /** Finding findingId. */
+ public findingId: string;
+
+ /**
+ * Creates a new Finding instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns Finding instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.IFinding): google.privacy.dlp.v2.Finding;
+
+ /**
+ * Encodes the specified Finding message. Does not implicitly {@link google.privacy.dlp.v2.Finding.verify|verify} messages.
+ * @param message Finding message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.IFinding, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified Finding message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.Finding.verify|verify} messages.
+ * @param message Finding message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.IFinding, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a Finding message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns Finding
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.Finding;
+
+ /**
+ * Decodes a Finding message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns Finding
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.Finding;
+
+ /**
+ * Verifies a Finding message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a Finding message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns Finding
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.Finding;
+
+ /**
+ * Creates a plain object from a Finding message. Also converts values to other types if specified.
+ * @param message Finding
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.Finding, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this Finding to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for Finding
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a Location. */
+ interface ILocation {
+
+ /** Location byteRange */
+ byteRange?: (google.privacy.dlp.v2.IRange|null);
+
+ /** Location codepointRange */
+ codepointRange?: (google.privacy.dlp.v2.IRange|null);
+
+ /** Location contentLocations */
+ contentLocations?: (google.privacy.dlp.v2.IContentLocation[]|null);
+
+ /** Location container */
+ container?: (google.privacy.dlp.v2.IContainer|null);
+ }
+
+ /** Represents a Location. */
+ class Location implements ILocation {
+
+ /**
+ * Constructs a new Location.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.ILocation);
+
+ /** Location byteRange. */
+ public byteRange?: (google.privacy.dlp.v2.IRange|null);
+
+ /** Location codepointRange. */
+ public codepointRange?: (google.privacy.dlp.v2.IRange|null);
+
+ /** Location contentLocations. */
+ public contentLocations: google.privacy.dlp.v2.IContentLocation[];
+
+ /** Location container. */
+ public container?: (google.privacy.dlp.v2.IContainer|null);
+
+ /**
+ * Creates a new Location instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns Location instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.ILocation): google.privacy.dlp.v2.Location;
+
+ /**
+ * Encodes the specified Location message. Does not implicitly {@link google.privacy.dlp.v2.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.privacy.dlp.v2.ILocation, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified Location message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.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.privacy.dlp.v2.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.privacy.dlp.v2.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.privacy.dlp.v2.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.privacy.dlp.v2.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.privacy.dlp.v2.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 ContentLocation. */
+ interface IContentLocation {
+
+ /** ContentLocation containerName */
+ containerName?: (string|null);
+
+ /** ContentLocation recordLocation */
+ recordLocation?: (google.privacy.dlp.v2.IRecordLocation|null);
+
+ /** ContentLocation imageLocation */
+ imageLocation?: (google.privacy.dlp.v2.IImageLocation|null);
+
+ /** ContentLocation documentLocation */
+ documentLocation?: (google.privacy.dlp.v2.IDocumentLocation|null);
+
+ /** ContentLocation metadataLocation */
+ metadataLocation?: (google.privacy.dlp.v2.IMetadataLocation|null);
+
+ /** ContentLocation containerTimestamp */
+ containerTimestamp?: (google.protobuf.ITimestamp|null);
+
+ /** ContentLocation containerVersion */
+ containerVersion?: (string|null);
+ }
+
+ /** Represents a ContentLocation. */
+ class ContentLocation implements IContentLocation {
+
+ /**
+ * Constructs a new ContentLocation.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.IContentLocation);
+
+ /** ContentLocation containerName. */
+ public containerName: string;
+
+ /** ContentLocation recordLocation. */
+ public recordLocation?: (google.privacy.dlp.v2.IRecordLocation|null);
+
+ /** ContentLocation imageLocation. */
+ public imageLocation?: (google.privacy.dlp.v2.IImageLocation|null);
+
+ /** ContentLocation documentLocation. */
+ public documentLocation?: (google.privacy.dlp.v2.IDocumentLocation|null);
+
+ /** ContentLocation metadataLocation. */
+ public metadataLocation?: (google.privacy.dlp.v2.IMetadataLocation|null);
+
+ /** ContentLocation containerTimestamp. */
+ public containerTimestamp?: (google.protobuf.ITimestamp|null);
+
+ /** ContentLocation containerVersion. */
+ public containerVersion: string;
+
+ /** ContentLocation location. */
+ public location?: ("recordLocation"|"imageLocation"|"documentLocation"|"metadataLocation");
+
+ /**
+ * Creates a new ContentLocation instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ContentLocation instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.IContentLocation): google.privacy.dlp.v2.ContentLocation;
+
+ /**
+ * Encodes the specified ContentLocation message. Does not implicitly {@link google.privacy.dlp.v2.ContentLocation.verify|verify} messages.
+ * @param message ContentLocation message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.IContentLocation, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ContentLocation message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.ContentLocation.verify|verify} messages.
+ * @param message ContentLocation message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.IContentLocation, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ContentLocation message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ContentLocation
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.ContentLocation;
+
+ /**
+ * Decodes a ContentLocation message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ContentLocation
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.ContentLocation;
+
+ /**
+ * Verifies a ContentLocation message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a ContentLocation message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ContentLocation
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.ContentLocation;
+
+ /**
+ * Creates a plain object from a ContentLocation message. Also converts values to other types if specified.
+ * @param message ContentLocation
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.ContentLocation, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ContentLocation to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ContentLocation
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a MetadataLocation. */
+ interface IMetadataLocation {
+
+ /** MetadataLocation type */
+ type?: (google.privacy.dlp.v2.MetadataType|keyof typeof google.privacy.dlp.v2.MetadataType|null);
+
+ /** MetadataLocation storageLabel */
+ storageLabel?: (google.privacy.dlp.v2.IStorageMetadataLabel|null);
+ }
+
+ /** Represents a MetadataLocation. */
+ class MetadataLocation implements IMetadataLocation {
+
+ /**
+ * Constructs a new MetadataLocation.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.IMetadataLocation);
+
+ /** MetadataLocation type. */
+ public type: (google.privacy.dlp.v2.MetadataType|keyof typeof google.privacy.dlp.v2.MetadataType);
+
+ /** MetadataLocation storageLabel. */
+ public storageLabel?: (google.privacy.dlp.v2.IStorageMetadataLabel|null);
+
+ /** MetadataLocation label. */
+ public label?: "storageLabel";
+
+ /**
+ * Creates a new MetadataLocation instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns MetadataLocation instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.IMetadataLocation): google.privacy.dlp.v2.MetadataLocation;
+
+ /**
+ * Encodes the specified MetadataLocation message. Does not implicitly {@link google.privacy.dlp.v2.MetadataLocation.verify|verify} messages.
+ * @param message MetadataLocation message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.IMetadataLocation, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified MetadataLocation message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.MetadataLocation.verify|verify} messages.
+ * @param message MetadataLocation message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.IMetadataLocation, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a MetadataLocation message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns MetadataLocation
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.MetadataLocation;
+
+ /**
+ * Decodes a MetadataLocation message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns MetadataLocation
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.MetadataLocation;
+
+ /**
+ * Verifies a MetadataLocation message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a MetadataLocation message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns MetadataLocation
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.MetadataLocation;
+
+ /**
+ * Creates a plain object from a MetadataLocation message. Also converts values to other types if specified.
+ * @param message MetadataLocation
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.MetadataLocation, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this MetadataLocation to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for MetadataLocation
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a StorageMetadataLabel. */
+ interface IStorageMetadataLabel {
+
+ /** StorageMetadataLabel key */
+ key?: (string|null);
+ }
+
+ /** Represents a StorageMetadataLabel. */
+ class StorageMetadataLabel implements IStorageMetadataLabel {
+
+ /**
+ * Constructs a new StorageMetadataLabel.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.IStorageMetadataLabel);
+
+ /** StorageMetadataLabel key. */
+ public key: string;
+
+ /**
+ * Creates a new StorageMetadataLabel instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns StorageMetadataLabel instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.IStorageMetadataLabel): google.privacy.dlp.v2.StorageMetadataLabel;
+
+ /**
+ * Encodes the specified StorageMetadataLabel message. Does not implicitly {@link google.privacy.dlp.v2.StorageMetadataLabel.verify|verify} messages.
+ * @param message StorageMetadataLabel message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.IStorageMetadataLabel, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified StorageMetadataLabel message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.StorageMetadataLabel.verify|verify} messages.
+ * @param message StorageMetadataLabel message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.IStorageMetadataLabel, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a StorageMetadataLabel message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns StorageMetadataLabel
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.StorageMetadataLabel;
+
+ /**
+ * Decodes a StorageMetadataLabel message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns StorageMetadataLabel
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.StorageMetadataLabel;
+
+ /**
+ * Verifies a StorageMetadataLabel message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a StorageMetadataLabel message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns StorageMetadataLabel
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.StorageMetadataLabel;
+
+ /**
+ * Creates a plain object from a StorageMetadataLabel message. Also converts values to other types if specified.
+ * @param message StorageMetadataLabel
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.StorageMetadataLabel, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this StorageMetadataLabel to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for StorageMetadataLabel
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a DocumentLocation. */
+ interface IDocumentLocation {
+
+ /** DocumentLocation fileOffset */
+ fileOffset?: (number|Long|string|null);
+ }
+
+ /** Represents a DocumentLocation. */
+ class DocumentLocation implements IDocumentLocation {
+
+ /**
+ * Constructs a new DocumentLocation.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.IDocumentLocation);
+
+ /** DocumentLocation fileOffset. */
+ public fileOffset: (number|Long|string);
+
+ /**
+ * Creates a new DocumentLocation instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns DocumentLocation instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.IDocumentLocation): google.privacy.dlp.v2.DocumentLocation;
+
+ /**
+ * Encodes the specified DocumentLocation message. Does not implicitly {@link google.privacy.dlp.v2.DocumentLocation.verify|verify} messages.
+ * @param message DocumentLocation message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.IDocumentLocation, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified DocumentLocation message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.DocumentLocation.verify|verify} messages.
+ * @param message DocumentLocation message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.IDocumentLocation, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a DocumentLocation message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns DocumentLocation
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.DocumentLocation;
+
+ /**
+ * Decodes a DocumentLocation message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns DocumentLocation
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.DocumentLocation;
+
+ /**
+ * Verifies a DocumentLocation message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a DocumentLocation message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns DocumentLocation
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.DocumentLocation;
+
+ /**
+ * Creates a plain object from a DocumentLocation message. Also converts values to other types if specified.
+ * @param message DocumentLocation
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.DocumentLocation, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this DocumentLocation to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for DocumentLocation
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a RecordLocation. */
+ interface IRecordLocation {
+
+ /** RecordLocation recordKey */
+ recordKey?: (google.privacy.dlp.v2.IRecordKey|null);
+
+ /** RecordLocation fieldId */
+ fieldId?: (google.privacy.dlp.v2.IFieldId|null);
+
+ /** RecordLocation tableLocation */
+ tableLocation?: (google.privacy.dlp.v2.ITableLocation|null);
+ }
+
+ /** Represents a RecordLocation. */
+ class RecordLocation implements IRecordLocation {
+
+ /**
+ * Constructs a new RecordLocation.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.IRecordLocation);
+
+ /** RecordLocation recordKey. */
+ public recordKey?: (google.privacy.dlp.v2.IRecordKey|null);
+
+ /** RecordLocation fieldId. */
+ public fieldId?: (google.privacy.dlp.v2.IFieldId|null);
+
+ /** RecordLocation tableLocation. */
+ public tableLocation?: (google.privacy.dlp.v2.ITableLocation|null);
+
+ /**
+ * Creates a new RecordLocation instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns RecordLocation instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.IRecordLocation): google.privacy.dlp.v2.RecordLocation;
+
+ /**
+ * Encodes the specified RecordLocation message. Does not implicitly {@link google.privacy.dlp.v2.RecordLocation.verify|verify} messages.
+ * @param message RecordLocation message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.IRecordLocation, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified RecordLocation message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.RecordLocation.verify|verify} messages.
+ * @param message RecordLocation message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.IRecordLocation, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a RecordLocation message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns RecordLocation
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.RecordLocation;
+
+ /**
+ * Decodes a RecordLocation message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns RecordLocation
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.RecordLocation;
+
+ /**
+ * Verifies a RecordLocation message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a RecordLocation message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns RecordLocation
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.RecordLocation;
+
+ /**
+ * Creates a plain object from a RecordLocation message. Also converts values to other types if specified.
+ * @param message RecordLocation
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.RecordLocation, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this RecordLocation to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for RecordLocation
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a TableLocation. */
+ interface ITableLocation {
+
+ /** TableLocation rowIndex */
+ rowIndex?: (number|Long|string|null);
+ }
+
+ /** Represents a TableLocation. */
+ class TableLocation implements ITableLocation {
+
+ /**
+ * Constructs a new TableLocation.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.ITableLocation);
+
+ /** TableLocation rowIndex. */
+ public rowIndex: (number|Long|string);
+
+ /**
+ * Creates a new TableLocation instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns TableLocation instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.ITableLocation): google.privacy.dlp.v2.TableLocation;
+
+ /**
+ * Encodes the specified TableLocation message. Does not implicitly {@link google.privacy.dlp.v2.TableLocation.verify|verify} messages.
+ * @param message TableLocation message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.ITableLocation, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified TableLocation message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.TableLocation.verify|verify} messages.
+ * @param message TableLocation message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.ITableLocation, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a TableLocation message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns TableLocation
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.TableLocation;
+
+ /**
+ * Decodes a TableLocation message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns TableLocation
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.TableLocation;
+
+ /**
+ * Verifies a TableLocation message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a TableLocation message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns TableLocation
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.TableLocation;
+
+ /**
+ * Creates a plain object from a TableLocation message. Also converts values to other types if specified.
+ * @param message TableLocation
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.TableLocation, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this TableLocation to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for TableLocation
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a Container. */
+ interface IContainer {
+
+ /** Container type */
+ type?: (string|null);
+
+ /** Container projectId */
+ projectId?: (string|null);
+
+ /** Container fullPath */
+ fullPath?: (string|null);
+
+ /** Container rootPath */
+ rootPath?: (string|null);
+
+ /** Container relativePath */
+ relativePath?: (string|null);
+
+ /** Container updateTime */
+ updateTime?: (google.protobuf.ITimestamp|null);
+
+ /** Container version */
+ version?: (string|null);
+ }
+
+ /** Represents a Container. */
+ class Container implements IContainer {
+
+ /**
+ * Constructs a new Container.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.IContainer);
+
+ /** Container type. */
+ public type: string;
+
+ /** Container projectId. */
+ public projectId: string;
+
+ /** Container fullPath. */
+ public fullPath: string;
+
+ /** Container rootPath. */
+ public rootPath: string;
+
+ /** Container relativePath. */
+ public relativePath: string;
+
+ /** Container updateTime. */
+ public updateTime?: (google.protobuf.ITimestamp|null);
+
+ /** Container version. */
+ public version: string;
+
+ /**
+ * Creates a new Container instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns Container instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.IContainer): google.privacy.dlp.v2.Container;
+
+ /**
+ * Encodes the specified Container message. Does not implicitly {@link google.privacy.dlp.v2.Container.verify|verify} messages.
+ * @param message Container message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.IContainer, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified Container message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.Container.verify|verify} messages.
+ * @param message Container message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.IContainer, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a Container message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns Container
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.Container;
+
+ /**
+ * Decodes a Container message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns Container
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.Container;
+
+ /**
+ * Verifies a Container message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a Container message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns Container
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.Container;
+
+ /**
+ * Creates a plain object from a Container message. Also converts values to other types if specified.
+ * @param message Container
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.Container, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this Container to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for Container
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a Range. */
+ interface IRange {
+
+ /** Range start */
+ start?: (number|Long|string|null);
+
+ /** Range end */
+ end?: (number|Long|string|null);
+ }
+
+ /** Represents a Range. */
+ class Range implements IRange {
+
+ /**
+ * Constructs a new Range.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.IRange);
+
+ /** Range start. */
+ public start: (number|Long|string);
+
+ /** Range end. */
+ public end: (number|Long|string);
+
+ /**
+ * Creates a new Range instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns Range instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.IRange): google.privacy.dlp.v2.Range;
+
+ /**
+ * Encodes the specified Range message. Does not implicitly {@link google.privacy.dlp.v2.Range.verify|verify} messages.
+ * @param message Range message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.IRange, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified Range message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.Range.verify|verify} messages.
+ * @param message Range message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.IRange, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a Range message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns Range
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.Range;
+
+ /**
+ * Decodes a Range message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns Range
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.Range;
+
+ /**
+ * Verifies a Range message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a Range message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns Range
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.Range;
+
+ /**
+ * Creates a plain object from a Range message. Also converts values to other types if specified.
+ * @param message Range
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.Range, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this Range to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for Range
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of an ImageLocation. */
+ interface IImageLocation {
+
+ /** ImageLocation boundingBoxes */
+ boundingBoxes?: (google.privacy.dlp.v2.IBoundingBox[]|null);
+ }
+
+ /** Represents an ImageLocation. */
+ class ImageLocation implements IImageLocation {
+
+ /**
+ * Constructs a new ImageLocation.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.IImageLocation);
+
+ /** ImageLocation boundingBoxes. */
+ public boundingBoxes: google.privacy.dlp.v2.IBoundingBox[];
+
+ /**
+ * Creates a new ImageLocation instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ImageLocation instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.IImageLocation): google.privacy.dlp.v2.ImageLocation;
+
+ /**
+ * Encodes the specified ImageLocation message. Does not implicitly {@link google.privacy.dlp.v2.ImageLocation.verify|verify} messages.
+ * @param message ImageLocation message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.IImageLocation, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ImageLocation message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.ImageLocation.verify|verify} messages.
+ * @param message ImageLocation message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.IImageLocation, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an ImageLocation message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ImageLocation
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.ImageLocation;
+
+ /**
+ * Decodes an ImageLocation message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ImageLocation
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.ImageLocation;
+
+ /**
+ * Verifies an ImageLocation message.
+ * @param message Plain 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 ImageLocation message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ImageLocation
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.ImageLocation;
+
+ /**
+ * Creates a plain object from an ImageLocation message. Also converts values to other types if specified.
+ * @param message ImageLocation
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.ImageLocation, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ImageLocation to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ImageLocation
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a BoundingBox. */
+ interface IBoundingBox {
+
+ /** BoundingBox top */
+ top?: (number|null);
+
+ /** BoundingBox left */
+ left?: (number|null);
+
+ /** BoundingBox width */
+ width?: (number|null);
+
+ /** BoundingBox height */
+ height?: (number|null);
+ }
+
+ /** Represents a BoundingBox. */
+ class BoundingBox implements IBoundingBox {
+
+ /**
+ * Constructs a new BoundingBox.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.IBoundingBox);
+
+ /** BoundingBox top. */
+ public top: number;
+
+ /** BoundingBox left. */
+ public left: number;
+
+ /** BoundingBox width. */
+ public width: number;
+
+ /** BoundingBox height. */
+ public height: number;
+
+ /**
+ * Creates a new BoundingBox instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns BoundingBox instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.IBoundingBox): google.privacy.dlp.v2.BoundingBox;
+
+ /**
+ * Encodes the specified BoundingBox message. Does not implicitly {@link google.privacy.dlp.v2.BoundingBox.verify|verify} messages.
+ * @param message BoundingBox message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.IBoundingBox, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified BoundingBox message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.BoundingBox.verify|verify} messages.
+ * @param message BoundingBox message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.IBoundingBox, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a BoundingBox message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns BoundingBox
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.BoundingBox;
+
+ /**
+ * Decodes a BoundingBox message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns BoundingBox
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.BoundingBox;
+
+ /**
+ * Verifies a BoundingBox message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a BoundingBox message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns BoundingBox
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.BoundingBox;
+
+ /**
+ * Creates a plain object from a BoundingBox message. Also converts values to other types if specified.
+ * @param message BoundingBox
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.BoundingBox, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this BoundingBox to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for BoundingBox
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a RedactImageRequest. */
+ interface IRedactImageRequest {
+
+ /** RedactImageRequest parent */
+ parent?: (string|null);
+
+ /** RedactImageRequest locationId */
+ locationId?: (string|null);
+
+ /** RedactImageRequest inspectConfig */
+ inspectConfig?: (google.privacy.dlp.v2.IInspectConfig|null);
+
+ /** RedactImageRequest imageRedactionConfigs */
+ imageRedactionConfigs?: (google.privacy.dlp.v2.RedactImageRequest.IImageRedactionConfig[]|null);
+
+ /** RedactImageRequest includeFindings */
+ includeFindings?: (boolean|null);
+
+ /** RedactImageRequest byteItem */
+ byteItem?: (google.privacy.dlp.v2.IByteContentItem|null);
+
+ /** RedactImageRequest inspectTemplate */
+ inspectTemplate?: (string|null);
+
+ /** RedactImageRequest deidentifyTemplate */
+ deidentifyTemplate?: (string|null);
+ }
+
+ /** Represents a RedactImageRequest. */
+ class RedactImageRequest implements IRedactImageRequest {
+
+ /**
+ * Constructs a new RedactImageRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.IRedactImageRequest);
+
+ /** RedactImageRequest parent. */
+ public parent: string;
+
+ /** RedactImageRequest locationId. */
+ public locationId: string;
+
+ /** RedactImageRequest inspectConfig. */
+ public inspectConfig?: (google.privacy.dlp.v2.IInspectConfig|null);
+
+ /** RedactImageRequest imageRedactionConfigs. */
+ public imageRedactionConfigs: google.privacy.dlp.v2.RedactImageRequest.IImageRedactionConfig[];
+
+ /** RedactImageRequest includeFindings. */
+ public includeFindings: boolean;
+
+ /** RedactImageRequest byteItem. */
+ public byteItem?: (google.privacy.dlp.v2.IByteContentItem|null);
+
+ /** RedactImageRequest inspectTemplate. */
+ public inspectTemplate: string;
+
+ /** RedactImageRequest deidentifyTemplate. */
+ public deidentifyTemplate: string;
+
+ /**
+ * Creates a new RedactImageRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns RedactImageRequest instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.IRedactImageRequest): google.privacy.dlp.v2.RedactImageRequest;
+
+ /**
+ * Encodes the specified RedactImageRequest message. Does not implicitly {@link google.privacy.dlp.v2.RedactImageRequest.verify|verify} messages.
+ * @param message RedactImageRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.IRedactImageRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified RedactImageRequest message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.RedactImageRequest.verify|verify} messages.
+ * @param message RedactImageRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.IRedactImageRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a RedactImageRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns RedactImageRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.RedactImageRequest;
+
+ /**
+ * Decodes a RedactImageRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns RedactImageRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.RedactImageRequest;
+
+ /**
+ * Verifies a RedactImageRequest message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a RedactImageRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns RedactImageRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.RedactImageRequest;
+
+ /**
+ * Creates a plain object from a RedactImageRequest message. Also converts values to other types if specified.
+ * @param message RedactImageRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.RedactImageRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this RedactImageRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for RedactImageRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace RedactImageRequest {
+
+ /** Properties of an ImageRedactionConfig. */
+ interface IImageRedactionConfig {
+
+ /** ImageRedactionConfig infoType */
+ infoType?: (google.privacy.dlp.v2.IInfoType|null);
+
+ /** ImageRedactionConfig redactAllText */
+ redactAllText?: (boolean|null);
+
+ /** ImageRedactionConfig redactionColor */
+ redactionColor?: (google.privacy.dlp.v2.IColor|null);
+ }
+
+ /** Represents an ImageRedactionConfig. */
+ class ImageRedactionConfig implements IImageRedactionConfig {
+
+ /**
+ * Constructs a new ImageRedactionConfig.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.RedactImageRequest.IImageRedactionConfig);
+
+ /** ImageRedactionConfig infoType. */
+ public infoType?: (google.privacy.dlp.v2.IInfoType|null);
+
+ /** ImageRedactionConfig redactAllText. */
+ public redactAllText?: (boolean|null);
+
+ /** ImageRedactionConfig redactionColor. */
+ public redactionColor?: (google.privacy.dlp.v2.IColor|null);
+
+ /** ImageRedactionConfig target. */
+ public target?: ("infoType"|"redactAllText");
+
+ /**
+ * Creates a new ImageRedactionConfig instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ImageRedactionConfig instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.RedactImageRequest.IImageRedactionConfig): google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig;
+
+ /**
+ * Encodes the specified ImageRedactionConfig message. Does not implicitly {@link google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig.verify|verify} messages.
+ * @param message ImageRedactionConfig message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.RedactImageRequest.IImageRedactionConfig, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ImageRedactionConfig message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig.verify|verify} messages.
+ * @param message ImageRedactionConfig message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.RedactImageRequest.IImageRedactionConfig, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an ImageRedactionConfig message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ImageRedactionConfig
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig;
+
+ /**
+ * Decodes an ImageRedactionConfig message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ImageRedactionConfig
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig;
+
+ /**
+ * Verifies an ImageRedactionConfig message.
+ * @param message Plain 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 ImageRedactionConfig message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ImageRedactionConfig
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig;
+
+ /**
+ * Creates a plain object from an ImageRedactionConfig message. Also converts values to other types if specified.
+ * @param message ImageRedactionConfig
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ImageRedactionConfig to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ImageRedactionConfig
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+ }
+
+ /** Properties of a Color. */
+ interface IColor {
+
+ /** Color red */
+ red?: (number|null);
+
+ /** Color green */
+ green?: (number|null);
+
+ /** Color blue */
+ blue?: (number|null);
+ }
+
+ /** Represents a Color. */
+ class Color implements IColor {
+
+ /**
+ * Constructs a new Color.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.IColor);
+
+ /** Color red. */
+ public red: number;
+
+ /** Color green. */
+ public green: number;
+
+ /** Color blue. */
+ public blue: number;
+
+ /**
+ * Creates a new Color instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns Color instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.IColor): google.privacy.dlp.v2.Color;
+
+ /**
+ * Encodes the specified Color message. Does not implicitly {@link google.privacy.dlp.v2.Color.verify|verify} messages.
+ * @param message Color message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.IColor, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified Color message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.Color.verify|verify} messages.
+ * @param message Color message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.IColor, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a Color message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns Color
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.Color;
+
+ /**
+ * Decodes a Color message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns Color
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.Color;
+
+ /**
+ * Verifies a Color message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a Color message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns Color
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.Color;
+
+ /**
+ * Creates a plain object from a Color message. Also converts values to other types if specified.
+ * @param message Color
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.Color, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this Color to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for Color
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a RedactImageResponse. */
+ interface IRedactImageResponse {
+
+ /** RedactImageResponse redactedImage */
+ redactedImage?: (Uint8Array|Buffer|string|null);
+
+ /** RedactImageResponse extractedText */
+ extractedText?: (string|null);
+
+ /** RedactImageResponse inspectResult */
+ inspectResult?: (google.privacy.dlp.v2.IInspectResult|null);
+ }
+
+ /** Represents a RedactImageResponse. */
+ class RedactImageResponse implements IRedactImageResponse {
+
+ /**
+ * Constructs a new RedactImageResponse.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.IRedactImageResponse);
+
+ /** RedactImageResponse redactedImage. */
+ public redactedImage: (Uint8Array|Buffer|string);
+
+ /** RedactImageResponse extractedText. */
+ public extractedText: string;
+
+ /** RedactImageResponse inspectResult. */
+ public inspectResult?: (google.privacy.dlp.v2.IInspectResult|null);
+
+ /**
+ * Creates a new RedactImageResponse instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns RedactImageResponse instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.IRedactImageResponse): google.privacy.dlp.v2.RedactImageResponse;
+
+ /**
+ * Encodes the specified RedactImageResponse message. Does not implicitly {@link google.privacy.dlp.v2.RedactImageResponse.verify|verify} messages.
+ * @param message RedactImageResponse message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.IRedactImageResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified RedactImageResponse message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.RedactImageResponse.verify|verify} messages.
+ * @param message RedactImageResponse message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.IRedactImageResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a RedactImageResponse message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns RedactImageResponse
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.RedactImageResponse;
+
+ /**
+ * Decodes a RedactImageResponse message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns RedactImageResponse
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.RedactImageResponse;
+
+ /**
+ * Verifies a RedactImageResponse message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a RedactImageResponse message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns RedactImageResponse
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.RedactImageResponse;
+
+ /**
+ * Creates a plain object from a RedactImageResponse message. Also converts values to other types if specified.
+ * @param message RedactImageResponse
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.RedactImageResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this RedactImageResponse to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for RedactImageResponse
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a DeidentifyContentRequest. */
+ interface IDeidentifyContentRequest {
+
+ /** DeidentifyContentRequest parent */
+ parent?: (string|null);
+
+ /** DeidentifyContentRequest deidentifyConfig */
+ deidentifyConfig?: (google.privacy.dlp.v2.IDeidentifyConfig|null);
+
+ /** DeidentifyContentRequest inspectConfig */
+ inspectConfig?: (google.privacy.dlp.v2.IInspectConfig|null);
+
+ /** DeidentifyContentRequest item */
+ item?: (google.privacy.dlp.v2.IContentItem|null);
+
+ /** DeidentifyContentRequest inspectTemplateName */
+ inspectTemplateName?: (string|null);
+
+ /** DeidentifyContentRequest deidentifyTemplateName */
+ deidentifyTemplateName?: (string|null);
+
+ /** DeidentifyContentRequest locationId */
+ locationId?: (string|null);
+ }
+
+ /** Represents a DeidentifyContentRequest. */
+ class DeidentifyContentRequest implements IDeidentifyContentRequest {
+
+ /**
+ * Constructs a new DeidentifyContentRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.IDeidentifyContentRequest);
+
+ /** DeidentifyContentRequest parent. */
+ public parent: string;
+
+ /** DeidentifyContentRequest deidentifyConfig. */
+ public deidentifyConfig?: (google.privacy.dlp.v2.IDeidentifyConfig|null);
+
+ /** DeidentifyContentRequest inspectConfig. */
+ public inspectConfig?: (google.privacy.dlp.v2.IInspectConfig|null);
+
+ /** DeidentifyContentRequest item. */
+ public item?: (google.privacy.dlp.v2.IContentItem|null);
+
+ /** DeidentifyContentRequest inspectTemplateName. */
+ public inspectTemplateName: string;
+
+ /** DeidentifyContentRequest deidentifyTemplateName. */
+ public deidentifyTemplateName: string;
+
+ /** DeidentifyContentRequest locationId. */
+ public locationId: string;
+
+ /**
+ * Creates a new DeidentifyContentRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns DeidentifyContentRequest instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.IDeidentifyContentRequest): google.privacy.dlp.v2.DeidentifyContentRequest;
+
+ /**
+ * Encodes the specified DeidentifyContentRequest message. Does not implicitly {@link google.privacy.dlp.v2.DeidentifyContentRequest.verify|verify} messages.
+ * @param message DeidentifyContentRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.IDeidentifyContentRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified DeidentifyContentRequest message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.DeidentifyContentRequest.verify|verify} messages.
+ * @param message DeidentifyContentRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.IDeidentifyContentRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a DeidentifyContentRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns DeidentifyContentRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.DeidentifyContentRequest;
+
+ /**
+ * Decodes a DeidentifyContentRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns DeidentifyContentRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.DeidentifyContentRequest;
+
+ /**
+ * Verifies a DeidentifyContentRequest message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a DeidentifyContentRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns DeidentifyContentRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.DeidentifyContentRequest;
+
+ /**
+ * Creates a plain object from a DeidentifyContentRequest message. Also converts values to other types if specified.
+ * @param message DeidentifyContentRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.DeidentifyContentRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this DeidentifyContentRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for DeidentifyContentRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a DeidentifyContentResponse. */
+ interface IDeidentifyContentResponse {
+
+ /** DeidentifyContentResponse item */
+ item?: (google.privacy.dlp.v2.IContentItem|null);
+
+ /** DeidentifyContentResponse overview */
+ overview?: (google.privacy.dlp.v2.ITransformationOverview|null);
+ }
+
+ /** Represents a DeidentifyContentResponse. */
+ class DeidentifyContentResponse implements IDeidentifyContentResponse {
+
+ /**
+ * Constructs a new DeidentifyContentResponse.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.IDeidentifyContentResponse);
+
+ /** DeidentifyContentResponse item. */
+ public item?: (google.privacy.dlp.v2.IContentItem|null);
+
+ /** DeidentifyContentResponse overview. */
+ public overview?: (google.privacy.dlp.v2.ITransformationOverview|null);
+
+ /**
+ * Creates a new DeidentifyContentResponse instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns DeidentifyContentResponse instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.IDeidentifyContentResponse): google.privacy.dlp.v2.DeidentifyContentResponse;
+
+ /**
+ * Encodes the specified DeidentifyContentResponse message. Does not implicitly {@link google.privacy.dlp.v2.DeidentifyContentResponse.verify|verify} messages.
+ * @param message DeidentifyContentResponse message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.IDeidentifyContentResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified DeidentifyContentResponse message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.DeidentifyContentResponse.verify|verify} messages.
+ * @param message DeidentifyContentResponse message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.IDeidentifyContentResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a DeidentifyContentResponse message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns DeidentifyContentResponse
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.DeidentifyContentResponse;
+
+ /**
+ * Decodes a DeidentifyContentResponse message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns DeidentifyContentResponse
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.DeidentifyContentResponse;
+
+ /**
+ * Verifies a DeidentifyContentResponse message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a DeidentifyContentResponse message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns DeidentifyContentResponse
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.DeidentifyContentResponse;
+
+ /**
+ * Creates a plain object from a DeidentifyContentResponse message. Also converts values to other types if specified.
+ * @param message DeidentifyContentResponse
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.DeidentifyContentResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this DeidentifyContentResponse to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for DeidentifyContentResponse
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a ReidentifyContentRequest. */
+ interface IReidentifyContentRequest {
+
+ /** ReidentifyContentRequest parent */
+ parent?: (string|null);
+
+ /** ReidentifyContentRequest reidentifyConfig */
+ reidentifyConfig?: (google.privacy.dlp.v2.IDeidentifyConfig|null);
+
+ /** ReidentifyContentRequest inspectConfig */
+ inspectConfig?: (google.privacy.dlp.v2.IInspectConfig|null);
+
+ /** ReidentifyContentRequest item */
+ item?: (google.privacy.dlp.v2.IContentItem|null);
+
+ /** ReidentifyContentRequest inspectTemplateName */
+ inspectTemplateName?: (string|null);
+
+ /** ReidentifyContentRequest reidentifyTemplateName */
+ reidentifyTemplateName?: (string|null);
+
+ /** ReidentifyContentRequest locationId */
+ locationId?: (string|null);
+ }
+
+ /** Represents a ReidentifyContentRequest. */
+ class ReidentifyContentRequest implements IReidentifyContentRequest {
+
+ /**
+ * Constructs a new ReidentifyContentRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.IReidentifyContentRequest);
+
+ /** ReidentifyContentRequest parent. */
+ public parent: string;
+
+ /** ReidentifyContentRequest reidentifyConfig. */
+ public reidentifyConfig?: (google.privacy.dlp.v2.IDeidentifyConfig|null);
+
+ /** ReidentifyContentRequest inspectConfig. */
+ public inspectConfig?: (google.privacy.dlp.v2.IInspectConfig|null);
+
+ /** ReidentifyContentRequest item. */
+ public item?: (google.privacy.dlp.v2.IContentItem|null);
+
+ /** ReidentifyContentRequest inspectTemplateName. */
+ public inspectTemplateName: string;
+
+ /** ReidentifyContentRequest reidentifyTemplateName. */
+ public reidentifyTemplateName: string;
+
+ /** ReidentifyContentRequest locationId. */
+ public locationId: string;
+
+ /**
+ * Creates a new ReidentifyContentRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ReidentifyContentRequest instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.IReidentifyContentRequest): google.privacy.dlp.v2.ReidentifyContentRequest;
+
+ /**
+ * Encodes the specified ReidentifyContentRequest message. Does not implicitly {@link google.privacy.dlp.v2.ReidentifyContentRequest.verify|verify} messages.
+ * @param message ReidentifyContentRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.IReidentifyContentRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ReidentifyContentRequest message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.ReidentifyContentRequest.verify|verify} messages.
+ * @param message ReidentifyContentRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.IReidentifyContentRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ReidentifyContentRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ReidentifyContentRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.ReidentifyContentRequest;
+
+ /**
+ * Decodes a ReidentifyContentRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ReidentifyContentRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.ReidentifyContentRequest;
+
+ /**
+ * Verifies a ReidentifyContentRequest message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a ReidentifyContentRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ReidentifyContentRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.ReidentifyContentRequest;
+
+ /**
+ * Creates a plain object from a ReidentifyContentRequest message. Also converts values to other types if specified.
+ * @param message ReidentifyContentRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.ReidentifyContentRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ReidentifyContentRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ReidentifyContentRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a ReidentifyContentResponse. */
+ interface IReidentifyContentResponse {
+
+ /** ReidentifyContentResponse item */
+ item?: (google.privacy.dlp.v2.IContentItem|null);
+
+ /** ReidentifyContentResponse overview */
+ overview?: (google.privacy.dlp.v2.ITransformationOverview|null);
+ }
+
+ /** Represents a ReidentifyContentResponse. */
+ class ReidentifyContentResponse implements IReidentifyContentResponse {
+
+ /**
+ * Constructs a new ReidentifyContentResponse.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.IReidentifyContentResponse);
+
+ /** ReidentifyContentResponse item. */
+ public item?: (google.privacy.dlp.v2.IContentItem|null);
+
+ /** ReidentifyContentResponse overview. */
+ public overview?: (google.privacy.dlp.v2.ITransformationOverview|null);
+
+ /**
+ * Creates a new ReidentifyContentResponse instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ReidentifyContentResponse instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.IReidentifyContentResponse): google.privacy.dlp.v2.ReidentifyContentResponse;
+
+ /**
+ * Encodes the specified ReidentifyContentResponse message. Does not implicitly {@link google.privacy.dlp.v2.ReidentifyContentResponse.verify|verify} messages.
+ * @param message ReidentifyContentResponse message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.IReidentifyContentResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ReidentifyContentResponse message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.ReidentifyContentResponse.verify|verify} messages.
+ * @param message ReidentifyContentResponse message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.IReidentifyContentResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ReidentifyContentResponse message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ReidentifyContentResponse
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.ReidentifyContentResponse;
+
+ /**
+ * Decodes a ReidentifyContentResponse message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ReidentifyContentResponse
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.ReidentifyContentResponse;
+
+ /**
+ * Verifies a ReidentifyContentResponse message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a ReidentifyContentResponse message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ReidentifyContentResponse
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.ReidentifyContentResponse;
+
+ /**
+ * Creates a plain object from a ReidentifyContentResponse message. Also converts values to other types if specified.
+ * @param message ReidentifyContentResponse
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.ReidentifyContentResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ReidentifyContentResponse to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ReidentifyContentResponse
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of an InspectContentRequest. */
+ interface IInspectContentRequest {
+
+ /** InspectContentRequest parent */
+ parent?: (string|null);
+
+ /** InspectContentRequest inspectConfig */
+ inspectConfig?: (google.privacy.dlp.v2.IInspectConfig|null);
+
+ /** InspectContentRequest item */
+ item?: (google.privacy.dlp.v2.IContentItem|null);
+
+ /** InspectContentRequest inspectTemplateName */
+ inspectTemplateName?: (string|null);
+
+ /** InspectContentRequest locationId */
+ locationId?: (string|null);
+ }
+
+ /** Represents an InspectContentRequest. */
+ class InspectContentRequest implements IInspectContentRequest {
+
+ /**
+ * Constructs a new InspectContentRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.IInspectContentRequest);
+
+ /** InspectContentRequest parent. */
+ public parent: string;
+
+ /** InspectContentRequest inspectConfig. */
+ public inspectConfig?: (google.privacy.dlp.v2.IInspectConfig|null);
+
+ /** InspectContentRequest item. */
+ public item?: (google.privacy.dlp.v2.IContentItem|null);
+
+ /** InspectContentRequest inspectTemplateName. */
+ public inspectTemplateName: string;
+
+ /** InspectContentRequest locationId. */
+ public locationId: string;
+
+ /**
+ * Creates a new InspectContentRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns InspectContentRequest instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.IInspectContentRequest): google.privacy.dlp.v2.InspectContentRequest;
+
+ /**
+ * Encodes the specified InspectContentRequest message. Does not implicitly {@link google.privacy.dlp.v2.InspectContentRequest.verify|verify} messages.
+ * @param message InspectContentRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.IInspectContentRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified InspectContentRequest message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.InspectContentRequest.verify|verify} messages.
+ * @param message InspectContentRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.IInspectContentRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an InspectContentRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns InspectContentRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.InspectContentRequest;
+
+ /**
+ * Decodes an InspectContentRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns InspectContentRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.InspectContentRequest;
+
+ /**
+ * Verifies an InspectContentRequest message.
+ * @param message Plain 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 InspectContentRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns InspectContentRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.InspectContentRequest;
+
+ /**
+ * Creates a plain object from an InspectContentRequest message. Also converts values to other types if specified.
+ * @param message InspectContentRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.InspectContentRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this InspectContentRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for InspectContentRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of an InspectContentResponse. */
+ interface IInspectContentResponse {
+
+ /** InspectContentResponse result */
+ result?: (google.privacy.dlp.v2.IInspectResult|null);
+ }
+
+ /** Represents an InspectContentResponse. */
+ class InspectContentResponse implements IInspectContentResponse {
+
+ /**
+ * Constructs a new InspectContentResponse.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.IInspectContentResponse);
+
+ /** InspectContentResponse result. */
+ public result?: (google.privacy.dlp.v2.IInspectResult|null);
+
+ /**
+ * Creates a new InspectContentResponse instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns InspectContentResponse instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.IInspectContentResponse): google.privacy.dlp.v2.InspectContentResponse;
+
+ /**
+ * Encodes the specified InspectContentResponse message. Does not implicitly {@link google.privacy.dlp.v2.InspectContentResponse.verify|verify} messages.
+ * @param message InspectContentResponse message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.IInspectContentResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified InspectContentResponse message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.InspectContentResponse.verify|verify} messages.
+ * @param message InspectContentResponse message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.IInspectContentResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an InspectContentResponse message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns InspectContentResponse
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.InspectContentResponse;
+
+ /**
+ * Decodes an InspectContentResponse message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns InspectContentResponse
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.InspectContentResponse;
+
+ /**
+ * Verifies an InspectContentResponse message.
+ * @param message Plain 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 InspectContentResponse message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns InspectContentResponse
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.InspectContentResponse;
+
+ /**
+ * Creates a plain object from an InspectContentResponse message. Also converts values to other types if specified.
+ * @param message InspectContentResponse
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.InspectContentResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this InspectContentResponse to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for InspectContentResponse
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of an OutputStorageConfig. */
+ interface IOutputStorageConfig {
+
+ /** OutputStorageConfig table */
+ table?: (google.privacy.dlp.v2.IBigQueryTable|null);
+
+ /** OutputStorageConfig storagePath */
+ storagePath?: (google.privacy.dlp.v2.ICloudStoragePath|null);
+
+ /** OutputStorageConfig outputSchema */
+ outputSchema?: (google.privacy.dlp.v2.OutputStorageConfig.OutputSchema|keyof typeof google.privacy.dlp.v2.OutputStorageConfig.OutputSchema|null);
+ }
+
+ /** Represents an OutputStorageConfig. */
+ class OutputStorageConfig implements IOutputStorageConfig {
+
+ /**
+ * Constructs a new OutputStorageConfig.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.IOutputStorageConfig);
+
+ /** OutputStorageConfig table. */
+ public table?: (google.privacy.dlp.v2.IBigQueryTable|null);
+
+ /** OutputStorageConfig storagePath. */
+ public storagePath?: (google.privacy.dlp.v2.ICloudStoragePath|null);
+
+ /** OutputStorageConfig outputSchema. */
+ public outputSchema: (google.privacy.dlp.v2.OutputStorageConfig.OutputSchema|keyof typeof google.privacy.dlp.v2.OutputStorageConfig.OutputSchema);
+
+ /** OutputStorageConfig type. */
+ public type?: ("table"|"storagePath");
+
+ /**
+ * Creates a new OutputStorageConfig instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns OutputStorageConfig instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.IOutputStorageConfig): google.privacy.dlp.v2.OutputStorageConfig;
+
+ /**
+ * Encodes the specified OutputStorageConfig message. Does not implicitly {@link google.privacy.dlp.v2.OutputStorageConfig.verify|verify} messages.
+ * @param message OutputStorageConfig message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.IOutputStorageConfig, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified OutputStorageConfig message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.OutputStorageConfig.verify|verify} messages.
+ * @param message OutputStorageConfig message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.IOutputStorageConfig, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an OutputStorageConfig message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns OutputStorageConfig
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.OutputStorageConfig;
+
+ /**
+ * Decodes an OutputStorageConfig message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns OutputStorageConfig
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.OutputStorageConfig;
+
+ /**
+ * Verifies an OutputStorageConfig message.
+ * @param message Plain 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 OutputStorageConfig message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns OutputStorageConfig
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.OutputStorageConfig;
+
+ /**
+ * Creates a plain object from an OutputStorageConfig message. Also converts values to other types if specified.
+ * @param message OutputStorageConfig
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.OutputStorageConfig, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this OutputStorageConfig to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for OutputStorageConfig
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace OutputStorageConfig {
+
+ /** OutputSchema enum. */
+ enum OutputSchema {
+ OUTPUT_SCHEMA_UNSPECIFIED = 0,
+ BASIC_COLUMNS = 1,
+ GCS_COLUMNS = 2,
+ DATASTORE_COLUMNS = 3,
+ BIG_QUERY_COLUMNS = 4,
+ ALL_COLUMNS = 5
+ }
+ }
+
+ /** Properties of an InfoTypeStats. */
+ interface IInfoTypeStats {
+
+ /** InfoTypeStats infoType */
+ infoType?: (google.privacy.dlp.v2.IInfoType|null);
+
+ /** InfoTypeStats count */
+ count?: (number|Long|string|null);
+ }
+
+ /** Represents an InfoTypeStats. */
+ class InfoTypeStats implements IInfoTypeStats {
+
+ /**
+ * Constructs a new InfoTypeStats.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.IInfoTypeStats);
+
+ /** InfoTypeStats infoType. */
+ public infoType?: (google.privacy.dlp.v2.IInfoType|null);
+
+ /** InfoTypeStats count. */
+ public count: (number|Long|string);
+
+ /**
+ * Creates a new InfoTypeStats instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns InfoTypeStats instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.IInfoTypeStats): google.privacy.dlp.v2.InfoTypeStats;
+
+ /**
+ * Encodes the specified InfoTypeStats message. Does not implicitly {@link google.privacy.dlp.v2.InfoTypeStats.verify|verify} messages.
+ * @param message InfoTypeStats message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.IInfoTypeStats, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified InfoTypeStats message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.InfoTypeStats.verify|verify} messages.
+ * @param message InfoTypeStats message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.IInfoTypeStats, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an InfoTypeStats message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns InfoTypeStats
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.InfoTypeStats;
+
+ /**
+ * Decodes an InfoTypeStats message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns InfoTypeStats
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.InfoTypeStats;
+
+ /**
+ * Verifies an InfoTypeStats message.
+ * @param message Plain 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 InfoTypeStats message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns InfoTypeStats
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.InfoTypeStats;
+
+ /**
+ * Creates a plain object from an InfoTypeStats message. Also converts values to other types if specified.
+ * @param message InfoTypeStats
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.InfoTypeStats, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this InfoTypeStats to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for InfoTypeStats
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of an InspectDataSourceDetails. */
+ interface IInspectDataSourceDetails {
+
+ /** InspectDataSourceDetails requestedOptions */
+ requestedOptions?: (google.privacy.dlp.v2.InspectDataSourceDetails.IRequestedOptions|null);
+
+ /** InspectDataSourceDetails result */
+ result?: (google.privacy.dlp.v2.InspectDataSourceDetails.IResult|null);
+ }
+
+ /** Represents an InspectDataSourceDetails. */
+ class InspectDataSourceDetails implements IInspectDataSourceDetails {
+
+ /**
+ * Constructs a new InspectDataSourceDetails.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.IInspectDataSourceDetails);
+
+ /** InspectDataSourceDetails requestedOptions. */
+ public requestedOptions?: (google.privacy.dlp.v2.InspectDataSourceDetails.IRequestedOptions|null);
+
+ /** InspectDataSourceDetails result. */
+ public result?: (google.privacy.dlp.v2.InspectDataSourceDetails.IResult|null);
+
+ /**
+ * Creates a new InspectDataSourceDetails instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns InspectDataSourceDetails instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.IInspectDataSourceDetails): google.privacy.dlp.v2.InspectDataSourceDetails;
+
+ /**
+ * Encodes the specified InspectDataSourceDetails message. Does not implicitly {@link google.privacy.dlp.v2.InspectDataSourceDetails.verify|verify} messages.
+ * @param message InspectDataSourceDetails message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.IInspectDataSourceDetails, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified InspectDataSourceDetails message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.InspectDataSourceDetails.verify|verify} messages.
+ * @param message InspectDataSourceDetails message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.IInspectDataSourceDetails, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an InspectDataSourceDetails message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns InspectDataSourceDetails
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.InspectDataSourceDetails;
+
+ /**
+ * Decodes an InspectDataSourceDetails message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns InspectDataSourceDetails
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.InspectDataSourceDetails;
+
+ /**
+ * Verifies an InspectDataSourceDetails message.
+ * @param message Plain 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 InspectDataSourceDetails message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns InspectDataSourceDetails
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.InspectDataSourceDetails;
+
+ /**
+ * Creates a plain object from an InspectDataSourceDetails message. Also converts values to other types if specified.
+ * @param message InspectDataSourceDetails
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.InspectDataSourceDetails, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this InspectDataSourceDetails to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for InspectDataSourceDetails
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace InspectDataSourceDetails {
+
+ /** Properties of a RequestedOptions. */
+ interface IRequestedOptions {
+
+ /** RequestedOptions snapshotInspectTemplate */
+ snapshotInspectTemplate?: (google.privacy.dlp.v2.IInspectTemplate|null);
+
+ /** RequestedOptions jobConfig */
+ jobConfig?: (google.privacy.dlp.v2.IInspectJobConfig|null);
+ }
+
+ /** Represents a RequestedOptions. */
+ class RequestedOptions implements IRequestedOptions {
+
+ /**
+ * Constructs a new RequestedOptions.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.InspectDataSourceDetails.IRequestedOptions);
+
+ /** RequestedOptions snapshotInspectTemplate. */
+ public snapshotInspectTemplate?: (google.privacy.dlp.v2.IInspectTemplate|null);
+
+ /** RequestedOptions jobConfig. */
+ public jobConfig?: (google.privacy.dlp.v2.IInspectJobConfig|null);
+
+ /**
+ * Creates a new RequestedOptions instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns RequestedOptions instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.InspectDataSourceDetails.IRequestedOptions): google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions;
+
+ /**
+ * Encodes the specified RequestedOptions message. Does not implicitly {@link google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions.verify|verify} messages.
+ * @param message RequestedOptions message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.InspectDataSourceDetails.IRequestedOptions, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified RequestedOptions message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions.verify|verify} messages.
+ * @param message RequestedOptions message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.InspectDataSourceDetails.IRequestedOptions, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a RequestedOptions message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns RequestedOptions
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions;
+
+ /**
+ * Decodes a RequestedOptions message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns RequestedOptions
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions;
+
+ /**
+ * Verifies a RequestedOptions message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a RequestedOptions message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns RequestedOptions
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions;
+
+ /**
+ * Creates a plain object from a RequestedOptions message. Also converts values to other types if specified.
+ * @param message RequestedOptions
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this RequestedOptions to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for RequestedOptions
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a Result. */
+ interface IResult {
+
+ /** Result processedBytes */
+ processedBytes?: (number|Long|string|null);
+
+ /** Result totalEstimatedBytes */
+ totalEstimatedBytes?: (number|Long|string|null);
+
+ /** Result infoTypeStats */
+ infoTypeStats?: (google.privacy.dlp.v2.IInfoTypeStats[]|null);
+
+ /** Result numRowsProcessed */
+ numRowsProcessed?: (number|Long|string|null);
+
+ /** Result hybridStats */
+ hybridStats?: (google.privacy.dlp.v2.IHybridInspectStatistics|null);
+ }
+
+ /** Represents a Result. */
+ class Result implements IResult {
+
+ /**
+ * Constructs a new Result.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.InspectDataSourceDetails.IResult);
+
+ /** Result processedBytes. */
+ public processedBytes: (number|Long|string);
+
+ /** Result totalEstimatedBytes. */
+ public totalEstimatedBytes: (number|Long|string);
+
+ /** Result infoTypeStats. */
+ public infoTypeStats: google.privacy.dlp.v2.IInfoTypeStats[];
+
+ /** Result numRowsProcessed. */
+ public numRowsProcessed: (number|Long|string);
+
+ /** Result hybridStats. */
+ public hybridStats?: (google.privacy.dlp.v2.IHybridInspectStatistics|null);
+
+ /**
+ * Creates a new Result instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns Result instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.InspectDataSourceDetails.IResult): google.privacy.dlp.v2.InspectDataSourceDetails.Result;
+
+ /**
+ * Encodes the specified Result message. Does not implicitly {@link google.privacy.dlp.v2.InspectDataSourceDetails.Result.verify|verify} messages.
+ * @param message Result message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.InspectDataSourceDetails.IResult, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified Result message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.InspectDataSourceDetails.Result.verify|verify} messages.
+ * @param message Result message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.InspectDataSourceDetails.IResult, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a Result message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns Result
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.InspectDataSourceDetails.Result;
+
+ /**
+ * Decodes a Result message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns Result
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.InspectDataSourceDetails.Result;
+
+ /**
+ * Verifies a Result message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a Result message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns Result
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.InspectDataSourceDetails.Result;
+
+ /**
+ * Creates a plain object from a Result message. Also converts values to other types if specified.
+ * @param message Result
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.InspectDataSourceDetails.Result, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this Result to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for Result
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+ }
+
+ /** Properties of a DataProfileBigQueryRowSchema. */
+ interface IDataProfileBigQueryRowSchema {
+
+ /** DataProfileBigQueryRowSchema tableProfile */
+ tableProfile?: (google.privacy.dlp.v2.ITableDataProfile|null);
+
+ /** DataProfileBigQueryRowSchema columnProfile */
+ columnProfile?: (google.privacy.dlp.v2.IColumnDataProfile|null);
+
+ /** DataProfileBigQueryRowSchema fileStoreProfile */
+ fileStoreProfile?: (google.privacy.dlp.v2.IFileStoreDataProfile|null);
+ }
+
+ /** Represents a DataProfileBigQueryRowSchema. */
+ class DataProfileBigQueryRowSchema implements IDataProfileBigQueryRowSchema {
+
+ /**
+ * Constructs a new DataProfileBigQueryRowSchema.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.IDataProfileBigQueryRowSchema);
+
+ /** DataProfileBigQueryRowSchema tableProfile. */
+ public tableProfile?: (google.privacy.dlp.v2.ITableDataProfile|null);
+
+ /** DataProfileBigQueryRowSchema columnProfile. */
+ public columnProfile?: (google.privacy.dlp.v2.IColumnDataProfile|null);
+
+ /** DataProfileBigQueryRowSchema fileStoreProfile. */
+ public fileStoreProfile?: (google.privacy.dlp.v2.IFileStoreDataProfile|null);
+
+ /** DataProfileBigQueryRowSchema dataProfile. */
+ public dataProfile?: ("tableProfile"|"columnProfile"|"fileStoreProfile");
+
+ /**
+ * Creates a new DataProfileBigQueryRowSchema instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns DataProfileBigQueryRowSchema instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.IDataProfileBigQueryRowSchema): google.privacy.dlp.v2.DataProfileBigQueryRowSchema;
+
+ /**
+ * Encodes the specified DataProfileBigQueryRowSchema message. Does not implicitly {@link google.privacy.dlp.v2.DataProfileBigQueryRowSchema.verify|verify} messages.
+ * @param message DataProfileBigQueryRowSchema message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.IDataProfileBigQueryRowSchema, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified DataProfileBigQueryRowSchema message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.DataProfileBigQueryRowSchema.verify|verify} messages.
+ * @param message DataProfileBigQueryRowSchema message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.IDataProfileBigQueryRowSchema, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a DataProfileBigQueryRowSchema message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns DataProfileBigQueryRowSchema
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.DataProfileBigQueryRowSchema;
+
+ /**
+ * Decodes a DataProfileBigQueryRowSchema message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns DataProfileBigQueryRowSchema
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.DataProfileBigQueryRowSchema;
+
+ /**
+ * Verifies a DataProfileBigQueryRowSchema message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a DataProfileBigQueryRowSchema message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns DataProfileBigQueryRowSchema
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.DataProfileBigQueryRowSchema;
+
+ /**
+ * Creates a plain object from a DataProfileBigQueryRowSchema message. Also converts values to other types if specified.
+ * @param message DataProfileBigQueryRowSchema
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.DataProfileBigQueryRowSchema, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this DataProfileBigQueryRowSchema to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for DataProfileBigQueryRowSchema
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a HybridInspectStatistics. */
+ interface IHybridInspectStatistics {
+
+ /** HybridInspectStatistics processedCount */
+ processedCount?: (number|Long|string|null);
+
+ /** HybridInspectStatistics abortedCount */
+ abortedCount?: (number|Long|string|null);
+
+ /** HybridInspectStatistics pendingCount */
+ pendingCount?: (number|Long|string|null);
+ }
+
+ /** Represents a HybridInspectStatistics. */
+ class HybridInspectStatistics implements IHybridInspectStatistics {
+
+ /**
+ * Constructs a new HybridInspectStatistics.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.IHybridInspectStatistics);
+
+ /** HybridInspectStatistics processedCount. */
+ public processedCount: (number|Long|string);
+
+ /** HybridInspectStatistics abortedCount. */
+ public abortedCount: (number|Long|string);
+
+ /** HybridInspectStatistics pendingCount. */
+ public pendingCount: (number|Long|string);
+
+ /**
+ * Creates a new HybridInspectStatistics instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns HybridInspectStatistics instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.IHybridInspectStatistics): google.privacy.dlp.v2.HybridInspectStatistics;
+
+ /**
+ * Encodes the specified HybridInspectStatistics message. Does not implicitly {@link google.privacy.dlp.v2.HybridInspectStatistics.verify|verify} messages.
+ * @param message HybridInspectStatistics message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.IHybridInspectStatistics, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified HybridInspectStatistics message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.HybridInspectStatistics.verify|verify} messages.
+ * @param message HybridInspectStatistics message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.IHybridInspectStatistics, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a HybridInspectStatistics message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns HybridInspectStatistics
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.HybridInspectStatistics;
+
+ /**
+ * Decodes a HybridInspectStatistics message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns HybridInspectStatistics
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.HybridInspectStatistics;
+
+ /**
+ * Verifies a HybridInspectStatistics message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a HybridInspectStatistics message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns HybridInspectStatistics
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.HybridInspectStatistics;
+
+ /**
+ * Creates a plain object from a HybridInspectStatistics message. Also converts values to other types if specified.
+ * @param message HybridInspectStatistics
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.HybridInspectStatistics, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this HybridInspectStatistics to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for HybridInspectStatistics
+ * @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 deidentifyDetails */
+ deidentifyDetails?: (google.privacy.dlp.v2.IDeidentifyDataSourceDetails|null);
+ }
+
+ /** Represents an ActionDetails. */
+ class ActionDetails implements IActionDetails {
+
+ /**
+ * Constructs a new ActionDetails.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.IActionDetails);
+
+ /** ActionDetails deidentifyDetails. */
+ public deidentifyDetails?: (google.privacy.dlp.v2.IDeidentifyDataSourceDetails|null);
+
+ /** ActionDetails details. */
+ public details?: "deidentifyDetails";
+
+ /**
+ * Creates a new ActionDetails instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ActionDetails instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.IActionDetails): google.privacy.dlp.v2.ActionDetails;
+
+ /**
+ * Encodes the specified ActionDetails message. Does not implicitly {@link google.privacy.dlp.v2.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.privacy.dlp.v2.IActionDetails, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ActionDetails message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.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.privacy.dlp.v2.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.privacy.dlp.v2.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.privacy.dlp.v2.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.privacy.dlp.v2.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.privacy.dlp.v2.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 DeidentifyDataSourceStats. */
+ interface IDeidentifyDataSourceStats {
+
+ /** DeidentifyDataSourceStats transformedBytes */
+ transformedBytes?: (number|Long|string|null);
+
+ /** DeidentifyDataSourceStats transformationCount */
+ transformationCount?: (number|Long|string|null);
+
+ /** DeidentifyDataSourceStats transformationErrorCount */
+ transformationErrorCount?: (number|Long|string|null);
+ }
+
+ /** Represents a DeidentifyDataSourceStats. */
+ class DeidentifyDataSourceStats implements IDeidentifyDataSourceStats {
+
+ /**
+ * Constructs a new DeidentifyDataSourceStats.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.IDeidentifyDataSourceStats);
+
+ /** DeidentifyDataSourceStats transformedBytes. */
+ public transformedBytes: (number|Long|string);
+
+ /** DeidentifyDataSourceStats transformationCount. */
+ public transformationCount: (number|Long|string);
+
+ /** DeidentifyDataSourceStats transformationErrorCount. */
+ public transformationErrorCount: (number|Long|string);
+
+ /**
+ * Creates a new DeidentifyDataSourceStats instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns DeidentifyDataSourceStats instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.IDeidentifyDataSourceStats): google.privacy.dlp.v2.DeidentifyDataSourceStats;
+
+ /**
+ * Encodes the specified DeidentifyDataSourceStats message. Does not implicitly {@link google.privacy.dlp.v2.DeidentifyDataSourceStats.verify|verify} messages.
+ * @param message DeidentifyDataSourceStats message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.IDeidentifyDataSourceStats, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified DeidentifyDataSourceStats message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.DeidentifyDataSourceStats.verify|verify} messages.
+ * @param message DeidentifyDataSourceStats message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.IDeidentifyDataSourceStats, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a DeidentifyDataSourceStats message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns DeidentifyDataSourceStats
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.DeidentifyDataSourceStats;
+
+ /**
+ * Decodes a DeidentifyDataSourceStats message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns DeidentifyDataSourceStats
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.DeidentifyDataSourceStats;
+
+ /**
+ * Verifies a DeidentifyDataSourceStats message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a DeidentifyDataSourceStats message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns DeidentifyDataSourceStats
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.DeidentifyDataSourceStats;
+
+ /**
+ * Creates a plain object from a DeidentifyDataSourceStats message. Also converts values to other types if specified.
+ * @param message DeidentifyDataSourceStats
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.DeidentifyDataSourceStats, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this DeidentifyDataSourceStats to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for DeidentifyDataSourceStats
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a DeidentifyDataSourceDetails. */
+ interface IDeidentifyDataSourceDetails {
+
+ /** DeidentifyDataSourceDetails requestedOptions */
+ requestedOptions?: (google.privacy.dlp.v2.DeidentifyDataSourceDetails.IRequestedDeidentifyOptions|null);
+
+ /** DeidentifyDataSourceDetails deidentifyStats */
+ deidentifyStats?: (google.privacy.dlp.v2.IDeidentifyDataSourceStats|null);
+ }
+
+ /** Represents a DeidentifyDataSourceDetails. */
+ class DeidentifyDataSourceDetails implements IDeidentifyDataSourceDetails {
+
+ /**
+ * Constructs a new DeidentifyDataSourceDetails.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.IDeidentifyDataSourceDetails);
+
+ /** DeidentifyDataSourceDetails requestedOptions. */
+ public requestedOptions?: (google.privacy.dlp.v2.DeidentifyDataSourceDetails.IRequestedDeidentifyOptions|null);
+
+ /** DeidentifyDataSourceDetails deidentifyStats. */
+ public deidentifyStats?: (google.privacy.dlp.v2.IDeidentifyDataSourceStats|null);
+
+ /**
+ * Creates a new DeidentifyDataSourceDetails instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns DeidentifyDataSourceDetails instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.IDeidentifyDataSourceDetails): google.privacy.dlp.v2.DeidentifyDataSourceDetails;
+
+ /**
+ * Encodes the specified DeidentifyDataSourceDetails message. Does not implicitly {@link google.privacy.dlp.v2.DeidentifyDataSourceDetails.verify|verify} messages.
+ * @param message DeidentifyDataSourceDetails message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.IDeidentifyDataSourceDetails, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified DeidentifyDataSourceDetails message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.DeidentifyDataSourceDetails.verify|verify} messages.
+ * @param message DeidentifyDataSourceDetails message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.IDeidentifyDataSourceDetails, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a DeidentifyDataSourceDetails message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns DeidentifyDataSourceDetails
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.DeidentifyDataSourceDetails;
+
+ /**
+ * Decodes a DeidentifyDataSourceDetails message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns DeidentifyDataSourceDetails
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.DeidentifyDataSourceDetails;
+
+ /**
+ * Verifies a DeidentifyDataSourceDetails message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a DeidentifyDataSourceDetails message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns DeidentifyDataSourceDetails
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.DeidentifyDataSourceDetails;
+
+ /**
+ * Creates a plain object from a DeidentifyDataSourceDetails message. Also converts values to other types if specified.
+ * @param message DeidentifyDataSourceDetails
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.DeidentifyDataSourceDetails, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this DeidentifyDataSourceDetails to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for DeidentifyDataSourceDetails
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace DeidentifyDataSourceDetails {
+
+ /** Properties of a RequestedDeidentifyOptions. */
+ interface IRequestedDeidentifyOptions {
+
+ /** RequestedDeidentifyOptions snapshotDeidentifyTemplate */
+ snapshotDeidentifyTemplate?: (google.privacy.dlp.v2.IDeidentifyTemplate|null);
+
+ /** RequestedDeidentifyOptions snapshotStructuredDeidentifyTemplate */
+ snapshotStructuredDeidentifyTemplate?: (google.privacy.dlp.v2.IDeidentifyTemplate|null);
+
+ /** RequestedDeidentifyOptions snapshotImageRedactTemplate */
+ snapshotImageRedactTemplate?: (google.privacy.dlp.v2.IDeidentifyTemplate|null);
+ }
+
+ /** Represents a RequestedDeidentifyOptions. */
+ class RequestedDeidentifyOptions implements IRequestedDeidentifyOptions {
+
+ /**
+ * Constructs a new RequestedDeidentifyOptions.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.DeidentifyDataSourceDetails.IRequestedDeidentifyOptions);
+
+ /** RequestedDeidentifyOptions snapshotDeidentifyTemplate. */
+ public snapshotDeidentifyTemplate?: (google.privacy.dlp.v2.IDeidentifyTemplate|null);
+
+ /** RequestedDeidentifyOptions snapshotStructuredDeidentifyTemplate. */
+ public snapshotStructuredDeidentifyTemplate?: (google.privacy.dlp.v2.IDeidentifyTemplate|null);
+
+ /** RequestedDeidentifyOptions snapshotImageRedactTemplate. */
+ public snapshotImageRedactTemplate?: (google.privacy.dlp.v2.IDeidentifyTemplate|null);
+
+ /**
+ * Creates a new RequestedDeidentifyOptions instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns RequestedDeidentifyOptions instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.DeidentifyDataSourceDetails.IRequestedDeidentifyOptions): google.privacy.dlp.v2.DeidentifyDataSourceDetails.RequestedDeidentifyOptions;
+
+ /**
+ * Encodes the specified RequestedDeidentifyOptions message. Does not implicitly {@link google.privacy.dlp.v2.DeidentifyDataSourceDetails.RequestedDeidentifyOptions.verify|verify} messages.
+ * @param message RequestedDeidentifyOptions message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.DeidentifyDataSourceDetails.IRequestedDeidentifyOptions, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified RequestedDeidentifyOptions message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.DeidentifyDataSourceDetails.RequestedDeidentifyOptions.verify|verify} messages.
+ * @param message RequestedDeidentifyOptions message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.DeidentifyDataSourceDetails.IRequestedDeidentifyOptions, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a RequestedDeidentifyOptions message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns RequestedDeidentifyOptions
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.DeidentifyDataSourceDetails.RequestedDeidentifyOptions;
+
+ /**
+ * Decodes a RequestedDeidentifyOptions message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns RequestedDeidentifyOptions
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.DeidentifyDataSourceDetails.RequestedDeidentifyOptions;
+
+ /**
+ * Verifies a RequestedDeidentifyOptions message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a RequestedDeidentifyOptions message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns RequestedDeidentifyOptions
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.DeidentifyDataSourceDetails.RequestedDeidentifyOptions;
+
+ /**
+ * Creates a plain object from a RequestedDeidentifyOptions message. Also converts values to other types if specified.
+ * @param message RequestedDeidentifyOptions
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.DeidentifyDataSourceDetails.RequestedDeidentifyOptions, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this RequestedDeidentifyOptions to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for RequestedDeidentifyOptions
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+ }
+
+ /** Properties of a LocationSupport. */
+ interface ILocationSupport {
+
+ /** LocationSupport regionalizationScope */
+ regionalizationScope?: (google.privacy.dlp.v2.LocationSupport.RegionalizationScope|keyof typeof google.privacy.dlp.v2.LocationSupport.RegionalizationScope|null);
+
+ /** LocationSupport locations */
+ locations?: (string[]|null);
+ }
+
+ /** Represents a LocationSupport. */
+ class LocationSupport implements ILocationSupport {
+
+ /**
+ * Constructs a new LocationSupport.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.ILocationSupport);
+
+ /** LocationSupport regionalizationScope. */
+ public regionalizationScope: (google.privacy.dlp.v2.LocationSupport.RegionalizationScope|keyof typeof google.privacy.dlp.v2.LocationSupport.RegionalizationScope);
+
+ /** LocationSupport locations. */
+ public locations: string[];
+
+ /**
+ * Creates a new LocationSupport instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns LocationSupport instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.ILocationSupport): google.privacy.dlp.v2.LocationSupport;
+
+ /**
+ * Encodes the specified LocationSupport message. Does not implicitly {@link google.privacy.dlp.v2.LocationSupport.verify|verify} messages.
+ * @param message LocationSupport message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.ILocationSupport, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified LocationSupport message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.LocationSupport.verify|verify} messages.
+ * @param message LocationSupport message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.ILocationSupport, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a LocationSupport message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns LocationSupport
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.LocationSupport;
+
+ /**
+ * Decodes a LocationSupport message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns LocationSupport
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.LocationSupport;
+
+ /**
+ * Verifies a LocationSupport message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a LocationSupport message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns LocationSupport
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.LocationSupport;
+
+ /**
+ * Creates a plain object from a LocationSupport message. Also converts values to other types if specified.
+ * @param message LocationSupport
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.LocationSupport, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this LocationSupport to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for LocationSupport
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace LocationSupport {
+
+ /** RegionalizationScope enum. */
+ enum RegionalizationScope {
+ REGIONALIZATION_SCOPE_UNSPECIFIED = 0,
+ REGIONAL = 1,
+ ANY_LOCATION = 2
+ }
+ }
+
+ /** Properties of an InfoTypeDescription. */
+ interface IInfoTypeDescription {
+
+ /** InfoTypeDescription name */
+ name?: (string|null);
+
+ /** InfoTypeDescription displayName */
+ displayName?: (string|null);
+
+ /** InfoTypeDescription supportedBy */
+ supportedBy?: (google.privacy.dlp.v2.InfoTypeSupportedBy[]|null);
+
+ /** InfoTypeDescription description */
+ description?: (string|null);
+
+ /** InfoTypeDescription locationSupport */
+ locationSupport?: (google.privacy.dlp.v2.ILocationSupport|null);
+
+ /** InfoTypeDescription example */
+ example?: (string|null);
+
+ /** InfoTypeDescription versions */
+ versions?: (google.privacy.dlp.v2.IVersionDescription[]|null);
+
+ /** InfoTypeDescription categories */
+ categories?: (google.privacy.dlp.v2.IInfoTypeCategory[]|null);
+
+ /** InfoTypeDescription sensitivityScore */
+ sensitivityScore?: (google.privacy.dlp.v2.ISensitivityScore|null);
+
+ /** InfoTypeDescription specificInfoTypes */
+ specificInfoTypes?: (string[]|null);
+ }
+
+ /** Represents an InfoTypeDescription. */
+ class InfoTypeDescription implements IInfoTypeDescription {
+
+ /**
+ * Constructs a new InfoTypeDescription.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.IInfoTypeDescription);
+
+ /** InfoTypeDescription name. */
+ public name: string;
+
+ /** InfoTypeDescription displayName. */
+ public displayName: string;
+
+ /** InfoTypeDescription supportedBy. */
+ public supportedBy: google.privacy.dlp.v2.InfoTypeSupportedBy[];
+
+ /** InfoTypeDescription description. */
+ public description: string;
+
+ /** InfoTypeDescription locationSupport. */
+ public locationSupport?: (google.privacy.dlp.v2.ILocationSupport|null);
+
+ /** InfoTypeDescription example. */
+ public example: string;
+
+ /** InfoTypeDescription versions. */
+ public versions: google.privacy.dlp.v2.IVersionDescription[];
+
+ /** InfoTypeDescription categories. */
+ public categories: google.privacy.dlp.v2.IInfoTypeCategory[];
+
+ /** InfoTypeDescription sensitivityScore. */
+ public sensitivityScore?: (google.privacy.dlp.v2.ISensitivityScore|null);
+
+ /** InfoTypeDescription specificInfoTypes. */
+ public specificInfoTypes: string[];
+
+ /**
+ * Creates a new InfoTypeDescription instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns InfoTypeDescription instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.IInfoTypeDescription): google.privacy.dlp.v2.InfoTypeDescription;
+
+ /**
+ * Encodes the specified InfoTypeDescription message. Does not implicitly {@link google.privacy.dlp.v2.InfoTypeDescription.verify|verify} messages.
+ * @param message InfoTypeDescription message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.IInfoTypeDescription, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified InfoTypeDescription message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.InfoTypeDescription.verify|verify} messages.
+ * @param message InfoTypeDescription message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.IInfoTypeDescription, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an InfoTypeDescription message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns InfoTypeDescription
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.InfoTypeDescription;
+
+ /**
+ * Decodes an InfoTypeDescription message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns InfoTypeDescription
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.InfoTypeDescription;
+
+ /**
+ * Verifies an InfoTypeDescription message.
+ * @param message Plain 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 InfoTypeDescription message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns InfoTypeDescription
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.InfoTypeDescription;
+
+ /**
+ * Creates a plain object from an InfoTypeDescription message. Also converts values to other types if specified.
+ * @param message InfoTypeDescription
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.InfoTypeDescription, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this InfoTypeDescription to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for InfoTypeDescription
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of an InfoTypeCategory. */
+ interface IInfoTypeCategory {
+
+ /** InfoTypeCategory locationCategory */
+ locationCategory?: (google.privacy.dlp.v2.InfoTypeCategory.LocationCategory|keyof typeof google.privacy.dlp.v2.InfoTypeCategory.LocationCategory|null);
+
+ /** InfoTypeCategory industryCategory */
+ industryCategory?: (google.privacy.dlp.v2.InfoTypeCategory.IndustryCategory|keyof typeof google.privacy.dlp.v2.InfoTypeCategory.IndustryCategory|null);
+
+ /** InfoTypeCategory typeCategory */
+ typeCategory?: (google.privacy.dlp.v2.InfoTypeCategory.TypeCategory|keyof typeof google.privacy.dlp.v2.InfoTypeCategory.TypeCategory|null);
+ }
+
+ /** Represents an InfoTypeCategory. */
+ class InfoTypeCategory implements IInfoTypeCategory {
+
+ /**
+ * Constructs a new InfoTypeCategory.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.IInfoTypeCategory);
+
+ /** InfoTypeCategory locationCategory. */
+ public locationCategory?: (google.privacy.dlp.v2.InfoTypeCategory.LocationCategory|keyof typeof google.privacy.dlp.v2.InfoTypeCategory.LocationCategory|null);
+
+ /** InfoTypeCategory industryCategory. */
+ public industryCategory?: (google.privacy.dlp.v2.InfoTypeCategory.IndustryCategory|keyof typeof google.privacy.dlp.v2.InfoTypeCategory.IndustryCategory|null);
+
+ /** InfoTypeCategory typeCategory. */
+ public typeCategory?: (google.privacy.dlp.v2.InfoTypeCategory.TypeCategory|keyof typeof google.privacy.dlp.v2.InfoTypeCategory.TypeCategory|null);
+
+ /** InfoTypeCategory category. */
+ public category?: ("locationCategory"|"industryCategory"|"typeCategory");
+
+ /**
+ * Creates a new InfoTypeCategory instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns InfoTypeCategory instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.IInfoTypeCategory): google.privacy.dlp.v2.InfoTypeCategory;
+
+ /**
+ * Encodes the specified InfoTypeCategory message. Does not implicitly {@link google.privacy.dlp.v2.InfoTypeCategory.verify|verify} messages.
+ * @param message InfoTypeCategory message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.IInfoTypeCategory, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified InfoTypeCategory message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.InfoTypeCategory.verify|verify} messages.
+ * @param message InfoTypeCategory message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.IInfoTypeCategory, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an InfoTypeCategory message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns InfoTypeCategory
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.InfoTypeCategory;
+
+ /**
+ * Decodes an InfoTypeCategory message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns InfoTypeCategory
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.InfoTypeCategory;
+
+ /**
+ * Verifies an InfoTypeCategory message.
+ * @param message Plain 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 InfoTypeCategory message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns InfoTypeCategory
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.InfoTypeCategory;
+
+ /**
+ * Creates a plain object from an InfoTypeCategory message. Also converts values to other types if specified.
+ * @param message InfoTypeCategory
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.InfoTypeCategory, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this InfoTypeCategory to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for InfoTypeCategory
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace InfoTypeCategory {
+
+ /** LocationCategory enum. */
+ enum LocationCategory {
+ LOCATION_UNSPECIFIED = 0,
+ GLOBAL = 1,
+ ARGENTINA = 2,
+ ARMENIA = 51,
+ AUSTRALIA = 3,
+ AUSTRIA = 53,
+ AZERBAIJAN = 48,
+ BELARUS = 50,
+ BELGIUM = 4,
+ BRAZIL = 5,
+ CANADA = 6,
+ CHILE = 7,
+ CHINA = 8,
+ COLOMBIA = 9,
+ CROATIA = 42,
+ CZECHIA = 52,
+ DENMARK = 10,
+ FRANCE = 11,
+ FINLAND = 12,
+ GERMANY = 13,
+ HONG_KONG = 14,
+ INDIA = 15,
+ INDONESIA = 16,
+ IRELAND = 17,
+ ISRAEL = 18,
+ ITALY = 19,
+ JAPAN = 20,
+ KAZAKHSTAN = 47,
+ KOREA = 21,
+ MEXICO = 22,
+ THE_NETHERLANDS = 23,
+ NEW_ZEALAND = 41,
+ NORWAY = 24,
+ PARAGUAY = 25,
+ PERU = 26,
+ POLAND = 27,
+ PORTUGAL = 28,
+ RUSSIA = 44,
+ SINGAPORE = 29,
+ SOUTH_AFRICA = 30,
+ SPAIN = 31,
+ SWEDEN = 32,
+ SWITZERLAND = 43,
+ TAIWAN = 33,
+ THAILAND = 34,
+ TURKEY = 35,
+ UKRAINE = 45,
+ UNITED_KINGDOM = 36,
+ UNITED_STATES = 37,
+ URUGUAY = 38,
+ UZBEKISTAN = 46,
+ VENEZUELA = 39,
+ INTERNAL = 40
+ }
+
+ /** IndustryCategory enum. */
+ enum IndustryCategory {
+ INDUSTRY_UNSPECIFIED = 0,
+ FINANCE = 1,
+ HEALTH = 2,
+ TELECOMMUNICATIONS = 3
+ }
+
+ /** TypeCategory enum. */
+ enum TypeCategory {
+ TYPE_UNSPECIFIED = 0,
+ PII = 1,
+ SPII = 2,
+ DEMOGRAPHIC = 3,
+ CREDENTIAL = 4,
+ GOVERNMENT_ID = 5,
+ DOCUMENT = 6,
+ CONTEXTUAL_INFORMATION = 7,
+ CUSTOM = 8
+ }
+ }
+
+ /** Properties of a VersionDescription. */
+ interface IVersionDescription {
+
+ /** VersionDescription version */
+ version?: (string|null);
+
+ /** VersionDescription description */
+ description?: (string|null);
+ }
+
+ /** Represents a VersionDescription. */
+ class VersionDescription implements IVersionDescription {
+
+ /**
+ * Constructs a new VersionDescription.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.IVersionDescription);
+
+ /** VersionDescription version. */
+ public version: string;
+
+ /** VersionDescription description. */
+ public description: string;
+
+ /**
+ * Creates a new VersionDescription instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns VersionDescription instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.IVersionDescription): google.privacy.dlp.v2.VersionDescription;
+
+ /**
+ * Encodes the specified VersionDescription message. Does not implicitly {@link google.privacy.dlp.v2.VersionDescription.verify|verify} messages.
+ * @param message VersionDescription message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.IVersionDescription, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified VersionDescription message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.VersionDescription.verify|verify} messages.
+ * @param message VersionDescription message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.IVersionDescription, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a VersionDescription message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns VersionDescription
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.VersionDescription;
+
+ /**
+ * Decodes a VersionDescription message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns VersionDescription
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.VersionDescription;
+
+ /**
+ * Verifies a VersionDescription message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a VersionDescription message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns VersionDescription
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.VersionDescription;
+
+ /**
+ * Creates a plain object from a VersionDescription message. Also converts values to other types if specified.
+ * @param message VersionDescription
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.VersionDescription, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this VersionDescription to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for VersionDescription
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a ListInfoTypesRequest. */
+ interface IListInfoTypesRequest {
+
+ /** ListInfoTypesRequest parent */
+ parent?: (string|null);
+
+ /** ListInfoTypesRequest languageCode */
+ languageCode?: (string|null);
+
+ /** ListInfoTypesRequest filter */
+ filter?: (string|null);
+
+ /** ListInfoTypesRequest locationId */
+ locationId?: (string|null);
+ }
+
+ /** Represents a ListInfoTypesRequest. */
+ class ListInfoTypesRequest implements IListInfoTypesRequest {
+
+ /**
+ * Constructs a new ListInfoTypesRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.IListInfoTypesRequest);
+
+ /** ListInfoTypesRequest parent. */
+ public parent: string;
+
+ /** ListInfoTypesRequest languageCode. */
+ public languageCode: string;
+
+ /** ListInfoTypesRequest filter. */
+ public filter: string;
+
+ /** ListInfoTypesRequest locationId. */
+ public locationId: string;
+
+ /**
+ * Creates a new ListInfoTypesRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ListInfoTypesRequest instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.IListInfoTypesRequest): google.privacy.dlp.v2.ListInfoTypesRequest;
+
+ /**
+ * Encodes the specified ListInfoTypesRequest message. Does not implicitly {@link google.privacy.dlp.v2.ListInfoTypesRequest.verify|verify} messages.
+ * @param message ListInfoTypesRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.IListInfoTypesRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ListInfoTypesRequest message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.ListInfoTypesRequest.verify|verify} messages.
+ * @param message ListInfoTypesRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.IListInfoTypesRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ListInfoTypesRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ListInfoTypesRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.ListInfoTypesRequest;
+
+ /**
+ * Decodes a ListInfoTypesRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ListInfoTypesRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.ListInfoTypesRequest;
+
+ /**
+ * Verifies a ListInfoTypesRequest message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a ListInfoTypesRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ListInfoTypesRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.ListInfoTypesRequest;
+
+ /**
+ * Creates a plain object from a ListInfoTypesRequest message. Also converts values to other types if specified.
+ * @param message ListInfoTypesRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.ListInfoTypesRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ListInfoTypesRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ListInfoTypesRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a ListInfoTypesResponse. */
+ interface IListInfoTypesResponse {
+
+ /** ListInfoTypesResponse infoTypes */
+ infoTypes?: (google.privacy.dlp.v2.IInfoTypeDescription[]|null);
+ }
+
+ /** Represents a ListInfoTypesResponse. */
+ class ListInfoTypesResponse implements IListInfoTypesResponse {
+
+ /**
+ * Constructs a new ListInfoTypesResponse.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.IListInfoTypesResponse);
+
+ /** ListInfoTypesResponse infoTypes. */
+ public infoTypes: google.privacy.dlp.v2.IInfoTypeDescription[];
+
+ /**
+ * Creates a new ListInfoTypesResponse instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ListInfoTypesResponse instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.IListInfoTypesResponse): google.privacy.dlp.v2.ListInfoTypesResponse;
+
+ /**
+ * Encodes the specified ListInfoTypesResponse message. Does not implicitly {@link google.privacy.dlp.v2.ListInfoTypesResponse.verify|verify} messages.
+ * @param message ListInfoTypesResponse message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.IListInfoTypesResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ListInfoTypesResponse message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.ListInfoTypesResponse.verify|verify} messages.
+ * @param message ListInfoTypesResponse message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.IListInfoTypesResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ListInfoTypesResponse message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ListInfoTypesResponse
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.ListInfoTypesResponse;
+
+ /**
+ * Decodes a ListInfoTypesResponse message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ListInfoTypesResponse
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.ListInfoTypesResponse;
+
+ /**
+ * Verifies a ListInfoTypesResponse message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a ListInfoTypesResponse message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ListInfoTypesResponse
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.ListInfoTypesResponse;
+
+ /**
+ * Creates a plain object from a ListInfoTypesResponse message. Also converts values to other types if specified.
+ * @param message ListInfoTypesResponse
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.ListInfoTypesResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ListInfoTypesResponse to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ListInfoTypesResponse
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a RiskAnalysisJobConfig. */
+ interface IRiskAnalysisJobConfig {
+
+ /** RiskAnalysisJobConfig privacyMetric */
+ privacyMetric?: (google.privacy.dlp.v2.IPrivacyMetric|null);
+
+ /** RiskAnalysisJobConfig sourceTable */
+ sourceTable?: (google.privacy.dlp.v2.IBigQueryTable|null);
+
+ /** RiskAnalysisJobConfig actions */
+ actions?: (google.privacy.dlp.v2.IAction[]|null);
+ }
+
+ /** Represents a RiskAnalysisJobConfig. */
+ class RiskAnalysisJobConfig implements IRiskAnalysisJobConfig {
+
+ /**
+ * Constructs a new RiskAnalysisJobConfig.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.IRiskAnalysisJobConfig);
+
+ /** RiskAnalysisJobConfig privacyMetric. */
+ public privacyMetric?: (google.privacy.dlp.v2.IPrivacyMetric|null);
+
+ /** RiskAnalysisJobConfig sourceTable. */
+ public sourceTable?: (google.privacy.dlp.v2.IBigQueryTable|null);
+
+ /** RiskAnalysisJobConfig actions. */
+ public actions: google.privacy.dlp.v2.IAction[];
+
+ /**
+ * Creates a new RiskAnalysisJobConfig instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns RiskAnalysisJobConfig instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.IRiskAnalysisJobConfig): google.privacy.dlp.v2.RiskAnalysisJobConfig;
+
+ /**
+ * Encodes the specified RiskAnalysisJobConfig message. Does not implicitly {@link google.privacy.dlp.v2.RiskAnalysisJobConfig.verify|verify} messages.
+ * @param message RiskAnalysisJobConfig message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.IRiskAnalysisJobConfig, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified RiskAnalysisJobConfig message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.RiskAnalysisJobConfig.verify|verify} messages.
+ * @param message RiskAnalysisJobConfig message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.IRiskAnalysisJobConfig, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a RiskAnalysisJobConfig message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns RiskAnalysisJobConfig
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.RiskAnalysisJobConfig;
+
+ /**
+ * Decodes a RiskAnalysisJobConfig message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns RiskAnalysisJobConfig
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.RiskAnalysisJobConfig;
+
+ /**
+ * Verifies a RiskAnalysisJobConfig message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a RiskAnalysisJobConfig message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns RiskAnalysisJobConfig
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.RiskAnalysisJobConfig;
+
+ /**
+ * Creates a plain object from a RiskAnalysisJobConfig message. Also converts values to other types if specified.
+ * @param message RiskAnalysisJobConfig
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.RiskAnalysisJobConfig, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this RiskAnalysisJobConfig to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for RiskAnalysisJobConfig
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a QuasiId. */
+ interface IQuasiId {
+
+ /** QuasiId field */
+ field?: (google.privacy.dlp.v2.IFieldId|null);
+
+ /** QuasiId infoType */
+ infoType?: (google.privacy.dlp.v2.IInfoType|null);
+
+ /** QuasiId customTag */
+ customTag?: (string|null);
+
+ /** QuasiId inferred */
+ inferred?: (google.protobuf.IEmpty|null);
+ }
+
+ /** Represents a QuasiId. */
+ class QuasiId implements IQuasiId {
+
+ /**
+ * Constructs a new QuasiId.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.IQuasiId);
+
+ /** QuasiId field. */
+ public field?: (google.privacy.dlp.v2.IFieldId|null);
+
+ /** QuasiId infoType. */
+ public infoType?: (google.privacy.dlp.v2.IInfoType|null);
+
+ /** QuasiId customTag. */
+ public customTag?: (string|null);
+
+ /** QuasiId inferred. */
+ public inferred?: (google.protobuf.IEmpty|null);
+
+ /** QuasiId tag. */
+ public tag?: ("infoType"|"customTag"|"inferred");
+
+ /**
+ * Creates a new QuasiId instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns QuasiId instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.IQuasiId): google.privacy.dlp.v2.QuasiId;
+
+ /**
+ * Encodes the specified QuasiId message. Does not implicitly {@link google.privacy.dlp.v2.QuasiId.verify|verify} messages.
+ * @param message QuasiId message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.IQuasiId, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified QuasiId message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.QuasiId.verify|verify} messages.
+ * @param message QuasiId message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.IQuasiId, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a QuasiId message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns QuasiId
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.QuasiId;
+
+ /**
+ * Decodes a QuasiId message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns QuasiId
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.QuasiId;
+
+ /**
+ * Verifies a QuasiId message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a QuasiId message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns QuasiId
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.QuasiId;
+
+ /**
+ * Creates a plain object from a QuasiId message. Also converts values to other types if specified.
+ * @param message QuasiId
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.QuasiId, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this QuasiId to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for QuasiId
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a StatisticalTable. */
+ interface IStatisticalTable {
+
+ /** StatisticalTable table */
+ table?: (google.privacy.dlp.v2.IBigQueryTable|null);
+
+ /** StatisticalTable quasiIds */
+ quasiIds?: (google.privacy.dlp.v2.StatisticalTable.IQuasiIdentifierField[]|null);
+
+ /** StatisticalTable relativeFrequency */
+ relativeFrequency?: (google.privacy.dlp.v2.IFieldId|null);
+ }
+
+ /** Represents a StatisticalTable. */
+ class StatisticalTable implements IStatisticalTable {
+
+ /**
+ * Constructs a new StatisticalTable.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.IStatisticalTable);
+
+ /** StatisticalTable table. */
+ public table?: (google.privacy.dlp.v2.IBigQueryTable|null);
+
+ /** StatisticalTable quasiIds. */
+ public quasiIds: google.privacy.dlp.v2.StatisticalTable.IQuasiIdentifierField[];
+
+ /** StatisticalTable relativeFrequency. */
+ public relativeFrequency?: (google.privacy.dlp.v2.IFieldId|null);
+
+ /**
+ * Creates a new StatisticalTable instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns StatisticalTable instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.IStatisticalTable): google.privacy.dlp.v2.StatisticalTable;
+
+ /**
+ * Encodes the specified StatisticalTable message. Does not implicitly {@link google.privacy.dlp.v2.StatisticalTable.verify|verify} messages.
+ * @param message StatisticalTable message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.IStatisticalTable, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified StatisticalTable message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.StatisticalTable.verify|verify} messages.
+ * @param message StatisticalTable message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.IStatisticalTable, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a StatisticalTable message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns StatisticalTable
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.StatisticalTable;
+
+ /**
+ * Decodes a StatisticalTable message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns StatisticalTable
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.StatisticalTable;
+
+ /**
+ * Verifies a StatisticalTable message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a StatisticalTable message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns StatisticalTable
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.StatisticalTable;
+
+ /**
+ * Creates a plain object from a StatisticalTable message. Also converts values to other types if specified.
+ * @param message StatisticalTable
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.StatisticalTable, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this StatisticalTable to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for StatisticalTable
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace StatisticalTable {
+
+ /** Properties of a QuasiIdentifierField. */
+ interface IQuasiIdentifierField {
+
+ /** QuasiIdentifierField field */
+ field?: (google.privacy.dlp.v2.IFieldId|null);
+
+ /** QuasiIdentifierField customTag */
+ customTag?: (string|null);
+ }
+
+ /** Represents a QuasiIdentifierField. */
+ class QuasiIdentifierField implements IQuasiIdentifierField {
+
+ /**
+ * Constructs a new QuasiIdentifierField.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.StatisticalTable.IQuasiIdentifierField);
+
+ /** QuasiIdentifierField field. */
+ public field?: (google.privacy.dlp.v2.IFieldId|null);
+
+ /** QuasiIdentifierField customTag. */
+ public customTag: string;
+
+ /**
+ * Creates a new QuasiIdentifierField instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns QuasiIdentifierField instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.StatisticalTable.IQuasiIdentifierField): google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField;
+
+ /**
+ * Encodes the specified QuasiIdentifierField message. Does not implicitly {@link google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField.verify|verify} messages.
+ * @param message QuasiIdentifierField message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.StatisticalTable.IQuasiIdentifierField, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified QuasiIdentifierField message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField.verify|verify} messages.
+ * @param message QuasiIdentifierField message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.StatisticalTable.IQuasiIdentifierField, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a QuasiIdentifierField message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns QuasiIdentifierField
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField;
+
+ /**
+ * Decodes a QuasiIdentifierField message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns QuasiIdentifierField
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField;
+
+ /**
+ * Verifies a QuasiIdentifierField message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a QuasiIdentifierField message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns QuasiIdentifierField
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField;
+
+ /**
+ * Creates a plain object from a QuasiIdentifierField message. Also converts values to other types if specified.
+ * @param message QuasiIdentifierField
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this QuasiIdentifierField to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for QuasiIdentifierField
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+ }
+
+ /** Properties of a PrivacyMetric. */
+ interface IPrivacyMetric {
+
+ /** PrivacyMetric numericalStatsConfig */
+ numericalStatsConfig?: (google.privacy.dlp.v2.PrivacyMetric.INumericalStatsConfig|null);
+
+ /** PrivacyMetric categoricalStatsConfig */
+ categoricalStatsConfig?: (google.privacy.dlp.v2.PrivacyMetric.ICategoricalStatsConfig|null);
+
+ /** PrivacyMetric kAnonymityConfig */
+ kAnonymityConfig?: (google.privacy.dlp.v2.PrivacyMetric.IKAnonymityConfig|null);
+
+ /** PrivacyMetric lDiversityConfig */
+ lDiversityConfig?: (google.privacy.dlp.v2.PrivacyMetric.ILDiversityConfig|null);
+
+ /** PrivacyMetric kMapEstimationConfig */
+ kMapEstimationConfig?: (google.privacy.dlp.v2.PrivacyMetric.IKMapEstimationConfig|null);
+
+ /** PrivacyMetric deltaPresenceEstimationConfig */
+ deltaPresenceEstimationConfig?: (google.privacy.dlp.v2.PrivacyMetric.IDeltaPresenceEstimationConfig|null);
+ }
+
+ /** Represents a PrivacyMetric. */
+ class PrivacyMetric implements IPrivacyMetric {
+
+ /**
+ * Constructs a new PrivacyMetric.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.IPrivacyMetric);
+
+ /** PrivacyMetric numericalStatsConfig. */
+ public numericalStatsConfig?: (google.privacy.dlp.v2.PrivacyMetric.INumericalStatsConfig|null);
+
+ /** PrivacyMetric categoricalStatsConfig. */
+ public categoricalStatsConfig?: (google.privacy.dlp.v2.PrivacyMetric.ICategoricalStatsConfig|null);
+
+ /** PrivacyMetric kAnonymityConfig. */
+ public kAnonymityConfig?: (google.privacy.dlp.v2.PrivacyMetric.IKAnonymityConfig|null);
+
+ /** PrivacyMetric lDiversityConfig. */
+ public lDiversityConfig?: (google.privacy.dlp.v2.PrivacyMetric.ILDiversityConfig|null);
+
+ /** PrivacyMetric kMapEstimationConfig. */
+ public kMapEstimationConfig?: (google.privacy.dlp.v2.PrivacyMetric.IKMapEstimationConfig|null);
+
+ /** PrivacyMetric deltaPresenceEstimationConfig. */
+ public deltaPresenceEstimationConfig?: (google.privacy.dlp.v2.PrivacyMetric.IDeltaPresenceEstimationConfig|null);
+
+ /** PrivacyMetric type. */
+ public type?: ("numericalStatsConfig"|"categoricalStatsConfig"|"kAnonymityConfig"|"lDiversityConfig"|"kMapEstimationConfig"|"deltaPresenceEstimationConfig");
+
+ /**
+ * Creates a new PrivacyMetric instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns PrivacyMetric instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.IPrivacyMetric): google.privacy.dlp.v2.PrivacyMetric;
+
+ /**
+ * Encodes the specified PrivacyMetric message. Does not implicitly {@link google.privacy.dlp.v2.PrivacyMetric.verify|verify} messages.
+ * @param message PrivacyMetric message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.IPrivacyMetric, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified PrivacyMetric message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.PrivacyMetric.verify|verify} messages.
+ * @param message PrivacyMetric message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.IPrivacyMetric, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a PrivacyMetric message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns PrivacyMetric
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.PrivacyMetric;
+
+ /**
+ * Decodes a PrivacyMetric message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns PrivacyMetric
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.PrivacyMetric;
+
+ /**
+ * Verifies a PrivacyMetric message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a PrivacyMetric message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns PrivacyMetric
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.PrivacyMetric;
+
+ /**
+ * Creates a plain object from a PrivacyMetric message. Also converts values to other types if specified.
+ * @param message PrivacyMetric
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.PrivacyMetric, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this PrivacyMetric to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for PrivacyMetric
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace PrivacyMetric {
+
+ /** Properties of a NumericalStatsConfig. */
+ interface INumericalStatsConfig {
+
+ /** NumericalStatsConfig field */
+ field?: (google.privacy.dlp.v2.IFieldId|null);
+ }
+
+ /** Represents a NumericalStatsConfig. */
+ class NumericalStatsConfig implements INumericalStatsConfig {
+
+ /**
+ * Constructs a new NumericalStatsConfig.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.PrivacyMetric.INumericalStatsConfig);
+
+ /** NumericalStatsConfig field. */
+ public field?: (google.privacy.dlp.v2.IFieldId|null);
+
+ /**
+ * Creates a new NumericalStatsConfig instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns NumericalStatsConfig instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.PrivacyMetric.INumericalStatsConfig): google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig;
+
+ /**
+ * Encodes the specified NumericalStatsConfig message. Does not implicitly {@link google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig.verify|verify} messages.
+ * @param message NumericalStatsConfig message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.PrivacyMetric.INumericalStatsConfig, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified NumericalStatsConfig message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig.verify|verify} messages.
+ * @param message NumericalStatsConfig message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.PrivacyMetric.INumericalStatsConfig, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a NumericalStatsConfig message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns NumericalStatsConfig
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig;
+
+ /**
+ * Decodes a NumericalStatsConfig message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns NumericalStatsConfig
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig;
+
+ /**
+ * Verifies a NumericalStatsConfig message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a NumericalStatsConfig message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns NumericalStatsConfig
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig;
+
+ /**
+ * Creates a plain object from a NumericalStatsConfig message. Also converts values to other types if specified.
+ * @param message NumericalStatsConfig
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this NumericalStatsConfig to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for NumericalStatsConfig
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a CategoricalStatsConfig. */
+ interface ICategoricalStatsConfig {
+
+ /** CategoricalStatsConfig field */
+ field?: (google.privacy.dlp.v2.IFieldId|null);
+ }
+
+ /** Represents a CategoricalStatsConfig. */
+ class CategoricalStatsConfig implements ICategoricalStatsConfig {
+
+ /**
+ * Constructs a new CategoricalStatsConfig.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.PrivacyMetric.ICategoricalStatsConfig);
+
+ /** CategoricalStatsConfig field. */
+ public field?: (google.privacy.dlp.v2.IFieldId|null);
+
+ /**
+ * Creates a new CategoricalStatsConfig instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns CategoricalStatsConfig instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.PrivacyMetric.ICategoricalStatsConfig): google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig;
+
+ /**
+ * Encodes the specified CategoricalStatsConfig message. Does not implicitly {@link google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig.verify|verify} messages.
+ * @param message CategoricalStatsConfig message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.PrivacyMetric.ICategoricalStatsConfig, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified CategoricalStatsConfig message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig.verify|verify} messages.
+ * @param message CategoricalStatsConfig message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.PrivacyMetric.ICategoricalStatsConfig, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a CategoricalStatsConfig message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns CategoricalStatsConfig
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig;
+
+ /**
+ * Decodes a CategoricalStatsConfig message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns CategoricalStatsConfig
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig;
+
+ /**
+ * Verifies a CategoricalStatsConfig message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a CategoricalStatsConfig message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns CategoricalStatsConfig
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig;
+
+ /**
+ * Creates a plain object from a CategoricalStatsConfig message. Also converts values to other types if specified.
+ * @param message CategoricalStatsConfig
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this CategoricalStatsConfig to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for CategoricalStatsConfig
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a KAnonymityConfig. */
+ interface IKAnonymityConfig {
+
+ /** KAnonymityConfig quasiIds */
+ quasiIds?: (google.privacy.dlp.v2.IFieldId[]|null);
+
+ /** KAnonymityConfig entityId */
+ entityId?: (google.privacy.dlp.v2.IEntityId|null);
+ }
+
+ /** Represents a KAnonymityConfig. */
+ class KAnonymityConfig implements IKAnonymityConfig {
+
+ /**
+ * Constructs a new KAnonymityConfig.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.PrivacyMetric.IKAnonymityConfig);
+
+ /** KAnonymityConfig quasiIds. */
+ public quasiIds: google.privacy.dlp.v2.IFieldId[];
+
+ /** KAnonymityConfig entityId. */
+ public entityId?: (google.privacy.dlp.v2.IEntityId|null);
+
+ /**
+ * Creates a new KAnonymityConfig instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns KAnonymityConfig instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.PrivacyMetric.IKAnonymityConfig): google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig;
+
+ /**
+ * Encodes the specified KAnonymityConfig message. Does not implicitly {@link google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig.verify|verify} messages.
+ * @param message KAnonymityConfig message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.PrivacyMetric.IKAnonymityConfig, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified KAnonymityConfig message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig.verify|verify} messages.
+ * @param message KAnonymityConfig message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.PrivacyMetric.IKAnonymityConfig, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a KAnonymityConfig message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns KAnonymityConfig
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig;
+
+ /**
+ * Decodes a KAnonymityConfig message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns KAnonymityConfig
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig;
+
+ /**
+ * Verifies a KAnonymityConfig message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a KAnonymityConfig message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns KAnonymityConfig
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig;
+
+ /**
+ * Creates a plain object from a KAnonymityConfig message. Also converts values to other types if specified.
+ * @param message KAnonymityConfig
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this KAnonymityConfig to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for KAnonymityConfig
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a LDiversityConfig. */
+ interface ILDiversityConfig {
+
+ /** LDiversityConfig quasiIds */
+ quasiIds?: (google.privacy.dlp.v2.IFieldId[]|null);
+
+ /** LDiversityConfig sensitiveAttribute */
+ sensitiveAttribute?: (google.privacy.dlp.v2.IFieldId|null);
+ }
+
+ /** Represents a LDiversityConfig. */
+ class LDiversityConfig implements ILDiversityConfig {
+
+ /**
+ * Constructs a new LDiversityConfig.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.PrivacyMetric.ILDiversityConfig);
+
+ /** LDiversityConfig quasiIds. */
+ public quasiIds: google.privacy.dlp.v2.IFieldId[];
+
+ /** LDiversityConfig sensitiveAttribute. */
+ public sensitiveAttribute?: (google.privacy.dlp.v2.IFieldId|null);
+
+ /**
+ * Creates a new LDiversityConfig instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns LDiversityConfig instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.PrivacyMetric.ILDiversityConfig): google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig;
+
+ /**
+ * Encodes the specified LDiversityConfig message. Does not implicitly {@link google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig.verify|verify} messages.
+ * @param message LDiversityConfig message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.PrivacyMetric.ILDiversityConfig, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified LDiversityConfig message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig.verify|verify} messages.
+ * @param message LDiversityConfig message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.PrivacyMetric.ILDiversityConfig, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a LDiversityConfig message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns LDiversityConfig
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig;
+
+ /**
+ * Decodes a LDiversityConfig message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns LDiversityConfig
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig;
+
+ /**
+ * Verifies a LDiversityConfig message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a LDiversityConfig message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns LDiversityConfig
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig;
+
+ /**
+ * Creates a plain object from a LDiversityConfig message. Also converts values to other types if specified.
+ * @param message LDiversityConfig
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this LDiversityConfig to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for LDiversityConfig
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a KMapEstimationConfig. */
+ interface IKMapEstimationConfig {
+
+ /** KMapEstimationConfig quasiIds */
+ quasiIds?: (google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.ITaggedField[]|null);
+
+ /** KMapEstimationConfig regionCode */
+ regionCode?: (string|null);
+
+ /** KMapEstimationConfig auxiliaryTables */
+ auxiliaryTables?: (google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.IAuxiliaryTable[]|null);
+ }
+
+ /** Represents a KMapEstimationConfig. */
+ class KMapEstimationConfig implements IKMapEstimationConfig {
+
+ /**
+ * Constructs a new KMapEstimationConfig.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.PrivacyMetric.IKMapEstimationConfig);
+
+ /** KMapEstimationConfig quasiIds. */
+ public quasiIds: google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.ITaggedField[];
+
+ /** KMapEstimationConfig regionCode. */
+ public regionCode: string;
+
+ /** KMapEstimationConfig auxiliaryTables. */
+ public auxiliaryTables: google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.IAuxiliaryTable[];
+
+ /**
+ * Creates a new KMapEstimationConfig instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns KMapEstimationConfig instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.PrivacyMetric.IKMapEstimationConfig): google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig;
+
+ /**
+ * Encodes the specified KMapEstimationConfig message. Does not implicitly {@link google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.verify|verify} messages.
+ * @param message KMapEstimationConfig message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.PrivacyMetric.IKMapEstimationConfig, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified KMapEstimationConfig message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.verify|verify} messages.
+ * @param message KMapEstimationConfig message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.PrivacyMetric.IKMapEstimationConfig, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a KMapEstimationConfig message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns KMapEstimationConfig
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig;
+
+ /**
+ * Decodes a KMapEstimationConfig message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns KMapEstimationConfig
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig;
+
+ /**
+ * Verifies a KMapEstimationConfig message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a KMapEstimationConfig message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns KMapEstimationConfig
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig;
+
+ /**
+ * Creates a plain object from a KMapEstimationConfig message. Also converts values to other types if specified.
+ * @param message KMapEstimationConfig
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this KMapEstimationConfig to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for KMapEstimationConfig
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace KMapEstimationConfig {
+
+ /** Properties of a TaggedField. */
+ interface ITaggedField {
+
+ /** TaggedField field */
+ field?: (google.privacy.dlp.v2.IFieldId|null);
+
+ /** TaggedField infoType */
+ infoType?: (google.privacy.dlp.v2.IInfoType|null);
+
+ /** TaggedField customTag */
+ customTag?: (string|null);
+
+ /** TaggedField inferred */
+ inferred?: (google.protobuf.IEmpty|null);
+ }
+
+ /** Represents a TaggedField. */
+ class TaggedField implements ITaggedField {
+
+ /**
+ * Constructs a new TaggedField.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.ITaggedField);
+
+ /** TaggedField field. */
+ public field?: (google.privacy.dlp.v2.IFieldId|null);
+
+ /** TaggedField infoType. */
+ public infoType?: (google.privacy.dlp.v2.IInfoType|null);
+
+ /** TaggedField customTag. */
+ public customTag?: (string|null);
+
+ /** TaggedField inferred. */
+ public inferred?: (google.protobuf.IEmpty|null);
+
+ /** TaggedField tag. */
+ public tag?: ("infoType"|"customTag"|"inferred");
+
+ /**
+ * Creates a new TaggedField instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns TaggedField instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.ITaggedField): google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField;
+
+ /**
+ * Encodes the specified TaggedField message. Does not implicitly {@link google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField.verify|verify} messages.
+ * @param message TaggedField message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.ITaggedField, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified TaggedField message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField.verify|verify} messages.
+ * @param message TaggedField message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.ITaggedField, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a TaggedField message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns TaggedField
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField;
+
+ /**
+ * Decodes a TaggedField message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns TaggedField
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField;
+
+ /**
+ * Verifies a TaggedField message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a TaggedField message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns TaggedField
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField;
+
+ /**
+ * Creates a plain object from a TaggedField message. Also converts values to other types if specified.
+ * @param message TaggedField
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this TaggedField to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for TaggedField
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of an AuxiliaryTable. */
+ interface IAuxiliaryTable {
+
+ /** AuxiliaryTable table */
+ table?: (google.privacy.dlp.v2.IBigQueryTable|null);
+
+ /** AuxiliaryTable quasiIds */
+ quasiIds?: (google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.IQuasiIdField[]|null);
+
+ /** AuxiliaryTable relativeFrequency */
+ relativeFrequency?: (google.privacy.dlp.v2.IFieldId|null);
+ }
+
+ /** Represents an AuxiliaryTable. */
+ class AuxiliaryTable implements IAuxiliaryTable {
+
+ /**
+ * Constructs a new AuxiliaryTable.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.IAuxiliaryTable);
+
+ /** AuxiliaryTable table. */
+ public table?: (google.privacy.dlp.v2.IBigQueryTable|null);
+
+ /** AuxiliaryTable quasiIds. */
+ public quasiIds: google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.IQuasiIdField[];
+
+ /** AuxiliaryTable relativeFrequency. */
+ public relativeFrequency?: (google.privacy.dlp.v2.IFieldId|null);
+
+ /**
+ * Creates a new AuxiliaryTable instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns AuxiliaryTable instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.IAuxiliaryTable): google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable;
+
+ /**
+ * Encodes the specified AuxiliaryTable message. Does not implicitly {@link google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.verify|verify} messages.
+ * @param message AuxiliaryTable message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.IAuxiliaryTable, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified AuxiliaryTable message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.verify|verify} messages.
+ * @param message AuxiliaryTable message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.IAuxiliaryTable, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an AuxiliaryTable message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns AuxiliaryTable
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable;
+
+ /**
+ * Decodes an AuxiliaryTable message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns AuxiliaryTable
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable;
+
+ /**
+ * Verifies an AuxiliaryTable message.
+ * @param message Plain 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 AuxiliaryTable message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns AuxiliaryTable
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable;
+
+ /**
+ * Creates a plain object from an AuxiliaryTable message. Also converts values to other types if specified.
+ * @param message AuxiliaryTable
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this AuxiliaryTable to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for AuxiliaryTable
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace AuxiliaryTable {
+
+ /** Properties of a QuasiIdField. */
+ interface IQuasiIdField {
+
+ /** QuasiIdField field */
+ field?: (google.privacy.dlp.v2.IFieldId|null);
+
+ /** QuasiIdField customTag */
+ customTag?: (string|null);
+ }
+
+ /** Represents a QuasiIdField. */
+ class QuasiIdField implements IQuasiIdField {
+
+ /**
+ * Constructs a new QuasiIdField.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.IQuasiIdField);
+
+ /** QuasiIdField field. */
+ public field?: (google.privacy.dlp.v2.IFieldId|null);
+
+ /** QuasiIdField customTag. */
+ public customTag: string;
+
+ /**
+ * Creates a new QuasiIdField instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns QuasiIdField instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.IQuasiIdField): google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField;
+
+ /**
+ * Encodes the specified QuasiIdField message. Does not implicitly {@link google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField.verify|verify} messages.
+ * @param message QuasiIdField message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.IQuasiIdField, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified QuasiIdField message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField.verify|verify} messages.
+ * @param message QuasiIdField message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.IQuasiIdField, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a QuasiIdField message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns QuasiIdField
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField;
+
+ /**
+ * Decodes a QuasiIdField message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns QuasiIdField
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField;
+
+ /**
+ * Verifies a QuasiIdField message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a QuasiIdField message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns QuasiIdField
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField;
+
+ /**
+ * Creates a plain object from a QuasiIdField message. Also converts values to other types if specified.
+ * @param message QuasiIdField
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this QuasiIdField to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for QuasiIdField
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+ }
+ }
+
+ /** Properties of a DeltaPresenceEstimationConfig. */
+ interface IDeltaPresenceEstimationConfig {
+
+ /** DeltaPresenceEstimationConfig quasiIds */
+ quasiIds?: (google.privacy.dlp.v2.IQuasiId[]|null);
+
+ /** DeltaPresenceEstimationConfig regionCode */
+ regionCode?: (string|null);
+
+ /** DeltaPresenceEstimationConfig auxiliaryTables */
+ auxiliaryTables?: (google.privacy.dlp.v2.IStatisticalTable[]|null);
+ }
+
+ /** Represents a DeltaPresenceEstimationConfig. */
+ class DeltaPresenceEstimationConfig implements IDeltaPresenceEstimationConfig {
+
+ /**
+ * Constructs a new DeltaPresenceEstimationConfig.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.PrivacyMetric.IDeltaPresenceEstimationConfig);
+
+ /** DeltaPresenceEstimationConfig quasiIds. */
+ public quasiIds: google.privacy.dlp.v2.IQuasiId[];
+
+ /** DeltaPresenceEstimationConfig regionCode. */
+ public regionCode: string;
+
+ /** DeltaPresenceEstimationConfig auxiliaryTables. */
+ public auxiliaryTables: google.privacy.dlp.v2.IStatisticalTable[];
+
+ /**
+ * Creates a new DeltaPresenceEstimationConfig instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns DeltaPresenceEstimationConfig instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.PrivacyMetric.IDeltaPresenceEstimationConfig): google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig;
+
+ /**
+ * Encodes the specified DeltaPresenceEstimationConfig message. Does not implicitly {@link google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig.verify|verify} messages.
+ * @param message DeltaPresenceEstimationConfig message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.PrivacyMetric.IDeltaPresenceEstimationConfig, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified DeltaPresenceEstimationConfig message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig.verify|verify} messages.
+ * @param message DeltaPresenceEstimationConfig message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.PrivacyMetric.IDeltaPresenceEstimationConfig, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a DeltaPresenceEstimationConfig message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns DeltaPresenceEstimationConfig
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig;
+
+ /**
+ * Decodes a DeltaPresenceEstimationConfig message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns DeltaPresenceEstimationConfig
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig;
+
+ /**
+ * Verifies a DeltaPresenceEstimationConfig message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a DeltaPresenceEstimationConfig message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns DeltaPresenceEstimationConfig
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig;
+
+ /**
+ * Creates a plain object from a DeltaPresenceEstimationConfig message. Also converts values to other types if specified.
+ * @param message DeltaPresenceEstimationConfig
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfig, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this DeltaPresenceEstimationConfig to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for DeltaPresenceEstimationConfig
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+ }
+
+ /** Properties of an AnalyzeDataSourceRiskDetails. */
+ interface IAnalyzeDataSourceRiskDetails {
+
+ /** AnalyzeDataSourceRiskDetails requestedPrivacyMetric */
+ requestedPrivacyMetric?: (google.privacy.dlp.v2.IPrivacyMetric|null);
+
+ /** AnalyzeDataSourceRiskDetails requestedSourceTable */
+ requestedSourceTable?: (google.privacy.dlp.v2.IBigQueryTable|null);
+
+ /** AnalyzeDataSourceRiskDetails numericalStatsResult */
+ numericalStatsResult?: (google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.INumericalStatsResult|null);
+
+ /** AnalyzeDataSourceRiskDetails categoricalStatsResult */
+ categoricalStatsResult?: (google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.ICategoricalStatsResult|null);
+
+ /** AnalyzeDataSourceRiskDetails kAnonymityResult */
+ kAnonymityResult?: (google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.IKAnonymityResult|null);
+
+ /** AnalyzeDataSourceRiskDetails lDiversityResult */
+ lDiversityResult?: (google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.ILDiversityResult|null);
+
+ /** AnalyzeDataSourceRiskDetails kMapEstimationResult */
+ kMapEstimationResult?: (google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.IKMapEstimationResult|null);
+
+ /** AnalyzeDataSourceRiskDetails deltaPresenceEstimationResult */
+ deltaPresenceEstimationResult?: (google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.IDeltaPresenceEstimationResult|null);
+
+ /** AnalyzeDataSourceRiskDetails requestedOptions */
+ requestedOptions?: (google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.IRequestedRiskAnalysisOptions|null);
+ }
+
+ /** Represents an AnalyzeDataSourceRiskDetails. */
+ class AnalyzeDataSourceRiskDetails implements IAnalyzeDataSourceRiskDetails {
+
+ /**
+ * Constructs a new AnalyzeDataSourceRiskDetails.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.IAnalyzeDataSourceRiskDetails);
+
+ /** AnalyzeDataSourceRiskDetails requestedPrivacyMetric. */
+ public requestedPrivacyMetric?: (google.privacy.dlp.v2.IPrivacyMetric|null);
+
+ /** AnalyzeDataSourceRiskDetails requestedSourceTable. */
+ public requestedSourceTable?: (google.privacy.dlp.v2.IBigQueryTable|null);
+
+ /** AnalyzeDataSourceRiskDetails numericalStatsResult. */
+ public numericalStatsResult?: (google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.INumericalStatsResult|null);
+
+ /** AnalyzeDataSourceRiskDetails categoricalStatsResult. */
+ public categoricalStatsResult?: (google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.ICategoricalStatsResult|null);
+
+ /** AnalyzeDataSourceRiskDetails kAnonymityResult. */
+ public kAnonymityResult?: (google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.IKAnonymityResult|null);
+
+ /** AnalyzeDataSourceRiskDetails lDiversityResult. */
+ public lDiversityResult?: (google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.ILDiversityResult|null);
+
+ /** AnalyzeDataSourceRiskDetails kMapEstimationResult. */
+ public kMapEstimationResult?: (google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.IKMapEstimationResult|null);
+
+ /** AnalyzeDataSourceRiskDetails deltaPresenceEstimationResult. */
+ public deltaPresenceEstimationResult?: (google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.IDeltaPresenceEstimationResult|null);
+
+ /** AnalyzeDataSourceRiskDetails requestedOptions. */
+ public requestedOptions?: (google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.IRequestedRiskAnalysisOptions|null);
+
+ /** AnalyzeDataSourceRiskDetails result. */
+ public result?: ("numericalStatsResult"|"categoricalStatsResult"|"kAnonymityResult"|"lDiversityResult"|"kMapEstimationResult"|"deltaPresenceEstimationResult");
+
+ /**
+ * Creates a new AnalyzeDataSourceRiskDetails instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns AnalyzeDataSourceRiskDetails instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.IAnalyzeDataSourceRiskDetails): google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails;
+
+ /**
+ * Encodes the specified AnalyzeDataSourceRiskDetails message. Does not implicitly {@link google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.verify|verify} messages.
+ * @param message AnalyzeDataSourceRiskDetails message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.IAnalyzeDataSourceRiskDetails, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified AnalyzeDataSourceRiskDetails message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.verify|verify} messages.
+ * @param message AnalyzeDataSourceRiskDetails message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.IAnalyzeDataSourceRiskDetails, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an AnalyzeDataSourceRiskDetails message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns AnalyzeDataSourceRiskDetails
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails;
+
+ /**
+ * Decodes an AnalyzeDataSourceRiskDetails message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns AnalyzeDataSourceRiskDetails
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails;
+
+ /**
+ * Verifies an AnalyzeDataSourceRiskDetails message.
+ * @param message Plain 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 AnalyzeDataSourceRiskDetails message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns AnalyzeDataSourceRiskDetails
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails;
+
+ /**
+ * Creates a plain object from an AnalyzeDataSourceRiskDetails message. Also converts values to other types if specified.
+ * @param message AnalyzeDataSourceRiskDetails
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this AnalyzeDataSourceRiskDetails to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for AnalyzeDataSourceRiskDetails
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace AnalyzeDataSourceRiskDetails {
+
+ /** Properties of a NumericalStatsResult. */
+ interface INumericalStatsResult {
+
+ /** NumericalStatsResult minValue */
+ minValue?: (google.privacy.dlp.v2.IValue|null);
+
+ /** NumericalStatsResult maxValue */
+ maxValue?: (google.privacy.dlp.v2.IValue|null);
+
+ /** NumericalStatsResult quantileValues */
+ quantileValues?: (google.privacy.dlp.v2.IValue[]|null);
+ }
+
+ /** Represents a NumericalStatsResult. */
+ class NumericalStatsResult implements INumericalStatsResult {
+
+ /**
+ * Constructs a new NumericalStatsResult.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.INumericalStatsResult);
+
+ /** NumericalStatsResult minValue. */
+ public minValue?: (google.privacy.dlp.v2.IValue|null);
+
+ /** NumericalStatsResult maxValue. */
+ public maxValue?: (google.privacy.dlp.v2.IValue|null);
+
+ /** NumericalStatsResult quantileValues. */
+ public quantileValues: google.privacy.dlp.v2.IValue[];
+
+ /**
+ * Creates a new NumericalStatsResult instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns NumericalStatsResult instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.INumericalStatsResult): google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult;
+
+ /**
+ * Encodes the specified NumericalStatsResult message. Does not implicitly {@link google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult.verify|verify} messages.
+ * @param message NumericalStatsResult message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.INumericalStatsResult, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified NumericalStatsResult message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult.verify|verify} messages.
+ * @param message NumericalStatsResult message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.INumericalStatsResult, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a NumericalStatsResult message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns NumericalStatsResult
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult;
+
+ /**
+ * Decodes a NumericalStatsResult message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns NumericalStatsResult
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult;
+
+ /**
+ * Verifies a NumericalStatsResult message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a NumericalStatsResult message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns NumericalStatsResult
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult;
+
+ /**
+ * Creates a plain object from a NumericalStatsResult message. Also converts values to other types if specified.
+ * @param message NumericalStatsResult
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this NumericalStatsResult to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for NumericalStatsResult
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a CategoricalStatsResult. */
+ interface ICategoricalStatsResult {
+
+ /** CategoricalStatsResult valueFrequencyHistogramBuckets */
+ valueFrequencyHistogramBuckets?: (google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.ICategoricalStatsHistogramBucket[]|null);
+ }
+
+ /** Represents a CategoricalStatsResult. */
+ class CategoricalStatsResult implements ICategoricalStatsResult {
+
+ /**
+ * Constructs a new CategoricalStatsResult.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.ICategoricalStatsResult);
+
+ /** CategoricalStatsResult valueFrequencyHistogramBuckets. */
+ public valueFrequencyHistogramBuckets: google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.ICategoricalStatsHistogramBucket[];
+
+ /**
+ * Creates a new CategoricalStatsResult instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns CategoricalStatsResult instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.ICategoricalStatsResult): google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult;
+
+ /**
+ * Encodes the specified CategoricalStatsResult message. Does not implicitly {@link google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.verify|verify} messages.
+ * @param message CategoricalStatsResult message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.ICategoricalStatsResult, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified CategoricalStatsResult message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.verify|verify} messages.
+ * @param message CategoricalStatsResult message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.ICategoricalStatsResult, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a CategoricalStatsResult message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns CategoricalStatsResult
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult;
+
+ /**
+ * Decodes a CategoricalStatsResult message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns CategoricalStatsResult
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult;
+
+ /**
+ * Verifies a CategoricalStatsResult message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a CategoricalStatsResult message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns CategoricalStatsResult
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult;
+
+ /**
+ * Creates a plain object from a CategoricalStatsResult message. Also converts values to other types if specified.
+ * @param message CategoricalStatsResult
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this CategoricalStatsResult to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for CategoricalStatsResult
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace CategoricalStatsResult {
+
+ /** Properties of a CategoricalStatsHistogramBucket. */
+ interface ICategoricalStatsHistogramBucket {
+
+ /** CategoricalStatsHistogramBucket valueFrequencyLowerBound */
+ valueFrequencyLowerBound?: (number|Long|string|null);
+
+ /** CategoricalStatsHistogramBucket valueFrequencyUpperBound */
+ valueFrequencyUpperBound?: (number|Long|string|null);
+
+ /** CategoricalStatsHistogramBucket bucketSize */
+ bucketSize?: (number|Long|string|null);
+
+ /** CategoricalStatsHistogramBucket bucketValues */
+ bucketValues?: (google.privacy.dlp.v2.IValueFrequency[]|null);
+
+ /** CategoricalStatsHistogramBucket bucketValueCount */
+ bucketValueCount?: (number|Long|string|null);
+ }
+
+ /** Represents a CategoricalStatsHistogramBucket. */
+ class CategoricalStatsHistogramBucket implements ICategoricalStatsHistogramBucket {
+
+ /**
+ * Constructs a new CategoricalStatsHistogramBucket.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.ICategoricalStatsHistogramBucket);
+
+ /** CategoricalStatsHistogramBucket valueFrequencyLowerBound. */
+ public valueFrequencyLowerBound: (number|Long|string);
+
+ /** CategoricalStatsHistogramBucket valueFrequencyUpperBound. */
+ public valueFrequencyUpperBound: (number|Long|string);
+
+ /** CategoricalStatsHistogramBucket bucketSize. */
+ public bucketSize: (number|Long|string);
+
+ /** CategoricalStatsHistogramBucket bucketValues. */
+ public bucketValues: google.privacy.dlp.v2.IValueFrequency[];
+
+ /** CategoricalStatsHistogramBucket bucketValueCount. */
+ public bucketValueCount: (number|Long|string);
+
+ /**
+ * Creates a new CategoricalStatsHistogramBucket instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns CategoricalStatsHistogramBucket instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.ICategoricalStatsHistogramBucket): google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket;
+
+ /**
+ * Encodes the specified CategoricalStatsHistogramBucket message. Does not implicitly {@link google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket.verify|verify} messages.
+ * @param message CategoricalStatsHistogramBucket message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.ICategoricalStatsHistogramBucket, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified CategoricalStatsHistogramBucket message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket.verify|verify} messages.
+ * @param message CategoricalStatsHistogramBucket message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.ICategoricalStatsHistogramBucket, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a CategoricalStatsHistogramBucket message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns CategoricalStatsHistogramBucket
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket;
+
+ /**
+ * Decodes a CategoricalStatsHistogramBucket message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns CategoricalStatsHistogramBucket
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket;
+
+ /**
+ * Verifies a CategoricalStatsHistogramBucket message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a CategoricalStatsHistogramBucket message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns CategoricalStatsHistogramBucket
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket;
+
+ /**
+ * Creates a plain object from a CategoricalStatsHistogramBucket message. Also converts values to other types if specified.
+ * @param message CategoricalStatsHistogramBucket
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this CategoricalStatsHistogramBucket to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for CategoricalStatsHistogramBucket
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+ }
+
+ /** Properties of a KAnonymityResult. */
+ interface IKAnonymityResult {
+
+ /** KAnonymityResult equivalenceClassHistogramBuckets */
+ equivalenceClassHistogramBuckets?: (google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.IKAnonymityHistogramBucket[]|null);
+ }
+
+ /** Represents a KAnonymityResult. */
+ class KAnonymityResult implements IKAnonymityResult {
+
+ /**
+ * Constructs a new KAnonymityResult.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.IKAnonymityResult);
+
+ /** KAnonymityResult equivalenceClassHistogramBuckets. */
+ public equivalenceClassHistogramBuckets: google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.IKAnonymityHistogramBucket[];
+
+ /**
+ * Creates a new KAnonymityResult instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns KAnonymityResult instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.IKAnonymityResult): google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult;
+
+ /**
+ * Encodes the specified KAnonymityResult message. Does not implicitly {@link google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.verify|verify} messages.
+ * @param message KAnonymityResult message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.IKAnonymityResult, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified KAnonymityResult message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.verify|verify} messages.
+ * @param message KAnonymityResult message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.IKAnonymityResult, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a KAnonymityResult message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns KAnonymityResult
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult;
+
+ /**
+ * Decodes a KAnonymityResult message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns KAnonymityResult
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult;
+
+ /**
+ * Verifies a KAnonymityResult message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a KAnonymityResult message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns KAnonymityResult
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult;
+
+ /**
+ * Creates a plain object from a KAnonymityResult message. Also converts values to other types if specified.
+ * @param message KAnonymityResult
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this KAnonymityResult to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for KAnonymityResult
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace KAnonymityResult {
+
+ /** Properties of a KAnonymityEquivalenceClass. */
+ interface IKAnonymityEquivalenceClass {
+
+ /** KAnonymityEquivalenceClass quasiIdsValues */
+ quasiIdsValues?: (google.privacy.dlp.v2.IValue[]|null);
+
+ /** KAnonymityEquivalenceClass equivalenceClassSize */
+ equivalenceClassSize?: (number|Long|string|null);
+ }
+
+ /** Represents a KAnonymityEquivalenceClass. */
+ class KAnonymityEquivalenceClass implements IKAnonymityEquivalenceClass {
+
+ /**
+ * Constructs a new KAnonymityEquivalenceClass.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.IKAnonymityEquivalenceClass);
+
+ /** KAnonymityEquivalenceClass quasiIdsValues. */
+ public quasiIdsValues: google.privacy.dlp.v2.IValue[];
+
+ /** KAnonymityEquivalenceClass equivalenceClassSize. */
+ public equivalenceClassSize: (number|Long|string);
+
+ /**
+ * Creates a new KAnonymityEquivalenceClass instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns KAnonymityEquivalenceClass instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.IKAnonymityEquivalenceClass): google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass;
+
+ /**
+ * Encodes the specified KAnonymityEquivalenceClass message. Does not implicitly {@link google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass.verify|verify} messages.
+ * @param message KAnonymityEquivalenceClass message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.IKAnonymityEquivalenceClass, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified KAnonymityEquivalenceClass message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass.verify|verify} messages.
+ * @param message KAnonymityEquivalenceClass message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.IKAnonymityEquivalenceClass, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a KAnonymityEquivalenceClass message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns KAnonymityEquivalenceClass
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass;
+
+ /**
+ * Decodes a KAnonymityEquivalenceClass message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns KAnonymityEquivalenceClass
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass;
+
+ /**
+ * Verifies a KAnonymityEquivalenceClass message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a KAnonymityEquivalenceClass message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns KAnonymityEquivalenceClass
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass;
+
+ /**
+ * Creates a plain object from a KAnonymityEquivalenceClass message. Also converts values to other types if specified.
+ * @param message KAnonymityEquivalenceClass
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this KAnonymityEquivalenceClass to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for KAnonymityEquivalenceClass
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a KAnonymityHistogramBucket. */
+ interface IKAnonymityHistogramBucket {
+
+ /** KAnonymityHistogramBucket equivalenceClassSizeLowerBound */
+ equivalenceClassSizeLowerBound?: (number|Long|string|null);
+
+ /** KAnonymityHistogramBucket equivalenceClassSizeUpperBound */
+ equivalenceClassSizeUpperBound?: (number|Long|string|null);
+
+ /** KAnonymityHistogramBucket bucketSize */
+ bucketSize?: (number|Long|string|null);
+
+ /** KAnonymityHistogramBucket bucketValues */
+ bucketValues?: (google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.IKAnonymityEquivalenceClass[]|null);
+
+ /** KAnonymityHistogramBucket bucketValueCount */
+ bucketValueCount?: (number|Long|string|null);
+ }
+
+ /** Represents a KAnonymityHistogramBucket. */
+ class KAnonymityHistogramBucket implements IKAnonymityHistogramBucket {
+
+ /**
+ * Constructs a new KAnonymityHistogramBucket.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.IKAnonymityHistogramBucket);
+
+ /** KAnonymityHistogramBucket equivalenceClassSizeLowerBound. */
+ public equivalenceClassSizeLowerBound: (number|Long|string);
+
+ /** KAnonymityHistogramBucket equivalenceClassSizeUpperBound. */
+ public equivalenceClassSizeUpperBound: (number|Long|string);
+
+ /** KAnonymityHistogramBucket bucketSize. */
+ public bucketSize: (number|Long|string);
+
+ /** KAnonymityHistogramBucket bucketValues. */
+ public bucketValues: google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.IKAnonymityEquivalenceClass[];
+
+ /** KAnonymityHistogramBucket bucketValueCount. */
+ public bucketValueCount: (number|Long|string);
+
+ /**
+ * Creates a new KAnonymityHistogramBucket instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns KAnonymityHistogramBucket instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.IKAnonymityHistogramBucket): google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket;
+
+ /**
+ * Encodes the specified KAnonymityHistogramBucket message. Does not implicitly {@link google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket.verify|verify} messages.
+ * @param message KAnonymityHistogramBucket message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.IKAnonymityHistogramBucket, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified KAnonymityHistogramBucket message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket.verify|verify} messages.
+ * @param message KAnonymityHistogramBucket message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.IKAnonymityHistogramBucket, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a KAnonymityHistogramBucket message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns KAnonymityHistogramBucket
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket;
+
+ /**
+ * Decodes a KAnonymityHistogramBucket message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns KAnonymityHistogramBucket
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket;
+
+ /**
+ * Verifies a KAnonymityHistogramBucket message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a KAnonymityHistogramBucket message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns KAnonymityHistogramBucket
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket;
+
+ /**
+ * Creates a plain object from a KAnonymityHistogramBucket message. Also converts values to other types if specified.
+ * @param message KAnonymityHistogramBucket
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this KAnonymityHistogramBucket to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for KAnonymityHistogramBucket
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+ }
+
+ /** Properties of a LDiversityResult. */
+ interface ILDiversityResult {
+
+ /** LDiversityResult sensitiveValueFrequencyHistogramBuckets */
+ sensitiveValueFrequencyHistogramBuckets?: (google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.ILDiversityHistogramBucket[]|null);
+ }
+
+ /** Represents a LDiversityResult. */
+ class LDiversityResult implements ILDiversityResult {
+
+ /**
+ * Constructs a new LDiversityResult.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.ILDiversityResult);
+
+ /** LDiversityResult sensitiveValueFrequencyHistogramBuckets. */
+ public sensitiveValueFrequencyHistogramBuckets: google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.ILDiversityHistogramBucket[];
+
+ /**
+ * Creates a new LDiversityResult instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns LDiversityResult instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.ILDiversityResult): google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult;
+
+ /**
+ * Encodes the specified LDiversityResult message. Does not implicitly {@link google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.verify|verify} messages.
+ * @param message LDiversityResult message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.ILDiversityResult, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified LDiversityResult message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.verify|verify} messages.
+ * @param message LDiversityResult message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.ILDiversityResult, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a LDiversityResult message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns LDiversityResult
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult;
+
+ /**
+ * Decodes a LDiversityResult message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns LDiversityResult
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult;
+
+ /**
+ * Verifies a LDiversityResult message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a LDiversityResult message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns LDiversityResult
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult;
+
+ /**
+ * Creates a plain object from a LDiversityResult message. Also converts values to other types if specified.
+ * @param message LDiversityResult
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this LDiversityResult to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for LDiversityResult
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace LDiversityResult {
+
+ /** Properties of a LDiversityEquivalenceClass. */
+ interface ILDiversityEquivalenceClass {
+
+ /** LDiversityEquivalenceClass quasiIdsValues */
+ quasiIdsValues?: (google.privacy.dlp.v2.IValue[]|null);
+
+ /** LDiversityEquivalenceClass equivalenceClassSize */
+ equivalenceClassSize?: (number|Long|string|null);
+
+ /** LDiversityEquivalenceClass numDistinctSensitiveValues */
+ numDistinctSensitiveValues?: (number|Long|string|null);
+
+ /** LDiversityEquivalenceClass topSensitiveValues */
+ topSensitiveValues?: (google.privacy.dlp.v2.IValueFrequency[]|null);
+ }
+
+ /** Represents a LDiversityEquivalenceClass. */
+ class LDiversityEquivalenceClass implements ILDiversityEquivalenceClass {
+
+ /**
+ * Constructs a new LDiversityEquivalenceClass.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.ILDiversityEquivalenceClass);
+
+ /** LDiversityEquivalenceClass quasiIdsValues. */
+ public quasiIdsValues: google.privacy.dlp.v2.IValue[];
+
+ /** LDiversityEquivalenceClass equivalenceClassSize. */
+ public equivalenceClassSize: (number|Long|string);
+
+ /** LDiversityEquivalenceClass numDistinctSensitiveValues. */
+ public numDistinctSensitiveValues: (number|Long|string);
+
+ /** LDiversityEquivalenceClass topSensitiveValues. */
+ public topSensitiveValues: google.privacy.dlp.v2.IValueFrequency[];
+
+ /**
+ * Creates a new LDiversityEquivalenceClass instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns LDiversityEquivalenceClass instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.ILDiversityEquivalenceClass): google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass;
+
+ /**
+ * Encodes the specified LDiversityEquivalenceClass message. Does not implicitly {@link google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass.verify|verify} messages.
+ * @param message LDiversityEquivalenceClass message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.ILDiversityEquivalenceClass, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified LDiversityEquivalenceClass message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass.verify|verify} messages.
+ * @param message LDiversityEquivalenceClass message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.ILDiversityEquivalenceClass, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a LDiversityEquivalenceClass message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns LDiversityEquivalenceClass
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass;
+
+ /**
+ * Decodes a LDiversityEquivalenceClass message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns LDiversityEquivalenceClass
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass;
+
+ /**
+ * Verifies a LDiversityEquivalenceClass message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a LDiversityEquivalenceClass message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns LDiversityEquivalenceClass
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass;
+
+ /**
+ * Creates a plain object from a LDiversityEquivalenceClass message. Also converts values to other types if specified.
+ * @param message LDiversityEquivalenceClass
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this LDiversityEquivalenceClass to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for LDiversityEquivalenceClass
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a LDiversityHistogramBucket. */
+ interface ILDiversityHistogramBucket {
+
+ /** LDiversityHistogramBucket sensitiveValueFrequencyLowerBound */
+ sensitiveValueFrequencyLowerBound?: (number|Long|string|null);
+
+ /** LDiversityHistogramBucket sensitiveValueFrequencyUpperBound */
+ sensitiveValueFrequencyUpperBound?: (number|Long|string|null);
+
+ /** LDiversityHistogramBucket bucketSize */
+ bucketSize?: (number|Long|string|null);
+
+ /** LDiversityHistogramBucket bucketValues */
+ bucketValues?: (google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.ILDiversityEquivalenceClass[]|null);
+
+ /** LDiversityHistogramBucket bucketValueCount */
+ bucketValueCount?: (number|Long|string|null);
+ }
+
+ /** Represents a LDiversityHistogramBucket. */
+ class LDiversityHistogramBucket implements ILDiversityHistogramBucket {
+
+ /**
+ * Constructs a new LDiversityHistogramBucket.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.ILDiversityHistogramBucket);
+
+ /** LDiversityHistogramBucket sensitiveValueFrequencyLowerBound. */
+ public sensitiveValueFrequencyLowerBound: (number|Long|string);
+
+ /** LDiversityHistogramBucket sensitiveValueFrequencyUpperBound. */
+ public sensitiveValueFrequencyUpperBound: (number|Long|string);
+
+ /** LDiversityHistogramBucket bucketSize. */
+ public bucketSize: (number|Long|string);
+
+ /** LDiversityHistogramBucket bucketValues. */
+ public bucketValues: google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.ILDiversityEquivalenceClass[];
+
+ /** LDiversityHistogramBucket bucketValueCount. */
+ public bucketValueCount: (number|Long|string);
+
+ /**
+ * Creates a new LDiversityHistogramBucket instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns LDiversityHistogramBucket instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.ILDiversityHistogramBucket): google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket;
+
+ /**
+ * Encodes the specified LDiversityHistogramBucket message. Does not implicitly {@link google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket.verify|verify} messages.
+ * @param message LDiversityHistogramBucket message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.ILDiversityHistogramBucket, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified LDiversityHistogramBucket message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket.verify|verify} messages.
+ * @param message LDiversityHistogramBucket message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.ILDiversityHistogramBucket, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a LDiversityHistogramBucket message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns LDiversityHistogramBucket
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket;
+
+ /**
+ * Decodes a LDiversityHistogramBucket message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns LDiversityHistogramBucket
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket;
+
+ /**
+ * Verifies a LDiversityHistogramBucket message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a LDiversityHistogramBucket message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns LDiversityHistogramBucket
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket;
+
+ /**
+ * Creates a plain object from a LDiversityHistogramBucket message. Also converts values to other types if specified.
+ * @param message LDiversityHistogramBucket
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this LDiversityHistogramBucket to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for LDiversityHistogramBucket
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+ }
+
+ /** Properties of a KMapEstimationResult. */
+ interface IKMapEstimationResult {
+
+ /** KMapEstimationResult kMapEstimationHistogram */
+ kMapEstimationHistogram?: (google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.IKMapEstimationHistogramBucket[]|null);
+ }
+
+ /** Represents a KMapEstimationResult. */
+ class KMapEstimationResult implements IKMapEstimationResult {
+
+ /**
+ * Constructs a new KMapEstimationResult.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.IKMapEstimationResult);
+
+ /** KMapEstimationResult kMapEstimationHistogram. */
+ public kMapEstimationHistogram: google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.IKMapEstimationHistogramBucket[];
+
+ /**
+ * Creates a new KMapEstimationResult instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns KMapEstimationResult instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.IKMapEstimationResult): google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult;
+
+ /**
+ * Encodes the specified KMapEstimationResult message. Does not implicitly {@link google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.verify|verify} messages.
+ * @param message KMapEstimationResult message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.IKMapEstimationResult, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified KMapEstimationResult message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.verify|verify} messages.
+ * @param message KMapEstimationResult message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.IKMapEstimationResult, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a KMapEstimationResult message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns KMapEstimationResult
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult;
+
+ /**
+ * Decodes a KMapEstimationResult message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns KMapEstimationResult
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult;
+
+ /**
+ * Verifies a KMapEstimationResult message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a KMapEstimationResult message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns KMapEstimationResult
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult;
+
+ /**
+ * Creates a plain object from a KMapEstimationResult message. Also converts values to other types if specified.
+ * @param message KMapEstimationResult
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this KMapEstimationResult to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for KMapEstimationResult
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace KMapEstimationResult {
+
+ /** Properties of a KMapEstimationQuasiIdValues. */
+ interface IKMapEstimationQuasiIdValues {
+
+ /** KMapEstimationQuasiIdValues quasiIdsValues */
+ quasiIdsValues?: (google.privacy.dlp.v2.IValue[]|null);
+
+ /** KMapEstimationQuasiIdValues estimatedAnonymity */
+ estimatedAnonymity?: (number|Long|string|null);
+ }
+
+ /** Represents a KMapEstimationQuasiIdValues. */
+ class KMapEstimationQuasiIdValues implements IKMapEstimationQuasiIdValues {
+
+ /**
+ * Constructs a new KMapEstimationQuasiIdValues.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.IKMapEstimationQuasiIdValues);
+
+ /** KMapEstimationQuasiIdValues quasiIdsValues. */
+ public quasiIdsValues: google.privacy.dlp.v2.IValue[];
+
+ /** KMapEstimationQuasiIdValues estimatedAnonymity. */
+ public estimatedAnonymity: (number|Long|string);
+
+ /**
+ * Creates a new KMapEstimationQuasiIdValues instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns KMapEstimationQuasiIdValues instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.IKMapEstimationQuasiIdValues): google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues;
+
+ /**
+ * Encodes the specified KMapEstimationQuasiIdValues message. Does not implicitly {@link google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues.verify|verify} messages.
+ * @param message KMapEstimationQuasiIdValues message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.IKMapEstimationQuasiIdValues, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified KMapEstimationQuasiIdValues message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues.verify|verify} messages.
+ * @param message KMapEstimationQuasiIdValues message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.IKMapEstimationQuasiIdValues, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a KMapEstimationQuasiIdValues message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns KMapEstimationQuasiIdValues
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues;
+
+ /**
+ * Decodes a KMapEstimationQuasiIdValues message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns KMapEstimationQuasiIdValues
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues;
+
+ /**
+ * Verifies a KMapEstimationQuasiIdValues message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a KMapEstimationQuasiIdValues message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns KMapEstimationQuasiIdValues
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues;
+
+ /**
+ * Creates a plain object from a KMapEstimationQuasiIdValues message. Also converts values to other types if specified.
+ * @param message KMapEstimationQuasiIdValues
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this KMapEstimationQuasiIdValues to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for KMapEstimationQuasiIdValues
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a KMapEstimationHistogramBucket. */
+ interface IKMapEstimationHistogramBucket {
+
+ /** KMapEstimationHistogramBucket minAnonymity */
+ minAnonymity?: (number|Long|string|null);
+
+ /** KMapEstimationHistogramBucket maxAnonymity */
+ maxAnonymity?: (number|Long|string|null);
+
+ /** KMapEstimationHistogramBucket bucketSize */
+ bucketSize?: (number|Long|string|null);
+
+ /** KMapEstimationHistogramBucket bucketValues */
+ bucketValues?: (google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.IKMapEstimationQuasiIdValues[]|null);
+
+ /** KMapEstimationHistogramBucket bucketValueCount */
+ bucketValueCount?: (number|Long|string|null);
+ }
+
+ /** Represents a KMapEstimationHistogramBucket. */
+ class KMapEstimationHistogramBucket implements IKMapEstimationHistogramBucket {
+
+ /**
+ * Constructs a new KMapEstimationHistogramBucket.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.IKMapEstimationHistogramBucket);
+
+ /** KMapEstimationHistogramBucket minAnonymity. */
+ public minAnonymity: (number|Long|string);
+
+ /** KMapEstimationHistogramBucket maxAnonymity. */
+ public maxAnonymity: (number|Long|string);
+
+ /** KMapEstimationHistogramBucket bucketSize. */
+ public bucketSize: (number|Long|string);
+
+ /** KMapEstimationHistogramBucket bucketValues. */
+ public bucketValues: google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.IKMapEstimationQuasiIdValues[];
+
+ /** KMapEstimationHistogramBucket bucketValueCount. */
+ public bucketValueCount: (number|Long|string);
+
+ /**
+ * Creates a new KMapEstimationHistogramBucket instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns KMapEstimationHistogramBucket instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.IKMapEstimationHistogramBucket): google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket;
+
+ /**
+ * Encodes the specified KMapEstimationHistogramBucket message. Does not implicitly {@link google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket.verify|verify} messages.
+ * @param message KMapEstimationHistogramBucket message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.IKMapEstimationHistogramBucket, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified KMapEstimationHistogramBucket message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket.verify|verify} messages.
+ * @param message KMapEstimationHistogramBucket message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.IKMapEstimationHistogramBucket, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a KMapEstimationHistogramBucket message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns KMapEstimationHistogramBucket
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket;
+
+ /**
+ * Decodes a KMapEstimationHistogramBucket message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns KMapEstimationHistogramBucket
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket;
+
+ /**
+ * Verifies a KMapEstimationHistogramBucket message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a KMapEstimationHistogramBucket message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns KMapEstimationHistogramBucket
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket;
+
+ /**
+ * Creates a plain object from a KMapEstimationHistogramBucket message. Also converts values to other types if specified.
+ * @param message KMapEstimationHistogramBucket
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this KMapEstimationHistogramBucket to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for KMapEstimationHistogramBucket
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+ }
+
+ /** Properties of a DeltaPresenceEstimationResult. */
+ interface IDeltaPresenceEstimationResult {
+
+ /** DeltaPresenceEstimationResult deltaPresenceEstimationHistogram */
+ deltaPresenceEstimationHistogram?: (google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.IDeltaPresenceEstimationHistogramBucket[]|null);
+ }
+
+ /** Represents a DeltaPresenceEstimationResult. */
+ class DeltaPresenceEstimationResult implements IDeltaPresenceEstimationResult {
+
+ /**
+ * Constructs a new DeltaPresenceEstimationResult.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.IDeltaPresenceEstimationResult);
+
+ /** DeltaPresenceEstimationResult deltaPresenceEstimationHistogram. */
+ public deltaPresenceEstimationHistogram: google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.IDeltaPresenceEstimationHistogramBucket[];
+
+ /**
+ * Creates a new DeltaPresenceEstimationResult instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns DeltaPresenceEstimationResult instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.IDeltaPresenceEstimationResult): google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult;
+
+ /**
+ * Encodes the specified DeltaPresenceEstimationResult message. Does not implicitly {@link google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.verify|verify} messages.
+ * @param message DeltaPresenceEstimationResult message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.IDeltaPresenceEstimationResult, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified DeltaPresenceEstimationResult message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.verify|verify} messages.
+ * @param message DeltaPresenceEstimationResult message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.IDeltaPresenceEstimationResult, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a DeltaPresenceEstimationResult message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns DeltaPresenceEstimationResult
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult;
+
+ /**
+ * Decodes a DeltaPresenceEstimationResult message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns DeltaPresenceEstimationResult
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult;
+
+ /**
+ * Verifies a DeltaPresenceEstimationResult message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a DeltaPresenceEstimationResult message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns DeltaPresenceEstimationResult
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult;
+
+ /**
+ * Creates a plain object from a DeltaPresenceEstimationResult message. Also converts values to other types if specified.
+ * @param message DeltaPresenceEstimationResult
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this DeltaPresenceEstimationResult to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for DeltaPresenceEstimationResult
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace DeltaPresenceEstimationResult {
+
+ /** Properties of a DeltaPresenceEstimationQuasiIdValues. */
+ interface IDeltaPresenceEstimationQuasiIdValues {
+
+ /** DeltaPresenceEstimationQuasiIdValues quasiIdsValues */
+ quasiIdsValues?: (google.privacy.dlp.v2.IValue[]|null);
+
+ /** DeltaPresenceEstimationQuasiIdValues estimatedProbability */
+ estimatedProbability?: (number|null);
+ }
+
+ /** Represents a DeltaPresenceEstimationQuasiIdValues. */
+ class DeltaPresenceEstimationQuasiIdValues implements IDeltaPresenceEstimationQuasiIdValues {
+
+ /**
+ * Constructs a new DeltaPresenceEstimationQuasiIdValues.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.IDeltaPresenceEstimationQuasiIdValues);
+
+ /** DeltaPresenceEstimationQuasiIdValues quasiIdsValues. */
+ public quasiIdsValues: google.privacy.dlp.v2.IValue[];
+
+ /** DeltaPresenceEstimationQuasiIdValues estimatedProbability. */
+ public estimatedProbability: number;
+
+ /**
+ * Creates a new DeltaPresenceEstimationQuasiIdValues instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns DeltaPresenceEstimationQuasiIdValues instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.IDeltaPresenceEstimationQuasiIdValues): google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues;
+
+ /**
+ * Encodes the specified DeltaPresenceEstimationQuasiIdValues message. Does not implicitly {@link google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues.verify|verify} messages.
+ * @param message DeltaPresenceEstimationQuasiIdValues message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.IDeltaPresenceEstimationQuasiIdValues, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified DeltaPresenceEstimationQuasiIdValues message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues.verify|verify} messages.
+ * @param message DeltaPresenceEstimationQuasiIdValues message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.IDeltaPresenceEstimationQuasiIdValues, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a DeltaPresenceEstimationQuasiIdValues message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns DeltaPresenceEstimationQuasiIdValues
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues;
+
+ /**
+ * Decodes a DeltaPresenceEstimationQuasiIdValues message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns DeltaPresenceEstimationQuasiIdValues
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues;
+
+ /**
+ * Verifies a DeltaPresenceEstimationQuasiIdValues message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a DeltaPresenceEstimationQuasiIdValues message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns DeltaPresenceEstimationQuasiIdValues
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues;
+
+ /**
+ * Creates a plain object from a DeltaPresenceEstimationQuasiIdValues message. Also converts values to other types if specified.
+ * @param message DeltaPresenceEstimationQuasiIdValues
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this DeltaPresenceEstimationQuasiIdValues to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for DeltaPresenceEstimationQuasiIdValues
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a DeltaPresenceEstimationHistogramBucket. */
+ interface IDeltaPresenceEstimationHistogramBucket {
+
+ /** DeltaPresenceEstimationHistogramBucket minProbability */
+ minProbability?: (number|null);
+
+ /** DeltaPresenceEstimationHistogramBucket maxProbability */
+ maxProbability?: (number|null);
+
+ /** DeltaPresenceEstimationHistogramBucket bucketSize */
+ bucketSize?: (number|Long|string|null);
+
+ /** DeltaPresenceEstimationHistogramBucket bucketValues */
+ bucketValues?: (google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.IDeltaPresenceEstimationQuasiIdValues[]|null);
+
+ /** DeltaPresenceEstimationHistogramBucket bucketValueCount */
+ bucketValueCount?: (number|Long|string|null);
+ }
+
+ /** Represents a DeltaPresenceEstimationHistogramBucket. */
+ class DeltaPresenceEstimationHistogramBucket implements IDeltaPresenceEstimationHistogramBucket {
+
+ /**
+ * Constructs a new DeltaPresenceEstimationHistogramBucket.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.IDeltaPresenceEstimationHistogramBucket);
+
+ /** DeltaPresenceEstimationHistogramBucket minProbability. */
+ public minProbability: number;
+
+ /** DeltaPresenceEstimationHistogramBucket maxProbability. */
+ public maxProbability: number;
+
+ /** DeltaPresenceEstimationHistogramBucket bucketSize. */
+ public bucketSize: (number|Long|string);
+
+ /** DeltaPresenceEstimationHistogramBucket bucketValues. */
+ public bucketValues: google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.IDeltaPresenceEstimationQuasiIdValues[];
+
+ /** DeltaPresenceEstimationHistogramBucket bucketValueCount. */
+ public bucketValueCount: (number|Long|string);
+
+ /**
+ * Creates a new DeltaPresenceEstimationHistogramBucket instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns DeltaPresenceEstimationHistogramBucket instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.IDeltaPresenceEstimationHistogramBucket): google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket;
+
+ /**
+ * Encodes the specified DeltaPresenceEstimationHistogramBucket message. Does not implicitly {@link google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket.verify|verify} messages.
+ * @param message DeltaPresenceEstimationHistogramBucket message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.IDeltaPresenceEstimationHistogramBucket, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified DeltaPresenceEstimationHistogramBucket message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket.verify|verify} messages.
+ * @param message DeltaPresenceEstimationHistogramBucket message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.IDeltaPresenceEstimationHistogramBucket, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a DeltaPresenceEstimationHistogramBucket message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns DeltaPresenceEstimationHistogramBucket
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket;
+
+ /**
+ * Decodes a DeltaPresenceEstimationHistogramBucket message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns DeltaPresenceEstimationHistogramBucket
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket;
+
+ /**
+ * Verifies a DeltaPresenceEstimationHistogramBucket message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a DeltaPresenceEstimationHistogramBucket message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns DeltaPresenceEstimationHistogramBucket
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket;
+
+ /**
+ * Creates a plain object from a DeltaPresenceEstimationHistogramBucket message. Also converts values to other types if specified.
+ * @param message DeltaPresenceEstimationHistogramBucket
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this DeltaPresenceEstimationHistogramBucket to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for DeltaPresenceEstimationHistogramBucket
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+ }
+
+ /** Properties of a RequestedRiskAnalysisOptions. */
+ interface IRequestedRiskAnalysisOptions {
+
+ /** RequestedRiskAnalysisOptions jobConfig */
+ jobConfig?: (google.privacy.dlp.v2.IRiskAnalysisJobConfig|null);
+ }
+
+ /** Represents a RequestedRiskAnalysisOptions. */
+ class RequestedRiskAnalysisOptions implements IRequestedRiskAnalysisOptions {
+
+ /**
+ * Constructs a new RequestedRiskAnalysisOptions.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.IRequestedRiskAnalysisOptions);
+
+ /** RequestedRiskAnalysisOptions jobConfig. */
+ public jobConfig?: (google.privacy.dlp.v2.IRiskAnalysisJobConfig|null);
+
+ /**
+ * Creates a new RequestedRiskAnalysisOptions instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns RequestedRiskAnalysisOptions instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.IRequestedRiskAnalysisOptions): google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions;
+
+ /**
+ * Encodes the specified RequestedRiskAnalysisOptions message. Does not implicitly {@link google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions.verify|verify} messages.
+ * @param message RequestedRiskAnalysisOptions message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.IRequestedRiskAnalysisOptions, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified RequestedRiskAnalysisOptions message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions.verify|verify} messages.
+ * @param message RequestedRiskAnalysisOptions message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.IRequestedRiskAnalysisOptions, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a RequestedRiskAnalysisOptions message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns RequestedRiskAnalysisOptions
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions;
+
+ /**
+ * Decodes a RequestedRiskAnalysisOptions message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns RequestedRiskAnalysisOptions
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions;
+
+ /**
+ * Verifies a RequestedRiskAnalysisOptions message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a RequestedRiskAnalysisOptions message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns RequestedRiskAnalysisOptions
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions;
+
+ /**
+ * Creates a plain object from a RequestedRiskAnalysisOptions message. Also converts values to other types if specified.
+ * @param message RequestedRiskAnalysisOptions
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this RequestedRiskAnalysisOptions to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for RequestedRiskAnalysisOptions
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+ }
+
+ /** Properties of a ValueFrequency. */
+ interface IValueFrequency {
+
+ /** ValueFrequency value */
+ value?: (google.privacy.dlp.v2.IValue|null);
+
+ /** ValueFrequency count */
+ count?: (number|Long|string|null);
+ }
+
+ /** Represents a ValueFrequency. */
+ class ValueFrequency implements IValueFrequency {
+
+ /**
+ * Constructs a new ValueFrequency.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.IValueFrequency);
+
+ /** ValueFrequency value. */
+ public value?: (google.privacy.dlp.v2.IValue|null);
+
+ /** ValueFrequency count. */
+ public count: (number|Long|string);
+
+ /**
+ * Creates a new ValueFrequency instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ValueFrequency instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.IValueFrequency): google.privacy.dlp.v2.ValueFrequency;
+
+ /**
+ * Encodes the specified ValueFrequency message. Does not implicitly {@link google.privacy.dlp.v2.ValueFrequency.verify|verify} messages.
+ * @param message ValueFrequency message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.IValueFrequency, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ValueFrequency message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.ValueFrequency.verify|verify} messages.
+ * @param message ValueFrequency message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.IValueFrequency, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ValueFrequency message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ValueFrequency
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.ValueFrequency;
+
+ /**
+ * Decodes a ValueFrequency message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ValueFrequency
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.ValueFrequency;
+
+ /**
+ * Verifies a ValueFrequency message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a ValueFrequency message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ValueFrequency
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.ValueFrequency;
+
+ /**
+ * Creates a plain object from a ValueFrequency message. Also converts values to other types if specified.
+ * @param message ValueFrequency
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.ValueFrequency, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ValueFrequency to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ValueFrequency
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a Value. */
+ interface IValue {
+
+ /** Value integerValue */
+ integerValue?: (number|Long|string|null);
+
+ /** Value floatValue */
+ floatValue?: (number|null);
+
+ /** Value stringValue */
+ stringValue?: (string|null);
+
+ /** Value booleanValue */
+ booleanValue?: (boolean|null);
+
+ /** Value timestampValue */
+ timestampValue?: (google.protobuf.ITimestamp|null);
+
+ /** Value timeValue */
+ timeValue?: (google.type.ITimeOfDay|null);
+
+ /** Value dateValue */
+ dateValue?: (google.type.IDate|null);
+
+ /** Value dayOfWeekValue */
+ dayOfWeekValue?: (google.type.DayOfWeek|keyof typeof google.type.DayOfWeek|null);
+ }
+
+ /** Represents a Value. */
+ class Value implements IValue {
+
+ /**
+ * Constructs a new Value.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.IValue);
+
+ /** Value integerValue. */
+ public integerValue?: (number|Long|string|null);
+
+ /** Value floatValue. */
+ public floatValue?: (number|null);
+
+ /** Value stringValue. */
+ public stringValue?: (string|null);
+
+ /** Value booleanValue. */
+ public booleanValue?: (boolean|null);
+
+ /** Value timestampValue. */
+ public timestampValue?: (google.protobuf.ITimestamp|null);
+
+ /** Value timeValue. */
+ public timeValue?: (google.type.ITimeOfDay|null);
+
+ /** Value dateValue. */
+ public dateValue?: (google.type.IDate|null);
+
+ /** Value dayOfWeekValue. */
+ public dayOfWeekValue?: (google.type.DayOfWeek|keyof typeof google.type.DayOfWeek|null);
+
+ /** Value type. */
+ public type?: ("integerValue"|"floatValue"|"stringValue"|"booleanValue"|"timestampValue"|"timeValue"|"dateValue"|"dayOfWeekValue");
+
+ /**
+ * Creates a new Value instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns Value instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.IValue): google.privacy.dlp.v2.Value;
+
+ /**
+ * Encodes the specified Value message. Does not implicitly {@link google.privacy.dlp.v2.Value.verify|verify} messages.
+ * @param message Value message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.IValue, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified Value message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.Value.verify|verify} messages.
+ * @param message Value message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.IValue, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a Value message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns Value
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.Value;
+
+ /**
+ * Decodes a Value message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns Value
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.Value;
+
+ /**
+ * Verifies a Value message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a Value message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns Value
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.Value;
+
+ /**
+ * Creates a plain object from a Value message. Also converts values to other types if specified.
+ * @param message Value
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.Value, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this Value to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for Value
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a QuoteInfo. */
+ interface IQuoteInfo {
+
+ /** QuoteInfo dateTime */
+ dateTime?: (google.privacy.dlp.v2.IDateTime|null);
+ }
+
+ /** Represents a QuoteInfo. */
+ class QuoteInfo implements IQuoteInfo {
+
+ /**
+ * Constructs a new QuoteInfo.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.IQuoteInfo);
+
+ /** QuoteInfo dateTime. */
+ public dateTime?: (google.privacy.dlp.v2.IDateTime|null);
+
+ /** QuoteInfo parsedQuote. */
+ public parsedQuote?: "dateTime";
+
+ /**
+ * Creates a new QuoteInfo instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns QuoteInfo instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.IQuoteInfo): google.privacy.dlp.v2.QuoteInfo;
+
+ /**
+ * Encodes the specified QuoteInfo message. Does not implicitly {@link google.privacy.dlp.v2.QuoteInfo.verify|verify} messages.
+ * @param message QuoteInfo message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.IQuoteInfo, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified QuoteInfo message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.QuoteInfo.verify|verify} messages.
+ * @param message QuoteInfo message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.IQuoteInfo, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a QuoteInfo message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns QuoteInfo
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.QuoteInfo;
+
+ /**
+ * Decodes a QuoteInfo message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns QuoteInfo
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.QuoteInfo;
+
+ /**
+ * Verifies a QuoteInfo message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a QuoteInfo message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns QuoteInfo
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.QuoteInfo;
+
+ /**
+ * Creates a plain object from a QuoteInfo message. Also converts values to other types if specified.
+ * @param message QuoteInfo
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.QuoteInfo, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this QuoteInfo to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for QuoteInfo
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a DateTime. */
+ interface IDateTime {
+
+ /** DateTime date */
+ date?: (google.type.IDate|null);
+
+ /** DateTime dayOfWeek */
+ dayOfWeek?: (google.type.DayOfWeek|keyof typeof google.type.DayOfWeek|null);
+
+ /** DateTime time */
+ time?: (google.type.ITimeOfDay|null);
+
+ /** DateTime timeZone */
+ timeZone?: (google.privacy.dlp.v2.DateTime.ITimeZone|null);
+ }
+
+ /** Represents a DateTime. */
+ class DateTime implements IDateTime {
+
+ /**
+ * Constructs a new DateTime.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.IDateTime);
+
+ /** DateTime date. */
+ public date?: (google.type.IDate|null);
+
+ /** DateTime dayOfWeek. */
+ public dayOfWeek: (google.type.DayOfWeek|keyof typeof google.type.DayOfWeek);
+
+ /** DateTime time. */
+ public time?: (google.type.ITimeOfDay|null);
+
+ /** DateTime timeZone. */
+ public timeZone?: (google.privacy.dlp.v2.DateTime.ITimeZone|null);
+
+ /**
+ * Creates a new DateTime instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns DateTime instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.IDateTime): google.privacy.dlp.v2.DateTime;
+
+ /**
+ * Encodes the specified DateTime message. Does not implicitly {@link google.privacy.dlp.v2.DateTime.verify|verify} messages.
+ * @param message DateTime message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.IDateTime, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified DateTime message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.DateTime.verify|verify} messages.
+ * @param message DateTime message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.IDateTime, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a DateTime message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns DateTime
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.DateTime;
+
+ /**
+ * Decodes a DateTime message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns DateTime
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.DateTime;
+
+ /**
+ * Verifies a DateTime message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a DateTime message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns DateTime
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.DateTime;
+
+ /**
+ * Creates a plain object from a DateTime message. Also converts values to other types if specified.
+ * @param message DateTime
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.DateTime, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this DateTime to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for DateTime
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace DateTime {
+
+ /** Properties of a TimeZone. */
+ interface ITimeZone {
+
+ /** TimeZone offsetMinutes */
+ offsetMinutes?: (number|null);
+ }
+
+ /** Represents a TimeZone. */
+ class TimeZone implements ITimeZone {
+
+ /**
+ * Constructs a new TimeZone.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.DateTime.ITimeZone);
+
+ /** TimeZone offsetMinutes. */
+ public offsetMinutes: number;
+
+ /**
+ * Creates a new TimeZone instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns TimeZone instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.DateTime.ITimeZone): google.privacy.dlp.v2.DateTime.TimeZone;
+
+ /**
+ * Encodes the specified TimeZone message. Does not implicitly {@link google.privacy.dlp.v2.DateTime.TimeZone.verify|verify} messages.
+ * @param message TimeZone message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.DateTime.ITimeZone, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified TimeZone message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.DateTime.TimeZone.verify|verify} messages.
+ * @param message TimeZone message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.DateTime.ITimeZone, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a TimeZone message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns TimeZone
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.DateTime.TimeZone;
+
+ /**
+ * Decodes a TimeZone message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns TimeZone
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.DateTime.TimeZone;
+
+ /**
+ * Verifies a TimeZone message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a TimeZone message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns TimeZone
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.DateTime.TimeZone;
+
+ /**
+ * Creates a plain object from a TimeZone message. Also converts values to other types if specified.
+ * @param message TimeZone
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.DateTime.TimeZone, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this TimeZone to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for TimeZone
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+ }
+
+ /** Properties of a DeidentifyConfig. */
+ interface IDeidentifyConfig {
+
+ /** DeidentifyConfig infoTypeTransformations */
+ infoTypeTransformations?: (google.privacy.dlp.v2.IInfoTypeTransformations|null);
+
+ /** DeidentifyConfig recordTransformations */
+ recordTransformations?: (google.privacy.dlp.v2.IRecordTransformations|null);
+
+ /** DeidentifyConfig imageTransformations */
+ imageTransformations?: (google.privacy.dlp.v2.IImageTransformations|null);
+
+ /** DeidentifyConfig transformationErrorHandling */
+ transformationErrorHandling?: (google.privacy.dlp.v2.ITransformationErrorHandling|null);
+ }
+
+ /** Represents a DeidentifyConfig. */
+ class DeidentifyConfig implements IDeidentifyConfig {
+
+ /**
+ * Constructs a new DeidentifyConfig.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.IDeidentifyConfig);
+
+ /** DeidentifyConfig infoTypeTransformations. */
+ public infoTypeTransformations?: (google.privacy.dlp.v2.IInfoTypeTransformations|null);
+
+ /** DeidentifyConfig recordTransformations. */
+ public recordTransformations?: (google.privacy.dlp.v2.IRecordTransformations|null);
+
+ /** DeidentifyConfig imageTransformations. */
+ public imageTransformations?: (google.privacy.dlp.v2.IImageTransformations|null);
+
+ /** DeidentifyConfig transformationErrorHandling. */
+ public transformationErrorHandling?: (google.privacy.dlp.v2.ITransformationErrorHandling|null);
+
+ /** DeidentifyConfig transformation. */
+ public transformation?: ("infoTypeTransformations"|"recordTransformations"|"imageTransformations");
+
+ /**
+ * Creates a new DeidentifyConfig instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns DeidentifyConfig instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.IDeidentifyConfig): google.privacy.dlp.v2.DeidentifyConfig;
+
+ /**
+ * Encodes the specified DeidentifyConfig message. Does not implicitly {@link google.privacy.dlp.v2.DeidentifyConfig.verify|verify} messages.
+ * @param message DeidentifyConfig message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.IDeidentifyConfig, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified DeidentifyConfig message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.DeidentifyConfig.verify|verify} messages.
+ * @param message DeidentifyConfig message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.IDeidentifyConfig, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a DeidentifyConfig message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns DeidentifyConfig
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.DeidentifyConfig;
+
+ /**
+ * Decodes a DeidentifyConfig message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns DeidentifyConfig
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.DeidentifyConfig;
+
+ /**
+ * Verifies a DeidentifyConfig message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a DeidentifyConfig message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns DeidentifyConfig
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.DeidentifyConfig;
+
+ /**
+ * Creates a plain object from a DeidentifyConfig message. Also converts values to other types if specified.
+ * @param message DeidentifyConfig
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.DeidentifyConfig, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this DeidentifyConfig to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for DeidentifyConfig
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of an ImageTransformations. */
+ interface IImageTransformations {
+
+ /** ImageTransformations transforms */
+ transforms?: (google.privacy.dlp.v2.ImageTransformations.IImageTransformation[]|null);
+ }
+
+ /** Represents an ImageTransformations. */
+ class ImageTransformations implements IImageTransformations {
+
+ /**
+ * Constructs a new ImageTransformations.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.IImageTransformations);
+
+ /** ImageTransformations transforms. */
+ public transforms: google.privacy.dlp.v2.ImageTransformations.IImageTransformation[];
+
+ /**
+ * Creates a new ImageTransformations instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ImageTransformations instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.IImageTransformations): google.privacy.dlp.v2.ImageTransformations;
+
+ /**
+ * Encodes the specified ImageTransformations message. Does not implicitly {@link google.privacy.dlp.v2.ImageTransformations.verify|verify} messages.
+ * @param message ImageTransformations message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.IImageTransformations, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ImageTransformations message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.ImageTransformations.verify|verify} messages.
+ * @param message ImageTransformations message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.IImageTransformations, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an ImageTransformations message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ImageTransformations
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.ImageTransformations;
+
+ /**
+ * Decodes an ImageTransformations message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ImageTransformations
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.ImageTransformations;
+
+ /**
+ * Verifies an ImageTransformations message.
+ * @param message Plain 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 ImageTransformations message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ImageTransformations
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.ImageTransformations;
+
+ /**
+ * Creates a plain object from an ImageTransformations message. Also converts values to other types if specified.
+ * @param message ImageTransformations
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.ImageTransformations, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ImageTransformations to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ImageTransformations
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace ImageTransformations {
+
+ /** Properties of an ImageTransformation. */
+ interface IImageTransformation {
+
+ /** ImageTransformation selectedInfoTypes */
+ selectedInfoTypes?: (google.privacy.dlp.v2.ImageTransformations.ImageTransformation.ISelectedInfoTypes|null);
+
+ /** ImageTransformation allInfoTypes */
+ allInfoTypes?: (google.privacy.dlp.v2.ImageTransformations.ImageTransformation.IAllInfoTypes|null);
+
+ /** ImageTransformation allText */
+ allText?: (google.privacy.dlp.v2.ImageTransformations.ImageTransformation.IAllText|null);
+
+ /** ImageTransformation redactionColor */
+ redactionColor?: (google.privacy.dlp.v2.IColor|null);
+ }
+
+ /** Represents an ImageTransformation. */
+ class ImageTransformation implements IImageTransformation {
+
+ /**
+ * Constructs a new ImageTransformation.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.ImageTransformations.IImageTransformation);
+
+ /** ImageTransformation selectedInfoTypes. */
+ public selectedInfoTypes?: (google.privacy.dlp.v2.ImageTransformations.ImageTransformation.ISelectedInfoTypes|null);
+
+ /** ImageTransformation allInfoTypes. */
+ public allInfoTypes?: (google.privacy.dlp.v2.ImageTransformations.ImageTransformation.IAllInfoTypes|null);
+
+ /** ImageTransformation allText. */
+ public allText?: (google.privacy.dlp.v2.ImageTransformations.ImageTransformation.IAllText|null);
+
+ /** ImageTransformation redactionColor. */
+ public redactionColor?: (google.privacy.dlp.v2.IColor|null);
+
+ /** ImageTransformation target. */
+ public target?: ("selectedInfoTypes"|"allInfoTypes"|"allText");
+
+ /**
+ * Creates a new ImageTransformation instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ImageTransformation instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.ImageTransformations.IImageTransformation): google.privacy.dlp.v2.ImageTransformations.ImageTransformation;
+
+ /**
+ * Encodes the specified ImageTransformation message. Does not implicitly {@link google.privacy.dlp.v2.ImageTransformations.ImageTransformation.verify|verify} messages.
+ * @param message ImageTransformation message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.ImageTransformations.IImageTransformation, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ImageTransformation message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.ImageTransformations.ImageTransformation.verify|verify} messages.
+ * @param message ImageTransformation message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.ImageTransformations.IImageTransformation, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an ImageTransformation message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ImageTransformation
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.ImageTransformations.ImageTransformation;
+
+ /**
+ * Decodes an ImageTransformation message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ImageTransformation
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.ImageTransformations.ImageTransformation;
+
+ /**
+ * Verifies an ImageTransformation message.
+ * @param message Plain 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 ImageTransformation message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ImageTransformation
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.ImageTransformations.ImageTransformation;
+
+ /**
+ * Creates a plain object from an ImageTransformation message. Also converts values to other types if specified.
+ * @param message ImageTransformation
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.ImageTransformations.ImageTransformation, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ImageTransformation to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ImageTransformation
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace ImageTransformation {
+
+ /** Properties of a SelectedInfoTypes. */
+ interface ISelectedInfoTypes {
+
+ /** SelectedInfoTypes infoTypes */
+ infoTypes?: (google.privacy.dlp.v2.IInfoType[]|null);
+ }
+
+ /** Represents a SelectedInfoTypes. */
+ class SelectedInfoTypes implements ISelectedInfoTypes {
+
+ /**
+ * Constructs a new SelectedInfoTypes.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.ImageTransformations.ImageTransformation.ISelectedInfoTypes);
+
+ /** SelectedInfoTypes infoTypes. */
+ public infoTypes: google.privacy.dlp.v2.IInfoType[];
+
+ /**
+ * Creates a new SelectedInfoTypes instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns SelectedInfoTypes instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.ImageTransformations.ImageTransformation.ISelectedInfoTypes): google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes;
+
+ /**
+ * Encodes the specified SelectedInfoTypes message. Does not implicitly {@link google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes.verify|verify} messages.
+ * @param message SelectedInfoTypes message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.ImageTransformations.ImageTransformation.ISelectedInfoTypes, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified SelectedInfoTypes message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes.verify|verify} messages.
+ * @param message SelectedInfoTypes message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.ImageTransformations.ImageTransformation.ISelectedInfoTypes, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a SelectedInfoTypes message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns SelectedInfoTypes
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes;
+
+ /**
+ * Decodes a SelectedInfoTypes message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns SelectedInfoTypes
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes;
+
+ /**
+ * Verifies a SelectedInfoTypes message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a SelectedInfoTypes message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns SelectedInfoTypes
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes;
+
+ /**
+ * Creates a plain object from a SelectedInfoTypes message. Also converts values to other types if specified.
+ * @param message SelectedInfoTypes
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this SelectedInfoTypes to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for SelectedInfoTypes
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of an AllInfoTypes. */
+ interface IAllInfoTypes {
+ }
+
+ /** Represents an AllInfoTypes. */
+ class AllInfoTypes implements IAllInfoTypes {
+
+ /**
+ * Constructs a new AllInfoTypes.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.ImageTransformations.ImageTransformation.IAllInfoTypes);
+
+ /**
+ * Creates a new AllInfoTypes instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns AllInfoTypes instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.ImageTransformations.ImageTransformation.IAllInfoTypes): google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes;
+
+ /**
+ * Encodes the specified AllInfoTypes message. Does not implicitly {@link google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes.verify|verify} messages.
+ * @param message AllInfoTypes message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.ImageTransformations.ImageTransformation.IAllInfoTypes, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified AllInfoTypes message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes.verify|verify} messages.
+ * @param message AllInfoTypes message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.ImageTransformations.ImageTransformation.IAllInfoTypes, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an AllInfoTypes message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns AllInfoTypes
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes;
+
+ /**
+ * Decodes an AllInfoTypes message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns AllInfoTypes
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes;
+
+ /**
+ * Verifies an AllInfoTypes message.
+ * @param message Plain 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 AllInfoTypes message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns AllInfoTypes
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes;
+
+ /**
+ * Creates a plain object from an AllInfoTypes message. Also converts values to other types if specified.
+ * @param message AllInfoTypes
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this AllInfoTypes to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for AllInfoTypes
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of an AllText. */
+ interface IAllText {
+ }
+
+ /** Represents an AllText. */
+ class AllText implements IAllText {
+
+ /**
+ * Constructs a new AllText.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.ImageTransformations.ImageTransformation.IAllText);
+
+ /**
+ * Creates a new AllText instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns AllText instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.ImageTransformations.ImageTransformation.IAllText): google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText;
+
+ /**
+ * Encodes the specified AllText message. Does not implicitly {@link google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText.verify|verify} messages.
+ * @param message AllText message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.ImageTransformations.ImageTransformation.IAllText, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified AllText message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText.verify|verify} messages.
+ * @param message AllText message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.ImageTransformations.ImageTransformation.IAllText, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an AllText message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns AllText
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText;
+
+ /**
+ * Decodes an AllText message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns AllText
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText;
+
+ /**
+ * Verifies an AllText message.
+ * @param message Plain 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 AllText message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns AllText
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText;
+
+ /**
+ * Creates a plain object from an AllText message. Also converts values to other types if specified.
+ * @param message AllText
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this AllText to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for AllText
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+ }
+ }
+
+ /** Properties of a TransformationErrorHandling. */
+ interface ITransformationErrorHandling {
+
+ /** TransformationErrorHandling throwError */
+ throwError?: (google.privacy.dlp.v2.TransformationErrorHandling.IThrowError|null);
+
+ /** TransformationErrorHandling leaveUntransformed */
+ leaveUntransformed?: (google.privacy.dlp.v2.TransformationErrorHandling.ILeaveUntransformed|null);
+ }
+
+ /** Represents a TransformationErrorHandling. */
+ class TransformationErrorHandling implements ITransformationErrorHandling {
+
+ /**
+ * Constructs a new TransformationErrorHandling.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.ITransformationErrorHandling);
+
+ /** TransformationErrorHandling throwError. */
+ public throwError?: (google.privacy.dlp.v2.TransformationErrorHandling.IThrowError|null);
+
+ /** TransformationErrorHandling leaveUntransformed. */
+ public leaveUntransformed?: (google.privacy.dlp.v2.TransformationErrorHandling.ILeaveUntransformed|null);
+
+ /** TransformationErrorHandling mode. */
+ public mode?: ("throwError"|"leaveUntransformed");
+
+ /**
+ * Creates a new TransformationErrorHandling instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns TransformationErrorHandling instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.ITransformationErrorHandling): google.privacy.dlp.v2.TransformationErrorHandling;
+
+ /**
+ * Encodes the specified TransformationErrorHandling message. Does not implicitly {@link google.privacy.dlp.v2.TransformationErrorHandling.verify|verify} messages.
+ * @param message TransformationErrorHandling message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.ITransformationErrorHandling, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified TransformationErrorHandling message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.TransformationErrorHandling.verify|verify} messages.
+ * @param message TransformationErrorHandling message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.ITransformationErrorHandling, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a TransformationErrorHandling message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns TransformationErrorHandling
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.TransformationErrorHandling;
+
+ /**
+ * Decodes a TransformationErrorHandling message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns TransformationErrorHandling
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.TransformationErrorHandling;
+
+ /**
+ * Verifies a TransformationErrorHandling message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a TransformationErrorHandling message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns TransformationErrorHandling
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.TransformationErrorHandling;
+
+ /**
+ * Creates a plain object from a TransformationErrorHandling message. Also converts values to other types if specified.
+ * @param message TransformationErrorHandling
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.TransformationErrorHandling, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this TransformationErrorHandling to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for TransformationErrorHandling
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace TransformationErrorHandling {
+
+ /** Properties of a ThrowError. */
+ interface IThrowError {
+ }
+
+ /** Represents a ThrowError. */
+ class ThrowError implements IThrowError {
+
+ /**
+ * Constructs a new ThrowError.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.TransformationErrorHandling.IThrowError);
+
+ /**
+ * Creates a new ThrowError instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ThrowError instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.TransformationErrorHandling.IThrowError): google.privacy.dlp.v2.TransformationErrorHandling.ThrowError;
+
+ /**
+ * Encodes the specified ThrowError message. Does not implicitly {@link google.privacy.dlp.v2.TransformationErrorHandling.ThrowError.verify|verify} messages.
+ * @param message ThrowError message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.TransformationErrorHandling.IThrowError, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ThrowError message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.TransformationErrorHandling.ThrowError.verify|verify} messages.
+ * @param message ThrowError message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.TransformationErrorHandling.IThrowError, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ThrowError message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ThrowError
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.TransformationErrorHandling.ThrowError;
+
+ /**
+ * Decodes a ThrowError message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ThrowError
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.TransformationErrorHandling.ThrowError;
+
+ /**
+ * Verifies a ThrowError message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a ThrowError message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ThrowError
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.TransformationErrorHandling.ThrowError;
+
+ /**
+ * Creates a plain object from a ThrowError message. Also converts values to other types if specified.
+ * @param message ThrowError
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.TransformationErrorHandling.ThrowError, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ThrowError to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ThrowError
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a LeaveUntransformed. */
+ interface ILeaveUntransformed {
+ }
+
+ /** Represents a LeaveUntransformed. */
+ class LeaveUntransformed implements ILeaveUntransformed {
+
+ /**
+ * Constructs a new LeaveUntransformed.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.TransformationErrorHandling.ILeaveUntransformed);
+
+ /**
+ * Creates a new LeaveUntransformed instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns LeaveUntransformed instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.TransformationErrorHandling.ILeaveUntransformed): google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed;
+
+ /**
+ * Encodes the specified LeaveUntransformed message. Does not implicitly {@link google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed.verify|verify} messages.
+ * @param message LeaveUntransformed message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.TransformationErrorHandling.ILeaveUntransformed, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified LeaveUntransformed message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed.verify|verify} messages.
+ * @param message LeaveUntransformed message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.TransformationErrorHandling.ILeaveUntransformed, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a LeaveUntransformed message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns LeaveUntransformed
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed;
+
+ /**
+ * Decodes a LeaveUntransformed message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns LeaveUntransformed
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed;
+
+ /**
+ * Verifies a LeaveUntransformed message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a LeaveUntransformed message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns LeaveUntransformed
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed;
+
+ /**
+ * Creates a plain object from a LeaveUntransformed message. Also converts values to other types if specified.
+ * @param message LeaveUntransformed
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this LeaveUntransformed to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for LeaveUntransformed
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+ }
+
+ /** Properties of a PrimitiveTransformation. */
+ interface IPrimitiveTransformation {
+
+ /** PrimitiveTransformation replaceConfig */
+ replaceConfig?: (google.privacy.dlp.v2.IReplaceValueConfig|null);
+
+ /** PrimitiveTransformation redactConfig */
+ redactConfig?: (google.privacy.dlp.v2.IRedactConfig|null);
+
+ /** PrimitiveTransformation characterMaskConfig */
+ characterMaskConfig?: (google.privacy.dlp.v2.ICharacterMaskConfig|null);
+
+ /** PrimitiveTransformation cryptoReplaceFfxFpeConfig */
+ cryptoReplaceFfxFpeConfig?: (google.privacy.dlp.v2.ICryptoReplaceFfxFpeConfig|null);
+
+ /** PrimitiveTransformation fixedSizeBucketingConfig */
+ fixedSizeBucketingConfig?: (google.privacy.dlp.v2.IFixedSizeBucketingConfig|null);
+
+ /** PrimitiveTransformation bucketingConfig */
+ bucketingConfig?: (google.privacy.dlp.v2.IBucketingConfig|null);
+
+ /** PrimitiveTransformation replaceWithInfoTypeConfig */
+ replaceWithInfoTypeConfig?: (google.privacy.dlp.v2.IReplaceWithInfoTypeConfig|null);
+
+ /** PrimitiveTransformation timePartConfig */
+ timePartConfig?: (google.privacy.dlp.v2.ITimePartConfig|null);
+
+ /** PrimitiveTransformation cryptoHashConfig */
+ cryptoHashConfig?: (google.privacy.dlp.v2.ICryptoHashConfig|null);
+
+ /** PrimitiveTransformation dateShiftConfig */
+ dateShiftConfig?: (google.privacy.dlp.v2.IDateShiftConfig|null);
+
+ /** PrimitiveTransformation cryptoDeterministicConfig */
+ cryptoDeterministicConfig?: (google.privacy.dlp.v2.ICryptoDeterministicConfig|null);
+
+ /** PrimitiveTransformation replaceDictionaryConfig */
+ replaceDictionaryConfig?: (google.privacy.dlp.v2.IReplaceDictionaryConfig|null);
+ }
+
+ /** Represents a PrimitiveTransformation. */
+ class PrimitiveTransformation implements IPrimitiveTransformation {
+
+ /**
+ * Constructs a new PrimitiveTransformation.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.IPrimitiveTransformation);
+
+ /** PrimitiveTransformation replaceConfig. */
+ public replaceConfig?: (google.privacy.dlp.v2.IReplaceValueConfig|null);
+
+ /** PrimitiveTransformation redactConfig. */
+ public redactConfig?: (google.privacy.dlp.v2.IRedactConfig|null);
+
+ /** PrimitiveTransformation characterMaskConfig. */
+ public characterMaskConfig?: (google.privacy.dlp.v2.ICharacterMaskConfig|null);
+
+ /** PrimitiveTransformation cryptoReplaceFfxFpeConfig. */
+ public cryptoReplaceFfxFpeConfig?: (google.privacy.dlp.v2.ICryptoReplaceFfxFpeConfig|null);
+
+ /** PrimitiveTransformation fixedSizeBucketingConfig. */
+ public fixedSizeBucketingConfig?: (google.privacy.dlp.v2.IFixedSizeBucketingConfig|null);
+
+ /** PrimitiveTransformation bucketingConfig. */
+ public bucketingConfig?: (google.privacy.dlp.v2.IBucketingConfig|null);
+
+ /** PrimitiveTransformation replaceWithInfoTypeConfig. */
+ public replaceWithInfoTypeConfig?: (google.privacy.dlp.v2.IReplaceWithInfoTypeConfig|null);
+
+ /** PrimitiveTransformation timePartConfig. */
+ public timePartConfig?: (google.privacy.dlp.v2.ITimePartConfig|null);
+
+ /** PrimitiveTransformation cryptoHashConfig. */
+ public cryptoHashConfig?: (google.privacy.dlp.v2.ICryptoHashConfig|null);
+
+ /** PrimitiveTransformation dateShiftConfig. */
+ public dateShiftConfig?: (google.privacy.dlp.v2.IDateShiftConfig|null);
+
+ /** PrimitiveTransformation cryptoDeterministicConfig. */
+ public cryptoDeterministicConfig?: (google.privacy.dlp.v2.ICryptoDeterministicConfig|null);
+
+ /** PrimitiveTransformation replaceDictionaryConfig. */
+ public replaceDictionaryConfig?: (google.privacy.dlp.v2.IReplaceDictionaryConfig|null);
+
+ /** PrimitiveTransformation transformation. */
+ public transformation?: ("replaceConfig"|"redactConfig"|"characterMaskConfig"|"cryptoReplaceFfxFpeConfig"|"fixedSizeBucketingConfig"|"bucketingConfig"|"replaceWithInfoTypeConfig"|"timePartConfig"|"cryptoHashConfig"|"dateShiftConfig"|"cryptoDeterministicConfig"|"replaceDictionaryConfig");
+
+ /**
+ * Creates a new PrimitiveTransformation instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns PrimitiveTransformation instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.IPrimitiveTransformation): google.privacy.dlp.v2.PrimitiveTransformation;
+
+ /**
+ * Encodes the specified PrimitiveTransformation message. Does not implicitly {@link google.privacy.dlp.v2.PrimitiveTransformation.verify|verify} messages.
+ * @param message PrimitiveTransformation message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.IPrimitiveTransformation, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified PrimitiveTransformation message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.PrimitiveTransformation.verify|verify} messages.
+ * @param message PrimitiveTransformation message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.IPrimitiveTransformation, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a PrimitiveTransformation message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns PrimitiveTransformation
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.PrimitiveTransformation;
+
+ /**
+ * Decodes a PrimitiveTransformation message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns PrimitiveTransformation
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.PrimitiveTransformation;
+
+ /**
+ * Verifies a PrimitiveTransformation message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a PrimitiveTransformation message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns PrimitiveTransformation
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.PrimitiveTransformation;
+
+ /**
+ * Creates a plain object from a PrimitiveTransformation message. Also converts values to other types if specified.
+ * @param message PrimitiveTransformation
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.PrimitiveTransformation, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this PrimitiveTransformation to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for PrimitiveTransformation
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a TimePartConfig. */
+ interface ITimePartConfig {
+
+ /** TimePartConfig partToExtract */
+ partToExtract?: (google.privacy.dlp.v2.TimePartConfig.TimePart|keyof typeof google.privacy.dlp.v2.TimePartConfig.TimePart|null);
+ }
+
+ /** Represents a TimePartConfig. */
+ class TimePartConfig implements ITimePartConfig {
+
+ /**
+ * Constructs a new TimePartConfig.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.ITimePartConfig);
+
+ /** TimePartConfig partToExtract. */
+ public partToExtract: (google.privacy.dlp.v2.TimePartConfig.TimePart|keyof typeof google.privacy.dlp.v2.TimePartConfig.TimePart);
+
+ /**
+ * Creates a new TimePartConfig instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns TimePartConfig instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.ITimePartConfig): google.privacy.dlp.v2.TimePartConfig;
+
+ /**
+ * Encodes the specified TimePartConfig message. Does not implicitly {@link google.privacy.dlp.v2.TimePartConfig.verify|verify} messages.
+ * @param message TimePartConfig message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.ITimePartConfig, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified TimePartConfig message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.TimePartConfig.verify|verify} messages.
+ * @param message TimePartConfig message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.ITimePartConfig, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a TimePartConfig message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns TimePartConfig
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.TimePartConfig;
+
+ /**
+ * Decodes a TimePartConfig message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns TimePartConfig
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.TimePartConfig;
+
+ /**
+ * Verifies a TimePartConfig message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a TimePartConfig message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns TimePartConfig
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.TimePartConfig;
+
+ /**
+ * Creates a plain object from a TimePartConfig message. Also converts values to other types if specified.
+ * @param message TimePartConfig
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.TimePartConfig, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this TimePartConfig to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for TimePartConfig
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace TimePartConfig {
+
+ /** TimePart enum. */
+ enum TimePart {
+ TIME_PART_UNSPECIFIED = 0,
+ YEAR = 1,
+ MONTH = 2,
+ DAY_OF_MONTH = 3,
+ DAY_OF_WEEK = 4,
+ WEEK_OF_YEAR = 5,
+ HOUR_OF_DAY = 6
+ }
+ }
+
+ /** Properties of a CryptoHashConfig. */
+ interface ICryptoHashConfig {
+
+ /** CryptoHashConfig cryptoKey */
+ cryptoKey?: (google.privacy.dlp.v2.ICryptoKey|null);
+ }
+
+ /** Represents a CryptoHashConfig. */
+ class CryptoHashConfig implements ICryptoHashConfig {
+
+ /**
+ * Constructs a new CryptoHashConfig.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.ICryptoHashConfig);
+
+ /** CryptoHashConfig cryptoKey. */
+ public cryptoKey?: (google.privacy.dlp.v2.ICryptoKey|null);
+
+ /**
+ * Creates a new CryptoHashConfig instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns CryptoHashConfig instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.ICryptoHashConfig): google.privacy.dlp.v2.CryptoHashConfig;
+
+ /**
+ * Encodes the specified CryptoHashConfig message. Does not implicitly {@link google.privacy.dlp.v2.CryptoHashConfig.verify|verify} messages.
+ * @param message CryptoHashConfig message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.ICryptoHashConfig, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified CryptoHashConfig message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.CryptoHashConfig.verify|verify} messages.
+ * @param message CryptoHashConfig message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.ICryptoHashConfig, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a CryptoHashConfig message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns CryptoHashConfig
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.CryptoHashConfig;
+
+ /**
+ * Decodes a CryptoHashConfig message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns CryptoHashConfig
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.CryptoHashConfig;
+
+ /**
+ * Verifies a CryptoHashConfig message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a CryptoHashConfig message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns CryptoHashConfig
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.CryptoHashConfig;
+
+ /**
+ * Creates a plain object from a CryptoHashConfig message. Also converts values to other types if specified.
+ * @param message CryptoHashConfig
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.CryptoHashConfig, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this CryptoHashConfig to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for CryptoHashConfig
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a CryptoDeterministicConfig. */
+ interface ICryptoDeterministicConfig {
+
+ /** CryptoDeterministicConfig cryptoKey */
+ cryptoKey?: (google.privacy.dlp.v2.ICryptoKey|null);
+
+ /** CryptoDeterministicConfig surrogateInfoType */
+ surrogateInfoType?: (google.privacy.dlp.v2.IInfoType|null);
+
+ /** CryptoDeterministicConfig context */
+ context?: (google.privacy.dlp.v2.IFieldId|null);
+ }
+
+ /** Represents a CryptoDeterministicConfig. */
+ class CryptoDeterministicConfig implements ICryptoDeterministicConfig {
+
+ /**
+ * Constructs a new CryptoDeterministicConfig.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.ICryptoDeterministicConfig);
+
+ /** CryptoDeterministicConfig cryptoKey. */
+ public cryptoKey?: (google.privacy.dlp.v2.ICryptoKey|null);
+
+ /** CryptoDeterministicConfig surrogateInfoType. */
+ public surrogateInfoType?: (google.privacy.dlp.v2.IInfoType|null);
+
+ /** CryptoDeterministicConfig context. */
+ public context?: (google.privacy.dlp.v2.IFieldId|null);
+
+ /**
+ * Creates a new CryptoDeterministicConfig instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns CryptoDeterministicConfig instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.ICryptoDeterministicConfig): google.privacy.dlp.v2.CryptoDeterministicConfig;
+
+ /**
+ * Encodes the specified CryptoDeterministicConfig message. Does not implicitly {@link google.privacy.dlp.v2.CryptoDeterministicConfig.verify|verify} messages.
+ * @param message CryptoDeterministicConfig message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.ICryptoDeterministicConfig, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified CryptoDeterministicConfig message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.CryptoDeterministicConfig.verify|verify} messages.
+ * @param message CryptoDeterministicConfig message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.ICryptoDeterministicConfig, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a CryptoDeterministicConfig message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns CryptoDeterministicConfig
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.CryptoDeterministicConfig;
+
+ /**
+ * Decodes a CryptoDeterministicConfig message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns CryptoDeterministicConfig
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.CryptoDeterministicConfig;
+
+ /**
+ * Verifies a CryptoDeterministicConfig message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a CryptoDeterministicConfig message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns CryptoDeterministicConfig
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.CryptoDeterministicConfig;
+
+ /**
+ * Creates a plain object from a CryptoDeterministicConfig message. Also converts values to other types if specified.
+ * @param message CryptoDeterministicConfig
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.CryptoDeterministicConfig, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this CryptoDeterministicConfig to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for CryptoDeterministicConfig
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a ReplaceValueConfig. */
+ interface IReplaceValueConfig {
+
+ /** ReplaceValueConfig newValue */
+ newValue?: (google.privacy.dlp.v2.IValue|null);
+ }
+
+ /** Represents a ReplaceValueConfig. */
+ class ReplaceValueConfig implements IReplaceValueConfig {
+
+ /**
+ * Constructs a new ReplaceValueConfig.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.IReplaceValueConfig);
+
+ /** ReplaceValueConfig newValue. */
+ public newValue?: (google.privacy.dlp.v2.IValue|null);
+
+ /**
+ * Creates a new ReplaceValueConfig instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ReplaceValueConfig instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.IReplaceValueConfig): google.privacy.dlp.v2.ReplaceValueConfig;
+
+ /**
+ * Encodes the specified ReplaceValueConfig message. Does not implicitly {@link google.privacy.dlp.v2.ReplaceValueConfig.verify|verify} messages.
+ * @param message ReplaceValueConfig message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.IReplaceValueConfig, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ReplaceValueConfig message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.ReplaceValueConfig.verify|verify} messages.
+ * @param message ReplaceValueConfig message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.IReplaceValueConfig, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ReplaceValueConfig message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ReplaceValueConfig
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.ReplaceValueConfig;
+
+ /**
+ * Decodes a ReplaceValueConfig message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ReplaceValueConfig
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.ReplaceValueConfig;
+
+ /**
+ * Verifies a ReplaceValueConfig message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a ReplaceValueConfig message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ReplaceValueConfig
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.ReplaceValueConfig;
+
+ /**
+ * Creates a plain object from a ReplaceValueConfig message. Also converts values to other types if specified.
+ * @param message ReplaceValueConfig
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.ReplaceValueConfig, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ReplaceValueConfig to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ReplaceValueConfig
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a ReplaceDictionaryConfig. */
+ interface IReplaceDictionaryConfig {
+
+ /** ReplaceDictionaryConfig wordList */
+ wordList?: (google.privacy.dlp.v2.CustomInfoType.Dictionary.IWordList|null);
+ }
+
+ /** Represents a ReplaceDictionaryConfig. */
+ class ReplaceDictionaryConfig implements IReplaceDictionaryConfig {
+
+ /**
+ * Constructs a new ReplaceDictionaryConfig.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.IReplaceDictionaryConfig);
+
+ /** ReplaceDictionaryConfig wordList. */
+ public wordList?: (google.privacy.dlp.v2.CustomInfoType.Dictionary.IWordList|null);
+
+ /** ReplaceDictionaryConfig type. */
+ public type?: "wordList";
+
+ /**
+ * Creates a new ReplaceDictionaryConfig instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ReplaceDictionaryConfig instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.IReplaceDictionaryConfig): google.privacy.dlp.v2.ReplaceDictionaryConfig;
+
+ /**
+ * Encodes the specified ReplaceDictionaryConfig message. Does not implicitly {@link google.privacy.dlp.v2.ReplaceDictionaryConfig.verify|verify} messages.
+ * @param message ReplaceDictionaryConfig message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.IReplaceDictionaryConfig, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ReplaceDictionaryConfig message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.ReplaceDictionaryConfig.verify|verify} messages.
+ * @param message ReplaceDictionaryConfig message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.IReplaceDictionaryConfig, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ReplaceDictionaryConfig message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ReplaceDictionaryConfig
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.ReplaceDictionaryConfig;
+
+ /**
+ * Decodes a ReplaceDictionaryConfig message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ReplaceDictionaryConfig
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.ReplaceDictionaryConfig;
+
+ /**
+ * Verifies a ReplaceDictionaryConfig message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a ReplaceDictionaryConfig message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ReplaceDictionaryConfig
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.ReplaceDictionaryConfig;
+
+ /**
+ * Creates a plain object from a ReplaceDictionaryConfig message. Also converts values to other types if specified.
+ * @param message ReplaceDictionaryConfig
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.ReplaceDictionaryConfig, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ReplaceDictionaryConfig to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ReplaceDictionaryConfig
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a ReplaceWithInfoTypeConfig. */
+ interface IReplaceWithInfoTypeConfig {
+ }
+
+ /** Represents a ReplaceWithInfoTypeConfig. */
+ class ReplaceWithInfoTypeConfig implements IReplaceWithInfoTypeConfig {
+
+ /**
+ * Constructs a new ReplaceWithInfoTypeConfig.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.IReplaceWithInfoTypeConfig);
+
+ /**
+ * Creates a new ReplaceWithInfoTypeConfig instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ReplaceWithInfoTypeConfig instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.IReplaceWithInfoTypeConfig): google.privacy.dlp.v2.ReplaceWithInfoTypeConfig;
+
+ /**
+ * Encodes the specified ReplaceWithInfoTypeConfig message. Does not implicitly {@link google.privacy.dlp.v2.ReplaceWithInfoTypeConfig.verify|verify} messages.
+ * @param message ReplaceWithInfoTypeConfig message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.IReplaceWithInfoTypeConfig, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ReplaceWithInfoTypeConfig message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.ReplaceWithInfoTypeConfig.verify|verify} messages.
+ * @param message ReplaceWithInfoTypeConfig message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.IReplaceWithInfoTypeConfig, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ReplaceWithInfoTypeConfig message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ReplaceWithInfoTypeConfig
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.ReplaceWithInfoTypeConfig;
+
+ /**
+ * Decodes a ReplaceWithInfoTypeConfig message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ReplaceWithInfoTypeConfig
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.ReplaceWithInfoTypeConfig;
+
+ /**
+ * Verifies a ReplaceWithInfoTypeConfig message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a ReplaceWithInfoTypeConfig message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ReplaceWithInfoTypeConfig
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.ReplaceWithInfoTypeConfig;
+
+ /**
+ * Creates a plain object from a ReplaceWithInfoTypeConfig message. Also converts values to other types if specified.
+ * @param message ReplaceWithInfoTypeConfig
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.ReplaceWithInfoTypeConfig, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ReplaceWithInfoTypeConfig to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ReplaceWithInfoTypeConfig
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a RedactConfig. */
+ interface IRedactConfig {
+ }
+
+ /** Represents a RedactConfig. */
+ class RedactConfig implements IRedactConfig {
+
+ /**
+ * Constructs a new RedactConfig.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.IRedactConfig);
+
+ /**
+ * Creates a new RedactConfig instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns RedactConfig instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.IRedactConfig): google.privacy.dlp.v2.RedactConfig;
+
+ /**
+ * Encodes the specified RedactConfig message. Does not implicitly {@link google.privacy.dlp.v2.RedactConfig.verify|verify} messages.
+ * @param message RedactConfig message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.IRedactConfig, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified RedactConfig message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.RedactConfig.verify|verify} messages.
+ * @param message RedactConfig message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.IRedactConfig, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a RedactConfig message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns RedactConfig
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.RedactConfig;
+
+ /**
+ * Decodes a RedactConfig message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns RedactConfig
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.RedactConfig;
+
+ /**
+ * Verifies a RedactConfig message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a RedactConfig message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns RedactConfig
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.RedactConfig;
+
+ /**
+ * Creates a plain object from a RedactConfig message. Also converts values to other types if specified.
+ * @param message RedactConfig
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.RedactConfig, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this RedactConfig to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for RedactConfig
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a CharsToIgnore. */
+ interface ICharsToIgnore {
+
+ /** CharsToIgnore charactersToSkip */
+ charactersToSkip?: (string|null);
+
+ /** CharsToIgnore commonCharactersToIgnore */
+ commonCharactersToIgnore?: (google.privacy.dlp.v2.CharsToIgnore.CommonCharsToIgnore|keyof typeof google.privacy.dlp.v2.CharsToIgnore.CommonCharsToIgnore|null);
+ }
+
+ /** Represents a CharsToIgnore. */
+ class CharsToIgnore implements ICharsToIgnore {
+
+ /**
+ * Constructs a new CharsToIgnore.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.ICharsToIgnore);
+
+ /** CharsToIgnore charactersToSkip. */
+ public charactersToSkip?: (string|null);
+
+ /** CharsToIgnore commonCharactersToIgnore. */
+ public commonCharactersToIgnore?: (google.privacy.dlp.v2.CharsToIgnore.CommonCharsToIgnore|keyof typeof google.privacy.dlp.v2.CharsToIgnore.CommonCharsToIgnore|null);
+
+ /** CharsToIgnore characters. */
+ public characters?: ("charactersToSkip"|"commonCharactersToIgnore");
+
+ /**
+ * Creates a new CharsToIgnore instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns CharsToIgnore instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.ICharsToIgnore): google.privacy.dlp.v2.CharsToIgnore;
+
+ /**
+ * Encodes the specified CharsToIgnore message. Does not implicitly {@link google.privacy.dlp.v2.CharsToIgnore.verify|verify} messages.
+ * @param message CharsToIgnore message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.ICharsToIgnore, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified CharsToIgnore message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.CharsToIgnore.verify|verify} messages.
+ * @param message CharsToIgnore message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.ICharsToIgnore, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a CharsToIgnore message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns CharsToIgnore
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.CharsToIgnore;
+
+ /**
+ * Decodes a CharsToIgnore message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns CharsToIgnore
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.CharsToIgnore;
+
+ /**
+ * Verifies a CharsToIgnore message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a CharsToIgnore message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns CharsToIgnore
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.CharsToIgnore;
+
+ /**
+ * Creates a plain object from a CharsToIgnore message. Also converts values to other types if specified.
+ * @param message CharsToIgnore
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.CharsToIgnore, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this CharsToIgnore to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for CharsToIgnore
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace CharsToIgnore {
+
+ /** CommonCharsToIgnore enum. */
+ enum CommonCharsToIgnore {
+ COMMON_CHARS_TO_IGNORE_UNSPECIFIED = 0,
+ NUMERIC = 1,
+ ALPHA_UPPER_CASE = 2,
+ ALPHA_LOWER_CASE = 3,
+ PUNCTUATION = 4,
+ WHITESPACE = 5
+ }
+ }
+
+ /** Properties of a CharacterMaskConfig. */
+ interface ICharacterMaskConfig {
+
+ /** CharacterMaskConfig maskingCharacter */
+ maskingCharacter?: (string|null);
+
+ /** CharacterMaskConfig numberToMask */
+ numberToMask?: (number|null);
+
+ /** CharacterMaskConfig reverseOrder */
+ reverseOrder?: (boolean|null);
+
+ /** CharacterMaskConfig charactersToIgnore */
+ charactersToIgnore?: (google.privacy.dlp.v2.ICharsToIgnore[]|null);
+ }
+
+ /** Represents a CharacterMaskConfig. */
+ class CharacterMaskConfig implements ICharacterMaskConfig {
+
+ /**
+ * Constructs a new CharacterMaskConfig.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.ICharacterMaskConfig);
+
+ /** CharacterMaskConfig maskingCharacter. */
+ public maskingCharacter: string;
+
+ /** CharacterMaskConfig numberToMask. */
+ public numberToMask: number;
+
+ /** CharacterMaskConfig reverseOrder. */
+ public reverseOrder: boolean;
+
+ /** CharacterMaskConfig charactersToIgnore. */
+ public charactersToIgnore: google.privacy.dlp.v2.ICharsToIgnore[];
+
+ /**
+ * Creates a new CharacterMaskConfig instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns CharacterMaskConfig instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.ICharacterMaskConfig): google.privacy.dlp.v2.CharacterMaskConfig;
+
+ /**
+ * Encodes the specified CharacterMaskConfig message. Does not implicitly {@link google.privacy.dlp.v2.CharacterMaskConfig.verify|verify} messages.
+ * @param message CharacterMaskConfig message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.ICharacterMaskConfig, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified CharacterMaskConfig message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.CharacterMaskConfig.verify|verify} messages.
+ * @param message CharacterMaskConfig message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.ICharacterMaskConfig, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a CharacterMaskConfig message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns CharacterMaskConfig
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.CharacterMaskConfig;
+
+ /**
+ * Decodes a CharacterMaskConfig message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns CharacterMaskConfig
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.CharacterMaskConfig;
+
+ /**
+ * Verifies a CharacterMaskConfig message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a CharacterMaskConfig message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns CharacterMaskConfig
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.CharacterMaskConfig;
+
+ /**
+ * Creates a plain object from a CharacterMaskConfig message. Also converts values to other types if specified.
+ * @param message CharacterMaskConfig
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.CharacterMaskConfig, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this CharacterMaskConfig to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for CharacterMaskConfig
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a FixedSizeBucketingConfig. */
+ interface IFixedSizeBucketingConfig {
+
+ /** FixedSizeBucketingConfig lowerBound */
+ lowerBound?: (google.privacy.dlp.v2.IValue|null);
+
+ /** FixedSizeBucketingConfig upperBound */
+ upperBound?: (google.privacy.dlp.v2.IValue|null);
+
+ /** FixedSizeBucketingConfig bucketSize */
+ bucketSize?: (number|null);
+ }
+
+ /** Represents a FixedSizeBucketingConfig. */
+ class FixedSizeBucketingConfig implements IFixedSizeBucketingConfig {
+
+ /**
+ * Constructs a new FixedSizeBucketingConfig.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.IFixedSizeBucketingConfig);
+
+ /** FixedSizeBucketingConfig lowerBound. */
+ public lowerBound?: (google.privacy.dlp.v2.IValue|null);
+
+ /** FixedSizeBucketingConfig upperBound. */
+ public upperBound?: (google.privacy.dlp.v2.IValue|null);
+
+ /** FixedSizeBucketingConfig bucketSize. */
+ public bucketSize: number;
+
+ /**
+ * Creates a new FixedSizeBucketingConfig instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns FixedSizeBucketingConfig instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.IFixedSizeBucketingConfig): google.privacy.dlp.v2.FixedSizeBucketingConfig;
+
+ /**
+ * Encodes the specified FixedSizeBucketingConfig message. Does not implicitly {@link google.privacy.dlp.v2.FixedSizeBucketingConfig.verify|verify} messages.
+ * @param message FixedSizeBucketingConfig message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.IFixedSizeBucketingConfig, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified FixedSizeBucketingConfig message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.FixedSizeBucketingConfig.verify|verify} messages.
+ * @param message FixedSizeBucketingConfig message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.IFixedSizeBucketingConfig, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a FixedSizeBucketingConfig message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns FixedSizeBucketingConfig
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.FixedSizeBucketingConfig;
+
+ /**
+ * Decodes a FixedSizeBucketingConfig message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns FixedSizeBucketingConfig
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.FixedSizeBucketingConfig;
+
+ /**
+ * Verifies a FixedSizeBucketingConfig message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a FixedSizeBucketingConfig message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns FixedSizeBucketingConfig
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.FixedSizeBucketingConfig;
+
+ /**
+ * Creates a plain object from a FixedSizeBucketingConfig message. Also converts values to other types if specified.
+ * @param message FixedSizeBucketingConfig
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.FixedSizeBucketingConfig, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this FixedSizeBucketingConfig to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for FixedSizeBucketingConfig
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a BucketingConfig. */
+ interface IBucketingConfig {
+
+ /** BucketingConfig buckets */
+ buckets?: (google.privacy.dlp.v2.BucketingConfig.IBucket[]|null);
+ }
+
+ /** Represents a BucketingConfig. */
+ class BucketingConfig implements IBucketingConfig {
+
+ /**
+ * Constructs a new BucketingConfig.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.IBucketingConfig);
+
+ /** BucketingConfig buckets. */
+ public buckets: google.privacy.dlp.v2.BucketingConfig.IBucket[];
+
+ /**
+ * Creates a new BucketingConfig instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns BucketingConfig instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.IBucketingConfig): google.privacy.dlp.v2.BucketingConfig;
+
+ /**
+ * Encodes the specified BucketingConfig message. Does not implicitly {@link google.privacy.dlp.v2.BucketingConfig.verify|verify} messages.
+ * @param message BucketingConfig message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.IBucketingConfig, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified BucketingConfig message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.BucketingConfig.verify|verify} messages.
+ * @param message BucketingConfig message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.IBucketingConfig, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a BucketingConfig message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns BucketingConfig
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.BucketingConfig;
+
+ /**
+ * Decodes a BucketingConfig message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns BucketingConfig
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.BucketingConfig;
+
+ /**
+ * Verifies a BucketingConfig message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a BucketingConfig message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns BucketingConfig
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.BucketingConfig;
+
+ /**
+ * Creates a plain object from a BucketingConfig message. Also converts values to other types if specified.
+ * @param message BucketingConfig
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.BucketingConfig, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this BucketingConfig to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for BucketingConfig
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace BucketingConfig {
+
+ /** Properties of a Bucket. */
+ interface IBucket {
+
+ /** Bucket min */
+ min?: (google.privacy.dlp.v2.IValue|null);
+
+ /** Bucket max */
+ max?: (google.privacy.dlp.v2.IValue|null);
+
+ /** Bucket replacementValue */
+ replacementValue?: (google.privacy.dlp.v2.IValue|null);
+ }
+
+ /** Represents a Bucket. */
+ class Bucket implements IBucket {
+
+ /**
+ * Constructs a new Bucket.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.BucketingConfig.IBucket);
+
+ /** Bucket min. */
+ public min?: (google.privacy.dlp.v2.IValue|null);
+
+ /** Bucket max. */
+ public max?: (google.privacy.dlp.v2.IValue|null);
+
+ /** Bucket replacementValue. */
+ public replacementValue?: (google.privacy.dlp.v2.IValue|null);
+
+ /**
+ * Creates a new Bucket instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns Bucket instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.BucketingConfig.IBucket): google.privacy.dlp.v2.BucketingConfig.Bucket;
+
+ /**
+ * Encodes the specified Bucket message. Does not implicitly {@link google.privacy.dlp.v2.BucketingConfig.Bucket.verify|verify} messages.
+ * @param message Bucket message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.BucketingConfig.IBucket, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified Bucket message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.BucketingConfig.Bucket.verify|verify} messages.
+ * @param message Bucket message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.BucketingConfig.IBucket, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a Bucket message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns Bucket
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.BucketingConfig.Bucket;
+
+ /**
+ * Decodes a Bucket message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns Bucket
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.BucketingConfig.Bucket;
+
+ /**
+ * Verifies a Bucket message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a Bucket message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns Bucket
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.BucketingConfig.Bucket;
+
+ /**
+ * Creates a plain object from a Bucket message. Also converts values to other types if specified.
+ * @param message Bucket
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.BucketingConfig.Bucket, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this Bucket to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for Bucket
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+ }
+
+ /** Properties of a CryptoReplaceFfxFpeConfig. */
+ interface ICryptoReplaceFfxFpeConfig {
+
+ /** CryptoReplaceFfxFpeConfig cryptoKey */
+ cryptoKey?: (google.privacy.dlp.v2.ICryptoKey|null);
+
+ /** CryptoReplaceFfxFpeConfig context */
+ context?: (google.privacy.dlp.v2.IFieldId|null);
+
+ /** CryptoReplaceFfxFpeConfig commonAlphabet */
+ commonAlphabet?: (google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig.FfxCommonNativeAlphabet|keyof typeof google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig.FfxCommonNativeAlphabet|null);
+
+ /** CryptoReplaceFfxFpeConfig customAlphabet */
+ customAlphabet?: (string|null);
+
+ /** CryptoReplaceFfxFpeConfig radix */
+ radix?: (number|null);
+
+ /** CryptoReplaceFfxFpeConfig surrogateInfoType */
+ surrogateInfoType?: (google.privacy.dlp.v2.IInfoType|null);
+ }
+
+ /** Represents a CryptoReplaceFfxFpeConfig. */
+ class CryptoReplaceFfxFpeConfig implements ICryptoReplaceFfxFpeConfig {
+
+ /**
+ * Constructs a new CryptoReplaceFfxFpeConfig.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.ICryptoReplaceFfxFpeConfig);
+
+ /** CryptoReplaceFfxFpeConfig cryptoKey. */
+ public cryptoKey?: (google.privacy.dlp.v2.ICryptoKey|null);
+
+ /** CryptoReplaceFfxFpeConfig context. */
+ public context?: (google.privacy.dlp.v2.IFieldId|null);
+
+ /** CryptoReplaceFfxFpeConfig commonAlphabet. */
+ public commonAlphabet?: (google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig.FfxCommonNativeAlphabet|keyof typeof google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig.FfxCommonNativeAlphabet|null);
+
+ /** CryptoReplaceFfxFpeConfig customAlphabet. */
+ public customAlphabet?: (string|null);
+
+ /** CryptoReplaceFfxFpeConfig radix. */
+ public radix?: (number|null);
+
+ /** CryptoReplaceFfxFpeConfig surrogateInfoType. */
+ public surrogateInfoType?: (google.privacy.dlp.v2.IInfoType|null);
+
+ /** CryptoReplaceFfxFpeConfig alphabet. */
+ public alphabet?: ("commonAlphabet"|"customAlphabet"|"radix");
+
+ /**
+ * Creates a new CryptoReplaceFfxFpeConfig instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns CryptoReplaceFfxFpeConfig instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.ICryptoReplaceFfxFpeConfig): google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig;
+
+ /**
+ * Encodes the specified CryptoReplaceFfxFpeConfig message. Does not implicitly {@link google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig.verify|verify} messages.
+ * @param message CryptoReplaceFfxFpeConfig message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.ICryptoReplaceFfxFpeConfig, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified CryptoReplaceFfxFpeConfig message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig.verify|verify} messages.
+ * @param message CryptoReplaceFfxFpeConfig message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.ICryptoReplaceFfxFpeConfig, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a CryptoReplaceFfxFpeConfig message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns CryptoReplaceFfxFpeConfig
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig;
+
+ /**
+ * Decodes a CryptoReplaceFfxFpeConfig message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns CryptoReplaceFfxFpeConfig
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig;
+
+ /**
+ * Verifies a CryptoReplaceFfxFpeConfig message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a CryptoReplaceFfxFpeConfig message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns CryptoReplaceFfxFpeConfig
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig;
+
+ /**
+ * Creates a plain object from a CryptoReplaceFfxFpeConfig message. Also converts values to other types if specified.
+ * @param message CryptoReplaceFfxFpeConfig
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this CryptoReplaceFfxFpeConfig to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for CryptoReplaceFfxFpeConfig
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace CryptoReplaceFfxFpeConfig {
+
+ /** FfxCommonNativeAlphabet enum. */
+ enum FfxCommonNativeAlphabet {
+ FFX_COMMON_NATIVE_ALPHABET_UNSPECIFIED = 0,
+ NUMERIC = 1,
+ HEXADECIMAL = 2,
+ UPPER_CASE_ALPHA_NUMERIC = 3,
+ ALPHA_NUMERIC = 4
+ }
+ }
+
+ /** Properties of a CryptoKey. */
+ interface ICryptoKey {
+
+ /** CryptoKey transient */
+ transient?: (google.privacy.dlp.v2.ITransientCryptoKey|null);
+
+ /** CryptoKey unwrapped */
+ unwrapped?: (google.privacy.dlp.v2.IUnwrappedCryptoKey|null);
+
+ /** CryptoKey kmsWrapped */
+ kmsWrapped?: (google.privacy.dlp.v2.IKmsWrappedCryptoKey|null);
+ }
+
+ /** Represents a CryptoKey. */
+ class CryptoKey implements ICryptoKey {
+
+ /**
+ * Constructs a new CryptoKey.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.ICryptoKey);
+
+ /** CryptoKey transient. */
+ public transient?: (google.privacy.dlp.v2.ITransientCryptoKey|null);
+
+ /** CryptoKey unwrapped. */
+ public unwrapped?: (google.privacy.dlp.v2.IUnwrappedCryptoKey|null);
+
+ /** CryptoKey kmsWrapped. */
+ public kmsWrapped?: (google.privacy.dlp.v2.IKmsWrappedCryptoKey|null);
+
+ /** CryptoKey source. */
+ public source?: ("transient"|"unwrapped"|"kmsWrapped");
+
+ /**
+ * Creates a new CryptoKey instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns CryptoKey instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.ICryptoKey): google.privacy.dlp.v2.CryptoKey;
+
+ /**
+ * Encodes the specified CryptoKey message. Does not implicitly {@link google.privacy.dlp.v2.CryptoKey.verify|verify} messages.
+ * @param message CryptoKey message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.ICryptoKey, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified CryptoKey message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.CryptoKey.verify|verify} messages.
+ * @param message CryptoKey message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.ICryptoKey, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a CryptoKey message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns CryptoKey
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.CryptoKey;
+
+ /**
+ * Decodes a CryptoKey message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns CryptoKey
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.CryptoKey;
+
+ /**
+ * Verifies a CryptoKey message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a CryptoKey message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns CryptoKey
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.CryptoKey;
+
+ /**
+ * Creates a plain object from a CryptoKey message. Also converts values to other types if specified.
+ * @param message CryptoKey
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.CryptoKey, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this CryptoKey to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for CryptoKey
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a TransientCryptoKey. */
+ interface ITransientCryptoKey {
+
+ /** TransientCryptoKey name */
+ name?: (string|null);
+ }
+
+ /** Represents a TransientCryptoKey. */
+ class TransientCryptoKey implements ITransientCryptoKey {
+
+ /**
+ * Constructs a new TransientCryptoKey.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.ITransientCryptoKey);
+
+ /** TransientCryptoKey name. */
+ public name: string;
+
+ /**
+ * Creates a new TransientCryptoKey instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns TransientCryptoKey instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.ITransientCryptoKey): google.privacy.dlp.v2.TransientCryptoKey;
+
+ /**
+ * Encodes the specified TransientCryptoKey message. Does not implicitly {@link google.privacy.dlp.v2.TransientCryptoKey.verify|verify} messages.
+ * @param message TransientCryptoKey message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.ITransientCryptoKey, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified TransientCryptoKey message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.TransientCryptoKey.verify|verify} messages.
+ * @param message TransientCryptoKey message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.ITransientCryptoKey, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a TransientCryptoKey message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns TransientCryptoKey
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.TransientCryptoKey;
+
+ /**
+ * Decodes a TransientCryptoKey message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns TransientCryptoKey
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.TransientCryptoKey;
+
+ /**
+ * Verifies a TransientCryptoKey message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a TransientCryptoKey message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns TransientCryptoKey
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.TransientCryptoKey;
+
+ /**
+ * Creates a plain object from a TransientCryptoKey message. Also converts values to other types if specified.
+ * @param message TransientCryptoKey
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.TransientCryptoKey, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this TransientCryptoKey to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for TransientCryptoKey
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of an UnwrappedCryptoKey. */
+ interface IUnwrappedCryptoKey {
+
+ /** UnwrappedCryptoKey key */
+ key?: (Uint8Array|Buffer|string|null);
+ }
+
+ /** Represents an UnwrappedCryptoKey. */
+ class UnwrappedCryptoKey implements IUnwrappedCryptoKey {
+
+ /**
+ * Constructs a new UnwrappedCryptoKey.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.IUnwrappedCryptoKey);
+
+ /** UnwrappedCryptoKey key. */
+ public key: (Uint8Array|Buffer|string);
+
+ /**
+ * Creates a new UnwrappedCryptoKey instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns UnwrappedCryptoKey instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.IUnwrappedCryptoKey): google.privacy.dlp.v2.UnwrappedCryptoKey;
+
+ /**
+ * Encodes the specified UnwrappedCryptoKey message. Does not implicitly {@link google.privacy.dlp.v2.UnwrappedCryptoKey.verify|verify} messages.
+ * @param message UnwrappedCryptoKey message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.IUnwrappedCryptoKey, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified UnwrappedCryptoKey message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.UnwrappedCryptoKey.verify|verify} messages.
+ * @param message UnwrappedCryptoKey message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.IUnwrappedCryptoKey, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an UnwrappedCryptoKey message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns UnwrappedCryptoKey
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.UnwrappedCryptoKey;
+
+ /**
+ * Decodes an UnwrappedCryptoKey message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns UnwrappedCryptoKey
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.UnwrappedCryptoKey;
+
+ /**
+ * Verifies an UnwrappedCryptoKey message.
+ * @param message Plain 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 UnwrappedCryptoKey message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns UnwrappedCryptoKey
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.UnwrappedCryptoKey;
+
+ /**
+ * Creates a plain object from an UnwrappedCryptoKey message. Also converts values to other types if specified.
+ * @param message UnwrappedCryptoKey
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.UnwrappedCryptoKey, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this UnwrappedCryptoKey to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for UnwrappedCryptoKey
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a KmsWrappedCryptoKey. */
+ interface IKmsWrappedCryptoKey {
+
+ /** KmsWrappedCryptoKey wrappedKey */
+ wrappedKey?: (Uint8Array|Buffer|string|null);
+
+ /** KmsWrappedCryptoKey cryptoKeyName */
+ cryptoKeyName?: (string|null);
+ }
+
+ /** Represents a KmsWrappedCryptoKey. */
+ class KmsWrappedCryptoKey implements IKmsWrappedCryptoKey {
+
+ /**
+ * Constructs a new KmsWrappedCryptoKey.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.IKmsWrappedCryptoKey);
+
+ /** KmsWrappedCryptoKey wrappedKey. */
+ public wrappedKey: (Uint8Array|Buffer|string);
+
+ /** KmsWrappedCryptoKey cryptoKeyName. */
+ public cryptoKeyName: string;
+
+ /**
+ * Creates a new KmsWrappedCryptoKey instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns KmsWrappedCryptoKey instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.IKmsWrappedCryptoKey): google.privacy.dlp.v2.KmsWrappedCryptoKey;
+
+ /**
+ * Encodes the specified KmsWrappedCryptoKey message. Does not implicitly {@link google.privacy.dlp.v2.KmsWrappedCryptoKey.verify|verify} messages.
+ * @param message KmsWrappedCryptoKey message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.IKmsWrappedCryptoKey, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified KmsWrappedCryptoKey message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.KmsWrappedCryptoKey.verify|verify} messages.
+ * @param message KmsWrappedCryptoKey message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.IKmsWrappedCryptoKey, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a KmsWrappedCryptoKey message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns KmsWrappedCryptoKey
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.KmsWrappedCryptoKey;
+
+ /**
+ * Decodes a KmsWrappedCryptoKey message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns KmsWrappedCryptoKey
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.KmsWrappedCryptoKey;
+
+ /**
+ * Verifies a KmsWrappedCryptoKey message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a KmsWrappedCryptoKey message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns KmsWrappedCryptoKey
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.KmsWrappedCryptoKey;
+
+ /**
+ * Creates a plain object from a KmsWrappedCryptoKey message. Also converts values to other types if specified.
+ * @param message KmsWrappedCryptoKey
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.KmsWrappedCryptoKey, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this KmsWrappedCryptoKey to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for KmsWrappedCryptoKey
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a DateShiftConfig. */
+ interface IDateShiftConfig {
+
+ /** DateShiftConfig upperBoundDays */
+ upperBoundDays?: (number|null);
+
+ /** DateShiftConfig lowerBoundDays */
+ lowerBoundDays?: (number|null);
+
+ /** DateShiftConfig context */
+ context?: (google.privacy.dlp.v2.IFieldId|null);
+
+ /** DateShiftConfig cryptoKey */
+ cryptoKey?: (google.privacy.dlp.v2.ICryptoKey|null);
+ }
+
+ /** Represents a DateShiftConfig. */
+ class DateShiftConfig implements IDateShiftConfig {
+
+ /**
+ * Constructs a new DateShiftConfig.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.IDateShiftConfig);
+
+ /** DateShiftConfig upperBoundDays. */
+ public upperBoundDays: number;
+
+ /** DateShiftConfig lowerBoundDays. */
+ public lowerBoundDays: number;
+
+ /** DateShiftConfig context. */
+ public context?: (google.privacy.dlp.v2.IFieldId|null);
+
+ /** DateShiftConfig cryptoKey. */
+ public cryptoKey?: (google.privacy.dlp.v2.ICryptoKey|null);
+
+ /** DateShiftConfig method. */
+ public method?: "cryptoKey";
+
+ /**
+ * Creates a new DateShiftConfig instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns DateShiftConfig instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.IDateShiftConfig): google.privacy.dlp.v2.DateShiftConfig;
+
+ /**
+ * Encodes the specified DateShiftConfig message. Does not implicitly {@link google.privacy.dlp.v2.DateShiftConfig.verify|verify} messages.
+ * @param message DateShiftConfig message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.IDateShiftConfig, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified DateShiftConfig message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.DateShiftConfig.verify|verify} messages.
+ * @param message DateShiftConfig message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.IDateShiftConfig, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a DateShiftConfig message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns DateShiftConfig
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.DateShiftConfig;
+
+ /**
+ * Decodes a DateShiftConfig message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns DateShiftConfig
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.DateShiftConfig;
+
+ /**
+ * Verifies a DateShiftConfig message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a DateShiftConfig message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns DateShiftConfig
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.DateShiftConfig;
+
+ /**
+ * Creates a plain object from a DateShiftConfig message. Also converts values to other types if specified.
+ * @param message DateShiftConfig
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.DateShiftConfig, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this DateShiftConfig to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for DateShiftConfig
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of an InfoTypeTransformations. */
+ interface IInfoTypeTransformations {
+
+ /** InfoTypeTransformations transformations */
+ transformations?: (google.privacy.dlp.v2.InfoTypeTransformations.IInfoTypeTransformation[]|null);
+ }
+
+ /** Represents an InfoTypeTransformations. */
+ class InfoTypeTransformations implements IInfoTypeTransformations {
+
+ /**
+ * Constructs a new InfoTypeTransformations.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.IInfoTypeTransformations);
+
+ /** InfoTypeTransformations transformations. */
+ public transformations: google.privacy.dlp.v2.InfoTypeTransformations.IInfoTypeTransformation[];
+
+ /**
+ * Creates a new InfoTypeTransformations instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns InfoTypeTransformations instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.IInfoTypeTransformations): google.privacy.dlp.v2.InfoTypeTransformations;
+
+ /**
+ * Encodes the specified InfoTypeTransformations message. Does not implicitly {@link google.privacy.dlp.v2.InfoTypeTransformations.verify|verify} messages.
+ * @param message InfoTypeTransformations message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.IInfoTypeTransformations, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified InfoTypeTransformations message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.InfoTypeTransformations.verify|verify} messages.
+ * @param message InfoTypeTransformations message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.IInfoTypeTransformations, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an InfoTypeTransformations message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns InfoTypeTransformations
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.InfoTypeTransformations;
+
+ /**
+ * Decodes an InfoTypeTransformations message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns InfoTypeTransformations
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.InfoTypeTransformations;
+
+ /**
+ * Verifies an InfoTypeTransformations message.
+ * @param message Plain 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 InfoTypeTransformations message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns InfoTypeTransformations
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.InfoTypeTransformations;
+
+ /**
+ * Creates a plain object from an InfoTypeTransformations message. Also converts values to other types if specified.
+ * @param message InfoTypeTransformations
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.InfoTypeTransformations, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this InfoTypeTransformations to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for InfoTypeTransformations
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace InfoTypeTransformations {
+
+ /** Properties of an InfoTypeTransformation. */
+ interface IInfoTypeTransformation {
+
+ /** InfoTypeTransformation infoTypes */
+ infoTypes?: (google.privacy.dlp.v2.IInfoType[]|null);
+
+ /** InfoTypeTransformation primitiveTransformation */
+ primitiveTransformation?: (google.privacy.dlp.v2.IPrimitiveTransformation|null);
+ }
+
+ /** Represents an InfoTypeTransformation. */
+ class InfoTypeTransformation implements IInfoTypeTransformation {
+
+ /**
+ * Constructs a new InfoTypeTransformation.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.InfoTypeTransformations.IInfoTypeTransformation);
+
+ /** InfoTypeTransformation infoTypes. */
+ public infoTypes: google.privacy.dlp.v2.IInfoType[];
+
+ /** InfoTypeTransformation primitiveTransformation. */
+ public primitiveTransformation?: (google.privacy.dlp.v2.IPrimitiveTransformation|null);
+
+ /**
+ * Creates a new InfoTypeTransformation instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns InfoTypeTransformation instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.InfoTypeTransformations.IInfoTypeTransformation): google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation;
+
+ /**
+ * Encodes the specified InfoTypeTransformation message. Does not implicitly {@link google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation.verify|verify} messages.
+ * @param message InfoTypeTransformation message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.InfoTypeTransformations.IInfoTypeTransformation, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified InfoTypeTransformation message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation.verify|verify} messages.
+ * @param message InfoTypeTransformation message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.InfoTypeTransformations.IInfoTypeTransformation, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an InfoTypeTransformation message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns InfoTypeTransformation
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation;
+
+ /**
+ * Decodes an InfoTypeTransformation message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns InfoTypeTransformation
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation;
+
+ /**
+ * Verifies an InfoTypeTransformation message.
+ * @param message Plain 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 InfoTypeTransformation message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns InfoTypeTransformation
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation;
+
+ /**
+ * Creates a plain object from an InfoTypeTransformation message. Also converts values to other types if specified.
+ * @param message InfoTypeTransformation
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this InfoTypeTransformation to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for InfoTypeTransformation
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+ }
+
+ /** Properties of a FieldTransformation. */
+ interface IFieldTransformation {
+
+ /** FieldTransformation fields */
+ fields?: (google.privacy.dlp.v2.IFieldId[]|null);
+
+ /** FieldTransformation condition */
+ condition?: (google.privacy.dlp.v2.IRecordCondition|null);
+
+ /** FieldTransformation primitiveTransformation */
+ primitiveTransformation?: (google.privacy.dlp.v2.IPrimitiveTransformation|null);
+
+ /** FieldTransformation infoTypeTransformations */
+ infoTypeTransformations?: (google.privacy.dlp.v2.IInfoTypeTransformations|null);
+ }
+
+ /** Represents a FieldTransformation. */
+ class FieldTransformation implements IFieldTransformation {
+
+ /**
+ * Constructs a new FieldTransformation.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.IFieldTransformation);
+
+ /** FieldTransformation fields. */
+ public fields: google.privacy.dlp.v2.IFieldId[];
+
+ /** FieldTransformation condition. */
+ public condition?: (google.privacy.dlp.v2.IRecordCondition|null);
+
+ /** FieldTransformation primitiveTransformation. */
+ public primitiveTransformation?: (google.privacy.dlp.v2.IPrimitiveTransformation|null);
+
+ /** FieldTransformation infoTypeTransformations. */
+ public infoTypeTransformations?: (google.privacy.dlp.v2.IInfoTypeTransformations|null);
+
+ /** FieldTransformation transformation. */
+ public transformation?: ("primitiveTransformation"|"infoTypeTransformations");
+
+ /**
+ * Creates a new FieldTransformation instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns FieldTransformation instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.IFieldTransformation): google.privacy.dlp.v2.FieldTransformation;
+
+ /**
+ * Encodes the specified FieldTransformation message. Does not implicitly {@link google.privacy.dlp.v2.FieldTransformation.verify|verify} messages.
+ * @param message FieldTransformation message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.IFieldTransformation, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified FieldTransformation message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.FieldTransformation.verify|verify} messages.
+ * @param message FieldTransformation message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.IFieldTransformation, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a FieldTransformation message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns FieldTransformation
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.FieldTransformation;
+
+ /**
+ * Decodes a FieldTransformation message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns FieldTransformation
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.FieldTransformation;
+
+ /**
+ * Verifies a FieldTransformation message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a FieldTransformation message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns FieldTransformation
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.FieldTransformation;
+
+ /**
+ * Creates a plain object from a FieldTransformation message. Also converts values to other types if specified.
+ * @param message FieldTransformation
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.FieldTransformation, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this FieldTransformation to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for FieldTransformation
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a RecordTransformations. */
+ interface IRecordTransformations {
+
+ /** RecordTransformations fieldTransformations */
+ fieldTransformations?: (google.privacy.dlp.v2.IFieldTransformation[]|null);
+
+ /** RecordTransformations recordSuppressions */
+ recordSuppressions?: (google.privacy.dlp.v2.IRecordSuppression[]|null);
+ }
+
+ /** Represents a RecordTransformations. */
+ class RecordTransformations implements IRecordTransformations {
+
+ /**
+ * Constructs a new RecordTransformations.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.IRecordTransformations);
+
+ /** RecordTransformations fieldTransformations. */
+ public fieldTransformations: google.privacy.dlp.v2.IFieldTransformation[];
+
+ /** RecordTransformations recordSuppressions. */
+ public recordSuppressions: google.privacy.dlp.v2.IRecordSuppression[];
+
+ /**
+ * Creates a new RecordTransformations instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns RecordTransformations instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.IRecordTransformations): google.privacy.dlp.v2.RecordTransformations;
+
+ /**
+ * Encodes the specified RecordTransformations message. Does not implicitly {@link google.privacy.dlp.v2.RecordTransformations.verify|verify} messages.
+ * @param message RecordTransformations message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.IRecordTransformations, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified RecordTransformations message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.RecordTransformations.verify|verify} messages.
+ * @param message RecordTransformations message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.IRecordTransformations, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a RecordTransformations message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns RecordTransformations
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.RecordTransformations;
+
+ /**
+ * Decodes a RecordTransformations message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns RecordTransformations
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.RecordTransformations;
+
+ /**
+ * Verifies a RecordTransformations message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a RecordTransformations message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns RecordTransformations
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.RecordTransformations;
+
+ /**
+ * Creates a plain object from a RecordTransformations message. Also converts values to other types if specified.
+ * @param message RecordTransformations
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.RecordTransformations, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this RecordTransformations to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for RecordTransformations
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a RecordSuppression. */
+ interface IRecordSuppression {
+
+ /** RecordSuppression condition */
+ condition?: (google.privacy.dlp.v2.IRecordCondition|null);
+ }
+
+ /** Represents a RecordSuppression. */
+ class RecordSuppression implements IRecordSuppression {
+
+ /**
+ * Constructs a new RecordSuppression.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.IRecordSuppression);
+
+ /** RecordSuppression condition. */
+ public condition?: (google.privacy.dlp.v2.IRecordCondition|null);
+
+ /**
+ * Creates a new RecordSuppression instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns RecordSuppression instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.IRecordSuppression): google.privacy.dlp.v2.RecordSuppression;
+
+ /**
+ * Encodes the specified RecordSuppression message. Does not implicitly {@link google.privacy.dlp.v2.RecordSuppression.verify|verify} messages.
+ * @param message RecordSuppression message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.IRecordSuppression, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified RecordSuppression message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.RecordSuppression.verify|verify} messages.
+ * @param message RecordSuppression message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.IRecordSuppression, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a RecordSuppression message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns RecordSuppression
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.RecordSuppression;
+
+ /**
+ * Decodes a RecordSuppression message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns RecordSuppression
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.RecordSuppression;
+
+ /**
+ * Verifies a RecordSuppression message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a RecordSuppression message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns RecordSuppression
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.RecordSuppression;
+
+ /**
+ * Creates a plain object from a RecordSuppression message. Also converts values to other types if specified.
+ * @param message RecordSuppression
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.RecordSuppression, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this RecordSuppression to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for RecordSuppression
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a RecordCondition. */
+ interface IRecordCondition {
+
+ /** RecordCondition expressions */
+ expressions?: (google.privacy.dlp.v2.RecordCondition.IExpressions|null);
+ }
+
+ /** Represents a RecordCondition. */
+ class RecordCondition implements IRecordCondition {
+
+ /**
+ * Constructs a new RecordCondition.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.IRecordCondition);
+
+ /** RecordCondition expressions. */
+ public expressions?: (google.privacy.dlp.v2.RecordCondition.IExpressions|null);
+
+ /**
+ * Creates a new RecordCondition instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns RecordCondition instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.IRecordCondition): google.privacy.dlp.v2.RecordCondition;
+
+ /**
+ * Encodes the specified RecordCondition message. Does not implicitly {@link google.privacy.dlp.v2.RecordCondition.verify|verify} messages.
+ * @param message RecordCondition message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.IRecordCondition, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified RecordCondition message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.RecordCondition.verify|verify} messages.
+ * @param message RecordCondition message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.IRecordCondition, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a RecordCondition message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns RecordCondition
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.RecordCondition;
+
+ /**
+ * Decodes a RecordCondition message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns RecordCondition
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.RecordCondition;
+
+ /**
+ * Verifies a RecordCondition message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a RecordCondition message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns RecordCondition
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.RecordCondition;
+
+ /**
+ * Creates a plain object from a RecordCondition message. Also converts values to other types if specified.
+ * @param message RecordCondition
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.RecordCondition, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this RecordCondition to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for RecordCondition
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace RecordCondition {
+
+ /** Properties of a Condition. */
+ interface ICondition {
+
+ /** Condition field */
+ field?: (google.privacy.dlp.v2.IFieldId|null);
+
+ /** Condition operator */
+ operator?: (google.privacy.dlp.v2.RelationalOperator|keyof typeof google.privacy.dlp.v2.RelationalOperator|null);
+
+ /** Condition value */
+ value?: (google.privacy.dlp.v2.IValue|null);
+ }
+
+ /** Represents a Condition. */
+ class Condition implements ICondition {
+
+ /**
+ * Constructs a new Condition.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.RecordCondition.ICondition);
+
+ /** Condition field. */
+ public field?: (google.privacy.dlp.v2.IFieldId|null);
+
+ /** Condition operator. */
+ public operator: (google.privacy.dlp.v2.RelationalOperator|keyof typeof google.privacy.dlp.v2.RelationalOperator);
+
+ /** Condition value. */
+ public value?: (google.privacy.dlp.v2.IValue|null);
+
+ /**
+ * Creates a new Condition instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns Condition instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.RecordCondition.ICondition): google.privacy.dlp.v2.RecordCondition.Condition;
+
+ /**
+ * Encodes the specified Condition message. Does not implicitly {@link google.privacy.dlp.v2.RecordCondition.Condition.verify|verify} messages.
+ * @param message Condition message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.RecordCondition.ICondition, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified Condition message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.RecordCondition.Condition.verify|verify} messages.
+ * @param message Condition message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.RecordCondition.ICondition, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a Condition message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns Condition
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.RecordCondition.Condition;
+
+ /**
+ * Decodes a Condition message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns Condition
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.RecordCondition.Condition;
+
+ /**
+ * Verifies a Condition message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a Condition message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns Condition
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.RecordCondition.Condition;
+
+ /**
+ * Creates a plain object from a Condition message. Also converts values to other types if specified.
+ * @param message Condition
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.RecordCondition.Condition, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this Condition to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for Condition
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a Conditions. */
+ interface IConditions {
+
+ /** Conditions conditions */
+ conditions?: (google.privacy.dlp.v2.RecordCondition.ICondition[]|null);
+ }
+
+ /** Represents a Conditions. */
+ class Conditions implements IConditions {
+
+ /**
+ * Constructs a new Conditions.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.RecordCondition.IConditions);
+
+ /** Conditions conditions. */
+ public conditions: google.privacy.dlp.v2.RecordCondition.ICondition[];
+
+ /**
+ * Creates a new Conditions instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns Conditions instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.RecordCondition.IConditions): google.privacy.dlp.v2.RecordCondition.Conditions;
+
+ /**
+ * Encodes the specified Conditions message. Does not implicitly {@link google.privacy.dlp.v2.RecordCondition.Conditions.verify|verify} messages.
+ * @param message Conditions message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.RecordCondition.IConditions, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified Conditions message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.RecordCondition.Conditions.verify|verify} messages.
+ * @param message Conditions message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.RecordCondition.IConditions, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a Conditions message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns Conditions
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.RecordCondition.Conditions;
+
+ /**
+ * Decodes a Conditions message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns Conditions
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.RecordCondition.Conditions;
+
+ /**
+ * Verifies a Conditions message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a Conditions message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns Conditions
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.RecordCondition.Conditions;
+
+ /**
+ * Creates a plain object from a Conditions message. Also converts values to other types if specified.
+ * @param message Conditions
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.RecordCondition.Conditions, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this Conditions to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for Conditions
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of an Expressions. */
+ interface IExpressions {
+
+ /** Expressions logicalOperator */
+ logicalOperator?: (google.privacy.dlp.v2.RecordCondition.Expressions.LogicalOperator|keyof typeof google.privacy.dlp.v2.RecordCondition.Expressions.LogicalOperator|null);
+
+ /** Expressions conditions */
+ conditions?: (google.privacy.dlp.v2.RecordCondition.IConditions|null);
+ }
+
+ /** Represents an Expressions. */
+ class Expressions implements IExpressions {
+
+ /**
+ * Constructs a new Expressions.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.RecordCondition.IExpressions);
+
+ /** Expressions logicalOperator. */
+ public logicalOperator: (google.privacy.dlp.v2.RecordCondition.Expressions.LogicalOperator|keyof typeof google.privacy.dlp.v2.RecordCondition.Expressions.LogicalOperator);
+
+ /** Expressions conditions. */
+ public conditions?: (google.privacy.dlp.v2.RecordCondition.IConditions|null);
+
+ /** Expressions type. */
+ public type?: "conditions";
+
+ /**
+ * Creates a new Expressions instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns Expressions instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.RecordCondition.IExpressions): google.privacy.dlp.v2.RecordCondition.Expressions;
+
+ /**
+ * Encodes the specified Expressions message. Does not implicitly {@link google.privacy.dlp.v2.RecordCondition.Expressions.verify|verify} messages.
+ * @param message Expressions message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.RecordCondition.IExpressions, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified Expressions message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.RecordCondition.Expressions.verify|verify} messages.
+ * @param message Expressions message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.RecordCondition.IExpressions, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an Expressions message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns Expressions
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.RecordCondition.Expressions;
+
+ /**
+ * Decodes an Expressions message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns Expressions
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.RecordCondition.Expressions;
+
+ /**
+ * Verifies an Expressions message.
+ * @param message Plain 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 Expressions message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns Expressions
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.RecordCondition.Expressions;
+
+ /**
+ * Creates a plain object from an Expressions message. Also converts values to other types if specified.
+ * @param message Expressions
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.RecordCondition.Expressions, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this Expressions to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for Expressions
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace Expressions {
+
+ /** LogicalOperator enum. */
+ enum LogicalOperator {
+ LOGICAL_OPERATOR_UNSPECIFIED = 0,
+ AND = 1
+ }
+ }
+ }
+
+ /** Properties of a TransformationOverview. */
+ interface ITransformationOverview {
+
+ /** TransformationOverview transformedBytes */
+ transformedBytes?: (number|Long|string|null);
+
+ /** TransformationOverview transformationSummaries */
+ transformationSummaries?: (google.privacy.dlp.v2.ITransformationSummary[]|null);
+ }
+
+ /** Represents a TransformationOverview. */
+ class TransformationOverview implements ITransformationOverview {
+
+ /**
+ * Constructs a new TransformationOverview.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.ITransformationOverview);
+
+ /** TransformationOverview transformedBytes. */
+ public transformedBytes: (number|Long|string);
+
+ /** TransformationOverview transformationSummaries. */
+ public transformationSummaries: google.privacy.dlp.v2.ITransformationSummary[];
+
+ /**
+ * Creates a new TransformationOverview instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns TransformationOverview instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.ITransformationOverview): google.privacy.dlp.v2.TransformationOverview;
+
+ /**
+ * Encodes the specified TransformationOverview message. Does not implicitly {@link google.privacy.dlp.v2.TransformationOverview.verify|verify} messages.
+ * @param message TransformationOverview message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.ITransformationOverview, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified TransformationOverview message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.TransformationOverview.verify|verify} messages.
+ * @param message TransformationOverview message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.ITransformationOverview, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a TransformationOverview message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns TransformationOverview
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.TransformationOverview;
+
+ /**
+ * Decodes a TransformationOverview message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns TransformationOverview
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.TransformationOverview;
+
+ /**
+ * Verifies a TransformationOverview message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a TransformationOverview message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns TransformationOverview
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.TransformationOverview;
+
+ /**
+ * Creates a plain object from a TransformationOverview message. Also converts values to other types if specified.
+ * @param message TransformationOverview
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.TransformationOverview, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this TransformationOverview to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for TransformationOverview
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a TransformationSummary. */
+ interface ITransformationSummary {
+
+ /** TransformationSummary infoType */
+ infoType?: (google.privacy.dlp.v2.IInfoType|null);
+
+ /** TransformationSummary field */
+ field?: (google.privacy.dlp.v2.IFieldId|null);
+
+ /** TransformationSummary transformation */
+ transformation?: (google.privacy.dlp.v2.IPrimitiveTransformation|null);
+
+ /** TransformationSummary fieldTransformations */
+ fieldTransformations?: (google.privacy.dlp.v2.IFieldTransformation[]|null);
+
+ /** TransformationSummary recordSuppress */
+ recordSuppress?: (google.privacy.dlp.v2.IRecordSuppression|null);
+
+ /** TransformationSummary results */
+ results?: (google.privacy.dlp.v2.TransformationSummary.ISummaryResult[]|null);
+
+ /** TransformationSummary transformedBytes */
+ transformedBytes?: (number|Long|string|null);
+ }
+
+ /** Represents a TransformationSummary. */
+ class TransformationSummary implements ITransformationSummary {
+
+ /**
+ * Constructs a new TransformationSummary.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.ITransformationSummary);
+
+ /** TransformationSummary infoType. */
+ public infoType?: (google.privacy.dlp.v2.IInfoType|null);
+
+ /** TransformationSummary field. */
+ public field?: (google.privacy.dlp.v2.IFieldId|null);
+
+ /** TransformationSummary transformation. */
+ public transformation?: (google.privacy.dlp.v2.IPrimitiveTransformation|null);
+
+ /** TransformationSummary fieldTransformations. */
+ public fieldTransformations: google.privacy.dlp.v2.IFieldTransformation[];
+
+ /** TransformationSummary recordSuppress. */
+ public recordSuppress?: (google.privacy.dlp.v2.IRecordSuppression|null);
+
+ /** TransformationSummary results. */
+ public results: google.privacy.dlp.v2.TransformationSummary.ISummaryResult[];
+
+ /** TransformationSummary transformedBytes. */
+ public transformedBytes: (number|Long|string);
+
+ /**
+ * Creates a new TransformationSummary instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns TransformationSummary instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.ITransformationSummary): google.privacy.dlp.v2.TransformationSummary;
+
+ /**
+ * Encodes the specified TransformationSummary message. Does not implicitly {@link google.privacy.dlp.v2.TransformationSummary.verify|verify} messages.
+ * @param message TransformationSummary message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.ITransformationSummary, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified TransformationSummary message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.TransformationSummary.verify|verify} messages.
+ * @param message TransformationSummary message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.ITransformationSummary, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a TransformationSummary message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns TransformationSummary
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.TransformationSummary;
+
+ /**
+ * Decodes a TransformationSummary message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns TransformationSummary
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.TransformationSummary;
+
+ /**
+ * Verifies a TransformationSummary message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a TransformationSummary message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns TransformationSummary
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.TransformationSummary;
+
+ /**
+ * Creates a plain object from a TransformationSummary message. Also converts values to other types if specified.
+ * @param message TransformationSummary
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.TransformationSummary, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this TransformationSummary to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for TransformationSummary
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace TransformationSummary {
+
+ /** TransformationResultCode enum. */
+ enum TransformationResultCode {
+ TRANSFORMATION_RESULT_CODE_UNSPECIFIED = 0,
+ SUCCESS = 1,
+ ERROR = 2
+ }
+
+ /** Properties of a SummaryResult. */
+ interface ISummaryResult {
+
+ /** SummaryResult count */
+ count?: (number|Long|string|null);
+
+ /** SummaryResult code */
+ code?: (google.privacy.dlp.v2.TransformationSummary.TransformationResultCode|keyof typeof google.privacy.dlp.v2.TransformationSummary.TransformationResultCode|null);
+
+ /** SummaryResult details */
+ details?: (string|null);
+ }
+
+ /** Represents a SummaryResult. */
+ class SummaryResult implements ISummaryResult {
+
+ /**
+ * Constructs a new SummaryResult.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.TransformationSummary.ISummaryResult);
+
+ /** SummaryResult count. */
+ public count: (number|Long|string);
+
+ /** SummaryResult code. */
+ public code: (google.privacy.dlp.v2.TransformationSummary.TransformationResultCode|keyof typeof google.privacy.dlp.v2.TransformationSummary.TransformationResultCode);
+
+ /** SummaryResult details. */
+ public details: string;
+
+ /**
+ * Creates a new SummaryResult instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns SummaryResult instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.TransformationSummary.ISummaryResult): google.privacy.dlp.v2.TransformationSummary.SummaryResult;
+
+ /**
+ * Encodes the specified SummaryResult message. Does not implicitly {@link google.privacy.dlp.v2.TransformationSummary.SummaryResult.verify|verify} messages.
+ * @param message SummaryResult message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.TransformationSummary.ISummaryResult, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified SummaryResult message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.TransformationSummary.SummaryResult.verify|verify} messages.
+ * @param message SummaryResult message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.TransformationSummary.ISummaryResult, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a SummaryResult message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns SummaryResult
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.TransformationSummary.SummaryResult;
+
+ /**
+ * Decodes a SummaryResult message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns SummaryResult
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.TransformationSummary.SummaryResult;
+
+ /**
+ * Verifies a SummaryResult message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a SummaryResult message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns SummaryResult
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.TransformationSummary.SummaryResult;
+
+ /**
+ * Creates a plain object from a SummaryResult message. Also converts values to other types if specified.
+ * @param message SummaryResult
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.TransformationSummary.SummaryResult, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this SummaryResult to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for SummaryResult
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+ }
+
+ /** Properties of a TransformationDescription. */
+ interface ITransformationDescription {
+
+ /** TransformationDescription type */
+ type?: (google.privacy.dlp.v2.TransformationType|keyof typeof google.privacy.dlp.v2.TransformationType|null);
+
+ /** TransformationDescription description */
+ description?: (string|null);
+
+ /** TransformationDescription condition */
+ condition?: (string|null);
+
+ /** TransformationDescription infoType */
+ infoType?: (google.privacy.dlp.v2.IInfoType|null);
+ }
+
+ /** Represents a TransformationDescription. */
+ class TransformationDescription implements ITransformationDescription {
+
+ /**
+ * Constructs a new TransformationDescription.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.ITransformationDescription);
+
+ /** TransformationDescription type. */
+ public type: (google.privacy.dlp.v2.TransformationType|keyof typeof google.privacy.dlp.v2.TransformationType);
+
+ /** TransformationDescription description. */
+ public description: string;
+
+ /** TransformationDescription condition. */
+ public condition: string;
+
+ /** TransformationDescription infoType. */
+ public infoType?: (google.privacy.dlp.v2.IInfoType|null);
+
+ /**
+ * Creates a new TransformationDescription instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns TransformationDescription instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.ITransformationDescription): google.privacy.dlp.v2.TransformationDescription;
+
+ /**
+ * Encodes the specified TransformationDescription message. Does not implicitly {@link google.privacy.dlp.v2.TransformationDescription.verify|verify} messages.
+ * @param message TransformationDescription message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.ITransformationDescription, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified TransformationDescription message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.TransformationDescription.verify|verify} messages.
+ * @param message TransformationDescription message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.ITransformationDescription, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a TransformationDescription message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns TransformationDescription
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.TransformationDescription;
+
+ /**
+ * Decodes a TransformationDescription message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns TransformationDescription
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.TransformationDescription;
+
+ /**
+ * Verifies a TransformationDescription message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a TransformationDescription message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns TransformationDescription
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.TransformationDescription;
+
+ /**
+ * Creates a plain object from a TransformationDescription message. Also converts values to other types if specified.
+ * @param message TransformationDescription
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.TransformationDescription, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this TransformationDescription to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for TransformationDescription
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a TransformationDetails. */
+ interface ITransformationDetails {
+
+ /** TransformationDetails resourceName */
+ resourceName?: (string|null);
+
+ /** TransformationDetails containerName */
+ containerName?: (string|null);
+
+ /** TransformationDetails transformation */
+ transformation?: (google.privacy.dlp.v2.ITransformationDescription[]|null);
+
+ /** TransformationDetails statusDetails */
+ statusDetails?: (google.privacy.dlp.v2.ITransformationResultStatus|null);
+
+ /** TransformationDetails transformedBytes */
+ transformedBytes?: (number|Long|string|null);
+
+ /** TransformationDetails transformationLocation */
+ transformationLocation?: (google.privacy.dlp.v2.ITransformationLocation|null);
+ }
+
+ /** Represents a TransformationDetails. */
+ class TransformationDetails implements ITransformationDetails {
+
+ /**
+ * Constructs a new TransformationDetails.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.ITransformationDetails);
+
+ /** TransformationDetails resourceName. */
+ public resourceName: string;
+
+ /** TransformationDetails containerName. */
+ public containerName: string;
+
+ /** TransformationDetails transformation. */
+ public transformation: google.privacy.dlp.v2.ITransformationDescription[];
+
+ /** TransformationDetails statusDetails. */
+ public statusDetails?: (google.privacy.dlp.v2.ITransformationResultStatus|null);
+
+ /** TransformationDetails transformedBytes. */
+ public transformedBytes: (number|Long|string);
+
+ /** TransformationDetails transformationLocation. */
+ public transformationLocation?: (google.privacy.dlp.v2.ITransformationLocation|null);
+
+ /**
+ * Creates a new TransformationDetails instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns TransformationDetails instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.ITransformationDetails): google.privacy.dlp.v2.TransformationDetails;
+
+ /**
+ * Encodes the specified TransformationDetails message. Does not implicitly {@link google.privacy.dlp.v2.TransformationDetails.verify|verify} messages.
+ * @param message TransformationDetails message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.ITransformationDetails, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified TransformationDetails message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.TransformationDetails.verify|verify} messages.
+ * @param message TransformationDetails message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.ITransformationDetails, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a TransformationDetails message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns TransformationDetails
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.TransformationDetails;
+
+ /**
+ * Decodes a TransformationDetails message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns TransformationDetails
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.TransformationDetails;
+
+ /**
+ * Verifies a TransformationDetails message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a TransformationDetails message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns TransformationDetails
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.TransformationDetails;
+
+ /**
+ * Creates a plain object from a TransformationDetails message. Also converts values to other types if specified.
+ * @param message TransformationDetails
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.TransformationDetails, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this TransformationDetails to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for TransformationDetails
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a TransformationLocation. */
+ interface ITransformationLocation {
+
+ /** TransformationLocation findingId */
+ findingId?: (string|null);
+
+ /** TransformationLocation recordTransformation */
+ recordTransformation?: (google.privacy.dlp.v2.IRecordTransformation|null);
+
+ /** TransformationLocation containerType */
+ containerType?: (google.privacy.dlp.v2.TransformationContainerType|keyof typeof google.privacy.dlp.v2.TransformationContainerType|null);
+ }
+
+ /** Represents a TransformationLocation. */
+ class TransformationLocation implements ITransformationLocation {
+
+ /**
+ * Constructs a new TransformationLocation.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.ITransformationLocation);
+
+ /** TransformationLocation findingId. */
+ public findingId?: (string|null);
+
+ /** TransformationLocation recordTransformation. */
+ public recordTransformation?: (google.privacy.dlp.v2.IRecordTransformation|null);
+
+ /** TransformationLocation containerType. */
+ public containerType: (google.privacy.dlp.v2.TransformationContainerType|keyof typeof google.privacy.dlp.v2.TransformationContainerType);
+
+ /** TransformationLocation locationType. */
+ public locationType?: ("findingId"|"recordTransformation");
+
+ /**
+ * Creates a new TransformationLocation instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns TransformationLocation instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.ITransformationLocation): google.privacy.dlp.v2.TransformationLocation;
+
+ /**
+ * Encodes the specified TransformationLocation message. Does not implicitly {@link google.privacy.dlp.v2.TransformationLocation.verify|verify} messages.
+ * @param message TransformationLocation message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.ITransformationLocation, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified TransformationLocation message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.TransformationLocation.verify|verify} messages.
+ * @param message TransformationLocation message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.ITransformationLocation, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a TransformationLocation message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns TransformationLocation
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.TransformationLocation;
+
+ /**
+ * Decodes a TransformationLocation message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns TransformationLocation
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.TransformationLocation;
+
+ /**
+ * Verifies a TransformationLocation message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a TransformationLocation message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns TransformationLocation
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.TransformationLocation;
+
+ /**
+ * Creates a plain object from a TransformationLocation message. Also converts values to other types if specified.
+ * @param message TransformationLocation
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.TransformationLocation, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this TransformationLocation to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for TransformationLocation
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a RecordTransformation. */
+ interface IRecordTransformation {
+
+ /** RecordTransformation fieldId */
+ fieldId?: (google.privacy.dlp.v2.IFieldId|null);
+
+ /** RecordTransformation containerTimestamp */
+ containerTimestamp?: (google.protobuf.ITimestamp|null);
+
+ /** RecordTransformation containerVersion */
+ containerVersion?: (string|null);
+ }
+
+ /** Represents a RecordTransformation. */
+ class RecordTransformation implements IRecordTransformation {
+
+ /**
+ * Constructs a new RecordTransformation.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.IRecordTransformation);
+
+ /** RecordTransformation fieldId. */
+ public fieldId?: (google.privacy.dlp.v2.IFieldId|null);
+
+ /** RecordTransformation containerTimestamp. */
+ public containerTimestamp?: (google.protobuf.ITimestamp|null);
+
+ /** RecordTransformation containerVersion. */
+ public containerVersion: string;
+
+ /**
+ * Creates a new RecordTransformation instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns RecordTransformation instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.IRecordTransformation): google.privacy.dlp.v2.RecordTransformation;
+
+ /**
+ * Encodes the specified RecordTransformation message. Does not implicitly {@link google.privacy.dlp.v2.RecordTransformation.verify|verify} messages.
+ * @param message RecordTransformation message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.IRecordTransformation, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified RecordTransformation message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.RecordTransformation.verify|verify} messages.
+ * @param message RecordTransformation message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.IRecordTransformation, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a RecordTransformation message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns RecordTransformation
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.RecordTransformation;
+
+ /**
+ * Decodes a RecordTransformation message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns RecordTransformation
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.RecordTransformation;
+
+ /**
+ * Verifies a RecordTransformation message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a RecordTransformation message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns RecordTransformation
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.RecordTransformation;
+
+ /**
+ * Creates a plain object from a RecordTransformation message. Also converts values to other types if specified.
+ * @param message RecordTransformation
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.RecordTransformation, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this RecordTransformation to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for RecordTransformation
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a TransformationResultStatus. */
+ interface ITransformationResultStatus {
+
+ /** TransformationResultStatus resultStatusType */
+ resultStatusType?: (google.privacy.dlp.v2.TransformationResultStatusType|keyof typeof google.privacy.dlp.v2.TransformationResultStatusType|null);
+
+ /** TransformationResultStatus details */
+ details?: (google.rpc.IStatus|null);
+ }
+
+ /** Represents a TransformationResultStatus. */
+ class TransformationResultStatus implements ITransformationResultStatus {
+
+ /**
+ * Constructs a new TransformationResultStatus.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.ITransformationResultStatus);
+
+ /** TransformationResultStatus resultStatusType. */
+ public resultStatusType: (google.privacy.dlp.v2.TransformationResultStatusType|keyof typeof google.privacy.dlp.v2.TransformationResultStatusType);
+
+ /** TransformationResultStatus details. */
+ public details?: (google.rpc.IStatus|null);
+
+ /**
+ * Creates a new TransformationResultStatus instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns TransformationResultStatus instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.ITransformationResultStatus): google.privacy.dlp.v2.TransformationResultStatus;
+
+ /**
+ * Encodes the specified TransformationResultStatus message. Does not implicitly {@link google.privacy.dlp.v2.TransformationResultStatus.verify|verify} messages.
+ * @param message TransformationResultStatus message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.ITransformationResultStatus, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified TransformationResultStatus message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.TransformationResultStatus.verify|verify} messages.
+ * @param message TransformationResultStatus message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.ITransformationResultStatus, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a TransformationResultStatus message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns TransformationResultStatus
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.TransformationResultStatus;
+
+ /**
+ * Decodes a TransformationResultStatus message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns TransformationResultStatus
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.TransformationResultStatus;
+
+ /**
+ * Verifies a TransformationResultStatus message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a TransformationResultStatus message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns TransformationResultStatus
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.TransformationResultStatus;
+
+ /**
+ * Creates a plain object from a TransformationResultStatus message. Also converts values to other types if specified.
+ * @param message TransformationResultStatus
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.TransformationResultStatus, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this TransformationResultStatus to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for TransformationResultStatus
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** TransformationResultStatusType enum. */
+ enum TransformationResultStatusType {
+ STATE_TYPE_UNSPECIFIED = 0,
+ INVALID_TRANSFORM = 1,
+ BIGQUERY_MAX_ROW_SIZE_EXCEEDED = 2,
+ METADATA_UNRETRIEVABLE = 3,
+ SUCCESS = 4
+ }
+
+ /** TransformationContainerType enum. */
+ enum TransformationContainerType {
+ TRANSFORM_UNKNOWN_CONTAINER = 0,
+ TRANSFORM_BODY = 1,
+ TRANSFORM_METADATA = 2,
+ TRANSFORM_TABLE = 3
+ }
+
+ /** TransformationType enum. */
+ enum TransformationType {
+ TRANSFORMATION_TYPE_UNSPECIFIED = 0,
+ RECORD_SUPPRESSION = 1,
+ REPLACE_VALUE = 2,
+ REPLACE_DICTIONARY = 15,
+ REDACT = 3,
+ CHARACTER_MASK = 4,
+ CRYPTO_REPLACE_FFX_FPE = 5,
+ FIXED_SIZE_BUCKETING = 6,
+ BUCKETING = 7,
+ REPLACE_WITH_INFO_TYPE = 8,
+ TIME_PART = 9,
+ CRYPTO_HASH = 10,
+ DATE_SHIFT = 12,
+ CRYPTO_DETERMINISTIC_CONFIG = 13,
+ REDACT_IMAGE = 14
+ }
+
+ /** Properties of a TransformationDetailsStorageConfig. */
+ interface ITransformationDetailsStorageConfig {
+
+ /** TransformationDetailsStorageConfig table */
+ table?: (google.privacy.dlp.v2.IBigQueryTable|null);
+ }
+
+ /** Represents a TransformationDetailsStorageConfig. */
+ class TransformationDetailsStorageConfig implements ITransformationDetailsStorageConfig {
+
+ /**
+ * Constructs a new TransformationDetailsStorageConfig.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.ITransformationDetailsStorageConfig);
+
+ /** TransformationDetailsStorageConfig table. */
+ public table?: (google.privacy.dlp.v2.IBigQueryTable|null);
+
+ /** TransformationDetailsStorageConfig type. */
+ public type?: "table";
+
+ /**
+ * Creates a new TransformationDetailsStorageConfig instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns TransformationDetailsStorageConfig instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.ITransformationDetailsStorageConfig): google.privacy.dlp.v2.TransformationDetailsStorageConfig;
+
+ /**
+ * Encodes the specified TransformationDetailsStorageConfig message. Does not implicitly {@link google.privacy.dlp.v2.TransformationDetailsStorageConfig.verify|verify} messages.
+ * @param message TransformationDetailsStorageConfig message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.ITransformationDetailsStorageConfig, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified TransformationDetailsStorageConfig message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.TransformationDetailsStorageConfig.verify|verify} messages.
+ * @param message TransformationDetailsStorageConfig message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.ITransformationDetailsStorageConfig, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a TransformationDetailsStorageConfig message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns TransformationDetailsStorageConfig
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.TransformationDetailsStorageConfig;
+
+ /**
+ * Decodes a TransformationDetailsStorageConfig message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns TransformationDetailsStorageConfig
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.TransformationDetailsStorageConfig;
+
+ /**
+ * Verifies a TransformationDetailsStorageConfig message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a TransformationDetailsStorageConfig message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns TransformationDetailsStorageConfig
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.TransformationDetailsStorageConfig;
+
+ /**
+ * Creates a plain object from a TransformationDetailsStorageConfig message. Also converts values to other types if specified.
+ * @param message TransformationDetailsStorageConfig
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.TransformationDetailsStorageConfig, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this TransformationDetailsStorageConfig to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for TransformationDetailsStorageConfig
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a Schedule. */
+ interface ISchedule {
+
+ /** Schedule recurrencePeriodDuration */
+ recurrencePeriodDuration?: (google.protobuf.IDuration|null);
+ }
+
+ /** Represents a Schedule. */
+ class Schedule implements ISchedule {
+
+ /**
+ * Constructs a new Schedule.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.ISchedule);
+
+ /** Schedule recurrencePeriodDuration. */
+ public recurrencePeriodDuration?: (google.protobuf.IDuration|null);
+
+ /** Schedule option. */
+ public option?: "recurrencePeriodDuration";
+
+ /**
+ * Creates a new Schedule instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns Schedule instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.ISchedule): google.privacy.dlp.v2.Schedule;
+
+ /**
+ * Encodes the specified Schedule message. Does not implicitly {@link google.privacy.dlp.v2.Schedule.verify|verify} messages.
+ * @param message Schedule message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.ISchedule, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified Schedule message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.Schedule.verify|verify} messages.
+ * @param message Schedule message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.ISchedule, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a Schedule message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns Schedule
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.Schedule;
+
+ /**
+ * Decodes a Schedule message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns Schedule
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.Schedule;
+
+ /**
+ * Verifies a Schedule message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a Schedule message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns Schedule
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.Schedule;
+
+ /**
+ * Creates a plain object from a Schedule message. Also converts values to other types if specified.
+ * @param message Schedule
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.Schedule, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this Schedule to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for Schedule
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a Manual. */
+ interface IManual {
+ }
+
+ /** Represents a Manual. */
+ class Manual implements IManual {
+
+ /**
+ * Constructs a new Manual.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.IManual);
+
+ /**
+ * Creates a new Manual instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns Manual instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.IManual): google.privacy.dlp.v2.Manual;
+
+ /**
+ * Encodes the specified Manual message. Does not implicitly {@link google.privacy.dlp.v2.Manual.verify|verify} messages.
+ * @param message Manual message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.IManual, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified Manual message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.Manual.verify|verify} messages.
+ * @param message Manual message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.IManual, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a Manual message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns Manual
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.Manual;
+
+ /**
+ * Decodes a Manual message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns Manual
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.Manual;
+
+ /**
+ * Verifies a Manual message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a Manual message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns Manual
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.Manual;
+
+ /**
+ * Creates a plain object from a Manual message. Also converts values to other types if specified.
+ * @param message Manual
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.Manual, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this Manual to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for Manual
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of an InspectTemplate. */
+ interface IInspectTemplate {
+
+ /** InspectTemplate name */
+ name?: (string|null);
+
+ /** InspectTemplate displayName */
+ displayName?: (string|null);
+
+ /** InspectTemplate description */
+ description?: (string|null);
+
+ /** InspectTemplate createTime */
+ createTime?: (google.protobuf.ITimestamp|null);
+
+ /** InspectTemplate updateTime */
+ updateTime?: (google.protobuf.ITimestamp|null);
+
+ /** InspectTemplate inspectConfig */
+ inspectConfig?: (google.privacy.dlp.v2.IInspectConfig|null);
+ }
+
+ /** Represents an InspectTemplate. */
+ class InspectTemplate implements IInspectTemplate {
+
+ /**
+ * Constructs a new InspectTemplate.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.IInspectTemplate);
+
+ /** InspectTemplate name. */
+ public name: string;
+
+ /** InspectTemplate displayName. */
+ public displayName: string;
+
+ /** InspectTemplate description. */
+ public description: string;
+
+ /** InspectTemplate createTime. */
+ public createTime?: (google.protobuf.ITimestamp|null);
+
+ /** InspectTemplate updateTime. */
+ public updateTime?: (google.protobuf.ITimestamp|null);
+
+ /** InspectTemplate inspectConfig. */
+ public inspectConfig?: (google.privacy.dlp.v2.IInspectConfig|null);
+
+ /**
+ * Creates a new InspectTemplate instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns InspectTemplate instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.IInspectTemplate): google.privacy.dlp.v2.InspectTemplate;
+
+ /**
+ * Encodes the specified InspectTemplate message. Does not implicitly {@link google.privacy.dlp.v2.InspectTemplate.verify|verify} messages.
+ * @param message InspectTemplate message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.IInspectTemplate, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified InspectTemplate message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.InspectTemplate.verify|verify} messages.
+ * @param message InspectTemplate message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.IInspectTemplate, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an InspectTemplate message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns InspectTemplate
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.InspectTemplate;
+
+ /**
+ * Decodes an InspectTemplate message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns InspectTemplate
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.InspectTemplate;
+
+ /**
+ * Verifies an InspectTemplate message.
+ * @param message Plain 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 InspectTemplate message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns InspectTemplate
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.InspectTemplate;
+
+ /**
+ * Creates a plain object from an InspectTemplate message. Also converts values to other types if specified.
+ * @param message InspectTemplate
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.InspectTemplate, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this InspectTemplate to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for InspectTemplate
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a DeidentifyTemplate. */
+ interface IDeidentifyTemplate {
+
+ /** DeidentifyTemplate name */
+ name?: (string|null);
+
+ /** DeidentifyTemplate displayName */
+ displayName?: (string|null);
+
+ /** DeidentifyTemplate description */
+ description?: (string|null);
+
+ /** DeidentifyTemplate createTime */
+ createTime?: (google.protobuf.ITimestamp|null);
+
+ /** DeidentifyTemplate updateTime */
+ updateTime?: (google.protobuf.ITimestamp|null);
+
+ /** DeidentifyTemplate deidentifyConfig */
+ deidentifyConfig?: (google.privacy.dlp.v2.IDeidentifyConfig|null);
+ }
+
+ /** Represents a DeidentifyTemplate. */
+ class DeidentifyTemplate implements IDeidentifyTemplate {
+
+ /**
+ * Constructs a new DeidentifyTemplate.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.IDeidentifyTemplate);
+
+ /** DeidentifyTemplate name. */
+ public name: string;
+
+ /** DeidentifyTemplate displayName. */
+ public displayName: string;
+
+ /** DeidentifyTemplate description. */
+ public description: string;
+
+ /** DeidentifyTemplate createTime. */
+ public createTime?: (google.protobuf.ITimestamp|null);
+
+ /** DeidentifyTemplate updateTime. */
+ public updateTime?: (google.protobuf.ITimestamp|null);
+
+ /** DeidentifyTemplate deidentifyConfig. */
+ public deidentifyConfig?: (google.privacy.dlp.v2.IDeidentifyConfig|null);
+
+ /**
+ * Creates a new DeidentifyTemplate instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns DeidentifyTemplate instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.IDeidentifyTemplate): google.privacy.dlp.v2.DeidentifyTemplate;
+
+ /**
+ * Encodes the specified DeidentifyTemplate message. Does not implicitly {@link google.privacy.dlp.v2.DeidentifyTemplate.verify|verify} messages.
+ * @param message DeidentifyTemplate message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.IDeidentifyTemplate, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified DeidentifyTemplate message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.DeidentifyTemplate.verify|verify} messages.
+ * @param message DeidentifyTemplate message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.IDeidentifyTemplate, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a DeidentifyTemplate message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns DeidentifyTemplate
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.DeidentifyTemplate;
+
+ /**
+ * Decodes a DeidentifyTemplate message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns DeidentifyTemplate
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.DeidentifyTemplate;
+
+ /**
+ * Verifies a DeidentifyTemplate message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a DeidentifyTemplate message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns DeidentifyTemplate
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.DeidentifyTemplate;
+
+ /**
+ * Creates a plain object from a DeidentifyTemplate message. Also converts values to other types if specified.
+ * @param message DeidentifyTemplate
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.DeidentifyTemplate, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this DeidentifyTemplate to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for DeidentifyTemplate
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of an Error. */
+ interface IError {
+
+ /** Error details */
+ details?: (google.rpc.IStatus|null);
+
+ /** Error timestamps */
+ timestamps?: (google.protobuf.ITimestamp[]|null);
+
+ /** Error extraInfo */
+ extraInfo?: (google.privacy.dlp.v2.Error.ErrorExtraInfo|keyof typeof google.privacy.dlp.v2.Error.ErrorExtraInfo|null);
+ }
+
+ /** Represents an Error. */
+ class Error implements IError {
+
+ /**
+ * Constructs a new Error.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.IError);
+
+ /** Error details. */
+ public details?: (google.rpc.IStatus|null);
+
+ /** Error timestamps. */
+ public timestamps: google.protobuf.ITimestamp[];
+
+ /** Error extraInfo. */
+ public extraInfo: (google.privacy.dlp.v2.Error.ErrorExtraInfo|keyof typeof google.privacy.dlp.v2.Error.ErrorExtraInfo);
+
+ /**
+ * Creates a new Error instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns Error instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.IError): google.privacy.dlp.v2.Error;
+
+ /**
+ * Encodes the specified Error message. Does not implicitly {@link google.privacy.dlp.v2.Error.verify|verify} messages.
+ * @param message Error message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.IError, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified Error message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.Error.verify|verify} messages.
+ * @param message Error message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.IError, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an Error message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns Error
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.Error;
+
+ /**
+ * Decodes an Error message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns Error
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.Error;
+
+ /**
+ * Verifies an Error message.
+ * @param message Plain 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 Error message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns Error
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.Error;
+
+ /**
+ * Creates a plain object from an Error message. Also converts values to other types if specified.
+ * @param message Error
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.Error, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this Error to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for Error
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace Error {
+
+ /** ErrorExtraInfo enum. */
+ enum ErrorExtraInfo {
+ ERROR_INFO_UNSPECIFIED = 0,
+ IMAGE_SCAN_UNAVAILABLE_IN_REGION = 1,
+ FILE_STORE_CLUSTER_UNSUPPORTED = 2
+ }
+ }
+
+ /** Properties of a JobTrigger. */
+ interface IJobTrigger {
+
+ /** JobTrigger name */
+ name?: (string|null);
+
+ /** JobTrigger displayName */
+ displayName?: (string|null);
+
+ /** JobTrigger description */
+ description?: (string|null);
+
+ /** JobTrigger inspectJob */
+ inspectJob?: (google.privacy.dlp.v2.IInspectJobConfig|null);
+
+ /** JobTrigger triggers */
+ triggers?: (google.privacy.dlp.v2.JobTrigger.ITrigger[]|null);
+
+ /** JobTrigger errors */
+ errors?: (google.privacy.dlp.v2.IError[]|null);
+
+ /** JobTrigger createTime */
+ createTime?: (google.protobuf.ITimestamp|null);
+
+ /** JobTrigger updateTime */
+ updateTime?: (google.protobuf.ITimestamp|null);
+
+ /** JobTrigger lastRunTime */
+ lastRunTime?: (google.protobuf.ITimestamp|null);
+
+ /** JobTrigger status */
+ status?: (google.privacy.dlp.v2.JobTrigger.Status|keyof typeof google.privacy.dlp.v2.JobTrigger.Status|null);
+ }
+
+ /** Represents a JobTrigger. */
+ class JobTrigger implements IJobTrigger {
+
+ /**
+ * Constructs a new JobTrigger.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.IJobTrigger);
+
+ /** JobTrigger name. */
+ public name: string;
+
+ /** JobTrigger displayName. */
+ public displayName: string;
+
+ /** JobTrigger description. */
+ public description: string;
+
+ /** JobTrigger inspectJob. */
+ public inspectJob?: (google.privacy.dlp.v2.IInspectJobConfig|null);
+
+ /** JobTrigger triggers. */
+ public triggers: google.privacy.dlp.v2.JobTrigger.ITrigger[];
+
+ /** JobTrigger errors. */
+ public errors: google.privacy.dlp.v2.IError[];
+
+ /** JobTrigger createTime. */
+ public createTime?: (google.protobuf.ITimestamp|null);
+
+ /** JobTrigger updateTime. */
+ public updateTime?: (google.protobuf.ITimestamp|null);
+
+ /** JobTrigger lastRunTime. */
+ public lastRunTime?: (google.protobuf.ITimestamp|null);
+
+ /** JobTrigger status. */
+ public status: (google.privacy.dlp.v2.JobTrigger.Status|keyof typeof google.privacy.dlp.v2.JobTrigger.Status);
+
+ /** JobTrigger job. */
+ public job?: "inspectJob";
+
+ /**
+ * Creates a new JobTrigger instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns JobTrigger instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.IJobTrigger): google.privacy.dlp.v2.JobTrigger;
+
+ /**
+ * Encodes the specified JobTrigger message. Does not implicitly {@link google.privacy.dlp.v2.JobTrigger.verify|verify} messages.
+ * @param message JobTrigger message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.IJobTrigger, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified JobTrigger message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.JobTrigger.verify|verify} messages.
+ * @param message JobTrigger message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.IJobTrigger, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a JobTrigger message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns JobTrigger
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.JobTrigger;
+
+ /**
+ * Decodes a JobTrigger message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns JobTrigger
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.JobTrigger;
+
+ /**
+ * Verifies a JobTrigger message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a JobTrigger message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns JobTrigger
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.JobTrigger;
+
+ /**
+ * Creates a plain object from a JobTrigger message. Also converts values to other types if specified.
+ * @param message JobTrigger
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.JobTrigger, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this JobTrigger to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for JobTrigger
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace JobTrigger {
+
+ /** Properties of a Trigger. */
+ interface ITrigger {
+
+ /** Trigger schedule */
+ schedule?: (google.privacy.dlp.v2.ISchedule|null);
+
+ /** Trigger manual */
+ manual?: (google.privacy.dlp.v2.IManual|null);
+ }
+
+ /** Represents a Trigger. */
+ class Trigger implements ITrigger {
+
+ /**
+ * Constructs a new Trigger.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.JobTrigger.ITrigger);
+
+ /** Trigger schedule. */
+ public schedule?: (google.privacy.dlp.v2.ISchedule|null);
+
+ /** Trigger manual. */
+ public manual?: (google.privacy.dlp.v2.IManual|null);
+
+ /** Trigger trigger. */
+ public trigger?: ("schedule"|"manual");
+
+ /**
+ * Creates a new Trigger instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns Trigger instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.JobTrigger.ITrigger): google.privacy.dlp.v2.JobTrigger.Trigger;
+
+ /**
+ * Encodes the specified Trigger message. Does not implicitly {@link google.privacy.dlp.v2.JobTrigger.Trigger.verify|verify} messages.
+ * @param message Trigger message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.JobTrigger.ITrigger, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified Trigger message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.JobTrigger.Trigger.verify|verify} messages.
+ * @param message Trigger message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.JobTrigger.ITrigger, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a Trigger message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns Trigger
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.JobTrigger.Trigger;
+
+ /**
+ * Decodes a Trigger message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns Trigger
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.JobTrigger.Trigger;
+
+ /**
+ * Verifies a Trigger message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a Trigger message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns Trigger
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.JobTrigger.Trigger;
+
+ /**
+ * Creates a plain object from a Trigger message. Also converts values to other types if specified.
+ * @param message Trigger
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.JobTrigger.Trigger, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this Trigger to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for Trigger
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Status enum. */
+ enum Status {
+ STATUS_UNSPECIFIED = 0,
+ HEALTHY = 1,
+ PAUSED = 2,
+ CANCELLED = 3
+ }
+ }
+
+ /** Properties of an Action. */
+ interface IAction {
+
+ /** Action saveFindings */
+ saveFindings?: (google.privacy.dlp.v2.Action.ISaveFindings|null);
+
+ /** Action pubSub */
+ pubSub?: (google.privacy.dlp.v2.Action.IPublishToPubSub|null);
+
+ /** Action publishSummaryToCscc */
+ publishSummaryToCscc?: (google.privacy.dlp.v2.Action.IPublishSummaryToCscc|null);
+
+ /** Action publishFindingsToCloudDataCatalog */
+ publishFindingsToCloudDataCatalog?: (google.privacy.dlp.v2.Action.IPublishFindingsToCloudDataCatalog|null);
+
+ /** Action publishFindingsToDataplexCatalog */
+ publishFindingsToDataplexCatalog?: (google.privacy.dlp.v2.Action.IPublishFindingsToDataplexCatalog|null);
+
+ /** Action deidentify */
+ deidentify?: (google.privacy.dlp.v2.Action.IDeidentify|null);
+
+ /** Action jobNotificationEmails */
+ jobNotificationEmails?: (google.privacy.dlp.v2.Action.IJobNotificationEmails|null);
+
+ /** Action publishToStackdriver */
+ publishToStackdriver?: (google.privacy.dlp.v2.Action.IPublishToStackdriver|null);
+ }
+
+ /** Represents an Action. */
+ class Action implements IAction {
+
+ /**
+ * Constructs a new Action.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.IAction);
+
+ /** Action saveFindings. */
+ public saveFindings?: (google.privacy.dlp.v2.Action.ISaveFindings|null);
+
+ /** Action pubSub. */
+ public pubSub?: (google.privacy.dlp.v2.Action.IPublishToPubSub|null);
+
+ /** Action publishSummaryToCscc. */
+ public publishSummaryToCscc?: (google.privacy.dlp.v2.Action.IPublishSummaryToCscc|null);
+
+ /** Action publishFindingsToCloudDataCatalog. */
+ public publishFindingsToCloudDataCatalog?: (google.privacy.dlp.v2.Action.IPublishFindingsToCloudDataCatalog|null);
+
+ /** Action publishFindingsToDataplexCatalog. */
+ public publishFindingsToDataplexCatalog?: (google.privacy.dlp.v2.Action.IPublishFindingsToDataplexCatalog|null);
+
+ /** Action deidentify. */
+ public deidentify?: (google.privacy.dlp.v2.Action.IDeidentify|null);
+
+ /** Action jobNotificationEmails. */
+ public jobNotificationEmails?: (google.privacy.dlp.v2.Action.IJobNotificationEmails|null);
+
+ /** Action publishToStackdriver. */
+ public publishToStackdriver?: (google.privacy.dlp.v2.Action.IPublishToStackdriver|null);
+
+ /** Action action. */
+ public action?: ("saveFindings"|"pubSub"|"publishSummaryToCscc"|"publishFindingsToCloudDataCatalog"|"publishFindingsToDataplexCatalog"|"deidentify"|"jobNotificationEmails"|"publishToStackdriver");
+
+ /**
+ * Creates a new Action instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns Action instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.IAction): google.privacy.dlp.v2.Action;
+
+ /**
+ * Encodes the specified Action message. Does not implicitly {@link google.privacy.dlp.v2.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.privacy.dlp.v2.IAction, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified Action message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.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.privacy.dlp.v2.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.privacy.dlp.v2.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.privacy.dlp.v2.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.privacy.dlp.v2.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.privacy.dlp.v2.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 {
+
+ /** Properties of a SaveFindings. */
+ interface ISaveFindings {
+
+ /** SaveFindings outputConfig */
+ outputConfig?: (google.privacy.dlp.v2.IOutputStorageConfig|null);
+ }
+
+ /** Represents a SaveFindings. */
+ class SaveFindings implements ISaveFindings {
+
+ /**
+ * Constructs a new SaveFindings.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.Action.ISaveFindings);
+
+ /** SaveFindings outputConfig. */
+ public outputConfig?: (google.privacy.dlp.v2.IOutputStorageConfig|null);
+
+ /**
+ * Creates a new SaveFindings instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns SaveFindings instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.Action.ISaveFindings): google.privacy.dlp.v2.Action.SaveFindings;
+
+ /**
+ * Encodes the specified SaveFindings message. Does not implicitly {@link google.privacy.dlp.v2.Action.SaveFindings.verify|verify} messages.
+ * @param message SaveFindings message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.Action.ISaveFindings, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified SaveFindings message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.Action.SaveFindings.verify|verify} messages.
+ * @param message SaveFindings message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.Action.ISaveFindings, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a SaveFindings message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns SaveFindings
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.Action.SaveFindings;
+
+ /**
+ * Decodes a SaveFindings message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns SaveFindings
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.Action.SaveFindings;
+
+ /**
+ * Verifies a SaveFindings message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a SaveFindings message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns SaveFindings
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.Action.SaveFindings;
+
+ /**
+ * Creates a plain object from a SaveFindings message. Also converts values to other types if specified.
+ * @param message SaveFindings
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.Action.SaveFindings, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this SaveFindings to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for SaveFindings
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a PublishToPubSub. */
+ interface IPublishToPubSub {
+
+ /** PublishToPubSub topic */
+ topic?: (string|null);
+ }
+
+ /** Represents a PublishToPubSub. */
+ class PublishToPubSub implements IPublishToPubSub {
+
+ /**
+ * Constructs a new PublishToPubSub.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.Action.IPublishToPubSub);
+
+ /** PublishToPubSub topic. */
+ public topic: string;
+
+ /**
+ * Creates a new PublishToPubSub instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns PublishToPubSub instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.Action.IPublishToPubSub): google.privacy.dlp.v2.Action.PublishToPubSub;
+
+ /**
+ * Encodes the specified PublishToPubSub message. Does not implicitly {@link google.privacy.dlp.v2.Action.PublishToPubSub.verify|verify} messages.
+ * @param message PublishToPubSub message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.Action.IPublishToPubSub, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified PublishToPubSub message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.Action.PublishToPubSub.verify|verify} messages.
+ * @param message PublishToPubSub message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.Action.IPublishToPubSub, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a PublishToPubSub message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns PublishToPubSub
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.Action.PublishToPubSub;
+
+ /**
+ * Decodes a PublishToPubSub message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns PublishToPubSub
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.Action.PublishToPubSub;
+
+ /**
+ * Verifies a PublishToPubSub message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a PublishToPubSub message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns PublishToPubSub
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.Action.PublishToPubSub;
+
+ /**
+ * Creates a plain object from a PublishToPubSub message. Also converts values to other types if specified.
+ * @param message PublishToPubSub
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.Action.PublishToPubSub, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this PublishToPubSub to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for PublishToPubSub
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a PublishSummaryToCscc. */
+ interface IPublishSummaryToCscc {
+ }
+
+ /** Represents a PublishSummaryToCscc. */
+ class PublishSummaryToCscc implements IPublishSummaryToCscc {
+
+ /**
+ * Constructs a new PublishSummaryToCscc.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.Action.IPublishSummaryToCscc);
+
+ /**
+ * Creates a new PublishSummaryToCscc instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns PublishSummaryToCscc instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.Action.IPublishSummaryToCscc): google.privacy.dlp.v2.Action.PublishSummaryToCscc;
+
+ /**
+ * Encodes the specified PublishSummaryToCscc message. Does not implicitly {@link google.privacy.dlp.v2.Action.PublishSummaryToCscc.verify|verify} messages.
+ * @param message PublishSummaryToCscc message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.Action.IPublishSummaryToCscc, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified PublishSummaryToCscc message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.Action.PublishSummaryToCscc.verify|verify} messages.
+ * @param message PublishSummaryToCscc message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.Action.IPublishSummaryToCscc, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a PublishSummaryToCscc message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns PublishSummaryToCscc
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.Action.PublishSummaryToCscc;
+
+ /**
+ * Decodes a PublishSummaryToCscc message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns PublishSummaryToCscc
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.Action.PublishSummaryToCscc;
+
+ /**
+ * Verifies a PublishSummaryToCscc message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a PublishSummaryToCscc message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns PublishSummaryToCscc
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.Action.PublishSummaryToCscc;
+
+ /**
+ * Creates a plain object from a PublishSummaryToCscc message. Also converts values to other types if specified.
+ * @param message PublishSummaryToCscc
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.Action.PublishSummaryToCscc, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this PublishSummaryToCscc to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for PublishSummaryToCscc
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a PublishFindingsToCloudDataCatalog. */
+ interface IPublishFindingsToCloudDataCatalog {
+ }
+
+ /** Represents a PublishFindingsToCloudDataCatalog. */
+ class PublishFindingsToCloudDataCatalog implements IPublishFindingsToCloudDataCatalog {
+
+ /**
+ * Constructs a new PublishFindingsToCloudDataCatalog.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.Action.IPublishFindingsToCloudDataCatalog);
+
+ /**
+ * Creates a new PublishFindingsToCloudDataCatalog instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns PublishFindingsToCloudDataCatalog instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.Action.IPublishFindingsToCloudDataCatalog): google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog;
+
+ /**
+ * Encodes the specified PublishFindingsToCloudDataCatalog message. Does not implicitly {@link google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog.verify|verify} messages.
+ * @param message PublishFindingsToCloudDataCatalog message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.Action.IPublishFindingsToCloudDataCatalog, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified PublishFindingsToCloudDataCatalog message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog.verify|verify} messages.
+ * @param message PublishFindingsToCloudDataCatalog message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.Action.IPublishFindingsToCloudDataCatalog, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a PublishFindingsToCloudDataCatalog message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns PublishFindingsToCloudDataCatalog
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog;
+
+ /**
+ * Decodes a PublishFindingsToCloudDataCatalog message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns PublishFindingsToCloudDataCatalog
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog;
+
+ /**
+ * Verifies a PublishFindingsToCloudDataCatalog message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a PublishFindingsToCloudDataCatalog message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns PublishFindingsToCloudDataCatalog
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog;
+
+ /**
+ * Creates a plain object from a PublishFindingsToCloudDataCatalog message. Also converts values to other types if specified.
+ * @param message PublishFindingsToCloudDataCatalog
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this PublishFindingsToCloudDataCatalog to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for PublishFindingsToCloudDataCatalog
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a PublishFindingsToDataplexCatalog. */
+ interface IPublishFindingsToDataplexCatalog {
+ }
+
+ /** Represents a PublishFindingsToDataplexCatalog. */
+ class PublishFindingsToDataplexCatalog implements IPublishFindingsToDataplexCatalog {
+
+ /**
+ * Constructs a new PublishFindingsToDataplexCatalog.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.Action.IPublishFindingsToDataplexCatalog);
+
+ /**
+ * Creates a new PublishFindingsToDataplexCatalog instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns PublishFindingsToDataplexCatalog instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.Action.IPublishFindingsToDataplexCatalog): google.privacy.dlp.v2.Action.PublishFindingsToDataplexCatalog;
+
+ /**
+ * Encodes the specified PublishFindingsToDataplexCatalog message. Does not implicitly {@link google.privacy.dlp.v2.Action.PublishFindingsToDataplexCatalog.verify|verify} messages.
+ * @param message PublishFindingsToDataplexCatalog message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.Action.IPublishFindingsToDataplexCatalog, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified PublishFindingsToDataplexCatalog message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.Action.PublishFindingsToDataplexCatalog.verify|verify} messages.
+ * @param message PublishFindingsToDataplexCatalog message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.Action.IPublishFindingsToDataplexCatalog, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a PublishFindingsToDataplexCatalog message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns PublishFindingsToDataplexCatalog
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.Action.PublishFindingsToDataplexCatalog;
+
+ /**
+ * Decodes a PublishFindingsToDataplexCatalog message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns PublishFindingsToDataplexCatalog
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.Action.PublishFindingsToDataplexCatalog;
+
+ /**
+ * Verifies a PublishFindingsToDataplexCatalog message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a PublishFindingsToDataplexCatalog message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns PublishFindingsToDataplexCatalog
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.Action.PublishFindingsToDataplexCatalog;
+
+ /**
+ * Creates a plain object from a PublishFindingsToDataplexCatalog message. Also converts values to other types if specified.
+ * @param message PublishFindingsToDataplexCatalog
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.Action.PublishFindingsToDataplexCatalog, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this PublishFindingsToDataplexCatalog to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for PublishFindingsToDataplexCatalog
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a Deidentify. */
+ interface IDeidentify {
+
+ /** Deidentify transformationConfig */
+ transformationConfig?: (google.privacy.dlp.v2.ITransformationConfig|null);
+
+ /** Deidentify transformationDetailsStorageConfig */
+ transformationDetailsStorageConfig?: (google.privacy.dlp.v2.ITransformationDetailsStorageConfig|null);
+
+ /** Deidentify cloudStorageOutput */
+ cloudStorageOutput?: (string|null);
+
+ /** Deidentify fileTypesToTransform */
+ fileTypesToTransform?: (google.privacy.dlp.v2.FileType[]|null);
+ }
+
+ /** Represents a Deidentify. */
+ class Deidentify implements IDeidentify {
+
+ /**
+ * Constructs a new Deidentify.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.Action.IDeidentify);
+
+ /** Deidentify transformationConfig. */
+ public transformationConfig?: (google.privacy.dlp.v2.ITransformationConfig|null);
+
+ /** Deidentify transformationDetailsStorageConfig. */
+ public transformationDetailsStorageConfig?: (google.privacy.dlp.v2.ITransformationDetailsStorageConfig|null);
+
+ /** Deidentify cloudStorageOutput. */
+ public cloudStorageOutput?: (string|null);
+
+ /** Deidentify fileTypesToTransform. */
+ public fileTypesToTransform: google.privacy.dlp.v2.FileType[];
+
+ /** Deidentify output. */
+ public output?: "cloudStorageOutput";
+
+ /**
+ * Creates a new Deidentify instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns Deidentify instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.Action.IDeidentify): google.privacy.dlp.v2.Action.Deidentify;
+
+ /**
+ * Encodes the specified Deidentify message. Does not implicitly {@link google.privacy.dlp.v2.Action.Deidentify.verify|verify} messages.
+ * @param message Deidentify message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.Action.IDeidentify, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified Deidentify message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.Action.Deidentify.verify|verify} messages.
+ * @param message Deidentify message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.Action.IDeidentify, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a Deidentify message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns Deidentify
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.Action.Deidentify;
+
+ /**
+ * Decodes a Deidentify message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns Deidentify
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.Action.Deidentify;
+
+ /**
+ * Verifies a Deidentify message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a Deidentify message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns Deidentify
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.Action.Deidentify;
+
+ /**
+ * Creates a plain object from a Deidentify message. Also converts values to other types if specified.
+ * @param message Deidentify
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.Action.Deidentify, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this Deidentify to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for Deidentify
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a JobNotificationEmails. */
+ interface IJobNotificationEmails {
+ }
+
+ /** Represents a JobNotificationEmails. */
+ class JobNotificationEmails implements IJobNotificationEmails {
+
+ /**
+ * Constructs a new JobNotificationEmails.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.Action.IJobNotificationEmails);
+
+ /**
+ * Creates a new JobNotificationEmails instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns JobNotificationEmails instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.Action.IJobNotificationEmails): google.privacy.dlp.v2.Action.JobNotificationEmails;
+
+ /**
+ * Encodes the specified JobNotificationEmails message. Does not implicitly {@link google.privacy.dlp.v2.Action.JobNotificationEmails.verify|verify} messages.
+ * @param message JobNotificationEmails message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.Action.IJobNotificationEmails, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified JobNotificationEmails message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.Action.JobNotificationEmails.verify|verify} messages.
+ * @param message JobNotificationEmails message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.Action.IJobNotificationEmails, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a JobNotificationEmails message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns JobNotificationEmails
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.Action.JobNotificationEmails;
+
+ /**
+ * Decodes a JobNotificationEmails message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns JobNotificationEmails
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.Action.JobNotificationEmails;
+
+ /**
+ * Verifies a JobNotificationEmails message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a JobNotificationEmails message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns JobNotificationEmails
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.Action.JobNotificationEmails;
+
+ /**
+ * Creates a plain object from a JobNotificationEmails message. Also converts values to other types if specified.
+ * @param message JobNotificationEmails
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.Action.JobNotificationEmails, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this JobNotificationEmails to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for JobNotificationEmails
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a PublishToStackdriver. */
+ interface IPublishToStackdriver {
+ }
+
+ /** Represents a PublishToStackdriver. */
+ class PublishToStackdriver implements IPublishToStackdriver {
+
+ /**
+ * Constructs a new PublishToStackdriver.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.Action.IPublishToStackdriver);
+
+ /**
+ * Creates a new PublishToStackdriver instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns PublishToStackdriver instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.Action.IPublishToStackdriver): google.privacy.dlp.v2.Action.PublishToStackdriver;
+
+ /**
+ * Encodes the specified PublishToStackdriver message. Does not implicitly {@link google.privacy.dlp.v2.Action.PublishToStackdriver.verify|verify} messages.
+ * @param message PublishToStackdriver message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.Action.IPublishToStackdriver, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified PublishToStackdriver message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.Action.PublishToStackdriver.verify|verify} messages.
+ * @param message PublishToStackdriver message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.Action.IPublishToStackdriver, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a PublishToStackdriver message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns PublishToStackdriver
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.Action.PublishToStackdriver;
+
+ /**
+ * Decodes a PublishToStackdriver message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns PublishToStackdriver
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.Action.PublishToStackdriver;
+
+ /**
+ * Verifies a PublishToStackdriver message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a PublishToStackdriver message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns PublishToStackdriver
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.Action.PublishToStackdriver;
+
+ /**
+ * Creates a plain object from a PublishToStackdriver message. Also converts values to other types if specified.
+ * @param message PublishToStackdriver
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.Action.PublishToStackdriver, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this PublishToStackdriver to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for PublishToStackdriver
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+ }
+
+ /** Properties of a TransformationConfig. */
+ interface ITransformationConfig {
+
+ /** TransformationConfig deidentifyTemplate */
+ deidentifyTemplate?: (string|null);
+
+ /** TransformationConfig structuredDeidentifyTemplate */
+ structuredDeidentifyTemplate?: (string|null);
+
+ /** TransformationConfig imageRedactTemplate */
+ imageRedactTemplate?: (string|null);
+ }
+
+ /** Represents a TransformationConfig. */
+ class TransformationConfig implements ITransformationConfig {
+
+ /**
+ * Constructs a new TransformationConfig.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.ITransformationConfig);
+
+ /** TransformationConfig deidentifyTemplate. */
+ public deidentifyTemplate: string;
+
+ /** TransformationConfig structuredDeidentifyTemplate. */
+ public structuredDeidentifyTemplate: string;
+
+ /** TransformationConfig imageRedactTemplate. */
+ public imageRedactTemplate: string;
+
+ /**
+ * Creates a new TransformationConfig instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns TransformationConfig instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.ITransformationConfig): google.privacy.dlp.v2.TransformationConfig;
+
+ /**
+ * Encodes the specified TransformationConfig message. Does not implicitly {@link google.privacy.dlp.v2.TransformationConfig.verify|verify} messages.
+ * @param message TransformationConfig message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.ITransformationConfig, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified TransformationConfig message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.TransformationConfig.verify|verify} messages.
+ * @param message TransformationConfig message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.ITransformationConfig, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a TransformationConfig message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns TransformationConfig
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.TransformationConfig;
+
+ /**
+ * Decodes a TransformationConfig message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns TransformationConfig
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.TransformationConfig;
+
+ /**
+ * Verifies a TransformationConfig message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a TransformationConfig message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns TransformationConfig
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.TransformationConfig;
+
+ /**
+ * Creates a plain object from a TransformationConfig message. Also converts values to other types if specified.
+ * @param message TransformationConfig
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.TransformationConfig, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this TransformationConfig to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for TransformationConfig
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a CreateInspectTemplateRequest. */
+ interface ICreateInspectTemplateRequest {
+
+ /** CreateInspectTemplateRequest parent */
+ parent?: (string|null);
+
+ /** CreateInspectTemplateRequest inspectTemplate */
+ inspectTemplate?: (google.privacy.dlp.v2.IInspectTemplate|null);
+
+ /** CreateInspectTemplateRequest templateId */
+ templateId?: (string|null);
+
+ /** CreateInspectTemplateRequest locationId */
+ locationId?: (string|null);
+ }
+
+ /** Represents a CreateInspectTemplateRequest. */
+ class CreateInspectTemplateRequest implements ICreateInspectTemplateRequest {
+
+ /**
+ * Constructs a new CreateInspectTemplateRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.ICreateInspectTemplateRequest);
+
+ /** CreateInspectTemplateRequest parent. */
+ public parent: string;
+
+ /** CreateInspectTemplateRequest inspectTemplate. */
+ public inspectTemplate?: (google.privacy.dlp.v2.IInspectTemplate|null);
+
+ /** CreateInspectTemplateRequest templateId. */
+ public templateId: string;
+
+ /** CreateInspectTemplateRequest locationId. */
+ public locationId: string;
+
+ /**
+ * Creates a new CreateInspectTemplateRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns CreateInspectTemplateRequest instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.ICreateInspectTemplateRequest): google.privacy.dlp.v2.CreateInspectTemplateRequest;
+
+ /**
+ * Encodes the specified CreateInspectTemplateRequest message. Does not implicitly {@link google.privacy.dlp.v2.CreateInspectTemplateRequest.verify|verify} messages.
+ * @param message CreateInspectTemplateRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.ICreateInspectTemplateRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified CreateInspectTemplateRequest message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.CreateInspectTemplateRequest.verify|verify} messages.
+ * @param message CreateInspectTemplateRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.ICreateInspectTemplateRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a CreateInspectTemplateRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns CreateInspectTemplateRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.CreateInspectTemplateRequest;
+
+ /**
+ * Decodes a CreateInspectTemplateRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns CreateInspectTemplateRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.CreateInspectTemplateRequest;
+
+ /**
+ * Verifies a CreateInspectTemplateRequest message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a CreateInspectTemplateRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns CreateInspectTemplateRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.CreateInspectTemplateRequest;
+
+ /**
+ * Creates a plain object from a CreateInspectTemplateRequest message. Also converts values to other types if specified.
+ * @param message CreateInspectTemplateRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.CreateInspectTemplateRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this CreateInspectTemplateRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for CreateInspectTemplateRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of an UpdateInspectTemplateRequest. */
+ interface IUpdateInspectTemplateRequest {
+
+ /** UpdateInspectTemplateRequest name */
+ name?: (string|null);
+
+ /** UpdateInspectTemplateRequest inspectTemplate */
+ inspectTemplate?: (google.privacy.dlp.v2.IInspectTemplate|null);
+
+ /** UpdateInspectTemplateRequest updateMask */
+ updateMask?: (google.protobuf.IFieldMask|null);
+ }
+
+ /** Represents an UpdateInspectTemplateRequest. */
+ class UpdateInspectTemplateRequest implements IUpdateInspectTemplateRequest {
+
+ /**
+ * Constructs a new UpdateInspectTemplateRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.IUpdateInspectTemplateRequest);
+
+ /** UpdateInspectTemplateRequest name. */
+ public name: string;
+
+ /** UpdateInspectTemplateRequest inspectTemplate. */
+ public inspectTemplate?: (google.privacy.dlp.v2.IInspectTemplate|null);
+
+ /** UpdateInspectTemplateRequest updateMask. */
+ public updateMask?: (google.protobuf.IFieldMask|null);
+
+ /**
+ * Creates a new UpdateInspectTemplateRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns UpdateInspectTemplateRequest instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.IUpdateInspectTemplateRequest): google.privacy.dlp.v2.UpdateInspectTemplateRequest;
+
+ /**
+ * Encodes the specified UpdateInspectTemplateRequest message. Does not implicitly {@link google.privacy.dlp.v2.UpdateInspectTemplateRequest.verify|verify} messages.
+ * @param message UpdateInspectTemplateRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.IUpdateInspectTemplateRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified UpdateInspectTemplateRequest message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.UpdateInspectTemplateRequest.verify|verify} messages.
+ * @param message UpdateInspectTemplateRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.IUpdateInspectTemplateRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an UpdateInspectTemplateRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns UpdateInspectTemplateRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.UpdateInspectTemplateRequest;
+
+ /**
+ * Decodes an UpdateInspectTemplateRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns UpdateInspectTemplateRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.UpdateInspectTemplateRequest;
+
+ /**
+ * Verifies an UpdateInspectTemplateRequest message.
+ * @param message Plain 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 UpdateInspectTemplateRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns UpdateInspectTemplateRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.UpdateInspectTemplateRequest;
+
+ /**
+ * Creates a plain object from an UpdateInspectTemplateRequest message. Also converts values to other types if specified.
+ * @param message UpdateInspectTemplateRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.UpdateInspectTemplateRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this UpdateInspectTemplateRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for UpdateInspectTemplateRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a GetInspectTemplateRequest. */
+ interface IGetInspectTemplateRequest {
+
+ /** GetInspectTemplateRequest name */
+ name?: (string|null);
+ }
+
+ /** Represents a GetInspectTemplateRequest. */
+ class GetInspectTemplateRequest implements IGetInspectTemplateRequest {
+
+ /**
+ * Constructs a new GetInspectTemplateRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.IGetInspectTemplateRequest);
+
+ /** GetInspectTemplateRequest name. */
+ public name: string;
+
+ /**
+ * Creates a new GetInspectTemplateRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns GetInspectTemplateRequest instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.IGetInspectTemplateRequest): google.privacy.dlp.v2.GetInspectTemplateRequest;
+
+ /**
+ * Encodes the specified GetInspectTemplateRequest message. Does not implicitly {@link google.privacy.dlp.v2.GetInspectTemplateRequest.verify|verify} messages.
+ * @param message GetInspectTemplateRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.IGetInspectTemplateRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified GetInspectTemplateRequest message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.GetInspectTemplateRequest.verify|verify} messages.
+ * @param message GetInspectTemplateRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.IGetInspectTemplateRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a GetInspectTemplateRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns GetInspectTemplateRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.GetInspectTemplateRequest;
+
+ /**
+ * Decodes a GetInspectTemplateRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns GetInspectTemplateRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.GetInspectTemplateRequest;
+
+ /**
+ * Verifies a GetInspectTemplateRequest message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a GetInspectTemplateRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns GetInspectTemplateRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.GetInspectTemplateRequest;
+
+ /**
+ * Creates a plain object from a GetInspectTemplateRequest message. Also converts values to other types if specified.
+ * @param message GetInspectTemplateRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.GetInspectTemplateRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this GetInspectTemplateRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for GetInspectTemplateRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a ListInspectTemplatesRequest. */
+ interface IListInspectTemplatesRequest {
+
+ /** ListInspectTemplatesRequest parent */
+ parent?: (string|null);
+
+ /** ListInspectTemplatesRequest pageToken */
+ pageToken?: (string|null);
+
+ /** ListInspectTemplatesRequest pageSize */
+ pageSize?: (number|null);
+
+ /** ListInspectTemplatesRequest orderBy */
+ orderBy?: (string|null);
+
+ /** ListInspectTemplatesRequest locationId */
+ locationId?: (string|null);
+ }
+
+ /** Represents a ListInspectTemplatesRequest. */
+ class ListInspectTemplatesRequest implements IListInspectTemplatesRequest {
+
+ /**
+ * Constructs a new ListInspectTemplatesRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.IListInspectTemplatesRequest);
+
+ /** ListInspectTemplatesRequest parent. */
+ public parent: string;
+
+ /** ListInspectTemplatesRequest pageToken. */
+ public pageToken: string;
+
+ /** ListInspectTemplatesRequest pageSize. */
+ public pageSize: number;
+
+ /** ListInspectTemplatesRequest orderBy. */
+ public orderBy: string;
+
+ /** ListInspectTemplatesRequest locationId. */
+ public locationId: string;
+
+ /**
+ * Creates a new ListInspectTemplatesRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ListInspectTemplatesRequest instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.IListInspectTemplatesRequest): google.privacy.dlp.v2.ListInspectTemplatesRequest;
+
+ /**
+ * Encodes the specified ListInspectTemplatesRequest message. Does not implicitly {@link google.privacy.dlp.v2.ListInspectTemplatesRequest.verify|verify} messages.
+ * @param message ListInspectTemplatesRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.IListInspectTemplatesRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ListInspectTemplatesRequest message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.ListInspectTemplatesRequest.verify|verify} messages.
+ * @param message ListInspectTemplatesRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.IListInspectTemplatesRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ListInspectTemplatesRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ListInspectTemplatesRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.ListInspectTemplatesRequest;
+
+ /**
+ * Decodes a ListInspectTemplatesRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ListInspectTemplatesRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.ListInspectTemplatesRequest;
+
+ /**
+ * Verifies a ListInspectTemplatesRequest message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a ListInspectTemplatesRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ListInspectTemplatesRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.ListInspectTemplatesRequest;
+
+ /**
+ * Creates a plain object from a ListInspectTemplatesRequest message. Also converts values to other types if specified.
+ * @param message ListInspectTemplatesRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.ListInspectTemplatesRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ListInspectTemplatesRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ListInspectTemplatesRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a ListInspectTemplatesResponse. */
+ interface IListInspectTemplatesResponse {
+
+ /** ListInspectTemplatesResponse inspectTemplates */
+ inspectTemplates?: (google.privacy.dlp.v2.IInspectTemplate[]|null);
+
+ /** ListInspectTemplatesResponse nextPageToken */
+ nextPageToken?: (string|null);
+ }
+
+ /** Represents a ListInspectTemplatesResponse. */
+ class ListInspectTemplatesResponse implements IListInspectTemplatesResponse {
+
+ /**
+ * Constructs a new ListInspectTemplatesResponse.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.IListInspectTemplatesResponse);
+
+ /** ListInspectTemplatesResponse inspectTemplates. */
+ public inspectTemplates: google.privacy.dlp.v2.IInspectTemplate[];
+
+ /** ListInspectTemplatesResponse nextPageToken. */
+ public nextPageToken: string;
+
+ /**
+ * Creates a new ListInspectTemplatesResponse instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ListInspectTemplatesResponse instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.IListInspectTemplatesResponse): google.privacy.dlp.v2.ListInspectTemplatesResponse;
+
+ /**
+ * Encodes the specified ListInspectTemplatesResponse message. Does not implicitly {@link google.privacy.dlp.v2.ListInspectTemplatesResponse.verify|verify} messages.
+ * @param message ListInspectTemplatesResponse message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.IListInspectTemplatesResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ListInspectTemplatesResponse message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.ListInspectTemplatesResponse.verify|verify} messages.
+ * @param message ListInspectTemplatesResponse message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.IListInspectTemplatesResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ListInspectTemplatesResponse message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ListInspectTemplatesResponse
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.ListInspectTemplatesResponse;
+
+ /**
+ * Decodes a ListInspectTemplatesResponse message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ListInspectTemplatesResponse
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.ListInspectTemplatesResponse;
+
+ /**
+ * Verifies a ListInspectTemplatesResponse message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a ListInspectTemplatesResponse message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ListInspectTemplatesResponse
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.ListInspectTemplatesResponse;
+
+ /**
+ * Creates a plain object from a ListInspectTemplatesResponse message. Also converts values to other types if specified.
+ * @param message ListInspectTemplatesResponse
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.ListInspectTemplatesResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ListInspectTemplatesResponse to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ListInspectTemplatesResponse
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a DeleteInspectTemplateRequest. */
+ interface IDeleteInspectTemplateRequest {
+
+ /** DeleteInspectTemplateRequest name */
+ name?: (string|null);
+ }
+
+ /** Represents a DeleteInspectTemplateRequest. */
+ class DeleteInspectTemplateRequest implements IDeleteInspectTemplateRequest {
+
+ /**
+ * Constructs a new DeleteInspectTemplateRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.IDeleteInspectTemplateRequest);
+
+ /** DeleteInspectTemplateRequest name. */
+ public name: string;
+
+ /**
+ * Creates a new DeleteInspectTemplateRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns DeleteInspectTemplateRequest instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.IDeleteInspectTemplateRequest): google.privacy.dlp.v2.DeleteInspectTemplateRequest;
+
+ /**
+ * Encodes the specified DeleteInspectTemplateRequest message. Does not implicitly {@link google.privacy.dlp.v2.DeleteInspectTemplateRequest.verify|verify} messages.
+ * @param message DeleteInspectTemplateRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.IDeleteInspectTemplateRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified DeleteInspectTemplateRequest message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.DeleteInspectTemplateRequest.verify|verify} messages.
+ * @param message DeleteInspectTemplateRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.IDeleteInspectTemplateRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a DeleteInspectTemplateRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns DeleteInspectTemplateRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.DeleteInspectTemplateRequest;
+
+ /**
+ * Decodes a DeleteInspectTemplateRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns DeleteInspectTemplateRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.DeleteInspectTemplateRequest;
+
+ /**
+ * Verifies a DeleteInspectTemplateRequest message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a DeleteInspectTemplateRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns DeleteInspectTemplateRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.DeleteInspectTemplateRequest;
+
+ /**
+ * Creates a plain object from a DeleteInspectTemplateRequest message. Also converts values to other types if specified.
+ * @param message DeleteInspectTemplateRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.DeleteInspectTemplateRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this DeleteInspectTemplateRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for DeleteInspectTemplateRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a CreateJobTriggerRequest. */
+ interface ICreateJobTriggerRequest {
+
+ /** CreateJobTriggerRequest parent */
+ parent?: (string|null);
+
+ /** CreateJobTriggerRequest jobTrigger */
+ jobTrigger?: (google.privacy.dlp.v2.IJobTrigger|null);
+
+ /** CreateJobTriggerRequest triggerId */
+ triggerId?: (string|null);
+
+ /** CreateJobTriggerRequest locationId */
+ locationId?: (string|null);
+ }
+
+ /** Represents a CreateJobTriggerRequest. */
+ class CreateJobTriggerRequest implements ICreateJobTriggerRequest {
+
+ /**
+ * Constructs a new CreateJobTriggerRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.ICreateJobTriggerRequest);
+
+ /** CreateJobTriggerRequest parent. */
+ public parent: string;
+
+ /** CreateJobTriggerRequest jobTrigger. */
+ public jobTrigger?: (google.privacy.dlp.v2.IJobTrigger|null);
+
+ /** CreateJobTriggerRequest triggerId. */
+ public triggerId: string;
+
+ /** CreateJobTriggerRequest locationId. */
+ public locationId: string;
+
+ /**
+ * Creates a new CreateJobTriggerRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns CreateJobTriggerRequest instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.ICreateJobTriggerRequest): google.privacy.dlp.v2.CreateJobTriggerRequest;
+
+ /**
+ * Encodes the specified CreateJobTriggerRequest message. Does not implicitly {@link google.privacy.dlp.v2.CreateJobTriggerRequest.verify|verify} messages.
+ * @param message CreateJobTriggerRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.ICreateJobTriggerRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified CreateJobTriggerRequest message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.CreateJobTriggerRequest.verify|verify} messages.
+ * @param message CreateJobTriggerRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.ICreateJobTriggerRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a CreateJobTriggerRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns CreateJobTriggerRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.CreateJobTriggerRequest;
+
+ /**
+ * Decodes a CreateJobTriggerRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns CreateJobTriggerRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.CreateJobTriggerRequest;
+
+ /**
+ * Verifies a CreateJobTriggerRequest message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a CreateJobTriggerRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns CreateJobTriggerRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.CreateJobTriggerRequest;
+
+ /**
+ * Creates a plain object from a CreateJobTriggerRequest message. Also converts values to other types if specified.
+ * @param message CreateJobTriggerRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.CreateJobTriggerRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this CreateJobTriggerRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for CreateJobTriggerRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of an ActivateJobTriggerRequest. */
+ interface IActivateJobTriggerRequest {
+
+ /** ActivateJobTriggerRequest name */
+ name?: (string|null);
+ }
+
+ /** Represents an ActivateJobTriggerRequest. */
+ class ActivateJobTriggerRequest implements IActivateJobTriggerRequest {
+
+ /**
+ * Constructs a new ActivateJobTriggerRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.IActivateJobTriggerRequest);
+
+ /** ActivateJobTriggerRequest name. */
+ public name: string;
+
+ /**
+ * Creates a new ActivateJobTriggerRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ActivateJobTriggerRequest instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.IActivateJobTriggerRequest): google.privacy.dlp.v2.ActivateJobTriggerRequest;
+
+ /**
+ * Encodes the specified ActivateJobTriggerRequest message. Does not implicitly {@link google.privacy.dlp.v2.ActivateJobTriggerRequest.verify|verify} messages.
+ * @param message ActivateJobTriggerRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.IActivateJobTriggerRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ActivateJobTriggerRequest message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.ActivateJobTriggerRequest.verify|verify} messages.
+ * @param message ActivateJobTriggerRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.IActivateJobTriggerRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an ActivateJobTriggerRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ActivateJobTriggerRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.ActivateJobTriggerRequest;
+
+ /**
+ * Decodes an ActivateJobTriggerRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ActivateJobTriggerRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.ActivateJobTriggerRequest;
+
+ /**
+ * Verifies an ActivateJobTriggerRequest message.
+ * @param message Plain 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 ActivateJobTriggerRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ActivateJobTriggerRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.ActivateJobTriggerRequest;
+
+ /**
+ * Creates a plain object from an ActivateJobTriggerRequest message. Also converts values to other types if specified.
+ * @param message ActivateJobTriggerRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.ActivateJobTriggerRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ActivateJobTriggerRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ActivateJobTriggerRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of an UpdateJobTriggerRequest. */
+ interface IUpdateJobTriggerRequest {
+
+ /** UpdateJobTriggerRequest name */
+ name?: (string|null);
+
+ /** UpdateJobTriggerRequest jobTrigger */
+ jobTrigger?: (google.privacy.dlp.v2.IJobTrigger|null);
+
+ /** UpdateJobTriggerRequest updateMask */
+ updateMask?: (google.protobuf.IFieldMask|null);
+ }
+
+ /** Represents an UpdateJobTriggerRequest. */
+ class UpdateJobTriggerRequest implements IUpdateJobTriggerRequest {
+
+ /**
+ * Constructs a new UpdateJobTriggerRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.IUpdateJobTriggerRequest);
+
+ /** UpdateJobTriggerRequest name. */
+ public name: string;
+
+ /** UpdateJobTriggerRequest jobTrigger. */
+ public jobTrigger?: (google.privacy.dlp.v2.IJobTrigger|null);
+
+ /** UpdateJobTriggerRequest updateMask. */
+ public updateMask?: (google.protobuf.IFieldMask|null);
+
+ /**
+ * Creates a new UpdateJobTriggerRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns UpdateJobTriggerRequest instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.IUpdateJobTriggerRequest): google.privacy.dlp.v2.UpdateJobTriggerRequest;
+
+ /**
+ * Encodes the specified UpdateJobTriggerRequest message. Does not implicitly {@link google.privacy.dlp.v2.UpdateJobTriggerRequest.verify|verify} messages.
+ * @param message UpdateJobTriggerRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.IUpdateJobTriggerRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified UpdateJobTriggerRequest message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.UpdateJobTriggerRequest.verify|verify} messages.
+ * @param message UpdateJobTriggerRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.IUpdateJobTriggerRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an UpdateJobTriggerRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns UpdateJobTriggerRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.UpdateJobTriggerRequest;
+
+ /**
+ * Decodes an UpdateJobTriggerRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns UpdateJobTriggerRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.UpdateJobTriggerRequest;
+
+ /**
+ * Verifies an UpdateJobTriggerRequest message.
+ * @param message Plain 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 UpdateJobTriggerRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns UpdateJobTriggerRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.UpdateJobTriggerRequest;
+
+ /**
+ * Creates a plain object from an UpdateJobTriggerRequest message. Also converts values to other types if specified.
+ * @param message UpdateJobTriggerRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.UpdateJobTriggerRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this UpdateJobTriggerRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for UpdateJobTriggerRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a GetJobTriggerRequest. */
+ interface IGetJobTriggerRequest {
+
+ /** GetJobTriggerRequest name */
+ name?: (string|null);
+ }
+
+ /** Represents a GetJobTriggerRequest. */
+ class GetJobTriggerRequest implements IGetJobTriggerRequest {
+
+ /**
+ * Constructs a new GetJobTriggerRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.IGetJobTriggerRequest);
+
+ /** GetJobTriggerRequest name. */
+ public name: string;
+
+ /**
+ * Creates a new GetJobTriggerRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns GetJobTriggerRequest instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.IGetJobTriggerRequest): google.privacy.dlp.v2.GetJobTriggerRequest;
+
+ /**
+ * Encodes the specified GetJobTriggerRequest message. Does not implicitly {@link google.privacy.dlp.v2.GetJobTriggerRequest.verify|verify} messages.
+ * @param message GetJobTriggerRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.IGetJobTriggerRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified GetJobTriggerRequest message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.GetJobTriggerRequest.verify|verify} messages.
+ * @param message GetJobTriggerRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.IGetJobTriggerRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a GetJobTriggerRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns GetJobTriggerRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.GetJobTriggerRequest;
+
+ /**
+ * Decodes a GetJobTriggerRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns GetJobTriggerRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.GetJobTriggerRequest;
+
+ /**
+ * Verifies a GetJobTriggerRequest message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a GetJobTriggerRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns GetJobTriggerRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.GetJobTriggerRequest;
+
+ /**
+ * Creates a plain object from a GetJobTriggerRequest message. Also converts values to other types if specified.
+ * @param message GetJobTriggerRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.GetJobTriggerRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this GetJobTriggerRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for GetJobTriggerRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a CreateDiscoveryConfigRequest. */
+ interface ICreateDiscoveryConfigRequest {
+
+ /** CreateDiscoveryConfigRequest parent */
+ parent?: (string|null);
+
+ /** CreateDiscoveryConfigRequest discoveryConfig */
+ discoveryConfig?: (google.privacy.dlp.v2.IDiscoveryConfig|null);
+
+ /** CreateDiscoveryConfigRequest configId */
+ configId?: (string|null);
+ }
+
+ /** Represents a CreateDiscoveryConfigRequest. */
+ class CreateDiscoveryConfigRequest implements ICreateDiscoveryConfigRequest {
+
+ /**
+ * Constructs a new CreateDiscoveryConfigRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.ICreateDiscoveryConfigRequest);
+
+ /** CreateDiscoveryConfigRequest parent. */
+ public parent: string;
+
+ /** CreateDiscoveryConfigRequest discoveryConfig. */
+ public discoveryConfig?: (google.privacy.dlp.v2.IDiscoveryConfig|null);
+
+ /** CreateDiscoveryConfigRequest configId. */
+ public configId: string;
+
+ /**
+ * Creates a new CreateDiscoveryConfigRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns CreateDiscoveryConfigRequest instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.ICreateDiscoveryConfigRequest): google.privacy.dlp.v2.CreateDiscoveryConfigRequest;
+
+ /**
+ * Encodes the specified CreateDiscoveryConfigRequest message. Does not implicitly {@link google.privacy.dlp.v2.CreateDiscoveryConfigRequest.verify|verify} messages.
+ * @param message CreateDiscoveryConfigRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.ICreateDiscoveryConfigRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified CreateDiscoveryConfigRequest message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.CreateDiscoveryConfigRequest.verify|verify} messages.
+ * @param message CreateDiscoveryConfigRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.ICreateDiscoveryConfigRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a CreateDiscoveryConfigRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns CreateDiscoveryConfigRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.CreateDiscoveryConfigRequest;
+
+ /**
+ * Decodes a CreateDiscoveryConfigRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns CreateDiscoveryConfigRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.CreateDiscoveryConfigRequest;
+
+ /**
+ * Verifies a CreateDiscoveryConfigRequest message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a CreateDiscoveryConfigRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns CreateDiscoveryConfigRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.CreateDiscoveryConfigRequest;
+
+ /**
+ * Creates a plain object from a CreateDiscoveryConfigRequest message. Also converts values to other types if specified.
+ * @param message CreateDiscoveryConfigRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.CreateDiscoveryConfigRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this CreateDiscoveryConfigRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for CreateDiscoveryConfigRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of an UpdateDiscoveryConfigRequest. */
+ interface IUpdateDiscoveryConfigRequest {
+
+ /** UpdateDiscoveryConfigRequest name */
+ name?: (string|null);
+
+ /** UpdateDiscoveryConfigRequest discoveryConfig */
+ discoveryConfig?: (google.privacy.dlp.v2.IDiscoveryConfig|null);
+
+ /** UpdateDiscoveryConfigRequest updateMask */
+ updateMask?: (google.protobuf.IFieldMask|null);
+ }
+
+ /** Represents an UpdateDiscoveryConfigRequest. */
+ class UpdateDiscoveryConfigRequest implements IUpdateDiscoveryConfigRequest {
+
+ /**
+ * Constructs a new UpdateDiscoveryConfigRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.IUpdateDiscoveryConfigRequest);
+
+ /** UpdateDiscoveryConfigRequest name. */
+ public name: string;
+
+ /** UpdateDiscoveryConfigRequest discoveryConfig. */
+ public discoveryConfig?: (google.privacy.dlp.v2.IDiscoveryConfig|null);
+
+ /** UpdateDiscoveryConfigRequest updateMask. */
+ public updateMask?: (google.protobuf.IFieldMask|null);
+
+ /**
+ * Creates a new UpdateDiscoveryConfigRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns UpdateDiscoveryConfigRequest instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.IUpdateDiscoveryConfigRequest): google.privacy.dlp.v2.UpdateDiscoveryConfigRequest;
+
+ /**
+ * Encodes the specified UpdateDiscoveryConfigRequest message. Does not implicitly {@link google.privacy.dlp.v2.UpdateDiscoveryConfigRequest.verify|verify} messages.
+ * @param message UpdateDiscoveryConfigRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.IUpdateDiscoveryConfigRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified UpdateDiscoveryConfigRequest message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.UpdateDiscoveryConfigRequest.verify|verify} messages.
+ * @param message UpdateDiscoveryConfigRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.IUpdateDiscoveryConfigRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an UpdateDiscoveryConfigRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns UpdateDiscoveryConfigRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.UpdateDiscoveryConfigRequest;
+
+ /**
+ * Decodes an UpdateDiscoveryConfigRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns UpdateDiscoveryConfigRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.UpdateDiscoveryConfigRequest;
+
+ /**
+ * Verifies an UpdateDiscoveryConfigRequest message.
+ * @param message Plain 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 UpdateDiscoveryConfigRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns UpdateDiscoveryConfigRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.UpdateDiscoveryConfigRequest;
+
+ /**
+ * Creates a plain object from an UpdateDiscoveryConfigRequest message. Also converts values to other types if specified.
+ * @param message UpdateDiscoveryConfigRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.UpdateDiscoveryConfigRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this UpdateDiscoveryConfigRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for UpdateDiscoveryConfigRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a GetDiscoveryConfigRequest. */
+ interface IGetDiscoveryConfigRequest {
+
+ /** GetDiscoveryConfigRequest name */
+ name?: (string|null);
+ }
+
+ /** Represents a GetDiscoveryConfigRequest. */
+ class GetDiscoveryConfigRequest implements IGetDiscoveryConfigRequest {
+
+ /**
+ * Constructs a new GetDiscoveryConfigRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.IGetDiscoveryConfigRequest);
+
+ /** GetDiscoveryConfigRequest name. */
+ public name: string;
+
+ /**
+ * Creates a new GetDiscoveryConfigRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns GetDiscoveryConfigRequest instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.IGetDiscoveryConfigRequest): google.privacy.dlp.v2.GetDiscoveryConfigRequest;
+
+ /**
+ * Encodes the specified GetDiscoveryConfigRequest message. Does not implicitly {@link google.privacy.dlp.v2.GetDiscoveryConfigRequest.verify|verify} messages.
+ * @param message GetDiscoveryConfigRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.IGetDiscoveryConfigRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified GetDiscoveryConfigRequest message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.GetDiscoveryConfigRequest.verify|verify} messages.
+ * @param message GetDiscoveryConfigRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.IGetDiscoveryConfigRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a GetDiscoveryConfigRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns GetDiscoveryConfigRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.GetDiscoveryConfigRequest;
+
+ /**
+ * Decodes a GetDiscoveryConfigRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns GetDiscoveryConfigRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.GetDiscoveryConfigRequest;
+
+ /**
+ * Verifies a GetDiscoveryConfigRequest message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a GetDiscoveryConfigRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns GetDiscoveryConfigRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.GetDiscoveryConfigRequest;
+
+ /**
+ * Creates a plain object from a GetDiscoveryConfigRequest message. Also converts values to other types if specified.
+ * @param message GetDiscoveryConfigRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.GetDiscoveryConfigRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this GetDiscoveryConfigRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for GetDiscoveryConfigRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a ListDiscoveryConfigsRequest. */
+ interface IListDiscoveryConfigsRequest {
+
+ /** ListDiscoveryConfigsRequest parent */
+ parent?: (string|null);
+
+ /** ListDiscoveryConfigsRequest pageToken */
+ pageToken?: (string|null);
+
+ /** ListDiscoveryConfigsRequest pageSize */
+ pageSize?: (number|null);
+
+ /** ListDiscoveryConfigsRequest orderBy */
+ orderBy?: (string|null);
+ }
+
+ /** Represents a ListDiscoveryConfigsRequest. */
+ class ListDiscoveryConfigsRequest implements IListDiscoveryConfigsRequest {
+
+ /**
+ * Constructs a new ListDiscoveryConfigsRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.IListDiscoveryConfigsRequest);
+
+ /** ListDiscoveryConfigsRequest parent. */
+ public parent: string;
+
+ /** ListDiscoveryConfigsRequest pageToken. */
+ public pageToken: string;
+
+ /** ListDiscoveryConfigsRequest pageSize. */
+ public pageSize: number;
+
+ /** ListDiscoveryConfigsRequest orderBy. */
+ public orderBy: string;
+
+ /**
+ * Creates a new ListDiscoveryConfigsRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ListDiscoveryConfigsRequest instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.IListDiscoveryConfigsRequest): google.privacy.dlp.v2.ListDiscoveryConfigsRequest;
+
+ /**
+ * Encodes the specified ListDiscoveryConfigsRequest message. Does not implicitly {@link google.privacy.dlp.v2.ListDiscoveryConfigsRequest.verify|verify} messages.
+ * @param message ListDiscoveryConfigsRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.IListDiscoveryConfigsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ListDiscoveryConfigsRequest message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.ListDiscoveryConfigsRequest.verify|verify} messages.
+ * @param message ListDiscoveryConfigsRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.IListDiscoveryConfigsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ListDiscoveryConfigsRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ListDiscoveryConfigsRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.ListDiscoveryConfigsRequest;
+
+ /**
+ * Decodes a ListDiscoveryConfigsRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ListDiscoveryConfigsRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.ListDiscoveryConfigsRequest;
+
+ /**
+ * Verifies a ListDiscoveryConfigsRequest message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a ListDiscoveryConfigsRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ListDiscoveryConfigsRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.ListDiscoveryConfigsRequest;
+
+ /**
+ * Creates a plain object from a ListDiscoveryConfigsRequest message. Also converts values to other types if specified.
+ * @param message ListDiscoveryConfigsRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.ListDiscoveryConfigsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ListDiscoveryConfigsRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ListDiscoveryConfigsRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a ListDiscoveryConfigsResponse. */
+ interface IListDiscoveryConfigsResponse {
+
+ /** ListDiscoveryConfigsResponse discoveryConfigs */
+ discoveryConfigs?: (google.privacy.dlp.v2.IDiscoveryConfig[]|null);
+
+ /** ListDiscoveryConfigsResponse nextPageToken */
+ nextPageToken?: (string|null);
+ }
+
+ /** Represents a ListDiscoveryConfigsResponse. */
+ class ListDiscoveryConfigsResponse implements IListDiscoveryConfigsResponse {
+
+ /**
+ * Constructs a new ListDiscoveryConfigsResponse.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.IListDiscoveryConfigsResponse);
+
+ /** ListDiscoveryConfigsResponse discoveryConfigs. */
+ public discoveryConfigs: google.privacy.dlp.v2.IDiscoveryConfig[];
+
+ /** ListDiscoveryConfigsResponse nextPageToken. */
+ public nextPageToken: string;
+
+ /**
+ * Creates a new ListDiscoveryConfigsResponse instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ListDiscoveryConfigsResponse instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.IListDiscoveryConfigsResponse): google.privacy.dlp.v2.ListDiscoveryConfigsResponse;
+
+ /**
+ * Encodes the specified ListDiscoveryConfigsResponse message. Does not implicitly {@link google.privacy.dlp.v2.ListDiscoveryConfigsResponse.verify|verify} messages.
+ * @param message ListDiscoveryConfigsResponse message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.IListDiscoveryConfigsResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ListDiscoveryConfigsResponse message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.ListDiscoveryConfigsResponse.verify|verify} messages.
+ * @param message ListDiscoveryConfigsResponse message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.IListDiscoveryConfigsResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ListDiscoveryConfigsResponse message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ListDiscoveryConfigsResponse
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.ListDiscoveryConfigsResponse;
+
+ /**
+ * Decodes a ListDiscoveryConfigsResponse message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ListDiscoveryConfigsResponse
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.ListDiscoveryConfigsResponse;
+
+ /**
+ * Verifies a ListDiscoveryConfigsResponse message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a ListDiscoveryConfigsResponse message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ListDiscoveryConfigsResponse
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.ListDiscoveryConfigsResponse;
+
+ /**
+ * Creates a plain object from a ListDiscoveryConfigsResponse message. Also converts values to other types if specified.
+ * @param message ListDiscoveryConfigsResponse
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.ListDiscoveryConfigsResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ListDiscoveryConfigsResponse to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ListDiscoveryConfigsResponse
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a DeleteDiscoveryConfigRequest. */
+ interface IDeleteDiscoveryConfigRequest {
+
+ /** DeleteDiscoveryConfigRequest name */
+ name?: (string|null);
+ }
+
+ /** Represents a DeleteDiscoveryConfigRequest. */
+ class DeleteDiscoveryConfigRequest implements IDeleteDiscoveryConfigRequest {
+
+ /**
+ * Constructs a new DeleteDiscoveryConfigRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.IDeleteDiscoveryConfigRequest);
+
+ /** DeleteDiscoveryConfigRequest name. */
+ public name: string;
+
+ /**
+ * Creates a new DeleteDiscoveryConfigRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns DeleteDiscoveryConfigRequest instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.IDeleteDiscoveryConfigRequest): google.privacy.dlp.v2.DeleteDiscoveryConfigRequest;
+
+ /**
+ * Encodes the specified DeleteDiscoveryConfigRequest message. Does not implicitly {@link google.privacy.dlp.v2.DeleteDiscoveryConfigRequest.verify|verify} messages.
+ * @param message DeleteDiscoveryConfigRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.IDeleteDiscoveryConfigRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified DeleteDiscoveryConfigRequest message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.DeleteDiscoveryConfigRequest.verify|verify} messages.
+ * @param message DeleteDiscoveryConfigRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.IDeleteDiscoveryConfigRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a DeleteDiscoveryConfigRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns DeleteDiscoveryConfigRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.DeleteDiscoveryConfigRequest;
+
+ /**
+ * Decodes a DeleteDiscoveryConfigRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns DeleteDiscoveryConfigRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.DeleteDiscoveryConfigRequest;
+
+ /**
+ * Verifies a DeleteDiscoveryConfigRequest message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a DeleteDiscoveryConfigRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns DeleteDiscoveryConfigRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.DeleteDiscoveryConfigRequest;
+
+ /**
+ * Creates a plain object from a DeleteDiscoveryConfigRequest message. Also converts values to other types if specified.
+ * @param message DeleteDiscoveryConfigRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.DeleteDiscoveryConfigRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this DeleteDiscoveryConfigRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for DeleteDiscoveryConfigRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a CreateDlpJobRequest. */
+ interface ICreateDlpJobRequest {
+
+ /** CreateDlpJobRequest parent */
+ parent?: (string|null);
+
+ /** CreateDlpJobRequest inspectJob */
+ inspectJob?: (google.privacy.dlp.v2.IInspectJobConfig|null);
+
+ /** CreateDlpJobRequest riskJob */
+ riskJob?: (google.privacy.dlp.v2.IRiskAnalysisJobConfig|null);
+
+ /** CreateDlpJobRequest jobId */
+ jobId?: (string|null);
+
+ /** CreateDlpJobRequest locationId */
+ locationId?: (string|null);
+ }
+
+ /** Represents a CreateDlpJobRequest. */
+ class CreateDlpJobRequest implements ICreateDlpJobRequest {
+
+ /**
+ * Constructs a new CreateDlpJobRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.ICreateDlpJobRequest);
+
+ /** CreateDlpJobRequest parent. */
+ public parent: string;
+
+ /** CreateDlpJobRequest inspectJob. */
+ public inspectJob?: (google.privacy.dlp.v2.IInspectJobConfig|null);
+
+ /** CreateDlpJobRequest riskJob. */
+ public riskJob?: (google.privacy.dlp.v2.IRiskAnalysisJobConfig|null);
+
+ /** CreateDlpJobRequest jobId. */
+ public jobId: string;
+
+ /** CreateDlpJobRequest locationId. */
+ public locationId: string;
+
+ /** CreateDlpJobRequest job. */
+ public job?: ("inspectJob"|"riskJob");
+
+ /**
+ * Creates a new CreateDlpJobRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns CreateDlpJobRequest instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.ICreateDlpJobRequest): google.privacy.dlp.v2.CreateDlpJobRequest;
+
+ /**
+ * Encodes the specified CreateDlpJobRequest message. Does not implicitly {@link google.privacy.dlp.v2.CreateDlpJobRequest.verify|verify} messages.
+ * @param message CreateDlpJobRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.ICreateDlpJobRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified CreateDlpJobRequest message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.CreateDlpJobRequest.verify|verify} messages.
+ * @param message CreateDlpJobRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.ICreateDlpJobRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a CreateDlpJobRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns CreateDlpJobRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.CreateDlpJobRequest;
+
+ /**
+ * Decodes a CreateDlpJobRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns CreateDlpJobRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.CreateDlpJobRequest;
+
+ /**
+ * Verifies a CreateDlpJobRequest message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a CreateDlpJobRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns CreateDlpJobRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.CreateDlpJobRequest;
+
+ /**
+ * Creates a plain object from a CreateDlpJobRequest message. Also converts values to other types if specified.
+ * @param message CreateDlpJobRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.CreateDlpJobRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this CreateDlpJobRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for CreateDlpJobRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a ListJobTriggersRequest. */
+ interface IListJobTriggersRequest {
+
+ /** ListJobTriggersRequest parent */
+ parent?: (string|null);
+
+ /** ListJobTriggersRequest pageToken */
+ pageToken?: (string|null);
+
+ /** ListJobTriggersRequest pageSize */
+ pageSize?: (number|null);
+
+ /** ListJobTriggersRequest orderBy */
+ orderBy?: (string|null);
+
+ /** ListJobTriggersRequest filter */
+ filter?: (string|null);
+
+ /** ListJobTriggersRequest type */
+ type?: (google.privacy.dlp.v2.DlpJobType|keyof typeof google.privacy.dlp.v2.DlpJobType|null);
+
+ /** ListJobTriggersRequest locationId */
+ locationId?: (string|null);
+ }
+
+ /** Represents a ListJobTriggersRequest. */
+ class ListJobTriggersRequest implements IListJobTriggersRequest {
+
+ /**
+ * Constructs a new ListJobTriggersRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.IListJobTriggersRequest);
+
+ /** ListJobTriggersRequest parent. */
+ public parent: string;
+
+ /** ListJobTriggersRequest pageToken. */
+ public pageToken: string;
+
+ /** ListJobTriggersRequest pageSize. */
+ public pageSize: number;
+
+ /** ListJobTriggersRequest orderBy. */
+ public orderBy: string;
+
+ /** ListJobTriggersRequest filter. */
+ public filter: string;
+
+ /** ListJobTriggersRequest type. */
+ public type: (google.privacy.dlp.v2.DlpJobType|keyof typeof google.privacy.dlp.v2.DlpJobType);
+
+ /** ListJobTriggersRequest locationId. */
+ public locationId: string;
+
+ /**
+ * Creates a new ListJobTriggersRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ListJobTriggersRequest instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.IListJobTriggersRequest): google.privacy.dlp.v2.ListJobTriggersRequest;
+
+ /**
+ * Encodes the specified ListJobTriggersRequest message. Does not implicitly {@link google.privacy.dlp.v2.ListJobTriggersRequest.verify|verify} messages.
+ * @param message ListJobTriggersRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.IListJobTriggersRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ListJobTriggersRequest message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.ListJobTriggersRequest.verify|verify} messages.
+ * @param message ListJobTriggersRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.IListJobTriggersRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ListJobTriggersRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ListJobTriggersRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.ListJobTriggersRequest;
+
+ /**
+ * Decodes a ListJobTriggersRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ListJobTriggersRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.ListJobTriggersRequest;
+
+ /**
+ * Verifies a ListJobTriggersRequest message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a ListJobTriggersRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ListJobTriggersRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.ListJobTriggersRequest;
+
+ /**
+ * Creates a plain object from a ListJobTriggersRequest message. Also converts values to other types if specified.
+ * @param message ListJobTriggersRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.ListJobTriggersRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ListJobTriggersRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ListJobTriggersRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a ListJobTriggersResponse. */
+ interface IListJobTriggersResponse {
+
+ /** ListJobTriggersResponse jobTriggers */
+ jobTriggers?: (google.privacy.dlp.v2.IJobTrigger[]|null);
+
+ /** ListJobTriggersResponse nextPageToken */
+ nextPageToken?: (string|null);
+ }
+
+ /** Represents a ListJobTriggersResponse. */
+ class ListJobTriggersResponse implements IListJobTriggersResponse {
+
+ /**
+ * Constructs a new ListJobTriggersResponse.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.IListJobTriggersResponse);
+
+ /** ListJobTriggersResponse jobTriggers. */
+ public jobTriggers: google.privacy.dlp.v2.IJobTrigger[];
+
+ /** ListJobTriggersResponse nextPageToken. */
+ public nextPageToken: string;
+
+ /**
+ * Creates a new ListJobTriggersResponse instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ListJobTriggersResponse instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.IListJobTriggersResponse): google.privacy.dlp.v2.ListJobTriggersResponse;
+
+ /**
+ * Encodes the specified ListJobTriggersResponse message. Does not implicitly {@link google.privacy.dlp.v2.ListJobTriggersResponse.verify|verify} messages.
+ * @param message ListJobTriggersResponse message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.IListJobTriggersResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ListJobTriggersResponse message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.ListJobTriggersResponse.verify|verify} messages.
+ * @param message ListJobTriggersResponse message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.IListJobTriggersResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ListJobTriggersResponse message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ListJobTriggersResponse
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.ListJobTriggersResponse;
+
+ /**
+ * Decodes a ListJobTriggersResponse message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ListJobTriggersResponse
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.ListJobTriggersResponse;
+
+ /**
+ * Verifies a ListJobTriggersResponse message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a ListJobTriggersResponse message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ListJobTriggersResponse
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.ListJobTriggersResponse;
+
+ /**
+ * Creates a plain object from a ListJobTriggersResponse message. Also converts values to other types if specified.
+ * @param message ListJobTriggersResponse
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.ListJobTriggersResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ListJobTriggersResponse to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ListJobTriggersResponse
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a DeleteJobTriggerRequest. */
+ interface IDeleteJobTriggerRequest {
+
+ /** DeleteJobTriggerRequest name */
+ name?: (string|null);
+ }
+
+ /** Represents a DeleteJobTriggerRequest. */
+ class DeleteJobTriggerRequest implements IDeleteJobTriggerRequest {
+
+ /**
+ * Constructs a new DeleteJobTriggerRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.IDeleteJobTriggerRequest);
+
+ /** DeleteJobTriggerRequest name. */
+ public name: string;
+
+ /**
+ * Creates a new DeleteJobTriggerRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns DeleteJobTriggerRequest instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.IDeleteJobTriggerRequest): google.privacy.dlp.v2.DeleteJobTriggerRequest;
+
+ /**
+ * Encodes the specified DeleteJobTriggerRequest message. Does not implicitly {@link google.privacy.dlp.v2.DeleteJobTriggerRequest.verify|verify} messages.
+ * @param message DeleteJobTriggerRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.IDeleteJobTriggerRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified DeleteJobTriggerRequest message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.DeleteJobTriggerRequest.verify|verify} messages.
+ * @param message DeleteJobTriggerRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.IDeleteJobTriggerRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a DeleteJobTriggerRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns DeleteJobTriggerRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.DeleteJobTriggerRequest;
+
+ /**
+ * Decodes a DeleteJobTriggerRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns DeleteJobTriggerRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.DeleteJobTriggerRequest;
+
+ /**
+ * Verifies a DeleteJobTriggerRequest message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a DeleteJobTriggerRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns DeleteJobTriggerRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.DeleteJobTriggerRequest;
+
+ /**
+ * Creates a plain object from a DeleteJobTriggerRequest message. Also converts values to other types if specified.
+ * @param message DeleteJobTriggerRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.DeleteJobTriggerRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this DeleteJobTriggerRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for DeleteJobTriggerRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of an InspectJobConfig. */
+ interface IInspectJobConfig {
+
+ /** InspectJobConfig storageConfig */
+ storageConfig?: (google.privacy.dlp.v2.IStorageConfig|null);
+
+ /** InspectJobConfig inspectConfig */
+ inspectConfig?: (google.privacy.dlp.v2.IInspectConfig|null);
+
+ /** InspectJobConfig inspectTemplateName */
+ inspectTemplateName?: (string|null);
+
+ /** InspectJobConfig actions */
+ actions?: (google.privacy.dlp.v2.IAction[]|null);
+ }
+
+ /** Represents an InspectJobConfig. */
+ class InspectJobConfig implements IInspectJobConfig {
+
+ /**
+ * Constructs a new InspectJobConfig.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.IInspectJobConfig);
+
+ /** InspectJobConfig storageConfig. */
+ public storageConfig?: (google.privacy.dlp.v2.IStorageConfig|null);
+
+ /** InspectJobConfig inspectConfig. */
+ public inspectConfig?: (google.privacy.dlp.v2.IInspectConfig|null);
+
+ /** InspectJobConfig inspectTemplateName. */
+ public inspectTemplateName: string;
+
+ /** InspectJobConfig actions. */
+ public actions: google.privacy.dlp.v2.IAction[];
+
+ /**
+ * Creates a new InspectJobConfig instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns InspectJobConfig instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.IInspectJobConfig): google.privacy.dlp.v2.InspectJobConfig;
+
+ /**
+ * Encodes the specified InspectJobConfig message. Does not implicitly {@link google.privacy.dlp.v2.InspectJobConfig.verify|verify} messages.
+ * @param message InspectJobConfig message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.IInspectJobConfig, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified InspectJobConfig message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.InspectJobConfig.verify|verify} messages.
+ * @param message InspectJobConfig message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.IInspectJobConfig, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an InspectJobConfig message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns InspectJobConfig
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.InspectJobConfig;
+
+ /**
+ * Decodes an InspectJobConfig message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns InspectJobConfig
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.InspectJobConfig;
+
+ /**
+ * Verifies an InspectJobConfig message.
+ * @param message Plain 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 InspectJobConfig message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns InspectJobConfig
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.InspectJobConfig;
+
+ /**
+ * Creates a plain object from an InspectJobConfig message. Also converts values to other types if specified.
+ * @param message InspectJobConfig
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.InspectJobConfig, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this InspectJobConfig to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for InspectJobConfig
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** ProfileGeneration enum. */
+ enum ProfileGeneration {
+ PROFILE_GENERATION_UNSPECIFIED = 0,
+ PROFILE_GENERATION_NEW = 1,
+ PROFILE_GENERATION_UPDATE = 2
+ }
+
+ /** Properties of a DataProfileAction. */
+ interface IDataProfileAction {
+
+ /** DataProfileAction exportData */
+ exportData?: (google.privacy.dlp.v2.DataProfileAction.IExport|null);
+
+ /** DataProfileAction pubSubNotification */
+ pubSubNotification?: (google.privacy.dlp.v2.DataProfileAction.IPubSubNotification|null);
+
+ /** DataProfileAction publishToChronicle */
+ publishToChronicle?: (google.privacy.dlp.v2.DataProfileAction.IPublishToChronicle|null);
+
+ /** DataProfileAction publishToScc */
+ publishToScc?: (google.privacy.dlp.v2.DataProfileAction.IPublishToSecurityCommandCenter|null);
+
+ /** DataProfileAction tagResources */
+ tagResources?: (google.privacy.dlp.v2.DataProfileAction.ITagResources|null);
+
+ /** DataProfileAction publishToDataplexCatalog */
+ publishToDataplexCatalog?: (google.privacy.dlp.v2.DataProfileAction.IPublishToDataplexCatalog|null);
+ }
+
+ /** Represents a DataProfileAction. */
+ class DataProfileAction implements IDataProfileAction {
+
+ /**
+ * Constructs a new DataProfileAction.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.IDataProfileAction);
+
+ /** DataProfileAction exportData. */
+ public exportData?: (google.privacy.dlp.v2.DataProfileAction.IExport|null);
+
+ /** DataProfileAction pubSubNotification. */
+ public pubSubNotification?: (google.privacy.dlp.v2.DataProfileAction.IPubSubNotification|null);
+
+ /** DataProfileAction publishToChronicle. */
+ public publishToChronicle?: (google.privacy.dlp.v2.DataProfileAction.IPublishToChronicle|null);
+
+ /** DataProfileAction publishToScc. */
+ public publishToScc?: (google.privacy.dlp.v2.DataProfileAction.IPublishToSecurityCommandCenter|null);
+
+ /** DataProfileAction tagResources. */
+ public tagResources?: (google.privacy.dlp.v2.DataProfileAction.ITagResources|null);
+
+ /** DataProfileAction publishToDataplexCatalog. */
+ public publishToDataplexCatalog?: (google.privacy.dlp.v2.DataProfileAction.IPublishToDataplexCatalog|null);
+
+ /** DataProfileAction action. */
+ public action?: ("exportData"|"pubSubNotification"|"publishToChronicle"|"publishToScc"|"tagResources"|"publishToDataplexCatalog");
+
+ /**
+ * Creates a new DataProfileAction instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns DataProfileAction instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.IDataProfileAction): google.privacy.dlp.v2.DataProfileAction;
+
+ /**
+ * Encodes the specified DataProfileAction message. Does not implicitly {@link google.privacy.dlp.v2.DataProfileAction.verify|verify} messages.
+ * @param message DataProfileAction message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.IDataProfileAction, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified DataProfileAction message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.DataProfileAction.verify|verify} messages.
+ * @param message DataProfileAction message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.IDataProfileAction, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a DataProfileAction message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns DataProfileAction
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.DataProfileAction;
+
+ /**
+ * Decodes a DataProfileAction message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns DataProfileAction
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.DataProfileAction;
+
+ /**
+ * Verifies a DataProfileAction message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a DataProfileAction message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns DataProfileAction
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.DataProfileAction;
+
+ /**
+ * Creates a plain object from a DataProfileAction message. Also converts values to other types if specified.
+ * @param message DataProfileAction
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.DataProfileAction, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this DataProfileAction to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for DataProfileAction
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace DataProfileAction {
+
+ /** Properties of an Export. */
+ interface IExport {
+
+ /** Export profileTable */
+ profileTable?: (google.privacy.dlp.v2.IBigQueryTable|null);
+
+ /** Export sampleFindingsTable */
+ sampleFindingsTable?: (google.privacy.dlp.v2.IBigQueryTable|null);
+ }
+
+ /** Represents an Export. */
+ class Export implements IExport {
+
+ /**
+ * Constructs a new Export.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.DataProfileAction.IExport);
+
+ /** Export profileTable. */
+ public profileTable?: (google.privacy.dlp.v2.IBigQueryTable|null);
+
+ /** Export sampleFindingsTable. */
+ public sampleFindingsTable?: (google.privacy.dlp.v2.IBigQueryTable|null);
+
+ /**
+ * Creates a new Export instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns Export instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.DataProfileAction.IExport): google.privacy.dlp.v2.DataProfileAction.Export;
+
+ /**
+ * Encodes the specified Export message. Does not implicitly {@link google.privacy.dlp.v2.DataProfileAction.Export.verify|verify} messages.
+ * @param message Export message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.DataProfileAction.IExport, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified Export message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.DataProfileAction.Export.verify|verify} messages.
+ * @param message Export message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.DataProfileAction.IExport, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an Export message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns Export
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.DataProfileAction.Export;
+
+ /**
+ * Decodes an Export message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns Export
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.DataProfileAction.Export;
+
+ /**
+ * Verifies an Export message.
+ * @param message Plain 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 Export message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns Export
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.DataProfileAction.Export;
+
+ /**
+ * Creates a plain object from an Export message. Also converts values to other types if specified.
+ * @param message Export
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.DataProfileAction.Export, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this Export to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for Export
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a PubSubNotification. */
+ interface IPubSubNotification {
+
+ /** PubSubNotification topic */
+ topic?: (string|null);
+
+ /** PubSubNotification event */
+ event?: (google.privacy.dlp.v2.DataProfileAction.EventType|keyof typeof google.privacy.dlp.v2.DataProfileAction.EventType|null);
+
+ /** PubSubNotification pubsubCondition */
+ pubsubCondition?: (google.privacy.dlp.v2.IDataProfilePubSubCondition|null);
+
+ /** PubSubNotification detailOfMessage */
+ detailOfMessage?: (google.privacy.dlp.v2.DataProfileAction.PubSubNotification.DetailLevel|keyof typeof google.privacy.dlp.v2.DataProfileAction.PubSubNotification.DetailLevel|null);
+ }
+
+ /** Represents a PubSubNotification. */
+ class PubSubNotification implements IPubSubNotification {
+
+ /**
+ * Constructs a new PubSubNotification.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.DataProfileAction.IPubSubNotification);
+
+ /** PubSubNotification topic. */
+ public topic: string;
+
+ /** PubSubNotification event. */
+ public event: (google.privacy.dlp.v2.DataProfileAction.EventType|keyof typeof google.privacy.dlp.v2.DataProfileAction.EventType);
+
+ /** PubSubNotification pubsubCondition. */
+ public pubsubCondition?: (google.privacy.dlp.v2.IDataProfilePubSubCondition|null);
+
+ /** PubSubNotification detailOfMessage. */
+ public detailOfMessage: (google.privacy.dlp.v2.DataProfileAction.PubSubNotification.DetailLevel|keyof typeof google.privacy.dlp.v2.DataProfileAction.PubSubNotification.DetailLevel);
+
+ /**
+ * Creates a new PubSubNotification instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns PubSubNotification instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.DataProfileAction.IPubSubNotification): google.privacy.dlp.v2.DataProfileAction.PubSubNotification;
+
+ /**
+ * Encodes the specified PubSubNotification message. Does not implicitly {@link google.privacy.dlp.v2.DataProfileAction.PubSubNotification.verify|verify} messages.
+ * @param message PubSubNotification message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.DataProfileAction.IPubSubNotification, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified PubSubNotification message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.DataProfileAction.PubSubNotification.verify|verify} messages.
+ * @param message PubSubNotification message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.DataProfileAction.IPubSubNotification, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a PubSubNotification message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns PubSubNotification
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.DataProfileAction.PubSubNotification;
+
+ /**
+ * Decodes a PubSubNotification message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns PubSubNotification
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.DataProfileAction.PubSubNotification;
+
+ /**
+ * Verifies a PubSubNotification message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a PubSubNotification message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns PubSubNotification
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.DataProfileAction.PubSubNotification;
+
+ /**
+ * Creates a plain object from a PubSubNotification message. Also converts values to other types if specified.
+ * @param message PubSubNotification
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.DataProfileAction.PubSubNotification, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this PubSubNotification to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for PubSubNotification
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace PubSubNotification {
+
+ /** DetailLevel enum. */
+ enum DetailLevel {
+ DETAIL_LEVEL_UNSPECIFIED = 0,
+ TABLE_PROFILE = 1,
+ RESOURCE_NAME = 2,
+ FILE_STORE_PROFILE = 3
+ }
+ }
+
+ /** EventType enum. */
+ enum EventType {
+ EVENT_TYPE_UNSPECIFIED = 0,
+ NEW_PROFILE = 1,
+ CHANGED_PROFILE = 2,
+ SCORE_INCREASED = 3,
+ ERROR_CHANGED = 4
+ }
+
+ /** Properties of a PublishToChronicle. */
+ interface IPublishToChronicle {
+ }
+
+ /** Represents a PublishToChronicle. */
+ class PublishToChronicle implements IPublishToChronicle {
+
+ /**
+ * Constructs a new PublishToChronicle.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.DataProfileAction.IPublishToChronicle);
+
+ /**
+ * Creates a new PublishToChronicle instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns PublishToChronicle instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.DataProfileAction.IPublishToChronicle): google.privacy.dlp.v2.DataProfileAction.PublishToChronicle;
+
+ /**
+ * Encodes the specified PublishToChronicle message. Does not implicitly {@link google.privacy.dlp.v2.DataProfileAction.PublishToChronicle.verify|verify} messages.
+ * @param message PublishToChronicle message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.DataProfileAction.IPublishToChronicle, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified PublishToChronicle message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.DataProfileAction.PublishToChronicle.verify|verify} messages.
+ * @param message PublishToChronicle message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.DataProfileAction.IPublishToChronicle, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a PublishToChronicle message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns PublishToChronicle
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.DataProfileAction.PublishToChronicle;
+
+ /**
+ * Decodes a PublishToChronicle message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns PublishToChronicle
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.DataProfileAction.PublishToChronicle;
+
+ /**
+ * Verifies a PublishToChronicle message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a PublishToChronicle message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns PublishToChronicle
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.DataProfileAction.PublishToChronicle;
+
+ /**
+ * Creates a plain object from a PublishToChronicle message. Also converts values to other types if specified.
+ * @param message PublishToChronicle
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.DataProfileAction.PublishToChronicle, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this PublishToChronicle to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for PublishToChronicle
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a PublishToSecurityCommandCenter. */
+ interface IPublishToSecurityCommandCenter {
+ }
+
+ /** Represents a PublishToSecurityCommandCenter. */
+ class PublishToSecurityCommandCenter implements IPublishToSecurityCommandCenter {
+
+ /**
+ * Constructs a new PublishToSecurityCommandCenter.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.DataProfileAction.IPublishToSecurityCommandCenter);
+
+ /**
+ * Creates a new PublishToSecurityCommandCenter instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns PublishToSecurityCommandCenter instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.DataProfileAction.IPublishToSecurityCommandCenter): google.privacy.dlp.v2.DataProfileAction.PublishToSecurityCommandCenter;
+
+ /**
+ * Encodes the specified PublishToSecurityCommandCenter message. Does not implicitly {@link google.privacy.dlp.v2.DataProfileAction.PublishToSecurityCommandCenter.verify|verify} messages.
+ * @param message PublishToSecurityCommandCenter message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.DataProfileAction.IPublishToSecurityCommandCenter, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified PublishToSecurityCommandCenter message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.DataProfileAction.PublishToSecurityCommandCenter.verify|verify} messages.
+ * @param message PublishToSecurityCommandCenter message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.DataProfileAction.IPublishToSecurityCommandCenter, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a PublishToSecurityCommandCenter message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns PublishToSecurityCommandCenter
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.DataProfileAction.PublishToSecurityCommandCenter;
+
+ /**
+ * Decodes a PublishToSecurityCommandCenter message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns PublishToSecurityCommandCenter
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.DataProfileAction.PublishToSecurityCommandCenter;
+
+ /**
+ * Verifies a PublishToSecurityCommandCenter message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a PublishToSecurityCommandCenter message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns PublishToSecurityCommandCenter
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.DataProfileAction.PublishToSecurityCommandCenter;
+
+ /**
+ * Creates a plain object from a PublishToSecurityCommandCenter message. Also converts values to other types if specified.
+ * @param message PublishToSecurityCommandCenter
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.DataProfileAction.PublishToSecurityCommandCenter, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this PublishToSecurityCommandCenter to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for PublishToSecurityCommandCenter
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a PublishToDataplexCatalog. */
+ interface IPublishToDataplexCatalog {
+
+ /** PublishToDataplexCatalog lowerDataRiskToLow */
+ lowerDataRiskToLow?: (boolean|null);
+ }
+
+ /** Represents a PublishToDataplexCatalog. */
+ class PublishToDataplexCatalog implements IPublishToDataplexCatalog {
+
+ /**
+ * Constructs a new PublishToDataplexCatalog.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.DataProfileAction.IPublishToDataplexCatalog);
+
+ /** PublishToDataplexCatalog lowerDataRiskToLow. */
+ public lowerDataRiskToLow: boolean;
+
+ /**
+ * Creates a new PublishToDataplexCatalog instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns PublishToDataplexCatalog instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.DataProfileAction.IPublishToDataplexCatalog): google.privacy.dlp.v2.DataProfileAction.PublishToDataplexCatalog;
+
+ /**
+ * Encodes the specified PublishToDataplexCatalog message. Does not implicitly {@link google.privacy.dlp.v2.DataProfileAction.PublishToDataplexCatalog.verify|verify} messages.
+ * @param message PublishToDataplexCatalog message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.DataProfileAction.IPublishToDataplexCatalog, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified PublishToDataplexCatalog message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.DataProfileAction.PublishToDataplexCatalog.verify|verify} messages.
+ * @param message PublishToDataplexCatalog message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.DataProfileAction.IPublishToDataplexCatalog, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a PublishToDataplexCatalog message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns PublishToDataplexCatalog
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.DataProfileAction.PublishToDataplexCatalog;
+
+ /**
+ * Decodes a PublishToDataplexCatalog message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns PublishToDataplexCatalog
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.DataProfileAction.PublishToDataplexCatalog;
+
+ /**
+ * Verifies a PublishToDataplexCatalog message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a PublishToDataplexCatalog message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns PublishToDataplexCatalog
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.DataProfileAction.PublishToDataplexCatalog;
+
+ /**
+ * Creates a plain object from a PublishToDataplexCatalog message. Also converts values to other types if specified.
+ * @param message PublishToDataplexCatalog
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.DataProfileAction.PublishToDataplexCatalog, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this PublishToDataplexCatalog to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for PublishToDataplexCatalog
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a TagResources. */
+ interface ITagResources {
+
+ /** TagResources tagConditions */
+ tagConditions?: (google.privacy.dlp.v2.DataProfileAction.TagResources.ITagCondition[]|null);
+
+ /** TagResources profileGenerationsToTag */
+ profileGenerationsToTag?: (google.privacy.dlp.v2.ProfileGeneration[]|null);
+
+ /** TagResources lowerDataRiskToLow */
+ lowerDataRiskToLow?: (boolean|null);
+ }
+
+ /** Represents a TagResources. */
+ class TagResources implements ITagResources {
+
+ /**
+ * Constructs a new TagResources.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.DataProfileAction.ITagResources);
+
+ /** TagResources tagConditions. */
+ public tagConditions: google.privacy.dlp.v2.DataProfileAction.TagResources.ITagCondition[];
+
+ /** TagResources profileGenerationsToTag. */
+ public profileGenerationsToTag: google.privacy.dlp.v2.ProfileGeneration[];
+
+ /** TagResources lowerDataRiskToLow. */
+ public lowerDataRiskToLow: boolean;
+
+ /**
+ * Creates a new TagResources instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns TagResources instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.DataProfileAction.ITagResources): google.privacy.dlp.v2.DataProfileAction.TagResources;
+
+ /**
+ * Encodes the specified TagResources message. Does not implicitly {@link google.privacy.dlp.v2.DataProfileAction.TagResources.verify|verify} messages.
+ * @param message TagResources message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.DataProfileAction.ITagResources, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified TagResources message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.DataProfileAction.TagResources.verify|verify} messages.
+ * @param message TagResources message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.DataProfileAction.ITagResources, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a TagResources message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns TagResources
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.DataProfileAction.TagResources;
+
+ /**
+ * Decodes a TagResources message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns TagResources
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.DataProfileAction.TagResources;
+
+ /**
+ * Verifies a TagResources message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a TagResources message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns TagResources
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.DataProfileAction.TagResources;
+
+ /**
+ * Creates a plain object from a TagResources message. Also converts values to other types if specified.
+ * @param message TagResources
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.DataProfileAction.TagResources, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this TagResources to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for TagResources
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace TagResources {
+
+ /** Properties of a TagCondition. */
+ interface ITagCondition {
+
+ /** TagCondition tag */
+ tag?: (google.privacy.dlp.v2.DataProfileAction.TagResources.ITagValue|null);
+
+ /** TagCondition sensitivityScore */
+ sensitivityScore?: (google.privacy.dlp.v2.ISensitivityScore|null);
+ }
+
+ /** Represents a TagCondition. */
+ class TagCondition implements ITagCondition {
+
+ /**
+ * Constructs a new TagCondition.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.DataProfileAction.TagResources.ITagCondition);
+
+ /** TagCondition tag. */
+ public tag?: (google.privacy.dlp.v2.DataProfileAction.TagResources.ITagValue|null);
+
+ /** TagCondition sensitivityScore. */
+ public sensitivityScore?: (google.privacy.dlp.v2.ISensitivityScore|null);
+
+ /** TagCondition type. */
+ public type?: "sensitivityScore";
+
+ /**
+ * Creates a new TagCondition instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns TagCondition instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.DataProfileAction.TagResources.ITagCondition): google.privacy.dlp.v2.DataProfileAction.TagResources.TagCondition;
+
+ /**
+ * Encodes the specified TagCondition message. Does not implicitly {@link google.privacy.dlp.v2.DataProfileAction.TagResources.TagCondition.verify|verify} messages.
+ * @param message TagCondition message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.DataProfileAction.TagResources.ITagCondition, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified TagCondition message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.DataProfileAction.TagResources.TagCondition.verify|verify} messages.
+ * @param message TagCondition message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.DataProfileAction.TagResources.ITagCondition, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a TagCondition message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns TagCondition
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.DataProfileAction.TagResources.TagCondition;
+
+ /**
+ * Decodes a TagCondition message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns TagCondition
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.DataProfileAction.TagResources.TagCondition;
+
+ /**
+ * Verifies a TagCondition message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a TagCondition message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns TagCondition
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.DataProfileAction.TagResources.TagCondition;
+
+ /**
+ * Creates a plain object from a TagCondition message. Also converts values to other types if specified.
+ * @param message TagCondition
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.DataProfileAction.TagResources.TagCondition, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this TagCondition to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for TagCondition
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a TagValue. */
+ interface ITagValue {
+
+ /** TagValue namespacedValue */
+ namespacedValue?: (string|null);
+ }
+
+ /** Represents a TagValue. */
+ class TagValue implements ITagValue {
+
+ /**
+ * Constructs a new TagValue.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.DataProfileAction.TagResources.ITagValue);
+
+ /** TagValue namespacedValue. */
+ public namespacedValue?: (string|null);
+
+ /** TagValue format. */
+ public format?: "namespacedValue";
+
+ /**
+ * Creates a new TagValue instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns TagValue instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.DataProfileAction.TagResources.ITagValue): google.privacy.dlp.v2.DataProfileAction.TagResources.TagValue;
+
+ /**
+ * Encodes the specified TagValue message. Does not implicitly {@link google.privacy.dlp.v2.DataProfileAction.TagResources.TagValue.verify|verify} messages.
+ * @param message TagValue message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.DataProfileAction.TagResources.ITagValue, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified TagValue message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.DataProfileAction.TagResources.TagValue.verify|verify} messages.
+ * @param message TagValue message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.DataProfileAction.TagResources.ITagValue, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a TagValue message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns TagValue
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.DataProfileAction.TagResources.TagValue;
+
+ /**
+ * Decodes a TagValue message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns TagValue
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.DataProfileAction.TagResources.TagValue;
+
+ /**
+ * Verifies a TagValue message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a TagValue message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns TagValue
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.DataProfileAction.TagResources.TagValue;
+
+ /**
+ * Creates a plain object from a TagValue message. Also converts values to other types if specified.
+ * @param message TagValue
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.DataProfileAction.TagResources.TagValue, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this TagValue to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for TagValue
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+ }
+ }
+
+ /** Properties of a DataProfileFinding. */
+ interface IDataProfileFinding {
+
+ /** DataProfileFinding quote */
+ quote?: (string|null);
+
+ /** DataProfileFinding infotype */
+ infotype?: (google.privacy.dlp.v2.IInfoType|null);
+
+ /** DataProfileFinding quoteInfo */
+ quoteInfo?: (google.privacy.dlp.v2.IQuoteInfo|null);
+
+ /** DataProfileFinding dataProfileResourceName */
+ dataProfileResourceName?: (string|null);
+
+ /** DataProfileFinding findingId */
+ findingId?: (string|null);
+
+ /** DataProfileFinding timestamp */
+ timestamp?: (google.protobuf.ITimestamp|null);
+
+ /** DataProfileFinding location */
+ location?: (google.privacy.dlp.v2.IDataProfileFindingLocation|null);
+
+ /** DataProfileFinding resourceVisibility */
+ resourceVisibility?: (google.privacy.dlp.v2.ResourceVisibility|keyof typeof google.privacy.dlp.v2.ResourceVisibility|null);
+
+ /** DataProfileFinding fullResourceName */
+ fullResourceName?: (string|null);
+
+ /** DataProfileFinding dataSourceType */
+ dataSourceType?: (google.privacy.dlp.v2.IDataSourceType|null);
+ }
+
+ /** Represents a DataProfileFinding. */
+ class DataProfileFinding implements IDataProfileFinding {
+
+ /**
+ * Constructs a new DataProfileFinding.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.IDataProfileFinding);
+
+ /** DataProfileFinding quote. */
+ public quote: string;
+
+ /** DataProfileFinding infotype. */
+ public infotype?: (google.privacy.dlp.v2.IInfoType|null);
+
+ /** DataProfileFinding quoteInfo. */
+ public quoteInfo?: (google.privacy.dlp.v2.IQuoteInfo|null);
+
+ /** DataProfileFinding dataProfileResourceName. */
+ public dataProfileResourceName: string;
+
+ /** DataProfileFinding findingId. */
+ public findingId: string;
+
+ /** DataProfileFinding timestamp. */
+ public timestamp?: (google.protobuf.ITimestamp|null);
+
+ /** DataProfileFinding location. */
+ public location?: (google.privacy.dlp.v2.IDataProfileFindingLocation|null);
+
+ /** DataProfileFinding resourceVisibility. */
+ public resourceVisibility: (google.privacy.dlp.v2.ResourceVisibility|keyof typeof google.privacy.dlp.v2.ResourceVisibility);
+
+ /** DataProfileFinding fullResourceName. */
+ public fullResourceName: string;
+
+ /** DataProfileFinding dataSourceType. */
+ public dataSourceType?: (google.privacy.dlp.v2.IDataSourceType|null);
+
+ /**
+ * Creates a new DataProfileFinding instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns DataProfileFinding instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.IDataProfileFinding): google.privacy.dlp.v2.DataProfileFinding;
+
+ /**
+ * Encodes the specified DataProfileFinding message. Does not implicitly {@link google.privacy.dlp.v2.DataProfileFinding.verify|verify} messages.
+ * @param message DataProfileFinding message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.IDataProfileFinding, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified DataProfileFinding message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.DataProfileFinding.verify|verify} messages.
+ * @param message DataProfileFinding message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.IDataProfileFinding, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a DataProfileFinding message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns DataProfileFinding
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.DataProfileFinding;
+
+ /**
+ * Decodes a DataProfileFinding message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns DataProfileFinding
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.DataProfileFinding;
+
+ /**
+ * Verifies a DataProfileFinding message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a DataProfileFinding message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns DataProfileFinding
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.DataProfileFinding;
+
+ /**
+ * Creates a plain object from a DataProfileFinding message. Also converts values to other types if specified.
+ * @param message DataProfileFinding
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.DataProfileFinding, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this DataProfileFinding to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for DataProfileFinding
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a DataProfileFindingLocation. */
+ interface IDataProfileFindingLocation {
+
+ /** DataProfileFindingLocation containerName */
+ containerName?: (string|null);
+
+ /** DataProfileFindingLocation dataProfileFindingRecordLocation */
+ dataProfileFindingRecordLocation?: (google.privacy.dlp.v2.IDataProfileFindingRecordLocation|null);
+ }
+
+ /** Represents a DataProfileFindingLocation. */
+ class DataProfileFindingLocation implements IDataProfileFindingLocation {
+
+ /**
+ * Constructs a new DataProfileFindingLocation.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.IDataProfileFindingLocation);
+
+ /** DataProfileFindingLocation containerName. */
+ public containerName: string;
+
+ /** DataProfileFindingLocation dataProfileFindingRecordLocation. */
+ public dataProfileFindingRecordLocation?: (google.privacy.dlp.v2.IDataProfileFindingRecordLocation|null);
+
+ /** DataProfileFindingLocation locationExtraDetails. */
+ public locationExtraDetails?: "dataProfileFindingRecordLocation";
+
+ /**
+ * Creates a new DataProfileFindingLocation instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns DataProfileFindingLocation instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.IDataProfileFindingLocation): google.privacy.dlp.v2.DataProfileFindingLocation;
+
+ /**
+ * Encodes the specified DataProfileFindingLocation message. Does not implicitly {@link google.privacy.dlp.v2.DataProfileFindingLocation.verify|verify} messages.
+ * @param message DataProfileFindingLocation message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.IDataProfileFindingLocation, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified DataProfileFindingLocation message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.DataProfileFindingLocation.verify|verify} messages.
+ * @param message DataProfileFindingLocation message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.IDataProfileFindingLocation, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a DataProfileFindingLocation message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns DataProfileFindingLocation
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.DataProfileFindingLocation;
+
+ /**
+ * Decodes a DataProfileFindingLocation message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns DataProfileFindingLocation
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.DataProfileFindingLocation;
+
+ /**
+ * Verifies a DataProfileFindingLocation message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a DataProfileFindingLocation message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns DataProfileFindingLocation
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.DataProfileFindingLocation;
+
+ /**
+ * Creates a plain object from a DataProfileFindingLocation message. Also converts values to other types if specified.
+ * @param message DataProfileFindingLocation
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.DataProfileFindingLocation, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this DataProfileFindingLocation to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for DataProfileFindingLocation
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a DataProfileFindingRecordLocation. */
+ interface IDataProfileFindingRecordLocation {
+
+ /** DataProfileFindingRecordLocation field */
+ field?: (google.privacy.dlp.v2.IFieldId|null);
+ }
+
+ /** Represents a DataProfileFindingRecordLocation. */
+ class DataProfileFindingRecordLocation implements IDataProfileFindingRecordLocation {
+
+ /**
+ * Constructs a new DataProfileFindingRecordLocation.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.IDataProfileFindingRecordLocation);
+
+ /** DataProfileFindingRecordLocation field. */
+ public field?: (google.privacy.dlp.v2.IFieldId|null);
+
+ /**
+ * Creates a new DataProfileFindingRecordLocation instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns DataProfileFindingRecordLocation instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.IDataProfileFindingRecordLocation): google.privacy.dlp.v2.DataProfileFindingRecordLocation;
+
+ /**
+ * Encodes the specified DataProfileFindingRecordLocation message. Does not implicitly {@link google.privacy.dlp.v2.DataProfileFindingRecordLocation.verify|verify} messages.
+ * @param message DataProfileFindingRecordLocation message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.IDataProfileFindingRecordLocation, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified DataProfileFindingRecordLocation message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.DataProfileFindingRecordLocation.verify|verify} messages.
+ * @param message DataProfileFindingRecordLocation message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.IDataProfileFindingRecordLocation, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a DataProfileFindingRecordLocation message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns DataProfileFindingRecordLocation
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.DataProfileFindingRecordLocation;
+
+ /**
+ * Decodes a DataProfileFindingRecordLocation message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns DataProfileFindingRecordLocation
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.DataProfileFindingRecordLocation;
+
+ /**
+ * Verifies a DataProfileFindingRecordLocation message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a DataProfileFindingRecordLocation message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns DataProfileFindingRecordLocation
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.DataProfileFindingRecordLocation;
+
+ /**
+ * Creates a plain object from a DataProfileFindingRecordLocation message. Also converts values to other types if specified.
+ * @param message DataProfileFindingRecordLocation
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.DataProfileFindingRecordLocation, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this DataProfileFindingRecordLocation to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for DataProfileFindingRecordLocation
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a DataProfileJobConfig. */
+ interface IDataProfileJobConfig {
+
+ /** DataProfileJobConfig location */
+ location?: (google.privacy.dlp.v2.IDataProfileLocation|null);
+
+ /** DataProfileJobConfig projectId */
+ projectId?: (string|null);
+
+ /** DataProfileJobConfig otherCloudStartingLocation */
+ otherCloudStartingLocation?: (google.privacy.dlp.v2.IOtherCloudDiscoveryStartingLocation|null);
+
+ /** DataProfileJobConfig inspectTemplates */
+ inspectTemplates?: (string[]|null);
+
+ /** DataProfileJobConfig dataProfileActions */
+ dataProfileActions?: (google.privacy.dlp.v2.IDataProfileAction[]|null);
+ }
+
+ /** Represents a DataProfileJobConfig. */
+ class DataProfileJobConfig implements IDataProfileJobConfig {
+
+ /**
+ * Constructs a new DataProfileJobConfig.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.IDataProfileJobConfig);
+
+ /** DataProfileJobConfig location. */
+ public location?: (google.privacy.dlp.v2.IDataProfileLocation|null);
+
+ /** DataProfileJobConfig projectId. */
+ public projectId: string;
+
+ /** DataProfileJobConfig otherCloudStartingLocation. */
+ public otherCloudStartingLocation?: (google.privacy.dlp.v2.IOtherCloudDiscoveryStartingLocation|null);
+
+ /** DataProfileJobConfig inspectTemplates. */
+ public inspectTemplates: string[];
+
+ /** DataProfileJobConfig dataProfileActions. */
+ public dataProfileActions: google.privacy.dlp.v2.IDataProfileAction[];
+
+ /**
+ * Creates a new DataProfileJobConfig instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns DataProfileJobConfig instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.IDataProfileJobConfig): google.privacy.dlp.v2.DataProfileJobConfig;
+
+ /**
+ * Encodes the specified DataProfileJobConfig message. Does not implicitly {@link google.privacy.dlp.v2.DataProfileJobConfig.verify|verify} messages.
+ * @param message DataProfileJobConfig message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.IDataProfileJobConfig, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified DataProfileJobConfig message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.DataProfileJobConfig.verify|verify} messages.
+ * @param message DataProfileJobConfig message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.IDataProfileJobConfig, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a DataProfileJobConfig message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns DataProfileJobConfig
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.DataProfileJobConfig;
+
+ /**
+ * Decodes a DataProfileJobConfig message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns DataProfileJobConfig
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.DataProfileJobConfig;
+
+ /**
+ * Verifies a DataProfileJobConfig message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a DataProfileJobConfig message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns DataProfileJobConfig
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.DataProfileJobConfig;
+
+ /**
+ * Creates a plain object from a DataProfileJobConfig message. Also converts values to other types if specified.
+ * @param message DataProfileJobConfig
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.DataProfileJobConfig, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this DataProfileJobConfig to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for DataProfileJobConfig
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a BigQueryRegex. */
+ interface IBigQueryRegex {
+
+ /** BigQueryRegex projectIdRegex */
+ projectIdRegex?: (string|null);
+
+ /** BigQueryRegex datasetIdRegex */
+ datasetIdRegex?: (string|null);
+
+ /** BigQueryRegex tableIdRegex */
+ tableIdRegex?: (string|null);
+ }
+
+ /** Represents a BigQueryRegex. */
+ class BigQueryRegex implements IBigQueryRegex {
+
+ /**
+ * Constructs a new BigQueryRegex.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.IBigQueryRegex);
+
+ /** BigQueryRegex projectIdRegex. */
+ public projectIdRegex: string;
+
+ /** BigQueryRegex datasetIdRegex. */
+ public datasetIdRegex: string;
+
+ /** BigQueryRegex tableIdRegex. */
+ public tableIdRegex: string;
+
+ /**
+ * Creates a new BigQueryRegex instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns BigQueryRegex instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.IBigQueryRegex): google.privacy.dlp.v2.BigQueryRegex;
+
+ /**
+ * Encodes the specified BigQueryRegex message. Does not implicitly {@link google.privacy.dlp.v2.BigQueryRegex.verify|verify} messages.
+ * @param message BigQueryRegex message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.IBigQueryRegex, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified BigQueryRegex message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.BigQueryRegex.verify|verify} messages.
+ * @param message BigQueryRegex message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.IBigQueryRegex, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a BigQueryRegex message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns BigQueryRegex
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.BigQueryRegex;
+
+ /**
+ * Decodes a BigQueryRegex message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns BigQueryRegex
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.BigQueryRegex;
+
+ /**
+ * Verifies a BigQueryRegex message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a BigQueryRegex message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns BigQueryRegex
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.BigQueryRegex;
+
+ /**
+ * Creates a plain object from a BigQueryRegex message. Also converts values to other types if specified.
+ * @param message BigQueryRegex
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.BigQueryRegex, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this BigQueryRegex to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for BigQueryRegex
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a BigQueryRegexes. */
+ interface IBigQueryRegexes {
+
+ /** BigQueryRegexes patterns */
+ patterns?: (google.privacy.dlp.v2.IBigQueryRegex[]|null);
+ }
+
+ /** Represents a BigQueryRegexes. */
+ class BigQueryRegexes implements IBigQueryRegexes {
+
+ /**
+ * Constructs a new BigQueryRegexes.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.IBigQueryRegexes);
+
+ /** BigQueryRegexes patterns. */
+ public patterns: google.privacy.dlp.v2.IBigQueryRegex[];
+
+ /**
+ * Creates a new BigQueryRegexes instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns BigQueryRegexes instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.IBigQueryRegexes): google.privacy.dlp.v2.BigQueryRegexes;
+
+ /**
+ * Encodes the specified BigQueryRegexes message. Does not implicitly {@link google.privacy.dlp.v2.BigQueryRegexes.verify|verify} messages.
+ * @param message BigQueryRegexes message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.IBigQueryRegexes, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified BigQueryRegexes message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.BigQueryRegexes.verify|verify} messages.
+ * @param message BigQueryRegexes message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.IBigQueryRegexes, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a BigQueryRegexes message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns BigQueryRegexes
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.BigQueryRegexes;
+
+ /**
+ * Decodes a BigQueryRegexes message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns BigQueryRegexes
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.BigQueryRegexes;
+
+ /**
+ * Verifies a BigQueryRegexes message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a BigQueryRegexes message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns BigQueryRegexes
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.BigQueryRegexes;
+
+ /**
+ * Creates a plain object from a BigQueryRegexes message. Also converts values to other types if specified.
+ * @param message BigQueryRegexes
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.BigQueryRegexes, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this BigQueryRegexes to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for BigQueryRegexes
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a BigQueryTableTypes. */
+ interface IBigQueryTableTypes {
+
+ /** BigQueryTableTypes types */
+ types?: (google.privacy.dlp.v2.BigQueryTableType[]|null);
+ }
+
+ /** Represents a BigQueryTableTypes. */
+ class BigQueryTableTypes implements IBigQueryTableTypes {
+
+ /**
+ * Constructs a new BigQueryTableTypes.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.IBigQueryTableTypes);
+
+ /** BigQueryTableTypes types. */
+ public types: google.privacy.dlp.v2.BigQueryTableType[];
+
+ /**
+ * Creates a new BigQueryTableTypes instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns BigQueryTableTypes instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.IBigQueryTableTypes): google.privacy.dlp.v2.BigQueryTableTypes;
+
+ /**
+ * Encodes the specified BigQueryTableTypes message. Does not implicitly {@link google.privacy.dlp.v2.BigQueryTableTypes.verify|verify} messages.
+ * @param message BigQueryTableTypes message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.IBigQueryTableTypes, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified BigQueryTableTypes message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.BigQueryTableTypes.verify|verify} messages.
+ * @param message BigQueryTableTypes message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.IBigQueryTableTypes, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a BigQueryTableTypes message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns BigQueryTableTypes
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.BigQueryTableTypes;
+
+ /**
+ * Decodes a BigQueryTableTypes message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns BigQueryTableTypes
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.BigQueryTableTypes;
+
+ /**
+ * Verifies a BigQueryTableTypes message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a BigQueryTableTypes message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns BigQueryTableTypes
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.BigQueryTableTypes;
+
+ /**
+ * Creates a plain object from a BigQueryTableTypes message. Also converts values to other types if specified.
+ * @param message BigQueryTableTypes
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.BigQueryTableTypes, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this BigQueryTableTypes to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for BigQueryTableTypes
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** BigQueryTableTypeCollection enum. */
+ enum BigQueryTableTypeCollection {
+ BIG_QUERY_COLLECTION_UNSPECIFIED = 0,
+ BIG_QUERY_COLLECTION_ALL_TYPES = 1,
+ BIG_QUERY_COLLECTION_ONLY_SUPPORTED_TYPES = 2
+ }
+
+ /** BigQueryTableType enum. */
+ enum BigQueryTableType {
+ BIG_QUERY_TABLE_TYPE_UNSPECIFIED = 0,
+ BIG_QUERY_TABLE_TYPE_TABLE = 1,
+ BIG_QUERY_TABLE_TYPE_EXTERNAL_BIG_LAKE = 2,
+ BIG_QUERY_TABLE_TYPE_SNAPSHOT = 3
+ }
+
+ /** DataProfileUpdateFrequency enum. */
+ enum DataProfileUpdateFrequency {
+ UPDATE_FREQUENCY_UNSPECIFIED = 0,
+ UPDATE_FREQUENCY_NEVER = 1,
+ UPDATE_FREQUENCY_DAILY = 2,
+ UPDATE_FREQUENCY_MONTHLY = 4
+ }
+
+ /** Properties of a Disabled. */
+ interface IDisabled {
+ }
+
+ /** Represents a Disabled. */
+ class Disabled implements IDisabled {
+
+ /**
+ * Constructs a new Disabled.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.IDisabled);
+
+ /**
+ * Creates a new Disabled instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns Disabled instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.IDisabled): google.privacy.dlp.v2.Disabled;
+
+ /**
+ * Encodes the specified Disabled message. Does not implicitly {@link google.privacy.dlp.v2.Disabled.verify|verify} messages.
+ * @param message Disabled message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.IDisabled, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified Disabled message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.Disabled.verify|verify} messages.
+ * @param message Disabled message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.IDisabled, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a Disabled message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns Disabled
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.Disabled;
+
+ /**
+ * Decodes a Disabled message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns Disabled
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.Disabled;
+
+ /**
+ * Verifies a Disabled message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a Disabled message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns Disabled
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.Disabled;
+
+ /**
+ * Creates a plain object from a Disabled message. Also converts values to other types if specified.
+ * @param message Disabled
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.Disabled, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this Disabled to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for Disabled
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a DataProfileLocation. */
+ interface IDataProfileLocation {
+
+ /** DataProfileLocation organizationId */
+ organizationId?: (number|Long|string|null);
+
+ /** DataProfileLocation folderId */
+ folderId?: (number|Long|string|null);
+ }
+
+ /** Represents a DataProfileLocation. */
+ class DataProfileLocation implements IDataProfileLocation {
+
+ /**
+ * Constructs a new DataProfileLocation.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.IDataProfileLocation);
+
+ /** DataProfileLocation organizationId. */
+ public organizationId?: (number|Long|string|null);
+
+ /** DataProfileLocation folderId. */
+ public folderId?: (number|Long|string|null);
+
+ /** DataProfileLocation location. */
+ public location?: ("organizationId"|"folderId");
+
+ /**
+ * Creates a new DataProfileLocation instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns DataProfileLocation instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.IDataProfileLocation): google.privacy.dlp.v2.DataProfileLocation;
+
+ /**
+ * Encodes the specified DataProfileLocation message. Does not implicitly {@link google.privacy.dlp.v2.DataProfileLocation.verify|verify} messages.
+ * @param message DataProfileLocation message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.IDataProfileLocation, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified DataProfileLocation message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.DataProfileLocation.verify|verify} messages.
+ * @param message DataProfileLocation message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.IDataProfileLocation, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a DataProfileLocation message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns DataProfileLocation
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.DataProfileLocation;
+
+ /**
+ * Decodes a DataProfileLocation message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns DataProfileLocation
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.DataProfileLocation;
+
+ /**
+ * Verifies a DataProfileLocation message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a DataProfileLocation message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns DataProfileLocation
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.DataProfileLocation;
+
+ /**
+ * Creates a plain object from a DataProfileLocation message. Also converts values to other types if specified.
+ * @param message DataProfileLocation
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.DataProfileLocation, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this DataProfileLocation to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for DataProfileLocation
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a DiscoveryConfig. */
+ interface IDiscoveryConfig {
+
+ /** DiscoveryConfig name */
+ name?: (string|null);
+
+ /** DiscoveryConfig displayName */
+ displayName?: (string|null);
+
+ /** DiscoveryConfig orgConfig */
+ orgConfig?: (google.privacy.dlp.v2.DiscoveryConfig.IOrgConfig|null);
+
+ /** DiscoveryConfig otherCloudStartingLocation */
+ otherCloudStartingLocation?: (google.privacy.dlp.v2.IOtherCloudDiscoveryStartingLocation|null);
+
+ /** DiscoveryConfig inspectTemplates */
+ inspectTemplates?: (string[]|null);
+
+ /** DiscoveryConfig actions */
+ actions?: (google.privacy.dlp.v2.IDataProfileAction[]|null);
+
+ /** DiscoveryConfig targets */
+ targets?: (google.privacy.dlp.v2.IDiscoveryTarget[]|null);
+
+ /** DiscoveryConfig errors */
+ errors?: (google.privacy.dlp.v2.IError[]|null);
+
+ /** DiscoveryConfig createTime */
+ createTime?: (google.protobuf.ITimestamp|null);
+
+ /** DiscoveryConfig updateTime */
+ updateTime?: (google.protobuf.ITimestamp|null);
+
+ /** DiscoveryConfig lastRunTime */
+ lastRunTime?: (google.protobuf.ITimestamp|null);
+
+ /** DiscoveryConfig status */
+ status?: (google.privacy.dlp.v2.DiscoveryConfig.Status|keyof typeof google.privacy.dlp.v2.DiscoveryConfig.Status|null);
+
+ /** DiscoveryConfig processingLocation */
+ processingLocation?: (google.privacy.dlp.v2.IProcessingLocation|null);
+ }
+
+ /** Represents a DiscoveryConfig. */
+ class DiscoveryConfig implements IDiscoveryConfig {
+
+ /**
+ * Constructs a new DiscoveryConfig.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.IDiscoveryConfig);
+
+ /** DiscoveryConfig name. */
+ public name: string;
+
+ /** DiscoveryConfig displayName. */
+ public displayName: string;
+
+ /** DiscoveryConfig orgConfig. */
+ public orgConfig?: (google.privacy.dlp.v2.DiscoveryConfig.IOrgConfig|null);
+
+ /** DiscoveryConfig otherCloudStartingLocation. */
+ public otherCloudStartingLocation?: (google.privacy.dlp.v2.IOtherCloudDiscoveryStartingLocation|null);
+
+ /** DiscoveryConfig inspectTemplates. */
+ public inspectTemplates: string[];
+
+ /** DiscoveryConfig actions. */
+ public actions: google.privacy.dlp.v2.IDataProfileAction[];
+
+ /** DiscoveryConfig targets. */
+ public targets: google.privacy.dlp.v2.IDiscoveryTarget[];
+
+ /** DiscoveryConfig errors. */
+ public errors: google.privacy.dlp.v2.IError[];
+
+ /** DiscoveryConfig createTime. */
+ public createTime?: (google.protobuf.ITimestamp|null);
+
+ /** DiscoveryConfig updateTime. */
+ public updateTime?: (google.protobuf.ITimestamp|null);
+
+ /** DiscoveryConfig lastRunTime. */
+ public lastRunTime?: (google.protobuf.ITimestamp|null);
+
+ /** DiscoveryConfig status. */
+ public status: (google.privacy.dlp.v2.DiscoveryConfig.Status|keyof typeof google.privacy.dlp.v2.DiscoveryConfig.Status);
+
+ /** DiscoveryConfig processingLocation. */
+ public processingLocation?: (google.privacy.dlp.v2.IProcessingLocation|null);
+
+ /**
+ * Creates a new DiscoveryConfig instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns DiscoveryConfig instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.IDiscoveryConfig): google.privacy.dlp.v2.DiscoveryConfig;
+
+ /**
+ * Encodes the specified DiscoveryConfig message. Does not implicitly {@link google.privacy.dlp.v2.DiscoveryConfig.verify|verify} messages.
+ * @param message DiscoveryConfig message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.IDiscoveryConfig, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified DiscoveryConfig message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.DiscoveryConfig.verify|verify} messages.
+ * @param message DiscoveryConfig message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.IDiscoveryConfig, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a DiscoveryConfig message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns DiscoveryConfig
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.DiscoveryConfig;
+
+ /**
+ * Decodes a DiscoveryConfig message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns DiscoveryConfig
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.DiscoveryConfig;
+
+ /**
+ * Verifies a DiscoveryConfig message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a DiscoveryConfig message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns DiscoveryConfig
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.DiscoveryConfig;
+
+ /**
+ * Creates a plain object from a DiscoveryConfig message. Also converts values to other types if specified.
+ * @param message DiscoveryConfig
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.DiscoveryConfig, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this DiscoveryConfig to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for DiscoveryConfig
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace DiscoveryConfig {
+
+ /** Properties of an OrgConfig. */
+ interface IOrgConfig {
+
+ /** OrgConfig location */
+ location?: (google.privacy.dlp.v2.IDiscoveryStartingLocation|null);
+
+ /** OrgConfig projectId */
+ projectId?: (string|null);
+ }
+
+ /** Represents an OrgConfig. */
+ class OrgConfig implements IOrgConfig {
+
+ /**
+ * Constructs a new OrgConfig.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.DiscoveryConfig.IOrgConfig);
+
+ /** OrgConfig location. */
+ public location?: (google.privacy.dlp.v2.IDiscoveryStartingLocation|null);
+
+ /** OrgConfig projectId. */
+ public projectId: string;
+
+ /**
+ * Creates a new OrgConfig instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns OrgConfig instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.DiscoveryConfig.IOrgConfig): google.privacy.dlp.v2.DiscoveryConfig.OrgConfig;
+
+ /**
+ * Encodes the specified OrgConfig message. Does not implicitly {@link google.privacy.dlp.v2.DiscoveryConfig.OrgConfig.verify|verify} messages.
+ * @param message OrgConfig message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.DiscoveryConfig.IOrgConfig, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified OrgConfig message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.DiscoveryConfig.OrgConfig.verify|verify} messages.
+ * @param message OrgConfig message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.DiscoveryConfig.IOrgConfig, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an OrgConfig message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns OrgConfig
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.DiscoveryConfig.OrgConfig;
+
+ /**
+ * Decodes an OrgConfig message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns OrgConfig
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.DiscoveryConfig.OrgConfig;
+
+ /**
+ * Verifies an OrgConfig message.
+ * @param message Plain 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 OrgConfig message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns OrgConfig
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.DiscoveryConfig.OrgConfig;
+
+ /**
+ * Creates a plain object from an OrgConfig message. Also converts values to other types if specified.
+ * @param message OrgConfig
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.DiscoveryConfig.OrgConfig, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this OrgConfig to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for OrgConfig
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Status enum. */
+ enum Status {
+ STATUS_UNSPECIFIED = 0,
+ RUNNING = 1,
+ PAUSED = 2
+ }
+ }
+
+ /** Properties of a DiscoveryTarget. */
+ interface IDiscoveryTarget {
+
+ /** DiscoveryTarget bigQueryTarget */
+ bigQueryTarget?: (google.privacy.dlp.v2.IBigQueryDiscoveryTarget|null);
+
+ /** DiscoveryTarget cloudSqlTarget */
+ cloudSqlTarget?: (google.privacy.dlp.v2.ICloudSqlDiscoveryTarget|null);
+
+ /** DiscoveryTarget secretsTarget */
+ secretsTarget?: (google.privacy.dlp.v2.ISecretsDiscoveryTarget|null);
+
+ /** DiscoveryTarget cloudStorageTarget */
+ cloudStorageTarget?: (google.privacy.dlp.v2.ICloudStorageDiscoveryTarget|null);
+
+ /** DiscoveryTarget otherCloudTarget */
+ otherCloudTarget?: (google.privacy.dlp.v2.IOtherCloudDiscoveryTarget|null);
+
+ /** DiscoveryTarget vertexDatasetTarget */
+ vertexDatasetTarget?: (google.privacy.dlp.v2.IVertexDatasetDiscoveryTarget|null);
+ }
+
+ /** Represents a DiscoveryTarget. */
+ class DiscoveryTarget implements IDiscoveryTarget {
+
+ /**
+ * Constructs a new DiscoveryTarget.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.IDiscoveryTarget);
+
+ /** DiscoveryTarget bigQueryTarget. */
+ public bigQueryTarget?: (google.privacy.dlp.v2.IBigQueryDiscoveryTarget|null);
+
+ /** DiscoveryTarget cloudSqlTarget. */
+ public cloudSqlTarget?: (google.privacy.dlp.v2.ICloudSqlDiscoveryTarget|null);
+
+ /** DiscoveryTarget secretsTarget. */
+ public secretsTarget?: (google.privacy.dlp.v2.ISecretsDiscoveryTarget|null);
+
+ /** DiscoveryTarget cloudStorageTarget. */
+ public cloudStorageTarget?: (google.privacy.dlp.v2.ICloudStorageDiscoveryTarget|null);
+
+ /** DiscoveryTarget otherCloudTarget. */
+ public otherCloudTarget?: (google.privacy.dlp.v2.IOtherCloudDiscoveryTarget|null);
+
+ /** DiscoveryTarget vertexDatasetTarget. */
+ public vertexDatasetTarget?: (google.privacy.dlp.v2.IVertexDatasetDiscoveryTarget|null);
+
+ /** DiscoveryTarget target. */
+ public target?: ("bigQueryTarget"|"cloudSqlTarget"|"secretsTarget"|"cloudStorageTarget"|"otherCloudTarget"|"vertexDatasetTarget");
+
+ /**
+ * Creates a new DiscoveryTarget instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns DiscoveryTarget instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.IDiscoveryTarget): google.privacy.dlp.v2.DiscoveryTarget;
+
+ /**
+ * Encodes the specified DiscoveryTarget message. Does not implicitly {@link google.privacy.dlp.v2.DiscoveryTarget.verify|verify} messages.
+ * @param message DiscoveryTarget message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.IDiscoveryTarget, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified DiscoveryTarget message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.DiscoveryTarget.verify|verify} messages.
+ * @param message DiscoveryTarget message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.IDiscoveryTarget, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a DiscoveryTarget message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns DiscoveryTarget
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.DiscoveryTarget;
+
+ /**
+ * Decodes a DiscoveryTarget message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns DiscoveryTarget
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.DiscoveryTarget;
+
+ /**
+ * Verifies a DiscoveryTarget message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a DiscoveryTarget message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns DiscoveryTarget
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.DiscoveryTarget;
+
+ /**
+ * Creates a plain object from a DiscoveryTarget message. Also converts values to other types if specified.
+ * @param message DiscoveryTarget
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.DiscoveryTarget, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this DiscoveryTarget to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for DiscoveryTarget
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a BigQueryDiscoveryTarget. */
+ interface IBigQueryDiscoveryTarget {
+
+ /** BigQueryDiscoveryTarget filter */
+ filter?: (google.privacy.dlp.v2.IDiscoveryBigQueryFilter|null);
+
+ /** BigQueryDiscoveryTarget conditions */
+ conditions?: (google.privacy.dlp.v2.IDiscoveryBigQueryConditions|null);
+
+ /** BigQueryDiscoveryTarget cadence */
+ cadence?: (google.privacy.dlp.v2.IDiscoveryGenerationCadence|null);
+
+ /** BigQueryDiscoveryTarget disabled */
+ disabled?: (google.privacy.dlp.v2.IDisabled|null);
+ }
+
+ /** Represents a BigQueryDiscoveryTarget. */
+ class BigQueryDiscoveryTarget implements IBigQueryDiscoveryTarget {
+
+ /**
+ * Constructs a new BigQueryDiscoveryTarget.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.IBigQueryDiscoveryTarget);
+
+ /** BigQueryDiscoveryTarget filter. */
+ public filter?: (google.privacy.dlp.v2.IDiscoveryBigQueryFilter|null);
+
+ /** BigQueryDiscoveryTarget conditions. */
+ public conditions?: (google.privacy.dlp.v2.IDiscoveryBigQueryConditions|null);
+
+ /** BigQueryDiscoveryTarget cadence. */
+ public cadence?: (google.privacy.dlp.v2.IDiscoveryGenerationCadence|null);
+
+ /** BigQueryDiscoveryTarget disabled. */
+ public disabled?: (google.privacy.dlp.v2.IDisabled|null);
+
+ /** BigQueryDiscoveryTarget frequency. */
+ public frequency?: ("cadence"|"disabled");
+
+ /**
+ * Creates a new BigQueryDiscoveryTarget instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns BigQueryDiscoveryTarget instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.IBigQueryDiscoveryTarget): google.privacy.dlp.v2.BigQueryDiscoveryTarget;
+
+ /**
+ * Encodes the specified BigQueryDiscoveryTarget message. Does not implicitly {@link google.privacy.dlp.v2.BigQueryDiscoveryTarget.verify|verify} messages.
+ * @param message BigQueryDiscoveryTarget message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.IBigQueryDiscoveryTarget, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified BigQueryDiscoveryTarget message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.BigQueryDiscoveryTarget.verify|verify} messages.
+ * @param message BigQueryDiscoveryTarget message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.IBigQueryDiscoveryTarget, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a BigQueryDiscoveryTarget message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns BigQueryDiscoveryTarget
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.BigQueryDiscoveryTarget;
+
+ /**
+ * Decodes a BigQueryDiscoveryTarget message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns BigQueryDiscoveryTarget
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.BigQueryDiscoveryTarget;
+
+ /**
+ * Verifies a BigQueryDiscoveryTarget message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a BigQueryDiscoveryTarget message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns BigQueryDiscoveryTarget
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.BigQueryDiscoveryTarget;
+
+ /**
+ * Creates a plain object from a BigQueryDiscoveryTarget message. Also converts values to other types if specified.
+ * @param message BigQueryDiscoveryTarget
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.BigQueryDiscoveryTarget, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this BigQueryDiscoveryTarget to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for BigQueryDiscoveryTarget
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a DiscoveryBigQueryFilter. */
+ interface IDiscoveryBigQueryFilter {
+
+ /** DiscoveryBigQueryFilter tables */
+ tables?: (google.privacy.dlp.v2.IBigQueryTableCollection|null);
+
+ /** DiscoveryBigQueryFilter otherTables */
+ otherTables?: (google.privacy.dlp.v2.DiscoveryBigQueryFilter.IAllOtherBigQueryTables|null);
+
+ /** DiscoveryBigQueryFilter tableReference */
+ tableReference?: (google.privacy.dlp.v2.ITableReference|null);
+ }
+
+ /** Represents a DiscoveryBigQueryFilter. */
+ class DiscoveryBigQueryFilter implements IDiscoveryBigQueryFilter {
+
+ /**
+ * Constructs a new DiscoveryBigQueryFilter.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.IDiscoveryBigQueryFilter);
+
+ /** DiscoveryBigQueryFilter tables. */
+ public tables?: (google.privacy.dlp.v2.IBigQueryTableCollection|null);
+
+ /** DiscoveryBigQueryFilter otherTables. */
+ public otherTables?: (google.privacy.dlp.v2.DiscoveryBigQueryFilter.IAllOtherBigQueryTables|null);
+
+ /** DiscoveryBigQueryFilter tableReference. */
+ public tableReference?: (google.privacy.dlp.v2.ITableReference|null);
+
+ /** DiscoveryBigQueryFilter filter. */
+ public filter?: ("tables"|"otherTables"|"tableReference");
+
+ /**
+ * Creates a new DiscoveryBigQueryFilter instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns DiscoveryBigQueryFilter instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.IDiscoveryBigQueryFilter): google.privacy.dlp.v2.DiscoveryBigQueryFilter;
+
+ /**
+ * Encodes the specified DiscoveryBigQueryFilter message. Does not implicitly {@link google.privacy.dlp.v2.DiscoveryBigQueryFilter.verify|verify} messages.
+ * @param message DiscoveryBigQueryFilter message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.IDiscoveryBigQueryFilter, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified DiscoveryBigQueryFilter message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.DiscoveryBigQueryFilter.verify|verify} messages.
+ * @param message DiscoveryBigQueryFilter message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.IDiscoveryBigQueryFilter, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a DiscoveryBigQueryFilter message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns DiscoveryBigQueryFilter
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.DiscoveryBigQueryFilter;
+
+ /**
+ * Decodes a DiscoveryBigQueryFilter message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns DiscoveryBigQueryFilter
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.DiscoveryBigQueryFilter;
+
+ /**
+ * Verifies a DiscoveryBigQueryFilter message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a DiscoveryBigQueryFilter message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns DiscoveryBigQueryFilter
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.DiscoveryBigQueryFilter;
+
+ /**
+ * Creates a plain object from a DiscoveryBigQueryFilter message. Also converts values to other types if specified.
+ * @param message DiscoveryBigQueryFilter
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.DiscoveryBigQueryFilter, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this DiscoveryBigQueryFilter to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for DiscoveryBigQueryFilter
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace DiscoveryBigQueryFilter {
+
+ /** Properties of an AllOtherBigQueryTables. */
+ interface IAllOtherBigQueryTables {
+ }
+
+ /** Represents an AllOtherBigQueryTables. */
+ class AllOtherBigQueryTables implements IAllOtherBigQueryTables {
+
+ /**
+ * Constructs a new AllOtherBigQueryTables.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.DiscoveryBigQueryFilter.IAllOtherBigQueryTables);
+
+ /**
+ * Creates a new AllOtherBigQueryTables instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns AllOtherBigQueryTables instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.DiscoveryBigQueryFilter.IAllOtherBigQueryTables): google.privacy.dlp.v2.DiscoveryBigQueryFilter.AllOtherBigQueryTables;
+
+ /**
+ * Encodes the specified AllOtherBigQueryTables message. Does not implicitly {@link google.privacy.dlp.v2.DiscoveryBigQueryFilter.AllOtherBigQueryTables.verify|verify} messages.
+ * @param message AllOtherBigQueryTables message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.DiscoveryBigQueryFilter.IAllOtherBigQueryTables, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified AllOtherBigQueryTables message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.DiscoveryBigQueryFilter.AllOtherBigQueryTables.verify|verify} messages.
+ * @param message AllOtherBigQueryTables message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.DiscoveryBigQueryFilter.IAllOtherBigQueryTables, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an AllOtherBigQueryTables message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns AllOtherBigQueryTables
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.DiscoveryBigQueryFilter.AllOtherBigQueryTables;
+
+ /**
+ * Decodes an AllOtherBigQueryTables message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns AllOtherBigQueryTables
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.DiscoveryBigQueryFilter.AllOtherBigQueryTables;
+
+ /**
+ * Verifies an AllOtherBigQueryTables message.
+ * @param message Plain 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 AllOtherBigQueryTables message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns AllOtherBigQueryTables
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.DiscoveryBigQueryFilter.AllOtherBigQueryTables;
+
+ /**
+ * Creates a plain object from an AllOtherBigQueryTables message. Also converts values to other types if specified.
+ * @param message AllOtherBigQueryTables
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.DiscoveryBigQueryFilter.AllOtherBigQueryTables, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this AllOtherBigQueryTables to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for AllOtherBigQueryTables
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+ }
+
+ /** Properties of a BigQueryTableCollection. */
+ interface IBigQueryTableCollection {
+
+ /** BigQueryTableCollection includeRegexes */
+ includeRegexes?: (google.privacy.dlp.v2.IBigQueryRegexes|null);
+ }
+
+ /** Represents a BigQueryTableCollection. */
+ class BigQueryTableCollection implements IBigQueryTableCollection {
+
+ /**
+ * Constructs a new BigQueryTableCollection.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.IBigQueryTableCollection);
+
+ /** BigQueryTableCollection includeRegexes. */
+ public includeRegexes?: (google.privacy.dlp.v2.IBigQueryRegexes|null);
+
+ /** BigQueryTableCollection pattern. */
+ public pattern?: "includeRegexes";
+
+ /**
+ * Creates a new BigQueryTableCollection instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns BigQueryTableCollection instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.IBigQueryTableCollection): google.privacy.dlp.v2.BigQueryTableCollection;
+
+ /**
+ * Encodes the specified BigQueryTableCollection message. Does not implicitly {@link google.privacy.dlp.v2.BigQueryTableCollection.verify|verify} messages.
+ * @param message BigQueryTableCollection message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.IBigQueryTableCollection, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified BigQueryTableCollection message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.BigQueryTableCollection.verify|verify} messages.
+ * @param message BigQueryTableCollection message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.IBigQueryTableCollection, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a BigQueryTableCollection message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns BigQueryTableCollection
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.BigQueryTableCollection;
+
+ /**
+ * Decodes a BigQueryTableCollection message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns BigQueryTableCollection
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.BigQueryTableCollection;
+
+ /**
+ * Verifies a BigQueryTableCollection message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a BigQueryTableCollection message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns BigQueryTableCollection
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.BigQueryTableCollection;
+
+ /**
+ * Creates a plain object from a BigQueryTableCollection message. Also converts values to other types if specified.
+ * @param message BigQueryTableCollection
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.BigQueryTableCollection, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this BigQueryTableCollection to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for BigQueryTableCollection
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a DiscoveryBigQueryConditions. */
+ interface IDiscoveryBigQueryConditions {
+
+ /** DiscoveryBigQueryConditions createdAfter */
+ createdAfter?: (google.protobuf.ITimestamp|null);
+
+ /** DiscoveryBigQueryConditions types */
+ types?: (google.privacy.dlp.v2.IBigQueryTableTypes|null);
+
+ /** DiscoveryBigQueryConditions typeCollection */
+ typeCollection?: (google.privacy.dlp.v2.BigQueryTableTypeCollection|keyof typeof google.privacy.dlp.v2.BigQueryTableTypeCollection|null);
+
+ /** DiscoveryBigQueryConditions orConditions */
+ orConditions?: (google.privacy.dlp.v2.DiscoveryBigQueryConditions.IOrConditions|null);
+ }
+
+ /** Represents a DiscoveryBigQueryConditions. */
+ class DiscoveryBigQueryConditions implements IDiscoveryBigQueryConditions {
+
+ /**
+ * Constructs a new DiscoveryBigQueryConditions.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.IDiscoveryBigQueryConditions);
+
+ /** DiscoveryBigQueryConditions createdAfter. */
+ public createdAfter?: (google.protobuf.ITimestamp|null);
+
+ /** DiscoveryBigQueryConditions types. */
+ public types?: (google.privacy.dlp.v2.IBigQueryTableTypes|null);
+
+ /** DiscoveryBigQueryConditions typeCollection. */
+ public typeCollection?: (google.privacy.dlp.v2.BigQueryTableTypeCollection|keyof typeof google.privacy.dlp.v2.BigQueryTableTypeCollection|null);
+
+ /** DiscoveryBigQueryConditions orConditions. */
+ public orConditions?: (google.privacy.dlp.v2.DiscoveryBigQueryConditions.IOrConditions|null);
+
+ /** DiscoveryBigQueryConditions includedTypes. */
+ public includedTypes?: ("types"|"typeCollection");
+
+ /**
+ * Creates a new DiscoveryBigQueryConditions instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns DiscoveryBigQueryConditions instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.IDiscoveryBigQueryConditions): google.privacy.dlp.v2.DiscoveryBigQueryConditions;
+
+ /**
+ * Encodes the specified DiscoveryBigQueryConditions message. Does not implicitly {@link google.privacy.dlp.v2.DiscoveryBigQueryConditions.verify|verify} messages.
+ * @param message DiscoveryBigQueryConditions message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.IDiscoveryBigQueryConditions, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified DiscoveryBigQueryConditions message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.DiscoveryBigQueryConditions.verify|verify} messages.
+ * @param message DiscoveryBigQueryConditions message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.IDiscoveryBigQueryConditions, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a DiscoveryBigQueryConditions message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns DiscoveryBigQueryConditions
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.DiscoveryBigQueryConditions;
+
+ /**
+ * Decodes a DiscoveryBigQueryConditions message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns DiscoveryBigQueryConditions
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.DiscoveryBigQueryConditions;
+
+ /**
+ * Verifies a DiscoveryBigQueryConditions message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a DiscoveryBigQueryConditions message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns DiscoveryBigQueryConditions
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.DiscoveryBigQueryConditions;
+
+ /**
+ * Creates a plain object from a DiscoveryBigQueryConditions message. Also converts values to other types if specified.
+ * @param message DiscoveryBigQueryConditions
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.DiscoveryBigQueryConditions, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this DiscoveryBigQueryConditions to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for DiscoveryBigQueryConditions
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace DiscoveryBigQueryConditions {
+
+ /** Properties of an OrConditions. */
+ interface IOrConditions {
+
+ /** OrConditions minRowCount */
+ minRowCount?: (number|null);
+
+ /** OrConditions minAge */
+ minAge?: (google.protobuf.IDuration|null);
+ }
+
+ /** Represents an OrConditions. */
+ class OrConditions implements IOrConditions {
+
+ /**
+ * Constructs a new OrConditions.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.DiscoveryBigQueryConditions.IOrConditions);
+
+ /** OrConditions minRowCount. */
+ public minRowCount: number;
+
+ /** OrConditions minAge. */
+ public minAge?: (google.protobuf.IDuration|null);
+
+ /**
+ * Creates a new OrConditions instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns OrConditions instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.DiscoveryBigQueryConditions.IOrConditions): google.privacy.dlp.v2.DiscoveryBigQueryConditions.OrConditions;
+
+ /**
+ * Encodes the specified OrConditions message. Does not implicitly {@link google.privacy.dlp.v2.DiscoveryBigQueryConditions.OrConditions.verify|verify} messages.
+ * @param message OrConditions message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.DiscoveryBigQueryConditions.IOrConditions, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified OrConditions message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.DiscoveryBigQueryConditions.OrConditions.verify|verify} messages.
+ * @param message OrConditions message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.DiscoveryBigQueryConditions.IOrConditions, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an OrConditions message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns OrConditions
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.DiscoveryBigQueryConditions.OrConditions;
+
+ /**
+ * Decodes an OrConditions message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns OrConditions
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.DiscoveryBigQueryConditions.OrConditions;
+
+ /**
+ * Verifies an OrConditions message.
+ * @param message Plain 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 OrConditions message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns OrConditions
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.DiscoveryBigQueryConditions.OrConditions;
+
+ /**
+ * Creates a plain object from an OrConditions message. Also converts values to other types if specified.
+ * @param message OrConditions
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.DiscoveryBigQueryConditions.OrConditions, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this OrConditions to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for OrConditions
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+ }
+
+ /** Properties of a DiscoveryGenerationCadence. */
+ interface IDiscoveryGenerationCadence {
+
+ /** DiscoveryGenerationCadence schemaModifiedCadence */
+ schemaModifiedCadence?: (google.privacy.dlp.v2.IDiscoverySchemaModifiedCadence|null);
+
+ /** DiscoveryGenerationCadence tableModifiedCadence */
+ tableModifiedCadence?: (google.privacy.dlp.v2.IDiscoveryTableModifiedCadence|null);
+
+ /** DiscoveryGenerationCadence inspectTemplateModifiedCadence */
+ inspectTemplateModifiedCadence?: (google.privacy.dlp.v2.IDiscoveryInspectTemplateModifiedCadence|null);
+
+ /** DiscoveryGenerationCadence refreshFrequency */
+ refreshFrequency?: (google.privacy.dlp.v2.DataProfileUpdateFrequency|keyof typeof google.privacy.dlp.v2.DataProfileUpdateFrequency|null);
+ }
+
+ /** Represents a DiscoveryGenerationCadence. */
+ class DiscoveryGenerationCadence implements IDiscoveryGenerationCadence {
+
+ /**
+ * Constructs a new DiscoveryGenerationCadence.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.IDiscoveryGenerationCadence);
+
+ /** DiscoveryGenerationCadence schemaModifiedCadence. */
+ public schemaModifiedCadence?: (google.privacy.dlp.v2.IDiscoverySchemaModifiedCadence|null);
+
+ /** DiscoveryGenerationCadence tableModifiedCadence. */
+ public tableModifiedCadence?: (google.privacy.dlp.v2.IDiscoveryTableModifiedCadence|null);
+
+ /** DiscoveryGenerationCadence inspectTemplateModifiedCadence. */
+ public inspectTemplateModifiedCadence?: (google.privacy.dlp.v2.IDiscoveryInspectTemplateModifiedCadence|null);
+
+ /** DiscoveryGenerationCadence refreshFrequency. */
+ public refreshFrequency: (google.privacy.dlp.v2.DataProfileUpdateFrequency|keyof typeof google.privacy.dlp.v2.DataProfileUpdateFrequency);
+
+ /**
+ * Creates a new DiscoveryGenerationCadence instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns DiscoveryGenerationCadence instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.IDiscoveryGenerationCadence): google.privacy.dlp.v2.DiscoveryGenerationCadence;
+
+ /**
+ * Encodes the specified DiscoveryGenerationCadence message. Does not implicitly {@link google.privacy.dlp.v2.DiscoveryGenerationCadence.verify|verify} messages.
+ * @param message DiscoveryGenerationCadence message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.IDiscoveryGenerationCadence, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified DiscoveryGenerationCadence message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.DiscoveryGenerationCadence.verify|verify} messages.
+ * @param message DiscoveryGenerationCadence message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.IDiscoveryGenerationCadence, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a DiscoveryGenerationCadence message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns DiscoveryGenerationCadence
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.DiscoveryGenerationCadence;
+
+ /**
+ * Decodes a DiscoveryGenerationCadence message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns DiscoveryGenerationCadence
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.DiscoveryGenerationCadence;
+
+ /**
+ * Verifies a DiscoveryGenerationCadence message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a DiscoveryGenerationCadence message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns DiscoveryGenerationCadence
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.DiscoveryGenerationCadence;
+
+ /**
+ * Creates a plain object from a DiscoveryGenerationCadence message. Also converts values to other types if specified.
+ * @param message DiscoveryGenerationCadence
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.DiscoveryGenerationCadence, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this DiscoveryGenerationCadence to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for DiscoveryGenerationCadence
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a DiscoveryTableModifiedCadence. */
+ interface IDiscoveryTableModifiedCadence {
+
+ /** DiscoveryTableModifiedCadence types */
+ types?: (google.privacy.dlp.v2.BigQueryTableModification[]|null);
+
+ /** DiscoveryTableModifiedCadence frequency */
+ frequency?: (google.privacy.dlp.v2.DataProfileUpdateFrequency|keyof typeof google.privacy.dlp.v2.DataProfileUpdateFrequency|null);
+ }
+
+ /** Represents a DiscoveryTableModifiedCadence. */
+ class DiscoveryTableModifiedCadence implements IDiscoveryTableModifiedCadence {
+
+ /**
+ * Constructs a new DiscoveryTableModifiedCadence.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.IDiscoveryTableModifiedCadence);
+
+ /** DiscoveryTableModifiedCadence types. */
+ public types: google.privacy.dlp.v2.BigQueryTableModification[];
+
+ /** DiscoveryTableModifiedCadence frequency. */
+ public frequency: (google.privacy.dlp.v2.DataProfileUpdateFrequency|keyof typeof google.privacy.dlp.v2.DataProfileUpdateFrequency);
+
+ /**
+ * Creates a new DiscoveryTableModifiedCadence instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns DiscoveryTableModifiedCadence instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.IDiscoveryTableModifiedCadence): google.privacy.dlp.v2.DiscoveryTableModifiedCadence;
+
+ /**
+ * Encodes the specified DiscoveryTableModifiedCadence message. Does not implicitly {@link google.privacy.dlp.v2.DiscoveryTableModifiedCadence.verify|verify} messages.
+ * @param message DiscoveryTableModifiedCadence message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.IDiscoveryTableModifiedCadence, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified DiscoveryTableModifiedCadence message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.DiscoveryTableModifiedCadence.verify|verify} messages.
+ * @param message DiscoveryTableModifiedCadence message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.IDiscoveryTableModifiedCadence, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a DiscoveryTableModifiedCadence message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns DiscoveryTableModifiedCadence
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.DiscoveryTableModifiedCadence;
+
+ /**
+ * Decodes a DiscoveryTableModifiedCadence message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns DiscoveryTableModifiedCadence
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.DiscoveryTableModifiedCadence;
+
+ /**
+ * Verifies a DiscoveryTableModifiedCadence message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a DiscoveryTableModifiedCadence message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns DiscoveryTableModifiedCadence
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.DiscoveryTableModifiedCadence;
+
+ /**
+ * Creates a plain object from a DiscoveryTableModifiedCadence message. Also converts values to other types if specified.
+ * @param message DiscoveryTableModifiedCadence
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.DiscoveryTableModifiedCadence, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this DiscoveryTableModifiedCadence to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for DiscoveryTableModifiedCadence
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** BigQueryTableModification enum. */
+ enum BigQueryTableModification {
+ TABLE_MODIFICATION_UNSPECIFIED = 0,
+ TABLE_MODIFIED_TIMESTAMP = 1
+ }
+
+ /** Properties of a DiscoverySchemaModifiedCadence. */
+ interface IDiscoverySchemaModifiedCadence {
+
+ /** DiscoverySchemaModifiedCadence types */
+ types?: (google.privacy.dlp.v2.BigQuerySchemaModification[]|null);
+
+ /** DiscoverySchemaModifiedCadence frequency */
+ frequency?: (google.privacy.dlp.v2.DataProfileUpdateFrequency|keyof typeof google.privacy.dlp.v2.DataProfileUpdateFrequency|null);
+ }
+
+ /** Represents a DiscoverySchemaModifiedCadence. */
+ class DiscoverySchemaModifiedCadence implements IDiscoverySchemaModifiedCadence {
+
+ /**
+ * Constructs a new DiscoverySchemaModifiedCadence.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.IDiscoverySchemaModifiedCadence);
+
+ /** DiscoverySchemaModifiedCadence types. */
+ public types: google.privacy.dlp.v2.BigQuerySchemaModification[];
+
+ /** DiscoverySchemaModifiedCadence frequency. */
+ public frequency: (google.privacy.dlp.v2.DataProfileUpdateFrequency|keyof typeof google.privacy.dlp.v2.DataProfileUpdateFrequency);
+
+ /**
+ * Creates a new DiscoverySchemaModifiedCadence instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns DiscoverySchemaModifiedCadence instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.IDiscoverySchemaModifiedCadence): google.privacy.dlp.v2.DiscoverySchemaModifiedCadence;
+
+ /**
+ * Encodes the specified DiscoverySchemaModifiedCadence message. Does not implicitly {@link google.privacy.dlp.v2.DiscoverySchemaModifiedCadence.verify|verify} messages.
+ * @param message DiscoverySchemaModifiedCadence message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.IDiscoverySchemaModifiedCadence, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified DiscoverySchemaModifiedCadence message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.DiscoverySchemaModifiedCadence.verify|verify} messages.
+ * @param message DiscoverySchemaModifiedCadence message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.IDiscoverySchemaModifiedCadence, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a DiscoverySchemaModifiedCadence message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns DiscoverySchemaModifiedCadence
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.DiscoverySchemaModifiedCadence;
+
+ /**
+ * Decodes a DiscoverySchemaModifiedCadence message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns DiscoverySchemaModifiedCadence
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.DiscoverySchemaModifiedCadence;
+
+ /**
+ * Verifies a DiscoverySchemaModifiedCadence message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a DiscoverySchemaModifiedCadence message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns DiscoverySchemaModifiedCadence
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.DiscoverySchemaModifiedCadence;
+
+ /**
+ * Creates a plain object from a DiscoverySchemaModifiedCadence message. Also converts values to other types if specified.
+ * @param message DiscoverySchemaModifiedCadence
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.DiscoverySchemaModifiedCadence, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this DiscoverySchemaModifiedCadence to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for DiscoverySchemaModifiedCadence
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** BigQuerySchemaModification enum. */
+ enum BigQuerySchemaModification {
+ SCHEMA_MODIFICATION_UNSPECIFIED = 0,
+ SCHEMA_NEW_COLUMNS = 1,
+ SCHEMA_REMOVED_COLUMNS = 2
+ }
+
+ /** Properties of a DiscoveryInspectTemplateModifiedCadence. */
+ interface IDiscoveryInspectTemplateModifiedCadence {
+
+ /** DiscoveryInspectTemplateModifiedCadence frequency */
+ frequency?: (google.privacy.dlp.v2.DataProfileUpdateFrequency|keyof typeof google.privacy.dlp.v2.DataProfileUpdateFrequency|null);
+ }
+
+ /** Represents a DiscoveryInspectTemplateModifiedCadence. */
+ class DiscoveryInspectTemplateModifiedCadence implements IDiscoveryInspectTemplateModifiedCadence {
+
+ /**
+ * Constructs a new DiscoveryInspectTemplateModifiedCadence.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.IDiscoveryInspectTemplateModifiedCadence);
+
+ /** DiscoveryInspectTemplateModifiedCadence frequency. */
+ public frequency: (google.privacy.dlp.v2.DataProfileUpdateFrequency|keyof typeof google.privacy.dlp.v2.DataProfileUpdateFrequency);
+
+ /**
+ * Creates a new DiscoveryInspectTemplateModifiedCadence instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns DiscoveryInspectTemplateModifiedCadence instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.IDiscoveryInspectTemplateModifiedCadence): google.privacy.dlp.v2.DiscoveryInspectTemplateModifiedCadence;
+
+ /**
+ * Encodes the specified DiscoveryInspectTemplateModifiedCadence message. Does not implicitly {@link google.privacy.dlp.v2.DiscoveryInspectTemplateModifiedCadence.verify|verify} messages.
+ * @param message DiscoveryInspectTemplateModifiedCadence message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.IDiscoveryInspectTemplateModifiedCadence, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified DiscoveryInspectTemplateModifiedCadence message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.DiscoveryInspectTemplateModifiedCadence.verify|verify} messages.
+ * @param message DiscoveryInspectTemplateModifiedCadence message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.IDiscoveryInspectTemplateModifiedCadence, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a DiscoveryInspectTemplateModifiedCadence message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns DiscoveryInspectTemplateModifiedCadence
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.DiscoveryInspectTemplateModifiedCadence;
+
+ /**
+ * Decodes a DiscoveryInspectTemplateModifiedCadence message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns DiscoveryInspectTemplateModifiedCadence
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.DiscoveryInspectTemplateModifiedCadence;
+
+ /**
+ * Verifies a DiscoveryInspectTemplateModifiedCadence message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a DiscoveryInspectTemplateModifiedCadence message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns DiscoveryInspectTemplateModifiedCadence
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.DiscoveryInspectTemplateModifiedCadence;
+
+ /**
+ * Creates a plain object from a DiscoveryInspectTemplateModifiedCadence message. Also converts values to other types if specified.
+ * @param message DiscoveryInspectTemplateModifiedCadence
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.DiscoveryInspectTemplateModifiedCadence, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this DiscoveryInspectTemplateModifiedCadence to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for DiscoveryInspectTemplateModifiedCadence
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a CloudSqlDiscoveryTarget. */
+ interface ICloudSqlDiscoveryTarget {
+
+ /** CloudSqlDiscoveryTarget filter */
+ filter?: (google.privacy.dlp.v2.IDiscoveryCloudSqlFilter|null);
+
+ /** CloudSqlDiscoveryTarget conditions */
+ conditions?: (google.privacy.dlp.v2.IDiscoveryCloudSqlConditions|null);
+
+ /** CloudSqlDiscoveryTarget generationCadence */
+ generationCadence?: (google.privacy.dlp.v2.IDiscoveryCloudSqlGenerationCadence|null);
+
+ /** CloudSqlDiscoveryTarget disabled */
+ disabled?: (google.privacy.dlp.v2.IDisabled|null);
+ }
+
+ /** Represents a CloudSqlDiscoveryTarget. */
+ class CloudSqlDiscoveryTarget implements ICloudSqlDiscoveryTarget {
+
+ /**
+ * Constructs a new CloudSqlDiscoveryTarget.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.ICloudSqlDiscoveryTarget);
+
+ /** CloudSqlDiscoveryTarget filter. */
+ public filter?: (google.privacy.dlp.v2.IDiscoveryCloudSqlFilter|null);
+
+ /** CloudSqlDiscoveryTarget conditions. */
+ public conditions?: (google.privacy.dlp.v2.IDiscoveryCloudSqlConditions|null);
+
+ /** CloudSqlDiscoveryTarget generationCadence. */
+ public generationCadence?: (google.privacy.dlp.v2.IDiscoveryCloudSqlGenerationCadence|null);
+
+ /** CloudSqlDiscoveryTarget disabled. */
+ public disabled?: (google.privacy.dlp.v2.IDisabled|null);
+
+ /** CloudSqlDiscoveryTarget cadence. */
+ public cadence?: ("generationCadence"|"disabled");
+
+ /**
+ * Creates a new CloudSqlDiscoveryTarget instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns CloudSqlDiscoveryTarget instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.ICloudSqlDiscoveryTarget): google.privacy.dlp.v2.CloudSqlDiscoveryTarget;
+
+ /**
+ * Encodes the specified CloudSqlDiscoveryTarget message. Does not implicitly {@link google.privacy.dlp.v2.CloudSqlDiscoveryTarget.verify|verify} messages.
+ * @param message CloudSqlDiscoveryTarget message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.ICloudSqlDiscoveryTarget, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified CloudSqlDiscoveryTarget message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.CloudSqlDiscoveryTarget.verify|verify} messages.
+ * @param message CloudSqlDiscoveryTarget message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.ICloudSqlDiscoveryTarget, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a CloudSqlDiscoveryTarget message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns CloudSqlDiscoveryTarget
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.CloudSqlDiscoveryTarget;
+
+ /**
+ * Decodes a CloudSqlDiscoveryTarget message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns CloudSqlDiscoveryTarget
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.CloudSqlDiscoveryTarget;
+
+ /**
+ * Verifies a CloudSqlDiscoveryTarget message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a CloudSqlDiscoveryTarget message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns CloudSqlDiscoveryTarget
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.CloudSqlDiscoveryTarget;
+
+ /**
+ * Creates a plain object from a CloudSqlDiscoveryTarget message. Also converts values to other types if specified.
+ * @param message CloudSqlDiscoveryTarget
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.CloudSqlDiscoveryTarget, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this CloudSqlDiscoveryTarget to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for CloudSqlDiscoveryTarget
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a DiscoveryCloudSqlFilter. */
+ interface IDiscoveryCloudSqlFilter {
+
+ /** DiscoveryCloudSqlFilter collection */
+ collection?: (google.privacy.dlp.v2.IDatabaseResourceCollection|null);
+
+ /** DiscoveryCloudSqlFilter others */
+ others?: (google.privacy.dlp.v2.IAllOtherDatabaseResources|null);
+
+ /** DiscoveryCloudSqlFilter databaseResourceReference */
+ databaseResourceReference?: (google.privacy.dlp.v2.IDatabaseResourceReference|null);
+ }
+
+ /** Represents a DiscoveryCloudSqlFilter. */
+ class DiscoveryCloudSqlFilter implements IDiscoveryCloudSqlFilter {
+
+ /**
+ * Constructs a new DiscoveryCloudSqlFilter.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.IDiscoveryCloudSqlFilter);
+
+ /** DiscoveryCloudSqlFilter collection. */
+ public collection?: (google.privacy.dlp.v2.IDatabaseResourceCollection|null);
+
+ /** DiscoveryCloudSqlFilter others. */
+ public others?: (google.privacy.dlp.v2.IAllOtherDatabaseResources|null);
+
+ /** DiscoveryCloudSqlFilter databaseResourceReference. */
+ public databaseResourceReference?: (google.privacy.dlp.v2.IDatabaseResourceReference|null);
+
+ /** DiscoveryCloudSqlFilter filter. */
+ public filter?: ("collection"|"others"|"databaseResourceReference");
+
+ /**
+ * Creates a new DiscoveryCloudSqlFilter instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns DiscoveryCloudSqlFilter instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.IDiscoveryCloudSqlFilter): google.privacy.dlp.v2.DiscoveryCloudSqlFilter;
+
+ /**
+ * Encodes the specified DiscoveryCloudSqlFilter message. Does not implicitly {@link google.privacy.dlp.v2.DiscoveryCloudSqlFilter.verify|verify} messages.
+ * @param message DiscoveryCloudSqlFilter message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.IDiscoveryCloudSqlFilter, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified DiscoveryCloudSqlFilter message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.DiscoveryCloudSqlFilter.verify|verify} messages.
+ * @param message DiscoveryCloudSqlFilter message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.IDiscoveryCloudSqlFilter, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a DiscoveryCloudSqlFilter message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns DiscoveryCloudSqlFilter
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.DiscoveryCloudSqlFilter;
+
+ /**
+ * Decodes a DiscoveryCloudSqlFilter message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns DiscoveryCloudSqlFilter
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.DiscoveryCloudSqlFilter;
+
+ /**
+ * Verifies a DiscoveryCloudSqlFilter message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a DiscoveryCloudSqlFilter message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns DiscoveryCloudSqlFilter
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.DiscoveryCloudSqlFilter;
+
+ /**
+ * Creates a plain object from a DiscoveryCloudSqlFilter message. Also converts values to other types if specified.
+ * @param message DiscoveryCloudSqlFilter
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.DiscoveryCloudSqlFilter, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this DiscoveryCloudSqlFilter to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for DiscoveryCloudSqlFilter
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a DatabaseResourceCollection. */
+ interface IDatabaseResourceCollection {
+
+ /** DatabaseResourceCollection includeRegexes */
+ includeRegexes?: (google.privacy.dlp.v2.IDatabaseResourceRegexes|null);
+ }
+
+ /** Represents a DatabaseResourceCollection. */
+ class DatabaseResourceCollection implements IDatabaseResourceCollection {
+
+ /**
+ * Constructs a new DatabaseResourceCollection.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.IDatabaseResourceCollection);
+
+ /** DatabaseResourceCollection includeRegexes. */
+ public includeRegexes?: (google.privacy.dlp.v2.IDatabaseResourceRegexes|null);
+
+ /** DatabaseResourceCollection pattern. */
+ public pattern?: "includeRegexes";
+
+ /**
+ * Creates a new DatabaseResourceCollection instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns DatabaseResourceCollection instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.IDatabaseResourceCollection): google.privacy.dlp.v2.DatabaseResourceCollection;
+
+ /**
+ * Encodes the specified DatabaseResourceCollection message. Does not implicitly {@link google.privacy.dlp.v2.DatabaseResourceCollection.verify|verify} messages.
+ * @param message DatabaseResourceCollection message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.IDatabaseResourceCollection, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified DatabaseResourceCollection message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.DatabaseResourceCollection.verify|verify} messages.
+ * @param message DatabaseResourceCollection message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.IDatabaseResourceCollection, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a DatabaseResourceCollection message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns DatabaseResourceCollection
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.DatabaseResourceCollection;
+
+ /**
+ * Decodes a DatabaseResourceCollection message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns DatabaseResourceCollection
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.DatabaseResourceCollection;
+
+ /**
+ * Verifies a DatabaseResourceCollection message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a DatabaseResourceCollection message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns DatabaseResourceCollection
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.DatabaseResourceCollection;
+
+ /**
+ * Creates a plain object from a DatabaseResourceCollection message. Also converts values to other types if specified.
+ * @param message DatabaseResourceCollection
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.DatabaseResourceCollection, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this DatabaseResourceCollection to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for DatabaseResourceCollection
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a DatabaseResourceRegexes. */
+ interface IDatabaseResourceRegexes {
+
+ /** DatabaseResourceRegexes patterns */
+ patterns?: (google.privacy.dlp.v2.IDatabaseResourceRegex[]|null);
+ }
+
+ /** Represents a DatabaseResourceRegexes. */
+ class DatabaseResourceRegexes implements IDatabaseResourceRegexes {
+
+ /**
+ * Constructs a new DatabaseResourceRegexes.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.IDatabaseResourceRegexes);
+
+ /** DatabaseResourceRegexes patterns. */
+ public patterns: google.privacy.dlp.v2.IDatabaseResourceRegex[];
+
+ /**
+ * Creates a new DatabaseResourceRegexes instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns DatabaseResourceRegexes instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.IDatabaseResourceRegexes): google.privacy.dlp.v2.DatabaseResourceRegexes;
+
+ /**
+ * Encodes the specified DatabaseResourceRegexes message. Does not implicitly {@link google.privacy.dlp.v2.DatabaseResourceRegexes.verify|verify} messages.
+ * @param message DatabaseResourceRegexes message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.IDatabaseResourceRegexes, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified DatabaseResourceRegexes message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.DatabaseResourceRegexes.verify|verify} messages.
+ * @param message DatabaseResourceRegexes message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.IDatabaseResourceRegexes, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a DatabaseResourceRegexes message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns DatabaseResourceRegexes
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.DatabaseResourceRegexes;
+
+ /**
+ * Decodes a DatabaseResourceRegexes message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns DatabaseResourceRegexes
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.DatabaseResourceRegexes;
+
+ /**
+ * Verifies a DatabaseResourceRegexes message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a DatabaseResourceRegexes message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns DatabaseResourceRegexes
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.DatabaseResourceRegexes;
+
+ /**
+ * Creates a plain object from a DatabaseResourceRegexes message. Also converts values to other types if specified.
+ * @param message DatabaseResourceRegexes
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.DatabaseResourceRegexes, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this DatabaseResourceRegexes to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for DatabaseResourceRegexes
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a DatabaseResourceRegex. */
+ interface IDatabaseResourceRegex {
+
+ /** DatabaseResourceRegex projectIdRegex */
+ projectIdRegex?: (string|null);
+
+ /** DatabaseResourceRegex instanceRegex */
+ instanceRegex?: (string|null);
+
+ /** DatabaseResourceRegex databaseRegex */
+ databaseRegex?: (string|null);
+
+ /** DatabaseResourceRegex databaseResourceNameRegex */
+ databaseResourceNameRegex?: (string|null);
+ }
+
+ /** Represents a DatabaseResourceRegex. */
+ class DatabaseResourceRegex implements IDatabaseResourceRegex {
+
+ /**
+ * Constructs a new DatabaseResourceRegex.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.IDatabaseResourceRegex);
+
+ /** DatabaseResourceRegex projectIdRegex. */
+ public projectIdRegex: string;
+
+ /** DatabaseResourceRegex instanceRegex. */
+ public instanceRegex: string;
+
+ /** DatabaseResourceRegex databaseRegex. */
+ public databaseRegex: string;
+
+ /** DatabaseResourceRegex databaseResourceNameRegex. */
+ public databaseResourceNameRegex: string;
+
+ /**
+ * Creates a new DatabaseResourceRegex instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns DatabaseResourceRegex instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.IDatabaseResourceRegex): google.privacy.dlp.v2.DatabaseResourceRegex;
+
+ /**
+ * Encodes the specified DatabaseResourceRegex message. Does not implicitly {@link google.privacy.dlp.v2.DatabaseResourceRegex.verify|verify} messages.
+ * @param message DatabaseResourceRegex message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.IDatabaseResourceRegex, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified DatabaseResourceRegex message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.DatabaseResourceRegex.verify|verify} messages.
+ * @param message DatabaseResourceRegex message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.IDatabaseResourceRegex, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a DatabaseResourceRegex message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns DatabaseResourceRegex
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.DatabaseResourceRegex;
+
+ /**
+ * Decodes a DatabaseResourceRegex message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns DatabaseResourceRegex
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.DatabaseResourceRegex;
+
+ /**
+ * Verifies a DatabaseResourceRegex message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a DatabaseResourceRegex message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns DatabaseResourceRegex
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.DatabaseResourceRegex;
+
+ /**
+ * Creates a plain object from a DatabaseResourceRegex message. Also converts values to other types if specified.
+ * @param message DatabaseResourceRegex
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.DatabaseResourceRegex, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this DatabaseResourceRegex to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for DatabaseResourceRegex
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of an AllOtherDatabaseResources. */
+ interface IAllOtherDatabaseResources {
+ }
+
+ /** Represents an AllOtherDatabaseResources. */
+ class AllOtherDatabaseResources implements IAllOtherDatabaseResources {
+
+ /**
+ * Constructs a new AllOtherDatabaseResources.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.IAllOtherDatabaseResources);
+
+ /**
+ * Creates a new AllOtherDatabaseResources instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns AllOtherDatabaseResources instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.IAllOtherDatabaseResources): google.privacy.dlp.v2.AllOtherDatabaseResources;
+
+ /**
+ * Encodes the specified AllOtherDatabaseResources message. Does not implicitly {@link google.privacy.dlp.v2.AllOtherDatabaseResources.verify|verify} messages.
+ * @param message AllOtherDatabaseResources message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.IAllOtherDatabaseResources, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified AllOtherDatabaseResources message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.AllOtherDatabaseResources.verify|verify} messages.
+ * @param message AllOtherDatabaseResources message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.IAllOtherDatabaseResources, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an AllOtherDatabaseResources message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns AllOtherDatabaseResources
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.AllOtherDatabaseResources;
+
+ /**
+ * Decodes an AllOtherDatabaseResources message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns AllOtherDatabaseResources
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.AllOtherDatabaseResources;
+
+ /**
+ * Verifies an AllOtherDatabaseResources message.
+ * @param message Plain 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 AllOtherDatabaseResources message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns AllOtherDatabaseResources
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.AllOtherDatabaseResources;
+
+ /**
+ * Creates a plain object from an AllOtherDatabaseResources message. Also converts values to other types if specified.
+ * @param message AllOtherDatabaseResources
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.AllOtherDatabaseResources, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this AllOtherDatabaseResources to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for AllOtherDatabaseResources
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a DatabaseResourceReference. */
+ interface IDatabaseResourceReference {
+
+ /** DatabaseResourceReference projectId */
+ projectId?: (string|null);
+
+ /** DatabaseResourceReference instance */
+ instance?: (string|null);
+
+ /** DatabaseResourceReference database */
+ database?: (string|null);
+
+ /** DatabaseResourceReference databaseResource */
+ databaseResource?: (string|null);
+ }
+
+ /** Represents a DatabaseResourceReference. */
+ class DatabaseResourceReference implements IDatabaseResourceReference {
+
+ /**
+ * Constructs a new DatabaseResourceReference.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.IDatabaseResourceReference);
+
+ /** DatabaseResourceReference projectId. */
+ public projectId: string;
+
+ /** DatabaseResourceReference instance. */
+ public instance: string;
+
+ /** DatabaseResourceReference database. */
+ public database: string;
+
+ /** DatabaseResourceReference databaseResource. */
+ public databaseResource: string;
+
+ /**
+ * Creates a new DatabaseResourceReference instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns DatabaseResourceReference instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.IDatabaseResourceReference): google.privacy.dlp.v2.DatabaseResourceReference;
+
+ /**
+ * Encodes the specified DatabaseResourceReference message. Does not implicitly {@link google.privacy.dlp.v2.DatabaseResourceReference.verify|verify} messages.
+ * @param message DatabaseResourceReference message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.IDatabaseResourceReference, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified DatabaseResourceReference message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.DatabaseResourceReference.verify|verify} messages.
+ * @param message DatabaseResourceReference message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.IDatabaseResourceReference, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a DatabaseResourceReference message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns DatabaseResourceReference
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.DatabaseResourceReference;
+
+ /**
+ * Decodes a DatabaseResourceReference message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns DatabaseResourceReference
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.DatabaseResourceReference;
+
+ /**
+ * Verifies a DatabaseResourceReference message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a DatabaseResourceReference message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns DatabaseResourceReference
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.DatabaseResourceReference;
+
+ /**
+ * Creates a plain object from a DatabaseResourceReference message. Also converts values to other types if specified.
+ * @param message DatabaseResourceReference
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.DatabaseResourceReference, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this DatabaseResourceReference to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for DatabaseResourceReference
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a DiscoveryCloudSqlConditions. */
+ interface IDiscoveryCloudSqlConditions {
+
+ /** DiscoveryCloudSqlConditions databaseEngines */
+ databaseEngines?: (google.privacy.dlp.v2.DiscoveryCloudSqlConditions.DatabaseEngine[]|null);
+
+ /** DiscoveryCloudSqlConditions types */
+ types?: (google.privacy.dlp.v2.DiscoveryCloudSqlConditions.DatabaseResourceType[]|null);
+ }
+
+ /** Represents a DiscoveryCloudSqlConditions. */
+ class DiscoveryCloudSqlConditions implements IDiscoveryCloudSqlConditions {
+
+ /**
+ * Constructs a new DiscoveryCloudSqlConditions.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.IDiscoveryCloudSqlConditions);
+
+ /** DiscoveryCloudSqlConditions databaseEngines. */
+ public databaseEngines: google.privacy.dlp.v2.DiscoveryCloudSqlConditions.DatabaseEngine[];
+
+ /** DiscoveryCloudSqlConditions types. */
+ public types: google.privacy.dlp.v2.DiscoveryCloudSqlConditions.DatabaseResourceType[];
+
+ /**
+ * Creates a new DiscoveryCloudSqlConditions instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns DiscoveryCloudSqlConditions instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.IDiscoveryCloudSqlConditions): google.privacy.dlp.v2.DiscoveryCloudSqlConditions;
+
+ /**
+ * Encodes the specified DiscoveryCloudSqlConditions message. Does not implicitly {@link google.privacy.dlp.v2.DiscoveryCloudSqlConditions.verify|verify} messages.
+ * @param message DiscoveryCloudSqlConditions message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.IDiscoveryCloudSqlConditions, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified DiscoveryCloudSqlConditions message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.DiscoveryCloudSqlConditions.verify|verify} messages.
+ * @param message DiscoveryCloudSqlConditions message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.IDiscoveryCloudSqlConditions, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a DiscoveryCloudSqlConditions message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns DiscoveryCloudSqlConditions
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.DiscoveryCloudSqlConditions;
+
+ /**
+ * Decodes a DiscoveryCloudSqlConditions message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns DiscoveryCloudSqlConditions
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.DiscoveryCloudSqlConditions;
+
+ /**
+ * Verifies a DiscoveryCloudSqlConditions message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a DiscoveryCloudSqlConditions message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns DiscoveryCloudSqlConditions
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.DiscoveryCloudSqlConditions;
+
+ /**
+ * Creates a plain object from a DiscoveryCloudSqlConditions message. Also converts values to other types if specified.
+ * @param message DiscoveryCloudSqlConditions
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.DiscoveryCloudSqlConditions, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this DiscoveryCloudSqlConditions to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for DiscoveryCloudSqlConditions
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace DiscoveryCloudSqlConditions {
+
+ /** DatabaseEngine enum. */
+ enum DatabaseEngine {
+ DATABASE_ENGINE_UNSPECIFIED = 0,
+ ALL_SUPPORTED_DATABASE_ENGINES = 1,
+ MYSQL = 2,
+ POSTGRES = 3
+ }
+
+ /** DatabaseResourceType enum. */
+ enum DatabaseResourceType {
+ DATABASE_RESOURCE_TYPE_UNSPECIFIED = 0,
+ DATABASE_RESOURCE_TYPE_ALL_SUPPORTED_TYPES = 1,
+ DATABASE_RESOURCE_TYPE_TABLE = 2
+ }
+ }
+
+ /** Properties of a DiscoveryCloudSqlGenerationCadence. */
+ interface IDiscoveryCloudSqlGenerationCadence {
+
+ /** DiscoveryCloudSqlGenerationCadence schemaModifiedCadence */
+ schemaModifiedCadence?: (google.privacy.dlp.v2.DiscoveryCloudSqlGenerationCadence.ISchemaModifiedCadence|null);
+
+ /** DiscoveryCloudSqlGenerationCadence refreshFrequency */
+ refreshFrequency?: (google.privacy.dlp.v2.DataProfileUpdateFrequency|keyof typeof google.privacy.dlp.v2.DataProfileUpdateFrequency|null);
+
+ /** DiscoveryCloudSqlGenerationCadence inspectTemplateModifiedCadence */
+ inspectTemplateModifiedCadence?: (google.privacy.dlp.v2.IDiscoveryInspectTemplateModifiedCadence|null);
+ }
+
+ /** Represents a DiscoveryCloudSqlGenerationCadence. */
+ class DiscoveryCloudSqlGenerationCadence implements IDiscoveryCloudSqlGenerationCadence {
+
+ /**
+ * Constructs a new DiscoveryCloudSqlGenerationCadence.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.IDiscoveryCloudSqlGenerationCadence);
+
+ /** DiscoveryCloudSqlGenerationCadence schemaModifiedCadence. */
+ public schemaModifiedCadence?: (google.privacy.dlp.v2.DiscoveryCloudSqlGenerationCadence.ISchemaModifiedCadence|null);
+
+ /** DiscoveryCloudSqlGenerationCadence refreshFrequency. */
+ public refreshFrequency: (google.privacy.dlp.v2.DataProfileUpdateFrequency|keyof typeof google.privacy.dlp.v2.DataProfileUpdateFrequency);
+
+ /** DiscoveryCloudSqlGenerationCadence inspectTemplateModifiedCadence. */
+ public inspectTemplateModifiedCadence?: (google.privacy.dlp.v2.IDiscoveryInspectTemplateModifiedCadence|null);
+
+ /**
+ * Creates a new DiscoveryCloudSqlGenerationCadence instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns DiscoveryCloudSqlGenerationCadence instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.IDiscoveryCloudSqlGenerationCadence): google.privacy.dlp.v2.DiscoveryCloudSqlGenerationCadence;
+
+ /**
+ * Encodes the specified DiscoveryCloudSqlGenerationCadence message. Does not implicitly {@link google.privacy.dlp.v2.DiscoveryCloudSqlGenerationCadence.verify|verify} messages.
+ * @param message DiscoveryCloudSqlGenerationCadence message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.IDiscoveryCloudSqlGenerationCadence, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified DiscoveryCloudSqlGenerationCadence message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.DiscoveryCloudSqlGenerationCadence.verify|verify} messages.
+ * @param message DiscoveryCloudSqlGenerationCadence message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.IDiscoveryCloudSqlGenerationCadence, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a DiscoveryCloudSqlGenerationCadence message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns DiscoveryCloudSqlGenerationCadence
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.DiscoveryCloudSqlGenerationCadence;
+
+ /**
+ * Decodes a DiscoveryCloudSqlGenerationCadence message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns DiscoveryCloudSqlGenerationCadence
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.DiscoveryCloudSqlGenerationCadence;
+
+ /**
+ * Verifies a DiscoveryCloudSqlGenerationCadence message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a DiscoveryCloudSqlGenerationCadence message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns DiscoveryCloudSqlGenerationCadence
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.DiscoveryCloudSqlGenerationCadence;
+
+ /**
+ * Creates a plain object from a DiscoveryCloudSqlGenerationCadence message. Also converts values to other types if specified.
+ * @param message DiscoveryCloudSqlGenerationCadence
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.DiscoveryCloudSqlGenerationCadence, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this DiscoveryCloudSqlGenerationCadence to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for DiscoveryCloudSqlGenerationCadence
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace DiscoveryCloudSqlGenerationCadence {
+
+ /** Properties of a SchemaModifiedCadence. */
+ interface ISchemaModifiedCadence {
+
+ /** SchemaModifiedCadence types */
+ types?: (google.privacy.dlp.v2.DiscoveryCloudSqlGenerationCadence.SchemaModifiedCadence.CloudSqlSchemaModification[]|null);
+
+ /** SchemaModifiedCadence frequency */
+ frequency?: (google.privacy.dlp.v2.DataProfileUpdateFrequency|keyof typeof google.privacy.dlp.v2.DataProfileUpdateFrequency|null);
+ }
+
+ /** Represents a SchemaModifiedCadence. */
+ class SchemaModifiedCadence implements ISchemaModifiedCadence {
+
+ /**
+ * Constructs a new SchemaModifiedCadence.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.DiscoveryCloudSqlGenerationCadence.ISchemaModifiedCadence);
+
+ /** SchemaModifiedCadence types. */
+ public types: google.privacy.dlp.v2.DiscoveryCloudSqlGenerationCadence.SchemaModifiedCadence.CloudSqlSchemaModification[];
+
+ /** SchemaModifiedCadence frequency. */
+ public frequency: (google.privacy.dlp.v2.DataProfileUpdateFrequency|keyof typeof google.privacy.dlp.v2.DataProfileUpdateFrequency);
+
+ /**
+ * Creates a new SchemaModifiedCadence instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns SchemaModifiedCadence instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.DiscoveryCloudSqlGenerationCadence.ISchemaModifiedCadence): google.privacy.dlp.v2.DiscoveryCloudSqlGenerationCadence.SchemaModifiedCadence;
+
+ /**
+ * Encodes the specified SchemaModifiedCadence message. Does not implicitly {@link google.privacy.dlp.v2.DiscoveryCloudSqlGenerationCadence.SchemaModifiedCadence.verify|verify} messages.
+ * @param message SchemaModifiedCadence message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.DiscoveryCloudSqlGenerationCadence.ISchemaModifiedCadence, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified SchemaModifiedCadence message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.DiscoveryCloudSqlGenerationCadence.SchemaModifiedCadence.verify|verify} messages.
+ * @param message SchemaModifiedCadence message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.DiscoveryCloudSqlGenerationCadence.ISchemaModifiedCadence, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a SchemaModifiedCadence message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns SchemaModifiedCadence
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.DiscoveryCloudSqlGenerationCadence.SchemaModifiedCadence;
+
+ /**
+ * Decodes a SchemaModifiedCadence message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns SchemaModifiedCadence
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.DiscoveryCloudSqlGenerationCadence.SchemaModifiedCadence;
+
+ /**
+ * Verifies a SchemaModifiedCadence message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a SchemaModifiedCadence message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns SchemaModifiedCadence
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.DiscoveryCloudSqlGenerationCadence.SchemaModifiedCadence;
+
+ /**
+ * Creates a plain object from a SchemaModifiedCadence message. Also converts values to other types if specified.
+ * @param message SchemaModifiedCadence
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.DiscoveryCloudSqlGenerationCadence.SchemaModifiedCadence, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this SchemaModifiedCadence to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for SchemaModifiedCadence
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace SchemaModifiedCadence {
+
+ /** CloudSqlSchemaModification enum. */
+ enum CloudSqlSchemaModification {
+ SQL_SCHEMA_MODIFICATION_UNSPECIFIED = 0,
+ NEW_COLUMNS = 1,
+ REMOVED_COLUMNS = 2
+ }
+ }
+ }
+
+ /** Properties of a SecretsDiscoveryTarget. */
+ interface ISecretsDiscoveryTarget {
+ }
+
+ /** Represents a SecretsDiscoveryTarget. */
+ class SecretsDiscoveryTarget implements ISecretsDiscoveryTarget {
+
+ /**
+ * Constructs a new SecretsDiscoveryTarget.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.ISecretsDiscoveryTarget);
+
+ /**
+ * Creates a new SecretsDiscoveryTarget instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns SecretsDiscoveryTarget instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.ISecretsDiscoveryTarget): google.privacy.dlp.v2.SecretsDiscoveryTarget;
+
+ /**
+ * Encodes the specified SecretsDiscoveryTarget message. Does not implicitly {@link google.privacy.dlp.v2.SecretsDiscoveryTarget.verify|verify} messages.
+ * @param message SecretsDiscoveryTarget message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.ISecretsDiscoveryTarget, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified SecretsDiscoveryTarget message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.SecretsDiscoveryTarget.verify|verify} messages.
+ * @param message SecretsDiscoveryTarget message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.ISecretsDiscoveryTarget, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a SecretsDiscoveryTarget message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns SecretsDiscoveryTarget
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.SecretsDiscoveryTarget;
+
+ /**
+ * Decodes a SecretsDiscoveryTarget message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns SecretsDiscoveryTarget
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.SecretsDiscoveryTarget;
+
+ /**
+ * Verifies a SecretsDiscoveryTarget message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a SecretsDiscoveryTarget message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns SecretsDiscoveryTarget
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.SecretsDiscoveryTarget;
+
+ /**
+ * Creates a plain object from a SecretsDiscoveryTarget message. Also converts values to other types if specified.
+ * @param message SecretsDiscoveryTarget
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.SecretsDiscoveryTarget, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this SecretsDiscoveryTarget to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for SecretsDiscoveryTarget
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a CloudStorageDiscoveryTarget. */
+ interface ICloudStorageDiscoveryTarget {
+
+ /** CloudStorageDiscoveryTarget filter */
+ filter?: (google.privacy.dlp.v2.IDiscoveryCloudStorageFilter|null);
+
+ /** CloudStorageDiscoveryTarget conditions */
+ conditions?: (google.privacy.dlp.v2.IDiscoveryFileStoreConditions|null);
+
+ /** CloudStorageDiscoveryTarget generationCadence */
+ generationCadence?: (google.privacy.dlp.v2.IDiscoveryCloudStorageGenerationCadence|null);
+
+ /** CloudStorageDiscoveryTarget disabled */
+ disabled?: (google.privacy.dlp.v2.IDisabled|null);
+ }
+
+ /** Represents a CloudStorageDiscoveryTarget. */
+ class CloudStorageDiscoveryTarget implements ICloudStorageDiscoveryTarget {
+
+ /**
+ * Constructs a new CloudStorageDiscoveryTarget.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.ICloudStorageDiscoveryTarget);
+
+ /** CloudStorageDiscoveryTarget filter. */
+ public filter?: (google.privacy.dlp.v2.IDiscoveryCloudStorageFilter|null);
+
+ /** CloudStorageDiscoveryTarget conditions. */
+ public conditions?: (google.privacy.dlp.v2.IDiscoveryFileStoreConditions|null);
+
+ /** CloudStorageDiscoveryTarget generationCadence. */
+ public generationCadence?: (google.privacy.dlp.v2.IDiscoveryCloudStorageGenerationCadence|null);
+
+ /** CloudStorageDiscoveryTarget disabled. */
+ public disabled?: (google.privacy.dlp.v2.IDisabled|null);
+
+ /** CloudStorageDiscoveryTarget cadence. */
+ public cadence?: ("generationCadence"|"disabled");
+
+ /**
+ * Creates a new CloudStorageDiscoveryTarget instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns CloudStorageDiscoveryTarget instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.ICloudStorageDiscoveryTarget): google.privacy.dlp.v2.CloudStorageDiscoveryTarget;
+
+ /**
+ * Encodes the specified CloudStorageDiscoveryTarget message. Does not implicitly {@link google.privacy.dlp.v2.CloudStorageDiscoveryTarget.verify|verify} messages.
+ * @param message CloudStorageDiscoveryTarget message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.ICloudStorageDiscoveryTarget, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified CloudStorageDiscoveryTarget message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.CloudStorageDiscoveryTarget.verify|verify} messages.
+ * @param message CloudStorageDiscoveryTarget message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.ICloudStorageDiscoveryTarget, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a CloudStorageDiscoveryTarget message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns CloudStorageDiscoveryTarget
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.CloudStorageDiscoveryTarget;
+
+ /**
+ * Decodes a CloudStorageDiscoveryTarget message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns CloudStorageDiscoveryTarget
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.CloudStorageDiscoveryTarget;
+
+ /**
+ * Verifies a CloudStorageDiscoveryTarget message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a CloudStorageDiscoveryTarget message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns CloudStorageDiscoveryTarget
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.CloudStorageDiscoveryTarget;
+
+ /**
+ * Creates a plain object from a CloudStorageDiscoveryTarget message. Also converts values to other types if specified.
+ * @param message CloudStorageDiscoveryTarget
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.CloudStorageDiscoveryTarget, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this CloudStorageDiscoveryTarget to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for CloudStorageDiscoveryTarget
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a DiscoveryCloudStorageFilter. */
+ interface IDiscoveryCloudStorageFilter {
+
+ /** DiscoveryCloudStorageFilter collection */
+ collection?: (google.privacy.dlp.v2.IFileStoreCollection|null);
+
+ /** DiscoveryCloudStorageFilter cloudStorageResourceReference */
+ cloudStorageResourceReference?: (google.privacy.dlp.v2.ICloudStorageResourceReference|null);
+
+ /** DiscoveryCloudStorageFilter others */
+ others?: (google.privacy.dlp.v2.IAllOtherResources|null);
+ }
+
+ /** Represents a DiscoveryCloudStorageFilter. */
+ class DiscoveryCloudStorageFilter implements IDiscoveryCloudStorageFilter {
+
+ /**
+ * Constructs a new DiscoveryCloudStorageFilter.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.IDiscoveryCloudStorageFilter);
+
+ /** DiscoveryCloudStorageFilter collection. */
+ public collection?: (google.privacy.dlp.v2.IFileStoreCollection|null);
+
+ /** DiscoveryCloudStorageFilter cloudStorageResourceReference. */
+ public cloudStorageResourceReference?: (google.privacy.dlp.v2.ICloudStorageResourceReference|null);
+
+ /** DiscoveryCloudStorageFilter others. */
+ public others?: (google.privacy.dlp.v2.IAllOtherResources|null);
+
+ /** DiscoveryCloudStorageFilter filter. */
+ public filter?: ("collection"|"cloudStorageResourceReference"|"others");
+
+ /**
+ * Creates a new DiscoveryCloudStorageFilter instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns DiscoveryCloudStorageFilter instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.IDiscoveryCloudStorageFilter): google.privacy.dlp.v2.DiscoveryCloudStorageFilter;
+
+ /**
+ * Encodes the specified DiscoveryCloudStorageFilter message. Does not implicitly {@link google.privacy.dlp.v2.DiscoveryCloudStorageFilter.verify|verify} messages.
+ * @param message DiscoveryCloudStorageFilter message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.IDiscoveryCloudStorageFilter, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified DiscoveryCloudStorageFilter message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.DiscoveryCloudStorageFilter.verify|verify} messages.
+ * @param message DiscoveryCloudStorageFilter message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.IDiscoveryCloudStorageFilter, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a DiscoveryCloudStorageFilter message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns DiscoveryCloudStorageFilter
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.DiscoveryCloudStorageFilter;
+
+ /**
+ * Decodes a DiscoveryCloudStorageFilter message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns DiscoveryCloudStorageFilter
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.DiscoveryCloudStorageFilter;
+
+ /**
+ * Verifies a DiscoveryCloudStorageFilter message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a DiscoveryCloudStorageFilter message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns DiscoveryCloudStorageFilter
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.DiscoveryCloudStorageFilter;
+
+ /**
+ * Creates a plain object from a DiscoveryCloudStorageFilter message. Also converts values to other types if specified.
+ * @param message DiscoveryCloudStorageFilter
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.DiscoveryCloudStorageFilter, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this DiscoveryCloudStorageFilter to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for DiscoveryCloudStorageFilter
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a FileStoreCollection. */
+ interface IFileStoreCollection {
+
+ /** FileStoreCollection includeRegexes */
+ includeRegexes?: (google.privacy.dlp.v2.IFileStoreRegexes|null);
+
+ /** FileStoreCollection includeTags */
+ includeTags?: (google.privacy.dlp.v2.ITagFilters|null);
+ }
+
+ /** Represents a FileStoreCollection. */
+ class FileStoreCollection implements IFileStoreCollection {
+
+ /**
+ * Constructs a new FileStoreCollection.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.IFileStoreCollection);
+
+ /** FileStoreCollection includeRegexes. */
+ public includeRegexes?: (google.privacy.dlp.v2.IFileStoreRegexes|null);
+
+ /** FileStoreCollection includeTags. */
+ public includeTags?: (google.privacy.dlp.v2.ITagFilters|null);
+
+ /** FileStoreCollection pattern. */
+ public pattern?: "includeRegexes";
+
+ /**
+ * Creates a new FileStoreCollection instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns FileStoreCollection instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.IFileStoreCollection): google.privacy.dlp.v2.FileStoreCollection;
+
+ /**
+ * Encodes the specified FileStoreCollection message. Does not implicitly {@link google.privacy.dlp.v2.FileStoreCollection.verify|verify} messages.
+ * @param message FileStoreCollection message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.IFileStoreCollection, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified FileStoreCollection message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.FileStoreCollection.verify|verify} messages.
+ * @param message FileStoreCollection message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.IFileStoreCollection, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a FileStoreCollection message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns FileStoreCollection
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.FileStoreCollection;
+
+ /**
+ * Decodes a FileStoreCollection message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns FileStoreCollection
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.FileStoreCollection;
+
+ /**
+ * Verifies a FileStoreCollection message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a FileStoreCollection message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns FileStoreCollection
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.FileStoreCollection;
+
+ /**
+ * Creates a plain object from a FileStoreCollection message. Also converts values to other types if specified.
+ * @param message FileStoreCollection
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.FileStoreCollection, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this FileStoreCollection to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for FileStoreCollection
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a FileStoreRegexes. */
+ interface IFileStoreRegexes {
+
+ /** FileStoreRegexes patterns */
+ patterns?: (google.privacy.dlp.v2.IFileStoreRegex[]|null);
+ }
+
+ /** Represents a FileStoreRegexes. */
+ class FileStoreRegexes implements IFileStoreRegexes {
+
+ /**
+ * Constructs a new FileStoreRegexes.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.IFileStoreRegexes);
+
+ /** FileStoreRegexes patterns. */
+ public patterns: google.privacy.dlp.v2.IFileStoreRegex[];
+
+ /**
+ * Creates a new FileStoreRegexes instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns FileStoreRegexes instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.IFileStoreRegexes): google.privacy.dlp.v2.FileStoreRegexes;
+
+ /**
+ * Encodes the specified FileStoreRegexes message. Does not implicitly {@link google.privacy.dlp.v2.FileStoreRegexes.verify|verify} messages.
+ * @param message FileStoreRegexes message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.IFileStoreRegexes, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified FileStoreRegexes message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.FileStoreRegexes.verify|verify} messages.
+ * @param message FileStoreRegexes message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.IFileStoreRegexes, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a FileStoreRegexes message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns FileStoreRegexes
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.FileStoreRegexes;
+
+ /**
+ * Decodes a FileStoreRegexes message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns FileStoreRegexes
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.FileStoreRegexes;
+
+ /**
+ * Verifies a FileStoreRegexes message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a FileStoreRegexes message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns FileStoreRegexes
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.FileStoreRegexes;
+
+ /**
+ * Creates a plain object from a FileStoreRegexes message. Also converts values to other types if specified.
+ * @param message FileStoreRegexes
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.FileStoreRegexes, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this FileStoreRegexes to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for FileStoreRegexes
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a FileStoreRegex. */
+ interface IFileStoreRegex {
+
+ /** FileStoreRegex cloudStorageRegex */
+ cloudStorageRegex?: (google.privacy.dlp.v2.ICloudStorageRegex|null);
+ }
+
+ /** Represents a FileStoreRegex. */
+ class FileStoreRegex implements IFileStoreRegex {
+
+ /**
+ * Constructs a new FileStoreRegex.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.IFileStoreRegex);
+
+ /** FileStoreRegex cloudStorageRegex. */
+ public cloudStorageRegex?: (google.privacy.dlp.v2.ICloudStorageRegex|null);
+
+ /** FileStoreRegex resourceRegex. */
+ public resourceRegex?: "cloudStorageRegex";
+
+ /**
+ * Creates a new FileStoreRegex instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns FileStoreRegex instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.IFileStoreRegex): google.privacy.dlp.v2.FileStoreRegex;
+
+ /**
+ * Encodes the specified FileStoreRegex message. Does not implicitly {@link google.privacy.dlp.v2.FileStoreRegex.verify|verify} messages.
+ * @param message FileStoreRegex message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.IFileStoreRegex, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified FileStoreRegex message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.FileStoreRegex.verify|verify} messages.
+ * @param message FileStoreRegex message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.IFileStoreRegex, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a FileStoreRegex message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns FileStoreRegex
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.FileStoreRegex;
+
+ /**
+ * Decodes a FileStoreRegex message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns FileStoreRegex
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.FileStoreRegex;
+
+ /**
+ * Verifies a FileStoreRegex message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a FileStoreRegex message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns FileStoreRegex
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.FileStoreRegex;
+
+ /**
+ * Creates a plain object from a FileStoreRegex message. Also converts values to other types if specified.
+ * @param message FileStoreRegex
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.FileStoreRegex, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this FileStoreRegex to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for FileStoreRegex
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a CloudStorageRegex. */
+ interface ICloudStorageRegex {
+
+ /** CloudStorageRegex projectIdRegex */
+ projectIdRegex?: (string|null);
+
+ /** CloudStorageRegex bucketNameRegex */
+ bucketNameRegex?: (string|null);
+ }
+
+ /** Represents a CloudStorageRegex. */
+ class CloudStorageRegex implements ICloudStorageRegex {
+
+ /**
+ * Constructs a new CloudStorageRegex.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.ICloudStorageRegex);
+
+ /** CloudStorageRegex projectIdRegex. */
+ public projectIdRegex: string;
+
+ /** CloudStorageRegex bucketNameRegex. */
+ public bucketNameRegex: string;
+
+ /**
+ * Creates a new CloudStorageRegex instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns CloudStorageRegex instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.ICloudStorageRegex): google.privacy.dlp.v2.CloudStorageRegex;
+
+ /**
+ * Encodes the specified CloudStorageRegex message. Does not implicitly {@link google.privacy.dlp.v2.CloudStorageRegex.verify|verify} messages.
+ * @param message CloudStorageRegex message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.ICloudStorageRegex, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified CloudStorageRegex message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.CloudStorageRegex.verify|verify} messages.
+ * @param message CloudStorageRegex message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.ICloudStorageRegex, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a CloudStorageRegex message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns CloudStorageRegex
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.CloudStorageRegex;
+
+ /**
+ * Decodes a CloudStorageRegex message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns CloudStorageRegex
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.CloudStorageRegex;
+
+ /**
+ * Verifies a CloudStorageRegex message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a CloudStorageRegex message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns CloudStorageRegex
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.CloudStorageRegex;
+
+ /**
+ * Creates a plain object from a CloudStorageRegex message. Also converts values to other types if specified.
+ * @param message CloudStorageRegex
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.CloudStorageRegex, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this CloudStorageRegex to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for CloudStorageRegex
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a CloudStorageResourceReference. */
+ interface ICloudStorageResourceReference {
+
+ /** CloudStorageResourceReference bucketName */
+ bucketName?: (string|null);
+
+ /** CloudStorageResourceReference projectId */
+ projectId?: (string|null);
+ }
+
+ /** Represents a CloudStorageResourceReference. */
+ class CloudStorageResourceReference implements ICloudStorageResourceReference {
+
+ /**
+ * Constructs a new CloudStorageResourceReference.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.ICloudStorageResourceReference);
+
+ /** CloudStorageResourceReference bucketName. */
+ public bucketName: string;
+
+ /** CloudStorageResourceReference projectId. */
+ public projectId: string;
+
+ /**
+ * Creates a new CloudStorageResourceReference instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns CloudStorageResourceReference instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.ICloudStorageResourceReference): google.privacy.dlp.v2.CloudStorageResourceReference;
+
+ /**
+ * Encodes the specified CloudStorageResourceReference message. Does not implicitly {@link google.privacy.dlp.v2.CloudStorageResourceReference.verify|verify} messages.
+ * @param message CloudStorageResourceReference message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.ICloudStorageResourceReference, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified CloudStorageResourceReference message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.CloudStorageResourceReference.verify|verify} messages.
+ * @param message CloudStorageResourceReference message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.ICloudStorageResourceReference, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a CloudStorageResourceReference message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns CloudStorageResourceReference
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.CloudStorageResourceReference;
+
+ /**
+ * Decodes a CloudStorageResourceReference message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns CloudStorageResourceReference
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.CloudStorageResourceReference;
+
+ /**
+ * Verifies a CloudStorageResourceReference message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a CloudStorageResourceReference message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns CloudStorageResourceReference
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.CloudStorageResourceReference;
+
+ /**
+ * Creates a plain object from a CloudStorageResourceReference message. Also converts values to other types if specified.
+ * @param message CloudStorageResourceReference
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.CloudStorageResourceReference, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this CloudStorageResourceReference to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for CloudStorageResourceReference
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a DiscoveryCloudStorageGenerationCadence. */
+ interface IDiscoveryCloudStorageGenerationCadence {
+
+ /** DiscoveryCloudStorageGenerationCadence refreshFrequency */
+ refreshFrequency?: (google.privacy.dlp.v2.DataProfileUpdateFrequency|keyof typeof google.privacy.dlp.v2.DataProfileUpdateFrequency|null);
+
+ /** DiscoveryCloudStorageGenerationCadence inspectTemplateModifiedCadence */
+ inspectTemplateModifiedCadence?: (google.privacy.dlp.v2.IDiscoveryInspectTemplateModifiedCadence|null);
+ }
+
+ /** Represents a DiscoveryCloudStorageGenerationCadence. */
+ class DiscoveryCloudStorageGenerationCadence implements IDiscoveryCloudStorageGenerationCadence {
+
+ /**
+ * Constructs a new DiscoveryCloudStorageGenerationCadence.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.IDiscoveryCloudStorageGenerationCadence);
+
+ /** DiscoveryCloudStorageGenerationCadence refreshFrequency. */
+ public refreshFrequency: (google.privacy.dlp.v2.DataProfileUpdateFrequency|keyof typeof google.privacy.dlp.v2.DataProfileUpdateFrequency);
+
+ /** DiscoveryCloudStorageGenerationCadence inspectTemplateModifiedCadence. */
+ public inspectTemplateModifiedCadence?: (google.privacy.dlp.v2.IDiscoveryInspectTemplateModifiedCadence|null);
+
+ /**
+ * Creates a new DiscoveryCloudStorageGenerationCadence instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns DiscoveryCloudStorageGenerationCadence instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.IDiscoveryCloudStorageGenerationCadence): google.privacy.dlp.v2.DiscoveryCloudStorageGenerationCadence;
+
+ /**
+ * Encodes the specified DiscoveryCloudStorageGenerationCadence message. Does not implicitly {@link google.privacy.dlp.v2.DiscoveryCloudStorageGenerationCadence.verify|verify} messages.
+ * @param message DiscoveryCloudStorageGenerationCadence message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.IDiscoveryCloudStorageGenerationCadence, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified DiscoveryCloudStorageGenerationCadence message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.DiscoveryCloudStorageGenerationCadence.verify|verify} messages.
+ * @param message DiscoveryCloudStorageGenerationCadence message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.IDiscoveryCloudStorageGenerationCadence, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a DiscoveryCloudStorageGenerationCadence message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns DiscoveryCloudStorageGenerationCadence
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.DiscoveryCloudStorageGenerationCadence;
+
+ /**
+ * Decodes a DiscoveryCloudStorageGenerationCadence message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns DiscoveryCloudStorageGenerationCadence
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.DiscoveryCloudStorageGenerationCadence;
+
+ /**
+ * Verifies a DiscoveryCloudStorageGenerationCadence message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a DiscoveryCloudStorageGenerationCadence message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns DiscoveryCloudStorageGenerationCadence
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.DiscoveryCloudStorageGenerationCadence;
+
+ /**
+ * Creates a plain object from a DiscoveryCloudStorageGenerationCadence message. Also converts values to other types if specified.
+ * @param message DiscoveryCloudStorageGenerationCadence
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.DiscoveryCloudStorageGenerationCadence, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this DiscoveryCloudStorageGenerationCadence to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for DiscoveryCloudStorageGenerationCadence
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a DiscoveryCloudStorageConditions. */
+ interface IDiscoveryCloudStorageConditions {
+
+ /** DiscoveryCloudStorageConditions includedObjectAttributes */
+ includedObjectAttributes?: (google.privacy.dlp.v2.DiscoveryCloudStorageConditions.CloudStorageObjectAttribute[]|null);
+
+ /** DiscoveryCloudStorageConditions includedBucketAttributes */
+ includedBucketAttributes?: (google.privacy.dlp.v2.DiscoveryCloudStorageConditions.CloudStorageBucketAttribute[]|null);
+ }
+
+ /** Represents a DiscoveryCloudStorageConditions. */
+ class DiscoveryCloudStorageConditions implements IDiscoveryCloudStorageConditions {
+
+ /**
+ * Constructs a new DiscoveryCloudStorageConditions.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.IDiscoveryCloudStorageConditions);
+
+ /** DiscoveryCloudStorageConditions includedObjectAttributes. */
+ public includedObjectAttributes: google.privacy.dlp.v2.DiscoveryCloudStorageConditions.CloudStorageObjectAttribute[];
+
+ /** DiscoveryCloudStorageConditions includedBucketAttributes. */
+ public includedBucketAttributes: google.privacy.dlp.v2.DiscoveryCloudStorageConditions.CloudStorageBucketAttribute[];
+
+ /**
+ * Creates a new DiscoveryCloudStorageConditions instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns DiscoveryCloudStorageConditions instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.IDiscoveryCloudStorageConditions): google.privacy.dlp.v2.DiscoveryCloudStorageConditions;
+
+ /**
+ * Encodes the specified DiscoveryCloudStorageConditions message. Does not implicitly {@link google.privacy.dlp.v2.DiscoveryCloudStorageConditions.verify|verify} messages.
+ * @param message DiscoveryCloudStorageConditions message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.IDiscoveryCloudStorageConditions, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified DiscoveryCloudStorageConditions message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.DiscoveryCloudStorageConditions.verify|verify} messages.
+ * @param message DiscoveryCloudStorageConditions message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.IDiscoveryCloudStorageConditions, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a DiscoveryCloudStorageConditions message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns DiscoveryCloudStorageConditions
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.DiscoveryCloudStorageConditions;
+
+ /**
+ * Decodes a DiscoveryCloudStorageConditions message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns DiscoveryCloudStorageConditions
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.DiscoveryCloudStorageConditions;
+
+ /**
+ * Verifies a DiscoveryCloudStorageConditions message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a DiscoveryCloudStorageConditions message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns DiscoveryCloudStorageConditions
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.DiscoveryCloudStorageConditions;
+
+ /**
+ * Creates a plain object from a DiscoveryCloudStorageConditions message. Also converts values to other types if specified.
+ * @param message DiscoveryCloudStorageConditions
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.DiscoveryCloudStorageConditions, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this DiscoveryCloudStorageConditions to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for DiscoveryCloudStorageConditions
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace DiscoveryCloudStorageConditions {
+
+ /** CloudStorageObjectAttribute enum. */
+ enum CloudStorageObjectAttribute {
+ CLOUD_STORAGE_OBJECT_ATTRIBUTE_UNSPECIFIED = 0,
+ ALL_SUPPORTED_OBJECTS = 1,
+ STANDARD = 2,
+ NEARLINE = 3,
+ COLDLINE = 4,
+ ARCHIVE = 5,
+ REGIONAL = 6,
+ MULTI_REGIONAL = 7,
+ DURABLE_REDUCED_AVAILABILITY = 8
+ }
+
+ /** CloudStorageBucketAttribute enum. */
+ enum CloudStorageBucketAttribute {
+ CLOUD_STORAGE_BUCKET_ATTRIBUTE_UNSPECIFIED = 0,
+ ALL_SUPPORTED_BUCKETS = 1,
+ AUTOCLASS_DISABLED = 2,
+ AUTOCLASS_ENABLED = 3
+ }
+ }
+
+ /** Properties of a DiscoveryFileStoreConditions. */
+ interface IDiscoveryFileStoreConditions {
+
+ /** DiscoveryFileStoreConditions createdAfter */
+ createdAfter?: (google.protobuf.ITimestamp|null);
+
+ /** DiscoveryFileStoreConditions minAge */
+ minAge?: (google.protobuf.IDuration|null);
+
+ /** DiscoveryFileStoreConditions cloudStorageConditions */
+ cloudStorageConditions?: (google.privacy.dlp.v2.IDiscoveryCloudStorageConditions|null);
+ }
+
+ /** Represents a DiscoveryFileStoreConditions. */
+ class DiscoveryFileStoreConditions implements IDiscoveryFileStoreConditions {
+
+ /**
+ * Constructs a new DiscoveryFileStoreConditions.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.IDiscoveryFileStoreConditions);
+
+ /** DiscoveryFileStoreConditions createdAfter. */
+ public createdAfter?: (google.protobuf.ITimestamp|null);
+
+ /** DiscoveryFileStoreConditions minAge. */
+ public minAge?: (google.protobuf.IDuration|null);
+
+ /** DiscoveryFileStoreConditions cloudStorageConditions. */
+ public cloudStorageConditions?: (google.privacy.dlp.v2.IDiscoveryCloudStorageConditions|null);
+
+ /** DiscoveryFileStoreConditions conditions. */
+ public conditions?: "cloudStorageConditions";
+
+ /**
+ * Creates a new DiscoveryFileStoreConditions instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns DiscoveryFileStoreConditions instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.IDiscoveryFileStoreConditions): google.privacy.dlp.v2.DiscoveryFileStoreConditions;
+
+ /**
+ * Encodes the specified DiscoveryFileStoreConditions message. Does not implicitly {@link google.privacy.dlp.v2.DiscoveryFileStoreConditions.verify|verify} messages.
+ * @param message DiscoveryFileStoreConditions message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.IDiscoveryFileStoreConditions, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified DiscoveryFileStoreConditions message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.DiscoveryFileStoreConditions.verify|verify} messages.
+ * @param message DiscoveryFileStoreConditions message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.IDiscoveryFileStoreConditions, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a DiscoveryFileStoreConditions message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns DiscoveryFileStoreConditions
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.DiscoveryFileStoreConditions;
+
+ /**
+ * Decodes a DiscoveryFileStoreConditions message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns DiscoveryFileStoreConditions
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.DiscoveryFileStoreConditions;
+
+ /**
+ * Verifies a DiscoveryFileStoreConditions message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a DiscoveryFileStoreConditions message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns DiscoveryFileStoreConditions
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.DiscoveryFileStoreConditions;
+
+ /**
+ * Creates a plain object from a DiscoveryFileStoreConditions message. Also converts values to other types if specified.
+ * @param message DiscoveryFileStoreConditions
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.DiscoveryFileStoreConditions, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this DiscoveryFileStoreConditions to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for DiscoveryFileStoreConditions
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of an OtherCloudDiscoveryTarget. */
+ interface IOtherCloudDiscoveryTarget {
+
+ /** OtherCloudDiscoveryTarget dataSourceType */
+ dataSourceType?: (google.privacy.dlp.v2.IDataSourceType|null);
+
+ /** OtherCloudDiscoveryTarget filter */
+ filter?: (google.privacy.dlp.v2.IDiscoveryOtherCloudFilter|null);
+
+ /** OtherCloudDiscoveryTarget conditions */
+ conditions?: (google.privacy.dlp.v2.IDiscoveryOtherCloudConditions|null);
+
+ /** OtherCloudDiscoveryTarget generationCadence */
+ generationCadence?: (google.privacy.dlp.v2.IDiscoveryOtherCloudGenerationCadence|null);
+
+ /** OtherCloudDiscoveryTarget disabled */
+ disabled?: (google.privacy.dlp.v2.IDisabled|null);
+ }
+
+ /** Represents an OtherCloudDiscoveryTarget. */
+ class OtherCloudDiscoveryTarget implements IOtherCloudDiscoveryTarget {
+
+ /**
+ * Constructs a new OtherCloudDiscoveryTarget.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.IOtherCloudDiscoveryTarget);
+
+ /** OtherCloudDiscoveryTarget dataSourceType. */
+ public dataSourceType?: (google.privacy.dlp.v2.IDataSourceType|null);
+
+ /** OtherCloudDiscoveryTarget filter. */
+ public filter?: (google.privacy.dlp.v2.IDiscoveryOtherCloudFilter|null);
+
+ /** OtherCloudDiscoveryTarget conditions. */
+ public conditions?: (google.privacy.dlp.v2.IDiscoveryOtherCloudConditions|null);
+
+ /** OtherCloudDiscoveryTarget generationCadence. */
+ public generationCadence?: (google.privacy.dlp.v2.IDiscoveryOtherCloudGenerationCadence|null);
+
+ /** OtherCloudDiscoveryTarget disabled. */
+ public disabled?: (google.privacy.dlp.v2.IDisabled|null);
+
+ /** OtherCloudDiscoveryTarget cadence. */
+ public cadence?: ("generationCadence"|"disabled");
+
+ /**
+ * Creates a new OtherCloudDiscoveryTarget instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns OtherCloudDiscoveryTarget instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.IOtherCloudDiscoveryTarget): google.privacy.dlp.v2.OtherCloudDiscoveryTarget;
+
+ /**
+ * Encodes the specified OtherCloudDiscoveryTarget message. Does not implicitly {@link google.privacy.dlp.v2.OtherCloudDiscoveryTarget.verify|verify} messages.
+ * @param message OtherCloudDiscoveryTarget message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.IOtherCloudDiscoveryTarget, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified OtherCloudDiscoveryTarget message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.OtherCloudDiscoveryTarget.verify|verify} messages.
+ * @param message OtherCloudDiscoveryTarget message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.IOtherCloudDiscoveryTarget, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an OtherCloudDiscoveryTarget message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns OtherCloudDiscoveryTarget
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.OtherCloudDiscoveryTarget;
+
+ /**
+ * Decodes an OtherCloudDiscoveryTarget message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns OtherCloudDiscoveryTarget
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.OtherCloudDiscoveryTarget;
+
+ /**
+ * Verifies an OtherCloudDiscoveryTarget message.
+ * @param message Plain 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 OtherCloudDiscoveryTarget message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns OtherCloudDiscoveryTarget
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.OtherCloudDiscoveryTarget;
+
+ /**
+ * Creates a plain object from an OtherCloudDiscoveryTarget message. Also converts values to other types if specified.
+ * @param message OtherCloudDiscoveryTarget
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.OtherCloudDiscoveryTarget, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this OtherCloudDiscoveryTarget to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for OtherCloudDiscoveryTarget
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a DiscoveryOtherCloudFilter. */
+ interface IDiscoveryOtherCloudFilter {
+
+ /** DiscoveryOtherCloudFilter collection */
+ collection?: (google.privacy.dlp.v2.IOtherCloudResourceCollection|null);
+
+ /** DiscoveryOtherCloudFilter singleResource */
+ singleResource?: (google.privacy.dlp.v2.IOtherCloudSingleResourceReference|null);
+
+ /** DiscoveryOtherCloudFilter others */
+ others?: (google.privacy.dlp.v2.IAllOtherResources|null);
+ }
+
+ /** Represents a DiscoveryOtherCloudFilter. */
+ class DiscoveryOtherCloudFilter implements IDiscoveryOtherCloudFilter {
+
+ /**
+ * Constructs a new DiscoveryOtherCloudFilter.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.IDiscoveryOtherCloudFilter);
+
+ /** DiscoveryOtherCloudFilter collection. */
+ public collection?: (google.privacy.dlp.v2.IOtherCloudResourceCollection|null);
+
+ /** DiscoveryOtherCloudFilter singleResource. */
+ public singleResource?: (google.privacy.dlp.v2.IOtherCloudSingleResourceReference|null);
+
+ /** DiscoveryOtherCloudFilter others. */
+ public others?: (google.privacy.dlp.v2.IAllOtherResources|null);
+
+ /** DiscoveryOtherCloudFilter filter. */
+ public filter?: ("collection"|"singleResource"|"others");
+
+ /**
+ * Creates a new DiscoveryOtherCloudFilter instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns DiscoveryOtherCloudFilter instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.IDiscoveryOtherCloudFilter): google.privacy.dlp.v2.DiscoveryOtherCloudFilter;
+
+ /**
+ * Encodes the specified DiscoveryOtherCloudFilter message. Does not implicitly {@link google.privacy.dlp.v2.DiscoveryOtherCloudFilter.verify|verify} messages.
+ * @param message DiscoveryOtherCloudFilter message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.IDiscoveryOtherCloudFilter, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified DiscoveryOtherCloudFilter message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.DiscoveryOtherCloudFilter.verify|verify} messages.
+ * @param message DiscoveryOtherCloudFilter message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.IDiscoveryOtherCloudFilter, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a DiscoveryOtherCloudFilter message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns DiscoveryOtherCloudFilter
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.DiscoveryOtherCloudFilter;
+
+ /**
+ * Decodes a DiscoveryOtherCloudFilter message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns DiscoveryOtherCloudFilter
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.DiscoveryOtherCloudFilter;
+
+ /**
+ * Verifies a DiscoveryOtherCloudFilter message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a DiscoveryOtherCloudFilter message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns DiscoveryOtherCloudFilter
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.DiscoveryOtherCloudFilter;
+
+ /**
+ * Creates a plain object from a DiscoveryOtherCloudFilter message. Also converts values to other types if specified.
+ * @param message DiscoveryOtherCloudFilter
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.DiscoveryOtherCloudFilter, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this DiscoveryOtherCloudFilter to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for DiscoveryOtherCloudFilter
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of an OtherCloudResourceCollection. */
+ interface IOtherCloudResourceCollection {
+
+ /** OtherCloudResourceCollection includeRegexes */
+ includeRegexes?: (google.privacy.dlp.v2.IOtherCloudResourceRegexes|null);
+ }
+
+ /** Represents an OtherCloudResourceCollection. */
+ class OtherCloudResourceCollection implements IOtherCloudResourceCollection {
+
+ /**
+ * Constructs a new OtherCloudResourceCollection.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.IOtherCloudResourceCollection);
+
+ /** OtherCloudResourceCollection includeRegexes. */
+ public includeRegexes?: (google.privacy.dlp.v2.IOtherCloudResourceRegexes|null);
+
+ /** OtherCloudResourceCollection pattern. */
+ public pattern?: "includeRegexes";
+
+ /**
+ * Creates a new OtherCloudResourceCollection instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns OtherCloudResourceCollection instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.IOtherCloudResourceCollection): google.privacy.dlp.v2.OtherCloudResourceCollection;
+
+ /**
+ * Encodes the specified OtherCloudResourceCollection message. Does not implicitly {@link google.privacy.dlp.v2.OtherCloudResourceCollection.verify|verify} messages.
+ * @param message OtherCloudResourceCollection message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.IOtherCloudResourceCollection, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified OtherCloudResourceCollection message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.OtherCloudResourceCollection.verify|verify} messages.
+ * @param message OtherCloudResourceCollection message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.IOtherCloudResourceCollection, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an OtherCloudResourceCollection message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns OtherCloudResourceCollection
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.OtherCloudResourceCollection;
+
+ /**
+ * Decodes an OtherCloudResourceCollection message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns OtherCloudResourceCollection
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.OtherCloudResourceCollection;
+
+ /**
+ * Verifies an OtherCloudResourceCollection message.
+ * @param message Plain 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 OtherCloudResourceCollection message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns OtherCloudResourceCollection
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.OtherCloudResourceCollection;
+
+ /**
+ * Creates a plain object from an OtherCloudResourceCollection message. Also converts values to other types if specified.
+ * @param message OtherCloudResourceCollection
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.OtherCloudResourceCollection, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this OtherCloudResourceCollection to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for OtherCloudResourceCollection
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of an OtherCloudResourceRegexes. */
+ interface IOtherCloudResourceRegexes {
+
+ /** OtherCloudResourceRegexes patterns */
+ patterns?: (google.privacy.dlp.v2.IOtherCloudResourceRegex[]|null);
+ }
+
+ /** Represents an OtherCloudResourceRegexes. */
+ class OtherCloudResourceRegexes implements IOtherCloudResourceRegexes {
+
+ /**
+ * Constructs a new OtherCloudResourceRegexes.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.IOtherCloudResourceRegexes);
+
+ /** OtherCloudResourceRegexes patterns. */
+ public patterns: google.privacy.dlp.v2.IOtherCloudResourceRegex[];
+
+ /**
+ * Creates a new OtherCloudResourceRegexes instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns OtherCloudResourceRegexes instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.IOtherCloudResourceRegexes): google.privacy.dlp.v2.OtherCloudResourceRegexes;
+
+ /**
+ * Encodes the specified OtherCloudResourceRegexes message. Does not implicitly {@link google.privacy.dlp.v2.OtherCloudResourceRegexes.verify|verify} messages.
+ * @param message OtherCloudResourceRegexes message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.IOtherCloudResourceRegexes, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified OtherCloudResourceRegexes message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.OtherCloudResourceRegexes.verify|verify} messages.
+ * @param message OtherCloudResourceRegexes message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.IOtherCloudResourceRegexes, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an OtherCloudResourceRegexes message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns OtherCloudResourceRegexes
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.OtherCloudResourceRegexes;
+
+ /**
+ * Decodes an OtherCloudResourceRegexes message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns OtherCloudResourceRegexes
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.OtherCloudResourceRegexes;
+
+ /**
+ * Verifies an OtherCloudResourceRegexes message.
+ * @param message Plain 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 OtherCloudResourceRegexes message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns OtherCloudResourceRegexes
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.OtherCloudResourceRegexes;
+
+ /**
+ * Creates a plain object from an OtherCloudResourceRegexes message. Also converts values to other types if specified.
+ * @param message OtherCloudResourceRegexes
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.OtherCloudResourceRegexes, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this OtherCloudResourceRegexes to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for OtherCloudResourceRegexes
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of an OtherCloudResourceRegex. */
+ interface IOtherCloudResourceRegex {
+
+ /** OtherCloudResourceRegex amazonS3BucketRegex */
+ amazonS3BucketRegex?: (google.privacy.dlp.v2.IAmazonS3BucketRegex|null);
+ }
+
+ /** Represents an OtherCloudResourceRegex. */
+ class OtherCloudResourceRegex implements IOtherCloudResourceRegex {
+
+ /**
+ * Constructs a new OtherCloudResourceRegex.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.IOtherCloudResourceRegex);
+
+ /** OtherCloudResourceRegex amazonS3BucketRegex. */
+ public amazonS3BucketRegex?: (google.privacy.dlp.v2.IAmazonS3BucketRegex|null);
+
+ /** OtherCloudResourceRegex resourceRegex. */
+ public resourceRegex?: "amazonS3BucketRegex";
+
+ /**
+ * Creates a new OtherCloudResourceRegex instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns OtherCloudResourceRegex instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.IOtherCloudResourceRegex): google.privacy.dlp.v2.OtherCloudResourceRegex;
+
+ /**
+ * Encodes the specified OtherCloudResourceRegex message. Does not implicitly {@link google.privacy.dlp.v2.OtherCloudResourceRegex.verify|verify} messages.
+ * @param message OtherCloudResourceRegex message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.IOtherCloudResourceRegex, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified OtherCloudResourceRegex message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.OtherCloudResourceRegex.verify|verify} messages.
+ * @param message OtherCloudResourceRegex message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.IOtherCloudResourceRegex, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an OtherCloudResourceRegex message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns OtherCloudResourceRegex
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.OtherCloudResourceRegex;
+
+ /**
+ * Decodes an OtherCloudResourceRegex message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns OtherCloudResourceRegex
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.OtherCloudResourceRegex;
+
+ /**
+ * Verifies an OtherCloudResourceRegex message.
+ * @param message Plain 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 OtherCloudResourceRegex message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns OtherCloudResourceRegex
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.OtherCloudResourceRegex;
+
+ /**
+ * Creates a plain object from an OtherCloudResourceRegex message. Also converts values to other types if specified.
+ * @param message OtherCloudResourceRegex
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.OtherCloudResourceRegex, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this OtherCloudResourceRegex to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for OtherCloudResourceRegex
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of an AwsAccountRegex. */
+ interface IAwsAccountRegex {
+
+ /** AwsAccountRegex accountIdRegex */
+ accountIdRegex?: (string|null);
+ }
+
+ /** Represents an AwsAccountRegex. */
+ class AwsAccountRegex implements IAwsAccountRegex {
+
+ /**
+ * Constructs a new AwsAccountRegex.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.IAwsAccountRegex);
+
+ /** AwsAccountRegex accountIdRegex. */
+ public accountIdRegex: string;
+
+ /**
+ * Creates a new AwsAccountRegex instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns AwsAccountRegex instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.IAwsAccountRegex): google.privacy.dlp.v2.AwsAccountRegex;
+
+ /**
+ * Encodes the specified AwsAccountRegex message. Does not implicitly {@link google.privacy.dlp.v2.AwsAccountRegex.verify|verify} messages.
+ * @param message AwsAccountRegex message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.IAwsAccountRegex, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified AwsAccountRegex message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.AwsAccountRegex.verify|verify} messages.
+ * @param message AwsAccountRegex message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.IAwsAccountRegex, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an AwsAccountRegex message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns AwsAccountRegex
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.AwsAccountRegex;
+
+ /**
+ * Decodes an AwsAccountRegex message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns AwsAccountRegex
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.AwsAccountRegex;
+
+ /**
+ * Verifies an AwsAccountRegex message.
+ * @param message Plain 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 AwsAccountRegex message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns AwsAccountRegex
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.AwsAccountRegex;
+
+ /**
+ * Creates a plain object from an AwsAccountRegex message. Also converts values to other types if specified.
+ * @param message AwsAccountRegex
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.AwsAccountRegex, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this AwsAccountRegex to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for AwsAccountRegex
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of an AmazonS3BucketRegex. */
+ interface IAmazonS3BucketRegex {
+
+ /** AmazonS3BucketRegex awsAccountRegex */
+ awsAccountRegex?: (google.privacy.dlp.v2.IAwsAccountRegex|null);
+
+ /** AmazonS3BucketRegex bucketNameRegex */
+ bucketNameRegex?: (string|null);
+ }
+
+ /** Represents an AmazonS3BucketRegex. */
+ class AmazonS3BucketRegex implements IAmazonS3BucketRegex {
+
+ /**
+ * Constructs a new AmazonS3BucketRegex.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.IAmazonS3BucketRegex);
+
+ /** AmazonS3BucketRegex awsAccountRegex. */
+ public awsAccountRegex?: (google.privacy.dlp.v2.IAwsAccountRegex|null);
+
+ /** AmazonS3BucketRegex bucketNameRegex. */
+ public bucketNameRegex: string;
+
+ /**
+ * Creates a new AmazonS3BucketRegex instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns AmazonS3BucketRegex instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.IAmazonS3BucketRegex): google.privacy.dlp.v2.AmazonS3BucketRegex;
+
+ /**
+ * Encodes the specified AmazonS3BucketRegex message. Does not implicitly {@link google.privacy.dlp.v2.AmazonS3BucketRegex.verify|verify} messages.
+ * @param message AmazonS3BucketRegex message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.IAmazonS3BucketRegex, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified AmazonS3BucketRegex message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.AmazonS3BucketRegex.verify|verify} messages.
+ * @param message AmazonS3BucketRegex message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.IAmazonS3BucketRegex, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an AmazonS3BucketRegex message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns AmazonS3BucketRegex
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.AmazonS3BucketRegex;
+
+ /**
+ * Decodes an AmazonS3BucketRegex message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns AmazonS3BucketRegex
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.AmazonS3BucketRegex;
+
+ /**
+ * Verifies an AmazonS3BucketRegex message.
+ * @param message Plain 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 AmazonS3BucketRegex message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns AmazonS3BucketRegex
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.AmazonS3BucketRegex;
+
+ /**
+ * Creates a plain object from an AmazonS3BucketRegex message. Also converts values to other types if specified.
+ * @param message AmazonS3BucketRegex
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.AmazonS3BucketRegex, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this AmazonS3BucketRegex to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for AmazonS3BucketRegex
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of an OtherCloudSingleResourceReference. */
+ interface IOtherCloudSingleResourceReference {
+
+ /** OtherCloudSingleResourceReference amazonS3Bucket */
+ amazonS3Bucket?: (google.privacy.dlp.v2.IAmazonS3Bucket|null);
+ }
+
+ /** Represents an OtherCloudSingleResourceReference. */
+ class OtherCloudSingleResourceReference implements IOtherCloudSingleResourceReference {
+
+ /**
+ * Constructs a new OtherCloudSingleResourceReference.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.IOtherCloudSingleResourceReference);
+
+ /** OtherCloudSingleResourceReference amazonS3Bucket. */
+ public amazonS3Bucket?: (google.privacy.dlp.v2.IAmazonS3Bucket|null);
+
+ /** OtherCloudSingleResourceReference resource. */
+ public resource?: "amazonS3Bucket";
+
+ /**
+ * Creates a new OtherCloudSingleResourceReference instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns OtherCloudSingleResourceReference instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.IOtherCloudSingleResourceReference): google.privacy.dlp.v2.OtherCloudSingleResourceReference;
+
+ /**
+ * Encodes the specified OtherCloudSingleResourceReference message. Does not implicitly {@link google.privacy.dlp.v2.OtherCloudSingleResourceReference.verify|verify} messages.
+ * @param message OtherCloudSingleResourceReference message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.IOtherCloudSingleResourceReference, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified OtherCloudSingleResourceReference message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.OtherCloudSingleResourceReference.verify|verify} messages.
+ * @param message OtherCloudSingleResourceReference message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.IOtherCloudSingleResourceReference, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an OtherCloudSingleResourceReference message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns OtherCloudSingleResourceReference
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.OtherCloudSingleResourceReference;
+
+ /**
+ * Decodes an OtherCloudSingleResourceReference message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns OtherCloudSingleResourceReference
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.OtherCloudSingleResourceReference;
+
+ /**
+ * Verifies an OtherCloudSingleResourceReference message.
+ * @param message Plain 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 OtherCloudSingleResourceReference message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns OtherCloudSingleResourceReference
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.OtherCloudSingleResourceReference;
+
+ /**
+ * Creates a plain object from an OtherCloudSingleResourceReference message. Also converts values to other types if specified.
+ * @param message OtherCloudSingleResourceReference
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.OtherCloudSingleResourceReference, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this OtherCloudSingleResourceReference to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for OtherCloudSingleResourceReference
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of an AwsAccount. */
+ interface IAwsAccount {
+
+ /** AwsAccount accountId */
+ accountId?: (string|null);
+ }
+
+ /** Represents an AwsAccount. */
+ class AwsAccount implements IAwsAccount {
+
+ /**
+ * Constructs a new AwsAccount.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.IAwsAccount);
+
+ /** AwsAccount accountId. */
+ public accountId: string;
+
+ /**
+ * Creates a new AwsAccount instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns AwsAccount instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.IAwsAccount): google.privacy.dlp.v2.AwsAccount;
+
+ /**
+ * Encodes the specified AwsAccount message. Does not implicitly {@link google.privacy.dlp.v2.AwsAccount.verify|verify} messages.
+ * @param message AwsAccount message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.IAwsAccount, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified AwsAccount message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.AwsAccount.verify|verify} messages.
+ * @param message AwsAccount message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.IAwsAccount, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an AwsAccount message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns AwsAccount
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.AwsAccount;
+
+ /**
+ * Decodes an AwsAccount message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns AwsAccount
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.AwsAccount;
+
+ /**
+ * Verifies an AwsAccount message.
+ * @param message Plain 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 AwsAccount message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns AwsAccount
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.AwsAccount;
+
+ /**
+ * Creates a plain object from an AwsAccount message. Also converts values to other types if specified.
+ * @param message AwsAccount
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.AwsAccount, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this AwsAccount to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for AwsAccount
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of an AmazonS3Bucket. */
+ interface IAmazonS3Bucket {
+
+ /** AmazonS3Bucket awsAccount */
+ awsAccount?: (google.privacy.dlp.v2.IAwsAccount|null);
+
+ /** AmazonS3Bucket bucketName */
+ bucketName?: (string|null);
+ }
+
+ /** Represents an AmazonS3Bucket. */
+ class AmazonS3Bucket implements IAmazonS3Bucket {
+
+ /**
+ * Constructs a new AmazonS3Bucket.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.IAmazonS3Bucket);
+
+ /** AmazonS3Bucket awsAccount. */
+ public awsAccount?: (google.privacy.dlp.v2.IAwsAccount|null);
+
+ /** AmazonS3Bucket bucketName. */
+ public bucketName: string;
+
+ /**
+ * Creates a new AmazonS3Bucket instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns AmazonS3Bucket instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.IAmazonS3Bucket): google.privacy.dlp.v2.AmazonS3Bucket;
+
+ /**
+ * Encodes the specified AmazonS3Bucket message. Does not implicitly {@link google.privacy.dlp.v2.AmazonS3Bucket.verify|verify} messages.
+ * @param message AmazonS3Bucket message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.IAmazonS3Bucket, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified AmazonS3Bucket message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.AmazonS3Bucket.verify|verify} messages.
+ * @param message AmazonS3Bucket message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.IAmazonS3Bucket, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an AmazonS3Bucket message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns AmazonS3Bucket
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.AmazonS3Bucket;
+
+ /**
+ * Decodes an AmazonS3Bucket message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns AmazonS3Bucket
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.AmazonS3Bucket;
+
+ /**
+ * Verifies an AmazonS3Bucket message.
+ * @param message Plain 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 AmazonS3Bucket message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns AmazonS3Bucket
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.AmazonS3Bucket;
+
+ /**
+ * Creates a plain object from an AmazonS3Bucket message. Also converts values to other types if specified.
+ * @param message AmazonS3Bucket
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.AmazonS3Bucket, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this AmazonS3Bucket to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for AmazonS3Bucket
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a DiscoveryOtherCloudConditions. */
+ interface IDiscoveryOtherCloudConditions {
+
+ /** DiscoveryOtherCloudConditions minAge */
+ minAge?: (google.protobuf.IDuration|null);
+
+ /** DiscoveryOtherCloudConditions amazonS3BucketConditions */
+ amazonS3BucketConditions?: (google.privacy.dlp.v2.IAmazonS3BucketConditions|null);
+ }
+
+ /** Represents a DiscoveryOtherCloudConditions. */
+ class DiscoveryOtherCloudConditions implements IDiscoveryOtherCloudConditions {
+
+ /**
+ * Constructs a new DiscoveryOtherCloudConditions.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.IDiscoveryOtherCloudConditions);
+
+ /** DiscoveryOtherCloudConditions minAge. */
+ public minAge?: (google.protobuf.IDuration|null);
+
+ /** DiscoveryOtherCloudConditions amazonS3BucketConditions. */
+ public amazonS3BucketConditions?: (google.privacy.dlp.v2.IAmazonS3BucketConditions|null);
+
+ /** DiscoveryOtherCloudConditions conditions. */
+ public conditions?: "amazonS3BucketConditions";
+
+ /**
+ * Creates a new DiscoveryOtherCloudConditions instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns DiscoveryOtherCloudConditions instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.IDiscoveryOtherCloudConditions): google.privacy.dlp.v2.DiscoveryOtherCloudConditions;
+
+ /**
+ * Encodes the specified DiscoveryOtherCloudConditions message. Does not implicitly {@link google.privacy.dlp.v2.DiscoveryOtherCloudConditions.verify|verify} messages.
+ * @param message DiscoveryOtherCloudConditions message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.IDiscoveryOtherCloudConditions, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified DiscoveryOtherCloudConditions message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.DiscoveryOtherCloudConditions.verify|verify} messages.
+ * @param message DiscoveryOtherCloudConditions message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.IDiscoveryOtherCloudConditions, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a DiscoveryOtherCloudConditions message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns DiscoveryOtherCloudConditions
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.DiscoveryOtherCloudConditions;
+
+ /**
+ * Decodes a DiscoveryOtherCloudConditions message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns DiscoveryOtherCloudConditions
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.DiscoveryOtherCloudConditions;
+
+ /**
+ * Verifies a DiscoveryOtherCloudConditions message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a DiscoveryOtherCloudConditions message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns DiscoveryOtherCloudConditions
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.DiscoveryOtherCloudConditions;
+
+ /**
+ * Creates a plain object from a DiscoveryOtherCloudConditions message. Also converts values to other types if specified.
+ * @param message DiscoveryOtherCloudConditions
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.DiscoveryOtherCloudConditions, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this DiscoveryOtherCloudConditions to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for DiscoveryOtherCloudConditions
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of an AmazonS3BucketConditions. */
+ interface IAmazonS3BucketConditions {
+
+ /** AmazonS3BucketConditions bucketTypes */
+ bucketTypes?: (google.privacy.dlp.v2.AmazonS3BucketConditions.BucketType[]|null);
+
+ /** AmazonS3BucketConditions objectStorageClasses */
+ objectStorageClasses?: (google.privacy.dlp.v2.AmazonS3BucketConditions.ObjectStorageClass[]|null);
+ }
+
+ /** Represents an AmazonS3BucketConditions. */
+ class AmazonS3BucketConditions implements IAmazonS3BucketConditions {
+
+ /**
+ * Constructs a new AmazonS3BucketConditions.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.IAmazonS3BucketConditions);
+
+ /** AmazonS3BucketConditions bucketTypes. */
+ public bucketTypes: google.privacy.dlp.v2.AmazonS3BucketConditions.BucketType[];
+
+ /** AmazonS3BucketConditions objectStorageClasses. */
+ public objectStorageClasses: google.privacy.dlp.v2.AmazonS3BucketConditions.ObjectStorageClass[];
+
+ /**
+ * Creates a new AmazonS3BucketConditions instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns AmazonS3BucketConditions instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.IAmazonS3BucketConditions): google.privacy.dlp.v2.AmazonS3BucketConditions;
+
+ /**
+ * Encodes the specified AmazonS3BucketConditions message. Does not implicitly {@link google.privacy.dlp.v2.AmazonS3BucketConditions.verify|verify} messages.
+ * @param message AmazonS3BucketConditions message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.IAmazonS3BucketConditions, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified AmazonS3BucketConditions message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.AmazonS3BucketConditions.verify|verify} messages.
+ * @param message AmazonS3BucketConditions message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.IAmazonS3BucketConditions, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an AmazonS3BucketConditions message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns AmazonS3BucketConditions
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.AmazonS3BucketConditions;
+
+ /**
+ * Decodes an AmazonS3BucketConditions message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns AmazonS3BucketConditions
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.AmazonS3BucketConditions;
+
+ /**
+ * Verifies an AmazonS3BucketConditions message.
+ * @param message Plain 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 AmazonS3BucketConditions message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns AmazonS3BucketConditions
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.AmazonS3BucketConditions;
+
+ /**
+ * Creates a plain object from an AmazonS3BucketConditions message. Also converts values to other types if specified.
+ * @param message AmazonS3BucketConditions
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.AmazonS3BucketConditions, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this AmazonS3BucketConditions to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for AmazonS3BucketConditions
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace AmazonS3BucketConditions {
+
+ /** BucketType enum. */
+ enum BucketType {
+ TYPE_UNSPECIFIED = 0,
+ TYPE_ALL_SUPPORTED = 1,
+ TYPE_GENERAL_PURPOSE = 2
+ }
+
+ /** ObjectStorageClass enum. */
+ enum ObjectStorageClass {
+ UNSPECIFIED = 0,
+ ALL_SUPPORTED_CLASSES = 1,
+ STANDARD = 2,
+ STANDARD_INFREQUENT_ACCESS = 4,
+ GLACIER_INSTANT_RETRIEVAL = 6,
+ INTELLIGENT_TIERING = 7
+ }
+ }
+
+ /** Properties of a DiscoveryOtherCloudGenerationCadence. */
+ interface IDiscoveryOtherCloudGenerationCadence {
+
+ /** DiscoveryOtherCloudGenerationCadence refreshFrequency */
+ refreshFrequency?: (google.privacy.dlp.v2.DataProfileUpdateFrequency|keyof typeof google.privacy.dlp.v2.DataProfileUpdateFrequency|null);
+
+ /** DiscoveryOtherCloudGenerationCadence inspectTemplateModifiedCadence */
+ inspectTemplateModifiedCadence?: (google.privacy.dlp.v2.IDiscoveryInspectTemplateModifiedCadence|null);
+ }
+
+ /** Represents a DiscoveryOtherCloudGenerationCadence. */
+ class DiscoveryOtherCloudGenerationCadence implements IDiscoveryOtherCloudGenerationCadence {
+
+ /**
+ * Constructs a new DiscoveryOtherCloudGenerationCadence.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.IDiscoveryOtherCloudGenerationCadence);
+
+ /** DiscoveryOtherCloudGenerationCadence refreshFrequency. */
+ public refreshFrequency: (google.privacy.dlp.v2.DataProfileUpdateFrequency|keyof typeof google.privacy.dlp.v2.DataProfileUpdateFrequency);
+
+ /** DiscoveryOtherCloudGenerationCadence inspectTemplateModifiedCadence. */
+ public inspectTemplateModifiedCadence?: (google.privacy.dlp.v2.IDiscoveryInspectTemplateModifiedCadence|null);
+
+ /**
+ * Creates a new DiscoveryOtherCloudGenerationCadence instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns DiscoveryOtherCloudGenerationCadence instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.IDiscoveryOtherCloudGenerationCadence): google.privacy.dlp.v2.DiscoveryOtherCloudGenerationCadence;
+
+ /**
+ * Encodes the specified DiscoveryOtherCloudGenerationCadence message. Does not implicitly {@link google.privacy.dlp.v2.DiscoveryOtherCloudGenerationCadence.verify|verify} messages.
+ * @param message DiscoveryOtherCloudGenerationCadence message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.IDiscoveryOtherCloudGenerationCadence, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified DiscoveryOtherCloudGenerationCadence message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.DiscoveryOtherCloudGenerationCadence.verify|verify} messages.
+ * @param message DiscoveryOtherCloudGenerationCadence message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.IDiscoveryOtherCloudGenerationCadence, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a DiscoveryOtherCloudGenerationCadence message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns DiscoveryOtherCloudGenerationCadence
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.DiscoveryOtherCloudGenerationCadence;
+
+ /**
+ * Decodes a DiscoveryOtherCloudGenerationCadence message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns DiscoveryOtherCloudGenerationCadence
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.DiscoveryOtherCloudGenerationCadence;
+
+ /**
+ * Verifies a DiscoveryOtherCloudGenerationCadence message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a DiscoveryOtherCloudGenerationCadence message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns DiscoveryOtherCloudGenerationCadence
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.DiscoveryOtherCloudGenerationCadence;
+
+ /**
+ * Creates a plain object from a DiscoveryOtherCloudGenerationCadence message. Also converts values to other types if specified.
+ * @param message DiscoveryOtherCloudGenerationCadence
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.DiscoveryOtherCloudGenerationCadence, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this DiscoveryOtherCloudGenerationCadence to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for DiscoveryOtherCloudGenerationCadence
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a DiscoveryStartingLocation. */
+ interface IDiscoveryStartingLocation {
+
+ /** DiscoveryStartingLocation organizationId */
+ organizationId?: (number|Long|string|null);
+
+ /** DiscoveryStartingLocation folderId */
+ folderId?: (number|Long|string|null);
+ }
+
+ /** Represents a DiscoveryStartingLocation. */
+ class DiscoveryStartingLocation implements IDiscoveryStartingLocation {
+
+ /**
+ * Constructs a new DiscoveryStartingLocation.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.IDiscoveryStartingLocation);
+
+ /** DiscoveryStartingLocation organizationId. */
+ public organizationId?: (number|Long|string|null);
+
+ /** DiscoveryStartingLocation folderId. */
+ public folderId?: (number|Long|string|null);
+
+ /** DiscoveryStartingLocation location. */
+ public location?: ("organizationId"|"folderId");
+
+ /**
+ * Creates a new DiscoveryStartingLocation instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns DiscoveryStartingLocation instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.IDiscoveryStartingLocation): google.privacy.dlp.v2.DiscoveryStartingLocation;
+
+ /**
+ * Encodes the specified DiscoveryStartingLocation message. Does not implicitly {@link google.privacy.dlp.v2.DiscoveryStartingLocation.verify|verify} messages.
+ * @param message DiscoveryStartingLocation message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.IDiscoveryStartingLocation, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified DiscoveryStartingLocation message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.DiscoveryStartingLocation.verify|verify} messages.
+ * @param message DiscoveryStartingLocation message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.IDiscoveryStartingLocation, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a DiscoveryStartingLocation message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns DiscoveryStartingLocation
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.DiscoveryStartingLocation;
+
+ /**
+ * Decodes a DiscoveryStartingLocation message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns DiscoveryStartingLocation
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.DiscoveryStartingLocation;
+
+ /**
+ * Verifies a DiscoveryStartingLocation message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a DiscoveryStartingLocation message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns DiscoveryStartingLocation
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.DiscoveryStartingLocation;
+
+ /**
+ * Creates a plain object from a DiscoveryStartingLocation message. Also converts values to other types if specified.
+ * @param message DiscoveryStartingLocation
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.DiscoveryStartingLocation, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this DiscoveryStartingLocation to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for DiscoveryStartingLocation
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of an OtherCloudDiscoveryStartingLocation. */
+ interface IOtherCloudDiscoveryStartingLocation {
+
+ /** OtherCloudDiscoveryStartingLocation awsLocation */
+ awsLocation?: (google.privacy.dlp.v2.OtherCloudDiscoveryStartingLocation.IAwsDiscoveryStartingLocation|null);
+ }
+
+ /** Represents an OtherCloudDiscoveryStartingLocation. */
+ class OtherCloudDiscoveryStartingLocation implements IOtherCloudDiscoveryStartingLocation {
+
+ /**
+ * Constructs a new OtherCloudDiscoveryStartingLocation.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.IOtherCloudDiscoveryStartingLocation);
+
+ /** OtherCloudDiscoveryStartingLocation awsLocation. */
+ public awsLocation?: (google.privacy.dlp.v2.OtherCloudDiscoveryStartingLocation.IAwsDiscoveryStartingLocation|null);
+
+ /** OtherCloudDiscoveryStartingLocation location. */
+ public location?: "awsLocation";
+
+ /**
+ * Creates a new OtherCloudDiscoveryStartingLocation instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns OtherCloudDiscoveryStartingLocation instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.IOtherCloudDiscoveryStartingLocation): google.privacy.dlp.v2.OtherCloudDiscoveryStartingLocation;
+
+ /**
+ * Encodes the specified OtherCloudDiscoveryStartingLocation message. Does not implicitly {@link google.privacy.dlp.v2.OtherCloudDiscoveryStartingLocation.verify|verify} messages.
+ * @param message OtherCloudDiscoveryStartingLocation message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.IOtherCloudDiscoveryStartingLocation, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified OtherCloudDiscoveryStartingLocation message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.OtherCloudDiscoveryStartingLocation.verify|verify} messages.
+ * @param message OtherCloudDiscoveryStartingLocation message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.IOtherCloudDiscoveryStartingLocation, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an OtherCloudDiscoveryStartingLocation message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns OtherCloudDiscoveryStartingLocation
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.OtherCloudDiscoveryStartingLocation;
+
+ /**
+ * Decodes an OtherCloudDiscoveryStartingLocation message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns OtherCloudDiscoveryStartingLocation
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.OtherCloudDiscoveryStartingLocation;
+
+ /**
+ * Verifies an OtherCloudDiscoveryStartingLocation message.
+ * @param message Plain 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 OtherCloudDiscoveryStartingLocation message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns OtherCloudDiscoveryStartingLocation
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.OtherCloudDiscoveryStartingLocation;
+
+ /**
+ * Creates a plain object from an OtherCloudDiscoveryStartingLocation message. Also converts values to other types if specified.
+ * @param message OtherCloudDiscoveryStartingLocation
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.OtherCloudDiscoveryStartingLocation, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this OtherCloudDiscoveryStartingLocation to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for OtherCloudDiscoveryStartingLocation
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace OtherCloudDiscoveryStartingLocation {
+
+ /** Properties of an AwsDiscoveryStartingLocation. */
+ interface IAwsDiscoveryStartingLocation {
+
+ /** AwsDiscoveryStartingLocation accountId */
+ accountId?: (string|null);
+
+ /** AwsDiscoveryStartingLocation allAssetInventoryAssets */
+ allAssetInventoryAssets?: (boolean|null);
+ }
+
+ /** Represents an AwsDiscoveryStartingLocation. */
+ class AwsDiscoveryStartingLocation implements IAwsDiscoveryStartingLocation {
+
+ /**
+ * Constructs a new AwsDiscoveryStartingLocation.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.OtherCloudDiscoveryStartingLocation.IAwsDiscoveryStartingLocation);
+
+ /** AwsDiscoveryStartingLocation accountId. */
+ public accountId?: (string|null);
+
+ /** AwsDiscoveryStartingLocation allAssetInventoryAssets. */
+ public allAssetInventoryAssets?: (boolean|null);
+
+ /** AwsDiscoveryStartingLocation scope. */
+ public scope?: ("accountId"|"allAssetInventoryAssets");
+
+ /**
+ * Creates a new AwsDiscoveryStartingLocation instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns AwsDiscoveryStartingLocation instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.OtherCloudDiscoveryStartingLocation.IAwsDiscoveryStartingLocation): google.privacy.dlp.v2.OtherCloudDiscoveryStartingLocation.AwsDiscoveryStartingLocation;
+
+ /**
+ * Encodes the specified AwsDiscoveryStartingLocation message. Does not implicitly {@link google.privacy.dlp.v2.OtherCloudDiscoveryStartingLocation.AwsDiscoveryStartingLocation.verify|verify} messages.
+ * @param message AwsDiscoveryStartingLocation message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.OtherCloudDiscoveryStartingLocation.IAwsDiscoveryStartingLocation, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified AwsDiscoveryStartingLocation message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.OtherCloudDiscoveryStartingLocation.AwsDiscoveryStartingLocation.verify|verify} messages.
+ * @param message AwsDiscoveryStartingLocation message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.OtherCloudDiscoveryStartingLocation.IAwsDiscoveryStartingLocation, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an AwsDiscoveryStartingLocation message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns AwsDiscoveryStartingLocation
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.OtherCloudDiscoveryStartingLocation.AwsDiscoveryStartingLocation;
+
+ /**
+ * Decodes an AwsDiscoveryStartingLocation message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns AwsDiscoveryStartingLocation
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.OtherCloudDiscoveryStartingLocation.AwsDiscoveryStartingLocation;
+
+ /**
+ * Verifies an AwsDiscoveryStartingLocation message.
+ * @param message Plain 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 AwsDiscoveryStartingLocation message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns AwsDiscoveryStartingLocation
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.OtherCloudDiscoveryStartingLocation.AwsDiscoveryStartingLocation;
+
+ /**
+ * Creates a plain object from an AwsDiscoveryStartingLocation message. Also converts values to other types if specified.
+ * @param message AwsDiscoveryStartingLocation
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.OtherCloudDiscoveryStartingLocation.AwsDiscoveryStartingLocation, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this AwsDiscoveryStartingLocation to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for AwsDiscoveryStartingLocation
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+ }
+
+ /** Properties of an AllOtherResources. */
+ interface IAllOtherResources {
+ }
+
+ /** Represents an AllOtherResources. */
+ class AllOtherResources implements IAllOtherResources {
+
+ /**
+ * Constructs a new AllOtherResources.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.IAllOtherResources);
+
+ /**
+ * Creates a new AllOtherResources instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns AllOtherResources instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.IAllOtherResources): google.privacy.dlp.v2.AllOtherResources;
+
+ /**
+ * Encodes the specified AllOtherResources message. Does not implicitly {@link google.privacy.dlp.v2.AllOtherResources.verify|verify} messages.
+ * @param message AllOtherResources message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.IAllOtherResources, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified AllOtherResources message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.AllOtherResources.verify|verify} messages.
+ * @param message AllOtherResources message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.IAllOtherResources, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an AllOtherResources message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns AllOtherResources
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.AllOtherResources;
+
+ /**
+ * Decodes an AllOtherResources message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns AllOtherResources
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.AllOtherResources;
+
+ /**
+ * Verifies an AllOtherResources message.
+ * @param message Plain 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 AllOtherResources message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns AllOtherResources
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.AllOtherResources;
+
+ /**
+ * Creates a plain object from an AllOtherResources message. Also converts values to other types if specified.
+ * @param message AllOtherResources
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.AllOtherResources, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this AllOtherResources to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for AllOtherResources
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a VertexDatasetDiscoveryTarget. */
+ interface IVertexDatasetDiscoveryTarget {
+
+ /** VertexDatasetDiscoveryTarget filter */
+ filter?: (google.privacy.dlp.v2.IDiscoveryVertexDatasetFilter|null);
+
+ /** VertexDatasetDiscoveryTarget conditions */
+ conditions?: (google.privacy.dlp.v2.IDiscoveryVertexDatasetConditions|null);
+
+ /** VertexDatasetDiscoveryTarget generationCadence */
+ generationCadence?: (google.privacy.dlp.v2.IDiscoveryVertexDatasetGenerationCadence|null);
+
+ /** VertexDatasetDiscoveryTarget disabled */
+ disabled?: (google.privacy.dlp.v2.IDisabled|null);
+ }
+
+ /** Represents a VertexDatasetDiscoveryTarget. */
+ class VertexDatasetDiscoveryTarget implements IVertexDatasetDiscoveryTarget {
+
+ /**
+ * Constructs a new VertexDatasetDiscoveryTarget.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.IVertexDatasetDiscoveryTarget);
+
+ /** VertexDatasetDiscoveryTarget filter. */
+ public filter?: (google.privacy.dlp.v2.IDiscoveryVertexDatasetFilter|null);
+
+ /** VertexDatasetDiscoveryTarget conditions. */
+ public conditions?: (google.privacy.dlp.v2.IDiscoveryVertexDatasetConditions|null);
+
+ /** VertexDatasetDiscoveryTarget generationCadence. */
+ public generationCadence?: (google.privacy.dlp.v2.IDiscoveryVertexDatasetGenerationCadence|null);
+
+ /** VertexDatasetDiscoveryTarget disabled. */
+ public disabled?: (google.privacy.dlp.v2.IDisabled|null);
+
+ /** VertexDatasetDiscoveryTarget cadence. */
+ public cadence?: ("generationCadence"|"disabled");
+
+ /**
+ * Creates a new VertexDatasetDiscoveryTarget instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns VertexDatasetDiscoveryTarget instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.IVertexDatasetDiscoveryTarget): google.privacy.dlp.v2.VertexDatasetDiscoveryTarget;
+
+ /**
+ * Encodes the specified VertexDatasetDiscoveryTarget message. Does not implicitly {@link google.privacy.dlp.v2.VertexDatasetDiscoveryTarget.verify|verify} messages.
+ * @param message VertexDatasetDiscoveryTarget message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.IVertexDatasetDiscoveryTarget, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified VertexDatasetDiscoveryTarget message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.VertexDatasetDiscoveryTarget.verify|verify} messages.
+ * @param message VertexDatasetDiscoveryTarget message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.IVertexDatasetDiscoveryTarget, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a VertexDatasetDiscoveryTarget message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns VertexDatasetDiscoveryTarget
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.VertexDatasetDiscoveryTarget;
+
+ /**
+ * Decodes a VertexDatasetDiscoveryTarget message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns VertexDatasetDiscoveryTarget
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.VertexDatasetDiscoveryTarget;
+
+ /**
+ * Verifies a VertexDatasetDiscoveryTarget message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a VertexDatasetDiscoveryTarget message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns VertexDatasetDiscoveryTarget
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.VertexDatasetDiscoveryTarget;
+
+ /**
+ * Creates a plain object from a VertexDatasetDiscoveryTarget message. Also converts values to other types if specified.
+ * @param message VertexDatasetDiscoveryTarget
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.VertexDatasetDiscoveryTarget, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this VertexDatasetDiscoveryTarget to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for VertexDatasetDiscoveryTarget
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a DiscoveryVertexDatasetFilter. */
+ interface IDiscoveryVertexDatasetFilter {
+
+ /** DiscoveryVertexDatasetFilter collection */
+ collection?: (google.privacy.dlp.v2.IVertexDatasetCollection|null);
+
+ /** DiscoveryVertexDatasetFilter vertexDatasetResourceReference */
+ vertexDatasetResourceReference?: (google.privacy.dlp.v2.IVertexDatasetResourceReference|null);
+
+ /** DiscoveryVertexDatasetFilter others */
+ others?: (google.privacy.dlp.v2.IAllOtherResources|null);
+ }
+
+ /** Represents a DiscoveryVertexDatasetFilter. */
+ class DiscoveryVertexDatasetFilter implements IDiscoveryVertexDatasetFilter {
+
+ /**
+ * Constructs a new DiscoveryVertexDatasetFilter.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.IDiscoveryVertexDatasetFilter);
+
+ /** DiscoveryVertexDatasetFilter collection. */
+ public collection?: (google.privacy.dlp.v2.IVertexDatasetCollection|null);
+
+ /** DiscoveryVertexDatasetFilter vertexDatasetResourceReference. */
+ public vertexDatasetResourceReference?: (google.privacy.dlp.v2.IVertexDatasetResourceReference|null);
+
+ /** DiscoveryVertexDatasetFilter others. */
+ public others?: (google.privacy.dlp.v2.IAllOtherResources|null);
+
+ /** DiscoveryVertexDatasetFilter filter. */
+ public filter?: ("collection"|"vertexDatasetResourceReference"|"others");
+
+ /**
+ * Creates a new DiscoveryVertexDatasetFilter instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns DiscoveryVertexDatasetFilter instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.IDiscoveryVertexDatasetFilter): google.privacy.dlp.v2.DiscoveryVertexDatasetFilter;
+
+ /**
+ * Encodes the specified DiscoveryVertexDatasetFilter message. Does not implicitly {@link google.privacy.dlp.v2.DiscoveryVertexDatasetFilter.verify|verify} messages.
+ * @param message DiscoveryVertexDatasetFilter message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.IDiscoveryVertexDatasetFilter, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified DiscoveryVertexDatasetFilter message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.DiscoveryVertexDatasetFilter.verify|verify} messages.
+ * @param message DiscoveryVertexDatasetFilter message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.IDiscoveryVertexDatasetFilter, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a DiscoveryVertexDatasetFilter message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns DiscoveryVertexDatasetFilter
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.DiscoveryVertexDatasetFilter;
+
+ /**
+ * Decodes a DiscoveryVertexDatasetFilter message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns DiscoveryVertexDatasetFilter
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.DiscoveryVertexDatasetFilter;
+
+ /**
+ * Verifies a DiscoveryVertexDatasetFilter message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a DiscoveryVertexDatasetFilter message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns DiscoveryVertexDatasetFilter
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.DiscoveryVertexDatasetFilter;
+
+ /**
+ * Creates a plain object from a DiscoveryVertexDatasetFilter message. Also converts values to other types if specified.
+ * @param message DiscoveryVertexDatasetFilter
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.DiscoveryVertexDatasetFilter, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this DiscoveryVertexDatasetFilter to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for DiscoveryVertexDatasetFilter
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a VertexDatasetCollection. */
+ interface IVertexDatasetCollection {
+
+ /** VertexDatasetCollection vertexDatasetRegexes */
+ vertexDatasetRegexes?: (google.privacy.dlp.v2.IVertexDatasetRegexes|null);
+ }
+
+ /** Represents a VertexDatasetCollection. */
+ class VertexDatasetCollection implements IVertexDatasetCollection {
+
+ /**
+ * Constructs a new VertexDatasetCollection.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.IVertexDatasetCollection);
+
+ /** VertexDatasetCollection vertexDatasetRegexes. */
+ public vertexDatasetRegexes?: (google.privacy.dlp.v2.IVertexDatasetRegexes|null);
+
+ /** VertexDatasetCollection pattern. */
+ public pattern?: "vertexDatasetRegexes";
+
+ /**
+ * Creates a new VertexDatasetCollection instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns VertexDatasetCollection instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.IVertexDatasetCollection): google.privacy.dlp.v2.VertexDatasetCollection;
+
+ /**
+ * Encodes the specified VertexDatasetCollection message. Does not implicitly {@link google.privacy.dlp.v2.VertexDatasetCollection.verify|verify} messages.
+ * @param message VertexDatasetCollection message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.IVertexDatasetCollection, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified VertexDatasetCollection message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.VertexDatasetCollection.verify|verify} messages.
+ * @param message VertexDatasetCollection message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.IVertexDatasetCollection, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a VertexDatasetCollection message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns VertexDatasetCollection
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.VertexDatasetCollection;
+
+ /**
+ * Decodes a VertexDatasetCollection message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns VertexDatasetCollection
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.VertexDatasetCollection;
+
+ /**
+ * Verifies a VertexDatasetCollection message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a VertexDatasetCollection message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns VertexDatasetCollection
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.VertexDatasetCollection;
+
+ /**
+ * Creates a plain object from a VertexDatasetCollection message. Also converts values to other types if specified.
+ * @param message VertexDatasetCollection
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.VertexDatasetCollection, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this VertexDatasetCollection to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for VertexDatasetCollection
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a VertexDatasetRegexes. */
+ interface IVertexDatasetRegexes {
+
+ /** VertexDatasetRegexes patterns */
+ patterns?: (google.privacy.dlp.v2.IVertexDatasetRegex[]|null);
+ }
+
+ /** Represents a VertexDatasetRegexes. */
+ class VertexDatasetRegexes implements IVertexDatasetRegexes {
+
+ /**
+ * Constructs a new VertexDatasetRegexes.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.IVertexDatasetRegexes);
+
+ /** VertexDatasetRegexes patterns. */
+ public patterns: google.privacy.dlp.v2.IVertexDatasetRegex[];
+
+ /**
+ * Creates a new VertexDatasetRegexes instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns VertexDatasetRegexes instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.IVertexDatasetRegexes): google.privacy.dlp.v2.VertexDatasetRegexes;
+
+ /**
+ * Encodes the specified VertexDatasetRegexes message. Does not implicitly {@link google.privacy.dlp.v2.VertexDatasetRegexes.verify|verify} messages.
+ * @param message VertexDatasetRegexes message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.IVertexDatasetRegexes, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified VertexDatasetRegexes message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.VertexDatasetRegexes.verify|verify} messages.
+ * @param message VertexDatasetRegexes message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.IVertexDatasetRegexes, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a VertexDatasetRegexes message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns VertexDatasetRegexes
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.VertexDatasetRegexes;
+
+ /**
+ * Decodes a VertexDatasetRegexes message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns VertexDatasetRegexes
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.VertexDatasetRegexes;
+
+ /**
+ * Verifies a VertexDatasetRegexes message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a VertexDatasetRegexes message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns VertexDatasetRegexes
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.VertexDatasetRegexes;
+
+ /**
+ * Creates a plain object from a VertexDatasetRegexes message. Also converts values to other types if specified.
+ * @param message VertexDatasetRegexes
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.VertexDatasetRegexes, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this VertexDatasetRegexes to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for VertexDatasetRegexes
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a VertexDatasetRegex. */
+ interface IVertexDatasetRegex {
+
+ /** VertexDatasetRegex projectIdRegex */
+ projectIdRegex?: (string|null);
+ }
+
+ /** Represents a VertexDatasetRegex. */
+ class VertexDatasetRegex implements IVertexDatasetRegex {
+
+ /**
+ * Constructs a new VertexDatasetRegex.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.IVertexDatasetRegex);
+
+ /** VertexDatasetRegex projectIdRegex. */
+ public projectIdRegex: string;
+
+ /**
+ * Creates a new VertexDatasetRegex instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns VertexDatasetRegex instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.IVertexDatasetRegex): google.privacy.dlp.v2.VertexDatasetRegex;
+
+ /**
+ * Encodes the specified VertexDatasetRegex message. Does not implicitly {@link google.privacy.dlp.v2.VertexDatasetRegex.verify|verify} messages.
+ * @param message VertexDatasetRegex message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.IVertexDatasetRegex, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified VertexDatasetRegex message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.VertexDatasetRegex.verify|verify} messages.
+ * @param message VertexDatasetRegex message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.IVertexDatasetRegex, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a VertexDatasetRegex message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns VertexDatasetRegex
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.VertexDatasetRegex;
+
+ /**
+ * Decodes a VertexDatasetRegex message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns VertexDatasetRegex
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.VertexDatasetRegex;
+
+ /**
+ * Verifies a VertexDatasetRegex message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a VertexDatasetRegex message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns VertexDatasetRegex
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.VertexDatasetRegex;
+
+ /**
+ * Creates a plain object from a VertexDatasetRegex message. Also converts values to other types if specified.
+ * @param message VertexDatasetRegex
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.VertexDatasetRegex, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this VertexDatasetRegex to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for VertexDatasetRegex
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a VertexDatasetResourceReference. */
+ interface IVertexDatasetResourceReference {
+
+ /** VertexDatasetResourceReference datasetResourceName */
+ datasetResourceName?: (string|null);
+ }
+
+ /** Represents a VertexDatasetResourceReference. */
+ class VertexDatasetResourceReference implements IVertexDatasetResourceReference {
+
+ /**
+ * Constructs a new VertexDatasetResourceReference.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.IVertexDatasetResourceReference);
+
+ /** VertexDatasetResourceReference datasetResourceName. */
+ public datasetResourceName: string;
+
+ /**
+ * Creates a new VertexDatasetResourceReference instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns VertexDatasetResourceReference instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.IVertexDatasetResourceReference): google.privacy.dlp.v2.VertexDatasetResourceReference;
+
+ /**
+ * Encodes the specified VertexDatasetResourceReference message. Does not implicitly {@link google.privacy.dlp.v2.VertexDatasetResourceReference.verify|verify} messages.
+ * @param message VertexDatasetResourceReference message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.IVertexDatasetResourceReference, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified VertexDatasetResourceReference message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.VertexDatasetResourceReference.verify|verify} messages.
+ * @param message VertexDatasetResourceReference message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.IVertexDatasetResourceReference, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a VertexDatasetResourceReference message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns VertexDatasetResourceReference
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.VertexDatasetResourceReference;
+
+ /**
+ * Decodes a VertexDatasetResourceReference message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns VertexDatasetResourceReference
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.VertexDatasetResourceReference;
+
+ /**
+ * Verifies a VertexDatasetResourceReference message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a VertexDatasetResourceReference message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns VertexDatasetResourceReference
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.VertexDatasetResourceReference;
+
+ /**
+ * Creates a plain object from a VertexDatasetResourceReference message. Also converts values to other types if specified.
+ * @param message VertexDatasetResourceReference
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.VertexDatasetResourceReference, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this VertexDatasetResourceReference to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for VertexDatasetResourceReference
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a DiscoveryVertexDatasetConditions. */
+ interface IDiscoveryVertexDatasetConditions {
+
+ /** DiscoveryVertexDatasetConditions createdAfter */
+ createdAfter?: (google.protobuf.ITimestamp|null);
+
+ /** DiscoveryVertexDatasetConditions minAge */
+ minAge?: (google.protobuf.IDuration|null);
+ }
+
+ /** Represents a DiscoveryVertexDatasetConditions. */
+ class DiscoveryVertexDatasetConditions implements IDiscoveryVertexDatasetConditions {
+
+ /**
+ * Constructs a new DiscoveryVertexDatasetConditions.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.IDiscoveryVertexDatasetConditions);
+
+ /** DiscoveryVertexDatasetConditions createdAfter. */
+ public createdAfter?: (google.protobuf.ITimestamp|null);
+
+ /** DiscoveryVertexDatasetConditions minAge. */
+ public minAge?: (google.protobuf.IDuration|null);
+
+ /**
+ * Creates a new DiscoveryVertexDatasetConditions instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns DiscoveryVertexDatasetConditions instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.IDiscoveryVertexDatasetConditions): google.privacy.dlp.v2.DiscoveryVertexDatasetConditions;
+
+ /**
+ * Encodes the specified DiscoveryVertexDatasetConditions message. Does not implicitly {@link google.privacy.dlp.v2.DiscoveryVertexDatasetConditions.verify|verify} messages.
+ * @param message DiscoveryVertexDatasetConditions message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.IDiscoveryVertexDatasetConditions, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified DiscoveryVertexDatasetConditions message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.DiscoveryVertexDatasetConditions.verify|verify} messages.
+ * @param message DiscoveryVertexDatasetConditions message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.IDiscoveryVertexDatasetConditions, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a DiscoveryVertexDatasetConditions message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns DiscoveryVertexDatasetConditions
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.DiscoveryVertexDatasetConditions;
+
+ /**
+ * Decodes a DiscoveryVertexDatasetConditions message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns DiscoveryVertexDatasetConditions
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.DiscoveryVertexDatasetConditions;
+
+ /**
+ * Verifies a DiscoveryVertexDatasetConditions message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a DiscoveryVertexDatasetConditions message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns DiscoveryVertexDatasetConditions
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.DiscoveryVertexDatasetConditions;
+
+ /**
+ * Creates a plain object from a DiscoveryVertexDatasetConditions message. Also converts values to other types if specified.
+ * @param message DiscoveryVertexDatasetConditions
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.DiscoveryVertexDatasetConditions, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this DiscoveryVertexDatasetConditions to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for DiscoveryVertexDatasetConditions
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a DiscoveryVertexDatasetGenerationCadence. */
+ interface IDiscoveryVertexDatasetGenerationCadence {
+
+ /** DiscoveryVertexDatasetGenerationCadence refreshFrequency */
+ refreshFrequency?: (google.privacy.dlp.v2.DataProfileUpdateFrequency|keyof typeof google.privacy.dlp.v2.DataProfileUpdateFrequency|null);
+
+ /** DiscoveryVertexDatasetGenerationCadence inspectTemplateModifiedCadence */
+ inspectTemplateModifiedCadence?: (google.privacy.dlp.v2.IDiscoveryInspectTemplateModifiedCadence|null);
+ }
+
+ /** Represents a DiscoveryVertexDatasetGenerationCadence. */
+ class DiscoveryVertexDatasetGenerationCadence implements IDiscoveryVertexDatasetGenerationCadence {
+
+ /**
+ * Constructs a new DiscoveryVertexDatasetGenerationCadence.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.IDiscoveryVertexDatasetGenerationCadence);
+
+ /** DiscoveryVertexDatasetGenerationCadence refreshFrequency. */
+ public refreshFrequency: (google.privacy.dlp.v2.DataProfileUpdateFrequency|keyof typeof google.privacy.dlp.v2.DataProfileUpdateFrequency);
+
+ /** DiscoveryVertexDatasetGenerationCadence inspectTemplateModifiedCadence. */
+ public inspectTemplateModifiedCadence?: (google.privacy.dlp.v2.IDiscoveryInspectTemplateModifiedCadence|null);
+
+ /**
+ * Creates a new DiscoveryVertexDatasetGenerationCadence instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns DiscoveryVertexDatasetGenerationCadence instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.IDiscoveryVertexDatasetGenerationCadence): google.privacy.dlp.v2.DiscoveryVertexDatasetGenerationCadence;
+
+ /**
+ * Encodes the specified DiscoveryVertexDatasetGenerationCadence message. Does not implicitly {@link google.privacy.dlp.v2.DiscoveryVertexDatasetGenerationCadence.verify|verify} messages.
+ * @param message DiscoveryVertexDatasetGenerationCadence message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.IDiscoveryVertexDatasetGenerationCadence, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified DiscoveryVertexDatasetGenerationCadence message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.DiscoveryVertexDatasetGenerationCadence.verify|verify} messages.
+ * @param message DiscoveryVertexDatasetGenerationCadence message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.IDiscoveryVertexDatasetGenerationCadence, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a DiscoveryVertexDatasetGenerationCadence message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns DiscoveryVertexDatasetGenerationCadence
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.DiscoveryVertexDatasetGenerationCadence;
+
+ /**
+ * Decodes a DiscoveryVertexDatasetGenerationCadence message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns DiscoveryVertexDatasetGenerationCadence
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.DiscoveryVertexDatasetGenerationCadence;
+
+ /**
+ * Verifies a DiscoveryVertexDatasetGenerationCadence message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a DiscoveryVertexDatasetGenerationCadence message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns DiscoveryVertexDatasetGenerationCadence
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.DiscoveryVertexDatasetGenerationCadence;
+
+ /**
+ * Creates a plain object from a DiscoveryVertexDatasetGenerationCadence message. Also converts values to other types if specified.
+ * @param message DiscoveryVertexDatasetGenerationCadence
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.DiscoveryVertexDatasetGenerationCadence, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this DiscoveryVertexDatasetGenerationCadence to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for DiscoveryVertexDatasetGenerationCadence
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a DlpJob. */
+ interface IDlpJob {
+
+ /** DlpJob name */
+ name?: (string|null);
+
+ /** DlpJob type */
+ type?: (google.privacy.dlp.v2.DlpJobType|keyof typeof google.privacy.dlp.v2.DlpJobType|null);
+
+ /** DlpJob state */
+ state?: (google.privacy.dlp.v2.DlpJob.JobState|keyof typeof google.privacy.dlp.v2.DlpJob.JobState|null);
+
+ /** DlpJob riskDetails */
+ riskDetails?: (google.privacy.dlp.v2.IAnalyzeDataSourceRiskDetails|null);
+
+ /** DlpJob inspectDetails */
+ inspectDetails?: (google.privacy.dlp.v2.IInspectDataSourceDetails|null);
+
+ /** DlpJob createTime */
+ createTime?: (google.protobuf.ITimestamp|null);
+
+ /** DlpJob startTime */
+ startTime?: (google.protobuf.ITimestamp|null);
+
+ /** DlpJob endTime */
+ endTime?: (google.protobuf.ITimestamp|null);
+
+ /** DlpJob lastModified */
+ lastModified?: (google.protobuf.ITimestamp|null);
+
+ /** DlpJob jobTriggerName */
+ jobTriggerName?: (string|null);
+
+ /** DlpJob errors */
+ errors?: (google.privacy.dlp.v2.IError[]|null);
+
+ /** DlpJob actionDetails */
+ actionDetails?: (google.privacy.dlp.v2.IActionDetails[]|null);
+ }
+
+ /** Represents a DlpJob. */
+ class DlpJob implements IDlpJob {
+
+ /**
+ * Constructs a new DlpJob.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.IDlpJob);
+
+ /** DlpJob name. */
+ public name: string;
+
+ /** DlpJob type. */
+ public type: (google.privacy.dlp.v2.DlpJobType|keyof typeof google.privacy.dlp.v2.DlpJobType);
+
+ /** DlpJob state. */
+ public state: (google.privacy.dlp.v2.DlpJob.JobState|keyof typeof google.privacy.dlp.v2.DlpJob.JobState);
+
+ /** DlpJob riskDetails. */
+ public riskDetails?: (google.privacy.dlp.v2.IAnalyzeDataSourceRiskDetails|null);
+
+ /** DlpJob inspectDetails. */
+ public inspectDetails?: (google.privacy.dlp.v2.IInspectDataSourceDetails|null);
+
+ /** DlpJob createTime. */
+ public createTime?: (google.protobuf.ITimestamp|null);
+
+ /** DlpJob startTime. */
+ public startTime?: (google.protobuf.ITimestamp|null);
+
+ /** DlpJob endTime. */
+ public endTime?: (google.protobuf.ITimestamp|null);
+
+ /** DlpJob lastModified. */
+ public lastModified?: (google.protobuf.ITimestamp|null);
+
+ /** DlpJob jobTriggerName. */
+ public jobTriggerName: string;
+
+ /** DlpJob errors. */
+ public errors: google.privacy.dlp.v2.IError[];
+
+ /** DlpJob actionDetails. */
+ public actionDetails: google.privacy.dlp.v2.IActionDetails[];
+
+ /** DlpJob details. */
+ public details?: ("riskDetails"|"inspectDetails");
+
+ /**
+ * Creates a new DlpJob instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns DlpJob instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.IDlpJob): google.privacy.dlp.v2.DlpJob;
+
+ /**
+ * Encodes the specified DlpJob message. Does not implicitly {@link google.privacy.dlp.v2.DlpJob.verify|verify} messages.
+ * @param message DlpJob message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.IDlpJob, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified DlpJob message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.DlpJob.verify|verify} messages.
+ * @param message DlpJob message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.IDlpJob, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a DlpJob message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns DlpJob
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.DlpJob;
+
+ /**
+ * Decodes a DlpJob message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns DlpJob
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.DlpJob;
+
+ /**
+ * Verifies a DlpJob message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a DlpJob message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns DlpJob
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.DlpJob;
+
+ /**
+ * Creates a plain object from a DlpJob message. Also converts values to other types if specified.
+ * @param message DlpJob
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.DlpJob, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this DlpJob to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for DlpJob
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace DlpJob {
+
+ /** JobState enum. */
+ enum JobState {
+ JOB_STATE_UNSPECIFIED = 0,
+ PENDING = 1,
+ RUNNING = 2,
+ DONE = 3,
+ CANCELED = 4,
+ FAILED = 5,
+ ACTIVE = 6
+ }
+ }
+
+ /** Properties of a GetDlpJobRequest. */
+ interface IGetDlpJobRequest {
+
+ /** GetDlpJobRequest name */
+ name?: (string|null);
+ }
+
+ /** Represents a GetDlpJobRequest. */
+ class GetDlpJobRequest implements IGetDlpJobRequest {
+
+ /**
+ * Constructs a new GetDlpJobRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.IGetDlpJobRequest);
+
+ /** GetDlpJobRequest name. */
+ public name: string;
+
+ /**
+ * Creates a new GetDlpJobRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns GetDlpJobRequest instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.IGetDlpJobRequest): google.privacy.dlp.v2.GetDlpJobRequest;
+
+ /**
+ * Encodes the specified GetDlpJobRequest message. Does not implicitly {@link google.privacy.dlp.v2.GetDlpJobRequest.verify|verify} messages.
+ * @param message GetDlpJobRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.IGetDlpJobRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified GetDlpJobRequest message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.GetDlpJobRequest.verify|verify} messages.
+ * @param message GetDlpJobRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.IGetDlpJobRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a GetDlpJobRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns GetDlpJobRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.GetDlpJobRequest;
+
+ /**
+ * Decodes a GetDlpJobRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns GetDlpJobRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.GetDlpJobRequest;
+
+ /**
+ * Verifies a GetDlpJobRequest message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a GetDlpJobRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns GetDlpJobRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.GetDlpJobRequest;
+
+ /**
+ * Creates a plain object from a GetDlpJobRequest message. Also converts values to other types if specified.
+ * @param message GetDlpJobRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.GetDlpJobRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this GetDlpJobRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for GetDlpJobRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a ListDlpJobsRequest. */
+ interface IListDlpJobsRequest {
+
+ /** ListDlpJobsRequest parent */
+ parent?: (string|null);
+
+ /** ListDlpJobsRequest filter */
+ filter?: (string|null);
+
+ /** ListDlpJobsRequest pageSize */
+ pageSize?: (number|null);
+
+ /** ListDlpJobsRequest pageToken */
+ pageToken?: (string|null);
+
+ /** ListDlpJobsRequest type */
+ type?: (google.privacy.dlp.v2.DlpJobType|keyof typeof google.privacy.dlp.v2.DlpJobType|null);
+
+ /** ListDlpJobsRequest orderBy */
+ orderBy?: (string|null);
+
+ /** ListDlpJobsRequest locationId */
+ locationId?: (string|null);
+ }
+
+ /** Represents a ListDlpJobsRequest. */
+ class ListDlpJobsRequest implements IListDlpJobsRequest {
+
+ /**
+ * Constructs a new ListDlpJobsRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.IListDlpJobsRequest);
+
+ /** ListDlpJobsRequest parent. */
+ public parent: string;
+
+ /** ListDlpJobsRequest filter. */
+ public filter: string;
+
+ /** ListDlpJobsRequest pageSize. */
+ public pageSize: number;
+
+ /** ListDlpJobsRequest pageToken. */
+ public pageToken: string;
+
+ /** ListDlpJobsRequest type. */
+ public type: (google.privacy.dlp.v2.DlpJobType|keyof typeof google.privacy.dlp.v2.DlpJobType);
+
+ /** ListDlpJobsRequest orderBy. */
+ public orderBy: string;
+
+ /** ListDlpJobsRequest locationId. */
+ public locationId: string;
+
+ /**
+ * Creates a new ListDlpJobsRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ListDlpJobsRequest instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.IListDlpJobsRequest): google.privacy.dlp.v2.ListDlpJobsRequest;
+
+ /**
+ * Encodes the specified ListDlpJobsRequest message. Does not implicitly {@link google.privacy.dlp.v2.ListDlpJobsRequest.verify|verify} messages.
+ * @param message ListDlpJobsRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.IListDlpJobsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ListDlpJobsRequest message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.ListDlpJobsRequest.verify|verify} messages.
+ * @param message ListDlpJobsRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.IListDlpJobsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ListDlpJobsRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ListDlpJobsRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.ListDlpJobsRequest;
+
+ /**
+ * Decodes a ListDlpJobsRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ListDlpJobsRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.ListDlpJobsRequest;
+
+ /**
+ * Verifies a ListDlpJobsRequest message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a ListDlpJobsRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ListDlpJobsRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.ListDlpJobsRequest;
+
+ /**
+ * Creates a plain object from a ListDlpJobsRequest message. Also converts values to other types if specified.
+ * @param message ListDlpJobsRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.ListDlpJobsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ListDlpJobsRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ListDlpJobsRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a ListDlpJobsResponse. */
+ interface IListDlpJobsResponse {
+
+ /** ListDlpJobsResponse jobs */
+ jobs?: (google.privacy.dlp.v2.IDlpJob[]|null);
+
+ /** ListDlpJobsResponse nextPageToken */
+ nextPageToken?: (string|null);
+ }
+
+ /** Represents a ListDlpJobsResponse. */
+ class ListDlpJobsResponse implements IListDlpJobsResponse {
+
+ /**
+ * Constructs a new ListDlpJobsResponse.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.IListDlpJobsResponse);
+
+ /** ListDlpJobsResponse jobs. */
+ public jobs: google.privacy.dlp.v2.IDlpJob[];
+
+ /** ListDlpJobsResponse nextPageToken. */
+ public nextPageToken: string;
+
+ /**
+ * Creates a new ListDlpJobsResponse instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ListDlpJobsResponse instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.IListDlpJobsResponse): google.privacy.dlp.v2.ListDlpJobsResponse;
+
+ /**
+ * Encodes the specified ListDlpJobsResponse message. Does not implicitly {@link google.privacy.dlp.v2.ListDlpJobsResponse.verify|verify} messages.
+ * @param message ListDlpJobsResponse message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.IListDlpJobsResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ListDlpJobsResponse message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.ListDlpJobsResponse.verify|verify} messages.
+ * @param message ListDlpJobsResponse message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.IListDlpJobsResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ListDlpJobsResponse message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ListDlpJobsResponse
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.ListDlpJobsResponse;
+
+ /**
+ * Decodes a ListDlpJobsResponse message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ListDlpJobsResponse
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.ListDlpJobsResponse;
+
+ /**
+ * Verifies a ListDlpJobsResponse message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a ListDlpJobsResponse message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ListDlpJobsResponse
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.ListDlpJobsResponse;
+
+ /**
+ * Creates a plain object from a ListDlpJobsResponse message. Also converts values to other types if specified.
+ * @param message ListDlpJobsResponse
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.ListDlpJobsResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ListDlpJobsResponse to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ListDlpJobsResponse
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a CancelDlpJobRequest. */
+ interface ICancelDlpJobRequest {
+
+ /** CancelDlpJobRequest name */
+ name?: (string|null);
+ }
+
+ /** Represents a CancelDlpJobRequest. */
+ class CancelDlpJobRequest implements ICancelDlpJobRequest {
+
+ /**
+ * Constructs a new CancelDlpJobRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.ICancelDlpJobRequest);
+
+ /** CancelDlpJobRequest name. */
+ public name: string;
+
+ /**
+ * Creates a new CancelDlpJobRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns CancelDlpJobRequest instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.ICancelDlpJobRequest): google.privacy.dlp.v2.CancelDlpJobRequest;
+
+ /**
+ * Encodes the specified CancelDlpJobRequest message. Does not implicitly {@link google.privacy.dlp.v2.CancelDlpJobRequest.verify|verify} messages.
+ * @param message CancelDlpJobRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.ICancelDlpJobRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified CancelDlpJobRequest message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.CancelDlpJobRequest.verify|verify} messages.
+ * @param message CancelDlpJobRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.ICancelDlpJobRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a CancelDlpJobRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns CancelDlpJobRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.CancelDlpJobRequest;
+
+ /**
+ * Decodes a CancelDlpJobRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns CancelDlpJobRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.CancelDlpJobRequest;
+
+ /**
+ * Verifies a CancelDlpJobRequest message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a CancelDlpJobRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns CancelDlpJobRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.CancelDlpJobRequest;
+
+ /**
+ * Creates a plain object from a CancelDlpJobRequest message. Also converts values to other types if specified.
+ * @param message CancelDlpJobRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.CancelDlpJobRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this CancelDlpJobRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for CancelDlpJobRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a FinishDlpJobRequest. */
+ interface IFinishDlpJobRequest {
+
+ /** FinishDlpJobRequest name */
+ name?: (string|null);
+ }
+
+ /** Represents a FinishDlpJobRequest. */
+ class FinishDlpJobRequest implements IFinishDlpJobRequest {
+
+ /**
+ * Constructs a new FinishDlpJobRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.IFinishDlpJobRequest);
+
+ /** FinishDlpJobRequest name. */
+ public name: string;
+
+ /**
+ * Creates a new FinishDlpJobRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns FinishDlpJobRequest instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.IFinishDlpJobRequest): google.privacy.dlp.v2.FinishDlpJobRequest;
+
+ /**
+ * Encodes the specified FinishDlpJobRequest message. Does not implicitly {@link google.privacy.dlp.v2.FinishDlpJobRequest.verify|verify} messages.
+ * @param message FinishDlpJobRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.IFinishDlpJobRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified FinishDlpJobRequest message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.FinishDlpJobRequest.verify|verify} messages.
+ * @param message FinishDlpJobRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.IFinishDlpJobRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a FinishDlpJobRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns FinishDlpJobRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.FinishDlpJobRequest;
+
+ /**
+ * Decodes a FinishDlpJobRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns FinishDlpJobRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.FinishDlpJobRequest;
+
+ /**
+ * Verifies a FinishDlpJobRequest message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a FinishDlpJobRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns FinishDlpJobRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.FinishDlpJobRequest;
+
+ /**
+ * Creates a plain object from a FinishDlpJobRequest message. Also converts values to other types if specified.
+ * @param message FinishDlpJobRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.FinishDlpJobRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this FinishDlpJobRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for FinishDlpJobRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a DeleteDlpJobRequest. */
+ interface IDeleteDlpJobRequest {
+
+ /** DeleteDlpJobRequest name */
+ name?: (string|null);
+ }
+
+ /** Represents a DeleteDlpJobRequest. */
+ class DeleteDlpJobRequest implements IDeleteDlpJobRequest {
+
+ /**
+ * Constructs a new DeleteDlpJobRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.IDeleteDlpJobRequest);
+
+ /** DeleteDlpJobRequest name. */
+ public name: string;
+
+ /**
+ * Creates a new DeleteDlpJobRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns DeleteDlpJobRequest instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.IDeleteDlpJobRequest): google.privacy.dlp.v2.DeleteDlpJobRequest;
+
+ /**
+ * Encodes the specified DeleteDlpJobRequest message. Does not implicitly {@link google.privacy.dlp.v2.DeleteDlpJobRequest.verify|verify} messages.
+ * @param message DeleteDlpJobRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.IDeleteDlpJobRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified DeleteDlpJobRequest message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.DeleteDlpJobRequest.verify|verify} messages.
+ * @param message DeleteDlpJobRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.IDeleteDlpJobRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a DeleteDlpJobRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns DeleteDlpJobRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.DeleteDlpJobRequest;
+
+ /**
+ * Decodes a DeleteDlpJobRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns DeleteDlpJobRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.DeleteDlpJobRequest;
+
+ /**
+ * Verifies a DeleteDlpJobRequest message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a DeleteDlpJobRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns DeleteDlpJobRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.DeleteDlpJobRequest;
+
+ /**
+ * Creates a plain object from a DeleteDlpJobRequest message. Also converts values to other types if specified.
+ * @param message DeleteDlpJobRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.DeleteDlpJobRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this DeleteDlpJobRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for DeleteDlpJobRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a CreateDeidentifyTemplateRequest. */
+ interface ICreateDeidentifyTemplateRequest {
+
+ /** CreateDeidentifyTemplateRequest parent */
+ parent?: (string|null);
+
+ /** CreateDeidentifyTemplateRequest deidentifyTemplate */
+ deidentifyTemplate?: (google.privacy.dlp.v2.IDeidentifyTemplate|null);
+
+ /** CreateDeidentifyTemplateRequest templateId */
+ templateId?: (string|null);
+
+ /** CreateDeidentifyTemplateRequest locationId */
+ locationId?: (string|null);
+ }
+
+ /** Represents a CreateDeidentifyTemplateRequest. */
+ class CreateDeidentifyTemplateRequest implements ICreateDeidentifyTemplateRequest {
+
+ /**
+ * Constructs a new CreateDeidentifyTemplateRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.ICreateDeidentifyTemplateRequest);
+
+ /** CreateDeidentifyTemplateRequest parent. */
+ public parent: string;
+
+ /** CreateDeidentifyTemplateRequest deidentifyTemplate. */
+ public deidentifyTemplate?: (google.privacy.dlp.v2.IDeidentifyTemplate|null);
+
+ /** CreateDeidentifyTemplateRequest templateId. */
+ public templateId: string;
+
+ /** CreateDeidentifyTemplateRequest locationId. */
+ public locationId: string;
+
+ /**
+ * Creates a new CreateDeidentifyTemplateRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns CreateDeidentifyTemplateRequest instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.ICreateDeidentifyTemplateRequest): google.privacy.dlp.v2.CreateDeidentifyTemplateRequest;
+
+ /**
+ * Encodes the specified CreateDeidentifyTemplateRequest message. Does not implicitly {@link google.privacy.dlp.v2.CreateDeidentifyTemplateRequest.verify|verify} messages.
+ * @param message CreateDeidentifyTemplateRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.ICreateDeidentifyTemplateRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified CreateDeidentifyTemplateRequest message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.CreateDeidentifyTemplateRequest.verify|verify} messages.
+ * @param message CreateDeidentifyTemplateRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.ICreateDeidentifyTemplateRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a CreateDeidentifyTemplateRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns CreateDeidentifyTemplateRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.CreateDeidentifyTemplateRequest;
+
+ /**
+ * Decodes a CreateDeidentifyTemplateRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns CreateDeidentifyTemplateRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.CreateDeidentifyTemplateRequest;
+
+ /**
+ * Verifies a CreateDeidentifyTemplateRequest message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a CreateDeidentifyTemplateRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns CreateDeidentifyTemplateRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.CreateDeidentifyTemplateRequest;
+
+ /**
+ * Creates a plain object from a CreateDeidentifyTemplateRequest message. Also converts values to other types if specified.
+ * @param message CreateDeidentifyTemplateRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.CreateDeidentifyTemplateRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this CreateDeidentifyTemplateRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for CreateDeidentifyTemplateRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of an UpdateDeidentifyTemplateRequest. */
+ interface IUpdateDeidentifyTemplateRequest {
+
+ /** UpdateDeidentifyTemplateRequest name */
+ name?: (string|null);
+
+ /** UpdateDeidentifyTemplateRequest deidentifyTemplate */
+ deidentifyTemplate?: (google.privacy.dlp.v2.IDeidentifyTemplate|null);
+
+ /** UpdateDeidentifyTemplateRequest updateMask */
+ updateMask?: (google.protobuf.IFieldMask|null);
+ }
+
+ /** Represents an UpdateDeidentifyTemplateRequest. */
+ class UpdateDeidentifyTemplateRequest implements IUpdateDeidentifyTemplateRequest {
+
+ /**
+ * Constructs a new UpdateDeidentifyTemplateRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.IUpdateDeidentifyTemplateRequest);
+
+ /** UpdateDeidentifyTemplateRequest name. */
+ public name: string;
+
+ /** UpdateDeidentifyTemplateRequest deidentifyTemplate. */
+ public deidentifyTemplate?: (google.privacy.dlp.v2.IDeidentifyTemplate|null);
+
+ /** UpdateDeidentifyTemplateRequest updateMask. */
+ public updateMask?: (google.protobuf.IFieldMask|null);
+
+ /**
+ * Creates a new UpdateDeidentifyTemplateRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns UpdateDeidentifyTemplateRequest instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.IUpdateDeidentifyTemplateRequest): google.privacy.dlp.v2.UpdateDeidentifyTemplateRequest;
+
+ /**
+ * Encodes the specified UpdateDeidentifyTemplateRequest message. Does not implicitly {@link google.privacy.dlp.v2.UpdateDeidentifyTemplateRequest.verify|verify} messages.
+ * @param message UpdateDeidentifyTemplateRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.IUpdateDeidentifyTemplateRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified UpdateDeidentifyTemplateRequest message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.UpdateDeidentifyTemplateRequest.verify|verify} messages.
+ * @param message UpdateDeidentifyTemplateRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.IUpdateDeidentifyTemplateRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an UpdateDeidentifyTemplateRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns UpdateDeidentifyTemplateRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.UpdateDeidentifyTemplateRequest;
+
+ /**
+ * Decodes an UpdateDeidentifyTemplateRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns UpdateDeidentifyTemplateRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.UpdateDeidentifyTemplateRequest;
+
+ /**
+ * Verifies an UpdateDeidentifyTemplateRequest message.
+ * @param message Plain 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 UpdateDeidentifyTemplateRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns UpdateDeidentifyTemplateRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.UpdateDeidentifyTemplateRequest;
+
+ /**
+ * Creates a plain object from an UpdateDeidentifyTemplateRequest message. Also converts values to other types if specified.
+ * @param message UpdateDeidentifyTemplateRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.UpdateDeidentifyTemplateRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this UpdateDeidentifyTemplateRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for UpdateDeidentifyTemplateRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a GetDeidentifyTemplateRequest. */
+ interface IGetDeidentifyTemplateRequest {
+
+ /** GetDeidentifyTemplateRequest name */
+ name?: (string|null);
+ }
+
+ /** Represents a GetDeidentifyTemplateRequest. */
+ class GetDeidentifyTemplateRequest implements IGetDeidentifyTemplateRequest {
+
+ /**
+ * Constructs a new GetDeidentifyTemplateRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.IGetDeidentifyTemplateRequest);
+
+ /** GetDeidentifyTemplateRequest name. */
+ public name: string;
+
+ /**
+ * Creates a new GetDeidentifyTemplateRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns GetDeidentifyTemplateRequest instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.IGetDeidentifyTemplateRequest): google.privacy.dlp.v2.GetDeidentifyTemplateRequest;
+
+ /**
+ * Encodes the specified GetDeidentifyTemplateRequest message. Does not implicitly {@link google.privacy.dlp.v2.GetDeidentifyTemplateRequest.verify|verify} messages.
+ * @param message GetDeidentifyTemplateRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.IGetDeidentifyTemplateRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified GetDeidentifyTemplateRequest message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.GetDeidentifyTemplateRequest.verify|verify} messages.
+ * @param message GetDeidentifyTemplateRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.IGetDeidentifyTemplateRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a GetDeidentifyTemplateRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns GetDeidentifyTemplateRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.GetDeidentifyTemplateRequest;
+
+ /**
+ * Decodes a GetDeidentifyTemplateRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns GetDeidentifyTemplateRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.GetDeidentifyTemplateRequest;
+
+ /**
+ * Verifies a GetDeidentifyTemplateRequest message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a GetDeidentifyTemplateRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns GetDeidentifyTemplateRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.GetDeidentifyTemplateRequest;
+
+ /**
+ * Creates a plain object from a GetDeidentifyTemplateRequest message. Also converts values to other types if specified.
+ * @param message GetDeidentifyTemplateRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.GetDeidentifyTemplateRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this GetDeidentifyTemplateRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for GetDeidentifyTemplateRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a ListDeidentifyTemplatesRequest. */
+ interface IListDeidentifyTemplatesRequest {
+
+ /** ListDeidentifyTemplatesRequest parent */
+ parent?: (string|null);
+
+ /** ListDeidentifyTemplatesRequest pageToken */
+ pageToken?: (string|null);
+
+ /** ListDeidentifyTemplatesRequest pageSize */
+ pageSize?: (number|null);
+
+ /** ListDeidentifyTemplatesRequest orderBy */
+ orderBy?: (string|null);
+
+ /** ListDeidentifyTemplatesRequest locationId */
+ locationId?: (string|null);
+ }
+
+ /** Represents a ListDeidentifyTemplatesRequest. */
+ class ListDeidentifyTemplatesRequest implements IListDeidentifyTemplatesRequest {
+
+ /**
+ * Constructs a new ListDeidentifyTemplatesRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.IListDeidentifyTemplatesRequest);
+
+ /** ListDeidentifyTemplatesRequest parent. */
+ public parent: string;
+
+ /** ListDeidentifyTemplatesRequest pageToken. */
+ public pageToken: string;
+
+ /** ListDeidentifyTemplatesRequest pageSize. */
+ public pageSize: number;
+
+ /** ListDeidentifyTemplatesRequest orderBy. */
+ public orderBy: string;
+
+ /** ListDeidentifyTemplatesRequest locationId. */
+ public locationId: string;
+
+ /**
+ * Creates a new ListDeidentifyTemplatesRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ListDeidentifyTemplatesRequest instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.IListDeidentifyTemplatesRequest): google.privacy.dlp.v2.ListDeidentifyTemplatesRequest;
+
+ /**
+ * Encodes the specified ListDeidentifyTemplatesRequest message. Does not implicitly {@link google.privacy.dlp.v2.ListDeidentifyTemplatesRequest.verify|verify} messages.
+ * @param message ListDeidentifyTemplatesRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.IListDeidentifyTemplatesRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ListDeidentifyTemplatesRequest message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.ListDeidentifyTemplatesRequest.verify|verify} messages.
+ * @param message ListDeidentifyTemplatesRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.IListDeidentifyTemplatesRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ListDeidentifyTemplatesRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ListDeidentifyTemplatesRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.ListDeidentifyTemplatesRequest;
+
+ /**
+ * Decodes a ListDeidentifyTemplatesRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ListDeidentifyTemplatesRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.ListDeidentifyTemplatesRequest;
+
+ /**
+ * Verifies a ListDeidentifyTemplatesRequest message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a ListDeidentifyTemplatesRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ListDeidentifyTemplatesRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.ListDeidentifyTemplatesRequest;
+
+ /**
+ * Creates a plain object from a ListDeidentifyTemplatesRequest message. Also converts values to other types if specified.
+ * @param message ListDeidentifyTemplatesRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.ListDeidentifyTemplatesRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ListDeidentifyTemplatesRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ListDeidentifyTemplatesRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a ListDeidentifyTemplatesResponse. */
+ interface IListDeidentifyTemplatesResponse {
+
+ /** ListDeidentifyTemplatesResponse deidentifyTemplates */
+ deidentifyTemplates?: (google.privacy.dlp.v2.IDeidentifyTemplate[]|null);
+
+ /** ListDeidentifyTemplatesResponse nextPageToken */
+ nextPageToken?: (string|null);
+ }
+
+ /** Represents a ListDeidentifyTemplatesResponse. */
+ class ListDeidentifyTemplatesResponse implements IListDeidentifyTemplatesResponse {
+
+ /**
+ * Constructs a new ListDeidentifyTemplatesResponse.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.IListDeidentifyTemplatesResponse);
+
+ /** ListDeidentifyTemplatesResponse deidentifyTemplates. */
+ public deidentifyTemplates: google.privacy.dlp.v2.IDeidentifyTemplate[];
+
+ /** ListDeidentifyTemplatesResponse nextPageToken. */
+ public nextPageToken: string;
+
+ /**
+ * Creates a new ListDeidentifyTemplatesResponse instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ListDeidentifyTemplatesResponse instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.IListDeidentifyTemplatesResponse): google.privacy.dlp.v2.ListDeidentifyTemplatesResponse;
+
+ /**
+ * Encodes the specified ListDeidentifyTemplatesResponse message. Does not implicitly {@link google.privacy.dlp.v2.ListDeidentifyTemplatesResponse.verify|verify} messages.
+ * @param message ListDeidentifyTemplatesResponse message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.IListDeidentifyTemplatesResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ListDeidentifyTemplatesResponse message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.ListDeidentifyTemplatesResponse.verify|verify} messages.
+ * @param message ListDeidentifyTemplatesResponse message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.IListDeidentifyTemplatesResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ListDeidentifyTemplatesResponse message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ListDeidentifyTemplatesResponse
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.ListDeidentifyTemplatesResponse;
+
+ /**
+ * Decodes a ListDeidentifyTemplatesResponse message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ListDeidentifyTemplatesResponse
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.ListDeidentifyTemplatesResponse;
+
+ /**
+ * Verifies a ListDeidentifyTemplatesResponse message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a ListDeidentifyTemplatesResponse message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ListDeidentifyTemplatesResponse
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.ListDeidentifyTemplatesResponse;
+
+ /**
+ * Creates a plain object from a ListDeidentifyTemplatesResponse message. Also converts values to other types if specified.
+ * @param message ListDeidentifyTemplatesResponse
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.ListDeidentifyTemplatesResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ListDeidentifyTemplatesResponse to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ListDeidentifyTemplatesResponse
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a DeleteDeidentifyTemplateRequest. */
+ interface IDeleteDeidentifyTemplateRequest {
+
+ /** DeleteDeidentifyTemplateRequest name */
+ name?: (string|null);
+ }
+
+ /** Represents a DeleteDeidentifyTemplateRequest. */
+ class DeleteDeidentifyTemplateRequest implements IDeleteDeidentifyTemplateRequest {
+
+ /**
+ * Constructs a new DeleteDeidentifyTemplateRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.IDeleteDeidentifyTemplateRequest);
+
+ /** DeleteDeidentifyTemplateRequest name. */
+ public name: string;
+
+ /**
+ * Creates a new DeleteDeidentifyTemplateRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns DeleteDeidentifyTemplateRequest instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.IDeleteDeidentifyTemplateRequest): google.privacy.dlp.v2.DeleteDeidentifyTemplateRequest;
+
+ /**
+ * Encodes the specified DeleteDeidentifyTemplateRequest message. Does not implicitly {@link google.privacy.dlp.v2.DeleteDeidentifyTemplateRequest.verify|verify} messages.
+ * @param message DeleteDeidentifyTemplateRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.IDeleteDeidentifyTemplateRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified DeleteDeidentifyTemplateRequest message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.DeleteDeidentifyTemplateRequest.verify|verify} messages.
+ * @param message DeleteDeidentifyTemplateRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.IDeleteDeidentifyTemplateRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a DeleteDeidentifyTemplateRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns DeleteDeidentifyTemplateRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.DeleteDeidentifyTemplateRequest;
+
+ /**
+ * Decodes a DeleteDeidentifyTemplateRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns DeleteDeidentifyTemplateRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.DeleteDeidentifyTemplateRequest;
+
+ /**
+ * Verifies a DeleteDeidentifyTemplateRequest message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a DeleteDeidentifyTemplateRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns DeleteDeidentifyTemplateRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.DeleteDeidentifyTemplateRequest;
+
+ /**
+ * Creates a plain object from a DeleteDeidentifyTemplateRequest message. Also converts values to other types if specified.
+ * @param message DeleteDeidentifyTemplateRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.DeleteDeidentifyTemplateRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this DeleteDeidentifyTemplateRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for DeleteDeidentifyTemplateRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a LargeCustomDictionaryConfig. */
+ interface ILargeCustomDictionaryConfig {
+
+ /** LargeCustomDictionaryConfig outputPath */
+ outputPath?: (google.privacy.dlp.v2.ICloudStoragePath|null);
+
+ /** LargeCustomDictionaryConfig cloudStorageFileSet */
+ cloudStorageFileSet?: (google.privacy.dlp.v2.ICloudStorageFileSet|null);
+
+ /** LargeCustomDictionaryConfig bigQueryField */
+ bigQueryField?: (google.privacy.dlp.v2.IBigQueryField|null);
+ }
+
+ /** Represents a LargeCustomDictionaryConfig. */
+ class LargeCustomDictionaryConfig implements ILargeCustomDictionaryConfig {
+
+ /**
+ * Constructs a new LargeCustomDictionaryConfig.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.ILargeCustomDictionaryConfig);
+
+ /** LargeCustomDictionaryConfig outputPath. */
+ public outputPath?: (google.privacy.dlp.v2.ICloudStoragePath|null);
+
+ /** LargeCustomDictionaryConfig cloudStorageFileSet. */
+ public cloudStorageFileSet?: (google.privacy.dlp.v2.ICloudStorageFileSet|null);
+
+ /** LargeCustomDictionaryConfig bigQueryField. */
+ public bigQueryField?: (google.privacy.dlp.v2.IBigQueryField|null);
+
+ /** LargeCustomDictionaryConfig source. */
+ public source?: ("cloudStorageFileSet"|"bigQueryField");
+
+ /**
+ * Creates a new LargeCustomDictionaryConfig instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns LargeCustomDictionaryConfig instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.ILargeCustomDictionaryConfig): google.privacy.dlp.v2.LargeCustomDictionaryConfig;
+
+ /**
+ * Encodes the specified LargeCustomDictionaryConfig message. Does not implicitly {@link google.privacy.dlp.v2.LargeCustomDictionaryConfig.verify|verify} messages.
+ * @param message LargeCustomDictionaryConfig message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.ILargeCustomDictionaryConfig, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified LargeCustomDictionaryConfig message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.LargeCustomDictionaryConfig.verify|verify} messages.
+ * @param message LargeCustomDictionaryConfig message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.ILargeCustomDictionaryConfig, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a LargeCustomDictionaryConfig message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns LargeCustomDictionaryConfig
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.LargeCustomDictionaryConfig;
+
+ /**
+ * Decodes a LargeCustomDictionaryConfig message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns LargeCustomDictionaryConfig
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.LargeCustomDictionaryConfig;
+
+ /**
+ * Verifies a LargeCustomDictionaryConfig message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a LargeCustomDictionaryConfig message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns LargeCustomDictionaryConfig
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.LargeCustomDictionaryConfig;
+
+ /**
+ * Creates a plain object from a LargeCustomDictionaryConfig message. Also converts values to other types if specified.
+ * @param message LargeCustomDictionaryConfig
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.LargeCustomDictionaryConfig, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this LargeCustomDictionaryConfig to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for LargeCustomDictionaryConfig
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a LargeCustomDictionaryStats. */
+ interface ILargeCustomDictionaryStats {
+
+ /** LargeCustomDictionaryStats approxNumPhrases */
+ approxNumPhrases?: (number|Long|string|null);
+ }
+
+ /** Represents a LargeCustomDictionaryStats. */
+ class LargeCustomDictionaryStats implements ILargeCustomDictionaryStats {
+
+ /**
+ * Constructs a new LargeCustomDictionaryStats.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.ILargeCustomDictionaryStats);
+
+ /** LargeCustomDictionaryStats approxNumPhrases. */
+ public approxNumPhrases: (number|Long|string);
+
+ /**
+ * Creates a new LargeCustomDictionaryStats instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns LargeCustomDictionaryStats instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.ILargeCustomDictionaryStats): google.privacy.dlp.v2.LargeCustomDictionaryStats;
+
+ /**
+ * Encodes the specified LargeCustomDictionaryStats message. Does not implicitly {@link google.privacy.dlp.v2.LargeCustomDictionaryStats.verify|verify} messages.
+ * @param message LargeCustomDictionaryStats message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.ILargeCustomDictionaryStats, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified LargeCustomDictionaryStats message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.LargeCustomDictionaryStats.verify|verify} messages.
+ * @param message LargeCustomDictionaryStats message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.ILargeCustomDictionaryStats, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a LargeCustomDictionaryStats message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns LargeCustomDictionaryStats
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.LargeCustomDictionaryStats;
+
+ /**
+ * Decodes a LargeCustomDictionaryStats message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns LargeCustomDictionaryStats
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.LargeCustomDictionaryStats;
+
+ /**
+ * Verifies a LargeCustomDictionaryStats message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a LargeCustomDictionaryStats message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns LargeCustomDictionaryStats
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.LargeCustomDictionaryStats;
+
+ /**
+ * Creates a plain object from a LargeCustomDictionaryStats message. Also converts values to other types if specified.
+ * @param message LargeCustomDictionaryStats
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.LargeCustomDictionaryStats, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this LargeCustomDictionaryStats to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for LargeCustomDictionaryStats
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a StoredInfoTypeConfig. */
+ interface IStoredInfoTypeConfig {
+
+ /** StoredInfoTypeConfig displayName */
+ displayName?: (string|null);
+
+ /** StoredInfoTypeConfig description */
+ description?: (string|null);
+
+ /** StoredInfoTypeConfig largeCustomDictionary */
+ largeCustomDictionary?: (google.privacy.dlp.v2.ILargeCustomDictionaryConfig|null);
+
+ /** StoredInfoTypeConfig dictionary */
+ dictionary?: (google.privacy.dlp.v2.CustomInfoType.IDictionary|null);
+
+ /** StoredInfoTypeConfig regex */
+ regex?: (google.privacy.dlp.v2.CustomInfoType.IRegex|null);
+ }
+
+ /** Represents a StoredInfoTypeConfig. */
+ class StoredInfoTypeConfig implements IStoredInfoTypeConfig {
+
+ /**
+ * Constructs a new StoredInfoTypeConfig.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.IStoredInfoTypeConfig);
+
+ /** StoredInfoTypeConfig displayName. */
+ public displayName: string;
+
+ /** StoredInfoTypeConfig description. */
+ public description: string;
+
+ /** StoredInfoTypeConfig largeCustomDictionary. */
+ public largeCustomDictionary?: (google.privacy.dlp.v2.ILargeCustomDictionaryConfig|null);
+
+ /** StoredInfoTypeConfig dictionary. */
+ public dictionary?: (google.privacy.dlp.v2.CustomInfoType.IDictionary|null);
+
+ /** StoredInfoTypeConfig regex. */
+ public regex?: (google.privacy.dlp.v2.CustomInfoType.IRegex|null);
+
+ /** StoredInfoTypeConfig type. */
+ public type?: ("largeCustomDictionary"|"dictionary"|"regex");
+
+ /**
+ * Creates a new StoredInfoTypeConfig instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns StoredInfoTypeConfig instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.IStoredInfoTypeConfig): google.privacy.dlp.v2.StoredInfoTypeConfig;
+
+ /**
+ * Encodes the specified StoredInfoTypeConfig message. Does not implicitly {@link google.privacy.dlp.v2.StoredInfoTypeConfig.verify|verify} messages.
+ * @param message StoredInfoTypeConfig message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.IStoredInfoTypeConfig, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified StoredInfoTypeConfig message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.StoredInfoTypeConfig.verify|verify} messages.
+ * @param message StoredInfoTypeConfig message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.IStoredInfoTypeConfig, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a StoredInfoTypeConfig message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns StoredInfoTypeConfig
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.StoredInfoTypeConfig;
+
+ /**
+ * Decodes a StoredInfoTypeConfig message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns StoredInfoTypeConfig
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.StoredInfoTypeConfig;
+
+ /**
+ * Verifies a StoredInfoTypeConfig message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a StoredInfoTypeConfig message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns StoredInfoTypeConfig
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.StoredInfoTypeConfig;
+
+ /**
+ * Creates a plain object from a StoredInfoTypeConfig message. Also converts values to other types if specified.
+ * @param message StoredInfoTypeConfig
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.StoredInfoTypeConfig, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this StoredInfoTypeConfig to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for StoredInfoTypeConfig
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a StoredInfoTypeStats. */
+ interface IStoredInfoTypeStats {
+
+ /** StoredInfoTypeStats largeCustomDictionary */
+ largeCustomDictionary?: (google.privacy.dlp.v2.ILargeCustomDictionaryStats|null);
+ }
+
+ /** Represents a StoredInfoTypeStats. */
+ class StoredInfoTypeStats implements IStoredInfoTypeStats {
+
+ /**
+ * Constructs a new StoredInfoTypeStats.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.IStoredInfoTypeStats);
+
+ /** StoredInfoTypeStats largeCustomDictionary. */
+ public largeCustomDictionary?: (google.privacy.dlp.v2.ILargeCustomDictionaryStats|null);
+
+ /** StoredInfoTypeStats type. */
+ public type?: "largeCustomDictionary";
+
+ /**
+ * Creates a new StoredInfoTypeStats instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns StoredInfoTypeStats instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.IStoredInfoTypeStats): google.privacy.dlp.v2.StoredInfoTypeStats;
+
+ /**
+ * Encodes the specified StoredInfoTypeStats message. Does not implicitly {@link google.privacy.dlp.v2.StoredInfoTypeStats.verify|verify} messages.
+ * @param message StoredInfoTypeStats message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.IStoredInfoTypeStats, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified StoredInfoTypeStats message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.StoredInfoTypeStats.verify|verify} messages.
+ * @param message StoredInfoTypeStats message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.IStoredInfoTypeStats, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a StoredInfoTypeStats message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns StoredInfoTypeStats
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.StoredInfoTypeStats;
+
+ /**
+ * Decodes a StoredInfoTypeStats message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns StoredInfoTypeStats
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.StoredInfoTypeStats;
+
+ /**
+ * Verifies a StoredInfoTypeStats message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a StoredInfoTypeStats message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns StoredInfoTypeStats
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.StoredInfoTypeStats;
+
+ /**
+ * Creates a plain object from a StoredInfoTypeStats message. Also converts values to other types if specified.
+ * @param message StoredInfoTypeStats
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.StoredInfoTypeStats, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this StoredInfoTypeStats to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for StoredInfoTypeStats
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a StoredInfoTypeVersion. */
+ interface IStoredInfoTypeVersion {
+
+ /** StoredInfoTypeVersion config */
+ config?: (google.privacy.dlp.v2.IStoredInfoTypeConfig|null);
+
+ /** StoredInfoTypeVersion createTime */
+ createTime?: (google.protobuf.ITimestamp|null);
+
+ /** StoredInfoTypeVersion state */
+ state?: (google.privacy.dlp.v2.StoredInfoTypeState|keyof typeof google.privacy.dlp.v2.StoredInfoTypeState|null);
+
+ /** StoredInfoTypeVersion errors */
+ errors?: (google.privacy.dlp.v2.IError[]|null);
+
+ /** StoredInfoTypeVersion stats */
+ stats?: (google.privacy.dlp.v2.IStoredInfoTypeStats|null);
+ }
+
+ /** Represents a StoredInfoTypeVersion. */
+ class StoredInfoTypeVersion implements IStoredInfoTypeVersion {
+
+ /**
+ * Constructs a new StoredInfoTypeVersion.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.IStoredInfoTypeVersion);
+
+ /** StoredInfoTypeVersion config. */
+ public config?: (google.privacy.dlp.v2.IStoredInfoTypeConfig|null);
+
+ /** StoredInfoTypeVersion createTime. */
+ public createTime?: (google.protobuf.ITimestamp|null);
+
+ /** StoredInfoTypeVersion state. */
+ public state: (google.privacy.dlp.v2.StoredInfoTypeState|keyof typeof google.privacy.dlp.v2.StoredInfoTypeState);
+
+ /** StoredInfoTypeVersion errors. */
+ public errors: google.privacy.dlp.v2.IError[];
+
+ /** StoredInfoTypeVersion stats. */
+ public stats?: (google.privacy.dlp.v2.IStoredInfoTypeStats|null);
+
+ /**
+ * Creates a new StoredInfoTypeVersion instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns StoredInfoTypeVersion instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.IStoredInfoTypeVersion): google.privacy.dlp.v2.StoredInfoTypeVersion;
+
+ /**
+ * Encodes the specified StoredInfoTypeVersion message. Does not implicitly {@link google.privacy.dlp.v2.StoredInfoTypeVersion.verify|verify} messages.
+ * @param message StoredInfoTypeVersion message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.IStoredInfoTypeVersion, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified StoredInfoTypeVersion message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.StoredInfoTypeVersion.verify|verify} messages.
+ * @param message StoredInfoTypeVersion message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.IStoredInfoTypeVersion, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a StoredInfoTypeVersion message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns StoredInfoTypeVersion
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.StoredInfoTypeVersion;
+
+ /**
+ * Decodes a StoredInfoTypeVersion message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns StoredInfoTypeVersion
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.StoredInfoTypeVersion;
+
+ /**
+ * Verifies a StoredInfoTypeVersion message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a StoredInfoTypeVersion message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns StoredInfoTypeVersion
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.StoredInfoTypeVersion;
+
+ /**
+ * Creates a plain object from a StoredInfoTypeVersion message. Also converts values to other types if specified.
+ * @param message StoredInfoTypeVersion
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.StoredInfoTypeVersion, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this StoredInfoTypeVersion to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for StoredInfoTypeVersion
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a StoredInfoType. */
+ interface IStoredInfoType {
+
+ /** StoredInfoType name */
+ name?: (string|null);
+
+ /** StoredInfoType currentVersion */
+ currentVersion?: (google.privacy.dlp.v2.IStoredInfoTypeVersion|null);
+
+ /** StoredInfoType pendingVersions */
+ pendingVersions?: (google.privacy.dlp.v2.IStoredInfoTypeVersion[]|null);
+ }
+
+ /** Represents a StoredInfoType. */
+ class StoredInfoType implements IStoredInfoType {
+
+ /**
+ * Constructs a new StoredInfoType.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.IStoredInfoType);
+
+ /** StoredInfoType name. */
+ public name: string;
+
+ /** StoredInfoType currentVersion. */
+ public currentVersion?: (google.privacy.dlp.v2.IStoredInfoTypeVersion|null);
+
+ /** StoredInfoType pendingVersions. */
+ public pendingVersions: google.privacy.dlp.v2.IStoredInfoTypeVersion[];
+
+ /**
+ * Creates a new StoredInfoType instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns StoredInfoType instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.IStoredInfoType): google.privacy.dlp.v2.StoredInfoType;
+
+ /**
+ * Encodes the specified StoredInfoType message. Does not implicitly {@link google.privacy.dlp.v2.StoredInfoType.verify|verify} messages.
+ * @param message StoredInfoType message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.IStoredInfoType, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified StoredInfoType message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.StoredInfoType.verify|verify} messages.
+ * @param message StoredInfoType message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.IStoredInfoType, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a StoredInfoType message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns StoredInfoType
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.StoredInfoType;
+
+ /**
+ * Decodes a StoredInfoType message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns StoredInfoType
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.StoredInfoType;
+
+ /**
+ * Verifies a StoredInfoType message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a StoredInfoType message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns StoredInfoType
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.StoredInfoType;
+
+ /**
+ * Creates a plain object from a StoredInfoType message. Also converts values to other types if specified.
+ * @param message StoredInfoType
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.StoredInfoType, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this StoredInfoType to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for StoredInfoType
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a CreateStoredInfoTypeRequest. */
+ interface ICreateStoredInfoTypeRequest {
+
+ /** CreateStoredInfoTypeRequest parent */
+ parent?: (string|null);
+
+ /** CreateStoredInfoTypeRequest config */
+ config?: (google.privacy.dlp.v2.IStoredInfoTypeConfig|null);
+
+ /** CreateStoredInfoTypeRequest storedInfoTypeId */
+ storedInfoTypeId?: (string|null);
+
+ /** CreateStoredInfoTypeRequest locationId */
+ locationId?: (string|null);
+ }
+
+ /** Represents a CreateStoredInfoTypeRequest. */
+ class CreateStoredInfoTypeRequest implements ICreateStoredInfoTypeRequest {
+
+ /**
+ * Constructs a new CreateStoredInfoTypeRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.ICreateStoredInfoTypeRequest);
+
+ /** CreateStoredInfoTypeRequest parent. */
+ public parent: string;
+
+ /** CreateStoredInfoTypeRequest config. */
+ public config?: (google.privacy.dlp.v2.IStoredInfoTypeConfig|null);
+
+ /** CreateStoredInfoTypeRequest storedInfoTypeId. */
+ public storedInfoTypeId: string;
+
+ /** CreateStoredInfoTypeRequest locationId. */
+ public locationId: string;
+
+ /**
+ * Creates a new CreateStoredInfoTypeRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns CreateStoredInfoTypeRequest instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.ICreateStoredInfoTypeRequest): google.privacy.dlp.v2.CreateStoredInfoTypeRequest;
+
+ /**
+ * Encodes the specified CreateStoredInfoTypeRequest message. Does not implicitly {@link google.privacy.dlp.v2.CreateStoredInfoTypeRequest.verify|verify} messages.
+ * @param message CreateStoredInfoTypeRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.ICreateStoredInfoTypeRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified CreateStoredInfoTypeRequest message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.CreateStoredInfoTypeRequest.verify|verify} messages.
+ * @param message CreateStoredInfoTypeRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.ICreateStoredInfoTypeRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a CreateStoredInfoTypeRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns CreateStoredInfoTypeRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.CreateStoredInfoTypeRequest;
+
+ /**
+ * Decodes a CreateStoredInfoTypeRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns CreateStoredInfoTypeRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.CreateStoredInfoTypeRequest;
+
+ /**
+ * Verifies a CreateStoredInfoTypeRequest message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a CreateStoredInfoTypeRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns CreateStoredInfoTypeRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.CreateStoredInfoTypeRequest;
+
+ /**
+ * Creates a plain object from a CreateStoredInfoTypeRequest message. Also converts values to other types if specified.
+ * @param message CreateStoredInfoTypeRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.CreateStoredInfoTypeRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this CreateStoredInfoTypeRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for CreateStoredInfoTypeRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of an UpdateStoredInfoTypeRequest. */
+ interface IUpdateStoredInfoTypeRequest {
+
+ /** UpdateStoredInfoTypeRequest name */
+ name?: (string|null);
+
+ /** UpdateStoredInfoTypeRequest config */
+ config?: (google.privacy.dlp.v2.IStoredInfoTypeConfig|null);
+
+ /** UpdateStoredInfoTypeRequest updateMask */
+ updateMask?: (google.protobuf.IFieldMask|null);
+ }
+
+ /** Represents an UpdateStoredInfoTypeRequest. */
+ class UpdateStoredInfoTypeRequest implements IUpdateStoredInfoTypeRequest {
+
+ /**
+ * Constructs a new UpdateStoredInfoTypeRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.IUpdateStoredInfoTypeRequest);
+
+ /** UpdateStoredInfoTypeRequest name. */
+ public name: string;
+
+ /** UpdateStoredInfoTypeRequest config. */
+ public config?: (google.privacy.dlp.v2.IStoredInfoTypeConfig|null);
+
+ /** UpdateStoredInfoTypeRequest updateMask. */
+ public updateMask?: (google.protobuf.IFieldMask|null);
+
+ /**
+ * Creates a new UpdateStoredInfoTypeRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns UpdateStoredInfoTypeRequest instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.IUpdateStoredInfoTypeRequest): google.privacy.dlp.v2.UpdateStoredInfoTypeRequest;
+
+ /**
+ * Encodes the specified UpdateStoredInfoTypeRequest message. Does not implicitly {@link google.privacy.dlp.v2.UpdateStoredInfoTypeRequest.verify|verify} messages.
+ * @param message UpdateStoredInfoTypeRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.IUpdateStoredInfoTypeRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified UpdateStoredInfoTypeRequest message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.UpdateStoredInfoTypeRequest.verify|verify} messages.
+ * @param message UpdateStoredInfoTypeRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.IUpdateStoredInfoTypeRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an UpdateStoredInfoTypeRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns UpdateStoredInfoTypeRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.UpdateStoredInfoTypeRequest;
+
+ /**
+ * Decodes an UpdateStoredInfoTypeRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns UpdateStoredInfoTypeRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.UpdateStoredInfoTypeRequest;
+
+ /**
+ * Verifies an UpdateStoredInfoTypeRequest message.
+ * @param message Plain 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 UpdateStoredInfoTypeRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns UpdateStoredInfoTypeRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.UpdateStoredInfoTypeRequest;
+
+ /**
+ * Creates a plain object from an UpdateStoredInfoTypeRequest message. Also converts values to other types if specified.
+ * @param message UpdateStoredInfoTypeRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.UpdateStoredInfoTypeRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this UpdateStoredInfoTypeRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for UpdateStoredInfoTypeRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a GetStoredInfoTypeRequest. */
+ interface IGetStoredInfoTypeRequest {
+
+ /** GetStoredInfoTypeRequest name */
+ name?: (string|null);
+ }
+
+ /** Represents a GetStoredInfoTypeRequest. */
+ class GetStoredInfoTypeRequest implements IGetStoredInfoTypeRequest {
+
+ /**
+ * Constructs a new GetStoredInfoTypeRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.IGetStoredInfoTypeRequest);
+
+ /** GetStoredInfoTypeRequest name. */
+ public name: string;
+
+ /**
+ * Creates a new GetStoredInfoTypeRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns GetStoredInfoTypeRequest instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.IGetStoredInfoTypeRequest): google.privacy.dlp.v2.GetStoredInfoTypeRequest;
+
+ /**
+ * Encodes the specified GetStoredInfoTypeRequest message. Does not implicitly {@link google.privacy.dlp.v2.GetStoredInfoTypeRequest.verify|verify} messages.
+ * @param message GetStoredInfoTypeRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.IGetStoredInfoTypeRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified GetStoredInfoTypeRequest message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.GetStoredInfoTypeRequest.verify|verify} messages.
+ * @param message GetStoredInfoTypeRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.IGetStoredInfoTypeRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a GetStoredInfoTypeRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns GetStoredInfoTypeRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.GetStoredInfoTypeRequest;
+
+ /**
+ * Decodes a GetStoredInfoTypeRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns GetStoredInfoTypeRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.GetStoredInfoTypeRequest;
+
+ /**
+ * Verifies a GetStoredInfoTypeRequest message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a GetStoredInfoTypeRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns GetStoredInfoTypeRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.GetStoredInfoTypeRequest;
+
+ /**
+ * Creates a plain object from a GetStoredInfoTypeRequest message. Also converts values to other types if specified.
+ * @param message GetStoredInfoTypeRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.GetStoredInfoTypeRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this GetStoredInfoTypeRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for GetStoredInfoTypeRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a ListStoredInfoTypesRequest. */
+ interface IListStoredInfoTypesRequest {
+
+ /** ListStoredInfoTypesRequest parent */
+ parent?: (string|null);
+
+ /** ListStoredInfoTypesRequest pageToken */
+ pageToken?: (string|null);
+
+ /** ListStoredInfoTypesRequest pageSize */
+ pageSize?: (number|null);
+
+ /** ListStoredInfoTypesRequest orderBy */
+ orderBy?: (string|null);
+
+ /** ListStoredInfoTypesRequest locationId */
+ locationId?: (string|null);
+ }
+
+ /** Represents a ListStoredInfoTypesRequest. */
+ class ListStoredInfoTypesRequest implements IListStoredInfoTypesRequest {
+
+ /**
+ * Constructs a new ListStoredInfoTypesRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.IListStoredInfoTypesRequest);
+
+ /** ListStoredInfoTypesRequest parent. */
+ public parent: string;
+
+ /** ListStoredInfoTypesRequest pageToken. */
+ public pageToken: string;
+
+ /** ListStoredInfoTypesRequest pageSize. */
+ public pageSize: number;
+
+ /** ListStoredInfoTypesRequest orderBy. */
+ public orderBy: string;
+
+ /** ListStoredInfoTypesRequest locationId. */
+ public locationId: string;
+
+ /**
+ * Creates a new ListStoredInfoTypesRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ListStoredInfoTypesRequest instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.IListStoredInfoTypesRequest): google.privacy.dlp.v2.ListStoredInfoTypesRequest;
+
+ /**
+ * Encodes the specified ListStoredInfoTypesRequest message. Does not implicitly {@link google.privacy.dlp.v2.ListStoredInfoTypesRequest.verify|verify} messages.
+ * @param message ListStoredInfoTypesRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.IListStoredInfoTypesRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ListStoredInfoTypesRequest message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.ListStoredInfoTypesRequest.verify|verify} messages.
+ * @param message ListStoredInfoTypesRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.IListStoredInfoTypesRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ListStoredInfoTypesRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ListStoredInfoTypesRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.ListStoredInfoTypesRequest;
+
+ /**
+ * Decodes a ListStoredInfoTypesRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ListStoredInfoTypesRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.ListStoredInfoTypesRequest;
+
+ /**
+ * Verifies a ListStoredInfoTypesRequest message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a ListStoredInfoTypesRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ListStoredInfoTypesRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.ListStoredInfoTypesRequest;
+
+ /**
+ * Creates a plain object from a ListStoredInfoTypesRequest message. Also converts values to other types if specified.
+ * @param message ListStoredInfoTypesRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.ListStoredInfoTypesRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ListStoredInfoTypesRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ListStoredInfoTypesRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a ListStoredInfoTypesResponse. */
+ interface IListStoredInfoTypesResponse {
+
+ /** ListStoredInfoTypesResponse storedInfoTypes */
+ storedInfoTypes?: (google.privacy.dlp.v2.IStoredInfoType[]|null);
+
+ /** ListStoredInfoTypesResponse nextPageToken */
+ nextPageToken?: (string|null);
+ }
+
+ /** Represents a ListStoredInfoTypesResponse. */
+ class ListStoredInfoTypesResponse implements IListStoredInfoTypesResponse {
+
+ /**
+ * Constructs a new ListStoredInfoTypesResponse.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.IListStoredInfoTypesResponse);
+
+ /** ListStoredInfoTypesResponse storedInfoTypes. */
+ public storedInfoTypes: google.privacy.dlp.v2.IStoredInfoType[];
+
+ /** ListStoredInfoTypesResponse nextPageToken. */
+ public nextPageToken: string;
+
+ /**
+ * Creates a new ListStoredInfoTypesResponse instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ListStoredInfoTypesResponse instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.IListStoredInfoTypesResponse): google.privacy.dlp.v2.ListStoredInfoTypesResponse;
+
+ /**
+ * Encodes the specified ListStoredInfoTypesResponse message. Does not implicitly {@link google.privacy.dlp.v2.ListStoredInfoTypesResponse.verify|verify} messages.
+ * @param message ListStoredInfoTypesResponse message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.IListStoredInfoTypesResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ListStoredInfoTypesResponse message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.ListStoredInfoTypesResponse.verify|verify} messages.
+ * @param message ListStoredInfoTypesResponse message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.IListStoredInfoTypesResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ListStoredInfoTypesResponse message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ListStoredInfoTypesResponse
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.ListStoredInfoTypesResponse;
+
+ /**
+ * Decodes a ListStoredInfoTypesResponse message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ListStoredInfoTypesResponse
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.ListStoredInfoTypesResponse;
+
+ /**
+ * Verifies a ListStoredInfoTypesResponse message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a ListStoredInfoTypesResponse message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ListStoredInfoTypesResponse
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.ListStoredInfoTypesResponse;
+
+ /**
+ * Creates a plain object from a ListStoredInfoTypesResponse message. Also converts values to other types if specified.
+ * @param message ListStoredInfoTypesResponse
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.ListStoredInfoTypesResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ListStoredInfoTypesResponse to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ListStoredInfoTypesResponse
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a DeleteStoredInfoTypeRequest. */
+ interface IDeleteStoredInfoTypeRequest {
+
+ /** DeleteStoredInfoTypeRequest name */
+ name?: (string|null);
+ }
+
+ /** Represents a DeleteStoredInfoTypeRequest. */
+ class DeleteStoredInfoTypeRequest implements IDeleteStoredInfoTypeRequest {
+
+ /**
+ * Constructs a new DeleteStoredInfoTypeRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.IDeleteStoredInfoTypeRequest);
+
+ /** DeleteStoredInfoTypeRequest name. */
+ public name: string;
+
+ /**
+ * Creates a new DeleteStoredInfoTypeRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns DeleteStoredInfoTypeRequest instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.IDeleteStoredInfoTypeRequest): google.privacy.dlp.v2.DeleteStoredInfoTypeRequest;
+
+ /**
+ * Encodes the specified DeleteStoredInfoTypeRequest message. Does not implicitly {@link google.privacy.dlp.v2.DeleteStoredInfoTypeRequest.verify|verify} messages.
+ * @param message DeleteStoredInfoTypeRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.IDeleteStoredInfoTypeRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified DeleteStoredInfoTypeRequest message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.DeleteStoredInfoTypeRequest.verify|verify} messages.
+ * @param message DeleteStoredInfoTypeRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.IDeleteStoredInfoTypeRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a DeleteStoredInfoTypeRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns DeleteStoredInfoTypeRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.DeleteStoredInfoTypeRequest;
+
+ /**
+ * Decodes a DeleteStoredInfoTypeRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns DeleteStoredInfoTypeRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.DeleteStoredInfoTypeRequest;
+
+ /**
+ * Verifies a DeleteStoredInfoTypeRequest message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a DeleteStoredInfoTypeRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns DeleteStoredInfoTypeRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.DeleteStoredInfoTypeRequest;
+
+ /**
+ * Creates a plain object from a DeleteStoredInfoTypeRequest message. Also converts values to other types if specified.
+ * @param message DeleteStoredInfoTypeRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.DeleteStoredInfoTypeRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this DeleteStoredInfoTypeRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for DeleteStoredInfoTypeRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a HybridInspectJobTriggerRequest. */
+ interface IHybridInspectJobTriggerRequest {
+
+ /** HybridInspectJobTriggerRequest name */
+ name?: (string|null);
+
+ /** HybridInspectJobTriggerRequest hybridItem */
+ hybridItem?: (google.privacy.dlp.v2.IHybridContentItem|null);
+ }
+
+ /** Represents a HybridInspectJobTriggerRequest. */
+ class HybridInspectJobTriggerRequest implements IHybridInspectJobTriggerRequest {
+
+ /**
+ * Constructs a new HybridInspectJobTriggerRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.IHybridInspectJobTriggerRequest);
+
+ /** HybridInspectJobTriggerRequest name. */
+ public name: string;
+
+ /** HybridInspectJobTriggerRequest hybridItem. */
+ public hybridItem?: (google.privacy.dlp.v2.IHybridContentItem|null);
+
+ /**
+ * Creates a new HybridInspectJobTriggerRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns HybridInspectJobTriggerRequest instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.IHybridInspectJobTriggerRequest): google.privacy.dlp.v2.HybridInspectJobTriggerRequest;
+
+ /**
+ * Encodes the specified HybridInspectJobTriggerRequest message. Does not implicitly {@link google.privacy.dlp.v2.HybridInspectJobTriggerRequest.verify|verify} messages.
+ * @param message HybridInspectJobTriggerRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.IHybridInspectJobTriggerRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified HybridInspectJobTriggerRequest message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.HybridInspectJobTriggerRequest.verify|verify} messages.
+ * @param message HybridInspectJobTriggerRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.IHybridInspectJobTriggerRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a HybridInspectJobTriggerRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns HybridInspectJobTriggerRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.HybridInspectJobTriggerRequest;
+
+ /**
+ * Decodes a HybridInspectJobTriggerRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns HybridInspectJobTriggerRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.HybridInspectJobTriggerRequest;
+
+ /**
+ * Verifies a HybridInspectJobTriggerRequest message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a HybridInspectJobTriggerRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns HybridInspectJobTriggerRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.HybridInspectJobTriggerRequest;
+
+ /**
+ * Creates a plain object from a HybridInspectJobTriggerRequest message. Also converts values to other types if specified.
+ * @param message HybridInspectJobTriggerRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.HybridInspectJobTriggerRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this HybridInspectJobTriggerRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for HybridInspectJobTriggerRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a HybridInspectDlpJobRequest. */
+ interface IHybridInspectDlpJobRequest {
+
+ /** HybridInspectDlpJobRequest name */
+ name?: (string|null);
+
+ /** HybridInspectDlpJobRequest hybridItem */
+ hybridItem?: (google.privacy.dlp.v2.IHybridContentItem|null);
+ }
+
+ /** Represents a HybridInspectDlpJobRequest. */
+ class HybridInspectDlpJobRequest implements IHybridInspectDlpJobRequest {
+
+ /**
+ * Constructs a new HybridInspectDlpJobRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.IHybridInspectDlpJobRequest);
+
+ /** HybridInspectDlpJobRequest name. */
+ public name: string;
+
+ /** HybridInspectDlpJobRequest hybridItem. */
+ public hybridItem?: (google.privacy.dlp.v2.IHybridContentItem|null);
+
+ /**
+ * Creates a new HybridInspectDlpJobRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns HybridInspectDlpJobRequest instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.IHybridInspectDlpJobRequest): google.privacy.dlp.v2.HybridInspectDlpJobRequest;
+
+ /**
+ * Encodes the specified HybridInspectDlpJobRequest message. Does not implicitly {@link google.privacy.dlp.v2.HybridInspectDlpJobRequest.verify|verify} messages.
+ * @param message HybridInspectDlpJobRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.IHybridInspectDlpJobRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified HybridInspectDlpJobRequest message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.HybridInspectDlpJobRequest.verify|verify} messages.
+ * @param message HybridInspectDlpJobRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.IHybridInspectDlpJobRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a HybridInspectDlpJobRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns HybridInspectDlpJobRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.HybridInspectDlpJobRequest;
+
+ /**
+ * Decodes a HybridInspectDlpJobRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns HybridInspectDlpJobRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.HybridInspectDlpJobRequest;
+
+ /**
+ * Verifies a HybridInspectDlpJobRequest message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a HybridInspectDlpJobRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns HybridInspectDlpJobRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.HybridInspectDlpJobRequest;
+
+ /**
+ * Creates a plain object from a HybridInspectDlpJobRequest message. Also converts values to other types if specified.
+ * @param message HybridInspectDlpJobRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.HybridInspectDlpJobRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this HybridInspectDlpJobRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for HybridInspectDlpJobRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a HybridContentItem. */
+ interface IHybridContentItem {
+
+ /** HybridContentItem item */
+ item?: (google.privacy.dlp.v2.IContentItem|null);
+
+ /** HybridContentItem findingDetails */
+ findingDetails?: (google.privacy.dlp.v2.IHybridFindingDetails|null);
+ }
+
+ /** Represents a HybridContentItem. */
+ class HybridContentItem implements IHybridContentItem {
+
+ /**
+ * Constructs a new HybridContentItem.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.IHybridContentItem);
+
+ /** HybridContentItem item. */
+ public item?: (google.privacy.dlp.v2.IContentItem|null);
+
+ /** HybridContentItem findingDetails. */
+ public findingDetails?: (google.privacy.dlp.v2.IHybridFindingDetails|null);
+
+ /**
+ * Creates a new HybridContentItem instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns HybridContentItem instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.IHybridContentItem): google.privacy.dlp.v2.HybridContentItem;
+
+ /**
+ * Encodes the specified HybridContentItem message. Does not implicitly {@link google.privacy.dlp.v2.HybridContentItem.verify|verify} messages.
+ * @param message HybridContentItem message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.IHybridContentItem, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified HybridContentItem message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.HybridContentItem.verify|verify} messages.
+ * @param message HybridContentItem message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.IHybridContentItem, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a HybridContentItem message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns HybridContentItem
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.HybridContentItem;
+
+ /**
+ * Decodes a HybridContentItem message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns HybridContentItem
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.HybridContentItem;
+
+ /**
+ * Verifies a HybridContentItem message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a HybridContentItem message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns HybridContentItem
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.HybridContentItem;
+
+ /**
+ * Creates a plain object from a HybridContentItem message. Also converts values to other types if specified.
+ * @param message HybridContentItem
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.HybridContentItem, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this HybridContentItem to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for HybridContentItem
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a HybridFindingDetails. */
+ interface IHybridFindingDetails {
+
+ /** HybridFindingDetails containerDetails */
+ containerDetails?: (google.privacy.dlp.v2.IContainer|null);
+
+ /** HybridFindingDetails fileOffset */
+ fileOffset?: (number|Long|string|null);
+
+ /** HybridFindingDetails rowOffset */
+ rowOffset?: (number|Long|string|null);
+
+ /** HybridFindingDetails tableOptions */
+ tableOptions?: (google.privacy.dlp.v2.ITableOptions|null);
+
+ /** HybridFindingDetails labels */
+ labels?: ({ [k: string]: string }|null);
+ }
+
+ /** Represents a HybridFindingDetails. */
+ class HybridFindingDetails implements IHybridFindingDetails {
+
+ /**
+ * Constructs a new HybridFindingDetails.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.IHybridFindingDetails);
+
+ /** HybridFindingDetails containerDetails. */
+ public containerDetails?: (google.privacy.dlp.v2.IContainer|null);
+
+ /** HybridFindingDetails fileOffset. */
+ public fileOffset: (number|Long|string);
+
+ /** HybridFindingDetails rowOffset. */
+ public rowOffset: (number|Long|string);
+
+ /** HybridFindingDetails tableOptions. */
+ public tableOptions?: (google.privacy.dlp.v2.ITableOptions|null);
+
+ /** HybridFindingDetails labels. */
+ public labels: { [k: string]: string };
+
+ /**
+ * Creates a new HybridFindingDetails instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns HybridFindingDetails instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.IHybridFindingDetails): google.privacy.dlp.v2.HybridFindingDetails;
+
+ /**
+ * Encodes the specified HybridFindingDetails message. Does not implicitly {@link google.privacy.dlp.v2.HybridFindingDetails.verify|verify} messages.
+ * @param message HybridFindingDetails message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.IHybridFindingDetails, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified HybridFindingDetails message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.HybridFindingDetails.verify|verify} messages.
+ * @param message HybridFindingDetails message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.IHybridFindingDetails, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a HybridFindingDetails message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns HybridFindingDetails
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.HybridFindingDetails;
+
+ /**
+ * Decodes a HybridFindingDetails message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns HybridFindingDetails
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.HybridFindingDetails;
+
+ /**
+ * Verifies a HybridFindingDetails message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a HybridFindingDetails message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns HybridFindingDetails
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.HybridFindingDetails;
+
+ /**
+ * Creates a plain object from a HybridFindingDetails message. Also converts values to other types if specified.
+ * @param message HybridFindingDetails
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.HybridFindingDetails, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this HybridFindingDetails to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for HybridFindingDetails
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a HybridInspectResponse. */
+ interface IHybridInspectResponse {
+ }
+
+ /** Represents a HybridInspectResponse. */
+ class HybridInspectResponse implements IHybridInspectResponse {
+
+ /**
+ * Constructs a new HybridInspectResponse.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.IHybridInspectResponse);
+
+ /**
+ * Creates a new HybridInspectResponse instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns HybridInspectResponse instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.IHybridInspectResponse): google.privacy.dlp.v2.HybridInspectResponse;
+
+ /**
+ * Encodes the specified HybridInspectResponse message. Does not implicitly {@link google.privacy.dlp.v2.HybridInspectResponse.verify|verify} messages.
+ * @param message HybridInspectResponse message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.IHybridInspectResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified HybridInspectResponse message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.HybridInspectResponse.verify|verify} messages.
+ * @param message HybridInspectResponse message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.IHybridInspectResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a HybridInspectResponse message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns HybridInspectResponse
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.HybridInspectResponse;
+
+ /**
+ * Decodes a HybridInspectResponse message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns HybridInspectResponse
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.HybridInspectResponse;
+
+ /**
+ * Verifies a HybridInspectResponse message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a HybridInspectResponse message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns HybridInspectResponse
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.HybridInspectResponse;
+
+ /**
+ * Creates a plain object from a HybridInspectResponse message. Also converts values to other types if specified.
+ * @param message HybridInspectResponse
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.HybridInspectResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this HybridInspectResponse to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for HybridInspectResponse
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** RelationalOperator enum. */
+ enum RelationalOperator {
+ RELATIONAL_OPERATOR_UNSPECIFIED = 0,
+ EQUAL_TO = 1,
+ NOT_EQUAL_TO = 2,
+ GREATER_THAN = 3,
+ LESS_THAN = 4,
+ GREATER_THAN_OR_EQUALS = 5,
+ LESS_THAN_OR_EQUALS = 6,
+ EXISTS = 7
+ }
+
+ /** MatchingType enum. */
+ enum MatchingType {
+ MATCHING_TYPE_UNSPECIFIED = 0,
+ MATCHING_TYPE_FULL_MATCH = 1,
+ MATCHING_TYPE_PARTIAL_MATCH = 2,
+ MATCHING_TYPE_INVERSE_MATCH = 3
+ }
+
+ /** ContentOption enum. */
+ enum ContentOption {
+ CONTENT_UNSPECIFIED = 0,
+ CONTENT_TEXT = 1,
+ CONTENT_IMAGE = 2
+ }
+
+ /** MetadataType enum. */
+ enum MetadataType {
+ METADATATYPE_UNSPECIFIED = 0,
+ STORAGE_METADATA = 2
+ }
+
+ /** InfoTypeSupportedBy enum. */
+ enum InfoTypeSupportedBy {
+ ENUM_TYPE_UNSPECIFIED = 0,
+ INSPECT = 1,
+ RISK_ANALYSIS = 2
+ }
+
+ /** DlpJobType enum. */
+ enum DlpJobType {
+ DLP_JOB_TYPE_UNSPECIFIED = 0,
+ INSPECT_JOB = 1,
+ RISK_ANALYSIS_JOB = 2
+ }
+
+ /** StoredInfoTypeState enum. */
+ enum StoredInfoTypeState {
+ STORED_INFO_TYPE_STATE_UNSPECIFIED = 0,
+ PENDING = 1,
+ READY = 2,
+ FAILED = 3,
+ INVALID = 4
+ }
+
+ /** Properties of a ListProjectDataProfilesRequest. */
+ interface IListProjectDataProfilesRequest {
+
+ /** ListProjectDataProfilesRequest parent */
+ parent?: (string|null);
+
+ /** ListProjectDataProfilesRequest pageToken */
+ pageToken?: (string|null);
+
+ /** ListProjectDataProfilesRequest pageSize */
+ pageSize?: (number|null);
+
+ /** ListProjectDataProfilesRequest orderBy */
+ orderBy?: (string|null);
+
+ /** ListProjectDataProfilesRequest filter */
+ filter?: (string|null);
+ }
+
+ /** Represents a ListProjectDataProfilesRequest. */
+ class ListProjectDataProfilesRequest implements IListProjectDataProfilesRequest {
+
+ /**
+ * Constructs a new ListProjectDataProfilesRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.IListProjectDataProfilesRequest);
+
+ /** ListProjectDataProfilesRequest parent. */
+ public parent: string;
+
+ /** ListProjectDataProfilesRequest pageToken. */
+ public pageToken: string;
+
+ /** ListProjectDataProfilesRequest pageSize. */
+ public pageSize: number;
+
+ /** ListProjectDataProfilesRequest orderBy. */
+ public orderBy: string;
+
+ /** ListProjectDataProfilesRequest filter. */
+ public filter: string;
+
+ /**
+ * Creates a new ListProjectDataProfilesRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ListProjectDataProfilesRequest instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.IListProjectDataProfilesRequest): google.privacy.dlp.v2.ListProjectDataProfilesRequest;
+
+ /**
+ * Encodes the specified ListProjectDataProfilesRequest message. Does not implicitly {@link google.privacy.dlp.v2.ListProjectDataProfilesRequest.verify|verify} messages.
+ * @param message ListProjectDataProfilesRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.IListProjectDataProfilesRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ListProjectDataProfilesRequest message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.ListProjectDataProfilesRequest.verify|verify} messages.
+ * @param message ListProjectDataProfilesRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.IListProjectDataProfilesRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ListProjectDataProfilesRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ListProjectDataProfilesRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.ListProjectDataProfilesRequest;
+
+ /**
+ * Decodes a ListProjectDataProfilesRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ListProjectDataProfilesRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.ListProjectDataProfilesRequest;
+
+ /**
+ * Verifies a ListProjectDataProfilesRequest message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a ListProjectDataProfilesRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ListProjectDataProfilesRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.ListProjectDataProfilesRequest;
+
+ /**
+ * Creates a plain object from a ListProjectDataProfilesRequest message. Also converts values to other types if specified.
+ * @param message ListProjectDataProfilesRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.ListProjectDataProfilesRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ListProjectDataProfilesRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ListProjectDataProfilesRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a ListProjectDataProfilesResponse. */
+ interface IListProjectDataProfilesResponse {
+
+ /** ListProjectDataProfilesResponse projectDataProfiles */
+ projectDataProfiles?: (google.privacy.dlp.v2.IProjectDataProfile[]|null);
+
+ /** ListProjectDataProfilesResponse nextPageToken */
+ nextPageToken?: (string|null);
+ }
+
+ /** Represents a ListProjectDataProfilesResponse. */
+ class ListProjectDataProfilesResponse implements IListProjectDataProfilesResponse {
+
+ /**
+ * Constructs a new ListProjectDataProfilesResponse.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.IListProjectDataProfilesResponse);
+
+ /** ListProjectDataProfilesResponse projectDataProfiles. */
+ public projectDataProfiles: google.privacy.dlp.v2.IProjectDataProfile[];
+
+ /** ListProjectDataProfilesResponse nextPageToken. */
+ public nextPageToken: string;
+
+ /**
+ * Creates a new ListProjectDataProfilesResponse instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ListProjectDataProfilesResponse instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.IListProjectDataProfilesResponse): google.privacy.dlp.v2.ListProjectDataProfilesResponse;
+
+ /**
+ * Encodes the specified ListProjectDataProfilesResponse message. Does not implicitly {@link google.privacy.dlp.v2.ListProjectDataProfilesResponse.verify|verify} messages.
+ * @param message ListProjectDataProfilesResponse message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.IListProjectDataProfilesResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ListProjectDataProfilesResponse message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.ListProjectDataProfilesResponse.verify|verify} messages.
+ * @param message ListProjectDataProfilesResponse message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.IListProjectDataProfilesResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ListProjectDataProfilesResponse message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ListProjectDataProfilesResponse
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.ListProjectDataProfilesResponse;
+
+ /**
+ * Decodes a ListProjectDataProfilesResponse message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ListProjectDataProfilesResponse
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.ListProjectDataProfilesResponse;
+
+ /**
+ * Verifies a ListProjectDataProfilesResponse message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a ListProjectDataProfilesResponse message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ListProjectDataProfilesResponse
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.ListProjectDataProfilesResponse;
+
+ /**
+ * Creates a plain object from a ListProjectDataProfilesResponse message. Also converts values to other types if specified.
+ * @param message ListProjectDataProfilesResponse
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.ListProjectDataProfilesResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ListProjectDataProfilesResponse to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ListProjectDataProfilesResponse
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a ListTableDataProfilesRequest. */
+ interface IListTableDataProfilesRequest {
+
+ /** ListTableDataProfilesRequest parent */
+ parent?: (string|null);
+
+ /** ListTableDataProfilesRequest pageToken */
+ pageToken?: (string|null);
+
+ /** ListTableDataProfilesRequest pageSize */
+ pageSize?: (number|null);
+
+ /** ListTableDataProfilesRequest orderBy */
+ orderBy?: (string|null);
+
+ /** ListTableDataProfilesRequest filter */
+ filter?: (string|null);
+ }
+
+ /** Represents a ListTableDataProfilesRequest. */
+ class ListTableDataProfilesRequest implements IListTableDataProfilesRequest {
+
+ /**
+ * Constructs a new ListTableDataProfilesRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.IListTableDataProfilesRequest);
+
+ /** ListTableDataProfilesRequest parent. */
+ public parent: string;
+
+ /** ListTableDataProfilesRequest pageToken. */
+ public pageToken: string;
+
+ /** ListTableDataProfilesRequest pageSize. */
+ public pageSize: number;
+
+ /** ListTableDataProfilesRequest orderBy. */
+ public orderBy: string;
+
+ /** ListTableDataProfilesRequest filter. */
+ public filter: string;
+
+ /**
+ * Creates a new ListTableDataProfilesRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ListTableDataProfilesRequest instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.IListTableDataProfilesRequest): google.privacy.dlp.v2.ListTableDataProfilesRequest;
+
+ /**
+ * Encodes the specified ListTableDataProfilesRequest message. Does not implicitly {@link google.privacy.dlp.v2.ListTableDataProfilesRequest.verify|verify} messages.
+ * @param message ListTableDataProfilesRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.IListTableDataProfilesRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ListTableDataProfilesRequest message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.ListTableDataProfilesRequest.verify|verify} messages.
+ * @param message ListTableDataProfilesRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.IListTableDataProfilesRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ListTableDataProfilesRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ListTableDataProfilesRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.ListTableDataProfilesRequest;
+
+ /**
+ * Decodes a ListTableDataProfilesRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ListTableDataProfilesRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.ListTableDataProfilesRequest;
+
+ /**
+ * Verifies a ListTableDataProfilesRequest message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a ListTableDataProfilesRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ListTableDataProfilesRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.ListTableDataProfilesRequest;
+
+ /**
+ * Creates a plain object from a ListTableDataProfilesRequest message. Also converts values to other types if specified.
+ * @param message ListTableDataProfilesRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.ListTableDataProfilesRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ListTableDataProfilesRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ListTableDataProfilesRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a ListTableDataProfilesResponse. */
+ interface IListTableDataProfilesResponse {
+
+ /** ListTableDataProfilesResponse tableDataProfiles */
+ tableDataProfiles?: (google.privacy.dlp.v2.ITableDataProfile[]|null);
+
+ /** ListTableDataProfilesResponse nextPageToken */
+ nextPageToken?: (string|null);
+ }
+
+ /** Represents a ListTableDataProfilesResponse. */
+ class ListTableDataProfilesResponse implements IListTableDataProfilesResponse {
+
+ /**
+ * Constructs a new ListTableDataProfilesResponse.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.IListTableDataProfilesResponse);
+
+ /** ListTableDataProfilesResponse tableDataProfiles. */
+ public tableDataProfiles: google.privacy.dlp.v2.ITableDataProfile[];
+
+ /** ListTableDataProfilesResponse nextPageToken. */
+ public nextPageToken: string;
+
+ /**
+ * Creates a new ListTableDataProfilesResponse instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ListTableDataProfilesResponse instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.IListTableDataProfilesResponse): google.privacy.dlp.v2.ListTableDataProfilesResponse;
+
+ /**
+ * Encodes the specified ListTableDataProfilesResponse message. Does not implicitly {@link google.privacy.dlp.v2.ListTableDataProfilesResponse.verify|verify} messages.
+ * @param message ListTableDataProfilesResponse message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.IListTableDataProfilesResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ListTableDataProfilesResponse message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.ListTableDataProfilesResponse.verify|verify} messages.
+ * @param message ListTableDataProfilesResponse message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.IListTableDataProfilesResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ListTableDataProfilesResponse message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ListTableDataProfilesResponse
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.ListTableDataProfilesResponse;
+
+ /**
+ * Decodes a ListTableDataProfilesResponse message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ListTableDataProfilesResponse
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.ListTableDataProfilesResponse;
+
+ /**
+ * Verifies a ListTableDataProfilesResponse message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a ListTableDataProfilesResponse message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ListTableDataProfilesResponse
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.ListTableDataProfilesResponse;
+
+ /**
+ * Creates a plain object from a ListTableDataProfilesResponse message. Also converts values to other types if specified.
+ * @param message ListTableDataProfilesResponse
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.ListTableDataProfilesResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ListTableDataProfilesResponse to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ListTableDataProfilesResponse
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a ListColumnDataProfilesRequest. */
+ interface IListColumnDataProfilesRequest {
+
+ /** ListColumnDataProfilesRequest parent */
+ parent?: (string|null);
+
+ /** ListColumnDataProfilesRequest pageToken */
+ pageToken?: (string|null);
+
+ /** ListColumnDataProfilesRequest pageSize */
+ pageSize?: (number|null);
+
+ /** ListColumnDataProfilesRequest orderBy */
+ orderBy?: (string|null);
+
+ /** ListColumnDataProfilesRequest filter */
+ filter?: (string|null);
+ }
+
+ /** Represents a ListColumnDataProfilesRequest. */
+ class ListColumnDataProfilesRequest implements IListColumnDataProfilesRequest {
+
+ /**
+ * Constructs a new ListColumnDataProfilesRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.IListColumnDataProfilesRequest);
+
+ /** ListColumnDataProfilesRequest parent. */
+ public parent: string;
+
+ /** ListColumnDataProfilesRequest pageToken. */
+ public pageToken: string;
+
+ /** ListColumnDataProfilesRequest pageSize. */
+ public pageSize: number;
+
+ /** ListColumnDataProfilesRequest orderBy. */
+ public orderBy: string;
+
+ /** ListColumnDataProfilesRequest filter. */
+ public filter: string;
+
+ /**
+ * Creates a new ListColumnDataProfilesRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ListColumnDataProfilesRequest instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.IListColumnDataProfilesRequest): google.privacy.dlp.v2.ListColumnDataProfilesRequest;
+
+ /**
+ * Encodes the specified ListColumnDataProfilesRequest message. Does not implicitly {@link google.privacy.dlp.v2.ListColumnDataProfilesRequest.verify|verify} messages.
+ * @param message ListColumnDataProfilesRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.IListColumnDataProfilesRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ListColumnDataProfilesRequest message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.ListColumnDataProfilesRequest.verify|verify} messages.
+ * @param message ListColumnDataProfilesRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.IListColumnDataProfilesRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ListColumnDataProfilesRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ListColumnDataProfilesRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.ListColumnDataProfilesRequest;
+
+ /**
+ * Decodes a ListColumnDataProfilesRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ListColumnDataProfilesRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.ListColumnDataProfilesRequest;
+
+ /**
+ * Verifies a ListColumnDataProfilesRequest message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a ListColumnDataProfilesRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ListColumnDataProfilesRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.ListColumnDataProfilesRequest;
+
+ /**
+ * Creates a plain object from a ListColumnDataProfilesRequest message. Also converts values to other types if specified.
+ * @param message ListColumnDataProfilesRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.ListColumnDataProfilesRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ListColumnDataProfilesRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ListColumnDataProfilesRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a ListColumnDataProfilesResponse. */
+ interface IListColumnDataProfilesResponse {
+
+ /** ListColumnDataProfilesResponse columnDataProfiles */
+ columnDataProfiles?: (google.privacy.dlp.v2.IColumnDataProfile[]|null);
+
+ /** ListColumnDataProfilesResponse nextPageToken */
+ nextPageToken?: (string|null);
+ }
+
+ /** Represents a ListColumnDataProfilesResponse. */
+ class ListColumnDataProfilesResponse implements IListColumnDataProfilesResponse {
+
+ /**
+ * Constructs a new ListColumnDataProfilesResponse.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.IListColumnDataProfilesResponse);
+
+ /** ListColumnDataProfilesResponse columnDataProfiles. */
+ public columnDataProfiles: google.privacy.dlp.v2.IColumnDataProfile[];
+
+ /** ListColumnDataProfilesResponse nextPageToken. */
+ public nextPageToken: string;
+
+ /**
+ * Creates a new ListColumnDataProfilesResponse instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ListColumnDataProfilesResponse instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.IListColumnDataProfilesResponse): google.privacy.dlp.v2.ListColumnDataProfilesResponse;
+
+ /**
+ * Encodes the specified ListColumnDataProfilesResponse message. Does not implicitly {@link google.privacy.dlp.v2.ListColumnDataProfilesResponse.verify|verify} messages.
+ * @param message ListColumnDataProfilesResponse message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.IListColumnDataProfilesResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ListColumnDataProfilesResponse message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.ListColumnDataProfilesResponse.verify|verify} messages.
+ * @param message ListColumnDataProfilesResponse message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.IListColumnDataProfilesResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ListColumnDataProfilesResponse message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ListColumnDataProfilesResponse
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.ListColumnDataProfilesResponse;
+
+ /**
+ * Decodes a ListColumnDataProfilesResponse message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ListColumnDataProfilesResponse
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.ListColumnDataProfilesResponse;
+
+ /**
+ * Verifies a ListColumnDataProfilesResponse message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a ListColumnDataProfilesResponse message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ListColumnDataProfilesResponse
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.ListColumnDataProfilesResponse;
+
+ /**
+ * Creates a plain object from a ListColumnDataProfilesResponse message. Also converts values to other types if specified.
+ * @param message ListColumnDataProfilesResponse
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.ListColumnDataProfilesResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ListColumnDataProfilesResponse to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ListColumnDataProfilesResponse
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a DataRiskLevel. */
+ interface IDataRiskLevel {
+
+ /** DataRiskLevel score */
+ score?: (google.privacy.dlp.v2.DataRiskLevel.DataRiskLevelScore|keyof typeof google.privacy.dlp.v2.DataRiskLevel.DataRiskLevelScore|null);
+ }
+
+ /** Represents a DataRiskLevel. */
+ class DataRiskLevel implements IDataRiskLevel {
+
+ /**
+ * Constructs a new DataRiskLevel.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.IDataRiskLevel);
+
+ /** DataRiskLevel score. */
+ public score: (google.privacy.dlp.v2.DataRiskLevel.DataRiskLevelScore|keyof typeof google.privacy.dlp.v2.DataRiskLevel.DataRiskLevelScore);
+
+ /**
+ * Creates a new DataRiskLevel instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns DataRiskLevel instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.IDataRiskLevel): google.privacy.dlp.v2.DataRiskLevel;
+
+ /**
+ * Encodes the specified DataRiskLevel message. Does not implicitly {@link google.privacy.dlp.v2.DataRiskLevel.verify|verify} messages.
+ * @param message DataRiskLevel message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.IDataRiskLevel, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified DataRiskLevel message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.DataRiskLevel.verify|verify} messages.
+ * @param message DataRiskLevel message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.IDataRiskLevel, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a DataRiskLevel message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns DataRiskLevel
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.DataRiskLevel;
+
+ /**
+ * Decodes a DataRiskLevel message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns DataRiskLevel
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.DataRiskLevel;
+
+ /**
+ * Verifies a DataRiskLevel message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a DataRiskLevel message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns DataRiskLevel
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.DataRiskLevel;
+
+ /**
+ * Creates a plain object from a DataRiskLevel message. Also converts values to other types if specified.
+ * @param message DataRiskLevel
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.DataRiskLevel, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this DataRiskLevel to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for DataRiskLevel
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace DataRiskLevel {
+
+ /** DataRiskLevelScore enum. */
+ enum DataRiskLevelScore {
+ RISK_SCORE_UNSPECIFIED = 0,
+ RISK_LOW = 10,
+ RISK_UNKNOWN = 12,
+ RISK_MODERATE = 20,
+ RISK_HIGH = 30
+ }
+ }
+
+ /** Properties of a ProjectDataProfile. */
+ interface IProjectDataProfile {
+
+ /** ProjectDataProfile name */
+ name?: (string|null);
+
+ /** ProjectDataProfile projectId */
+ projectId?: (string|null);
+
+ /** ProjectDataProfile profileLastGenerated */
+ profileLastGenerated?: (google.protobuf.ITimestamp|null);
+
+ /** ProjectDataProfile sensitivityScore */
+ sensitivityScore?: (google.privacy.dlp.v2.ISensitivityScore|null);
+
+ /** ProjectDataProfile dataRiskLevel */
+ dataRiskLevel?: (google.privacy.dlp.v2.IDataRiskLevel|null);
+
+ /** ProjectDataProfile profileStatus */
+ profileStatus?: (google.privacy.dlp.v2.IProfileStatus|null);
+
+ /** ProjectDataProfile tableDataProfileCount */
+ tableDataProfileCount?: (number|Long|string|null);
+
+ /** ProjectDataProfile fileStoreDataProfileCount */
+ fileStoreDataProfileCount?: (number|Long|string|null);
+ }
+
+ /** Represents a ProjectDataProfile. */
+ class ProjectDataProfile implements IProjectDataProfile {
+
+ /**
+ * Constructs a new ProjectDataProfile.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.IProjectDataProfile);
+
+ /** ProjectDataProfile name. */
+ public name: string;
+
+ /** ProjectDataProfile projectId. */
+ public projectId: string;
+
+ /** ProjectDataProfile profileLastGenerated. */
+ public profileLastGenerated?: (google.protobuf.ITimestamp|null);
+
+ /** ProjectDataProfile sensitivityScore. */
+ public sensitivityScore?: (google.privacy.dlp.v2.ISensitivityScore|null);
+
+ /** ProjectDataProfile dataRiskLevel. */
+ public dataRiskLevel?: (google.privacy.dlp.v2.IDataRiskLevel|null);
+
+ /** ProjectDataProfile profileStatus. */
+ public profileStatus?: (google.privacy.dlp.v2.IProfileStatus|null);
+
+ /** ProjectDataProfile tableDataProfileCount. */
+ public tableDataProfileCount: (number|Long|string);
+
+ /** ProjectDataProfile fileStoreDataProfileCount. */
+ public fileStoreDataProfileCount: (number|Long|string);
+
+ /**
+ * Creates a new ProjectDataProfile instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ProjectDataProfile instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.IProjectDataProfile): google.privacy.dlp.v2.ProjectDataProfile;
+
+ /**
+ * Encodes the specified ProjectDataProfile message. Does not implicitly {@link google.privacy.dlp.v2.ProjectDataProfile.verify|verify} messages.
+ * @param message ProjectDataProfile message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.IProjectDataProfile, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ProjectDataProfile message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.ProjectDataProfile.verify|verify} messages.
+ * @param message ProjectDataProfile message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.IProjectDataProfile, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ProjectDataProfile message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ProjectDataProfile
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.ProjectDataProfile;
+
+ /**
+ * Decodes a ProjectDataProfile message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ProjectDataProfile
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.ProjectDataProfile;
+
+ /**
+ * Verifies a ProjectDataProfile message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a ProjectDataProfile message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ProjectDataProfile
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.ProjectDataProfile;
+
+ /**
+ * Creates a plain object from a ProjectDataProfile message. Also converts values to other types if specified.
+ * @param message ProjectDataProfile
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.ProjectDataProfile, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ProjectDataProfile to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ProjectDataProfile
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** ResourceVisibility enum. */
+ enum ResourceVisibility {
+ RESOURCE_VISIBILITY_UNSPECIFIED = 0,
+ RESOURCE_VISIBILITY_PUBLIC = 10,
+ RESOURCE_VISIBILITY_INCONCLUSIVE = 15,
+ RESOURCE_VISIBILITY_RESTRICTED = 20
+ }
+
+ /** Properties of a DataProfileConfigSnapshot. */
+ interface IDataProfileConfigSnapshot {
+
+ /** DataProfileConfigSnapshot inspectConfig */
+ inspectConfig?: (google.privacy.dlp.v2.IInspectConfig|null);
+
+ /** DataProfileConfigSnapshot dataProfileJob */
+ dataProfileJob?: (google.privacy.dlp.v2.IDataProfileJobConfig|null);
+
+ /** DataProfileConfigSnapshot discoveryConfig */
+ discoveryConfig?: (google.privacy.dlp.v2.IDiscoveryConfig|null);
+
+ /** DataProfileConfigSnapshot inspectTemplateName */
+ inspectTemplateName?: (string|null);
+
+ /** DataProfileConfigSnapshot inspectTemplateModifiedTime */
+ inspectTemplateModifiedTime?: (google.protobuf.ITimestamp|null);
+ }
+
+ /** Represents a DataProfileConfigSnapshot. */
+ class DataProfileConfigSnapshot implements IDataProfileConfigSnapshot {
+
+ /**
+ * Constructs a new DataProfileConfigSnapshot.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.IDataProfileConfigSnapshot);
+
+ /** DataProfileConfigSnapshot inspectConfig. */
+ public inspectConfig?: (google.privacy.dlp.v2.IInspectConfig|null);
+
+ /** DataProfileConfigSnapshot dataProfileJob. */
+ public dataProfileJob?: (google.privacy.dlp.v2.IDataProfileJobConfig|null);
+
+ /** DataProfileConfigSnapshot discoveryConfig. */
+ public discoveryConfig?: (google.privacy.dlp.v2.IDiscoveryConfig|null);
+
+ /** DataProfileConfigSnapshot inspectTemplateName. */
+ public inspectTemplateName: string;
+
+ /** DataProfileConfigSnapshot inspectTemplateModifiedTime. */
+ public inspectTemplateModifiedTime?: (google.protobuf.ITimestamp|null);
+
+ /**
+ * Creates a new DataProfileConfigSnapshot instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns DataProfileConfigSnapshot instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.IDataProfileConfigSnapshot): google.privacy.dlp.v2.DataProfileConfigSnapshot;
+
+ /**
+ * Encodes the specified DataProfileConfigSnapshot message. Does not implicitly {@link google.privacy.dlp.v2.DataProfileConfigSnapshot.verify|verify} messages.
+ * @param message DataProfileConfigSnapshot message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.IDataProfileConfigSnapshot, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified DataProfileConfigSnapshot message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.DataProfileConfigSnapshot.verify|verify} messages.
+ * @param message DataProfileConfigSnapshot message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.IDataProfileConfigSnapshot, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a DataProfileConfigSnapshot message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns DataProfileConfigSnapshot
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.DataProfileConfigSnapshot;
+
+ /**
+ * Decodes a DataProfileConfigSnapshot message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns DataProfileConfigSnapshot
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.DataProfileConfigSnapshot;
+
+ /**
+ * Verifies a DataProfileConfigSnapshot message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a DataProfileConfigSnapshot message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns DataProfileConfigSnapshot
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.DataProfileConfigSnapshot;
+
+ /**
+ * Creates a plain object from a DataProfileConfigSnapshot message. Also converts values to other types if specified.
+ * @param message DataProfileConfigSnapshot
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.DataProfileConfigSnapshot, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this DataProfileConfigSnapshot to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for DataProfileConfigSnapshot
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a TableDataProfile. */
+ interface ITableDataProfile {
+
+ /** TableDataProfile name */
+ name?: (string|null);
+
+ /** TableDataProfile dataSourceType */
+ dataSourceType?: (google.privacy.dlp.v2.IDataSourceType|null);
+
+ /** TableDataProfile projectDataProfile */
+ projectDataProfile?: (string|null);
+
+ /** TableDataProfile datasetProjectId */
+ datasetProjectId?: (string|null);
+
+ /** TableDataProfile datasetLocation */
+ datasetLocation?: (string|null);
+
+ /** TableDataProfile datasetId */
+ datasetId?: (string|null);
+
+ /** TableDataProfile tableId */
+ tableId?: (string|null);
+
+ /** TableDataProfile fullResource */
+ fullResource?: (string|null);
+
+ /** TableDataProfile profileStatus */
+ profileStatus?: (google.privacy.dlp.v2.IProfileStatus|null);
+
+ /** TableDataProfile state */
+ state?: (google.privacy.dlp.v2.TableDataProfile.State|keyof typeof google.privacy.dlp.v2.TableDataProfile.State|null);
+
+ /** TableDataProfile sensitivityScore */
+ sensitivityScore?: (google.privacy.dlp.v2.ISensitivityScore|null);
+
+ /** TableDataProfile dataRiskLevel */
+ dataRiskLevel?: (google.privacy.dlp.v2.IDataRiskLevel|null);
+
+ /** TableDataProfile predictedInfoTypes */
+ predictedInfoTypes?: (google.privacy.dlp.v2.IInfoTypeSummary[]|null);
+
+ /** TableDataProfile otherInfoTypes */
+ otherInfoTypes?: (google.privacy.dlp.v2.IOtherInfoTypeSummary[]|null);
+
+ /** TableDataProfile configSnapshot */
+ configSnapshot?: (google.privacy.dlp.v2.IDataProfileConfigSnapshot|null);
+
+ /** TableDataProfile lastModifiedTime */
+ lastModifiedTime?: (google.protobuf.ITimestamp|null);
+
+ /** TableDataProfile expirationTime */
+ expirationTime?: (google.protobuf.ITimestamp|null);
+
+ /** TableDataProfile scannedColumnCount */
+ scannedColumnCount?: (number|Long|string|null);
+
+ /** TableDataProfile failedColumnCount */
+ failedColumnCount?: (number|Long|string|null);
+
+ /** TableDataProfile tableSizeBytes */
+ tableSizeBytes?: (number|Long|string|null);
+
+ /** TableDataProfile rowCount */
+ rowCount?: (number|Long|string|null);
+
+ /** TableDataProfile encryptionStatus */
+ encryptionStatus?: (google.privacy.dlp.v2.EncryptionStatus|keyof typeof google.privacy.dlp.v2.EncryptionStatus|null);
+
+ /** TableDataProfile resourceVisibility */
+ resourceVisibility?: (google.privacy.dlp.v2.ResourceVisibility|keyof typeof google.privacy.dlp.v2.ResourceVisibility|null);
+
+ /** TableDataProfile profileLastGenerated */
+ profileLastGenerated?: (google.protobuf.ITimestamp|null);
+
+ /** TableDataProfile resourceLabels */
+ resourceLabels?: ({ [k: string]: string }|null);
+
+ /** TableDataProfile createTime */
+ createTime?: (google.protobuf.ITimestamp|null);
+
+ /** TableDataProfile sampleFindingsTable */
+ sampleFindingsTable?: (google.privacy.dlp.v2.IBigQueryTable|null);
+
+ /** TableDataProfile tags */
+ tags?: (google.privacy.dlp.v2.ITag[]|null);
+
+ /** TableDataProfile relatedResources */
+ relatedResources?: (google.privacy.dlp.v2.IRelatedResource[]|null);
+
+ /** TableDataProfile domains */
+ domains?: (google.privacy.dlp.v2.IDomain[]|null);
+ }
+
+ /** Represents a TableDataProfile. */
+ class TableDataProfile implements ITableDataProfile {
+
+ /**
+ * Constructs a new TableDataProfile.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.ITableDataProfile);
+
+ /** TableDataProfile name. */
+ public name: string;
+
+ /** TableDataProfile dataSourceType. */
+ public dataSourceType?: (google.privacy.dlp.v2.IDataSourceType|null);
+
+ /** TableDataProfile projectDataProfile. */
+ public projectDataProfile: string;
+
+ /** TableDataProfile datasetProjectId. */
+ public datasetProjectId: string;
+
+ /** TableDataProfile datasetLocation. */
+ public datasetLocation: string;
+
+ /** TableDataProfile datasetId. */
+ public datasetId: string;
+
+ /** TableDataProfile tableId. */
+ public tableId: string;
+
+ /** TableDataProfile fullResource. */
+ public fullResource: string;
+
+ /** TableDataProfile profileStatus. */
+ public profileStatus?: (google.privacy.dlp.v2.IProfileStatus|null);
+
+ /** TableDataProfile state. */
+ public state: (google.privacy.dlp.v2.TableDataProfile.State|keyof typeof google.privacy.dlp.v2.TableDataProfile.State);
+
+ /** TableDataProfile sensitivityScore. */
+ public sensitivityScore?: (google.privacy.dlp.v2.ISensitivityScore|null);
+
+ /** TableDataProfile dataRiskLevel. */
+ public dataRiskLevel?: (google.privacy.dlp.v2.IDataRiskLevel|null);
+
+ /** TableDataProfile predictedInfoTypes. */
+ public predictedInfoTypes: google.privacy.dlp.v2.IInfoTypeSummary[];
+
+ /** TableDataProfile otherInfoTypes. */
+ public otherInfoTypes: google.privacy.dlp.v2.IOtherInfoTypeSummary[];
+
+ /** TableDataProfile configSnapshot. */
+ public configSnapshot?: (google.privacy.dlp.v2.IDataProfileConfigSnapshot|null);
+
+ /** TableDataProfile lastModifiedTime. */
+ public lastModifiedTime?: (google.protobuf.ITimestamp|null);
+
+ /** TableDataProfile expirationTime. */
+ public expirationTime?: (google.protobuf.ITimestamp|null);
+
+ /** TableDataProfile scannedColumnCount. */
+ public scannedColumnCount: (number|Long|string);
+
+ /** TableDataProfile failedColumnCount. */
+ public failedColumnCount: (number|Long|string);
+
+ /** TableDataProfile tableSizeBytes. */
+ public tableSizeBytes: (number|Long|string);
+
+ /** TableDataProfile rowCount. */
+ public rowCount: (number|Long|string);
+
+ /** TableDataProfile encryptionStatus. */
+ public encryptionStatus: (google.privacy.dlp.v2.EncryptionStatus|keyof typeof google.privacy.dlp.v2.EncryptionStatus);
+
+ /** TableDataProfile resourceVisibility. */
+ public resourceVisibility: (google.privacy.dlp.v2.ResourceVisibility|keyof typeof google.privacy.dlp.v2.ResourceVisibility);
+
+ /** TableDataProfile profileLastGenerated. */
+ public profileLastGenerated?: (google.protobuf.ITimestamp|null);
+
+ /** TableDataProfile resourceLabels. */
+ public resourceLabels: { [k: string]: string };
+
+ /** TableDataProfile createTime. */
+ public createTime?: (google.protobuf.ITimestamp|null);
+
+ /** TableDataProfile sampleFindingsTable. */
+ public sampleFindingsTable?: (google.privacy.dlp.v2.IBigQueryTable|null);
+
+ /** TableDataProfile tags. */
+ public tags: google.privacy.dlp.v2.ITag[];
+
+ /** TableDataProfile relatedResources. */
+ public relatedResources: google.privacy.dlp.v2.IRelatedResource[];
+
+ /** TableDataProfile domains. */
+ public domains: google.privacy.dlp.v2.IDomain[];
+
+ /**
+ * Creates a new TableDataProfile instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns TableDataProfile instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.ITableDataProfile): google.privacy.dlp.v2.TableDataProfile;
+
+ /**
+ * Encodes the specified TableDataProfile message. Does not implicitly {@link google.privacy.dlp.v2.TableDataProfile.verify|verify} messages.
+ * @param message TableDataProfile message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.ITableDataProfile, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified TableDataProfile message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.TableDataProfile.verify|verify} messages.
+ * @param message TableDataProfile message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.ITableDataProfile, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a TableDataProfile message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns TableDataProfile
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.TableDataProfile;
+
+ /**
+ * Decodes a TableDataProfile message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns TableDataProfile
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.TableDataProfile;
+
+ /**
+ * Verifies a TableDataProfile message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a TableDataProfile message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns TableDataProfile
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.TableDataProfile;
+
+ /**
+ * Creates a plain object from a TableDataProfile message. Also converts values to other types if specified.
+ * @param message TableDataProfile
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.TableDataProfile, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this TableDataProfile to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for TableDataProfile
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace TableDataProfile {
+
+ /** State enum. */
+ enum State {
+ STATE_UNSPECIFIED = 0,
+ RUNNING = 1,
+ DONE = 2
+ }
+ }
+
+ /** Properties of a ProfileStatus. */
+ interface IProfileStatus {
+
+ /** ProfileStatus status */
+ status?: (google.rpc.IStatus|null);
+
+ /** ProfileStatus timestamp */
+ timestamp?: (google.protobuf.ITimestamp|null);
+ }
+
+ /** Represents a ProfileStatus. */
+ class ProfileStatus implements IProfileStatus {
+
+ /**
+ * Constructs a new ProfileStatus.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.IProfileStatus);
+
+ /** ProfileStatus status. */
+ public status?: (google.rpc.IStatus|null);
+
+ /** ProfileStatus timestamp. */
+ public timestamp?: (google.protobuf.ITimestamp|null);
+
+ /**
+ * Creates a new ProfileStatus instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ProfileStatus instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.IProfileStatus): google.privacy.dlp.v2.ProfileStatus;
+
+ /**
+ * Encodes the specified ProfileStatus message. Does not implicitly {@link google.privacy.dlp.v2.ProfileStatus.verify|verify} messages.
+ * @param message ProfileStatus message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.IProfileStatus, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ProfileStatus message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.ProfileStatus.verify|verify} messages.
+ * @param message ProfileStatus message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.IProfileStatus, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ProfileStatus message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ProfileStatus
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.ProfileStatus;
+
+ /**
+ * Decodes a ProfileStatus message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ProfileStatus
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.ProfileStatus;
+
+ /**
+ * Verifies a ProfileStatus message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a ProfileStatus message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ProfileStatus
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.ProfileStatus;
+
+ /**
+ * Creates a plain object from a ProfileStatus message. Also converts values to other types if specified.
+ * @param message ProfileStatus
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.ProfileStatus, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ProfileStatus to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ProfileStatus
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** EncryptionStatus enum. */
+ enum EncryptionStatus {
+ ENCRYPTION_STATUS_UNSPECIFIED = 0,
+ ENCRYPTION_GOOGLE_MANAGED = 1,
+ ENCRYPTION_CUSTOMER_MANAGED = 2
+ }
+
+ /** Properties of an InfoTypeSummary. */
+ interface IInfoTypeSummary {
+
+ /** InfoTypeSummary infoType */
+ infoType?: (google.privacy.dlp.v2.IInfoType|null);
+
+ /** InfoTypeSummary estimatedPrevalence */
+ estimatedPrevalence?: (number|null);
+ }
+
+ /** Represents an InfoTypeSummary. */
+ class InfoTypeSummary implements IInfoTypeSummary {
+
+ /**
+ * Constructs a new InfoTypeSummary.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.IInfoTypeSummary);
+
+ /** InfoTypeSummary infoType. */
+ public infoType?: (google.privacy.dlp.v2.IInfoType|null);
+
+ /** InfoTypeSummary estimatedPrevalence. */
+ public estimatedPrevalence: number;
+
+ /**
+ * Creates a new InfoTypeSummary instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns InfoTypeSummary instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.IInfoTypeSummary): google.privacy.dlp.v2.InfoTypeSummary;
+
+ /**
+ * Encodes the specified InfoTypeSummary message. Does not implicitly {@link google.privacy.dlp.v2.InfoTypeSummary.verify|verify} messages.
+ * @param message InfoTypeSummary message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.IInfoTypeSummary, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified InfoTypeSummary message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.InfoTypeSummary.verify|verify} messages.
+ * @param message InfoTypeSummary message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.IInfoTypeSummary, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an InfoTypeSummary message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns InfoTypeSummary
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.InfoTypeSummary;
+
+ /**
+ * Decodes an InfoTypeSummary message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns InfoTypeSummary
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.InfoTypeSummary;
+
+ /**
+ * Verifies an InfoTypeSummary message.
+ * @param message Plain 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 InfoTypeSummary message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns InfoTypeSummary
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.InfoTypeSummary;
+
+ /**
+ * Creates a plain object from an InfoTypeSummary message. Also converts values to other types if specified.
+ * @param message InfoTypeSummary
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.InfoTypeSummary, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this InfoTypeSummary to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for InfoTypeSummary
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of an OtherInfoTypeSummary. */
+ interface IOtherInfoTypeSummary {
+
+ /** OtherInfoTypeSummary infoType */
+ infoType?: (google.privacy.dlp.v2.IInfoType|null);
+
+ /** OtherInfoTypeSummary estimatedPrevalence */
+ estimatedPrevalence?: (number|null);
+
+ /** OtherInfoTypeSummary excludedFromAnalysis */
+ excludedFromAnalysis?: (boolean|null);
+ }
+
+ /** Represents an OtherInfoTypeSummary. */
+ class OtherInfoTypeSummary implements IOtherInfoTypeSummary {
+
+ /**
+ * Constructs a new OtherInfoTypeSummary.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.IOtherInfoTypeSummary);
+
+ /** OtherInfoTypeSummary infoType. */
+ public infoType?: (google.privacy.dlp.v2.IInfoType|null);
+
+ /** OtherInfoTypeSummary estimatedPrevalence. */
+ public estimatedPrevalence: number;
+
+ /** OtherInfoTypeSummary excludedFromAnalysis. */
+ public excludedFromAnalysis: boolean;
+
+ /**
+ * Creates a new OtherInfoTypeSummary instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns OtherInfoTypeSummary instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.IOtherInfoTypeSummary): google.privacy.dlp.v2.OtherInfoTypeSummary;
+
+ /**
+ * Encodes the specified OtherInfoTypeSummary message. Does not implicitly {@link google.privacy.dlp.v2.OtherInfoTypeSummary.verify|verify} messages.
+ * @param message OtherInfoTypeSummary message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.IOtherInfoTypeSummary, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified OtherInfoTypeSummary message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.OtherInfoTypeSummary.verify|verify} messages.
+ * @param message OtherInfoTypeSummary message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.IOtherInfoTypeSummary, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an OtherInfoTypeSummary message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns OtherInfoTypeSummary
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.OtherInfoTypeSummary;
+
+ /**
+ * Decodes an OtherInfoTypeSummary message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns OtherInfoTypeSummary
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.OtherInfoTypeSummary;
+
+ /**
+ * Verifies an OtherInfoTypeSummary message.
+ * @param message Plain 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 OtherInfoTypeSummary message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns OtherInfoTypeSummary
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.OtherInfoTypeSummary;
+
+ /**
+ * Creates a plain object from an OtherInfoTypeSummary message. Also converts values to other types if specified.
+ * @param message OtherInfoTypeSummary
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.OtherInfoTypeSummary, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this OtherInfoTypeSummary to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for OtherInfoTypeSummary
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** NullPercentageLevel enum. */
+ enum NullPercentageLevel {
+ NULL_PERCENTAGE_LEVEL_UNSPECIFIED = 0,
+ NULL_PERCENTAGE_VERY_LOW = 1,
+ NULL_PERCENTAGE_LOW = 2,
+ NULL_PERCENTAGE_MEDIUM = 3,
+ NULL_PERCENTAGE_HIGH = 4
+ }
+
+ /** UniquenessScoreLevel enum. */
+ enum UniquenessScoreLevel {
+ UNIQUENESS_SCORE_LEVEL_UNSPECIFIED = 0,
+ UNIQUENESS_SCORE_LOW = 1,
+ UNIQUENESS_SCORE_MEDIUM = 2,
+ UNIQUENESS_SCORE_HIGH = 3
+ }
+
+ /** Properties of a ColumnDataProfile. */
+ interface IColumnDataProfile {
+
+ /** ColumnDataProfile name */
+ name?: (string|null);
+
+ /** ColumnDataProfile profileStatus */
+ profileStatus?: (google.privacy.dlp.v2.IProfileStatus|null);
+
+ /** ColumnDataProfile state */
+ state?: (google.privacy.dlp.v2.ColumnDataProfile.State|keyof typeof google.privacy.dlp.v2.ColumnDataProfile.State|null);
+
+ /** ColumnDataProfile profileLastGenerated */
+ profileLastGenerated?: (google.protobuf.ITimestamp|null);
+
+ /** ColumnDataProfile tableDataProfile */
+ tableDataProfile?: (string|null);
+
+ /** ColumnDataProfile tableFullResource */
+ tableFullResource?: (string|null);
+
+ /** ColumnDataProfile datasetProjectId */
+ datasetProjectId?: (string|null);
+
+ /** ColumnDataProfile datasetLocation */
+ datasetLocation?: (string|null);
+
+ /** ColumnDataProfile datasetId */
+ datasetId?: (string|null);
+
+ /** ColumnDataProfile tableId */
+ tableId?: (string|null);
+
+ /** ColumnDataProfile column */
+ column?: (string|null);
+
+ /** ColumnDataProfile sensitivityScore */
+ sensitivityScore?: (google.privacy.dlp.v2.ISensitivityScore|null);
+
+ /** ColumnDataProfile dataRiskLevel */
+ dataRiskLevel?: (google.privacy.dlp.v2.IDataRiskLevel|null);
+
+ /** ColumnDataProfile columnInfoType */
+ columnInfoType?: (google.privacy.dlp.v2.IInfoTypeSummary|null);
+
+ /** ColumnDataProfile otherMatches */
+ otherMatches?: (google.privacy.dlp.v2.IOtherInfoTypeSummary[]|null);
+
+ /** ColumnDataProfile estimatedNullPercentage */
+ estimatedNullPercentage?: (google.privacy.dlp.v2.NullPercentageLevel|keyof typeof google.privacy.dlp.v2.NullPercentageLevel|null);
+
+ /** ColumnDataProfile estimatedUniquenessScore */
+ estimatedUniquenessScore?: (google.privacy.dlp.v2.UniquenessScoreLevel|keyof typeof google.privacy.dlp.v2.UniquenessScoreLevel|null);
+
+ /** ColumnDataProfile freeTextScore */
+ freeTextScore?: (number|null);
+
+ /** ColumnDataProfile columnType */
+ columnType?: (google.privacy.dlp.v2.ColumnDataProfile.ColumnDataType|keyof typeof google.privacy.dlp.v2.ColumnDataProfile.ColumnDataType|null);
+
+ /** ColumnDataProfile policyState */
+ policyState?: (google.privacy.dlp.v2.ColumnDataProfile.ColumnPolicyState|keyof typeof google.privacy.dlp.v2.ColumnDataProfile.ColumnPolicyState|null);
+ }
+
+ /** Represents a ColumnDataProfile. */
+ class ColumnDataProfile implements IColumnDataProfile {
+
+ /**
+ * Constructs a new ColumnDataProfile.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.IColumnDataProfile);
+
+ /** ColumnDataProfile name. */
+ public name: string;
+
+ /** ColumnDataProfile profileStatus. */
+ public profileStatus?: (google.privacy.dlp.v2.IProfileStatus|null);
+
+ /** ColumnDataProfile state. */
+ public state: (google.privacy.dlp.v2.ColumnDataProfile.State|keyof typeof google.privacy.dlp.v2.ColumnDataProfile.State);
+
+ /** ColumnDataProfile profileLastGenerated. */
+ public profileLastGenerated?: (google.protobuf.ITimestamp|null);
+
+ /** ColumnDataProfile tableDataProfile. */
+ public tableDataProfile: string;
+
+ /** ColumnDataProfile tableFullResource. */
+ public tableFullResource: string;
+
+ /** ColumnDataProfile datasetProjectId. */
+ public datasetProjectId: string;
+
+ /** ColumnDataProfile datasetLocation. */
+ public datasetLocation: string;
+
+ /** ColumnDataProfile datasetId. */
+ public datasetId: string;
+
+ /** ColumnDataProfile tableId. */
+ public tableId: string;
+
+ /** ColumnDataProfile column. */
+ public column: string;
+
+ /** ColumnDataProfile sensitivityScore. */
+ public sensitivityScore?: (google.privacy.dlp.v2.ISensitivityScore|null);
+
+ /** ColumnDataProfile dataRiskLevel. */
+ public dataRiskLevel?: (google.privacy.dlp.v2.IDataRiskLevel|null);
+
+ /** ColumnDataProfile columnInfoType. */
+ public columnInfoType?: (google.privacy.dlp.v2.IInfoTypeSummary|null);
+
+ /** ColumnDataProfile otherMatches. */
+ public otherMatches: google.privacy.dlp.v2.IOtherInfoTypeSummary[];
+
+ /** ColumnDataProfile estimatedNullPercentage. */
+ public estimatedNullPercentage: (google.privacy.dlp.v2.NullPercentageLevel|keyof typeof google.privacy.dlp.v2.NullPercentageLevel);
+
+ /** ColumnDataProfile estimatedUniquenessScore. */
+ public estimatedUniquenessScore: (google.privacy.dlp.v2.UniquenessScoreLevel|keyof typeof google.privacy.dlp.v2.UniquenessScoreLevel);
+
+ /** ColumnDataProfile freeTextScore. */
+ public freeTextScore: number;
+
+ /** ColumnDataProfile columnType. */
+ public columnType: (google.privacy.dlp.v2.ColumnDataProfile.ColumnDataType|keyof typeof google.privacy.dlp.v2.ColumnDataProfile.ColumnDataType);
+
+ /** ColumnDataProfile policyState. */
+ public policyState: (google.privacy.dlp.v2.ColumnDataProfile.ColumnPolicyState|keyof typeof google.privacy.dlp.v2.ColumnDataProfile.ColumnPolicyState);
+
+ /**
+ * Creates a new ColumnDataProfile instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ColumnDataProfile instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.IColumnDataProfile): google.privacy.dlp.v2.ColumnDataProfile;
+
+ /**
+ * Encodes the specified ColumnDataProfile message. Does not implicitly {@link google.privacy.dlp.v2.ColumnDataProfile.verify|verify} messages.
+ * @param message ColumnDataProfile message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.IColumnDataProfile, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ColumnDataProfile message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.ColumnDataProfile.verify|verify} messages.
+ * @param message ColumnDataProfile message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.IColumnDataProfile, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ColumnDataProfile message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ColumnDataProfile
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.ColumnDataProfile;
+
+ /**
+ * Decodes a ColumnDataProfile message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ColumnDataProfile
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.ColumnDataProfile;
+
+ /**
+ * Verifies a ColumnDataProfile message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a ColumnDataProfile message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ColumnDataProfile
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.ColumnDataProfile;
+
+ /**
+ * Creates a plain object from a ColumnDataProfile message. Also converts values to other types if specified.
+ * @param message ColumnDataProfile
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.ColumnDataProfile, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ColumnDataProfile to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ColumnDataProfile
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace ColumnDataProfile {
+
+ /** State enum. */
+ enum State {
+ STATE_UNSPECIFIED = 0,
+ RUNNING = 1,
+ DONE = 2
+ }
+
+ /** ColumnDataType enum. */
+ enum ColumnDataType {
+ COLUMN_DATA_TYPE_UNSPECIFIED = 0,
+ TYPE_INT64 = 1,
+ TYPE_BOOL = 2,
+ TYPE_FLOAT64 = 3,
+ TYPE_STRING = 4,
+ TYPE_BYTES = 5,
+ TYPE_TIMESTAMP = 6,
+ TYPE_DATE = 7,
+ TYPE_TIME = 8,
+ TYPE_DATETIME = 9,
+ TYPE_GEOGRAPHY = 10,
+ TYPE_NUMERIC = 11,
+ TYPE_RECORD = 12,
+ TYPE_BIGNUMERIC = 13,
+ TYPE_JSON = 14,
+ TYPE_INTERVAL = 15,
+ TYPE_RANGE_DATE = 16,
+ TYPE_RANGE_DATETIME = 17,
+ TYPE_RANGE_TIMESTAMP = 18
+ }
+
+ /** ColumnPolicyState enum. */
+ enum ColumnPolicyState {
+ COLUMN_POLICY_STATE_UNSPECIFIED = 0,
+ COLUMN_POLICY_TAGGED = 1
+ }
+ }
+
+ /** Properties of a FileStoreDataProfile. */
+ interface IFileStoreDataProfile {
+
+ /** FileStoreDataProfile name */
+ name?: (string|null);
+
+ /** FileStoreDataProfile dataSourceType */
+ dataSourceType?: (google.privacy.dlp.v2.IDataSourceType|null);
+
+ /** FileStoreDataProfile projectDataProfile */
+ projectDataProfile?: (string|null);
+
+ /** FileStoreDataProfile projectId */
+ projectId?: (string|null);
+
+ /** FileStoreDataProfile fileStoreLocation */
+ fileStoreLocation?: (string|null);
+
+ /** FileStoreDataProfile dataStorageLocations */
+ dataStorageLocations?: (string[]|null);
+
+ /** FileStoreDataProfile locationType */
+ locationType?: (string|null);
+
+ /** FileStoreDataProfile fileStorePath */
+ fileStorePath?: (string|null);
+
+ /** FileStoreDataProfile fullResource */
+ fullResource?: (string|null);
+
+ /** FileStoreDataProfile configSnapshot */
+ configSnapshot?: (google.privacy.dlp.v2.IDataProfileConfigSnapshot|null);
+
+ /** FileStoreDataProfile profileStatus */
+ profileStatus?: (google.privacy.dlp.v2.IProfileStatus|null);
+
+ /** FileStoreDataProfile state */
+ state?: (google.privacy.dlp.v2.FileStoreDataProfile.State|keyof typeof google.privacy.dlp.v2.FileStoreDataProfile.State|null);
+
+ /** FileStoreDataProfile profileLastGenerated */
+ profileLastGenerated?: (google.protobuf.ITimestamp|null);
+
+ /** FileStoreDataProfile resourceVisibility */
+ resourceVisibility?: (google.privacy.dlp.v2.ResourceVisibility|keyof typeof google.privacy.dlp.v2.ResourceVisibility|null);
+
+ /** FileStoreDataProfile sensitivityScore */
+ sensitivityScore?: (google.privacy.dlp.v2.ISensitivityScore|null);
+
+ /** FileStoreDataProfile dataRiskLevel */
+ dataRiskLevel?: (google.privacy.dlp.v2.IDataRiskLevel|null);
+
+ /** FileStoreDataProfile createTime */
+ createTime?: (google.protobuf.ITimestamp|null);
+
+ /** FileStoreDataProfile lastModifiedTime */
+ lastModifiedTime?: (google.protobuf.ITimestamp|null);
+
+ /** FileStoreDataProfile fileClusterSummaries */
+ fileClusterSummaries?: (google.privacy.dlp.v2.IFileClusterSummary[]|null);
+
+ /** FileStoreDataProfile resourceAttributes */
+ resourceAttributes?: ({ [k: string]: google.privacy.dlp.v2.IValue }|null);
+
+ /** FileStoreDataProfile resourceLabels */
+ resourceLabels?: ({ [k: string]: string }|null);
+
+ /** FileStoreDataProfile fileStoreInfoTypeSummaries */
+ fileStoreInfoTypeSummaries?: (google.privacy.dlp.v2.IFileStoreInfoTypeSummary[]|null);
+
+ /** FileStoreDataProfile sampleFindingsTable */
+ sampleFindingsTable?: (google.privacy.dlp.v2.IBigQueryTable|null);
+
+ /** FileStoreDataProfile fileStoreIsEmpty */
+ fileStoreIsEmpty?: (boolean|null);
+
+ /** FileStoreDataProfile tags */
+ tags?: (google.privacy.dlp.v2.ITag[]|null);
+
+ /** FileStoreDataProfile relatedResources */
+ relatedResources?: (google.privacy.dlp.v2.IRelatedResource[]|null);
+
+ /** FileStoreDataProfile domains */
+ domains?: (google.privacy.dlp.v2.IDomain[]|null);
+ }
+
+ /** Represents a FileStoreDataProfile. */
+ class FileStoreDataProfile implements IFileStoreDataProfile {
+
+ /**
+ * Constructs a new FileStoreDataProfile.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.IFileStoreDataProfile);
+
+ /** FileStoreDataProfile name. */
+ public name: string;
+
+ /** FileStoreDataProfile dataSourceType. */
+ public dataSourceType?: (google.privacy.dlp.v2.IDataSourceType|null);
+
+ /** FileStoreDataProfile projectDataProfile. */
+ public projectDataProfile: string;
+
+ /** FileStoreDataProfile projectId. */
+ public projectId: string;
+
+ /** FileStoreDataProfile fileStoreLocation. */
+ public fileStoreLocation: string;
+
+ /** FileStoreDataProfile dataStorageLocations. */
+ public dataStorageLocations: string[];
+
+ /** FileStoreDataProfile locationType. */
+ public locationType: string;
+
+ /** FileStoreDataProfile fileStorePath. */
+ public fileStorePath: string;
+
+ /** FileStoreDataProfile fullResource. */
+ public fullResource: string;
+
+ /** FileStoreDataProfile configSnapshot. */
+ public configSnapshot?: (google.privacy.dlp.v2.IDataProfileConfigSnapshot|null);
+
+ /** FileStoreDataProfile profileStatus. */
+ public profileStatus?: (google.privacy.dlp.v2.IProfileStatus|null);
+
+ /** FileStoreDataProfile state. */
+ public state: (google.privacy.dlp.v2.FileStoreDataProfile.State|keyof typeof google.privacy.dlp.v2.FileStoreDataProfile.State);
+
+ /** FileStoreDataProfile profileLastGenerated. */
+ public profileLastGenerated?: (google.protobuf.ITimestamp|null);
+
+ /** FileStoreDataProfile resourceVisibility. */
+ public resourceVisibility: (google.privacy.dlp.v2.ResourceVisibility|keyof typeof google.privacy.dlp.v2.ResourceVisibility);
+
+ /** FileStoreDataProfile sensitivityScore. */
+ public sensitivityScore?: (google.privacy.dlp.v2.ISensitivityScore|null);
+
+ /** FileStoreDataProfile dataRiskLevel. */
+ public dataRiskLevel?: (google.privacy.dlp.v2.IDataRiskLevel|null);
+
+ /** FileStoreDataProfile createTime. */
+ public createTime?: (google.protobuf.ITimestamp|null);
+
+ /** FileStoreDataProfile lastModifiedTime. */
+ public lastModifiedTime?: (google.protobuf.ITimestamp|null);
+
+ /** FileStoreDataProfile fileClusterSummaries. */
+ public fileClusterSummaries: google.privacy.dlp.v2.IFileClusterSummary[];
+
+ /** FileStoreDataProfile resourceAttributes. */
+ public resourceAttributes: { [k: string]: google.privacy.dlp.v2.IValue };
+
+ /** FileStoreDataProfile resourceLabels. */
+ public resourceLabels: { [k: string]: string };
+
+ /** FileStoreDataProfile fileStoreInfoTypeSummaries. */
+ public fileStoreInfoTypeSummaries: google.privacy.dlp.v2.IFileStoreInfoTypeSummary[];
+
+ /** FileStoreDataProfile sampleFindingsTable. */
+ public sampleFindingsTable?: (google.privacy.dlp.v2.IBigQueryTable|null);
+
+ /** FileStoreDataProfile fileStoreIsEmpty. */
+ public fileStoreIsEmpty: boolean;
+
+ /** FileStoreDataProfile tags. */
+ public tags: google.privacy.dlp.v2.ITag[];
+
+ /** FileStoreDataProfile relatedResources. */
+ public relatedResources: google.privacy.dlp.v2.IRelatedResource[];
+
+ /** FileStoreDataProfile domains. */
+ public domains: google.privacy.dlp.v2.IDomain[];
+
+ /**
+ * Creates a new FileStoreDataProfile instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns FileStoreDataProfile instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.IFileStoreDataProfile): google.privacy.dlp.v2.FileStoreDataProfile;
+
+ /**
+ * Encodes the specified FileStoreDataProfile message. Does not implicitly {@link google.privacy.dlp.v2.FileStoreDataProfile.verify|verify} messages.
+ * @param message FileStoreDataProfile message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.IFileStoreDataProfile, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified FileStoreDataProfile message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.FileStoreDataProfile.verify|verify} messages.
+ * @param message FileStoreDataProfile message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.IFileStoreDataProfile, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a FileStoreDataProfile message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns FileStoreDataProfile
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.FileStoreDataProfile;
+
+ /**
+ * Decodes a FileStoreDataProfile message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns FileStoreDataProfile
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.FileStoreDataProfile;
+
+ /**
+ * Verifies a FileStoreDataProfile message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a FileStoreDataProfile message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns FileStoreDataProfile
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.FileStoreDataProfile;
+
+ /**
+ * Creates a plain object from a FileStoreDataProfile message. Also converts values to other types if specified.
+ * @param message FileStoreDataProfile
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.FileStoreDataProfile, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this FileStoreDataProfile to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for FileStoreDataProfile
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace FileStoreDataProfile {
+
+ /** State enum. */
+ enum State {
+ STATE_UNSPECIFIED = 0,
+ RUNNING = 1,
+ DONE = 2
+ }
+ }
+
+ /** Properties of a Tag. */
+ interface ITag {
+
+ /** Tag namespacedTagValue */
+ namespacedTagValue?: (string|null);
+
+ /** Tag key */
+ key?: (string|null);
+
+ /** Tag value */
+ value?: (string|null);
+ }
+
+ /** Represents a Tag. */
+ class Tag implements ITag {
+
+ /**
+ * Constructs a new Tag.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.ITag);
+
+ /** Tag namespacedTagValue. */
+ public namespacedTagValue: string;
+
+ /** Tag key. */
+ public key: string;
+
+ /** Tag value. */
+ public value: string;
+
+ /**
+ * Creates a new Tag instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns Tag instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.ITag): google.privacy.dlp.v2.Tag;
+
+ /**
+ * Encodes the specified Tag message. Does not implicitly {@link google.privacy.dlp.v2.Tag.verify|verify} messages.
+ * @param message Tag message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.ITag, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified Tag message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.Tag.verify|verify} messages.
+ * @param message Tag message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.ITag, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a Tag message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns Tag
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.Tag;
+
+ /**
+ * Decodes a Tag message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns Tag
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.Tag;
+
+ /**
+ * Verifies a Tag message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a Tag message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns Tag
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.Tag;
+
+ /**
+ * Creates a plain object from a Tag message. Also converts values to other types if specified.
+ * @param message Tag
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.Tag, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this Tag to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for Tag
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a TagFilters. */
+ interface ITagFilters {
+
+ /** TagFilters tagFilters */
+ tagFilters?: (google.privacy.dlp.v2.ITagFilter[]|null);
+ }
+
+ /** Represents a TagFilters. */
+ class TagFilters implements ITagFilters {
+
+ /**
+ * Constructs a new TagFilters.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.ITagFilters);
+
+ /** TagFilters tagFilters. */
+ public tagFilters: google.privacy.dlp.v2.ITagFilter[];
+
+ /**
+ * Creates a new TagFilters instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns TagFilters instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.ITagFilters): google.privacy.dlp.v2.TagFilters;
+
+ /**
+ * Encodes the specified TagFilters message. Does not implicitly {@link google.privacy.dlp.v2.TagFilters.verify|verify} messages.
+ * @param message TagFilters message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.ITagFilters, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified TagFilters message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.TagFilters.verify|verify} messages.
+ * @param message TagFilters message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.ITagFilters, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a TagFilters message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns TagFilters
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.TagFilters;
+
+ /**
+ * Decodes a TagFilters message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns TagFilters
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.TagFilters;
+
+ /**
+ * Verifies a TagFilters message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a TagFilters message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns TagFilters
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.TagFilters;
+
+ /**
+ * Creates a plain object from a TagFilters message. Also converts values to other types if specified.
+ * @param message TagFilters
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.TagFilters, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this TagFilters to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for TagFilters
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a TagFilter. */
+ interface ITagFilter {
+
+ /** TagFilter namespacedTagValue */
+ namespacedTagValue?: (string|null);
+
+ /** TagFilter namespacedTagKey */
+ namespacedTagKey?: (string|null);
+ }
+
+ /** Represents a TagFilter. */
+ class TagFilter implements ITagFilter {
+
+ /**
+ * Constructs a new TagFilter.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.ITagFilter);
+
+ /** TagFilter namespacedTagValue. */
+ public namespacedTagValue?: (string|null);
+
+ /** TagFilter namespacedTagKey. */
+ public namespacedTagKey?: (string|null);
+
+ /** TagFilter format. */
+ public format?: ("namespacedTagValue"|"namespacedTagKey");
+
+ /**
+ * Creates a new TagFilter instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns TagFilter instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.ITagFilter): google.privacy.dlp.v2.TagFilter;
+
+ /**
+ * Encodes the specified TagFilter message. Does not implicitly {@link google.privacy.dlp.v2.TagFilter.verify|verify} messages.
+ * @param message TagFilter message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.ITagFilter, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified TagFilter message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.TagFilter.verify|verify} messages.
+ * @param message TagFilter message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.ITagFilter, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a TagFilter message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns TagFilter
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.TagFilter;
+
+ /**
+ * Decodes a TagFilter message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns TagFilter
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.TagFilter;
+
+ /**
+ * Verifies a TagFilter message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a TagFilter message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns TagFilter
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.TagFilter;
+
+ /**
+ * Creates a plain object from a TagFilter message. Also converts values to other types if specified.
+ * @param message TagFilter
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.TagFilter, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this TagFilter to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for TagFilter
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a RelatedResource. */
+ interface IRelatedResource {
+
+ /** RelatedResource fullResource */
+ fullResource?: (string|null);
+ }
+
+ /** Represents a RelatedResource. */
+ class RelatedResource implements IRelatedResource {
+
+ /**
+ * Constructs a new RelatedResource.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.IRelatedResource);
+
+ /** RelatedResource fullResource. */
+ public fullResource: string;
+
+ /**
+ * Creates a new RelatedResource instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns RelatedResource instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.IRelatedResource): google.privacy.dlp.v2.RelatedResource;
+
+ /**
+ * Encodes the specified RelatedResource message. Does not implicitly {@link google.privacy.dlp.v2.RelatedResource.verify|verify} messages.
+ * @param message RelatedResource message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.IRelatedResource, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified RelatedResource message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.RelatedResource.verify|verify} messages.
+ * @param message RelatedResource message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.IRelatedResource, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a RelatedResource message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns RelatedResource
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.RelatedResource;
+
+ /**
+ * Decodes a RelatedResource message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns RelatedResource
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.RelatedResource;
+
+ /**
+ * Verifies a RelatedResource message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a RelatedResource message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns RelatedResource
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.RelatedResource;
+
+ /**
+ * Creates a plain object from a RelatedResource message. Also converts values to other types if specified.
+ * @param message RelatedResource
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.RelatedResource, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this RelatedResource to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for RelatedResource
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a FileStoreInfoTypeSummary. */
+ interface IFileStoreInfoTypeSummary {
+
+ /** FileStoreInfoTypeSummary infoType */
+ infoType?: (google.privacy.dlp.v2.IInfoType|null);
+ }
+
+ /** Represents a FileStoreInfoTypeSummary. */
+ class FileStoreInfoTypeSummary implements IFileStoreInfoTypeSummary {
+
+ /**
+ * Constructs a new FileStoreInfoTypeSummary.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.IFileStoreInfoTypeSummary);
+
+ /** FileStoreInfoTypeSummary infoType. */
+ public infoType?: (google.privacy.dlp.v2.IInfoType|null);
+
+ /**
+ * Creates a new FileStoreInfoTypeSummary instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns FileStoreInfoTypeSummary instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.IFileStoreInfoTypeSummary): google.privacy.dlp.v2.FileStoreInfoTypeSummary;
+
+ /**
+ * Encodes the specified FileStoreInfoTypeSummary message. Does not implicitly {@link google.privacy.dlp.v2.FileStoreInfoTypeSummary.verify|verify} messages.
+ * @param message FileStoreInfoTypeSummary message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.IFileStoreInfoTypeSummary, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified FileStoreInfoTypeSummary message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.FileStoreInfoTypeSummary.verify|verify} messages.
+ * @param message FileStoreInfoTypeSummary message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.IFileStoreInfoTypeSummary, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a FileStoreInfoTypeSummary message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns FileStoreInfoTypeSummary
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.FileStoreInfoTypeSummary;
+
+ /**
+ * Decodes a FileStoreInfoTypeSummary message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns FileStoreInfoTypeSummary
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.FileStoreInfoTypeSummary;
+
+ /**
+ * Verifies a FileStoreInfoTypeSummary message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a FileStoreInfoTypeSummary message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns FileStoreInfoTypeSummary
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.FileStoreInfoTypeSummary;
+
+ /**
+ * Creates a plain object from a FileStoreInfoTypeSummary message. Also converts values to other types if specified.
+ * @param message FileStoreInfoTypeSummary
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.FileStoreInfoTypeSummary, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this FileStoreInfoTypeSummary to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for FileStoreInfoTypeSummary
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a FileExtensionInfo. */
+ interface IFileExtensionInfo {
+
+ /** FileExtensionInfo fileExtension */
+ fileExtension?: (string|null);
+ }
+
+ /** Represents a FileExtensionInfo. */
+ class FileExtensionInfo implements IFileExtensionInfo {
+
+ /**
+ * Constructs a new FileExtensionInfo.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.IFileExtensionInfo);
+
+ /** FileExtensionInfo fileExtension. */
+ public fileExtension: string;
+
+ /**
+ * Creates a new FileExtensionInfo instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns FileExtensionInfo instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.IFileExtensionInfo): google.privacy.dlp.v2.FileExtensionInfo;
+
+ /**
+ * Encodes the specified FileExtensionInfo message. Does not implicitly {@link google.privacy.dlp.v2.FileExtensionInfo.verify|verify} messages.
+ * @param message FileExtensionInfo message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.IFileExtensionInfo, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified FileExtensionInfo message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.FileExtensionInfo.verify|verify} messages.
+ * @param message FileExtensionInfo message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.IFileExtensionInfo, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a FileExtensionInfo message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns FileExtensionInfo
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.FileExtensionInfo;
+
+ /**
+ * Decodes a FileExtensionInfo message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns FileExtensionInfo
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.FileExtensionInfo;
+
+ /**
+ * Verifies a FileExtensionInfo message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a FileExtensionInfo message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns FileExtensionInfo
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.FileExtensionInfo;
+
+ /**
+ * Creates a plain object from a FileExtensionInfo message. Also converts values to other types if specified.
+ * @param message FileExtensionInfo
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.FileExtensionInfo, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this FileExtensionInfo to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for FileExtensionInfo
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a FileClusterSummary. */
+ interface IFileClusterSummary {
+
+ /** FileClusterSummary fileClusterType */
+ fileClusterType?: (google.privacy.dlp.v2.IFileClusterType|null);
+
+ /** FileClusterSummary fileStoreInfoTypeSummaries */
+ fileStoreInfoTypeSummaries?: (google.privacy.dlp.v2.IFileStoreInfoTypeSummary[]|null);
+
+ /** FileClusterSummary sensitivityScore */
+ sensitivityScore?: (google.privacy.dlp.v2.ISensitivityScore|null);
+
+ /** FileClusterSummary dataRiskLevel */
+ dataRiskLevel?: (google.privacy.dlp.v2.IDataRiskLevel|null);
+
+ /** FileClusterSummary errors */
+ errors?: (google.privacy.dlp.v2.IError[]|null);
+
+ /** FileClusterSummary fileExtensionsScanned */
+ fileExtensionsScanned?: (google.privacy.dlp.v2.IFileExtensionInfo[]|null);
+
+ /** FileClusterSummary fileExtensionsSeen */
+ fileExtensionsSeen?: (google.privacy.dlp.v2.IFileExtensionInfo[]|null);
+
+ /** FileClusterSummary noFilesExist */
+ noFilesExist?: (boolean|null);
+ }
+
+ /** Represents a FileClusterSummary. */
+ class FileClusterSummary implements IFileClusterSummary {
+
+ /**
+ * Constructs a new FileClusterSummary.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.IFileClusterSummary);
+
+ /** FileClusterSummary fileClusterType. */
+ public fileClusterType?: (google.privacy.dlp.v2.IFileClusterType|null);
+
+ /** FileClusterSummary fileStoreInfoTypeSummaries. */
+ public fileStoreInfoTypeSummaries: google.privacy.dlp.v2.IFileStoreInfoTypeSummary[];
+
+ /** FileClusterSummary sensitivityScore. */
+ public sensitivityScore?: (google.privacy.dlp.v2.ISensitivityScore|null);
+
+ /** FileClusterSummary dataRiskLevel. */
+ public dataRiskLevel?: (google.privacy.dlp.v2.IDataRiskLevel|null);
+
+ /** FileClusterSummary errors. */
+ public errors: google.privacy.dlp.v2.IError[];
+
+ /** FileClusterSummary fileExtensionsScanned. */
+ public fileExtensionsScanned: google.privacy.dlp.v2.IFileExtensionInfo[];
+
+ /** FileClusterSummary fileExtensionsSeen. */
+ public fileExtensionsSeen: google.privacy.dlp.v2.IFileExtensionInfo[];
+
+ /** FileClusterSummary noFilesExist. */
+ public noFilesExist: boolean;
+
+ /**
+ * Creates a new FileClusterSummary instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns FileClusterSummary instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.IFileClusterSummary): google.privacy.dlp.v2.FileClusterSummary;
+
+ /**
+ * Encodes the specified FileClusterSummary message. Does not implicitly {@link google.privacy.dlp.v2.FileClusterSummary.verify|verify} messages.
+ * @param message FileClusterSummary message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.IFileClusterSummary, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified FileClusterSummary message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.FileClusterSummary.verify|verify} messages.
+ * @param message FileClusterSummary message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.IFileClusterSummary, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a FileClusterSummary message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns FileClusterSummary
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.FileClusterSummary;
+
+ /**
+ * Decodes a FileClusterSummary message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns FileClusterSummary
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.FileClusterSummary;
+
+ /**
+ * Verifies a FileClusterSummary message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a FileClusterSummary message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns FileClusterSummary
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.FileClusterSummary;
+
+ /**
+ * Creates a plain object from a FileClusterSummary message. Also converts values to other types if specified.
+ * @param message FileClusterSummary
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.FileClusterSummary, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this FileClusterSummary to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for FileClusterSummary
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a GetProjectDataProfileRequest. */
+ interface IGetProjectDataProfileRequest {
+
+ /** GetProjectDataProfileRequest name */
+ name?: (string|null);
+ }
+
+ /** Represents a GetProjectDataProfileRequest. */
+ class GetProjectDataProfileRequest implements IGetProjectDataProfileRequest {
+
+ /**
+ * Constructs a new GetProjectDataProfileRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.IGetProjectDataProfileRequest);
+
+ /** GetProjectDataProfileRequest name. */
+ public name: string;
+
+ /**
+ * Creates a new GetProjectDataProfileRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns GetProjectDataProfileRequest instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.IGetProjectDataProfileRequest): google.privacy.dlp.v2.GetProjectDataProfileRequest;
+
+ /**
+ * Encodes the specified GetProjectDataProfileRequest message. Does not implicitly {@link google.privacy.dlp.v2.GetProjectDataProfileRequest.verify|verify} messages.
+ * @param message GetProjectDataProfileRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.IGetProjectDataProfileRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified GetProjectDataProfileRequest message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.GetProjectDataProfileRequest.verify|verify} messages.
+ * @param message GetProjectDataProfileRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.IGetProjectDataProfileRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a GetProjectDataProfileRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns GetProjectDataProfileRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.GetProjectDataProfileRequest;
+
+ /**
+ * Decodes a GetProjectDataProfileRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns GetProjectDataProfileRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.GetProjectDataProfileRequest;
+
+ /**
+ * Verifies a GetProjectDataProfileRequest message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a GetProjectDataProfileRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns GetProjectDataProfileRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.GetProjectDataProfileRequest;
+
+ /**
+ * Creates a plain object from a GetProjectDataProfileRequest message. Also converts values to other types if specified.
+ * @param message GetProjectDataProfileRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.GetProjectDataProfileRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this GetProjectDataProfileRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for GetProjectDataProfileRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a GetFileStoreDataProfileRequest. */
+ interface IGetFileStoreDataProfileRequest {
+
+ /** GetFileStoreDataProfileRequest name */
+ name?: (string|null);
+ }
+
+ /** Represents a GetFileStoreDataProfileRequest. */
+ class GetFileStoreDataProfileRequest implements IGetFileStoreDataProfileRequest {
+
+ /**
+ * Constructs a new GetFileStoreDataProfileRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.IGetFileStoreDataProfileRequest);
+
+ /** GetFileStoreDataProfileRequest name. */
+ public name: string;
+
+ /**
+ * Creates a new GetFileStoreDataProfileRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns GetFileStoreDataProfileRequest instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.IGetFileStoreDataProfileRequest): google.privacy.dlp.v2.GetFileStoreDataProfileRequest;
+
+ /**
+ * Encodes the specified GetFileStoreDataProfileRequest message. Does not implicitly {@link google.privacy.dlp.v2.GetFileStoreDataProfileRequest.verify|verify} messages.
+ * @param message GetFileStoreDataProfileRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.IGetFileStoreDataProfileRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified GetFileStoreDataProfileRequest message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.GetFileStoreDataProfileRequest.verify|verify} messages.
+ * @param message GetFileStoreDataProfileRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.IGetFileStoreDataProfileRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a GetFileStoreDataProfileRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns GetFileStoreDataProfileRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.GetFileStoreDataProfileRequest;
+
+ /**
+ * Decodes a GetFileStoreDataProfileRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns GetFileStoreDataProfileRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.GetFileStoreDataProfileRequest;
+
+ /**
+ * Verifies a GetFileStoreDataProfileRequest message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a GetFileStoreDataProfileRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns GetFileStoreDataProfileRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.GetFileStoreDataProfileRequest;
+
+ /**
+ * Creates a plain object from a GetFileStoreDataProfileRequest message. Also converts values to other types if specified.
+ * @param message GetFileStoreDataProfileRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.GetFileStoreDataProfileRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this GetFileStoreDataProfileRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for GetFileStoreDataProfileRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a ListFileStoreDataProfilesRequest. */
+ interface IListFileStoreDataProfilesRequest {
+
+ /** ListFileStoreDataProfilesRequest parent */
+ parent?: (string|null);
+
+ /** ListFileStoreDataProfilesRequest pageToken */
+ pageToken?: (string|null);
+
+ /** ListFileStoreDataProfilesRequest pageSize */
+ pageSize?: (number|null);
+
+ /** ListFileStoreDataProfilesRequest orderBy */
+ orderBy?: (string|null);
+
+ /** ListFileStoreDataProfilesRequest filter */
+ filter?: (string|null);
+ }
+
+ /** Represents a ListFileStoreDataProfilesRequest. */
+ class ListFileStoreDataProfilesRequest implements IListFileStoreDataProfilesRequest {
+
+ /**
+ * Constructs a new ListFileStoreDataProfilesRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.IListFileStoreDataProfilesRequest);
+
+ /** ListFileStoreDataProfilesRequest parent. */
+ public parent: string;
+
+ /** ListFileStoreDataProfilesRequest pageToken. */
+ public pageToken: string;
+
+ /** ListFileStoreDataProfilesRequest pageSize. */
+ public pageSize: number;
+
+ /** ListFileStoreDataProfilesRequest orderBy. */
+ public orderBy: string;
+
+ /** ListFileStoreDataProfilesRequest filter. */
+ public filter: string;
+
+ /**
+ * Creates a new ListFileStoreDataProfilesRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ListFileStoreDataProfilesRequest instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.IListFileStoreDataProfilesRequest): google.privacy.dlp.v2.ListFileStoreDataProfilesRequest;
+
+ /**
+ * Encodes the specified ListFileStoreDataProfilesRequest message. Does not implicitly {@link google.privacy.dlp.v2.ListFileStoreDataProfilesRequest.verify|verify} messages.
+ * @param message ListFileStoreDataProfilesRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.IListFileStoreDataProfilesRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ListFileStoreDataProfilesRequest message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.ListFileStoreDataProfilesRequest.verify|verify} messages.
+ * @param message ListFileStoreDataProfilesRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.IListFileStoreDataProfilesRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ListFileStoreDataProfilesRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ListFileStoreDataProfilesRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.ListFileStoreDataProfilesRequest;
+
+ /**
+ * Decodes a ListFileStoreDataProfilesRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ListFileStoreDataProfilesRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.ListFileStoreDataProfilesRequest;
+
+ /**
+ * Verifies a ListFileStoreDataProfilesRequest message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a ListFileStoreDataProfilesRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ListFileStoreDataProfilesRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.ListFileStoreDataProfilesRequest;
+
+ /**
+ * Creates a plain object from a ListFileStoreDataProfilesRequest message. Also converts values to other types if specified.
+ * @param message ListFileStoreDataProfilesRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.ListFileStoreDataProfilesRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ListFileStoreDataProfilesRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ListFileStoreDataProfilesRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a ListFileStoreDataProfilesResponse. */
+ interface IListFileStoreDataProfilesResponse {
+
+ /** ListFileStoreDataProfilesResponse fileStoreDataProfiles */
+ fileStoreDataProfiles?: (google.privacy.dlp.v2.IFileStoreDataProfile[]|null);
+
+ /** ListFileStoreDataProfilesResponse nextPageToken */
+ nextPageToken?: (string|null);
+ }
+
+ /** Represents a ListFileStoreDataProfilesResponse. */
+ class ListFileStoreDataProfilesResponse implements IListFileStoreDataProfilesResponse {
+
+ /**
+ * Constructs a new ListFileStoreDataProfilesResponse.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.IListFileStoreDataProfilesResponse);
+
+ /** ListFileStoreDataProfilesResponse fileStoreDataProfiles. */
+ public fileStoreDataProfiles: google.privacy.dlp.v2.IFileStoreDataProfile[];
+
+ /** ListFileStoreDataProfilesResponse nextPageToken. */
+ public nextPageToken: string;
+
+ /**
+ * Creates a new ListFileStoreDataProfilesResponse instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ListFileStoreDataProfilesResponse instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.IListFileStoreDataProfilesResponse): google.privacy.dlp.v2.ListFileStoreDataProfilesResponse;
+
+ /**
+ * Encodes the specified ListFileStoreDataProfilesResponse message. Does not implicitly {@link google.privacy.dlp.v2.ListFileStoreDataProfilesResponse.verify|verify} messages.
+ * @param message ListFileStoreDataProfilesResponse message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.IListFileStoreDataProfilesResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ListFileStoreDataProfilesResponse message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.ListFileStoreDataProfilesResponse.verify|verify} messages.
+ * @param message ListFileStoreDataProfilesResponse message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.IListFileStoreDataProfilesResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ListFileStoreDataProfilesResponse message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ListFileStoreDataProfilesResponse
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.ListFileStoreDataProfilesResponse;
+
+ /**
+ * Decodes a ListFileStoreDataProfilesResponse message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ListFileStoreDataProfilesResponse
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.ListFileStoreDataProfilesResponse;
+
+ /**
+ * Verifies a ListFileStoreDataProfilesResponse message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a ListFileStoreDataProfilesResponse message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ListFileStoreDataProfilesResponse
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.ListFileStoreDataProfilesResponse;
+
+ /**
+ * Creates a plain object from a ListFileStoreDataProfilesResponse message. Also converts values to other types if specified.
+ * @param message ListFileStoreDataProfilesResponse
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.ListFileStoreDataProfilesResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ListFileStoreDataProfilesResponse to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ListFileStoreDataProfilesResponse
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a DeleteFileStoreDataProfileRequest. */
+ interface IDeleteFileStoreDataProfileRequest {
+
+ /** DeleteFileStoreDataProfileRequest name */
+ name?: (string|null);
+ }
+
+ /** Represents a DeleteFileStoreDataProfileRequest. */
+ class DeleteFileStoreDataProfileRequest implements IDeleteFileStoreDataProfileRequest {
+
+ /**
+ * Constructs a new DeleteFileStoreDataProfileRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.IDeleteFileStoreDataProfileRequest);
+
+ /** DeleteFileStoreDataProfileRequest name. */
+ public name: string;
+
+ /**
+ * Creates a new DeleteFileStoreDataProfileRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns DeleteFileStoreDataProfileRequest instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.IDeleteFileStoreDataProfileRequest): google.privacy.dlp.v2.DeleteFileStoreDataProfileRequest;
+
+ /**
+ * Encodes the specified DeleteFileStoreDataProfileRequest message. Does not implicitly {@link google.privacy.dlp.v2.DeleteFileStoreDataProfileRequest.verify|verify} messages.
+ * @param message DeleteFileStoreDataProfileRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.IDeleteFileStoreDataProfileRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified DeleteFileStoreDataProfileRequest message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.DeleteFileStoreDataProfileRequest.verify|verify} messages.
+ * @param message DeleteFileStoreDataProfileRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.IDeleteFileStoreDataProfileRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a DeleteFileStoreDataProfileRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns DeleteFileStoreDataProfileRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.DeleteFileStoreDataProfileRequest;
+
+ /**
+ * Decodes a DeleteFileStoreDataProfileRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns DeleteFileStoreDataProfileRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.DeleteFileStoreDataProfileRequest;
+
+ /**
+ * Verifies a DeleteFileStoreDataProfileRequest message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a DeleteFileStoreDataProfileRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns DeleteFileStoreDataProfileRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.DeleteFileStoreDataProfileRequest;
+
+ /**
+ * Creates a plain object from a DeleteFileStoreDataProfileRequest message. Also converts values to other types if specified.
+ * @param message DeleteFileStoreDataProfileRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.DeleteFileStoreDataProfileRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this DeleteFileStoreDataProfileRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for DeleteFileStoreDataProfileRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a GetTableDataProfileRequest. */
+ interface IGetTableDataProfileRequest {
+
+ /** GetTableDataProfileRequest name */
+ name?: (string|null);
+ }
+
+ /** Represents a GetTableDataProfileRequest. */
+ class GetTableDataProfileRequest implements IGetTableDataProfileRequest {
+
+ /**
+ * Constructs a new GetTableDataProfileRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.IGetTableDataProfileRequest);
+
+ /** GetTableDataProfileRequest name. */
+ public name: string;
+
+ /**
+ * Creates a new GetTableDataProfileRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns GetTableDataProfileRequest instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.IGetTableDataProfileRequest): google.privacy.dlp.v2.GetTableDataProfileRequest;
+
+ /**
+ * Encodes the specified GetTableDataProfileRequest message. Does not implicitly {@link google.privacy.dlp.v2.GetTableDataProfileRequest.verify|verify} messages.
+ * @param message GetTableDataProfileRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.IGetTableDataProfileRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified GetTableDataProfileRequest message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.GetTableDataProfileRequest.verify|verify} messages.
+ * @param message GetTableDataProfileRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.IGetTableDataProfileRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a GetTableDataProfileRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns GetTableDataProfileRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.GetTableDataProfileRequest;
+
+ /**
+ * Decodes a GetTableDataProfileRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns GetTableDataProfileRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.GetTableDataProfileRequest;
+
+ /**
+ * Verifies a GetTableDataProfileRequest message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a GetTableDataProfileRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns GetTableDataProfileRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.GetTableDataProfileRequest;
+
+ /**
+ * Creates a plain object from a GetTableDataProfileRequest message. Also converts values to other types if specified.
+ * @param message GetTableDataProfileRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.GetTableDataProfileRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this GetTableDataProfileRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for GetTableDataProfileRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a GetColumnDataProfileRequest. */
+ interface IGetColumnDataProfileRequest {
+
+ /** GetColumnDataProfileRequest name */
+ name?: (string|null);
+ }
+
+ /** Represents a GetColumnDataProfileRequest. */
+ class GetColumnDataProfileRequest implements IGetColumnDataProfileRequest {
+
+ /**
+ * Constructs a new GetColumnDataProfileRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.IGetColumnDataProfileRequest);
+
+ /** GetColumnDataProfileRequest name. */
+ public name: string;
+
+ /**
+ * Creates a new GetColumnDataProfileRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns GetColumnDataProfileRequest instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.IGetColumnDataProfileRequest): google.privacy.dlp.v2.GetColumnDataProfileRequest;
+
+ /**
+ * Encodes the specified GetColumnDataProfileRequest message. Does not implicitly {@link google.privacy.dlp.v2.GetColumnDataProfileRequest.verify|verify} messages.
+ * @param message GetColumnDataProfileRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.IGetColumnDataProfileRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified GetColumnDataProfileRequest message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.GetColumnDataProfileRequest.verify|verify} messages.
+ * @param message GetColumnDataProfileRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.IGetColumnDataProfileRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a GetColumnDataProfileRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns GetColumnDataProfileRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.GetColumnDataProfileRequest;
+
+ /**
+ * Decodes a GetColumnDataProfileRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns GetColumnDataProfileRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.GetColumnDataProfileRequest;
+
+ /**
+ * Verifies a GetColumnDataProfileRequest message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a GetColumnDataProfileRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns GetColumnDataProfileRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.GetColumnDataProfileRequest;
+
+ /**
+ * Creates a plain object from a GetColumnDataProfileRequest message. Also converts values to other types if specified.
+ * @param message GetColumnDataProfileRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.GetColumnDataProfileRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this GetColumnDataProfileRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for GetColumnDataProfileRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a DataProfilePubSubCondition. */
+ interface IDataProfilePubSubCondition {
+
+ /** DataProfilePubSubCondition expressions */
+ expressions?: (google.privacy.dlp.v2.DataProfilePubSubCondition.IPubSubExpressions|null);
+ }
+
+ /** Represents a DataProfilePubSubCondition. */
+ class DataProfilePubSubCondition implements IDataProfilePubSubCondition {
+
+ /**
+ * Constructs a new DataProfilePubSubCondition.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.IDataProfilePubSubCondition);
+
+ /** DataProfilePubSubCondition expressions. */
+ public expressions?: (google.privacy.dlp.v2.DataProfilePubSubCondition.IPubSubExpressions|null);
+
+ /**
+ * Creates a new DataProfilePubSubCondition instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns DataProfilePubSubCondition instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.IDataProfilePubSubCondition): google.privacy.dlp.v2.DataProfilePubSubCondition;
+
+ /**
+ * Encodes the specified DataProfilePubSubCondition message. Does not implicitly {@link google.privacy.dlp.v2.DataProfilePubSubCondition.verify|verify} messages.
+ * @param message DataProfilePubSubCondition message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.IDataProfilePubSubCondition, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified DataProfilePubSubCondition message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.DataProfilePubSubCondition.verify|verify} messages.
+ * @param message DataProfilePubSubCondition message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.IDataProfilePubSubCondition, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a DataProfilePubSubCondition message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns DataProfilePubSubCondition
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.DataProfilePubSubCondition;
+
+ /**
+ * Decodes a DataProfilePubSubCondition message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns DataProfilePubSubCondition
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.DataProfilePubSubCondition;
+
+ /**
+ * Verifies a DataProfilePubSubCondition message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a DataProfilePubSubCondition message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns DataProfilePubSubCondition
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.DataProfilePubSubCondition;
+
+ /**
+ * Creates a plain object from a DataProfilePubSubCondition message. Also converts values to other types if specified.
+ * @param message DataProfilePubSubCondition
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.DataProfilePubSubCondition, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this DataProfilePubSubCondition to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for DataProfilePubSubCondition
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace DataProfilePubSubCondition {
+
+ /** ProfileScoreBucket enum. */
+ enum ProfileScoreBucket {
+ PROFILE_SCORE_BUCKET_UNSPECIFIED = 0,
+ HIGH = 1,
+ MEDIUM_OR_HIGH = 2
+ }
+
+ /** Properties of a PubSubCondition. */
+ interface IPubSubCondition {
+
+ /** PubSubCondition minimumRiskScore */
+ minimumRiskScore?: (google.privacy.dlp.v2.DataProfilePubSubCondition.ProfileScoreBucket|keyof typeof google.privacy.dlp.v2.DataProfilePubSubCondition.ProfileScoreBucket|null);
+
+ /** PubSubCondition minimumSensitivityScore */
+ minimumSensitivityScore?: (google.privacy.dlp.v2.DataProfilePubSubCondition.ProfileScoreBucket|keyof typeof google.privacy.dlp.v2.DataProfilePubSubCondition.ProfileScoreBucket|null);
+ }
+
+ /** Represents a PubSubCondition. */
+ class PubSubCondition implements IPubSubCondition {
+
+ /**
+ * Constructs a new PubSubCondition.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.DataProfilePubSubCondition.IPubSubCondition);
+
+ /** PubSubCondition minimumRiskScore. */
+ public minimumRiskScore?: (google.privacy.dlp.v2.DataProfilePubSubCondition.ProfileScoreBucket|keyof typeof google.privacy.dlp.v2.DataProfilePubSubCondition.ProfileScoreBucket|null);
+
+ /** PubSubCondition minimumSensitivityScore. */
+ public minimumSensitivityScore?: (google.privacy.dlp.v2.DataProfilePubSubCondition.ProfileScoreBucket|keyof typeof google.privacy.dlp.v2.DataProfilePubSubCondition.ProfileScoreBucket|null);
+
+ /** PubSubCondition value. */
+ public value?: ("minimumRiskScore"|"minimumSensitivityScore");
+
+ /**
+ * Creates a new PubSubCondition instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns PubSubCondition instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.DataProfilePubSubCondition.IPubSubCondition): google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition;
+
+ /**
+ * Encodes the specified PubSubCondition message. Does not implicitly {@link google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition.verify|verify} messages.
+ * @param message PubSubCondition message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.DataProfilePubSubCondition.IPubSubCondition, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified PubSubCondition message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition.verify|verify} messages.
+ * @param message PubSubCondition message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.DataProfilePubSubCondition.IPubSubCondition, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a PubSubCondition message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns PubSubCondition
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition;
+
+ /**
+ * Decodes a PubSubCondition message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns PubSubCondition
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition;
+
+ /**
+ * Verifies a PubSubCondition message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a PubSubCondition message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns PubSubCondition
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition;
+
+ /**
+ * Creates a plain object from a PubSubCondition message. Also converts values to other types if specified.
+ * @param message PubSubCondition
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this PubSubCondition to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for PubSubCondition
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a PubSubExpressions. */
+ interface IPubSubExpressions {
+
+ /** PubSubExpressions logicalOperator */
+ logicalOperator?: (google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions.PubSubLogicalOperator|keyof typeof google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions.PubSubLogicalOperator|null);
+
+ /** PubSubExpressions conditions */
+ conditions?: (google.privacy.dlp.v2.DataProfilePubSubCondition.IPubSubCondition[]|null);
+ }
+
+ /** Represents a PubSubExpressions. */
+ class PubSubExpressions implements IPubSubExpressions {
+
+ /**
+ * Constructs a new PubSubExpressions.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.DataProfilePubSubCondition.IPubSubExpressions);
+
+ /** PubSubExpressions logicalOperator. */
+ public logicalOperator: (google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions.PubSubLogicalOperator|keyof typeof google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions.PubSubLogicalOperator);
+
+ /** PubSubExpressions conditions. */
+ public conditions: google.privacy.dlp.v2.DataProfilePubSubCondition.IPubSubCondition[];
+
+ /**
+ * Creates a new PubSubExpressions instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns PubSubExpressions instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.DataProfilePubSubCondition.IPubSubExpressions): google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions;
+
+ /**
+ * Encodes the specified PubSubExpressions message. Does not implicitly {@link google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions.verify|verify} messages.
+ * @param message PubSubExpressions message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.DataProfilePubSubCondition.IPubSubExpressions, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified PubSubExpressions message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions.verify|verify} messages.
+ * @param message PubSubExpressions message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.DataProfilePubSubCondition.IPubSubExpressions, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a PubSubExpressions message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns PubSubExpressions
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions;
+
+ /**
+ * Decodes a PubSubExpressions message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns PubSubExpressions
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions;
+
+ /**
+ * Verifies a PubSubExpressions message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a PubSubExpressions message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns PubSubExpressions
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions;
+
+ /**
+ * Creates a plain object from a PubSubExpressions message. Also converts values to other types if specified.
+ * @param message PubSubExpressions
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this PubSubExpressions to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for PubSubExpressions
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace PubSubExpressions {
+
+ /** PubSubLogicalOperator enum. */
+ enum PubSubLogicalOperator {
+ LOGICAL_OPERATOR_UNSPECIFIED = 0,
+ OR = 1,
+ AND = 2
+ }
+ }
+ }
+
+ /** Properties of a DataProfilePubSubMessage. */
+ interface IDataProfilePubSubMessage {
+
+ /** DataProfilePubSubMessage profile */
+ profile?: (google.privacy.dlp.v2.ITableDataProfile|null);
+
+ /** DataProfilePubSubMessage fileStoreProfile */
+ fileStoreProfile?: (google.privacy.dlp.v2.IFileStoreDataProfile|null);
+
+ /** DataProfilePubSubMessage event */
+ event?: (google.privacy.dlp.v2.DataProfileAction.EventType|keyof typeof google.privacy.dlp.v2.DataProfileAction.EventType|null);
+ }
+
+ /** Represents a DataProfilePubSubMessage. */
+ class DataProfilePubSubMessage implements IDataProfilePubSubMessage {
+
+ /**
+ * Constructs a new DataProfilePubSubMessage.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.IDataProfilePubSubMessage);
+
+ /** DataProfilePubSubMessage profile. */
+ public profile?: (google.privacy.dlp.v2.ITableDataProfile|null);
+
+ /** DataProfilePubSubMessage fileStoreProfile. */
+ public fileStoreProfile?: (google.privacy.dlp.v2.IFileStoreDataProfile|null);
+
+ /** DataProfilePubSubMessage event. */
+ public event: (google.privacy.dlp.v2.DataProfileAction.EventType|keyof typeof google.privacy.dlp.v2.DataProfileAction.EventType);
+
+ /**
+ * Creates a new DataProfilePubSubMessage instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns DataProfilePubSubMessage instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.IDataProfilePubSubMessage): google.privacy.dlp.v2.DataProfilePubSubMessage;
+
+ /**
+ * Encodes the specified DataProfilePubSubMessage message. Does not implicitly {@link google.privacy.dlp.v2.DataProfilePubSubMessage.verify|verify} messages.
+ * @param message DataProfilePubSubMessage message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.IDataProfilePubSubMessage, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified DataProfilePubSubMessage message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.DataProfilePubSubMessage.verify|verify} messages.
+ * @param message DataProfilePubSubMessage message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.IDataProfilePubSubMessage, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a DataProfilePubSubMessage message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns DataProfilePubSubMessage
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.DataProfilePubSubMessage;
+
+ /**
+ * Decodes a DataProfilePubSubMessage message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns DataProfilePubSubMessage
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.DataProfilePubSubMessage;
+
+ /**
+ * Verifies a DataProfilePubSubMessage message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a DataProfilePubSubMessage message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns DataProfilePubSubMessage
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.DataProfilePubSubMessage;
+
+ /**
+ * Creates a plain object from a DataProfilePubSubMessage message. Also converts values to other types if specified.
+ * @param message DataProfilePubSubMessage
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.DataProfilePubSubMessage, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this DataProfilePubSubMessage to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for DataProfilePubSubMessage
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a CreateConnectionRequest. */
+ interface ICreateConnectionRequest {
+
+ /** CreateConnectionRequest parent */
+ parent?: (string|null);
+
+ /** CreateConnectionRequest connection */
+ connection?: (google.privacy.dlp.v2.IConnection|null);
+ }
+
+ /** Represents a CreateConnectionRequest. */
+ class CreateConnectionRequest implements ICreateConnectionRequest {
+
+ /**
+ * Constructs a new CreateConnectionRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.ICreateConnectionRequest);
+
+ /** CreateConnectionRequest parent. */
+ public parent: string;
+
+ /** CreateConnectionRequest connection. */
+ public connection?: (google.privacy.dlp.v2.IConnection|null);
+
+ /**
+ * Creates a new CreateConnectionRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns CreateConnectionRequest instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.ICreateConnectionRequest): google.privacy.dlp.v2.CreateConnectionRequest;
+
+ /**
+ * Encodes the specified CreateConnectionRequest message. Does not implicitly {@link google.privacy.dlp.v2.CreateConnectionRequest.verify|verify} messages.
+ * @param message CreateConnectionRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.ICreateConnectionRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified CreateConnectionRequest message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.CreateConnectionRequest.verify|verify} messages.
+ * @param message CreateConnectionRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.ICreateConnectionRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a CreateConnectionRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns CreateConnectionRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.CreateConnectionRequest;
+
+ /**
+ * Decodes a CreateConnectionRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns CreateConnectionRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.CreateConnectionRequest;
+
+ /**
+ * Verifies a CreateConnectionRequest message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a CreateConnectionRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns CreateConnectionRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.CreateConnectionRequest;
+
+ /**
+ * Creates a plain object from a CreateConnectionRequest message. Also converts values to other types if specified.
+ * @param message CreateConnectionRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.CreateConnectionRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this CreateConnectionRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for CreateConnectionRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a GetConnectionRequest. */
+ interface IGetConnectionRequest {
+
+ /** GetConnectionRequest name */
+ name?: (string|null);
+ }
+
+ /** Represents a GetConnectionRequest. */
+ class GetConnectionRequest implements IGetConnectionRequest {
+
+ /**
+ * Constructs a new GetConnectionRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.IGetConnectionRequest);
+
+ /** GetConnectionRequest name. */
+ public name: string;
+
+ /**
+ * Creates a new GetConnectionRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns GetConnectionRequest instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.IGetConnectionRequest): google.privacy.dlp.v2.GetConnectionRequest;
+
+ /**
+ * Encodes the specified GetConnectionRequest message. Does not implicitly {@link google.privacy.dlp.v2.GetConnectionRequest.verify|verify} messages.
+ * @param message GetConnectionRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.IGetConnectionRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified GetConnectionRequest message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.GetConnectionRequest.verify|verify} messages.
+ * @param message GetConnectionRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.IGetConnectionRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a GetConnectionRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns GetConnectionRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.GetConnectionRequest;
+
+ /**
+ * Decodes a GetConnectionRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns GetConnectionRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.GetConnectionRequest;
+
+ /**
+ * Verifies a GetConnectionRequest message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a GetConnectionRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns GetConnectionRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.GetConnectionRequest;
+
+ /**
+ * Creates a plain object from a GetConnectionRequest message. Also converts values to other types if specified.
+ * @param message GetConnectionRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.GetConnectionRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this GetConnectionRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for GetConnectionRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a ListConnectionsRequest. */
+ interface IListConnectionsRequest {
+
+ /** ListConnectionsRequest parent */
+ parent?: (string|null);
+
+ /** ListConnectionsRequest pageSize */
+ pageSize?: (number|null);
+
+ /** ListConnectionsRequest pageToken */
+ pageToken?: (string|null);
+
+ /** ListConnectionsRequest filter */
+ filter?: (string|null);
+ }
+
+ /** Represents a ListConnectionsRequest. */
+ class ListConnectionsRequest implements IListConnectionsRequest {
+
+ /**
+ * Constructs a new ListConnectionsRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.IListConnectionsRequest);
+
+ /** ListConnectionsRequest parent. */
+ public parent: string;
+
+ /** ListConnectionsRequest pageSize. */
+ public pageSize: number;
+
+ /** ListConnectionsRequest pageToken. */
+ public pageToken: string;
+
+ /** ListConnectionsRequest filter. */
+ public filter: string;
+
+ /**
+ * Creates a new ListConnectionsRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ListConnectionsRequest instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.IListConnectionsRequest): google.privacy.dlp.v2.ListConnectionsRequest;
+
+ /**
+ * Encodes the specified ListConnectionsRequest message. Does not implicitly {@link google.privacy.dlp.v2.ListConnectionsRequest.verify|verify} messages.
+ * @param message ListConnectionsRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.IListConnectionsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ListConnectionsRequest message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.ListConnectionsRequest.verify|verify} messages.
+ * @param message ListConnectionsRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.IListConnectionsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ListConnectionsRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ListConnectionsRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.ListConnectionsRequest;
+
+ /**
+ * Decodes a ListConnectionsRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ListConnectionsRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.ListConnectionsRequest;
+
+ /**
+ * Verifies a ListConnectionsRequest message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a ListConnectionsRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ListConnectionsRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.ListConnectionsRequest;
+
+ /**
+ * Creates a plain object from a ListConnectionsRequest message. Also converts values to other types if specified.
+ * @param message ListConnectionsRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.ListConnectionsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ListConnectionsRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ListConnectionsRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a SearchConnectionsRequest. */
+ interface ISearchConnectionsRequest {
+
+ /** SearchConnectionsRequest parent */
+ parent?: (string|null);
+
+ /** SearchConnectionsRequest pageSize */
+ pageSize?: (number|null);
+
+ /** SearchConnectionsRequest pageToken */
+ pageToken?: (string|null);
+
+ /** SearchConnectionsRequest filter */
+ filter?: (string|null);
+ }
+
+ /** Represents a SearchConnectionsRequest. */
+ class SearchConnectionsRequest implements ISearchConnectionsRequest {
+
+ /**
+ * Constructs a new SearchConnectionsRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.ISearchConnectionsRequest);
+
+ /** SearchConnectionsRequest parent. */
+ public parent: string;
+
+ /** SearchConnectionsRequest pageSize. */
+ public pageSize: number;
+
+ /** SearchConnectionsRequest pageToken. */
+ public pageToken: string;
+
+ /** SearchConnectionsRequest filter. */
+ public filter: string;
+
+ /**
+ * Creates a new SearchConnectionsRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns SearchConnectionsRequest instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.ISearchConnectionsRequest): google.privacy.dlp.v2.SearchConnectionsRequest;
+
+ /**
+ * Encodes the specified SearchConnectionsRequest message. Does not implicitly {@link google.privacy.dlp.v2.SearchConnectionsRequest.verify|verify} messages.
+ * @param message SearchConnectionsRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.ISearchConnectionsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified SearchConnectionsRequest message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.SearchConnectionsRequest.verify|verify} messages.
+ * @param message SearchConnectionsRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.ISearchConnectionsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a SearchConnectionsRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns SearchConnectionsRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.SearchConnectionsRequest;
+
+ /**
+ * Decodes a SearchConnectionsRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns SearchConnectionsRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.SearchConnectionsRequest;
+
+ /**
+ * Verifies a SearchConnectionsRequest message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a SearchConnectionsRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns SearchConnectionsRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.SearchConnectionsRequest;
+
+ /**
+ * Creates a plain object from a SearchConnectionsRequest message. Also converts values to other types if specified.
+ * @param message SearchConnectionsRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.SearchConnectionsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this SearchConnectionsRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for SearchConnectionsRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a ListConnectionsResponse. */
+ interface IListConnectionsResponse {
+
+ /** ListConnectionsResponse connections */
+ connections?: (google.privacy.dlp.v2.IConnection[]|null);
+
+ /** ListConnectionsResponse nextPageToken */
+ nextPageToken?: (string|null);
+ }
+
+ /** Represents a ListConnectionsResponse. */
+ class ListConnectionsResponse implements IListConnectionsResponse {
+
+ /**
+ * Constructs a new ListConnectionsResponse.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.IListConnectionsResponse);
+
+ /** ListConnectionsResponse connections. */
+ public connections: google.privacy.dlp.v2.IConnection[];
+
+ /** ListConnectionsResponse nextPageToken. */
+ public nextPageToken: string;
+
+ /**
+ * Creates a new ListConnectionsResponse instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ListConnectionsResponse instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.IListConnectionsResponse): google.privacy.dlp.v2.ListConnectionsResponse;
+
+ /**
+ * Encodes the specified ListConnectionsResponse message. Does not implicitly {@link google.privacy.dlp.v2.ListConnectionsResponse.verify|verify} messages.
+ * @param message ListConnectionsResponse message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.IListConnectionsResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ListConnectionsResponse message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.ListConnectionsResponse.verify|verify} messages.
+ * @param message ListConnectionsResponse message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.IListConnectionsResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ListConnectionsResponse message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ListConnectionsResponse
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.ListConnectionsResponse;
+
+ /**
+ * Decodes a ListConnectionsResponse message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ListConnectionsResponse
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.ListConnectionsResponse;
+
+ /**
+ * Verifies a ListConnectionsResponse message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a ListConnectionsResponse message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ListConnectionsResponse
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.ListConnectionsResponse;
+
+ /**
+ * Creates a plain object from a ListConnectionsResponse message. Also converts values to other types if specified.
+ * @param message ListConnectionsResponse
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.ListConnectionsResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ListConnectionsResponse to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ListConnectionsResponse
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a SearchConnectionsResponse. */
+ interface ISearchConnectionsResponse {
+
+ /** SearchConnectionsResponse connections */
+ connections?: (google.privacy.dlp.v2.IConnection[]|null);
+
+ /** SearchConnectionsResponse nextPageToken */
+ nextPageToken?: (string|null);
+ }
+
+ /** Represents a SearchConnectionsResponse. */
+ class SearchConnectionsResponse implements ISearchConnectionsResponse {
+
+ /**
+ * Constructs a new SearchConnectionsResponse.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.ISearchConnectionsResponse);
+
+ /** SearchConnectionsResponse connections. */
+ public connections: google.privacy.dlp.v2.IConnection[];
+
+ /** SearchConnectionsResponse nextPageToken. */
+ public nextPageToken: string;
+
+ /**
+ * Creates a new SearchConnectionsResponse instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns SearchConnectionsResponse instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.ISearchConnectionsResponse): google.privacy.dlp.v2.SearchConnectionsResponse;
+
+ /**
+ * Encodes the specified SearchConnectionsResponse message. Does not implicitly {@link google.privacy.dlp.v2.SearchConnectionsResponse.verify|verify} messages.
+ * @param message SearchConnectionsResponse message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.ISearchConnectionsResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified SearchConnectionsResponse message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.SearchConnectionsResponse.verify|verify} messages.
+ * @param message SearchConnectionsResponse message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.ISearchConnectionsResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a SearchConnectionsResponse message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns SearchConnectionsResponse
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.SearchConnectionsResponse;
+
+ /**
+ * Decodes a SearchConnectionsResponse message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns SearchConnectionsResponse
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.SearchConnectionsResponse;
+
+ /**
+ * Verifies a SearchConnectionsResponse message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a SearchConnectionsResponse message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns SearchConnectionsResponse
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.SearchConnectionsResponse;
+
+ /**
+ * Creates a plain object from a SearchConnectionsResponse message. Also converts values to other types if specified.
+ * @param message SearchConnectionsResponse
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.SearchConnectionsResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this SearchConnectionsResponse to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for SearchConnectionsResponse
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of an UpdateConnectionRequest. */
+ interface IUpdateConnectionRequest {
+
+ /** UpdateConnectionRequest name */
+ name?: (string|null);
+
+ /** UpdateConnectionRequest connection */
+ connection?: (google.privacy.dlp.v2.IConnection|null);
+
+ /** UpdateConnectionRequest updateMask */
+ updateMask?: (google.protobuf.IFieldMask|null);
+ }
+
+ /** Represents an UpdateConnectionRequest. */
+ class UpdateConnectionRequest implements IUpdateConnectionRequest {
+
+ /**
+ * Constructs a new UpdateConnectionRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.IUpdateConnectionRequest);
+
+ /** UpdateConnectionRequest name. */
+ public name: string;
+
+ /** UpdateConnectionRequest connection. */
+ public connection?: (google.privacy.dlp.v2.IConnection|null);
+
+ /** UpdateConnectionRequest updateMask. */
+ public updateMask?: (google.protobuf.IFieldMask|null);
+
+ /**
+ * Creates a new UpdateConnectionRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns UpdateConnectionRequest instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.IUpdateConnectionRequest): google.privacy.dlp.v2.UpdateConnectionRequest;
+
+ /**
+ * Encodes the specified UpdateConnectionRequest message. Does not implicitly {@link google.privacy.dlp.v2.UpdateConnectionRequest.verify|verify} messages.
+ * @param message UpdateConnectionRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.IUpdateConnectionRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified UpdateConnectionRequest message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.UpdateConnectionRequest.verify|verify} messages.
+ * @param message UpdateConnectionRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.IUpdateConnectionRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an UpdateConnectionRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns UpdateConnectionRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.UpdateConnectionRequest;
+
+ /**
+ * Decodes an UpdateConnectionRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns UpdateConnectionRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.UpdateConnectionRequest;
+
+ /**
+ * Verifies an UpdateConnectionRequest message.
+ * @param message Plain 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 UpdateConnectionRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns UpdateConnectionRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.UpdateConnectionRequest;
+
+ /**
+ * Creates a plain object from an UpdateConnectionRequest message. Also converts values to other types if specified.
+ * @param message UpdateConnectionRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.UpdateConnectionRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this UpdateConnectionRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for UpdateConnectionRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a DeleteConnectionRequest. */
+ interface IDeleteConnectionRequest {
+
+ /** DeleteConnectionRequest name */
+ name?: (string|null);
+ }
+
+ /** Represents a DeleteConnectionRequest. */
+ class DeleteConnectionRequest implements IDeleteConnectionRequest {
+
+ /**
+ * Constructs a new DeleteConnectionRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.IDeleteConnectionRequest);
+
+ /** DeleteConnectionRequest name. */
+ public name: string;
+
+ /**
+ * Creates a new DeleteConnectionRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns DeleteConnectionRequest instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.IDeleteConnectionRequest): google.privacy.dlp.v2.DeleteConnectionRequest;
+
+ /**
+ * Encodes the specified DeleteConnectionRequest message. Does not implicitly {@link google.privacy.dlp.v2.DeleteConnectionRequest.verify|verify} messages.
+ * @param message DeleteConnectionRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.IDeleteConnectionRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified DeleteConnectionRequest message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.DeleteConnectionRequest.verify|verify} messages.
+ * @param message DeleteConnectionRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.IDeleteConnectionRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a DeleteConnectionRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns DeleteConnectionRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.DeleteConnectionRequest;
+
+ /**
+ * Decodes a DeleteConnectionRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns DeleteConnectionRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.DeleteConnectionRequest;
+
+ /**
+ * Verifies a DeleteConnectionRequest message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a DeleteConnectionRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns DeleteConnectionRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.DeleteConnectionRequest;
+
+ /**
+ * Creates a plain object from a DeleteConnectionRequest message. Also converts values to other types if specified.
+ * @param message DeleteConnectionRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.DeleteConnectionRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this DeleteConnectionRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for DeleteConnectionRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a Connection. */
+ interface IConnection {
+
+ /** Connection name */
+ name?: (string|null);
+
+ /** Connection state */
+ state?: (google.privacy.dlp.v2.ConnectionState|keyof typeof google.privacy.dlp.v2.ConnectionState|null);
+
+ /** Connection errors */
+ errors?: (google.privacy.dlp.v2.IError[]|null);
+
+ /** Connection cloudSql */
+ cloudSql?: (google.privacy.dlp.v2.ICloudSqlProperties|null);
+ }
+
+ /** Represents a Connection. */
+ class Connection implements IConnection {
+
+ /**
+ * Constructs a new Connection.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.IConnection);
+
+ /** Connection name. */
+ public name: string;
+
+ /** Connection state. */
+ public state: (google.privacy.dlp.v2.ConnectionState|keyof typeof google.privacy.dlp.v2.ConnectionState);
+
+ /** Connection errors. */
+ public errors: google.privacy.dlp.v2.IError[];
+
+ /** Connection cloudSql. */
+ public cloudSql?: (google.privacy.dlp.v2.ICloudSqlProperties|null);
+
+ /** Connection properties. */
+ public properties?: "cloudSql";
+
+ /**
+ * Creates a new Connection instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns Connection instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.IConnection): google.privacy.dlp.v2.Connection;
+
+ /**
+ * Encodes the specified Connection message. Does not implicitly {@link google.privacy.dlp.v2.Connection.verify|verify} messages.
+ * @param message Connection message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.IConnection, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified Connection message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.Connection.verify|verify} messages.
+ * @param message Connection message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.IConnection, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a Connection message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns Connection
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.Connection;
+
+ /**
+ * Decodes a Connection message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns Connection
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.Connection;
+
+ /**
+ * Verifies a Connection message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a Connection message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns Connection
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.Connection;
+
+ /**
+ * Creates a plain object from a Connection message. Also converts values to other types if specified.
+ * @param message Connection
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.Connection, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this Connection to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for Connection
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** ConnectionState enum. */
+ enum ConnectionState {
+ CONNECTION_STATE_UNSPECIFIED = 0,
+ MISSING_CREDENTIALS = 1,
+ AVAILABLE = 2,
+ ERROR = 3
+ }
+
+ /** Properties of a SecretManagerCredential. */
+ interface ISecretManagerCredential {
+
+ /** SecretManagerCredential username */
+ username?: (string|null);
+
+ /** SecretManagerCredential passwordSecretVersionName */
+ passwordSecretVersionName?: (string|null);
+ }
+
+ /** Represents a SecretManagerCredential. */
+ class SecretManagerCredential implements ISecretManagerCredential {
+
+ /**
+ * Constructs a new SecretManagerCredential.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.ISecretManagerCredential);
+
+ /** SecretManagerCredential username. */
+ public username: string;
+
+ /** SecretManagerCredential passwordSecretVersionName. */
+ public passwordSecretVersionName: string;
+
+ /**
+ * Creates a new SecretManagerCredential instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns SecretManagerCredential instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.ISecretManagerCredential): google.privacy.dlp.v2.SecretManagerCredential;
+
+ /**
+ * Encodes the specified SecretManagerCredential message. Does not implicitly {@link google.privacy.dlp.v2.SecretManagerCredential.verify|verify} messages.
+ * @param message SecretManagerCredential message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.ISecretManagerCredential, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified SecretManagerCredential message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.SecretManagerCredential.verify|verify} messages.
+ * @param message SecretManagerCredential message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.ISecretManagerCredential, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a SecretManagerCredential message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns SecretManagerCredential
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.SecretManagerCredential;
+
+ /**
+ * Decodes a SecretManagerCredential message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns SecretManagerCredential
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.SecretManagerCredential;
+
+ /**
+ * Verifies a SecretManagerCredential message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a SecretManagerCredential message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns SecretManagerCredential
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.SecretManagerCredential;
+
+ /**
+ * Creates a plain object from a SecretManagerCredential message. Also converts values to other types if specified.
+ * @param message SecretManagerCredential
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.SecretManagerCredential, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this SecretManagerCredential to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for SecretManagerCredential
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a CloudSqlIamCredential. */
+ interface ICloudSqlIamCredential {
+ }
+
+ /** Represents a CloudSqlIamCredential. */
+ class CloudSqlIamCredential implements ICloudSqlIamCredential {
+
+ /**
+ * Constructs a new CloudSqlIamCredential.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.ICloudSqlIamCredential);
+
+ /**
+ * Creates a new CloudSqlIamCredential instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns CloudSqlIamCredential instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.ICloudSqlIamCredential): google.privacy.dlp.v2.CloudSqlIamCredential;
+
+ /**
+ * Encodes the specified CloudSqlIamCredential message. Does not implicitly {@link google.privacy.dlp.v2.CloudSqlIamCredential.verify|verify} messages.
+ * @param message CloudSqlIamCredential message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.ICloudSqlIamCredential, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified CloudSqlIamCredential message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.CloudSqlIamCredential.verify|verify} messages.
+ * @param message CloudSqlIamCredential message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.ICloudSqlIamCredential, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a CloudSqlIamCredential message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns CloudSqlIamCredential
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.CloudSqlIamCredential;
+
+ /**
+ * Decodes a CloudSqlIamCredential message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns CloudSqlIamCredential
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.CloudSqlIamCredential;
+
+ /**
+ * Verifies a CloudSqlIamCredential message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a CloudSqlIamCredential message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns CloudSqlIamCredential
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.CloudSqlIamCredential;
+
+ /**
+ * Creates a plain object from a CloudSqlIamCredential message. Also converts values to other types if specified.
+ * @param message CloudSqlIamCredential
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.CloudSqlIamCredential, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this CloudSqlIamCredential to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for CloudSqlIamCredential
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a CloudSqlProperties. */
+ interface ICloudSqlProperties {
+
+ /** CloudSqlProperties connectionName */
+ connectionName?: (string|null);
+
+ /** CloudSqlProperties usernamePassword */
+ usernamePassword?: (google.privacy.dlp.v2.ISecretManagerCredential|null);
+
+ /** CloudSqlProperties cloudSqlIam */
+ cloudSqlIam?: (google.privacy.dlp.v2.ICloudSqlIamCredential|null);
+
+ /** CloudSqlProperties maxConnections */
+ maxConnections?: (number|null);
+
+ /** CloudSqlProperties databaseEngine */
+ databaseEngine?: (google.privacy.dlp.v2.CloudSqlProperties.DatabaseEngine|keyof typeof google.privacy.dlp.v2.CloudSqlProperties.DatabaseEngine|null);
+ }
+
+ /** Represents a CloudSqlProperties. */
+ class CloudSqlProperties implements ICloudSqlProperties {
+
+ /**
+ * Constructs a new CloudSqlProperties.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.ICloudSqlProperties);
+
+ /** CloudSqlProperties connectionName. */
+ public connectionName: string;
+
+ /** CloudSqlProperties usernamePassword. */
+ public usernamePassword?: (google.privacy.dlp.v2.ISecretManagerCredential|null);
+
+ /** CloudSqlProperties cloudSqlIam. */
+ public cloudSqlIam?: (google.privacy.dlp.v2.ICloudSqlIamCredential|null);
+
+ /** CloudSqlProperties maxConnections. */
+ public maxConnections: number;
+
+ /** CloudSqlProperties databaseEngine. */
+ public databaseEngine: (google.privacy.dlp.v2.CloudSqlProperties.DatabaseEngine|keyof typeof google.privacy.dlp.v2.CloudSqlProperties.DatabaseEngine);
+
+ /** CloudSqlProperties credential. */
+ public credential?: ("usernamePassword"|"cloudSqlIam");
+
+ /**
+ * Creates a new CloudSqlProperties instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns CloudSqlProperties instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.ICloudSqlProperties): google.privacy.dlp.v2.CloudSqlProperties;
+
+ /**
+ * Encodes the specified CloudSqlProperties message. Does not implicitly {@link google.privacy.dlp.v2.CloudSqlProperties.verify|verify} messages.
+ * @param message CloudSqlProperties message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.ICloudSqlProperties, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified CloudSqlProperties message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.CloudSqlProperties.verify|verify} messages.
+ * @param message CloudSqlProperties message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.ICloudSqlProperties, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a CloudSqlProperties message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns CloudSqlProperties
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.CloudSqlProperties;
+
+ /**
+ * Decodes a CloudSqlProperties message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns CloudSqlProperties
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.CloudSqlProperties;
+
+ /**
+ * Verifies a CloudSqlProperties message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a CloudSqlProperties message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns CloudSqlProperties
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.CloudSqlProperties;
+
+ /**
+ * Creates a plain object from a CloudSqlProperties message. Also converts values to other types if specified.
+ * @param message CloudSqlProperties
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.CloudSqlProperties, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this CloudSqlProperties to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for CloudSqlProperties
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace CloudSqlProperties {
+
+ /** DatabaseEngine enum. */
+ enum DatabaseEngine {
+ DATABASE_ENGINE_UNKNOWN = 0,
+ DATABASE_ENGINE_MYSQL = 1,
+ DATABASE_ENGINE_POSTGRES = 2
+ }
+ }
+
+ /** Properties of a DeleteTableDataProfileRequest. */
+ interface IDeleteTableDataProfileRequest {
+
+ /** DeleteTableDataProfileRequest name */
+ name?: (string|null);
+ }
+
+ /** Represents a DeleteTableDataProfileRequest. */
+ class DeleteTableDataProfileRequest implements IDeleteTableDataProfileRequest {
+
+ /**
+ * Constructs a new DeleteTableDataProfileRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.IDeleteTableDataProfileRequest);
+
+ /** DeleteTableDataProfileRequest name. */
+ public name: string;
+
+ /**
+ * Creates a new DeleteTableDataProfileRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns DeleteTableDataProfileRequest instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.IDeleteTableDataProfileRequest): google.privacy.dlp.v2.DeleteTableDataProfileRequest;
+
+ /**
+ * Encodes the specified DeleteTableDataProfileRequest message. Does not implicitly {@link google.privacy.dlp.v2.DeleteTableDataProfileRequest.verify|verify} messages.
+ * @param message DeleteTableDataProfileRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.IDeleteTableDataProfileRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified DeleteTableDataProfileRequest message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.DeleteTableDataProfileRequest.verify|verify} messages.
+ * @param message DeleteTableDataProfileRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.IDeleteTableDataProfileRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a DeleteTableDataProfileRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns DeleteTableDataProfileRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.DeleteTableDataProfileRequest;
+
+ /**
+ * Decodes a DeleteTableDataProfileRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns DeleteTableDataProfileRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.DeleteTableDataProfileRequest;
+
+ /**
+ * Verifies a DeleteTableDataProfileRequest message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a DeleteTableDataProfileRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns DeleteTableDataProfileRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.DeleteTableDataProfileRequest;
+
+ /**
+ * Creates a plain object from a DeleteTableDataProfileRequest message. Also converts values to other types if specified.
+ * @param message DeleteTableDataProfileRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.DeleteTableDataProfileRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this DeleteTableDataProfileRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for DeleteTableDataProfileRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a DataSourceType. */
+ interface IDataSourceType {
+
+ /** DataSourceType dataSource */
+ dataSource?: (string|null);
+ }
+
+ /** Represents a DataSourceType. */
+ class DataSourceType implements IDataSourceType {
+
+ /**
+ * Constructs a new DataSourceType.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.IDataSourceType);
+
+ /** DataSourceType dataSource. */
+ public dataSource: string;
+
+ /**
+ * Creates a new DataSourceType instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns DataSourceType instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.IDataSourceType): google.privacy.dlp.v2.DataSourceType;
+
+ /**
+ * Encodes the specified DataSourceType message. Does not implicitly {@link google.privacy.dlp.v2.DataSourceType.verify|verify} messages.
+ * @param message DataSourceType message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.IDataSourceType, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified DataSourceType message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.DataSourceType.verify|verify} messages.
+ * @param message DataSourceType message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.IDataSourceType, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a DataSourceType message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns DataSourceType
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.DataSourceType;
+
+ /**
+ * Decodes a DataSourceType message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns DataSourceType
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.DataSourceType;
+
+ /**
+ * Verifies a DataSourceType message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a DataSourceType message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns DataSourceType
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.DataSourceType;
+
+ /**
+ * Creates a plain object from a DataSourceType message. Also converts values to other types if specified.
+ * @param message DataSourceType
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.DataSourceType, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this DataSourceType to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for DataSourceType
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a FileClusterType. */
+ interface IFileClusterType {
+
+ /** FileClusterType cluster */
+ cluster?: (google.privacy.dlp.v2.FileClusterType.Cluster|keyof typeof google.privacy.dlp.v2.FileClusterType.Cluster|null);
+ }
+
+ /** Represents a FileClusterType. */
+ class FileClusterType implements IFileClusterType {
+
+ /**
+ * Constructs a new FileClusterType.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.IFileClusterType);
+
+ /** FileClusterType cluster. */
+ public cluster?: (google.privacy.dlp.v2.FileClusterType.Cluster|keyof typeof google.privacy.dlp.v2.FileClusterType.Cluster|null);
+
+ /** FileClusterType fileClusterType. */
+ public fileClusterType?: "cluster";
+
+ /**
+ * Creates a new FileClusterType instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns FileClusterType instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.IFileClusterType): google.privacy.dlp.v2.FileClusterType;
+
+ /**
+ * Encodes the specified FileClusterType message. Does not implicitly {@link google.privacy.dlp.v2.FileClusterType.verify|verify} messages.
+ * @param message FileClusterType message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.IFileClusterType, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified FileClusterType message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.FileClusterType.verify|verify} messages.
+ * @param message FileClusterType message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.IFileClusterType, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a FileClusterType message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns FileClusterType
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.FileClusterType;
+
+ /**
+ * Decodes a FileClusterType message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns FileClusterType
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.FileClusterType;
+
+ /**
+ * Verifies a FileClusterType message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a FileClusterType message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns FileClusterType
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.FileClusterType;
+
+ /**
+ * Creates a plain object from a FileClusterType message. Also converts values to other types if specified.
+ * @param message FileClusterType
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.FileClusterType, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this FileClusterType to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for FileClusterType
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace FileClusterType {
+
+ /** Cluster enum. */
+ enum Cluster {
+ CLUSTER_UNSPECIFIED = 0,
+ CLUSTER_UNKNOWN = 1,
+ CLUSTER_TEXT = 2,
+ CLUSTER_STRUCTURED_DATA = 3,
+ CLUSTER_SOURCE_CODE = 4,
+ CLUSTER_RICH_DOCUMENT = 5,
+ CLUSTER_IMAGE = 6,
+ CLUSTER_ARCHIVE = 7,
+ CLUSTER_MULTIMEDIA = 8,
+ CLUSTER_EXECUTABLE = 9,
+ CLUSTER_AI_MODEL = 10
+ }
+ }
+
+ /** Properties of a ProcessingLocation. */
+ interface IProcessingLocation {
+
+ /** ProcessingLocation imageFallbackLocation */
+ imageFallbackLocation?: (google.privacy.dlp.v2.ProcessingLocation.IImageFallbackLocation|null);
+
+ /** ProcessingLocation documentFallbackLocation */
+ documentFallbackLocation?: (google.privacy.dlp.v2.ProcessingLocation.IDocumentFallbackLocation|null);
+ }
+
+ /** Represents a ProcessingLocation. */
+ class ProcessingLocation implements IProcessingLocation {
+
+ /**
+ * Constructs a new ProcessingLocation.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.IProcessingLocation);
+
+ /** ProcessingLocation imageFallbackLocation. */
+ public imageFallbackLocation?: (google.privacy.dlp.v2.ProcessingLocation.IImageFallbackLocation|null);
+
+ /** ProcessingLocation documentFallbackLocation. */
+ public documentFallbackLocation?: (google.privacy.dlp.v2.ProcessingLocation.IDocumentFallbackLocation|null);
+
+ /**
+ * Creates a new ProcessingLocation instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ProcessingLocation instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.IProcessingLocation): google.privacy.dlp.v2.ProcessingLocation;
+
+ /**
+ * Encodes the specified ProcessingLocation message. Does not implicitly {@link google.privacy.dlp.v2.ProcessingLocation.verify|verify} messages.
+ * @param message ProcessingLocation message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.IProcessingLocation, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ProcessingLocation message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.ProcessingLocation.verify|verify} messages.
+ * @param message ProcessingLocation message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.IProcessingLocation, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ProcessingLocation message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ProcessingLocation
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.ProcessingLocation;
+
+ /**
+ * Decodes a ProcessingLocation message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ProcessingLocation
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.ProcessingLocation;
+
+ /**
+ * Verifies a ProcessingLocation message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a ProcessingLocation message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ProcessingLocation
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.ProcessingLocation;
+
+ /**
+ * Creates a plain object from a ProcessingLocation message. Also converts values to other types if specified.
+ * @param message ProcessingLocation
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.ProcessingLocation, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ProcessingLocation to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ProcessingLocation
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace ProcessingLocation {
+
+ /** Properties of a MultiRegionProcessing. */
+ interface IMultiRegionProcessing {
+ }
+
+ /** Represents a MultiRegionProcessing. */
+ class MultiRegionProcessing implements IMultiRegionProcessing {
+
+ /**
+ * Constructs a new MultiRegionProcessing.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.ProcessingLocation.IMultiRegionProcessing);
+
+ /**
+ * Creates a new MultiRegionProcessing instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns MultiRegionProcessing instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.ProcessingLocation.IMultiRegionProcessing): google.privacy.dlp.v2.ProcessingLocation.MultiRegionProcessing;
+
+ /**
+ * Encodes the specified MultiRegionProcessing message. Does not implicitly {@link google.privacy.dlp.v2.ProcessingLocation.MultiRegionProcessing.verify|verify} messages.
+ * @param message MultiRegionProcessing message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.ProcessingLocation.IMultiRegionProcessing, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified MultiRegionProcessing message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.ProcessingLocation.MultiRegionProcessing.verify|verify} messages.
+ * @param message MultiRegionProcessing message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.ProcessingLocation.IMultiRegionProcessing, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a MultiRegionProcessing message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns MultiRegionProcessing
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.ProcessingLocation.MultiRegionProcessing;
+
+ /**
+ * Decodes a MultiRegionProcessing message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns MultiRegionProcessing
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.ProcessingLocation.MultiRegionProcessing;
+
+ /**
+ * Verifies a MultiRegionProcessing message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a MultiRegionProcessing message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns MultiRegionProcessing
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.ProcessingLocation.MultiRegionProcessing;
+
+ /**
+ * Creates a plain object from a MultiRegionProcessing message. Also converts values to other types if specified.
+ * @param message MultiRegionProcessing
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.ProcessingLocation.MultiRegionProcessing, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this MultiRegionProcessing to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for MultiRegionProcessing
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a GlobalProcessing. */
+ interface IGlobalProcessing {
+ }
+
+ /** Represents a GlobalProcessing. */
+ class GlobalProcessing implements IGlobalProcessing {
+
+ /**
+ * Constructs a new GlobalProcessing.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.ProcessingLocation.IGlobalProcessing);
+
+ /**
+ * Creates a new GlobalProcessing instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns GlobalProcessing instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.ProcessingLocation.IGlobalProcessing): google.privacy.dlp.v2.ProcessingLocation.GlobalProcessing;
+
+ /**
+ * Encodes the specified GlobalProcessing message. Does not implicitly {@link google.privacy.dlp.v2.ProcessingLocation.GlobalProcessing.verify|verify} messages.
+ * @param message GlobalProcessing message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.ProcessingLocation.IGlobalProcessing, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified GlobalProcessing message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.ProcessingLocation.GlobalProcessing.verify|verify} messages.
+ * @param message GlobalProcessing message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.ProcessingLocation.IGlobalProcessing, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a GlobalProcessing message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns GlobalProcessing
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.ProcessingLocation.GlobalProcessing;
+
+ /**
+ * Decodes a GlobalProcessing message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns GlobalProcessing
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.ProcessingLocation.GlobalProcessing;
+
+ /**
+ * Verifies a GlobalProcessing message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a GlobalProcessing message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns GlobalProcessing
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.ProcessingLocation.GlobalProcessing;
+
+ /**
+ * Creates a plain object from a GlobalProcessing message. Also converts values to other types if specified.
+ * @param message GlobalProcessing
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.ProcessingLocation.GlobalProcessing, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this GlobalProcessing to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for GlobalProcessing
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of an ImageFallbackLocation. */
+ interface IImageFallbackLocation {
+
+ /** ImageFallbackLocation multiRegionProcessing */
+ multiRegionProcessing?: (google.privacy.dlp.v2.ProcessingLocation.IMultiRegionProcessing|null);
+
+ /** ImageFallbackLocation globalProcessing */
+ globalProcessing?: (google.privacy.dlp.v2.ProcessingLocation.IGlobalProcessing|null);
+ }
+
+ /** Represents an ImageFallbackLocation. */
+ class ImageFallbackLocation implements IImageFallbackLocation {
+
+ /**
+ * Constructs a new ImageFallbackLocation.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.ProcessingLocation.IImageFallbackLocation);
+
+ /** ImageFallbackLocation multiRegionProcessing. */
+ public multiRegionProcessing?: (google.privacy.dlp.v2.ProcessingLocation.IMultiRegionProcessing|null);
+
+ /** ImageFallbackLocation globalProcessing. */
+ public globalProcessing?: (google.privacy.dlp.v2.ProcessingLocation.IGlobalProcessing|null);
+
+ /**
+ * Creates a new ImageFallbackLocation instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ImageFallbackLocation instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.ProcessingLocation.IImageFallbackLocation): google.privacy.dlp.v2.ProcessingLocation.ImageFallbackLocation;
+
+ /**
+ * Encodes the specified ImageFallbackLocation message. Does not implicitly {@link google.privacy.dlp.v2.ProcessingLocation.ImageFallbackLocation.verify|verify} messages.
+ * @param message ImageFallbackLocation message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.ProcessingLocation.IImageFallbackLocation, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ImageFallbackLocation message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.ProcessingLocation.ImageFallbackLocation.verify|verify} messages.
+ * @param message ImageFallbackLocation message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.ProcessingLocation.IImageFallbackLocation, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an ImageFallbackLocation message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ImageFallbackLocation
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.ProcessingLocation.ImageFallbackLocation;
+
+ /**
+ * Decodes an ImageFallbackLocation message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ImageFallbackLocation
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.ProcessingLocation.ImageFallbackLocation;
+
+ /**
+ * Verifies an ImageFallbackLocation message.
+ * @param message Plain 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 ImageFallbackLocation message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ImageFallbackLocation
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.ProcessingLocation.ImageFallbackLocation;
+
+ /**
+ * Creates a plain object from an ImageFallbackLocation message. Also converts values to other types if specified.
+ * @param message ImageFallbackLocation
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.ProcessingLocation.ImageFallbackLocation, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ImageFallbackLocation to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ImageFallbackLocation
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a DocumentFallbackLocation. */
+ interface IDocumentFallbackLocation {
+
+ /** DocumentFallbackLocation multiRegionProcessing */
+ multiRegionProcessing?: (google.privacy.dlp.v2.ProcessingLocation.IMultiRegionProcessing|null);
+
+ /** DocumentFallbackLocation globalProcessing */
+ globalProcessing?: (google.privacy.dlp.v2.ProcessingLocation.IGlobalProcessing|null);
+ }
+
+ /** Represents a DocumentFallbackLocation. */
+ class DocumentFallbackLocation implements IDocumentFallbackLocation {
+
+ /**
+ * Constructs a new DocumentFallbackLocation.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.ProcessingLocation.IDocumentFallbackLocation);
+
+ /** DocumentFallbackLocation multiRegionProcessing. */
+ public multiRegionProcessing?: (google.privacy.dlp.v2.ProcessingLocation.IMultiRegionProcessing|null);
+
+ /** DocumentFallbackLocation globalProcessing. */
+ public globalProcessing?: (google.privacy.dlp.v2.ProcessingLocation.IGlobalProcessing|null);
+
+ /**
+ * Creates a new DocumentFallbackLocation instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns DocumentFallbackLocation instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.ProcessingLocation.IDocumentFallbackLocation): google.privacy.dlp.v2.ProcessingLocation.DocumentFallbackLocation;
+
+ /**
+ * Encodes the specified DocumentFallbackLocation message. Does not implicitly {@link google.privacy.dlp.v2.ProcessingLocation.DocumentFallbackLocation.verify|verify} messages.
+ * @param message DocumentFallbackLocation message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.ProcessingLocation.IDocumentFallbackLocation, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified DocumentFallbackLocation message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.ProcessingLocation.DocumentFallbackLocation.verify|verify} messages.
+ * @param message DocumentFallbackLocation message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.ProcessingLocation.IDocumentFallbackLocation, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a DocumentFallbackLocation message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns DocumentFallbackLocation
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.ProcessingLocation.DocumentFallbackLocation;
+
+ /**
+ * Decodes a DocumentFallbackLocation message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns DocumentFallbackLocation
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.ProcessingLocation.DocumentFallbackLocation;
+
+ /**
+ * Verifies a DocumentFallbackLocation message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a DocumentFallbackLocation message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns DocumentFallbackLocation
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.ProcessingLocation.DocumentFallbackLocation;
+
+ /**
+ * Creates a plain object from a DocumentFallbackLocation message. Also converts values to other types if specified.
+ * @param message DocumentFallbackLocation
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.ProcessingLocation.DocumentFallbackLocation, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this DocumentFallbackLocation to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for DocumentFallbackLocation
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+ }
+
+ /** Properties of a SaveToGcsFindingsOutput. */
+ interface ISaveToGcsFindingsOutput {
+
+ /** SaveToGcsFindingsOutput findings */
+ findings?: (google.privacy.dlp.v2.IFinding[]|null);
+ }
+
+ /** Represents a SaveToGcsFindingsOutput. */
+ class SaveToGcsFindingsOutput implements ISaveToGcsFindingsOutput {
+
+ /**
+ * Constructs a new SaveToGcsFindingsOutput.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.ISaveToGcsFindingsOutput);
+
+ /** SaveToGcsFindingsOutput findings. */
+ public findings: google.privacy.dlp.v2.IFinding[];
+
+ /**
+ * Creates a new SaveToGcsFindingsOutput instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns SaveToGcsFindingsOutput instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.ISaveToGcsFindingsOutput): google.privacy.dlp.v2.SaveToGcsFindingsOutput;
+
+ /**
+ * Encodes the specified SaveToGcsFindingsOutput message. Does not implicitly {@link google.privacy.dlp.v2.SaveToGcsFindingsOutput.verify|verify} messages.
+ * @param message SaveToGcsFindingsOutput message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.ISaveToGcsFindingsOutput, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified SaveToGcsFindingsOutput message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.SaveToGcsFindingsOutput.verify|verify} messages.
+ * @param message SaveToGcsFindingsOutput message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.ISaveToGcsFindingsOutput, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a SaveToGcsFindingsOutput message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns SaveToGcsFindingsOutput
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.SaveToGcsFindingsOutput;
+
+ /**
+ * Decodes a SaveToGcsFindingsOutput message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns SaveToGcsFindingsOutput
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.SaveToGcsFindingsOutput;
+
+ /**
+ * Verifies a SaveToGcsFindingsOutput message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a SaveToGcsFindingsOutput message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns SaveToGcsFindingsOutput
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.SaveToGcsFindingsOutput;
+
+ /**
+ * Creates a plain object from a SaveToGcsFindingsOutput message. Also converts values to other types if specified.
+ * @param message SaveToGcsFindingsOutput
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.SaveToGcsFindingsOutput, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this SaveToGcsFindingsOutput to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for SaveToGcsFindingsOutput
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a Domain. */
+ interface IDomain {
+
+ /** Domain category */
+ category?: (google.privacy.dlp.v2.Domain.Category|keyof typeof google.privacy.dlp.v2.Domain.Category|null);
+
+ /** Domain signals */
+ signals?: (google.privacy.dlp.v2.Domain.Signal[]|null);
+ }
+
+ /** Represents a Domain. */
+ class Domain implements IDomain {
+
+ /**
+ * Constructs a new Domain.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.IDomain);
+
+ /** Domain category. */
+ public category: (google.privacy.dlp.v2.Domain.Category|keyof typeof google.privacy.dlp.v2.Domain.Category);
+
+ /** Domain signals. */
+ public signals: google.privacy.dlp.v2.Domain.Signal[];
+
+ /**
+ * Creates a new Domain instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns Domain instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.IDomain): google.privacy.dlp.v2.Domain;
+
+ /**
+ * Encodes the specified Domain message. Does not implicitly {@link google.privacy.dlp.v2.Domain.verify|verify} messages.
+ * @param message Domain message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.IDomain, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified Domain message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.Domain.verify|verify} messages.
+ * @param message Domain message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.IDomain, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a Domain message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns Domain
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.Domain;
+
+ /**
+ * Decodes a Domain message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns Domain
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.Domain;
+
+ /**
+ * Verifies a Domain message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a Domain message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns Domain
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.Domain;
+
+ /**
+ * Creates a plain object from a Domain message. Also converts values to other types if specified.
+ * @param message Domain
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.Domain, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this Domain to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for Domain
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace Domain {
+
+ /** Category enum. */
+ enum Category {
+ CATEGORY_UNSPECIFIED = 0,
+ AI = 1,
+ CODE = 2
+ }
+
+ /** Signal enum. */
+ enum Signal {
+ SIGNAL_UNSPECIFIED = 0,
+ MODEL = 1,
+ TEXT_EMBEDDING = 2,
+ VERTEX_PLUGIN = 3,
+ VECTOR_PLUGIN = 4,
+ SOURCE_CODE = 5,
+ SERVICE = 6
+ }
+ }
+
+ /** Properties of an InfoType. */
+ interface IInfoType {
+
+ /** InfoType name */
+ name?: (string|null);
+
+ /** InfoType version */
+ version?: (string|null);
+
+ /** InfoType sensitivityScore */
+ sensitivityScore?: (google.privacy.dlp.v2.ISensitivityScore|null);
+ }
+
+ /** Represents an InfoType. */
+ class InfoType implements IInfoType {
+
+ /**
+ * Constructs a new InfoType.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.IInfoType);
+
+ /** InfoType name. */
+ public name: string;
+
+ /** InfoType version. */
+ public version: string;
+
+ /** InfoType sensitivityScore. */
+ public sensitivityScore?: (google.privacy.dlp.v2.ISensitivityScore|null);
+
+ /**
+ * Creates a new InfoType instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns InfoType instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.IInfoType): google.privacy.dlp.v2.InfoType;
+
+ /**
+ * Encodes the specified InfoType message. Does not implicitly {@link google.privacy.dlp.v2.InfoType.verify|verify} messages.
+ * @param message InfoType message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.IInfoType, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified InfoType message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.InfoType.verify|verify} messages.
+ * @param message InfoType message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.IInfoType, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an InfoType message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns InfoType
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.InfoType;
+
+ /**
+ * Decodes an InfoType message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns InfoType
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.InfoType;
+
+ /**
+ * Verifies an InfoType message.
+ * @param message Plain 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 InfoType message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns InfoType
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.InfoType;
+
+ /**
+ * Creates a plain object from an InfoType message. Also converts values to other types if specified.
+ * @param message InfoType
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.InfoType, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this InfoType to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for InfoType
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a SensitivityScore. */
+ interface ISensitivityScore {
+
+ /** SensitivityScore score */
+ score?: (google.privacy.dlp.v2.SensitivityScore.SensitivityScoreLevel|keyof typeof google.privacy.dlp.v2.SensitivityScore.SensitivityScoreLevel|null);
+ }
+
+ /** Represents a SensitivityScore. */
+ class SensitivityScore implements ISensitivityScore {
+
+ /**
+ * Constructs a new SensitivityScore.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.ISensitivityScore);
+
+ /** SensitivityScore score. */
+ public score: (google.privacy.dlp.v2.SensitivityScore.SensitivityScoreLevel|keyof typeof google.privacy.dlp.v2.SensitivityScore.SensitivityScoreLevel);
+
+ /**
+ * Creates a new SensitivityScore instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns SensitivityScore instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.ISensitivityScore): google.privacy.dlp.v2.SensitivityScore;
+
+ /**
+ * Encodes the specified SensitivityScore message. Does not implicitly {@link google.privacy.dlp.v2.SensitivityScore.verify|verify} messages.
+ * @param message SensitivityScore message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.ISensitivityScore, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified SensitivityScore message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.SensitivityScore.verify|verify} messages.
+ * @param message SensitivityScore message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.ISensitivityScore, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a SensitivityScore message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns SensitivityScore
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.SensitivityScore;
+
+ /**
+ * Decodes a SensitivityScore message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns SensitivityScore
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.SensitivityScore;
+
+ /**
+ * Verifies a SensitivityScore message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a SensitivityScore message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns SensitivityScore
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.SensitivityScore;
+
+ /**
+ * Creates a plain object from a SensitivityScore message. Also converts values to other types if specified.
+ * @param message SensitivityScore
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.SensitivityScore, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this SensitivityScore to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for SensitivityScore
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace SensitivityScore {
+
+ /** SensitivityScoreLevel enum. */
+ enum SensitivityScoreLevel {
+ SENSITIVITY_SCORE_UNSPECIFIED = 0,
+ SENSITIVITY_LOW = 10,
+ SENSITIVITY_UNKNOWN = 12,
+ SENSITIVITY_MODERATE = 20,
+ SENSITIVITY_HIGH = 30
+ }
+ }
+
+ /** Likelihood enum. */
+ enum Likelihood {
+ LIKELIHOOD_UNSPECIFIED = 0,
+ VERY_UNLIKELY = 1,
+ UNLIKELY = 2,
+ POSSIBLE = 3,
+ LIKELY = 4,
+ VERY_LIKELY = 5
+ }
+
+ /** Properties of a StoredType. */
+ interface IStoredType {
+
+ /** StoredType name */
+ name?: (string|null);
+
+ /** StoredType createTime */
+ createTime?: (google.protobuf.ITimestamp|null);
+ }
+
+ /** Represents a StoredType. */
+ class StoredType implements IStoredType {
+
+ /**
+ * Constructs a new StoredType.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.IStoredType);
+
+ /** StoredType name. */
+ public name: string;
+
+ /** StoredType createTime. */
+ public createTime?: (google.protobuf.ITimestamp|null);
+
+ /**
+ * Creates a new StoredType instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns StoredType instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.IStoredType): google.privacy.dlp.v2.StoredType;
+
+ /**
+ * Encodes the specified StoredType message. Does not implicitly {@link google.privacy.dlp.v2.StoredType.verify|verify} messages.
+ * @param message StoredType message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.IStoredType, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified StoredType message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.StoredType.verify|verify} messages.
+ * @param message StoredType message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.IStoredType, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a StoredType message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns StoredType
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.StoredType;
+
+ /**
+ * Decodes a StoredType message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns StoredType
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.StoredType;
+
+ /**
+ * Verifies a StoredType message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a StoredType message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns StoredType
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.StoredType;
+
+ /**
+ * Creates a plain object from a StoredType message. Also converts values to other types if specified.
+ * @param message StoredType
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.StoredType, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this StoredType to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for StoredType
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a CustomInfoType. */
+ interface ICustomInfoType {
+
+ /** CustomInfoType infoType */
+ infoType?: (google.privacy.dlp.v2.IInfoType|null);
+
+ /** CustomInfoType likelihood */
+ likelihood?: (google.privacy.dlp.v2.Likelihood|keyof typeof google.privacy.dlp.v2.Likelihood|null);
+
+ /** CustomInfoType dictionary */
+ dictionary?: (google.privacy.dlp.v2.CustomInfoType.IDictionary|null);
+
+ /** CustomInfoType regex */
+ regex?: (google.privacy.dlp.v2.CustomInfoType.IRegex|null);
+
+ /** CustomInfoType surrogateType */
+ surrogateType?: (google.privacy.dlp.v2.CustomInfoType.ISurrogateType|null);
+
+ /** CustomInfoType storedType */
+ storedType?: (google.privacy.dlp.v2.IStoredType|null);
+
+ /** CustomInfoType detectionRules */
+ detectionRules?: (google.privacy.dlp.v2.CustomInfoType.IDetectionRule[]|null);
+
+ /** CustomInfoType exclusionType */
+ exclusionType?: (google.privacy.dlp.v2.CustomInfoType.ExclusionType|keyof typeof google.privacy.dlp.v2.CustomInfoType.ExclusionType|null);
+
+ /** CustomInfoType sensitivityScore */
+ sensitivityScore?: (google.privacy.dlp.v2.ISensitivityScore|null);
+ }
+
+ /** Represents a CustomInfoType. */
+ class CustomInfoType implements ICustomInfoType {
+
+ /**
+ * Constructs a new CustomInfoType.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.ICustomInfoType);
+
+ /** CustomInfoType infoType. */
+ public infoType?: (google.privacy.dlp.v2.IInfoType|null);
+
+ /** CustomInfoType likelihood. */
+ public likelihood: (google.privacy.dlp.v2.Likelihood|keyof typeof google.privacy.dlp.v2.Likelihood);
+
+ /** CustomInfoType dictionary. */
+ public dictionary?: (google.privacy.dlp.v2.CustomInfoType.IDictionary|null);
+
+ /** CustomInfoType regex. */
+ public regex?: (google.privacy.dlp.v2.CustomInfoType.IRegex|null);
+
+ /** CustomInfoType surrogateType. */
+ public surrogateType?: (google.privacy.dlp.v2.CustomInfoType.ISurrogateType|null);
+
+ /** CustomInfoType storedType. */
+ public storedType?: (google.privacy.dlp.v2.IStoredType|null);
+
+ /** CustomInfoType detectionRules. */
+ public detectionRules: google.privacy.dlp.v2.CustomInfoType.IDetectionRule[];
+
+ /** CustomInfoType exclusionType. */
+ public exclusionType: (google.privacy.dlp.v2.CustomInfoType.ExclusionType|keyof typeof google.privacy.dlp.v2.CustomInfoType.ExclusionType);
+
+ /** CustomInfoType sensitivityScore. */
+ public sensitivityScore?: (google.privacy.dlp.v2.ISensitivityScore|null);
+
+ /** CustomInfoType type. */
+ public type?: ("dictionary"|"regex"|"surrogateType"|"storedType");
+
+ /**
+ * Creates a new CustomInfoType instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns CustomInfoType instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.ICustomInfoType): google.privacy.dlp.v2.CustomInfoType;
+
+ /**
+ * Encodes the specified CustomInfoType message. Does not implicitly {@link google.privacy.dlp.v2.CustomInfoType.verify|verify} messages.
+ * @param message CustomInfoType message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.ICustomInfoType, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified CustomInfoType message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.CustomInfoType.verify|verify} messages.
+ * @param message CustomInfoType message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.ICustomInfoType, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a CustomInfoType message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns CustomInfoType
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.CustomInfoType;
+
+ /**
+ * Decodes a CustomInfoType message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns CustomInfoType
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.CustomInfoType;
+
+ /**
+ * Verifies a CustomInfoType message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a CustomInfoType message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns CustomInfoType
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.CustomInfoType;
+
+ /**
+ * Creates a plain object from a CustomInfoType message. Also converts values to other types if specified.
+ * @param message CustomInfoType
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.CustomInfoType, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this CustomInfoType to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for CustomInfoType
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace CustomInfoType {
+
+ /** Properties of a Dictionary. */
+ interface IDictionary {
+
+ /** Dictionary wordList */
+ wordList?: (google.privacy.dlp.v2.CustomInfoType.Dictionary.IWordList|null);
+
+ /** Dictionary cloudStoragePath */
+ cloudStoragePath?: (google.privacy.dlp.v2.ICloudStoragePath|null);
+ }
+
+ /** Represents a Dictionary. */
+ class Dictionary implements IDictionary {
+
+ /**
+ * Constructs a new Dictionary.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.CustomInfoType.IDictionary);
+
+ /** Dictionary wordList. */
+ public wordList?: (google.privacy.dlp.v2.CustomInfoType.Dictionary.IWordList|null);
+
+ /** Dictionary cloudStoragePath. */
+ public cloudStoragePath?: (google.privacy.dlp.v2.ICloudStoragePath|null);
+
+ /** Dictionary source. */
+ public source?: ("wordList"|"cloudStoragePath");
+
+ /**
+ * Creates a new Dictionary instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns Dictionary instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.CustomInfoType.IDictionary): google.privacy.dlp.v2.CustomInfoType.Dictionary;
+
+ /**
+ * Encodes the specified Dictionary message. Does not implicitly {@link google.privacy.dlp.v2.CustomInfoType.Dictionary.verify|verify} messages.
+ * @param message Dictionary message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.CustomInfoType.IDictionary, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified Dictionary message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.CustomInfoType.Dictionary.verify|verify} messages.
+ * @param message Dictionary message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.CustomInfoType.IDictionary, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a Dictionary message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns Dictionary
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.CustomInfoType.Dictionary;
+
+ /**
+ * Decodes a Dictionary message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns Dictionary
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.CustomInfoType.Dictionary;
+
+ /**
+ * Verifies a Dictionary message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a Dictionary message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns Dictionary
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.CustomInfoType.Dictionary;
+
+ /**
+ * Creates a plain object from a Dictionary message. Also converts values to other types if specified.
+ * @param message Dictionary
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.CustomInfoType.Dictionary, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this Dictionary to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for Dictionary
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace Dictionary {
+
+ /** Properties of a WordList. */
+ interface IWordList {
+
+ /** WordList words */
+ words?: (string[]|null);
+ }
+
+ /** Represents a WordList. */
+ class WordList implements IWordList {
+
+ /**
+ * Constructs a new WordList.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.CustomInfoType.Dictionary.IWordList);
+
+ /** WordList words. */
+ public words: string[];
+
+ /**
+ * Creates a new WordList instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns WordList instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.CustomInfoType.Dictionary.IWordList): google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList;
+
+ /**
+ * Encodes the specified WordList message. Does not implicitly {@link google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList.verify|verify} messages.
+ * @param message WordList message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.CustomInfoType.Dictionary.IWordList, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified WordList message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList.verify|verify} messages.
+ * @param message WordList message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.CustomInfoType.Dictionary.IWordList, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a WordList message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns WordList
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList;
+
+ /**
+ * Decodes a WordList message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns WordList
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList;
+
+ /**
+ * Verifies a WordList message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a WordList message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns WordList
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList;
+
+ /**
+ * Creates a plain object from a WordList message. Also converts values to other types if specified.
+ * @param message WordList
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this WordList to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for WordList
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+ }
+
+ /** Properties of a Regex. */
+ interface IRegex {
+
+ /** Regex pattern */
+ pattern?: (string|null);
+
+ /** Regex groupIndexes */
+ groupIndexes?: (number[]|null);
+ }
+
+ /** Represents a Regex. */
+ class Regex implements IRegex {
+
+ /**
+ * Constructs a new Regex.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.CustomInfoType.IRegex);
+
+ /** Regex pattern. */
+ public pattern: string;
+
+ /** Regex groupIndexes. */
+ public groupIndexes: number[];
+
+ /**
+ * Creates a new Regex instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns Regex instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.CustomInfoType.IRegex): google.privacy.dlp.v2.CustomInfoType.Regex;
+
+ /**
+ * Encodes the specified Regex message. Does not implicitly {@link google.privacy.dlp.v2.CustomInfoType.Regex.verify|verify} messages.
+ * @param message Regex message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.CustomInfoType.IRegex, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified Regex message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.CustomInfoType.Regex.verify|verify} messages.
+ * @param message Regex message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.CustomInfoType.IRegex, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a Regex message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns Regex
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.CustomInfoType.Regex;
+
+ /**
+ * Decodes a Regex message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns Regex
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.CustomInfoType.Regex;
+
+ /**
+ * Verifies a Regex message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a Regex message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns Regex
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.CustomInfoType.Regex;
+
+ /**
+ * Creates a plain object from a Regex message. Also converts values to other types if specified.
+ * @param message Regex
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.CustomInfoType.Regex, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this Regex to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for Regex
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a SurrogateType. */
+ interface ISurrogateType {
+ }
+
+ /** Represents a SurrogateType. */
+ class SurrogateType implements ISurrogateType {
+
+ /**
+ * Constructs a new SurrogateType.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.CustomInfoType.ISurrogateType);
+
+ /**
+ * Creates a new SurrogateType instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns SurrogateType instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.CustomInfoType.ISurrogateType): google.privacy.dlp.v2.CustomInfoType.SurrogateType;
+
+ /**
+ * Encodes the specified SurrogateType message. Does not implicitly {@link google.privacy.dlp.v2.CustomInfoType.SurrogateType.verify|verify} messages.
+ * @param message SurrogateType message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.CustomInfoType.ISurrogateType, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified SurrogateType message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.CustomInfoType.SurrogateType.verify|verify} messages.
+ * @param message SurrogateType message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.CustomInfoType.ISurrogateType, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a SurrogateType message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns SurrogateType
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.CustomInfoType.SurrogateType;
+
+ /**
+ * Decodes a SurrogateType message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns SurrogateType
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.CustomInfoType.SurrogateType;
+
+ /**
+ * Verifies a SurrogateType message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a SurrogateType message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns SurrogateType
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.CustomInfoType.SurrogateType;
+
+ /**
+ * Creates a plain object from a SurrogateType message. Also converts values to other types if specified.
+ * @param message SurrogateType
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.CustomInfoType.SurrogateType, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this SurrogateType to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for SurrogateType
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a DetectionRule. */
+ interface IDetectionRule {
+
+ /** DetectionRule hotwordRule */
+ hotwordRule?: (google.privacy.dlp.v2.CustomInfoType.DetectionRule.IHotwordRule|null);
+ }
+
+ /** Represents a DetectionRule. */
+ class DetectionRule implements IDetectionRule {
+
+ /**
+ * Constructs a new DetectionRule.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.CustomInfoType.IDetectionRule);
+
+ /** DetectionRule hotwordRule. */
+ public hotwordRule?: (google.privacy.dlp.v2.CustomInfoType.DetectionRule.IHotwordRule|null);
+
+ /** DetectionRule type. */
+ public type?: "hotwordRule";
+
+ /**
+ * Creates a new DetectionRule instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns DetectionRule instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.CustomInfoType.IDetectionRule): google.privacy.dlp.v2.CustomInfoType.DetectionRule;
+
+ /**
+ * Encodes the specified DetectionRule message. Does not implicitly {@link google.privacy.dlp.v2.CustomInfoType.DetectionRule.verify|verify} messages.
+ * @param message DetectionRule message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.CustomInfoType.IDetectionRule, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified DetectionRule message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.CustomInfoType.DetectionRule.verify|verify} messages.
+ * @param message DetectionRule message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.CustomInfoType.IDetectionRule, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a DetectionRule message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns DetectionRule
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.CustomInfoType.DetectionRule;
+
+ /**
+ * Decodes a DetectionRule message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns DetectionRule
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.CustomInfoType.DetectionRule;
+
+ /**
+ * Verifies a DetectionRule message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a DetectionRule message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns DetectionRule
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.CustomInfoType.DetectionRule;
+
+ /**
+ * Creates a plain object from a DetectionRule message. Also converts values to other types if specified.
+ * @param message DetectionRule
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.CustomInfoType.DetectionRule, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this DetectionRule to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for DetectionRule
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace DetectionRule {
+
+ /** Properties of a Proximity. */
+ interface IProximity {
+
+ /** Proximity windowBefore */
+ windowBefore?: (number|null);
+
+ /** Proximity windowAfter */
+ windowAfter?: (number|null);
+ }
+
+ /** Represents a Proximity. */
+ class Proximity implements IProximity {
+
+ /**
+ * Constructs a new Proximity.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.CustomInfoType.DetectionRule.IProximity);
+
+ /** Proximity windowBefore. */
+ public windowBefore: number;
+
+ /** Proximity windowAfter. */
+ public windowAfter: number;
+
+ /**
+ * Creates a new Proximity instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns Proximity instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.CustomInfoType.DetectionRule.IProximity): google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity;
+
+ /**
+ * Encodes the specified Proximity message. Does not implicitly {@link google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity.verify|verify} messages.
+ * @param message Proximity message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.CustomInfoType.DetectionRule.IProximity, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified Proximity message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity.verify|verify} messages.
+ * @param message Proximity message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.CustomInfoType.DetectionRule.IProximity, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a Proximity message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns Proximity
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity;
+
+ /**
+ * Decodes a Proximity message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns Proximity
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity;
+
+ /**
+ * Verifies a Proximity message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a Proximity message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns Proximity
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity;
+
+ /**
+ * Creates a plain object from a Proximity message. Also converts values to other types if specified.
+ * @param message Proximity
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this Proximity to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for Proximity
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a LikelihoodAdjustment. */
+ interface ILikelihoodAdjustment {
+
+ /** LikelihoodAdjustment fixedLikelihood */
+ fixedLikelihood?: (google.privacy.dlp.v2.Likelihood|keyof typeof google.privacy.dlp.v2.Likelihood|null);
+
+ /** LikelihoodAdjustment relativeLikelihood */
+ relativeLikelihood?: (number|null);
+ }
+
+ /** Represents a LikelihoodAdjustment. */
+ class LikelihoodAdjustment implements ILikelihoodAdjustment {
+
+ /**
+ * Constructs a new LikelihoodAdjustment.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.CustomInfoType.DetectionRule.ILikelihoodAdjustment);
+
+ /** LikelihoodAdjustment fixedLikelihood. */
+ public fixedLikelihood?: (google.privacy.dlp.v2.Likelihood|keyof typeof google.privacy.dlp.v2.Likelihood|null);
+
+ /** LikelihoodAdjustment relativeLikelihood. */
+ public relativeLikelihood?: (number|null);
+
+ /** LikelihoodAdjustment adjustment. */
+ public adjustment?: ("fixedLikelihood"|"relativeLikelihood");
+
+ /**
+ * Creates a new LikelihoodAdjustment instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns LikelihoodAdjustment instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.CustomInfoType.DetectionRule.ILikelihoodAdjustment): google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment;
+
+ /**
+ * Encodes the specified LikelihoodAdjustment message. Does not implicitly {@link google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment.verify|verify} messages.
+ * @param message LikelihoodAdjustment message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.CustomInfoType.DetectionRule.ILikelihoodAdjustment, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified LikelihoodAdjustment message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment.verify|verify} messages.
+ * @param message LikelihoodAdjustment message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.CustomInfoType.DetectionRule.ILikelihoodAdjustment, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a LikelihoodAdjustment message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns LikelihoodAdjustment
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment;
+
+ /**
+ * Decodes a LikelihoodAdjustment message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns LikelihoodAdjustment
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment;
+
+ /**
+ * Verifies a LikelihoodAdjustment message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a LikelihoodAdjustment message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns LikelihoodAdjustment
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment;
+
+ /**
+ * Creates a plain object from a LikelihoodAdjustment message. Also converts values to other types if specified.
+ * @param message LikelihoodAdjustment
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this LikelihoodAdjustment to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for LikelihoodAdjustment
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a HotwordRule. */
+ interface IHotwordRule {
+
+ /** HotwordRule hotwordRegex */
+ hotwordRegex?: (google.privacy.dlp.v2.CustomInfoType.IRegex|null);
+
+ /** HotwordRule proximity */
+ proximity?: (google.privacy.dlp.v2.CustomInfoType.DetectionRule.IProximity|null);
+
+ /** HotwordRule likelihoodAdjustment */
+ likelihoodAdjustment?: (google.privacy.dlp.v2.CustomInfoType.DetectionRule.ILikelihoodAdjustment|null);
+ }
+
+ /** Represents a HotwordRule. */
+ class HotwordRule implements IHotwordRule {
+
+ /**
+ * Constructs a new HotwordRule.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.CustomInfoType.DetectionRule.IHotwordRule);
+
+ /** HotwordRule hotwordRegex. */
+ public hotwordRegex?: (google.privacy.dlp.v2.CustomInfoType.IRegex|null);
+
+ /** HotwordRule proximity. */
+ public proximity?: (google.privacy.dlp.v2.CustomInfoType.DetectionRule.IProximity|null);
+
+ /** HotwordRule likelihoodAdjustment. */
+ public likelihoodAdjustment?: (google.privacy.dlp.v2.CustomInfoType.DetectionRule.ILikelihoodAdjustment|null);
+
+ /**
+ * Creates a new HotwordRule instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns HotwordRule instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.CustomInfoType.DetectionRule.IHotwordRule): google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule;
+
+ /**
+ * Encodes the specified HotwordRule message. Does not implicitly {@link google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule.verify|verify} messages.
+ * @param message HotwordRule message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.CustomInfoType.DetectionRule.IHotwordRule, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified HotwordRule message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule.verify|verify} messages.
+ * @param message HotwordRule message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.CustomInfoType.DetectionRule.IHotwordRule, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a HotwordRule message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns HotwordRule
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule;
+
+ /**
+ * Decodes a HotwordRule message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns HotwordRule
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule;
+
+ /**
+ * Verifies a HotwordRule message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a HotwordRule message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns HotwordRule
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule;
+
+ /**
+ * Creates a plain object from a HotwordRule message. Also converts values to other types if specified.
+ * @param message HotwordRule
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this HotwordRule to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for HotwordRule
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+ }
+
+ /** ExclusionType enum. */
+ enum ExclusionType {
+ EXCLUSION_TYPE_UNSPECIFIED = 0,
+ EXCLUSION_TYPE_EXCLUDE = 1
+ }
+ }
+
+ /** Properties of a FieldId. */
+ interface IFieldId {
+
+ /** FieldId name */
+ name?: (string|null);
+ }
+
+ /** Represents a FieldId. */
+ class FieldId implements IFieldId {
+
+ /**
+ * Constructs a new FieldId.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.IFieldId);
+
+ /** FieldId name. */
+ public name: string;
+
+ /**
+ * Creates a new FieldId instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns FieldId instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.IFieldId): google.privacy.dlp.v2.FieldId;
+
+ /**
+ * Encodes the specified FieldId message. Does not implicitly {@link google.privacy.dlp.v2.FieldId.verify|verify} messages.
+ * @param message FieldId message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.IFieldId, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified FieldId message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.FieldId.verify|verify} messages.
+ * @param message FieldId message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.IFieldId, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a FieldId message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns FieldId
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.FieldId;
+
+ /**
+ * Decodes a FieldId message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns FieldId
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.FieldId;
+
+ /**
+ * Verifies a FieldId message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a FieldId message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns FieldId
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.FieldId;
+
+ /**
+ * Creates a plain object from a FieldId message. Also converts values to other types if specified.
+ * @param message FieldId
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.FieldId, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this FieldId to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for FieldId
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a PartitionId. */
+ interface IPartitionId {
+
+ /** PartitionId projectId */
+ projectId?: (string|null);
+
+ /** PartitionId namespaceId */
+ namespaceId?: (string|null);
+ }
+
+ /** Represents a PartitionId. */
+ class PartitionId implements IPartitionId {
+
+ /**
+ * Constructs a new PartitionId.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.IPartitionId);
+
+ /** PartitionId projectId. */
+ public projectId: string;
+
+ /** PartitionId namespaceId. */
+ public namespaceId: string;
+
+ /**
+ * Creates a new PartitionId instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns PartitionId instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.IPartitionId): google.privacy.dlp.v2.PartitionId;
+
+ /**
+ * Encodes the specified PartitionId message. Does not implicitly {@link google.privacy.dlp.v2.PartitionId.verify|verify} messages.
+ * @param message PartitionId message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.IPartitionId, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified PartitionId message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.PartitionId.verify|verify} messages.
+ * @param message PartitionId message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.IPartitionId, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a PartitionId message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns PartitionId
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.PartitionId;
+
+ /**
+ * Decodes a PartitionId message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns PartitionId
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.PartitionId;
+
+ /**
+ * Verifies a PartitionId message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a PartitionId message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns PartitionId
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.PartitionId;
+
+ /**
+ * Creates a plain object from a PartitionId message. Also converts values to other types if specified.
+ * @param message PartitionId
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.PartitionId, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this PartitionId to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for PartitionId
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a KindExpression. */
+ interface IKindExpression {
+
+ /** KindExpression name */
+ name?: (string|null);
+ }
+
+ /** Represents a KindExpression. */
+ class KindExpression implements IKindExpression {
+
+ /**
+ * Constructs a new KindExpression.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.IKindExpression);
+
+ /** KindExpression name. */
+ public name: string;
+
+ /**
+ * Creates a new KindExpression instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns KindExpression instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.IKindExpression): google.privacy.dlp.v2.KindExpression;
+
+ /**
+ * Encodes the specified KindExpression message. Does not implicitly {@link google.privacy.dlp.v2.KindExpression.verify|verify} messages.
+ * @param message KindExpression message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.IKindExpression, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified KindExpression message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.KindExpression.verify|verify} messages.
+ * @param message KindExpression message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.IKindExpression, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a KindExpression message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns KindExpression
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.KindExpression;
+
+ /**
+ * Decodes a KindExpression message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns KindExpression
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.KindExpression;
+
+ /**
+ * Verifies a KindExpression message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a KindExpression message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns KindExpression
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.KindExpression;
+
+ /**
+ * Creates a plain object from a KindExpression message. Also converts values to other types if specified.
+ * @param message KindExpression
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.KindExpression, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this KindExpression to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for KindExpression
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a DatastoreOptions. */
+ interface IDatastoreOptions {
+
+ /** DatastoreOptions partitionId */
+ partitionId?: (google.privacy.dlp.v2.IPartitionId|null);
+
+ /** DatastoreOptions kind */
+ kind?: (google.privacy.dlp.v2.IKindExpression|null);
+ }
+
+ /** Represents a DatastoreOptions. */
+ class DatastoreOptions implements IDatastoreOptions {
+
+ /**
+ * Constructs a new DatastoreOptions.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.IDatastoreOptions);
+
+ /** DatastoreOptions partitionId. */
+ public partitionId?: (google.privacy.dlp.v2.IPartitionId|null);
+
+ /** DatastoreOptions kind. */
+ public kind?: (google.privacy.dlp.v2.IKindExpression|null);
+
+ /**
+ * Creates a new DatastoreOptions instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns DatastoreOptions instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.IDatastoreOptions): google.privacy.dlp.v2.DatastoreOptions;
+
+ /**
+ * Encodes the specified DatastoreOptions message. Does not implicitly {@link google.privacy.dlp.v2.DatastoreOptions.verify|verify} messages.
+ * @param message DatastoreOptions message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.IDatastoreOptions, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified DatastoreOptions message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.DatastoreOptions.verify|verify} messages.
+ * @param message DatastoreOptions message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.IDatastoreOptions, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a DatastoreOptions message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns DatastoreOptions
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.DatastoreOptions;
+
+ /**
+ * Decodes a DatastoreOptions message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns DatastoreOptions
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.DatastoreOptions;
+
+ /**
+ * Verifies a DatastoreOptions message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a DatastoreOptions message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns DatastoreOptions
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.DatastoreOptions;
+
+ /**
+ * Creates a plain object from a DatastoreOptions message. Also converts values to other types if specified.
+ * @param message DatastoreOptions
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.DatastoreOptions, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this DatastoreOptions to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for DatastoreOptions
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** FileType enum. */
+ enum FileType {
+ FILE_TYPE_UNSPECIFIED = 0,
+ BINARY_FILE = 1,
+ TEXT_FILE = 2,
+ IMAGE = 3,
+ WORD = 5,
+ PDF = 6,
+ AVRO = 7,
+ CSV = 8,
+ TSV = 9,
+ POWERPOINT = 11,
+ EXCEL = 12
+ }
+
+ /** Properties of a CloudStorageRegexFileSet. */
+ interface ICloudStorageRegexFileSet {
+
+ /** CloudStorageRegexFileSet bucketName */
+ bucketName?: (string|null);
+
+ /** CloudStorageRegexFileSet includeRegex */
+ includeRegex?: (string[]|null);
+
+ /** CloudStorageRegexFileSet excludeRegex */
+ excludeRegex?: (string[]|null);
+ }
+
+ /** Represents a CloudStorageRegexFileSet. */
+ class CloudStorageRegexFileSet implements ICloudStorageRegexFileSet {
+
+ /**
+ * Constructs a new CloudStorageRegexFileSet.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.ICloudStorageRegexFileSet);
+
+ /** CloudStorageRegexFileSet bucketName. */
+ public bucketName: string;
+
+ /** CloudStorageRegexFileSet includeRegex. */
+ public includeRegex: string[];
+
+ /** CloudStorageRegexFileSet excludeRegex. */
+ public excludeRegex: string[];
+
+ /**
+ * Creates a new CloudStorageRegexFileSet instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns CloudStorageRegexFileSet instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.ICloudStorageRegexFileSet): google.privacy.dlp.v2.CloudStorageRegexFileSet;
+
+ /**
+ * Encodes the specified CloudStorageRegexFileSet message. Does not implicitly {@link google.privacy.dlp.v2.CloudStorageRegexFileSet.verify|verify} messages.
+ * @param message CloudStorageRegexFileSet message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.ICloudStorageRegexFileSet, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified CloudStorageRegexFileSet message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.CloudStorageRegexFileSet.verify|verify} messages.
+ * @param message CloudStorageRegexFileSet message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.ICloudStorageRegexFileSet, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a CloudStorageRegexFileSet message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns CloudStorageRegexFileSet
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.CloudStorageRegexFileSet;
+
+ /**
+ * Decodes a CloudStorageRegexFileSet message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns CloudStorageRegexFileSet
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.CloudStorageRegexFileSet;
+
+ /**
+ * Verifies a CloudStorageRegexFileSet message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a CloudStorageRegexFileSet message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns CloudStorageRegexFileSet
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.CloudStorageRegexFileSet;
+
+ /**
+ * Creates a plain object from a CloudStorageRegexFileSet message. Also converts values to other types if specified.
+ * @param message CloudStorageRegexFileSet
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.CloudStorageRegexFileSet, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this CloudStorageRegexFileSet to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for CloudStorageRegexFileSet
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a CloudStorageOptions. */
+ interface ICloudStorageOptions {
+
+ /** CloudStorageOptions fileSet */
+ fileSet?: (google.privacy.dlp.v2.CloudStorageOptions.IFileSet|null);
+
+ /** CloudStorageOptions bytesLimitPerFile */
+ bytesLimitPerFile?: (number|Long|string|null);
+
+ /** CloudStorageOptions bytesLimitPerFilePercent */
+ bytesLimitPerFilePercent?: (number|null);
+
+ /** CloudStorageOptions fileTypes */
+ fileTypes?: (google.privacy.dlp.v2.FileType[]|null);
+
+ /** CloudStorageOptions sampleMethod */
+ sampleMethod?: (google.privacy.dlp.v2.CloudStorageOptions.SampleMethod|keyof typeof google.privacy.dlp.v2.CloudStorageOptions.SampleMethod|null);
+
+ /** CloudStorageOptions filesLimitPercent */
+ filesLimitPercent?: (number|null);
+ }
+
+ /** Represents a CloudStorageOptions. */
+ class CloudStorageOptions implements ICloudStorageOptions {
+
+ /**
+ * Constructs a new CloudStorageOptions.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.ICloudStorageOptions);
+
+ /** CloudStorageOptions fileSet. */
+ public fileSet?: (google.privacy.dlp.v2.CloudStorageOptions.IFileSet|null);
+
+ /** CloudStorageOptions bytesLimitPerFile. */
+ public bytesLimitPerFile: (number|Long|string);
+
+ /** CloudStorageOptions bytesLimitPerFilePercent. */
+ public bytesLimitPerFilePercent: number;
+
+ /** CloudStorageOptions fileTypes. */
+ public fileTypes: google.privacy.dlp.v2.FileType[];
+
+ /** CloudStorageOptions sampleMethod. */
+ public sampleMethod: (google.privacy.dlp.v2.CloudStorageOptions.SampleMethod|keyof typeof google.privacy.dlp.v2.CloudStorageOptions.SampleMethod);
+
+ /** CloudStorageOptions filesLimitPercent. */
+ public filesLimitPercent: number;
+
+ /**
+ * Creates a new CloudStorageOptions instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns CloudStorageOptions instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.ICloudStorageOptions): google.privacy.dlp.v2.CloudStorageOptions;
+
+ /**
+ * Encodes the specified CloudStorageOptions message. Does not implicitly {@link google.privacy.dlp.v2.CloudStorageOptions.verify|verify} messages.
+ * @param message CloudStorageOptions message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.ICloudStorageOptions, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified CloudStorageOptions message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.CloudStorageOptions.verify|verify} messages.
+ * @param message CloudStorageOptions message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.ICloudStorageOptions, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a CloudStorageOptions message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns CloudStorageOptions
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.CloudStorageOptions;
+
+ /**
+ * Decodes a CloudStorageOptions message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns CloudStorageOptions
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.CloudStorageOptions;
+
+ /**
+ * Verifies a CloudStorageOptions message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a CloudStorageOptions message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns CloudStorageOptions
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.CloudStorageOptions;
+
+ /**
+ * Creates a plain object from a CloudStorageOptions message. Also converts values to other types if specified.
+ * @param message CloudStorageOptions
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.CloudStorageOptions, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this CloudStorageOptions to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for CloudStorageOptions
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace CloudStorageOptions {
+
+ /** Properties of a FileSet. */
+ interface IFileSet {
+
+ /** FileSet url */
+ url?: (string|null);
+
+ /** FileSet regexFileSet */
+ regexFileSet?: (google.privacy.dlp.v2.ICloudStorageRegexFileSet|null);
+ }
+
+ /** Represents a FileSet. */
+ class FileSet implements IFileSet {
+
+ /**
+ * Constructs a new FileSet.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.CloudStorageOptions.IFileSet);
+
+ /** FileSet url. */
+ public url: string;
+
+ /** FileSet regexFileSet. */
+ public regexFileSet?: (google.privacy.dlp.v2.ICloudStorageRegexFileSet|null);
+
+ /**
+ * Creates a new FileSet instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns FileSet instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.CloudStorageOptions.IFileSet): google.privacy.dlp.v2.CloudStorageOptions.FileSet;
+
+ /**
+ * Encodes the specified FileSet message. Does not implicitly {@link google.privacy.dlp.v2.CloudStorageOptions.FileSet.verify|verify} messages.
+ * @param message FileSet message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.CloudStorageOptions.IFileSet, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified FileSet message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.CloudStorageOptions.FileSet.verify|verify} messages.
+ * @param message FileSet message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.CloudStorageOptions.IFileSet, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a FileSet message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns FileSet
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.CloudStorageOptions.FileSet;
+
+ /**
+ * Decodes a FileSet message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns FileSet
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.CloudStorageOptions.FileSet;
+
+ /**
+ * Verifies a FileSet message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a FileSet message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns FileSet
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.CloudStorageOptions.FileSet;
+
+ /**
+ * Creates a plain object from a FileSet message. Also converts values to other types if specified.
+ * @param message FileSet
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.CloudStorageOptions.FileSet, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this FileSet to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for FileSet
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** SampleMethod enum. */
+ enum SampleMethod {
+ SAMPLE_METHOD_UNSPECIFIED = 0,
+ TOP = 1,
+ RANDOM_START = 2
+ }
+ }
+
+ /** Properties of a CloudStorageFileSet. */
+ interface ICloudStorageFileSet {
+
+ /** CloudStorageFileSet url */
+ url?: (string|null);
+ }
+
+ /** Represents a CloudStorageFileSet. */
+ class CloudStorageFileSet implements ICloudStorageFileSet {
+
+ /**
+ * Constructs a new CloudStorageFileSet.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.ICloudStorageFileSet);
+
+ /** CloudStorageFileSet url. */
+ public url: string;
+
+ /**
+ * Creates a new CloudStorageFileSet instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns CloudStorageFileSet instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.ICloudStorageFileSet): google.privacy.dlp.v2.CloudStorageFileSet;
+
+ /**
+ * Encodes the specified CloudStorageFileSet message. Does not implicitly {@link google.privacy.dlp.v2.CloudStorageFileSet.verify|verify} messages.
+ * @param message CloudStorageFileSet message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.ICloudStorageFileSet, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified CloudStorageFileSet message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.CloudStorageFileSet.verify|verify} messages.
+ * @param message CloudStorageFileSet message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.ICloudStorageFileSet, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a CloudStorageFileSet message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns CloudStorageFileSet
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.CloudStorageFileSet;
+
+ /**
+ * Decodes a CloudStorageFileSet message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns CloudStorageFileSet
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.CloudStorageFileSet;
+
+ /**
+ * Verifies a CloudStorageFileSet message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a CloudStorageFileSet message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns CloudStorageFileSet
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.CloudStorageFileSet;
+
+ /**
+ * Creates a plain object from a CloudStorageFileSet message. Also converts values to other types if specified.
+ * @param message CloudStorageFileSet
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.CloudStorageFileSet, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this CloudStorageFileSet to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for CloudStorageFileSet
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a CloudStoragePath. */
+ interface ICloudStoragePath {
+
+ /** CloudStoragePath path */
+ path?: (string|null);
+ }
+
+ /** Represents a CloudStoragePath. */
+ class CloudStoragePath implements ICloudStoragePath {
+
+ /**
+ * Constructs a new CloudStoragePath.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.ICloudStoragePath);
+
+ /** CloudStoragePath path. */
+ public path: string;
+
+ /**
+ * Creates a new CloudStoragePath instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns CloudStoragePath instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.ICloudStoragePath): google.privacy.dlp.v2.CloudStoragePath;
+
+ /**
+ * Encodes the specified CloudStoragePath message. Does not implicitly {@link google.privacy.dlp.v2.CloudStoragePath.verify|verify} messages.
+ * @param message CloudStoragePath message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.ICloudStoragePath, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified CloudStoragePath message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.CloudStoragePath.verify|verify} messages.
+ * @param message CloudStoragePath message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.ICloudStoragePath, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a CloudStoragePath message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns CloudStoragePath
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.CloudStoragePath;
+
+ /**
+ * Decodes a CloudStoragePath message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns CloudStoragePath
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.CloudStoragePath;
+
+ /**
+ * Verifies a CloudStoragePath message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a CloudStoragePath message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns CloudStoragePath
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.CloudStoragePath;
+
+ /**
+ * Creates a plain object from a CloudStoragePath message. Also converts values to other types if specified.
+ * @param message CloudStoragePath
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.CloudStoragePath, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this CloudStoragePath to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for CloudStoragePath
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a BigQueryOptions. */
+ interface IBigQueryOptions {
+
+ /** BigQueryOptions tableReference */
+ tableReference?: (google.privacy.dlp.v2.IBigQueryTable|null);
+
+ /** BigQueryOptions identifyingFields */
+ identifyingFields?: (google.privacy.dlp.v2.IFieldId[]|null);
+
+ /** BigQueryOptions rowsLimit */
+ rowsLimit?: (number|Long|string|null);
+
+ /** BigQueryOptions rowsLimitPercent */
+ rowsLimitPercent?: (number|null);
+
+ /** BigQueryOptions sampleMethod */
+ sampleMethod?: (google.privacy.dlp.v2.BigQueryOptions.SampleMethod|keyof typeof google.privacy.dlp.v2.BigQueryOptions.SampleMethod|null);
+
+ /** BigQueryOptions excludedFields */
+ excludedFields?: (google.privacy.dlp.v2.IFieldId[]|null);
+
+ /** BigQueryOptions includedFields */
+ includedFields?: (google.privacy.dlp.v2.IFieldId[]|null);
+ }
+
+ /** Represents a BigQueryOptions. */
+ class BigQueryOptions implements IBigQueryOptions {
+
+ /**
+ * Constructs a new BigQueryOptions.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.IBigQueryOptions);
+
+ /** BigQueryOptions tableReference. */
+ public tableReference?: (google.privacy.dlp.v2.IBigQueryTable|null);
+
+ /** BigQueryOptions identifyingFields. */
+ public identifyingFields: google.privacy.dlp.v2.IFieldId[];
+
+ /** BigQueryOptions rowsLimit. */
+ public rowsLimit: (number|Long|string);
+
+ /** BigQueryOptions rowsLimitPercent. */
+ public rowsLimitPercent: number;
+
+ /** BigQueryOptions sampleMethod. */
+ public sampleMethod: (google.privacy.dlp.v2.BigQueryOptions.SampleMethod|keyof typeof google.privacy.dlp.v2.BigQueryOptions.SampleMethod);
+
+ /** BigQueryOptions excludedFields. */
+ public excludedFields: google.privacy.dlp.v2.IFieldId[];
+
+ /** BigQueryOptions includedFields. */
+ public includedFields: google.privacy.dlp.v2.IFieldId[];
+
+ /**
+ * Creates a new BigQueryOptions instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns BigQueryOptions instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.IBigQueryOptions): google.privacy.dlp.v2.BigQueryOptions;
+
+ /**
+ * Encodes the specified BigQueryOptions message. Does not implicitly {@link google.privacy.dlp.v2.BigQueryOptions.verify|verify} messages.
+ * @param message BigQueryOptions message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.IBigQueryOptions, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified BigQueryOptions message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.BigQueryOptions.verify|verify} messages.
+ * @param message BigQueryOptions message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.IBigQueryOptions, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a BigQueryOptions message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns BigQueryOptions
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.BigQueryOptions;
+
+ /**
+ * Decodes a BigQueryOptions message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns BigQueryOptions
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.BigQueryOptions;
+
+ /**
+ * Verifies a BigQueryOptions message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a BigQueryOptions message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns BigQueryOptions
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.BigQueryOptions;
+
+ /**
+ * Creates a plain object from a BigQueryOptions message. Also converts values to other types if specified.
+ * @param message BigQueryOptions
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.BigQueryOptions, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this BigQueryOptions to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for BigQueryOptions
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace BigQueryOptions {
+
+ /** SampleMethod enum. */
+ enum SampleMethod {
+ SAMPLE_METHOD_UNSPECIFIED = 0,
+ TOP = 1,
+ RANDOM_START = 2
+ }
+ }
+
+ /** Properties of a StorageConfig. */
+ interface IStorageConfig {
+
+ /** StorageConfig datastoreOptions */
+ datastoreOptions?: (google.privacy.dlp.v2.IDatastoreOptions|null);
+
+ /** StorageConfig cloudStorageOptions */
+ cloudStorageOptions?: (google.privacy.dlp.v2.ICloudStorageOptions|null);
+
+ /** StorageConfig bigQueryOptions */
+ bigQueryOptions?: (google.privacy.dlp.v2.IBigQueryOptions|null);
+
+ /** StorageConfig hybridOptions */
+ hybridOptions?: (google.privacy.dlp.v2.IHybridOptions|null);
+
+ /** StorageConfig timespanConfig */
+ timespanConfig?: (google.privacy.dlp.v2.StorageConfig.ITimespanConfig|null);
+ }
+
+ /** Represents a StorageConfig. */
+ class StorageConfig implements IStorageConfig {
+
+ /**
+ * Constructs a new StorageConfig.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.IStorageConfig);
+
+ /** StorageConfig datastoreOptions. */
+ public datastoreOptions?: (google.privacy.dlp.v2.IDatastoreOptions|null);
+
+ /** StorageConfig cloudStorageOptions. */
+ public cloudStorageOptions?: (google.privacy.dlp.v2.ICloudStorageOptions|null);
+
+ /** StorageConfig bigQueryOptions. */
+ public bigQueryOptions?: (google.privacy.dlp.v2.IBigQueryOptions|null);
+
+ /** StorageConfig hybridOptions. */
+ public hybridOptions?: (google.privacy.dlp.v2.IHybridOptions|null);
+
+ /** StorageConfig timespanConfig. */
+ public timespanConfig?: (google.privacy.dlp.v2.StorageConfig.ITimespanConfig|null);
+
+ /** StorageConfig type. */
+ public type?: ("datastoreOptions"|"cloudStorageOptions"|"bigQueryOptions"|"hybridOptions");
+
+ /**
+ * Creates a new StorageConfig instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns StorageConfig instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.IStorageConfig): google.privacy.dlp.v2.StorageConfig;
+
+ /**
+ * Encodes the specified StorageConfig message. Does not implicitly {@link google.privacy.dlp.v2.StorageConfig.verify|verify} messages.
+ * @param message StorageConfig message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.IStorageConfig, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified StorageConfig message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.StorageConfig.verify|verify} messages.
+ * @param message StorageConfig message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.IStorageConfig, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a StorageConfig message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns StorageConfig
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.StorageConfig;
+
+ /**
+ * Decodes a StorageConfig message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns StorageConfig
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.StorageConfig;
+
+ /**
+ * Verifies a StorageConfig message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a StorageConfig message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns StorageConfig
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.StorageConfig;
+
+ /**
+ * Creates a plain object from a StorageConfig message. Also converts values to other types if specified.
+ * @param message StorageConfig
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.StorageConfig, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this StorageConfig to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for StorageConfig
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace StorageConfig {
+
+ /** Properties of a TimespanConfig. */
+ interface ITimespanConfig {
+
+ /** TimespanConfig startTime */
+ startTime?: (google.protobuf.ITimestamp|null);
+
+ /** TimespanConfig endTime */
+ endTime?: (google.protobuf.ITimestamp|null);
+
+ /** TimespanConfig timestampField */
+ timestampField?: (google.privacy.dlp.v2.IFieldId|null);
+
+ /** TimespanConfig enableAutoPopulationOfTimespanConfig */
+ enableAutoPopulationOfTimespanConfig?: (boolean|null);
+ }
+
+ /** Represents a TimespanConfig. */
+ class TimespanConfig implements ITimespanConfig {
+
+ /**
+ * Constructs a new TimespanConfig.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.StorageConfig.ITimespanConfig);
+
+ /** TimespanConfig startTime. */
+ public startTime?: (google.protobuf.ITimestamp|null);
+
+ /** TimespanConfig endTime. */
+ public endTime?: (google.protobuf.ITimestamp|null);
+
+ /** TimespanConfig timestampField. */
+ public timestampField?: (google.privacy.dlp.v2.IFieldId|null);
+
+ /** TimespanConfig enableAutoPopulationOfTimespanConfig. */
+ public enableAutoPopulationOfTimespanConfig: boolean;
+
+ /**
+ * Creates a new TimespanConfig instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns TimespanConfig instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.StorageConfig.ITimespanConfig): google.privacy.dlp.v2.StorageConfig.TimespanConfig;
+
+ /**
+ * Encodes the specified TimespanConfig message. Does not implicitly {@link google.privacy.dlp.v2.StorageConfig.TimespanConfig.verify|verify} messages.
+ * @param message TimespanConfig message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.StorageConfig.ITimespanConfig, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified TimespanConfig message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.StorageConfig.TimespanConfig.verify|verify} messages.
+ * @param message TimespanConfig message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.StorageConfig.ITimespanConfig, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a TimespanConfig message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns TimespanConfig
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.StorageConfig.TimespanConfig;
+
+ /**
+ * Decodes a TimespanConfig message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns TimespanConfig
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.StorageConfig.TimespanConfig;
+
+ /**
+ * Verifies a TimespanConfig message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a TimespanConfig message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns TimespanConfig
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.StorageConfig.TimespanConfig;
+
+ /**
+ * Creates a plain object from a TimespanConfig message. Also converts values to other types if specified.
+ * @param message TimespanConfig
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.StorageConfig.TimespanConfig, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this TimespanConfig to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for TimespanConfig
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+ }
+
+ /** Properties of a HybridOptions. */
+ interface IHybridOptions {
+
+ /** HybridOptions description */
+ description?: (string|null);
+
+ /** HybridOptions requiredFindingLabelKeys */
+ requiredFindingLabelKeys?: (string[]|null);
+
+ /** HybridOptions labels */
+ labels?: ({ [k: string]: string }|null);
+
+ /** HybridOptions tableOptions */
+ tableOptions?: (google.privacy.dlp.v2.ITableOptions|null);
+ }
+
+ /** Represents a HybridOptions. */
+ class HybridOptions implements IHybridOptions {
+
+ /**
+ * Constructs a new HybridOptions.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.IHybridOptions);
+
+ /** HybridOptions description. */
+ public description: string;
+
+ /** HybridOptions requiredFindingLabelKeys. */
+ public requiredFindingLabelKeys: string[];
+
+ /** HybridOptions labels. */
+ public labels: { [k: string]: string };
+
+ /** HybridOptions tableOptions. */
+ public tableOptions?: (google.privacy.dlp.v2.ITableOptions|null);
+
+ /**
+ * Creates a new HybridOptions instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns HybridOptions instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.IHybridOptions): google.privacy.dlp.v2.HybridOptions;
+
+ /**
+ * Encodes the specified HybridOptions message. Does not implicitly {@link google.privacy.dlp.v2.HybridOptions.verify|verify} messages.
+ * @param message HybridOptions message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.IHybridOptions, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified HybridOptions message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.HybridOptions.verify|verify} messages.
+ * @param message HybridOptions message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.IHybridOptions, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a HybridOptions message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns HybridOptions
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.HybridOptions;
+
+ /**
+ * Decodes a HybridOptions message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns HybridOptions
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.HybridOptions;
+
+ /**
+ * Verifies a HybridOptions message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a HybridOptions message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns HybridOptions
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.HybridOptions;
+
+ /**
+ * Creates a plain object from a HybridOptions message. Also converts values to other types if specified.
+ * @param message HybridOptions
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.HybridOptions, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this HybridOptions to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for HybridOptions
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a BigQueryKey. */
+ interface IBigQueryKey {
+
+ /** BigQueryKey tableReference */
+ tableReference?: (google.privacy.dlp.v2.IBigQueryTable|null);
+
+ /** BigQueryKey rowNumber */
+ rowNumber?: (number|Long|string|null);
+ }
+
+ /** Represents a BigQueryKey. */
+ class BigQueryKey implements IBigQueryKey {
+
+ /**
+ * Constructs a new BigQueryKey.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.IBigQueryKey);
+
+ /** BigQueryKey tableReference. */
+ public tableReference?: (google.privacy.dlp.v2.IBigQueryTable|null);
+
+ /** BigQueryKey rowNumber. */
+ public rowNumber: (number|Long|string);
+
+ /**
+ * Creates a new BigQueryKey instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns BigQueryKey instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.IBigQueryKey): google.privacy.dlp.v2.BigQueryKey;
+
+ /**
+ * Encodes the specified BigQueryKey message. Does not implicitly {@link google.privacy.dlp.v2.BigQueryKey.verify|verify} messages.
+ * @param message BigQueryKey message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.IBigQueryKey, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified BigQueryKey message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.BigQueryKey.verify|verify} messages.
+ * @param message BigQueryKey message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.IBigQueryKey, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a BigQueryKey message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns BigQueryKey
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.BigQueryKey;
+
+ /**
+ * Decodes a BigQueryKey message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns BigQueryKey
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.BigQueryKey;
+
+ /**
+ * Verifies a BigQueryKey message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a BigQueryKey message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns BigQueryKey
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.BigQueryKey;
+
+ /**
+ * Creates a plain object from a BigQueryKey message. Also converts values to other types if specified.
+ * @param message BigQueryKey
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.BigQueryKey, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this BigQueryKey to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for BigQueryKey
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a DatastoreKey. */
+ interface IDatastoreKey {
+
+ /** DatastoreKey entityKey */
+ entityKey?: (google.privacy.dlp.v2.IKey|null);
+ }
+
+ /** Represents a DatastoreKey. */
+ class DatastoreKey implements IDatastoreKey {
+
+ /**
+ * Constructs a new DatastoreKey.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.IDatastoreKey);
+
+ /** DatastoreKey entityKey. */
+ public entityKey?: (google.privacy.dlp.v2.IKey|null);
+
+ /**
+ * Creates a new DatastoreKey instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns DatastoreKey instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.IDatastoreKey): google.privacy.dlp.v2.DatastoreKey;
+
+ /**
+ * Encodes the specified DatastoreKey message. Does not implicitly {@link google.privacy.dlp.v2.DatastoreKey.verify|verify} messages.
+ * @param message DatastoreKey message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.IDatastoreKey, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified DatastoreKey message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.DatastoreKey.verify|verify} messages.
+ * @param message DatastoreKey message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.IDatastoreKey, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a DatastoreKey message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns DatastoreKey
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.DatastoreKey;
+
+ /**
+ * Decodes a DatastoreKey message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns DatastoreKey
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.DatastoreKey;
+
+ /**
+ * Verifies a DatastoreKey message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a DatastoreKey message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns DatastoreKey
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.DatastoreKey;
+
+ /**
+ * Creates a plain object from a DatastoreKey message. Also converts values to other types if specified.
+ * @param message DatastoreKey
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.DatastoreKey, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this DatastoreKey to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for DatastoreKey
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a Key. */
+ interface IKey {
+
+ /** Key partitionId */
+ partitionId?: (google.privacy.dlp.v2.IPartitionId|null);
+
+ /** Key path */
+ path?: (google.privacy.dlp.v2.Key.IPathElement[]|null);
+ }
+
+ /** Represents a Key. */
+ class Key implements IKey {
+
+ /**
+ * Constructs a new Key.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.IKey);
+
+ /** Key partitionId. */
+ public partitionId?: (google.privacy.dlp.v2.IPartitionId|null);
+
+ /** Key path. */
+ public path: google.privacy.dlp.v2.Key.IPathElement[];
+
+ /**
+ * Creates a new Key instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns Key instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.IKey): google.privacy.dlp.v2.Key;
+
+ /**
+ * Encodes the specified Key message. Does not implicitly {@link google.privacy.dlp.v2.Key.verify|verify} messages.
+ * @param message Key message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.IKey, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified Key message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.Key.verify|verify} messages.
+ * @param message Key message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.IKey, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a Key message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns Key
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.Key;
+
+ /**
+ * Decodes a Key message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns Key
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.Key;
+
+ /**
+ * Verifies a Key message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a Key message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns Key
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.Key;
+
+ /**
+ * Creates a plain object from a Key message. Also converts values to other types if specified.
+ * @param message Key
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.Key, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this Key to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for Key
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace Key {
+
+ /** Properties of a PathElement. */
+ interface IPathElement {
+
+ /** PathElement kind */
+ kind?: (string|null);
+
+ /** PathElement id */
+ id?: (number|Long|string|null);
+
+ /** PathElement name */
+ name?: (string|null);
+ }
+
+ /** Represents a PathElement. */
+ class PathElement implements IPathElement {
+
+ /**
+ * Constructs a new PathElement.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.Key.IPathElement);
+
+ /** PathElement kind. */
+ public kind: string;
+
+ /** PathElement id. */
+ public id?: (number|Long|string|null);
+
+ /** PathElement name. */
+ public name?: (string|null);
+
+ /** PathElement idType. */
+ public idType?: ("id"|"name");
+
+ /**
+ * Creates a new PathElement instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns PathElement instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.Key.IPathElement): google.privacy.dlp.v2.Key.PathElement;
+
+ /**
+ * Encodes the specified PathElement message. Does not implicitly {@link google.privacy.dlp.v2.Key.PathElement.verify|verify} messages.
+ * @param message PathElement message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.Key.IPathElement, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified PathElement message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.Key.PathElement.verify|verify} messages.
+ * @param message PathElement message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.Key.IPathElement, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a PathElement message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns PathElement
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.Key.PathElement;
+
+ /**
+ * Decodes a PathElement message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns PathElement
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.Key.PathElement;
+
+ /**
+ * Verifies a PathElement message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a PathElement message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns PathElement
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.Key.PathElement;
+
+ /**
+ * Creates a plain object from a PathElement message. Also converts values to other types if specified.
+ * @param message PathElement
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.Key.PathElement, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this PathElement to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for PathElement
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+ }
+
+ /** Properties of a RecordKey. */
+ interface IRecordKey {
+
+ /** RecordKey datastoreKey */
+ datastoreKey?: (google.privacy.dlp.v2.IDatastoreKey|null);
+
+ /** RecordKey bigQueryKey */
+ bigQueryKey?: (google.privacy.dlp.v2.IBigQueryKey|null);
+
+ /** RecordKey idValues */
+ idValues?: (string[]|null);
+ }
+
+ /** Represents a RecordKey. */
+ class RecordKey implements IRecordKey {
+
+ /**
+ * Constructs a new RecordKey.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.IRecordKey);
+
+ /** RecordKey datastoreKey. */
+ public datastoreKey?: (google.privacy.dlp.v2.IDatastoreKey|null);
+
+ /** RecordKey bigQueryKey. */
+ public bigQueryKey?: (google.privacy.dlp.v2.IBigQueryKey|null);
+
+ /** RecordKey idValues. */
+ public idValues: string[];
+
+ /** RecordKey type. */
+ public type?: ("datastoreKey"|"bigQueryKey");
+
+ /**
+ * Creates a new RecordKey instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns RecordKey instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.IRecordKey): google.privacy.dlp.v2.RecordKey;
+
+ /**
+ * Encodes the specified RecordKey message. Does not implicitly {@link google.privacy.dlp.v2.RecordKey.verify|verify} messages.
+ * @param message RecordKey message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.IRecordKey, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified RecordKey message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.RecordKey.verify|verify} messages.
+ * @param message RecordKey message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.IRecordKey, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a RecordKey message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns RecordKey
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.RecordKey;
+
+ /**
+ * Decodes a RecordKey message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns RecordKey
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.RecordKey;
+
+ /**
+ * Verifies a RecordKey message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a RecordKey message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns RecordKey
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.RecordKey;
+
+ /**
+ * Creates a plain object from a RecordKey message. Also converts values to other types if specified.
+ * @param message RecordKey
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.RecordKey, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this RecordKey to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for RecordKey
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a BigQueryTable. */
+ interface IBigQueryTable {
+
+ /** BigQueryTable projectId */
+ projectId?: (string|null);
+
+ /** BigQueryTable datasetId */
+ datasetId?: (string|null);
+
+ /** BigQueryTable tableId */
+ tableId?: (string|null);
+ }
+
+ /** Represents a BigQueryTable. */
+ class BigQueryTable implements IBigQueryTable {
+
+ /**
+ * Constructs a new BigQueryTable.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.IBigQueryTable);
+
+ /** BigQueryTable projectId. */
+ public projectId: string;
+
+ /** BigQueryTable datasetId. */
+ public datasetId: string;
+
+ /** BigQueryTable tableId. */
+ public tableId: string;
+
+ /**
+ * Creates a new BigQueryTable instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns BigQueryTable instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.IBigQueryTable): google.privacy.dlp.v2.BigQueryTable;
+
+ /**
+ * Encodes the specified BigQueryTable message. Does not implicitly {@link google.privacy.dlp.v2.BigQueryTable.verify|verify} messages.
+ * @param message BigQueryTable message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.IBigQueryTable, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified BigQueryTable message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.BigQueryTable.verify|verify} messages.
+ * @param message BigQueryTable message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.IBigQueryTable, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a BigQueryTable message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns BigQueryTable
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.BigQueryTable;
+
+ /**
+ * Decodes a BigQueryTable message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns BigQueryTable
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.BigQueryTable;
+
+ /**
+ * Verifies a BigQueryTable message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a BigQueryTable message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns BigQueryTable
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.BigQueryTable;
+
+ /**
+ * Creates a plain object from a BigQueryTable message. Also converts values to other types if specified.
+ * @param message BigQueryTable
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.BigQueryTable, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this BigQueryTable to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for BigQueryTable
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a TableReference. */
+ interface ITableReference {
+
+ /** TableReference datasetId */
+ datasetId?: (string|null);
+
+ /** TableReference tableId */
+ tableId?: (string|null);
+
+ /** TableReference projectId */
+ projectId?: (string|null);
+ }
+
+ /** Represents a TableReference. */
+ class TableReference implements ITableReference {
+
+ /**
+ * Constructs a new TableReference.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.ITableReference);
+
+ /** TableReference datasetId. */
+ public datasetId: string;
+
+ /** TableReference tableId. */
+ public tableId: string;
+
+ /** TableReference projectId. */
+ public projectId: string;
+
+ /**
+ * Creates a new TableReference instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns TableReference instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.ITableReference): google.privacy.dlp.v2.TableReference;
+
+ /**
+ * Encodes the specified TableReference message. Does not implicitly {@link google.privacy.dlp.v2.TableReference.verify|verify} messages.
+ * @param message TableReference message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.ITableReference, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified TableReference message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.TableReference.verify|verify} messages.
+ * @param message TableReference message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.ITableReference, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a TableReference message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns TableReference
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.TableReference;
+
+ /**
+ * Decodes a TableReference message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns TableReference
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.TableReference;
+
+ /**
+ * Verifies a TableReference message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a TableReference message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns TableReference
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.TableReference;
+
+ /**
+ * Creates a plain object from a TableReference message. Also converts values to other types if specified.
+ * @param message TableReference
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.TableReference, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this TableReference to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for TableReference
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a BigQueryField. */
+ interface IBigQueryField {
+
+ /** BigQueryField table */
+ table?: (google.privacy.dlp.v2.IBigQueryTable|null);
+
+ /** BigQueryField field */
+ field?: (google.privacy.dlp.v2.IFieldId|null);
+ }
+
+ /** Represents a BigQueryField. */
+ class BigQueryField implements IBigQueryField {
+
+ /**
+ * Constructs a new BigQueryField.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.IBigQueryField);
+
+ /** BigQueryField table. */
+ public table?: (google.privacy.dlp.v2.IBigQueryTable|null);
+
+ /** BigQueryField field. */
+ public field?: (google.privacy.dlp.v2.IFieldId|null);
+
+ /**
+ * Creates a new BigQueryField instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns BigQueryField instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.IBigQueryField): google.privacy.dlp.v2.BigQueryField;
+
+ /**
+ * Encodes the specified BigQueryField message. Does not implicitly {@link google.privacy.dlp.v2.BigQueryField.verify|verify} messages.
+ * @param message BigQueryField message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.IBigQueryField, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified BigQueryField message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.BigQueryField.verify|verify} messages.
+ * @param message BigQueryField message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.IBigQueryField, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a BigQueryField message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns BigQueryField
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.BigQueryField;
+
+ /**
+ * Decodes a BigQueryField message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns BigQueryField
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.BigQueryField;
+
+ /**
+ * Verifies a BigQueryField message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a BigQueryField message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns BigQueryField
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.BigQueryField;
+
+ /**
+ * Creates a plain object from a BigQueryField message. Also converts values to other types if specified.
+ * @param message BigQueryField
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.BigQueryField, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this BigQueryField to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for BigQueryField
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of an EntityId. */
+ interface IEntityId {
+
+ /** EntityId field */
+ field?: (google.privacy.dlp.v2.IFieldId|null);
+ }
+
+ /** Represents an EntityId. */
+ class EntityId implements IEntityId {
+
+ /**
+ * Constructs a new EntityId.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.IEntityId);
+
+ /** EntityId field. */
+ public field?: (google.privacy.dlp.v2.IFieldId|null);
+
+ /**
+ * Creates a new EntityId instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns EntityId instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.IEntityId): google.privacy.dlp.v2.EntityId;
+
+ /**
+ * Encodes the specified EntityId message. Does not implicitly {@link google.privacy.dlp.v2.EntityId.verify|verify} messages.
+ * @param message EntityId message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.IEntityId, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified EntityId message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.EntityId.verify|verify} messages.
+ * @param message EntityId message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.IEntityId, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an EntityId message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns EntityId
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.EntityId;
+
+ /**
+ * Decodes an EntityId message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns EntityId
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.EntityId;
+
+ /**
+ * Verifies an EntityId message.
+ * @param message Plain 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 EntityId message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns EntityId
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.EntityId;
+
+ /**
+ * Creates a plain object from an EntityId message. Also converts values to other types if specified.
+ * @param message EntityId
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.EntityId, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this EntityId to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for EntityId
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a TableOptions. */
+ interface ITableOptions {
+
+ /** TableOptions identifyingFields */
+ identifyingFields?: (google.privacy.dlp.v2.IFieldId[]|null);
+ }
+
+ /** Represents a TableOptions. */
+ class TableOptions implements ITableOptions {
+
+ /**
+ * Constructs a new TableOptions.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.privacy.dlp.v2.ITableOptions);
+
+ /** TableOptions identifyingFields. */
+ public identifyingFields: google.privacy.dlp.v2.IFieldId[];
+
+ /**
+ * Creates a new TableOptions instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns TableOptions instance
+ */
+ public static create(properties?: google.privacy.dlp.v2.ITableOptions): google.privacy.dlp.v2.TableOptions;
+
+ /**
+ * Encodes the specified TableOptions message. Does not implicitly {@link google.privacy.dlp.v2.TableOptions.verify|verify} messages.
+ * @param message TableOptions message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.privacy.dlp.v2.ITableOptions, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified TableOptions message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.TableOptions.verify|verify} messages.
+ * @param message TableOptions message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.privacy.dlp.v2.ITableOptions, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a TableOptions message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns TableOptions
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.TableOptions;
+
+ /**
+ * Decodes a TableOptions message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns TableOptions
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.TableOptions;
+
+ /**
+ * Verifies a TableOptions message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a TableOptions message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns TableOptions
+ */
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.TableOptions;
+
+ /**
+ * Creates a plain object from a TableOptions message. Also converts values to other types if specified.
+ * @param message TableOptions
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.privacy.dlp.v2.TableOptions, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this TableOptions to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for TableOptions
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+ }
+ }
+ }
+
+ /** Namespace api. */
+ namespace api {
+
+ /** Properties of a Http. */
+ interface IHttp {
+
+ /** Http rules */
+ rules?: (google.api.IHttpRule[]|null);
+
+ /** Http fullyDecodeReservedExpansion */
+ fullyDecodeReservedExpansion?: (boolean|null);
+ }
+
+ /** Represents a Http. */
+ class Http implements IHttp {
+
+ /**
+ * Constructs a new Http.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.api.IHttp);
+
+ /** Http rules. */
+ public rules: google.api.IHttpRule[];
+
+ /** Http fullyDecodeReservedExpansion. */
+ public fullyDecodeReservedExpansion: boolean;
+
+ /**
+ * Creates a new Http instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns Http instance
+ */
+ public static create(properties?: google.api.IHttp): google.api.Http;
+
+ /**
+ * Encodes the specified Http message. Does not implicitly {@link google.api.Http.verify|verify} messages.
+ * @param message Http message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.api.IHttp, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified Http message, length delimited. Does not implicitly {@link google.api.Http.verify|verify} messages.
+ * @param message Http message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.api.IHttp, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a Http message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns Http
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.Http;
+
+ /**
+ * Decodes a Http message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns Http
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.Http;
+
+ /**
+ * Verifies a Http message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a Http message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns Http
+ */
+ public static fromObject(object: { [k: string]: any }): google.api.Http;
+
+ /**
+ * Creates a plain object from a Http message. Also converts values to other types if specified.
+ * @param message Http
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.api.Http, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this Http to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for Http
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a HttpRule. */
+ interface IHttpRule {
+
+ /** HttpRule selector */
+ selector?: (string|null);
+
+ /** HttpRule get */
+ get?: (string|null);
+
+ /** HttpRule put */
+ put?: (string|null);
+
+ /** HttpRule post */
+ post?: (string|null);
+
+ /** HttpRule delete */
+ "delete"?: (string|null);
+
+ /** HttpRule patch */
+ patch?: (string|null);
+
+ /** HttpRule custom */
+ custom?: (google.api.ICustomHttpPattern|null);
+
+ /** HttpRule body */
+ body?: (string|null);
+
+ /** HttpRule responseBody */
+ responseBody?: (string|null);
+
+ /** HttpRule additionalBindings */
+ additionalBindings?: (google.api.IHttpRule[]|null);
+ }
+
+ /** Represents a HttpRule. */
+ class HttpRule implements IHttpRule {
+
+ /**
+ * Constructs a new HttpRule.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.api.IHttpRule);
+
+ /** HttpRule selector. */
+ public selector: string;
+
+ /** HttpRule get. */
+ public get?: (string|null);
+
+ /** HttpRule put. */
+ public put?: (string|null);
+
+ /** HttpRule post. */
+ public post?: (string|null);
+
+ /** HttpRule delete. */
+ public delete?: (string|null);
+
+ /** HttpRule patch. */
+ public patch?: (string|null);
+
+ /** HttpRule custom. */
+ public custom?: (google.api.ICustomHttpPattern|null);
+
+ /** HttpRule body. */
+ public body: string;
+
+ /** HttpRule responseBody. */
+ public responseBody: string;
+
+ /** HttpRule additionalBindings. */
+ public additionalBindings: google.api.IHttpRule[];
+
+ /** HttpRule pattern. */
+ public pattern?: ("get"|"put"|"post"|"delete"|"patch"|"custom");
+
+ /**
+ * Creates a new HttpRule instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns HttpRule instance
+ */
+ public static create(properties?: google.api.IHttpRule): google.api.HttpRule;
+
+ /**
+ * Encodes the specified HttpRule message. Does not implicitly {@link google.api.HttpRule.verify|verify} messages.
+ * @param message HttpRule message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.api.IHttpRule, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified HttpRule message, length delimited. Does not implicitly {@link google.api.HttpRule.verify|verify} messages.
+ * @param message HttpRule message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.api.IHttpRule, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a HttpRule message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns HttpRule
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.HttpRule;
+
+ /**
+ * Decodes a HttpRule message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns HttpRule
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.HttpRule;
+
+ /**
+ * Verifies a HttpRule message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a HttpRule message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns HttpRule
+ */
+ public static fromObject(object: { [k: string]: any }): google.api.HttpRule;
+
+ /**
+ * Creates a plain object from a HttpRule message. Also converts values to other types if specified.
+ * @param message HttpRule
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.api.HttpRule, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this HttpRule to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for HttpRule
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a CustomHttpPattern. */
+ interface ICustomHttpPattern {
+
+ /** CustomHttpPattern kind */
+ kind?: (string|null);
+
+ /** CustomHttpPattern path */
+ path?: (string|null);
+ }
+
+ /** Represents a CustomHttpPattern. */
+ class CustomHttpPattern implements ICustomHttpPattern {
+
+ /**
+ * Constructs a new CustomHttpPattern.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.api.ICustomHttpPattern);
+
+ /** CustomHttpPattern kind. */
+ public kind: string;
+
+ /** CustomHttpPattern path. */
+ public path: string;
+
+ /**
+ * Creates a new CustomHttpPattern instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns CustomHttpPattern instance
+ */
+ public static create(properties?: google.api.ICustomHttpPattern): google.api.CustomHttpPattern;
+
+ /**
+ * Encodes the specified CustomHttpPattern message. Does not implicitly {@link google.api.CustomHttpPattern.verify|verify} messages.
+ * @param message CustomHttpPattern message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.api.ICustomHttpPattern, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified CustomHttpPattern message, length delimited. Does not implicitly {@link google.api.CustomHttpPattern.verify|verify} messages.
+ * @param message CustomHttpPattern message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.api.ICustomHttpPattern, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a CustomHttpPattern message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns CustomHttpPattern
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.CustomHttpPattern;
+
+ /**
+ * Decodes a CustomHttpPattern message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns CustomHttpPattern
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.CustomHttpPattern;
+
+ /**
+ * Verifies a CustomHttpPattern message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a CustomHttpPattern message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns CustomHttpPattern
+ */
+ public static fromObject(object: { [k: string]: any }): google.api.CustomHttpPattern;
+
+ /**
+ * Creates a plain object from a CustomHttpPattern message. Also converts values to other types if specified.
+ * @param message CustomHttpPattern
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.api.CustomHttpPattern, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this CustomHttpPattern to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for CustomHttpPattern
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a CommonLanguageSettings. */
+ interface ICommonLanguageSettings {
+
+ /** CommonLanguageSettings referenceDocsUri */
+ referenceDocsUri?: (string|null);
+
+ /** CommonLanguageSettings destinations */
+ destinations?: (google.api.ClientLibraryDestination[]|null);
+ }
+
+ /** Represents a CommonLanguageSettings. */
+ class CommonLanguageSettings implements ICommonLanguageSettings {
+
+ /**
+ * Constructs a new CommonLanguageSettings.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.api.ICommonLanguageSettings);
+
+ /** CommonLanguageSettings referenceDocsUri. */
+ public referenceDocsUri: string;
+
+ /** CommonLanguageSettings destinations. */
+ public destinations: google.api.ClientLibraryDestination[];
+
+ /**
+ * Creates a new CommonLanguageSettings instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns CommonLanguageSettings instance
+ */
+ public static create(properties?: google.api.ICommonLanguageSettings): google.api.CommonLanguageSettings;
+
+ /**
+ * Encodes the specified CommonLanguageSettings message. Does not implicitly {@link google.api.CommonLanguageSettings.verify|verify} messages.
+ * @param message CommonLanguageSettings message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.api.ICommonLanguageSettings, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified CommonLanguageSettings message, length delimited. Does not implicitly {@link google.api.CommonLanguageSettings.verify|verify} messages.
+ * @param message CommonLanguageSettings message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.api.ICommonLanguageSettings, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a CommonLanguageSettings message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns CommonLanguageSettings
+ * @throws {Error} If the payload is not 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.CommonLanguageSettings;
+
+ /**
+ * Decodes a CommonLanguageSettings message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns CommonLanguageSettings
+ * @throws {Error} If the payload 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.CommonLanguageSettings;
+
+ /**
+ * Verifies a CommonLanguageSettings message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a CommonLanguageSettings message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns CommonLanguageSettings
+ */
+ public static fromObject(object: { [k: string]: any }): google.api.CommonLanguageSettings;
+
+ /**
+ * Creates a plain object from a CommonLanguageSettings message. Also converts values to other types if specified.
+ * @param message CommonLanguageSettings
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.api.CommonLanguageSettings, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this CommonLanguageSettings to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for CommonLanguageSettings
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a ClientLibrarySettings. */
+ interface IClientLibrarySettings {
+
+ /** ClientLibrarySettings version */
+ version?: (string|null);
+
+ /** ClientLibrarySettings launchStage */
+ launchStage?: (google.api.LaunchStage|keyof typeof google.api.LaunchStage|null);
+
+ /** ClientLibrarySettings restNumericEnums */
+ restNumericEnums?: (boolean|null);
+
+ /** ClientLibrarySettings javaSettings */
+ javaSettings?: (google.api.IJavaSettings|null);
+
+ /** ClientLibrarySettings cppSettings */
+ cppSettings?: (google.api.ICppSettings|null);
+
+ /** ClientLibrarySettings phpSettings */
+ phpSettings?: (google.api.IPhpSettings|null);
+
+ /** ClientLibrarySettings pythonSettings */
+ pythonSettings?: (google.api.IPythonSettings|null);
+
+ /** ClientLibrarySettings nodeSettings */
+ nodeSettings?: (google.api.INodeSettings|null);
+
+ /** ClientLibrarySettings dotnetSettings */
+ dotnetSettings?: (google.api.IDotnetSettings|null);
+
+ /** ClientLibrarySettings rubySettings */
+ rubySettings?: (google.api.IRubySettings|null);
+
+ /** ClientLibrarySettings goSettings */
+ goSettings?: (google.api.IGoSettings|null);
+ }
+
+ /** Represents a ClientLibrarySettings. */
+ class ClientLibrarySettings implements IClientLibrarySettings {
+
+ /**
+ * Constructs a new ClientLibrarySettings.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.api.IClientLibrarySettings);
+
+ /** ClientLibrarySettings version. */
+ public version: string;
+
+ /** ClientLibrarySettings launchStage. */
+ public launchStage: (google.api.LaunchStage|keyof typeof google.api.LaunchStage);
+
+ /** ClientLibrarySettings restNumericEnums. */
+ public restNumericEnums: boolean;
+
+ /** ClientLibrarySettings javaSettings. */
+ public javaSettings?: (google.api.IJavaSettings|null);
+
+ /** ClientLibrarySettings cppSettings. */
+ public cppSettings?: (google.api.ICppSettings|null);
+
+ /** ClientLibrarySettings phpSettings. */
+ public phpSettings?: (google.api.IPhpSettings|null);
+
+ /** ClientLibrarySettings pythonSettings. */
+ public pythonSettings?: (google.api.IPythonSettings|null);
+
+ /** ClientLibrarySettings nodeSettings. */
+ public nodeSettings?: (google.api.INodeSettings|null);
+
+ /** ClientLibrarySettings dotnetSettings. */
+ public dotnetSettings?: (google.api.IDotnetSettings|null);
+
+ /** ClientLibrarySettings rubySettings. */
+ public rubySettings?: (google.api.IRubySettings|null);
+
+ /** ClientLibrarySettings goSettings. */
+ public goSettings?: (google.api.IGoSettings|null);
+
+ /**
+ * Creates a new ClientLibrarySettings instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ClientLibrarySettings instance
+ */
+ public static create(properties?: google.api.IClientLibrarySettings): google.api.ClientLibrarySettings;
+
+ /**
+ * Encodes the specified ClientLibrarySettings message. Does not implicitly {@link google.api.ClientLibrarySettings.verify|verify} messages.
+ * @param message ClientLibrarySettings message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.api.IClientLibrarySettings, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ClientLibrarySettings message, length delimited. Does not implicitly {@link google.api.ClientLibrarySettings.verify|verify} messages.
+ * @param message ClientLibrarySettings message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.api.IClientLibrarySettings, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ClientLibrarySettings message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ClientLibrarySettings
+ * @throws {Error} If the payload is not 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.ClientLibrarySettings;
+
+ /**
+ * Decodes a ClientLibrarySettings message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ClientLibrarySettings
+ * @throws {Error} If the payload 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.ClientLibrarySettings;
+
+ /**
+ * Verifies a ClientLibrarySettings message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a ClientLibrarySettings message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ClientLibrarySettings
+ */
+ public static fromObject(object: { [k: string]: any }): google.api.ClientLibrarySettings;
+
+ /**
+ * Creates a plain object from a ClientLibrarySettings message. Also converts values to other types if specified.
+ * @param message ClientLibrarySettings
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.api.ClientLibrarySettings, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ClientLibrarySettings to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ClientLibrarySettings
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a Publishing. */
+ interface IPublishing {
+
+ /** Publishing methodSettings */
+ methodSettings?: (google.api.IMethodSettings[]|null);
+
+ /** Publishing newIssueUri */
+ newIssueUri?: (string|null);
+
+ /** Publishing documentationUri */
+ documentationUri?: (string|null);
+
+ /** Publishing apiShortName */
+ apiShortName?: (string|null);
+
+ /** Publishing githubLabel */
+ githubLabel?: (string|null);
+
+ /** Publishing codeownerGithubTeams */
+ codeownerGithubTeams?: (string[]|null);
+
+ /** Publishing docTagPrefix */
+ docTagPrefix?: (string|null);
+
+ /** Publishing organization */
+ organization?: (google.api.ClientLibraryOrganization|keyof typeof google.api.ClientLibraryOrganization|null);
+
+ /** Publishing librarySettings */
+ librarySettings?: (google.api.IClientLibrarySettings[]|null);
+
+ /** Publishing protoReferenceDocumentationUri */
+ protoReferenceDocumentationUri?: (string|null);
+
+ /** Publishing restReferenceDocumentationUri */
+ restReferenceDocumentationUri?: (string|null);
+ }
+
+ /** Represents a Publishing. */
+ class Publishing implements IPublishing {
+
+ /**
+ * Constructs a new Publishing.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.api.IPublishing);
+
+ /** Publishing methodSettings. */
+ public methodSettings: google.api.IMethodSettings[];
+
+ /** Publishing newIssueUri. */
+ public newIssueUri: string;
+
+ /** Publishing documentationUri. */
+ public documentationUri: string;
+
+ /** Publishing apiShortName. */
+ public apiShortName: string;
+
+ /** Publishing githubLabel. */
+ public githubLabel: string;
+
+ /** Publishing codeownerGithubTeams. */
+ public codeownerGithubTeams: string[];
+
+ /** Publishing docTagPrefix. */
+ public docTagPrefix: string;
+
+ /** Publishing organization. */
+ public organization: (google.api.ClientLibraryOrganization|keyof typeof google.api.ClientLibraryOrganization);
+
+ /** Publishing librarySettings. */
+ public librarySettings: google.api.IClientLibrarySettings[];
+
+ /** Publishing protoReferenceDocumentationUri. */
+ public protoReferenceDocumentationUri: string;
+
+ /** Publishing restReferenceDocumentationUri. */
+ public restReferenceDocumentationUri: string;
+
+ /**
+ * Creates a new Publishing instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns Publishing instance
+ */
+ public static create(properties?: google.api.IPublishing): google.api.Publishing;
+
+ /**
+ * Encodes the specified Publishing message. Does not implicitly {@link google.api.Publishing.verify|verify} messages.
+ * @param message Publishing message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.api.IPublishing, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified Publishing message, length delimited. Does not implicitly {@link google.api.Publishing.verify|verify} messages.
+ * @param message Publishing message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.api.IPublishing, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a Publishing message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns Publishing
+ * @throws {Error} If the payload is not 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.Publishing;
+
+ /**
+ * Decodes a Publishing message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns Publishing
+ * @throws {Error} If the payload 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.Publishing;
+
+ /**
+ * Verifies a Publishing message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a Publishing message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns Publishing
+ */
+ public static fromObject(object: { [k: string]: any }): google.api.Publishing;
+
+ /**
+ * Creates a plain object from a Publishing message. Also converts values to other types if specified.
+ * @param message Publishing
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.api.Publishing, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this Publishing to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for Publishing
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a JavaSettings. */
+ interface IJavaSettings {
+
+ /** JavaSettings libraryPackage */
+ libraryPackage?: (string|null);
+
+ /** JavaSettings serviceClassNames */
+ serviceClassNames?: ({ [k: string]: string }|null);
+
+ /** JavaSettings common */
+ common?: (google.api.ICommonLanguageSettings|null);
+ }
+
+ /** Represents a JavaSettings. */
+ class JavaSettings implements IJavaSettings {
+
+ /**
+ * Constructs a new JavaSettings.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.api.IJavaSettings);
+
+ /** JavaSettings libraryPackage. */
+ public libraryPackage: string;
+
+ /** JavaSettings serviceClassNames. */
+ public serviceClassNames: { [k: string]: string };
+
+ /** JavaSettings common. */
+ public common?: (google.api.ICommonLanguageSettings|null);
+
+ /**
+ * Creates a new JavaSettings instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns JavaSettings instance
+ */
+ public static create(properties?: google.api.IJavaSettings): google.api.JavaSettings;
+
+ /**
+ * Encodes the specified JavaSettings message. Does not implicitly {@link google.api.JavaSettings.verify|verify} messages.
+ * @param message JavaSettings message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.api.IJavaSettings, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified JavaSettings message, length delimited. Does not implicitly {@link google.api.JavaSettings.verify|verify} messages.
+ * @param message JavaSettings message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.api.IJavaSettings, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a JavaSettings message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns JavaSettings
+ * @throws {Error} If the payload is not 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.JavaSettings;
+
+ /**
+ * Decodes a JavaSettings message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns JavaSettings
+ * @throws {Error} If the payload 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.JavaSettings;
+
+ /**
+ * Verifies a JavaSettings message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a JavaSettings message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns JavaSettings
+ */
+ public static fromObject(object: { [k: string]: any }): google.api.JavaSettings;
+
+ /**
+ * Creates a plain object from a JavaSettings message. Also converts values to other types if specified.
+ * @param message JavaSettings
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.api.JavaSettings, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this JavaSettings to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for JavaSettings
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a CppSettings. */
+ interface ICppSettings {
+
+ /** CppSettings common */
+ common?: (google.api.ICommonLanguageSettings|null);
+ }
+
+ /** Represents a CppSettings. */
+ class CppSettings implements ICppSettings {
+
+ /**
+ * Constructs a new CppSettings.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.api.ICppSettings);
+
+ /** CppSettings common. */
+ public common?: (google.api.ICommonLanguageSettings|null);
+
+ /**
+ * Creates a new CppSettings instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns CppSettings instance
+ */
+ public static create(properties?: google.api.ICppSettings): google.api.CppSettings;
+
+ /**
+ * Encodes the specified CppSettings message. Does not implicitly {@link google.api.CppSettings.verify|verify} messages.
+ * @param message CppSettings message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.api.ICppSettings, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified CppSettings message, length delimited. Does not implicitly {@link google.api.CppSettings.verify|verify} messages.
+ * @param message CppSettings message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.api.ICppSettings, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a CppSettings message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns CppSettings
+ * @throws {Error} If the payload is not 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.CppSettings;
+
+ /**
+ * Decodes a CppSettings message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns CppSettings
+ * @throws {Error} If the payload 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.CppSettings;
+
+ /**
+ * Verifies a CppSettings message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a CppSettings message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns CppSettings
+ */
+ public static fromObject(object: { [k: string]: any }): google.api.CppSettings;
+
+ /**
+ * Creates a plain object from a CppSettings message. Also converts values to other types if specified.
+ * @param message CppSettings
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.api.CppSettings, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this CppSettings to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for CppSettings
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a PhpSettings. */
+ interface IPhpSettings {
+
+ /** PhpSettings common */
+ common?: (google.api.ICommonLanguageSettings|null);
+ }
+
+ /** Represents a PhpSettings. */
+ class PhpSettings implements IPhpSettings {
+
+ /**
+ * Constructs a new PhpSettings.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.api.IPhpSettings);
+
+ /** PhpSettings common. */
+ public common?: (google.api.ICommonLanguageSettings|null);
+
+ /**
+ * Creates a new PhpSettings instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns PhpSettings instance
+ */
+ public static create(properties?: google.api.IPhpSettings): google.api.PhpSettings;
+
+ /**
+ * Encodes the specified PhpSettings message. Does not implicitly {@link google.api.PhpSettings.verify|verify} messages.
+ * @param message PhpSettings message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.api.IPhpSettings, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified PhpSettings message, length delimited. Does not implicitly {@link google.api.PhpSettings.verify|verify} messages.
+ * @param message PhpSettings message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.api.IPhpSettings, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a PhpSettings message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns PhpSettings
+ * @throws {Error} If the payload is not 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.PhpSettings;
+
+ /**
+ * Decodes a PhpSettings message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns PhpSettings
+ * @throws {Error} If the payload 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.PhpSettings;
+
+ /**
+ * Verifies a PhpSettings message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a PhpSettings message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns PhpSettings
+ */
+ public static fromObject(object: { [k: string]: any }): google.api.PhpSettings;
+
+ /**
+ * Creates a plain object from a PhpSettings message. Also converts values to other types if specified.
+ * @param message PhpSettings
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.api.PhpSettings, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this PhpSettings to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for PhpSettings
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a PythonSettings. */
+ interface IPythonSettings {
+
+ /** PythonSettings common */
+ common?: (google.api.ICommonLanguageSettings|null);
+ }
+
+ /** Represents a PythonSettings. */
+ class PythonSettings implements IPythonSettings {
+
+ /**
+ * Constructs a new PythonSettings.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.api.IPythonSettings);
+
+ /** PythonSettings common. */
+ public common?: (google.api.ICommonLanguageSettings|null);
+
+ /**
+ * Creates a new PythonSettings instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns PythonSettings instance
+ */
+ public static create(properties?: google.api.IPythonSettings): google.api.PythonSettings;
+
+ /**
+ * Encodes the specified PythonSettings message. Does not implicitly {@link google.api.PythonSettings.verify|verify} messages.
+ * @param message PythonSettings message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.api.IPythonSettings, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified PythonSettings message, length delimited. Does not implicitly {@link google.api.PythonSettings.verify|verify} messages.
+ * @param message PythonSettings message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.api.IPythonSettings, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a PythonSettings message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns PythonSettings
+ * @throws {Error} If the payload is not 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.PythonSettings;
+
+ /**
+ * Decodes a PythonSettings message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns PythonSettings
+ * @throws {Error} If the payload 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.PythonSettings;
+
+ /**
+ * Verifies a PythonSettings message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a PythonSettings message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns PythonSettings
+ */
+ public static fromObject(object: { [k: string]: any }): google.api.PythonSettings;
+
+ /**
+ * Creates a plain object from a PythonSettings message. Also converts values to other types if specified.
+ * @param message PythonSettings
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.api.PythonSettings, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this PythonSettings to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for PythonSettings
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a NodeSettings. */
+ interface INodeSettings {
+
+ /** NodeSettings common */
+ common?: (google.api.ICommonLanguageSettings|null);
+ }
+
+ /** Represents a NodeSettings. */
+ class NodeSettings implements INodeSettings {
+
+ /**
+ * Constructs a new NodeSettings.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.api.INodeSettings);
+
+ /** NodeSettings common. */
+ public common?: (google.api.ICommonLanguageSettings|null);
+
+ /**
+ * Creates a new NodeSettings instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns NodeSettings instance
+ */
+ public static create(properties?: google.api.INodeSettings): google.api.NodeSettings;
+
+ /**
+ * Encodes the specified NodeSettings message. Does not implicitly {@link google.api.NodeSettings.verify|verify} messages.
+ * @param message NodeSettings message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.api.INodeSettings, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified NodeSettings message, length delimited. Does not implicitly {@link google.api.NodeSettings.verify|verify} messages.
+ * @param message NodeSettings message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.api.INodeSettings, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a NodeSettings message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns NodeSettings
+ * @throws {Error} If the payload is not 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.NodeSettings;
+
+ /**
+ * Decodes a NodeSettings message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns NodeSettings
+ * @throws {Error} If the payload 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.NodeSettings;
+
+ /**
+ * Verifies a NodeSettings message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a NodeSettings message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns NodeSettings
+ */
+ public static fromObject(object: { [k: string]: any }): google.api.NodeSettings;
+
+ /**
+ * Creates a plain object from a NodeSettings message. Also converts values to other types if specified.
+ * @param message NodeSettings
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.api.NodeSettings, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this NodeSettings to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for NodeSettings
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a DotnetSettings. */
+ interface IDotnetSettings {
+
+ /** DotnetSettings common */
+ common?: (google.api.ICommonLanguageSettings|null);
+
+ /** DotnetSettings renamedServices */
+ renamedServices?: ({ [k: string]: string }|null);
+
+ /** DotnetSettings renamedResources */
+ renamedResources?: ({ [k: string]: string }|null);
+
+ /** DotnetSettings ignoredResources */
+ ignoredResources?: (string[]|null);
+
+ /** DotnetSettings forcedNamespaceAliases */
+ forcedNamespaceAliases?: (string[]|null);
+
+ /** DotnetSettings handwrittenSignatures */
+ handwrittenSignatures?: (string[]|null);
+ }
+
+ /** Represents a DotnetSettings. */
+ class DotnetSettings implements IDotnetSettings {
+
+ /**
+ * Constructs a new DotnetSettings.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.api.IDotnetSettings);
+
+ /** DotnetSettings common. */
+ public common?: (google.api.ICommonLanguageSettings|null);
+
+ /** DotnetSettings renamedServices. */
+ public renamedServices: { [k: string]: string };
+
+ /** DotnetSettings renamedResources. */
+ public renamedResources: { [k: string]: string };
+
+ /** DotnetSettings ignoredResources. */
+ public ignoredResources: string[];
+
+ /** DotnetSettings forcedNamespaceAliases. */
+ public forcedNamespaceAliases: string[];
+
+ /** DotnetSettings handwrittenSignatures. */
+ public handwrittenSignatures: string[];
+
+ /**
+ * Creates a new DotnetSettings instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns DotnetSettings instance
+ */
+ public static create(properties?: google.api.IDotnetSettings): google.api.DotnetSettings;
+
+ /**
+ * Encodes the specified DotnetSettings message. Does not implicitly {@link google.api.DotnetSettings.verify|verify} messages.
+ * @param message DotnetSettings message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.api.IDotnetSettings, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified DotnetSettings message, length delimited. Does not implicitly {@link google.api.DotnetSettings.verify|verify} messages.
+ * @param message DotnetSettings message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.api.IDotnetSettings, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a DotnetSettings message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns DotnetSettings
+ * @throws {Error} If the payload is not 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.DotnetSettings;
+
+ /**
+ * Decodes a DotnetSettings message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns DotnetSettings
+ * @throws {Error} If the payload 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.DotnetSettings;
+
+ /**
+ * Verifies a DotnetSettings message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a DotnetSettings message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns DotnetSettings
+ */
+ public static fromObject(object: { [k: string]: any }): google.api.DotnetSettings;
+
+ /**
+ * Creates a plain object from a DotnetSettings message. Also converts values to other types if specified.
+ * @param message DotnetSettings
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.api.DotnetSettings, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this DotnetSettings to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for DotnetSettings
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a RubySettings. */
+ interface IRubySettings {
+
+ /** RubySettings common */
+ common?: (google.api.ICommonLanguageSettings|null);
+ }
+
+ /** Represents a RubySettings. */
+ class RubySettings implements IRubySettings {
+
+ /**
+ * Constructs a new RubySettings.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.api.IRubySettings);
+
+ /** RubySettings common. */
+ public common?: (google.api.ICommonLanguageSettings|null);
+
+ /**
+ * Creates a new RubySettings instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns RubySettings instance
+ */
+ public static create(properties?: google.api.IRubySettings): google.api.RubySettings;
+
+ /**
+ * Encodes the specified RubySettings message. Does not implicitly {@link google.api.RubySettings.verify|verify} messages.
+ * @param message RubySettings message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.api.IRubySettings, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified RubySettings message, length delimited. Does not implicitly {@link google.api.RubySettings.verify|verify} messages.
+ * @param message RubySettings message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.api.IRubySettings, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a RubySettings message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns RubySettings
+ * @throws {Error} If the payload is not 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.RubySettings;
+
+ /**
+ * Decodes a RubySettings message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns RubySettings
+ * @throws {Error} If the payload 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.RubySettings;
+
+ /**
+ * Verifies a RubySettings message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a RubySettings message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns RubySettings
+ */
+ public static fromObject(object: { [k: string]: any }): google.api.RubySettings;
+
+ /**
+ * Creates a plain object from a RubySettings message. Also converts values to other types if specified.
+ * @param message RubySettings
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.api.RubySettings, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this RubySettings to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for RubySettings
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a GoSettings. */
+ interface IGoSettings {
+
+ /** GoSettings common */
+ common?: (google.api.ICommonLanguageSettings|null);
+ }
+
+ /** Represents a GoSettings. */
+ class GoSettings implements IGoSettings {
+
+ /**
+ * Constructs a new GoSettings.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.api.IGoSettings);
+
+ /** GoSettings common. */
+ public common?: (google.api.ICommonLanguageSettings|null);
+
+ /**
+ * Creates a new GoSettings instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns GoSettings instance
+ */
+ public static create(properties?: google.api.IGoSettings): google.api.GoSettings;
+
+ /**
+ * Encodes the specified GoSettings message. Does not implicitly {@link google.api.GoSettings.verify|verify} messages.
+ * @param message GoSettings message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.api.IGoSettings, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified GoSettings message, length delimited. Does not implicitly {@link google.api.GoSettings.verify|verify} messages.
+ * @param message GoSettings message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.api.IGoSettings, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a GoSettings message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns GoSettings
+ * @throws {Error} If the payload is not 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.GoSettings;
+
+ /**
+ * Decodes a GoSettings message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns GoSettings
+ * @throws {Error} If the payload 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.GoSettings;
+
+ /**
+ * Verifies a GoSettings message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a GoSettings message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns GoSettings
+ */
+ public static fromObject(object: { [k: string]: any }): google.api.GoSettings;
+
+ /**
+ * Creates a plain object from a GoSettings message. Also converts values to other types if specified.
+ * @param message GoSettings
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.api.GoSettings, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this GoSettings to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for GoSettings
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a MethodSettings. */
+ interface IMethodSettings {
+
+ /** MethodSettings selector */
+ selector?: (string|null);
+
+ /** MethodSettings longRunning */
+ longRunning?: (google.api.MethodSettings.ILongRunning|null);
+
+ /** MethodSettings autoPopulatedFields */
+ autoPopulatedFields?: (string[]|null);
+ }
+
+ /** Represents a MethodSettings. */
+ class MethodSettings implements IMethodSettings {
+
+ /**
+ * Constructs a new MethodSettings.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.api.IMethodSettings);
+
+ /** MethodSettings selector. */
+ public selector: string;
+
+ /** MethodSettings longRunning. */
+ public longRunning?: (google.api.MethodSettings.ILongRunning|null);
+
+ /** MethodSettings autoPopulatedFields. */
+ public autoPopulatedFields: string[];
+
+ /**
+ * Creates a new MethodSettings instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns MethodSettings instance
+ */
+ public static create(properties?: google.api.IMethodSettings): google.api.MethodSettings;
+
+ /**
+ * Encodes the specified MethodSettings message. Does not implicitly {@link google.api.MethodSettings.verify|verify} messages.
+ * @param message MethodSettings message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.api.IMethodSettings, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified MethodSettings message, length delimited. Does not implicitly {@link google.api.MethodSettings.verify|verify} messages.
+ * @param message MethodSettings message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.api.IMethodSettings, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a MethodSettings message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns MethodSettings
+ * @throws {Error} If the payload is not 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.MethodSettings;
+
+ /**
+ * Decodes a MethodSettings message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns MethodSettings
+ * @throws {Error} If the payload 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.MethodSettings;
+
+ /**
+ * Verifies a MethodSettings message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a MethodSettings message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns MethodSettings
+ */
+ public static fromObject(object: { [k: string]: any }): google.api.MethodSettings;
+
+ /**
+ * Creates a plain object from a MethodSettings message. Also converts values to other types if specified.
+ * @param message MethodSettings
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.api.MethodSettings, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this MethodSettings to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for MethodSettings
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace MethodSettings {
+
+ /** Properties of a LongRunning. */
+ interface ILongRunning {
+
+ /** LongRunning initialPollDelay */
+ initialPollDelay?: (google.protobuf.IDuration|null);
+
+ /** LongRunning pollDelayMultiplier */
+ pollDelayMultiplier?: (number|null);
+
+ /** LongRunning maxPollDelay */
+ maxPollDelay?: (google.protobuf.IDuration|null);
+
+ /** LongRunning totalPollTimeout */
+ totalPollTimeout?: (google.protobuf.IDuration|null);
+ }
+
+ /** Represents a LongRunning. */
+ class LongRunning implements ILongRunning {
+
+ /**
+ * Constructs a new LongRunning.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.api.MethodSettings.ILongRunning);
+
+ /** LongRunning initialPollDelay. */
+ public initialPollDelay?: (google.protobuf.IDuration|null);
+
+ /** LongRunning pollDelayMultiplier. */
+ public pollDelayMultiplier: number;
+
+ /** LongRunning maxPollDelay. */
+ public maxPollDelay?: (google.protobuf.IDuration|null);
+
+ /** LongRunning totalPollTimeout. */
+ public totalPollTimeout?: (google.protobuf.IDuration|null);
+
+ /**
+ * Creates a new LongRunning instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns LongRunning instance
+ */
+ public static create(properties?: google.api.MethodSettings.ILongRunning): google.api.MethodSettings.LongRunning;
+
+ /**
+ * Encodes the specified LongRunning message. Does not implicitly {@link google.api.MethodSettings.LongRunning.verify|verify} messages.
+ * @param message LongRunning message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.api.MethodSettings.ILongRunning, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified LongRunning message, length delimited. Does not implicitly {@link google.api.MethodSettings.LongRunning.verify|verify} messages.
+ * @param message LongRunning message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.api.MethodSettings.ILongRunning, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a LongRunning message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns LongRunning
+ * @throws {Error} If the payload is not 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.MethodSettings.LongRunning;
+
+ /**
+ * Decodes a LongRunning message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns LongRunning
+ * @throws {Error} If the payload 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.MethodSettings.LongRunning;
+
+ /**
+ * Verifies a LongRunning message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a LongRunning message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns LongRunning
+ */
+ public static fromObject(object: { [k: string]: any }): google.api.MethodSettings.LongRunning;
+
+ /**
+ * Creates a plain object from a LongRunning message. Also converts values to other types if specified.
+ * @param message LongRunning
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.api.MethodSettings.LongRunning, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this LongRunning to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for LongRunning
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+ }
+
+ /** ClientLibraryOrganization enum. */
+ enum ClientLibraryOrganization {
+ CLIENT_LIBRARY_ORGANIZATION_UNSPECIFIED = 0,
+ CLOUD = 1,
+ ADS = 2,
+ PHOTOS = 3,
+ STREET_VIEW = 4,
+ SHOPPING = 5,
+ GEO = 6,
+ GENERATIVE_AI = 7
+ }
+
+ /** ClientLibraryDestination enum. */
+ enum ClientLibraryDestination {
+ CLIENT_LIBRARY_DESTINATION_UNSPECIFIED = 0,
+ GITHUB = 10,
+ PACKAGE_MANAGER = 20
+ }
+
+ /** LaunchStage enum. */
+ enum LaunchStage {
+ LAUNCH_STAGE_UNSPECIFIED = 0,
+ UNIMPLEMENTED = 6,
+ PRELAUNCH = 7,
+ EARLY_ACCESS = 1,
+ ALPHA = 2,
+ BETA = 3,
+ GA = 4,
+ DEPRECATED = 5
+ }
+
+ /** 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,
+ IDENTIFIER = 8
+ }
+
+ /** Properties of a ResourceDescriptor. */
+ interface IResourceDescriptor {
+
+ /** ResourceDescriptor type */
+ type?: (string|null);
+
+ /** ResourceDescriptor pattern */
+ pattern?: (string[]|null);
+
+ /** ResourceDescriptor nameField */
+ nameField?: (string|null);
+
+ /** ResourceDescriptor history */
+ history?: (google.api.ResourceDescriptor.History|keyof typeof google.api.ResourceDescriptor.History|null);
+
+ /** ResourceDescriptor plural */
+ plural?: (string|null);
+
+ /** ResourceDescriptor singular */
+ singular?: (string|null);
+
+ /** ResourceDescriptor style */
+ style?: (google.api.ResourceDescriptor.Style[]|null);
+ }
+
+ /** Represents a ResourceDescriptor. */
+ class ResourceDescriptor implements IResourceDescriptor {
+
+ /**
+ * Constructs a new ResourceDescriptor.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.api.IResourceDescriptor);
+
+ /** ResourceDescriptor type. */
+ public type: string;
+
+ /** ResourceDescriptor pattern. */
+ public pattern: string[];
+
+ /** ResourceDescriptor nameField. */
+ public nameField: string;
+
+ /** ResourceDescriptor history. */
+ public history: (google.api.ResourceDescriptor.History|keyof typeof google.api.ResourceDescriptor.History);
+
+ /** ResourceDescriptor plural. */
+ public plural: string;
+
+ /** ResourceDescriptor singular. */
+ public singular: string;
+
+ /** ResourceDescriptor style. */
+ public style: google.api.ResourceDescriptor.Style[];
+
+ /**
+ * Creates a new ResourceDescriptor instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ResourceDescriptor instance
+ */
+ public static create(properties?: google.api.IResourceDescriptor): google.api.ResourceDescriptor;
+
+ /**
+ * Encodes the specified ResourceDescriptor message. Does not implicitly {@link google.api.ResourceDescriptor.verify|verify} messages.
+ * @param message ResourceDescriptor message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.api.IResourceDescriptor, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ResourceDescriptor message, length delimited. Does not implicitly {@link google.api.ResourceDescriptor.verify|verify} messages.
+ * @param message ResourceDescriptor message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.api.IResourceDescriptor, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ResourceDescriptor message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ResourceDescriptor
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.ResourceDescriptor;
+
+ /**
+ * Decodes a ResourceDescriptor message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ResourceDescriptor
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.ResourceDescriptor;
+
+ /**
+ * Verifies a ResourceDescriptor message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a ResourceDescriptor message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ResourceDescriptor
+ */
+ public static fromObject(object: { [k: string]: any }): google.api.ResourceDescriptor;
+
+ /**
+ * Creates a plain object from a ResourceDescriptor message. Also converts values to other types if specified.
+ * @param message ResourceDescriptor
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.api.ResourceDescriptor, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ResourceDescriptor to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ResourceDescriptor
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace ResourceDescriptor {
+
+ /** History enum. */
+ enum History {
+ HISTORY_UNSPECIFIED = 0,
+ ORIGINALLY_SINGLE_PATTERN = 1,
+ FUTURE_MULTI_PATTERN = 2
+ }
+
+ /** Style enum. */
+ enum Style {
+ STYLE_UNSPECIFIED = 0,
+ DECLARATIVE_FRIENDLY = 1
+ }
+ }
+
+ /** Properties of a ResourceReference. */
+ interface IResourceReference {
+
+ /** ResourceReference type */
+ type?: (string|null);
+
+ /** ResourceReference childType */
+ childType?: (string|null);
+ }
+
+ /** Represents a ResourceReference. */
+ class ResourceReference implements IResourceReference {
+
+ /**
+ * Constructs a new ResourceReference.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.api.IResourceReference);
+
+ /** ResourceReference type. */
+ public type: string;
+
+ /** ResourceReference childType. */
+ public childType: string;
+
+ /**
+ * Creates a new ResourceReference instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ResourceReference instance
+ */
+ public static create(properties?: google.api.IResourceReference): google.api.ResourceReference;
+
+ /**
+ * Encodes the specified ResourceReference message. Does not implicitly {@link google.api.ResourceReference.verify|verify} messages.
+ * @param message ResourceReference message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.api.IResourceReference, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ResourceReference message, length delimited. Does not implicitly {@link google.api.ResourceReference.verify|verify} messages.
+ * @param message ResourceReference message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.api.IResourceReference, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ResourceReference message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ResourceReference
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.ResourceReference;
+
+ /**
+ * Decodes a ResourceReference message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ResourceReference
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.ResourceReference;
+
+ /**
+ * Verifies a ResourceReference message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a ResourceReference message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ResourceReference
+ */
+ public static fromObject(object: { [k: string]: any }): google.api.ResourceReference;
+
+ /**
+ * Creates a plain object from a ResourceReference message. Also converts values to other types if specified.
+ * @param message ResourceReference
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.api.ResourceReference, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ResourceReference to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ResourceReference
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+ }
+
+ /** Namespace protobuf. */
+ namespace protobuf {
+
+ /** Properties of a FileDescriptorSet. */
+ interface IFileDescriptorSet {
+
+ /** FileDescriptorSet file */
+ file?: (google.protobuf.IFileDescriptorProto[]|null);
+ }
+
+ /** Represents a FileDescriptorSet. */
+ class FileDescriptorSet implements IFileDescriptorSet {
+
+ /**
+ * Constructs a new FileDescriptorSet.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.protobuf.IFileDescriptorSet);
+
+ /** FileDescriptorSet file. */
+ public file: google.protobuf.IFileDescriptorProto[];
+
+ /**
+ * Creates a new FileDescriptorSet instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns FileDescriptorSet instance
+ */
+ public static create(properties?: google.protobuf.IFileDescriptorSet): google.protobuf.FileDescriptorSet;
+
+ /**
+ * Encodes the specified FileDescriptorSet message. Does not implicitly {@link google.protobuf.FileDescriptorSet.verify|verify} messages.
+ * @param message FileDescriptorSet message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.protobuf.IFileDescriptorSet, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified FileDescriptorSet message, length delimited. Does not implicitly {@link google.protobuf.FileDescriptorSet.verify|verify} messages.
+ * @param message FileDescriptorSet message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.protobuf.IFileDescriptorSet, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a FileDescriptorSet message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns FileDescriptorSet
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.FileDescriptorSet;
+
+ /**
+ * Decodes a FileDescriptorSet message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns FileDescriptorSet
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.FileDescriptorSet;
+
+ /**
+ * Verifies a FileDescriptorSet message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a FileDescriptorSet message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns FileDescriptorSet
+ */
+ public static fromObject(object: { [k: string]: any }): google.protobuf.FileDescriptorSet;
+
+ /**
+ * Creates a plain object from a FileDescriptorSet message. Also converts values to other types if specified.
+ * @param message FileDescriptorSet
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.protobuf.FileDescriptorSet, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this FileDescriptorSet to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for FileDescriptorSet
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Edition enum. */
+ enum Edition {
+ EDITION_UNKNOWN = 0,
+ EDITION_PROTO2 = 998,
+ EDITION_PROTO3 = 999,
+ EDITION_2023 = 1000,
+ EDITION_2024 = 1001,
+ EDITION_1_TEST_ONLY = 1,
+ EDITION_2_TEST_ONLY = 2,
+ EDITION_99997_TEST_ONLY = 99997,
+ EDITION_99998_TEST_ONLY = 99998,
+ EDITION_99999_TEST_ONLY = 99999,
+ EDITION_MAX = 2147483647
+ }
+
+ /** 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?: (google.protobuf.Edition|keyof typeof google.protobuf.Edition|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: (google.protobuf.Edition|keyof typeof google.protobuf.Edition);
+
+ /**
+ * 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);
+
+ /** ExtensionRangeOptions declaration */
+ declaration?: (google.protobuf.ExtensionRangeOptions.IDeclaration[]|null);
+
+ /** ExtensionRangeOptions features */
+ features?: (google.protobuf.IFeatureSet|null);
+
+ /** ExtensionRangeOptions verification */
+ verification?: (google.protobuf.ExtensionRangeOptions.VerificationState|keyof typeof google.protobuf.ExtensionRangeOptions.VerificationState|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[];
+
+ /** ExtensionRangeOptions declaration. */
+ public declaration: google.protobuf.ExtensionRangeOptions.IDeclaration[];
+
+ /** ExtensionRangeOptions features. */
+ public features?: (google.protobuf.IFeatureSet|null);
+
+ /** ExtensionRangeOptions verification. */
+ public verification: (google.protobuf.ExtensionRangeOptions.VerificationState|keyof typeof google.protobuf.ExtensionRangeOptions.VerificationState);
+
+ /**
+ * 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;
+ }
+
+ namespace ExtensionRangeOptions {
+
+ /** Properties of a Declaration. */
+ interface IDeclaration {
+
+ /** Declaration number */
+ number?: (number|null);
+
+ /** Declaration fullName */
+ fullName?: (string|null);
+
+ /** Declaration type */
+ type?: (string|null);
+
+ /** Declaration reserved */
+ reserved?: (boolean|null);
+
+ /** Declaration repeated */
+ repeated?: (boolean|null);
+ }
+
+ /** Represents a Declaration. */
+ class Declaration implements IDeclaration {
+
+ /**
+ * Constructs a new Declaration.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.protobuf.ExtensionRangeOptions.IDeclaration);
+
+ /** Declaration number. */
+ public number: number;
+
+ /** Declaration fullName. */
+ public fullName: string;
+
+ /** Declaration type. */
+ public type: string;
+
+ /** Declaration reserved. */
+ public reserved: boolean;
+
+ /** Declaration repeated. */
+ public repeated: boolean;
+
+ /**
+ * Creates a new Declaration instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns Declaration instance
+ */
+ public static create(properties?: google.protobuf.ExtensionRangeOptions.IDeclaration): google.protobuf.ExtensionRangeOptions.Declaration;
+
+ /**
+ * Encodes the specified Declaration message. Does not implicitly {@link google.protobuf.ExtensionRangeOptions.Declaration.verify|verify} messages.
+ * @param message Declaration message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.protobuf.ExtensionRangeOptions.IDeclaration, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified Declaration message, length delimited. Does not implicitly {@link google.protobuf.ExtensionRangeOptions.Declaration.verify|verify} messages.
+ * @param message Declaration message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.protobuf.ExtensionRangeOptions.IDeclaration, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a Declaration message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns Declaration
+ * @throws {Error} If the payload is not 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.Declaration;
+
+ /**
+ * Decodes a Declaration message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns Declaration
+ * @throws {Error} If the payload 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.Declaration;
+
+ /**
+ * Verifies a Declaration message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a Declaration message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns Declaration
+ */
+ public static fromObject(object: { [k: string]: any }): google.protobuf.ExtensionRangeOptions.Declaration;
+
+ /**
+ * Creates a plain object from a Declaration message. Also converts values to other types if specified.
+ * @param message Declaration
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.protobuf.ExtensionRangeOptions.Declaration, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this Declaration to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for Declaration
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** VerificationState enum. */
+ enum VerificationState {
+ DECLARATION = 0,
+ UNVERIFIED = 1
+ }
+ }
+
+ /** 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_REPEATED = 3,
+ LABEL_REQUIRED = 2
+ }
+ }
+
+ /** 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 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 features */
+ features?: (google.protobuf.IFeatureSet|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 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 features. */
+ public features?: (google.protobuf.IFeatureSet|null);
+
+ /** 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 deprecatedLegacyJsonFieldConflicts */
+ deprecatedLegacyJsonFieldConflicts?: (boolean|null);
+
+ /** MessageOptions features */
+ features?: (google.protobuf.IFeatureSet|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 deprecatedLegacyJsonFieldConflicts. */
+ public deprecatedLegacyJsonFieldConflicts: boolean;
+
+ /** MessageOptions features. */
+ public features?: (google.protobuf.IFeatureSet|null);
+
+ /** 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 debugRedact */
+ debugRedact?: (boolean|null);
+
+ /** FieldOptions retention */
+ retention?: (google.protobuf.FieldOptions.OptionRetention|keyof typeof google.protobuf.FieldOptions.OptionRetention|null);
+
+ /** FieldOptions targets */
+ targets?: (google.protobuf.FieldOptions.OptionTargetType[]|null);
+
+ /** FieldOptions editionDefaults */
+ editionDefaults?: (google.protobuf.FieldOptions.IEditionDefault[]|null);
+
+ /** FieldOptions features */
+ features?: (google.protobuf.IFeatureSet|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 debugRedact. */
+ public debugRedact: boolean;
+
+ /** FieldOptions retention. */
+ public retention: (google.protobuf.FieldOptions.OptionRetention|keyof typeof google.protobuf.FieldOptions.OptionRetention);
+
+ /** FieldOptions targets. */
+ public targets: google.protobuf.FieldOptions.OptionTargetType[];
+
+ /** FieldOptions editionDefaults. */
+ public editionDefaults: google.protobuf.FieldOptions.IEditionDefault[];
+
+ /** FieldOptions features. */
+ public features?: (google.protobuf.IFeatureSet|null);
+
+ /** 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
+ }
+
+ /** OptionRetention enum. */
+ enum OptionRetention {
+ RETENTION_UNKNOWN = 0,
+ RETENTION_RUNTIME = 1,
+ RETENTION_SOURCE = 2
+ }
+
+ /** OptionTargetType enum. */
+ enum OptionTargetType {
+ TARGET_TYPE_UNKNOWN = 0,
+ TARGET_TYPE_FILE = 1,
+ TARGET_TYPE_EXTENSION_RANGE = 2,
+ TARGET_TYPE_MESSAGE = 3,
+ TARGET_TYPE_FIELD = 4,
+ TARGET_TYPE_ONEOF = 5,
+ TARGET_TYPE_ENUM = 6,
+ TARGET_TYPE_ENUM_ENTRY = 7,
+ TARGET_TYPE_SERVICE = 8,
+ TARGET_TYPE_METHOD = 9
+ }
+
+ /** Properties of an EditionDefault. */
+ interface IEditionDefault {
+
+ /** EditionDefault edition */
+ edition?: (google.protobuf.Edition|keyof typeof google.protobuf.Edition|null);
+
+ /** EditionDefault value */
+ value?: (string|null);
+ }
+
+ /** Represents an EditionDefault. */
+ class EditionDefault implements IEditionDefault {
+
+ /**
+ * Constructs a new EditionDefault.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.protobuf.FieldOptions.IEditionDefault);
+
+ /** EditionDefault edition. */
+ public edition: (google.protobuf.Edition|keyof typeof google.protobuf.Edition);
+
+ /** EditionDefault value. */
+ public value: string;
+
+ /**
+ * Creates a new EditionDefault instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns EditionDefault instance
+ */
+ public static create(properties?: google.protobuf.FieldOptions.IEditionDefault): google.protobuf.FieldOptions.EditionDefault;
+
+ /**
+ * Encodes the specified EditionDefault message. Does not implicitly {@link google.protobuf.FieldOptions.EditionDefault.verify|verify} messages.
+ * @param message EditionDefault message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.protobuf.FieldOptions.IEditionDefault, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified EditionDefault message, length delimited. Does not implicitly {@link google.protobuf.FieldOptions.EditionDefault.verify|verify} messages.
+ * @param message EditionDefault message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.protobuf.FieldOptions.IEditionDefault, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an EditionDefault message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns EditionDefault
+ * @throws {Error} If the payload is not 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.EditionDefault;
+
+ /**
+ * Decodes an EditionDefault message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns EditionDefault
+ * @throws {Error} If the payload 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.EditionDefault;
+
+ /**
+ * Verifies an EditionDefault message.
+ * @param message Plain 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 EditionDefault message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns EditionDefault
+ */
+ public static fromObject(object: { [k: string]: any }): google.protobuf.FieldOptions.EditionDefault;
+
+ /**
+ * Creates a plain object from an EditionDefault message. Also converts values to other types if specified.
+ * @param message EditionDefault
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.protobuf.FieldOptions.EditionDefault, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this EditionDefault to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for EditionDefault
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+ }
+
+ /** Properties of an OneofOptions. */
+ interface IOneofOptions {
+
+ /** OneofOptions features */
+ features?: (google.protobuf.IFeatureSet|null);
+
+ /** 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 features. */
+ public features?: (google.protobuf.IFeatureSet|null);
+
+ /** 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 deprecatedLegacyJsonFieldConflicts */
+ deprecatedLegacyJsonFieldConflicts?: (boolean|null);
+
+ /** EnumOptions features */
+ features?: (google.protobuf.IFeatureSet|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 deprecatedLegacyJsonFieldConflicts. */
+ public deprecatedLegacyJsonFieldConflicts: boolean;
+
+ /** EnumOptions features. */
+ public features?: (google.protobuf.IFeatureSet|null);
+
+ /** 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 features */
+ features?: (google.protobuf.IFeatureSet|null);
+
+ /** EnumValueOptions debugRedact */
+ debugRedact?: (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 features. */
+ public features?: (google.protobuf.IFeatureSet|null);
+
+ /** EnumValueOptions debugRedact. */
+ public debugRedact: 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 features */
+ features?: (google.protobuf.IFeatureSet|null);
+
+ /** 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);
+
+ /** ServiceOptions .google.api.apiVersion */
+ ".google.api.apiVersion"?: (string|null);
+ }
+
+ /** Represents a ServiceOptions. */
+ class ServiceOptions implements IServiceOptions {
+
+ /**
+ * Constructs a new ServiceOptions.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.protobuf.IServiceOptions);
+
+ /** ServiceOptions features. */
+ public features?: (google.protobuf.IFeatureSet|null);
+
+ /** 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 features */
+ features?: (google.protobuf.IFeatureSet|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);
+ }
+
+ /** 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 features. */
+ public features?: (google.protobuf.IFeatureSet|null);
+
+ /** 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|Buffer|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|Buffer|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 FeatureSet. */
+ interface IFeatureSet {
+
+ /** FeatureSet fieldPresence */
+ fieldPresence?: (google.protobuf.FeatureSet.FieldPresence|keyof typeof google.protobuf.FeatureSet.FieldPresence|null);
+
+ /** FeatureSet enumType */
+ enumType?: (google.protobuf.FeatureSet.EnumType|keyof typeof google.protobuf.FeatureSet.EnumType|null);
+
+ /** FeatureSet repeatedFieldEncoding */
+ repeatedFieldEncoding?: (google.protobuf.FeatureSet.RepeatedFieldEncoding|keyof typeof google.protobuf.FeatureSet.RepeatedFieldEncoding|null);
+
+ /** FeatureSet utf8Validation */
+ utf8Validation?: (google.protobuf.FeatureSet.Utf8Validation|keyof typeof google.protobuf.FeatureSet.Utf8Validation|null);
+
+ /** FeatureSet messageEncoding */
+ messageEncoding?: (google.protobuf.FeatureSet.MessageEncoding|keyof typeof google.protobuf.FeatureSet.MessageEncoding|null);
+
+ /** FeatureSet jsonFormat */
+ jsonFormat?: (google.protobuf.FeatureSet.JsonFormat|keyof typeof google.protobuf.FeatureSet.JsonFormat|null);
+ }
+
+ /** Represents a FeatureSet. */
+ class FeatureSet implements IFeatureSet {
+
+ /**
+ * Constructs a new FeatureSet.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.protobuf.IFeatureSet);
+
+ /** FeatureSet fieldPresence. */
+ public fieldPresence: (google.protobuf.FeatureSet.FieldPresence|keyof typeof google.protobuf.FeatureSet.FieldPresence);
+
+ /** FeatureSet enumType. */
+ public enumType: (google.protobuf.FeatureSet.EnumType|keyof typeof google.protobuf.FeatureSet.EnumType);
+
+ /** FeatureSet repeatedFieldEncoding. */
+ public repeatedFieldEncoding: (google.protobuf.FeatureSet.RepeatedFieldEncoding|keyof typeof google.protobuf.FeatureSet.RepeatedFieldEncoding);
+
+ /** FeatureSet utf8Validation. */
+ public utf8Validation: (google.protobuf.FeatureSet.Utf8Validation|keyof typeof google.protobuf.FeatureSet.Utf8Validation);
+
+ /** FeatureSet messageEncoding. */
+ public messageEncoding: (google.protobuf.FeatureSet.MessageEncoding|keyof typeof google.protobuf.FeatureSet.MessageEncoding);
+
+ /** FeatureSet jsonFormat. */
+ public jsonFormat: (google.protobuf.FeatureSet.JsonFormat|keyof typeof google.protobuf.FeatureSet.JsonFormat);
+
+ /**
+ * Creates a new FeatureSet instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns FeatureSet instance
+ */
+ public static create(properties?: google.protobuf.IFeatureSet): google.protobuf.FeatureSet;
+
+ /**
+ * Encodes the specified FeatureSet message. Does not implicitly {@link google.protobuf.FeatureSet.verify|verify} messages.
+ * @param message FeatureSet message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.protobuf.IFeatureSet, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified FeatureSet message, length delimited. Does not implicitly {@link google.protobuf.FeatureSet.verify|verify} messages.
+ * @param message FeatureSet message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.protobuf.IFeatureSet, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a FeatureSet message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns FeatureSet
+ * @throws {Error} If the payload is not 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.FeatureSet;
+
+ /**
+ * Decodes a FeatureSet message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns FeatureSet
+ * @throws {Error} If the payload 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.FeatureSet;
+
+ /**
+ * Verifies a FeatureSet message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a FeatureSet message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns FeatureSet
+ */
+ public static fromObject(object: { [k: string]: any }): google.protobuf.FeatureSet;
+
+ /**
+ * Creates a plain object from a FeatureSet message. Also converts values to other types if specified.
+ * @param message FeatureSet
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.protobuf.FeatureSet, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this FeatureSet to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for FeatureSet
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace FeatureSet {
+
+ /** FieldPresence enum. */
+ enum FieldPresence {
+ FIELD_PRESENCE_UNKNOWN = 0,
+ EXPLICIT = 1,
+ IMPLICIT = 2,
+ LEGACY_REQUIRED = 3
+ }
+
+ /** EnumType enum. */
+ enum EnumType {
+ ENUM_TYPE_UNKNOWN = 0,
+ OPEN = 1,
+ CLOSED = 2
+ }
+
+ /** RepeatedFieldEncoding enum. */
+ enum RepeatedFieldEncoding {
+ REPEATED_FIELD_ENCODING_UNKNOWN = 0,
+ PACKED = 1,
+ EXPANDED = 2
+ }
+
+ /** Utf8Validation enum. */
+ enum Utf8Validation {
+ UTF8_VALIDATION_UNKNOWN = 0,
+ VERIFY = 2,
+ NONE = 3
+ }
+
+ /** MessageEncoding enum. */
+ enum MessageEncoding {
+ MESSAGE_ENCODING_UNKNOWN = 0,
+ LENGTH_PREFIXED = 1,
+ DELIMITED = 2
+ }
+
+ /** JsonFormat enum. */
+ enum JsonFormat {
+ JSON_FORMAT_UNKNOWN = 0,
+ ALLOW = 1,
+ LEGACY_BEST_EFFORT = 2
+ }
+ }
+
+ /** Properties of a FeatureSetDefaults. */
+ interface IFeatureSetDefaults {
+
+ /** FeatureSetDefaults defaults */
+ defaults?: (google.protobuf.FeatureSetDefaults.IFeatureSetEditionDefault[]|null);
+
+ /** FeatureSetDefaults minimumEdition */
+ minimumEdition?: (google.protobuf.Edition|keyof typeof google.protobuf.Edition|null);
+
+ /** FeatureSetDefaults maximumEdition */
+ maximumEdition?: (google.protobuf.Edition|keyof typeof google.protobuf.Edition|null);
+ }
+
+ /** Represents a FeatureSetDefaults. */
+ class FeatureSetDefaults implements IFeatureSetDefaults {
+
+ /**
+ * Constructs a new FeatureSetDefaults.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.protobuf.IFeatureSetDefaults);
+
+ /** FeatureSetDefaults defaults. */
+ public defaults: google.protobuf.FeatureSetDefaults.IFeatureSetEditionDefault[];
+
+ /** FeatureSetDefaults minimumEdition. */
+ public minimumEdition: (google.protobuf.Edition|keyof typeof google.protobuf.Edition);
+
+ /** FeatureSetDefaults maximumEdition. */
+ public maximumEdition: (google.protobuf.Edition|keyof typeof google.protobuf.Edition);
+
+ /**
+ * Creates a new FeatureSetDefaults instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns FeatureSetDefaults instance
+ */
+ public static create(properties?: google.protobuf.IFeatureSetDefaults): google.protobuf.FeatureSetDefaults;
+
+ /**
+ * Encodes the specified FeatureSetDefaults message. Does not implicitly {@link google.protobuf.FeatureSetDefaults.verify|verify} messages.
+ * @param message FeatureSetDefaults message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.protobuf.IFeatureSetDefaults, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified FeatureSetDefaults message, length delimited. Does not implicitly {@link google.protobuf.FeatureSetDefaults.verify|verify} messages.
+ * @param message FeatureSetDefaults message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.protobuf.IFeatureSetDefaults, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a FeatureSetDefaults message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns FeatureSetDefaults
+ * @throws {Error} If the payload is not 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.FeatureSetDefaults;
+
+ /**
+ * Decodes a FeatureSetDefaults message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns FeatureSetDefaults
+ * @throws {Error} If the payload 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.FeatureSetDefaults;
+
+ /**
+ * Verifies a FeatureSetDefaults message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a FeatureSetDefaults message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns FeatureSetDefaults
+ */
+ public static fromObject(object: { [k: string]: any }): google.protobuf.FeatureSetDefaults;
+
+ /**
+ * Creates a plain object from a FeatureSetDefaults message. Also converts values to other types if specified.
+ * @param message FeatureSetDefaults
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.protobuf.FeatureSetDefaults, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this FeatureSetDefaults to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for FeatureSetDefaults
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace FeatureSetDefaults {
+
+ /** Properties of a FeatureSetEditionDefault. */
+ interface IFeatureSetEditionDefault {
+
+ /** FeatureSetEditionDefault edition */
+ edition?: (google.protobuf.Edition|keyof typeof google.protobuf.Edition|null);
+
+ /** FeatureSetEditionDefault features */
+ features?: (google.protobuf.IFeatureSet|null);
+ }
+
+ /** Represents a FeatureSetEditionDefault. */
+ class FeatureSetEditionDefault implements IFeatureSetEditionDefault {
+
+ /**
+ * Constructs a new FeatureSetEditionDefault.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.protobuf.FeatureSetDefaults.IFeatureSetEditionDefault);
+
+ /** FeatureSetEditionDefault edition. */
+ public edition: (google.protobuf.Edition|keyof typeof google.protobuf.Edition);
+
+ /** FeatureSetEditionDefault features. */
+ public features?: (google.protobuf.IFeatureSet|null);
+
+ /**
+ * Creates a new FeatureSetEditionDefault instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns FeatureSetEditionDefault instance
+ */
+ public static create(properties?: google.protobuf.FeatureSetDefaults.IFeatureSetEditionDefault): google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault;
+
+ /**
+ * Encodes the specified FeatureSetEditionDefault message. Does not implicitly {@link google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault.verify|verify} messages.
+ * @param message FeatureSetEditionDefault message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.protobuf.FeatureSetDefaults.IFeatureSetEditionDefault, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified FeatureSetEditionDefault message, length delimited. Does not implicitly {@link google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault.verify|verify} messages.
+ * @param message FeatureSetEditionDefault message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.protobuf.FeatureSetDefaults.IFeatureSetEditionDefault, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a FeatureSetEditionDefault message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns FeatureSetEditionDefault
+ * @throws {Error} If the payload is not 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.FeatureSetDefaults.FeatureSetEditionDefault;
+
+ /**
+ * Decodes a FeatureSetEditionDefault message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns FeatureSetEditionDefault
+ * @throws {Error} If the payload 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.FeatureSetDefaults.FeatureSetEditionDefault;
+
+ /**
+ * Verifies a FeatureSetEditionDefault message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a FeatureSetEditionDefault message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns FeatureSetEditionDefault
+ */
+ public static fromObject(object: { [k: string]: any }): google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault;
+
+ /**
+ * Creates a plain object from a FeatureSetEditionDefault message. Also converts values to other types if specified.
+ * @param message FeatureSetEditionDefault
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this FeatureSetEditionDefault to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for FeatureSetEditionDefault
+ * @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 an Empty. */
+ interface IEmpty {
+ }
+
+ /** Represents an Empty. */
+ class Empty implements IEmpty {
+
+ /**
+ * Constructs a new Empty.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.protobuf.IEmpty);
+
+ /**
+ * Creates a new Empty instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns Empty instance
+ */
+ public static create(properties?: google.protobuf.IEmpty): google.protobuf.Empty;
+
+ /**
+ * Encodes the specified Empty message. Does not implicitly {@link google.protobuf.Empty.verify|verify} messages.
+ * @param message Empty message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.protobuf.IEmpty, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified Empty message, length delimited. Does not implicitly {@link google.protobuf.Empty.verify|verify} messages.
+ * @param message Empty message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.protobuf.IEmpty, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an Empty message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns Empty
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.Empty;
+
+ /**
+ * Decodes an Empty message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns Empty
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.Empty;
+
+ /**
+ * Verifies an Empty message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates an Empty message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns Empty
+ */
+ public static fromObject(object: { [k: string]: any }): google.protobuf.Empty;
+
+ /**
+ * Creates a plain object from an Empty message. Also converts values to other types if specified.
+ * @param message Empty
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.protobuf.Empty, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this Empty to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for Empty
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a FieldMask. */
+ interface IFieldMask {
+
+ /** FieldMask paths */
+ paths?: (string[]|null);
+ }
+
+ /** Represents a FieldMask. */
+ class FieldMask implements IFieldMask {
+
+ /**
+ * Constructs a new FieldMask.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.protobuf.IFieldMask);
+
+ /** FieldMask paths. */
+ public paths: string[];
+
+ /**
+ * Creates a new FieldMask instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns FieldMask instance
+ */
+ public static create(properties?: google.protobuf.IFieldMask): google.protobuf.FieldMask;
+
+ /**
+ * Encodes the specified FieldMask message. Does not implicitly {@link google.protobuf.FieldMask.verify|verify} messages.
+ * @param message FieldMask message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.protobuf.IFieldMask, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified FieldMask message, length delimited. Does not implicitly {@link google.protobuf.FieldMask.verify|verify} messages.
+ * @param message FieldMask message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.protobuf.IFieldMask, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a FieldMask message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns FieldMask
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.FieldMask;
+
+ /**
+ * Decodes a FieldMask message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns FieldMask
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.FieldMask;
+
+ /**
+ * Verifies a FieldMask message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a FieldMask message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns FieldMask
+ */
+ public static fromObject(object: { [k: string]: any }): google.protobuf.FieldMask;
+
+ /**
+ * Creates a plain object from a FieldMask message. Also converts values to other types if specified.
+ * @param message FieldMask
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.protobuf.FieldMask, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this FieldMask to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for FieldMask
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of an Any. */
+ interface IAny {
+
+ /** Any type_url */
+ type_url?: (string|null);
+
+ /** Any value */
+ value?: (Uint8Array|Buffer|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|Buffer|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 rpc. */
+ namespace rpc {
+
+ /** Properties of a Status. */
+ interface IStatus {
+
+ /** Status code */
+ code?: (number|null);
+
+ /** Status message */
+ message?: (string|null);
+
+ /** Status details */
+ details?: (google.protobuf.IAny[]|null);
+ }
+
+ /** Represents a Status. */
+ class Status implements IStatus {
+
+ /**
+ * Constructs a new Status.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.rpc.IStatus);
+
+ /** Status code. */
+ public code: number;
+
+ /** Status message. */
+ public message: string;
+
+ /** Status details. */
+ public details: google.protobuf.IAny[];
+
+ /**
+ * Creates a new Status instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns Status instance
+ */
+ public static create(properties?: google.rpc.IStatus): google.rpc.Status;
+
+ /**
+ * Encodes the specified Status message. Does not implicitly {@link google.rpc.Status.verify|verify} messages.
+ * @param message Status message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.rpc.IStatus, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified Status message, length delimited. Does not implicitly {@link google.rpc.Status.verify|verify} messages.
+ * @param message Status message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.rpc.IStatus, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a Status message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns Status
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.rpc.Status;
+
+ /**
+ * Decodes a Status message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns Status
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.rpc.Status;
+
+ /**
+ * Verifies a Status message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a Status message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns Status
+ */
+ public static fromObject(object: { [k: string]: any }): google.rpc.Status;
+
+ /**
+ * Creates a plain object from a Status message. Also converts values to other types if specified.
+ * @param message Status
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.rpc.Status, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this Status to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for Status
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+ }
+
+ /** Namespace type. */
+ namespace type {
+
+ /** Properties of a Date. */
+ interface IDate {
+
+ /** Date year */
+ year?: (number|null);
+
+ /** Date month */
+ month?: (number|null);
+
+ /** Date day */
+ day?: (number|null);
+ }
+
+ /** Represents a Date. */
+ class Date implements IDate {
+
+ /**
+ * Constructs a new Date.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.type.IDate);
+
+ /** Date year. */
+ public year: number;
+
+ /** Date month. */
+ public month: number;
+
+ /** Date day. */
+ public day: number;
+
+ /**
+ * Creates a new Date instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns Date instance
+ */
+ public static create(properties?: google.type.IDate): google.type.Date;
+
+ /**
+ * Encodes the specified Date message. Does not implicitly {@link google.type.Date.verify|verify} messages.
+ * @param message Date message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.type.IDate, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified Date message, length delimited. Does not implicitly {@link google.type.Date.verify|verify} messages.
+ * @param message Date message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.type.IDate, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a Date message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns Date
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.type.Date;
+
+ /**
+ * Decodes a Date message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns Date
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.type.Date;
+
+ /**
+ * Verifies a Date message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a Date message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns Date
+ */
+ public static fromObject(object: { [k: string]: any }): google.type.Date;
+
+ /**
+ * Creates a plain object from a Date message. Also converts values to other types if specified.
+ * @param message Date
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.type.Date, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this Date to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for Date
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** DayOfWeek enum. */
+ enum DayOfWeek {
+ DAY_OF_WEEK_UNSPECIFIED = 0,
+ MONDAY = 1,
+ TUESDAY = 2,
+ WEDNESDAY = 3,
+ THURSDAY = 4,
+ FRIDAY = 5,
+ SATURDAY = 6,
+ SUNDAY = 7
+ }
+
+ /** Properties of a TimeOfDay. */
+ interface ITimeOfDay {
+
+ /** TimeOfDay hours */
+ hours?: (number|null);
+
+ /** TimeOfDay minutes */
+ minutes?: (number|null);
+
+ /** TimeOfDay seconds */
+ seconds?: (number|null);
+
+ /** TimeOfDay nanos */
+ nanos?: (number|null);
+ }
+
+ /** Represents a TimeOfDay. */
+ class TimeOfDay implements ITimeOfDay {
+
+ /**
+ * Constructs a new TimeOfDay.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.type.ITimeOfDay);
+
+ /** TimeOfDay hours. */
+ public hours: number;
+
+ /** TimeOfDay minutes. */
+ public minutes: number;
+
+ /** TimeOfDay seconds. */
+ public seconds: number;
+
+ /** TimeOfDay nanos. */
+ public nanos: number;
+
+ /**
+ * Creates a new TimeOfDay instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns TimeOfDay instance
+ */
+ public static create(properties?: google.type.ITimeOfDay): google.type.TimeOfDay;
+
+ /**
+ * Encodes the specified TimeOfDay message. Does not implicitly {@link google.type.TimeOfDay.verify|verify} messages.
+ * @param message TimeOfDay message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.type.ITimeOfDay, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified TimeOfDay message, length delimited. Does not implicitly {@link google.type.TimeOfDay.verify|verify} messages.
+ * @param message TimeOfDay message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.type.ITimeOfDay, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a TimeOfDay message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns TimeOfDay
+ * @throws {Error} If the payload is not 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.TimeOfDay;
+
+ /**
+ * Decodes a TimeOfDay message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns TimeOfDay
+ * @throws {Error} If the payload 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.TimeOfDay;
+
+ /**
+ * Verifies a TimeOfDay message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a TimeOfDay message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns TimeOfDay
+ */
+ public static fromObject(object: { [k: string]: any }): google.type.TimeOfDay;
+
+ /**
+ * Creates a plain object from a TimeOfDay message. Also converts values to other types if specified.
+ * @param message TimeOfDay
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.type.TimeOfDay, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this TimeOfDay to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for TimeOfDay
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+ }
+}
diff --git a/owl-bot-staging/dlp/v2/protos/protos.js b/owl-bot-staging/dlp/v2/protos/protos.js
new file mode 100644
index 000000000..9b7e100a6
--- /dev/null
+++ b/owl-bot-staging/dlp/v2/protos/protos.js
@@ -0,0 +1,126126 @@
+// Copyright 2026 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_dlp_protos || ($protobuf.roots._google_cloud_dlp_protos = {});
+
+ $root.google = (function() {
+
+ /**
+ * Namespace google.
+ * @exports google
+ * @namespace
+ */
+ var google = {};
+
+ google.privacy = (function() {
+
+ /**
+ * Namespace privacy.
+ * @memberof google
+ * @namespace
+ */
+ var privacy = {};
+
+ privacy.dlp = (function() {
+
+ /**
+ * Namespace dlp.
+ * @memberof google.privacy
+ * @namespace
+ */
+ var dlp = {};
+
+ dlp.v2 = (function() {
+
+ /**
+ * Namespace v2.
+ * @memberof google.privacy.dlp
+ * @namespace
+ */
+ var v2 = {};
+
+ v2.DlpService = (function() {
+
+ /**
+ * Constructs a new DlpService service.
+ * @memberof google.privacy.dlp.v2
+ * @classdesc Represents a DlpService
+ * @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 DlpService(rpcImpl, requestDelimited, responseDelimited) {
+ $protobuf.rpc.Service.call(this, rpcImpl, requestDelimited, responseDelimited);
+ }
+
+ (DlpService.prototype = Object.create($protobuf.rpc.Service.prototype)).constructor = DlpService;
+
+ /**
+ * Creates new DlpService service using the specified rpc implementation.
+ * @function create
+ * @memberof google.privacy.dlp.v2.DlpService
+ * @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 {DlpService} RPC service. Useful where requests and/or responses are streamed.
+ */
+ DlpService.create = function create(rpcImpl, requestDelimited, responseDelimited) {
+ return new this(rpcImpl, requestDelimited, responseDelimited);
+ };
+
+ /**
+ * Callback as used by {@link google.privacy.dlp.v2.DlpService|inspectContent}.
+ * @memberof google.privacy.dlp.v2.DlpService
+ * @typedef InspectContentCallback
+ * @type {function}
+ * @param {Error|null} error Error, if any
+ * @param {google.privacy.dlp.v2.InspectContentResponse} [response] InspectContentResponse
+ */
+
+ /**
+ * Calls InspectContent.
+ * @function inspectContent
+ * @memberof google.privacy.dlp.v2.DlpService
+ * @instance
+ * @param {google.privacy.dlp.v2.IInspectContentRequest} request InspectContentRequest message or plain object
+ * @param {google.privacy.dlp.v2.DlpService.InspectContentCallback} callback Node-style callback called with the error, if any, and InspectContentResponse
+ * @returns {undefined}
+ * @variation 1
+ */
+ Object.defineProperty(DlpService.prototype.inspectContent = function inspectContent(request, callback) {
+ return this.rpcCall(inspectContent, $root.google.privacy.dlp.v2.InspectContentRequest, $root.google.privacy.dlp.v2.InspectContentResponse, request, callback);
+ }, "name", { value: "InspectContent" });
+
+ /**
+ * Calls InspectContent.
+ * @function inspectContent
+ * @memberof google.privacy.dlp.v2.DlpService
+ * @instance
+ * @param {google.privacy.dlp.v2.IInspectContentRequest} request InspectContentRequest message or plain object
+ * @returns {Promise} Promise
+ * @variation 2
+ */
+
+ /**
+ * Callback as used by {@link google.privacy.dlp.v2.DlpService|redactImage}.
+ * @memberof google.privacy.dlp.v2.DlpService
+ * @typedef RedactImageCallback
+ * @type {function}
+ * @param {Error|null} error Error, if any
+ * @param {google.privacy.dlp.v2.RedactImageResponse} [response] RedactImageResponse
+ */
+
+ /**
+ * Calls RedactImage.
+ * @function redactImage
+ * @memberof google.privacy.dlp.v2.DlpService
+ * @instance
+ * @param {google.privacy.dlp.v2.IRedactImageRequest} request RedactImageRequest message or plain object
+ * @param {google.privacy.dlp.v2.DlpService.RedactImageCallback} callback Node-style callback called with the error, if any, and RedactImageResponse
+ * @returns {undefined}
+ * @variation 1
+ */
+ Object.defineProperty(DlpService.prototype.redactImage = function redactImage(request, callback) {
+ return this.rpcCall(redactImage, $root.google.privacy.dlp.v2.RedactImageRequest, $root.google.privacy.dlp.v2.RedactImageResponse, request, callback);
+ }, "name", { value: "RedactImage" });
+
+ /**
+ * Calls RedactImage.
+ * @function redactImage
+ * @memberof google.privacy.dlp.v2.DlpService
+ * @instance
+ * @param {google.privacy.dlp.v2.IRedactImageRequest} request RedactImageRequest message or plain object
+ * @returns {Promise} Promise
+ * @variation 2
+ */
+
+ /**
+ * Callback as used by {@link google.privacy.dlp.v2.DlpService|deidentifyContent}.
+ * @memberof google.privacy.dlp.v2.DlpService
+ * @typedef DeidentifyContentCallback
+ * @type {function}
+ * @param {Error|null} error Error, if any
+ * @param {google.privacy.dlp.v2.DeidentifyContentResponse} [response] DeidentifyContentResponse
+ */
+
+ /**
+ * Calls DeidentifyContent.
+ * @function deidentifyContent
+ * @memberof google.privacy.dlp.v2.DlpService
+ * @instance
+ * @param {google.privacy.dlp.v2.IDeidentifyContentRequest} request DeidentifyContentRequest message or plain object
+ * @param {google.privacy.dlp.v2.DlpService.DeidentifyContentCallback} callback Node-style callback called with the error, if any, and DeidentifyContentResponse
+ * @returns {undefined}
+ * @variation 1
+ */
+ Object.defineProperty(DlpService.prototype.deidentifyContent = function deidentifyContent(request, callback) {
+ return this.rpcCall(deidentifyContent, $root.google.privacy.dlp.v2.DeidentifyContentRequest, $root.google.privacy.dlp.v2.DeidentifyContentResponse, request, callback);
+ }, "name", { value: "DeidentifyContent" });
+
+ /**
+ * Calls DeidentifyContent.
+ * @function deidentifyContent
+ * @memberof google.privacy.dlp.v2.DlpService
+ * @instance
+ * @param {google.privacy.dlp.v2.IDeidentifyContentRequest} request DeidentifyContentRequest message or plain object
+ * @returns {Promise} Promise
+ * @variation 2
+ */
+
+ /**
+ * Callback as used by {@link google.privacy.dlp.v2.DlpService|reidentifyContent}.
+ * @memberof google.privacy.dlp.v2.DlpService
+ * @typedef ReidentifyContentCallback
+ * @type {function}
+ * @param {Error|null} error Error, if any
+ * @param {google.privacy.dlp.v2.ReidentifyContentResponse} [response] ReidentifyContentResponse
+ */
+
+ /**
+ * Calls ReidentifyContent.
+ * @function reidentifyContent
+ * @memberof google.privacy.dlp.v2.DlpService
+ * @instance
+ * @param {google.privacy.dlp.v2.IReidentifyContentRequest} request ReidentifyContentRequest message or plain object
+ * @param {google.privacy.dlp.v2.DlpService.ReidentifyContentCallback} callback Node-style callback called with the error, if any, and ReidentifyContentResponse
+ * @returns {undefined}
+ * @variation 1
+ */
+ Object.defineProperty(DlpService.prototype.reidentifyContent = function reidentifyContent(request, callback) {
+ return this.rpcCall(reidentifyContent, $root.google.privacy.dlp.v2.ReidentifyContentRequest, $root.google.privacy.dlp.v2.ReidentifyContentResponse, request, callback);
+ }, "name", { value: "ReidentifyContent" });
+
+ /**
+ * Calls ReidentifyContent.
+ * @function reidentifyContent
+ * @memberof google.privacy.dlp.v2.DlpService
+ * @instance
+ * @param {google.privacy.dlp.v2.IReidentifyContentRequest} request ReidentifyContentRequest message or plain object
+ * @returns {Promise} Promise
+ * @variation 2
+ */
+
+ /**
+ * Callback as used by {@link google.privacy.dlp.v2.DlpService|listInfoTypes}.
+ * @memberof google.privacy.dlp.v2.DlpService
+ * @typedef ListInfoTypesCallback
+ * @type {function}
+ * @param {Error|null} error Error, if any
+ * @param {google.privacy.dlp.v2.ListInfoTypesResponse} [response] ListInfoTypesResponse
+ */
+
+ /**
+ * Calls ListInfoTypes.
+ * @function listInfoTypes
+ * @memberof google.privacy.dlp.v2.DlpService
+ * @instance
+ * @param {google.privacy.dlp.v2.IListInfoTypesRequest} request ListInfoTypesRequest message or plain object
+ * @param {google.privacy.dlp.v2.DlpService.ListInfoTypesCallback} callback Node-style callback called with the error, if any, and ListInfoTypesResponse
+ * @returns {undefined}
+ * @variation 1
+ */
+ Object.defineProperty(DlpService.prototype.listInfoTypes = function listInfoTypes(request, callback) {
+ return this.rpcCall(listInfoTypes, $root.google.privacy.dlp.v2.ListInfoTypesRequest, $root.google.privacy.dlp.v2.ListInfoTypesResponse, request, callback);
+ }, "name", { value: "ListInfoTypes" });
+
+ /**
+ * Calls ListInfoTypes.
+ * @function listInfoTypes
+ * @memberof google.privacy.dlp.v2.DlpService
+ * @instance
+ * @param {google.privacy.dlp.v2.IListInfoTypesRequest} request ListInfoTypesRequest message or plain object
+ * @returns {Promise} Promise
+ * @variation 2
+ */
+
+ /**
+ * Callback as used by {@link google.privacy.dlp.v2.DlpService|createInspectTemplate}.
+ * @memberof google.privacy.dlp.v2.DlpService
+ * @typedef CreateInspectTemplateCallback
+ * @type {function}
+ * @param {Error|null} error Error, if any
+ * @param {google.privacy.dlp.v2.InspectTemplate} [response] InspectTemplate
+ */
+
+ /**
+ * Calls CreateInspectTemplate.
+ * @function createInspectTemplate
+ * @memberof google.privacy.dlp.v2.DlpService
+ * @instance
+ * @param {google.privacy.dlp.v2.ICreateInspectTemplateRequest} request CreateInspectTemplateRequest message or plain object
+ * @param {google.privacy.dlp.v2.DlpService.CreateInspectTemplateCallback} callback Node-style callback called with the error, if any, and InspectTemplate
+ * @returns {undefined}
+ * @variation 1
+ */
+ Object.defineProperty(DlpService.prototype.createInspectTemplate = function createInspectTemplate(request, callback) {
+ return this.rpcCall(createInspectTemplate, $root.google.privacy.dlp.v2.CreateInspectTemplateRequest, $root.google.privacy.dlp.v2.InspectTemplate, request, callback);
+ }, "name", { value: "CreateInspectTemplate" });
+
+ /**
+ * Calls CreateInspectTemplate.
+ * @function createInspectTemplate
+ * @memberof google.privacy.dlp.v2.DlpService
+ * @instance
+ * @param {google.privacy.dlp.v2.ICreateInspectTemplateRequest} request CreateInspectTemplateRequest message or plain object
+ * @returns {Promise} Promise
+ * @variation 2
+ */
+
+ /**
+ * Callback as used by {@link google.privacy.dlp.v2.DlpService|updateInspectTemplate}.
+ * @memberof google.privacy.dlp.v2.DlpService
+ * @typedef UpdateInspectTemplateCallback
+ * @type {function}
+ * @param {Error|null} error Error, if any
+ * @param {google.privacy.dlp.v2.InspectTemplate} [response] InspectTemplate
+ */
+
+ /**
+ * Calls UpdateInspectTemplate.
+ * @function updateInspectTemplate
+ * @memberof google.privacy.dlp.v2.DlpService
+ * @instance
+ * @param {google.privacy.dlp.v2.IUpdateInspectTemplateRequest} request UpdateInspectTemplateRequest message or plain object
+ * @param {google.privacy.dlp.v2.DlpService.UpdateInspectTemplateCallback} callback Node-style callback called with the error, if any, and InspectTemplate
+ * @returns {undefined}
+ * @variation 1
+ */
+ Object.defineProperty(DlpService.prototype.updateInspectTemplate = function updateInspectTemplate(request, callback) {
+ return this.rpcCall(updateInspectTemplate, $root.google.privacy.dlp.v2.UpdateInspectTemplateRequest, $root.google.privacy.dlp.v2.InspectTemplate, request, callback);
+ }, "name", { value: "UpdateInspectTemplate" });
+
+ /**
+ * Calls UpdateInspectTemplate.
+ * @function updateInspectTemplate
+ * @memberof google.privacy.dlp.v2.DlpService
+ * @instance
+ * @param {google.privacy.dlp.v2.IUpdateInspectTemplateRequest} request UpdateInspectTemplateRequest message or plain object
+ * @returns {Promise} Promise
+ * @variation 2
+ */
+
+ /**
+ * Callback as used by {@link google.privacy.dlp.v2.DlpService|getInspectTemplate}.
+ * @memberof google.privacy.dlp.v2.DlpService
+ * @typedef GetInspectTemplateCallback
+ * @type {function}
+ * @param {Error|null} error Error, if any
+ * @param {google.privacy.dlp.v2.InspectTemplate} [response] InspectTemplate
+ */
+
+ /**
+ * Calls GetInspectTemplate.
+ * @function getInspectTemplate
+ * @memberof google.privacy.dlp.v2.DlpService
+ * @instance
+ * @param {google.privacy.dlp.v2.IGetInspectTemplateRequest} request GetInspectTemplateRequest message or plain object
+ * @param {google.privacy.dlp.v2.DlpService.GetInspectTemplateCallback} callback Node-style callback called with the error, if any, and InspectTemplate
+ * @returns {undefined}
+ * @variation 1
+ */
+ Object.defineProperty(DlpService.prototype.getInspectTemplate = function getInspectTemplate(request, callback) {
+ return this.rpcCall(getInspectTemplate, $root.google.privacy.dlp.v2.GetInspectTemplateRequest, $root.google.privacy.dlp.v2.InspectTemplate, request, callback);
+ }, "name", { value: "GetInspectTemplate" });
+
+ /**
+ * Calls GetInspectTemplate.
+ * @function getInspectTemplate
+ * @memberof google.privacy.dlp.v2.DlpService
+ * @instance
+ * @param {google.privacy.dlp.v2.IGetInspectTemplateRequest} request GetInspectTemplateRequest message or plain object
+ * @returns {Promise} Promise
+ * @variation 2
+ */
+
+ /**
+ * Callback as used by {@link google.privacy.dlp.v2.DlpService|listInspectTemplates}.
+ * @memberof google.privacy.dlp.v2.DlpService
+ * @typedef ListInspectTemplatesCallback
+ * @type {function}
+ * @param {Error|null} error Error, if any
+ * @param {google.privacy.dlp.v2.ListInspectTemplatesResponse} [response] ListInspectTemplatesResponse
+ */
+
+ /**
+ * Calls ListInspectTemplates.
+ * @function listInspectTemplates
+ * @memberof google.privacy.dlp.v2.DlpService
+ * @instance
+ * @param {google.privacy.dlp.v2.IListInspectTemplatesRequest} request ListInspectTemplatesRequest message or plain object
+ * @param {google.privacy.dlp.v2.DlpService.ListInspectTemplatesCallback} callback Node-style callback called with the error, if any, and ListInspectTemplatesResponse
+ * @returns {undefined}
+ * @variation 1
+ */
+ Object.defineProperty(DlpService.prototype.listInspectTemplates = function listInspectTemplates(request, callback) {
+ return this.rpcCall(listInspectTemplates, $root.google.privacy.dlp.v2.ListInspectTemplatesRequest, $root.google.privacy.dlp.v2.ListInspectTemplatesResponse, request, callback);
+ }, "name", { value: "ListInspectTemplates" });
+
+ /**
+ * Calls ListInspectTemplates.
+ * @function listInspectTemplates
+ * @memberof google.privacy.dlp.v2.DlpService
+ * @instance
+ * @param {google.privacy.dlp.v2.IListInspectTemplatesRequest} request ListInspectTemplatesRequest message or plain object
+ * @returns {Promise} Promise
+ * @variation 2
+ */
+
+ /**
+ * Callback as used by {@link google.privacy.dlp.v2.DlpService|deleteInspectTemplate}.
+ * @memberof google.privacy.dlp.v2.DlpService
+ * @typedef DeleteInspectTemplateCallback
+ * @type {function}
+ * @param {Error|null} error Error, if any
+ * @param {google.protobuf.Empty} [response] Empty
+ */
+
+ /**
+ * Calls DeleteInspectTemplate.
+ * @function deleteInspectTemplate
+ * @memberof google.privacy.dlp.v2.DlpService
+ * @instance
+ * @param {google.privacy.dlp.v2.IDeleteInspectTemplateRequest} request DeleteInspectTemplateRequest message or plain object
+ * @param {google.privacy.dlp.v2.DlpService.DeleteInspectTemplateCallback} callback Node-style callback called with the error, if any, and Empty
+ * @returns {undefined}
+ * @variation 1
+ */
+ Object.defineProperty(DlpService.prototype.deleteInspectTemplate = function deleteInspectTemplate(request, callback) {
+ return this.rpcCall(deleteInspectTemplate, $root.google.privacy.dlp.v2.DeleteInspectTemplateRequest, $root.google.protobuf.Empty, request, callback);
+ }, "name", { value: "DeleteInspectTemplate" });
+
+ /**
+ * Calls DeleteInspectTemplate.
+ * @function deleteInspectTemplate
+ * @memberof google.privacy.dlp.v2.DlpService
+ * @instance
+ * @param {google.privacy.dlp.v2.IDeleteInspectTemplateRequest} request DeleteInspectTemplateRequest message or plain object
+ * @returns {Promise} Promise
+ * @variation 2
+ */
+
+ /**
+ * Callback as used by {@link google.privacy.dlp.v2.DlpService|createDeidentifyTemplate}.
+ * @memberof google.privacy.dlp.v2.DlpService
+ * @typedef CreateDeidentifyTemplateCallback
+ * @type {function}
+ * @param {Error|null} error Error, if any
+ * @param {google.privacy.dlp.v2.DeidentifyTemplate} [response] DeidentifyTemplate
+ */
+
+ /**
+ * Calls CreateDeidentifyTemplate.
+ * @function createDeidentifyTemplate
+ * @memberof google.privacy.dlp.v2.DlpService
+ * @instance
+ * @param {google.privacy.dlp.v2.ICreateDeidentifyTemplateRequest} request CreateDeidentifyTemplateRequest message or plain object
+ * @param {google.privacy.dlp.v2.DlpService.CreateDeidentifyTemplateCallback} callback Node-style callback called with the error, if any, and DeidentifyTemplate
+ * @returns {undefined}
+ * @variation 1
+ */
+ Object.defineProperty(DlpService.prototype.createDeidentifyTemplate = function createDeidentifyTemplate(request, callback) {
+ return this.rpcCall(createDeidentifyTemplate, $root.google.privacy.dlp.v2.CreateDeidentifyTemplateRequest, $root.google.privacy.dlp.v2.DeidentifyTemplate, request, callback);
+ }, "name", { value: "CreateDeidentifyTemplate" });
+
+ /**
+ * Calls CreateDeidentifyTemplate.
+ * @function createDeidentifyTemplate
+ * @memberof google.privacy.dlp.v2.DlpService
+ * @instance
+ * @param {google.privacy.dlp.v2.ICreateDeidentifyTemplateRequest} request CreateDeidentifyTemplateRequest message or plain object
+ * @returns {Promise} Promise
+ * @variation 2
+ */
+
+ /**
+ * Callback as used by {@link google.privacy.dlp.v2.DlpService|updateDeidentifyTemplate}.
+ * @memberof google.privacy.dlp.v2.DlpService
+ * @typedef UpdateDeidentifyTemplateCallback
+ * @type {function}
+ * @param {Error|null} error Error, if any
+ * @param {google.privacy.dlp.v2.DeidentifyTemplate} [response] DeidentifyTemplate
+ */
+
+ /**
+ * Calls UpdateDeidentifyTemplate.
+ * @function updateDeidentifyTemplate
+ * @memberof google.privacy.dlp.v2.DlpService
+ * @instance
+ * @param {google.privacy.dlp.v2.IUpdateDeidentifyTemplateRequest} request UpdateDeidentifyTemplateRequest message or plain object
+ * @param {google.privacy.dlp.v2.DlpService.UpdateDeidentifyTemplateCallback} callback Node-style callback called with the error, if any, and DeidentifyTemplate
+ * @returns {undefined}
+ * @variation 1
+ */
+ Object.defineProperty(DlpService.prototype.updateDeidentifyTemplate = function updateDeidentifyTemplate(request, callback) {
+ return this.rpcCall(updateDeidentifyTemplate, $root.google.privacy.dlp.v2.UpdateDeidentifyTemplateRequest, $root.google.privacy.dlp.v2.DeidentifyTemplate, request, callback);
+ }, "name", { value: "UpdateDeidentifyTemplate" });
+
+ /**
+ * Calls UpdateDeidentifyTemplate.
+ * @function updateDeidentifyTemplate
+ * @memberof google.privacy.dlp.v2.DlpService
+ * @instance
+ * @param {google.privacy.dlp.v2.IUpdateDeidentifyTemplateRequest} request UpdateDeidentifyTemplateRequest message or plain object
+ * @returns {Promise} Promise
+ * @variation 2
+ */
+
+ /**
+ * Callback as used by {@link google.privacy.dlp.v2.DlpService|getDeidentifyTemplate}.
+ * @memberof google.privacy.dlp.v2.DlpService
+ * @typedef GetDeidentifyTemplateCallback
+ * @type {function}
+ * @param {Error|null} error Error, if any
+ * @param {google.privacy.dlp.v2.DeidentifyTemplate} [response] DeidentifyTemplate
+ */
+
+ /**
+ * Calls GetDeidentifyTemplate.
+ * @function getDeidentifyTemplate
+ * @memberof google.privacy.dlp.v2.DlpService
+ * @instance
+ * @param {google.privacy.dlp.v2.IGetDeidentifyTemplateRequest} request GetDeidentifyTemplateRequest message or plain object
+ * @param {google.privacy.dlp.v2.DlpService.GetDeidentifyTemplateCallback} callback Node-style callback called with the error, if any, and DeidentifyTemplate
+ * @returns {undefined}
+ * @variation 1
+ */
+ Object.defineProperty(DlpService.prototype.getDeidentifyTemplate = function getDeidentifyTemplate(request, callback) {
+ return this.rpcCall(getDeidentifyTemplate, $root.google.privacy.dlp.v2.GetDeidentifyTemplateRequest, $root.google.privacy.dlp.v2.DeidentifyTemplate, request, callback);
+ }, "name", { value: "GetDeidentifyTemplate" });
+
+ /**
+ * Calls GetDeidentifyTemplate.
+ * @function getDeidentifyTemplate
+ * @memberof google.privacy.dlp.v2.DlpService
+ * @instance
+ * @param {google.privacy.dlp.v2.IGetDeidentifyTemplateRequest} request GetDeidentifyTemplateRequest message or plain object
+ * @returns {Promise} Promise
+ * @variation 2
+ */
+
+ /**
+ * Callback as used by {@link google.privacy.dlp.v2.DlpService|listDeidentifyTemplates}.
+ * @memberof google.privacy.dlp.v2.DlpService
+ * @typedef ListDeidentifyTemplatesCallback
+ * @type {function}
+ * @param {Error|null} error Error, if any
+ * @param {google.privacy.dlp.v2.ListDeidentifyTemplatesResponse} [response] ListDeidentifyTemplatesResponse
+ */
+
+ /**
+ * Calls ListDeidentifyTemplates.
+ * @function listDeidentifyTemplates
+ * @memberof google.privacy.dlp.v2.DlpService
+ * @instance
+ * @param {google.privacy.dlp.v2.IListDeidentifyTemplatesRequest} request ListDeidentifyTemplatesRequest message or plain object
+ * @param {google.privacy.dlp.v2.DlpService.ListDeidentifyTemplatesCallback} callback Node-style callback called with the error, if any, and ListDeidentifyTemplatesResponse
+ * @returns {undefined}
+ * @variation 1
+ */
+ Object.defineProperty(DlpService.prototype.listDeidentifyTemplates = function listDeidentifyTemplates(request, callback) {
+ return this.rpcCall(listDeidentifyTemplates, $root.google.privacy.dlp.v2.ListDeidentifyTemplatesRequest, $root.google.privacy.dlp.v2.ListDeidentifyTemplatesResponse, request, callback);
+ }, "name", { value: "ListDeidentifyTemplates" });
+
+ /**
+ * Calls ListDeidentifyTemplates.
+ * @function listDeidentifyTemplates
+ * @memberof google.privacy.dlp.v2.DlpService
+ * @instance
+ * @param {google.privacy.dlp.v2.IListDeidentifyTemplatesRequest} request ListDeidentifyTemplatesRequest message or plain object
+ * @returns {Promise} Promise
+ * @variation 2
+ */
+
+ /**
+ * Callback as used by {@link google.privacy.dlp.v2.DlpService|deleteDeidentifyTemplate}.
+ * @memberof google.privacy.dlp.v2.DlpService
+ * @typedef DeleteDeidentifyTemplateCallback
+ * @type {function}
+ * @param {Error|null} error Error, if any
+ * @param {google.protobuf.Empty} [response] Empty
+ */
+
+ /**
+ * Calls DeleteDeidentifyTemplate.
+ * @function deleteDeidentifyTemplate
+ * @memberof google.privacy.dlp.v2.DlpService
+ * @instance
+ * @param {google.privacy.dlp.v2.IDeleteDeidentifyTemplateRequest} request DeleteDeidentifyTemplateRequest message or plain object
+ * @param {google.privacy.dlp.v2.DlpService.DeleteDeidentifyTemplateCallback} callback Node-style callback called with the error, if any, and Empty
+ * @returns {undefined}
+ * @variation 1
+ */
+ Object.defineProperty(DlpService.prototype.deleteDeidentifyTemplate = function deleteDeidentifyTemplate(request, callback) {
+ return this.rpcCall(deleteDeidentifyTemplate, $root.google.privacy.dlp.v2.DeleteDeidentifyTemplateRequest, $root.google.protobuf.Empty, request, callback);
+ }, "name", { value: "DeleteDeidentifyTemplate" });
+
+ /**
+ * Calls DeleteDeidentifyTemplate.
+ * @function deleteDeidentifyTemplate
+ * @memberof google.privacy.dlp.v2.DlpService
+ * @instance
+ * @param {google.privacy.dlp.v2.IDeleteDeidentifyTemplateRequest} request DeleteDeidentifyTemplateRequest message or plain object
+ * @returns {Promise} Promise
+ * @variation 2
+ */
+
+ /**
+ * Callback as used by {@link google.privacy.dlp.v2.DlpService|createJobTrigger}.
+ * @memberof google.privacy.dlp.v2.DlpService
+ * @typedef CreateJobTriggerCallback
+ * @type {function}
+ * @param {Error|null} error Error, if any
+ * @param {google.privacy.dlp.v2.JobTrigger} [response] JobTrigger
+ */
+
+ /**
+ * Calls CreateJobTrigger.
+ * @function createJobTrigger
+ * @memberof google.privacy.dlp.v2.DlpService
+ * @instance
+ * @param {google.privacy.dlp.v2.ICreateJobTriggerRequest} request CreateJobTriggerRequest message or plain object
+ * @param {google.privacy.dlp.v2.DlpService.CreateJobTriggerCallback} callback Node-style callback called with the error, if any, and JobTrigger
+ * @returns {undefined}
+ * @variation 1
+ */
+ Object.defineProperty(DlpService.prototype.createJobTrigger = function createJobTrigger(request, callback) {
+ return this.rpcCall(createJobTrigger, $root.google.privacy.dlp.v2.CreateJobTriggerRequest, $root.google.privacy.dlp.v2.JobTrigger, request, callback);
+ }, "name", { value: "CreateJobTrigger" });
+
+ /**
+ * Calls CreateJobTrigger.
+ * @function createJobTrigger
+ * @memberof google.privacy.dlp.v2.DlpService
+ * @instance
+ * @param {google.privacy.dlp.v2.ICreateJobTriggerRequest} request CreateJobTriggerRequest message or plain object
+ * @returns {Promise} Promise
+ * @variation 2
+ */
+
+ /**
+ * Callback as used by {@link google.privacy.dlp.v2.DlpService|updateJobTrigger}.
+ * @memberof google.privacy.dlp.v2.DlpService
+ * @typedef UpdateJobTriggerCallback
+ * @type {function}
+ * @param {Error|null} error Error, if any
+ * @param {google.privacy.dlp.v2.JobTrigger} [response] JobTrigger
+ */
+
+ /**
+ * Calls UpdateJobTrigger.
+ * @function updateJobTrigger
+ * @memberof google.privacy.dlp.v2.DlpService
+ * @instance
+ * @param {google.privacy.dlp.v2.IUpdateJobTriggerRequest} request UpdateJobTriggerRequest message or plain object
+ * @param {google.privacy.dlp.v2.DlpService.UpdateJobTriggerCallback} callback Node-style callback called with the error, if any, and JobTrigger
+ * @returns {undefined}
+ * @variation 1
+ */
+ Object.defineProperty(DlpService.prototype.updateJobTrigger = function updateJobTrigger(request, callback) {
+ return this.rpcCall(updateJobTrigger, $root.google.privacy.dlp.v2.UpdateJobTriggerRequest, $root.google.privacy.dlp.v2.JobTrigger, request, callback);
+ }, "name", { value: "UpdateJobTrigger" });
+
+ /**
+ * Calls UpdateJobTrigger.
+ * @function updateJobTrigger
+ * @memberof google.privacy.dlp.v2.DlpService
+ * @instance
+ * @param {google.privacy.dlp.v2.IUpdateJobTriggerRequest} request UpdateJobTriggerRequest message or plain object
+ * @returns {Promise} Promise
+ * @variation 2
+ */
+
+ /**
+ * Callback as used by {@link google.privacy.dlp.v2.DlpService|hybridInspectJobTrigger}.
+ * @memberof google.privacy.dlp.v2.DlpService
+ * @typedef HybridInspectJobTriggerCallback
+ * @type {function}
+ * @param {Error|null} error Error, if any
+ * @param {google.privacy.dlp.v2.HybridInspectResponse} [response] HybridInspectResponse
+ */
+
+ /**
+ * Calls HybridInspectJobTrigger.
+ * @function hybridInspectJobTrigger
+ * @memberof google.privacy.dlp.v2.DlpService
+ * @instance
+ * @param {google.privacy.dlp.v2.IHybridInspectJobTriggerRequest} request HybridInspectJobTriggerRequest message or plain object
+ * @param {google.privacy.dlp.v2.DlpService.HybridInspectJobTriggerCallback} callback Node-style callback called with the error, if any, and HybridInspectResponse
+ * @returns {undefined}
+ * @variation 1
+ */
+ Object.defineProperty(DlpService.prototype.hybridInspectJobTrigger = function hybridInspectJobTrigger(request, callback) {
+ return this.rpcCall(hybridInspectJobTrigger, $root.google.privacy.dlp.v2.HybridInspectJobTriggerRequest, $root.google.privacy.dlp.v2.HybridInspectResponse, request, callback);
+ }, "name", { value: "HybridInspectJobTrigger" });
+
+ /**
+ * Calls HybridInspectJobTrigger.
+ * @function hybridInspectJobTrigger
+ * @memberof google.privacy.dlp.v2.DlpService
+ * @instance
+ * @param {google.privacy.dlp.v2.IHybridInspectJobTriggerRequest} request HybridInspectJobTriggerRequest message or plain object
+ * @returns {Promise} Promise
+ * @variation 2
+ */
+
+ /**
+ * Callback as used by {@link google.privacy.dlp.v2.DlpService|getJobTrigger}.
+ * @memberof google.privacy.dlp.v2.DlpService
+ * @typedef GetJobTriggerCallback
+ * @type {function}
+ * @param {Error|null} error Error, if any
+ * @param {google.privacy.dlp.v2.JobTrigger} [response] JobTrigger
+ */
+
+ /**
+ * Calls GetJobTrigger.
+ * @function getJobTrigger
+ * @memberof google.privacy.dlp.v2.DlpService
+ * @instance
+ * @param {google.privacy.dlp.v2.IGetJobTriggerRequest} request GetJobTriggerRequest message or plain object
+ * @param {google.privacy.dlp.v2.DlpService.GetJobTriggerCallback} callback Node-style callback called with the error, if any, and JobTrigger
+ * @returns {undefined}
+ * @variation 1
+ */
+ Object.defineProperty(DlpService.prototype.getJobTrigger = function getJobTrigger(request, callback) {
+ return this.rpcCall(getJobTrigger, $root.google.privacy.dlp.v2.GetJobTriggerRequest, $root.google.privacy.dlp.v2.JobTrigger, request, callback);
+ }, "name", { value: "GetJobTrigger" });
+
+ /**
+ * Calls GetJobTrigger.
+ * @function getJobTrigger
+ * @memberof google.privacy.dlp.v2.DlpService
+ * @instance
+ * @param {google.privacy.dlp.v2.IGetJobTriggerRequest} request GetJobTriggerRequest message or plain object
+ * @returns {Promise} Promise
+ * @variation 2
+ */
+
+ /**
+ * Callback as used by {@link google.privacy.dlp.v2.DlpService|listJobTriggers}.
+ * @memberof google.privacy.dlp.v2.DlpService
+ * @typedef ListJobTriggersCallback
+ * @type {function}
+ * @param {Error|null} error Error, if any
+ * @param {google.privacy.dlp.v2.ListJobTriggersResponse} [response] ListJobTriggersResponse
+ */
+
+ /**
+ * Calls ListJobTriggers.
+ * @function listJobTriggers
+ * @memberof google.privacy.dlp.v2.DlpService
+ * @instance
+ * @param {google.privacy.dlp.v2.IListJobTriggersRequest} request ListJobTriggersRequest message or plain object
+ * @param {google.privacy.dlp.v2.DlpService.ListJobTriggersCallback} callback Node-style callback called with the error, if any, and ListJobTriggersResponse
+ * @returns {undefined}
+ * @variation 1
+ */
+ Object.defineProperty(DlpService.prototype.listJobTriggers = function listJobTriggers(request, callback) {
+ return this.rpcCall(listJobTriggers, $root.google.privacy.dlp.v2.ListJobTriggersRequest, $root.google.privacy.dlp.v2.ListJobTriggersResponse, request, callback);
+ }, "name", { value: "ListJobTriggers" });
+
+ /**
+ * Calls ListJobTriggers.
+ * @function listJobTriggers
+ * @memberof google.privacy.dlp.v2.DlpService
+ * @instance
+ * @param {google.privacy.dlp.v2.IListJobTriggersRequest} request ListJobTriggersRequest message or plain object
+ * @returns {Promise} Promise
+ * @variation 2
+ */
+
+ /**
+ * Callback as used by {@link google.privacy.dlp.v2.DlpService|deleteJobTrigger}.
+ * @memberof google.privacy.dlp.v2.DlpService
+ * @typedef DeleteJobTriggerCallback
+ * @type {function}
+ * @param {Error|null} error Error, if any
+ * @param {google.protobuf.Empty} [response] Empty
+ */
+
+ /**
+ * Calls DeleteJobTrigger.
+ * @function deleteJobTrigger
+ * @memberof google.privacy.dlp.v2.DlpService
+ * @instance
+ * @param {google.privacy.dlp.v2.IDeleteJobTriggerRequest} request DeleteJobTriggerRequest message or plain object
+ * @param {google.privacy.dlp.v2.DlpService.DeleteJobTriggerCallback} callback Node-style callback called with the error, if any, and Empty
+ * @returns {undefined}
+ * @variation 1
+ */
+ Object.defineProperty(DlpService.prototype.deleteJobTrigger = function deleteJobTrigger(request, callback) {
+ return this.rpcCall(deleteJobTrigger, $root.google.privacy.dlp.v2.DeleteJobTriggerRequest, $root.google.protobuf.Empty, request, callback);
+ }, "name", { value: "DeleteJobTrigger" });
+
+ /**
+ * Calls DeleteJobTrigger.
+ * @function deleteJobTrigger
+ * @memberof google.privacy.dlp.v2.DlpService
+ * @instance
+ * @param {google.privacy.dlp.v2.IDeleteJobTriggerRequest} request DeleteJobTriggerRequest message or plain object
+ * @returns {Promise} Promise
+ * @variation 2
+ */
+
+ /**
+ * Callback as used by {@link google.privacy.dlp.v2.DlpService|activateJobTrigger}.
+ * @memberof google.privacy.dlp.v2.DlpService
+ * @typedef ActivateJobTriggerCallback
+ * @type {function}
+ * @param {Error|null} error Error, if any
+ * @param {google.privacy.dlp.v2.DlpJob} [response] DlpJob
+ */
+
+ /**
+ * Calls ActivateJobTrigger.
+ * @function activateJobTrigger
+ * @memberof google.privacy.dlp.v2.DlpService
+ * @instance
+ * @param {google.privacy.dlp.v2.IActivateJobTriggerRequest} request ActivateJobTriggerRequest message or plain object
+ * @param {google.privacy.dlp.v2.DlpService.ActivateJobTriggerCallback} callback Node-style callback called with the error, if any, and DlpJob
+ * @returns {undefined}
+ * @variation 1
+ */
+ Object.defineProperty(DlpService.prototype.activateJobTrigger = function activateJobTrigger(request, callback) {
+ return this.rpcCall(activateJobTrigger, $root.google.privacy.dlp.v2.ActivateJobTriggerRequest, $root.google.privacy.dlp.v2.DlpJob, request, callback);
+ }, "name", { value: "ActivateJobTrigger" });
+
+ /**
+ * Calls ActivateJobTrigger.
+ * @function activateJobTrigger
+ * @memberof google.privacy.dlp.v2.DlpService
+ * @instance
+ * @param {google.privacy.dlp.v2.IActivateJobTriggerRequest} request ActivateJobTriggerRequest message or plain object
+ * @returns {Promise} Promise
+ * @variation 2
+ */
+
+ /**
+ * Callback as used by {@link google.privacy.dlp.v2.DlpService|createDiscoveryConfig}.
+ * @memberof google.privacy.dlp.v2.DlpService
+ * @typedef CreateDiscoveryConfigCallback
+ * @type {function}
+ * @param {Error|null} error Error, if any
+ * @param {google.privacy.dlp.v2.DiscoveryConfig} [response] DiscoveryConfig
+ */
+
+ /**
+ * Calls CreateDiscoveryConfig.
+ * @function createDiscoveryConfig
+ * @memberof google.privacy.dlp.v2.DlpService
+ * @instance
+ * @param {google.privacy.dlp.v2.ICreateDiscoveryConfigRequest} request CreateDiscoveryConfigRequest message or plain object
+ * @param {google.privacy.dlp.v2.DlpService.CreateDiscoveryConfigCallback} callback Node-style callback called with the error, if any, and DiscoveryConfig
+ * @returns {undefined}
+ * @variation 1
+ */
+ Object.defineProperty(DlpService.prototype.createDiscoveryConfig = function createDiscoveryConfig(request, callback) {
+ return this.rpcCall(createDiscoveryConfig, $root.google.privacy.dlp.v2.CreateDiscoveryConfigRequest, $root.google.privacy.dlp.v2.DiscoveryConfig, request, callback);
+ }, "name", { value: "CreateDiscoveryConfig" });
+
+ /**
+ * Calls CreateDiscoveryConfig.
+ * @function createDiscoveryConfig
+ * @memberof google.privacy.dlp.v2.DlpService
+ * @instance
+ * @param {google.privacy.dlp.v2.ICreateDiscoveryConfigRequest} request CreateDiscoveryConfigRequest message or plain object
+ * @returns {Promise} Promise
+ * @variation 2
+ */
+
+ /**
+ * Callback as used by {@link google.privacy.dlp.v2.DlpService|updateDiscoveryConfig}.
+ * @memberof google.privacy.dlp.v2.DlpService
+ * @typedef UpdateDiscoveryConfigCallback
+ * @type {function}
+ * @param {Error|null} error Error, if any
+ * @param {google.privacy.dlp.v2.DiscoveryConfig} [response] DiscoveryConfig
+ */
+
+ /**
+ * Calls UpdateDiscoveryConfig.
+ * @function updateDiscoveryConfig
+ * @memberof google.privacy.dlp.v2.DlpService
+ * @instance
+ * @param {google.privacy.dlp.v2.IUpdateDiscoveryConfigRequest} request UpdateDiscoveryConfigRequest message or plain object
+ * @param {google.privacy.dlp.v2.DlpService.UpdateDiscoveryConfigCallback} callback Node-style callback called with the error, if any, and DiscoveryConfig
+ * @returns {undefined}
+ * @variation 1
+ */
+ Object.defineProperty(DlpService.prototype.updateDiscoveryConfig = function updateDiscoveryConfig(request, callback) {
+ return this.rpcCall(updateDiscoveryConfig, $root.google.privacy.dlp.v2.UpdateDiscoveryConfigRequest, $root.google.privacy.dlp.v2.DiscoveryConfig, request, callback);
+ }, "name", { value: "UpdateDiscoveryConfig" });
+
+ /**
+ * Calls UpdateDiscoveryConfig.
+ * @function updateDiscoveryConfig
+ * @memberof google.privacy.dlp.v2.DlpService
+ * @instance
+ * @param {google.privacy.dlp.v2.IUpdateDiscoveryConfigRequest} request UpdateDiscoveryConfigRequest message or plain object
+ * @returns {Promise} Promise
+ * @variation 2
+ */
+
+ /**
+ * Callback as used by {@link google.privacy.dlp.v2.DlpService|getDiscoveryConfig}.
+ * @memberof google.privacy.dlp.v2.DlpService
+ * @typedef GetDiscoveryConfigCallback
+ * @type {function}
+ * @param {Error|null} error Error, if any
+ * @param {google.privacy.dlp.v2.DiscoveryConfig} [response] DiscoveryConfig
+ */
+
+ /**
+ * Calls GetDiscoveryConfig.
+ * @function getDiscoveryConfig
+ * @memberof google.privacy.dlp.v2.DlpService
+ * @instance
+ * @param {google.privacy.dlp.v2.IGetDiscoveryConfigRequest} request GetDiscoveryConfigRequest message or plain object
+ * @param {google.privacy.dlp.v2.DlpService.GetDiscoveryConfigCallback} callback Node-style callback called with the error, if any, and DiscoveryConfig
+ * @returns {undefined}
+ * @variation 1
+ */
+ Object.defineProperty(DlpService.prototype.getDiscoveryConfig = function getDiscoveryConfig(request, callback) {
+ return this.rpcCall(getDiscoveryConfig, $root.google.privacy.dlp.v2.GetDiscoveryConfigRequest, $root.google.privacy.dlp.v2.DiscoveryConfig, request, callback);
+ }, "name", { value: "GetDiscoveryConfig" });
+
+ /**
+ * Calls GetDiscoveryConfig.
+ * @function getDiscoveryConfig
+ * @memberof google.privacy.dlp.v2.DlpService
+ * @instance
+ * @param {google.privacy.dlp.v2.IGetDiscoveryConfigRequest} request GetDiscoveryConfigRequest message or plain object
+ * @returns {Promise} Promise
+ * @variation 2
+ */
+
+ /**
+ * Callback as used by {@link google.privacy.dlp.v2.DlpService|listDiscoveryConfigs}.
+ * @memberof google.privacy.dlp.v2.DlpService
+ * @typedef ListDiscoveryConfigsCallback
+ * @type {function}
+ * @param {Error|null} error Error, if any
+ * @param {google.privacy.dlp.v2.ListDiscoveryConfigsResponse} [response] ListDiscoveryConfigsResponse
+ */
+
+ /**
+ * Calls ListDiscoveryConfigs.
+ * @function listDiscoveryConfigs
+ * @memberof google.privacy.dlp.v2.DlpService
+ * @instance
+ * @param {google.privacy.dlp.v2.IListDiscoveryConfigsRequest} request ListDiscoveryConfigsRequest message or plain object
+ * @param {google.privacy.dlp.v2.DlpService.ListDiscoveryConfigsCallback} callback Node-style callback called with the error, if any, and ListDiscoveryConfigsResponse
+ * @returns {undefined}
+ * @variation 1
+ */
+ Object.defineProperty(DlpService.prototype.listDiscoveryConfigs = function listDiscoveryConfigs(request, callback) {
+ return this.rpcCall(listDiscoveryConfigs, $root.google.privacy.dlp.v2.ListDiscoveryConfigsRequest, $root.google.privacy.dlp.v2.ListDiscoveryConfigsResponse, request, callback);
+ }, "name", { value: "ListDiscoveryConfigs" });
+
+ /**
+ * Calls ListDiscoveryConfigs.
+ * @function listDiscoveryConfigs
+ * @memberof google.privacy.dlp.v2.DlpService
+ * @instance
+ * @param {google.privacy.dlp.v2.IListDiscoveryConfigsRequest} request ListDiscoveryConfigsRequest message or plain object
+ * @returns {Promise} Promise
+ * @variation 2
+ */
+
+ /**
+ * Callback as used by {@link google.privacy.dlp.v2.DlpService|deleteDiscoveryConfig}.
+ * @memberof google.privacy.dlp.v2.DlpService
+ * @typedef DeleteDiscoveryConfigCallback
+ * @type {function}
+ * @param {Error|null} error Error, if any
+ * @param {google.protobuf.Empty} [response] Empty
+ */
+
+ /**
+ * Calls DeleteDiscoveryConfig.
+ * @function deleteDiscoveryConfig
+ * @memberof google.privacy.dlp.v2.DlpService
+ * @instance
+ * @param {google.privacy.dlp.v2.IDeleteDiscoveryConfigRequest} request DeleteDiscoveryConfigRequest message or plain object
+ * @param {google.privacy.dlp.v2.DlpService.DeleteDiscoveryConfigCallback} callback Node-style callback called with the error, if any, and Empty
+ * @returns {undefined}
+ * @variation 1
+ */
+ Object.defineProperty(DlpService.prototype.deleteDiscoveryConfig = function deleteDiscoveryConfig(request, callback) {
+ return this.rpcCall(deleteDiscoveryConfig, $root.google.privacy.dlp.v2.DeleteDiscoveryConfigRequest, $root.google.protobuf.Empty, request, callback);
+ }, "name", { value: "DeleteDiscoveryConfig" });
+
+ /**
+ * Calls DeleteDiscoveryConfig.
+ * @function deleteDiscoveryConfig
+ * @memberof google.privacy.dlp.v2.DlpService
+ * @instance
+ * @param {google.privacy.dlp.v2.IDeleteDiscoveryConfigRequest} request DeleteDiscoveryConfigRequest message or plain object
+ * @returns {Promise} Promise
+ * @variation 2
+ */
+
+ /**
+ * Callback as used by {@link google.privacy.dlp.v2.DlpService|createDlpJob}.
+ * @memberof google.privacy.dlp.v2.DlpService
+ * @typedef CreateDlpJobCallback
+ * @type {function}
+ * @param {Error|null} error Error, if any
+ * @param {google.privacy.dlp.v2.DlpJob} [response] DlpJob
+ */
+
+ /**
+ * Calls CreateDlpJob.
+ * @function createDlpJob
+ * @memberof google.privacy.dlp.v2.DlpService
+ * @instance
+ * @param {google.privacy.dlp.v2.ICreateDlpJobRequest} request CreateDlpJobRequest message or plain object
+ * @param {google.privacy.dlp.v2.DlpService.CreateDlpJobCallback} callback Node-style callback called with the error, if any, and DlpJob
+ * @returns {undefined}
+ * @variation 1
+ */
+ Object.defineProperty(DlpService.prototype.createDlpJob = function createDlpJob(request, callback) {
+ return this.rpcCall(createDlpJob, $root.google.privacy.dlp.v2.CreateDlpJobRequest, $root.google.privacy.dlp.v2.DlpJob, request, callback);
+ }, "name", { value: "CreateDlpJob" });
+
+ /**
+ * Calls CreateDlpJob.
+ * @function createDlpJob
+ * @memberof google.privacy.dlp.v2.DlpService
+ * @instance
+ * @param {google.privacy.dlp.v2.ICreateDlpJobRequest} request CreateDlpJobRequest message or plain object
+ * @returns {Promise} Promise
+ * @variation 2
+ */
+
+ /**
+ * Callback as used by {@link google.privacy.dlp.v2.DlpService|listDlpJobs}.
+ * @memberof google.privacy.dlp.v2.DlpService
+ * @typedef ListDlpJobsCallback
+ * @type {function}
+ * @param {Error|null} error Error, if any
+ * @param {google.privacy.dlp.v2.ListDlpJobsResponse} [response] ListDlpJobsResponse
+ */
+
+ /**
+ * Calls ListDlpJobs.
+ * @function listDlpJobs
+ * @memberof google.privacy.dlp.v2.DlpService
+ * @instance
+ * @param {google.privacy.dlp.v2.IListDlpJobsRequest} request ListDlpJobsRequest message or plain object
+ * @param {google.privacy.dlp.v2.DlpService.ListDlpJobsCallback} callback Node-style callback called with the error, if any, and ListDlpJobsResponse
+ * @returns {undefined}
+ * @variation 1
+ */
+ Object.defineProperty(DlpService.prototype.listDlpJobs = function listDlpJobs(request, callback) {
+ return this.rpcCall(listDlpJobs, $root.google.privacy.dlp.v2.ListDlpJobsRequest, $root.google.privacy.dlp.v2.ListDlpJobsResponse, request, callback);
+ }, "name", { value: "ListDlpJobs" });
+
+ /**
+ * Calls ListDlpJobs.
+ * @function listDlpJobs
+ * @memberof google.privacy.dlp.v2.DlpService
+ * @instance
+ * @param {google.privacy.dlp.v2.IListDlpJobsRequest} request ListDlpJobsRequest message or plain object
+ * @returns {Promise} Promise
+ * @variation 2
+ */
+
+ /**
+ * Callback as used by {@link google.privacy.dlp.v2.DlpService|getDlpJob}.
+ * @memberof google.privacy.dlp.v2.DlpService
+ * @typedef GetDlpJobCallback
+ * @type {function}
+ * @param {Error|null} error Error, if any
+ * @param {google.privacy.dlp.v2.DlpJob} [response] DlpJob
+ */
+
+ /**
+ * Calls GetDlpJob.
+ * @function getDlpJob
+ * @memberof google.privacy.dlp.v2.DlpService
+ * @instance
+ * @param {google.privacy.dlp.v2.IGetDlpJobRequest} request GetDlpJobRequest message or plain object
+ * @param {google.privacy.dlp.v2.DlpService.GetDlpJobCallback} callback Node-style callback called with the error, if any, and DlpJob
+ * @returns {undefined}
+ * @variation 1
+ */
+ Object.defineProperty(DlpService.prototype.getDlpJob = function getDlpJob(request, callback) {
+ return this.rpcCall(getDlpJob, $root.google.privacy.dlp.v2.GetDlpJobRequest, $root.google.privacy.dlp.v2.DlpJob, request, callback);
+ }, "name", { value: "GetDlpJob" });
+
+ /**
+ * Calls GetDlpJob.
+ * @function getDlpJob
+ * @memberof google.privacy.dlp.v2.DlpService
+ * @instance
+ * @param {google.privacy.dlp.v2.IGetDlpJobRequest} request GetDlpJobRequest message or plain object
+ * @returns {Promise} Promise
+ * @variation 2
+ */
+
+ /**
+ * Callback as used by {@link google.privacy.dlp.v2.DlpService|deleteDlpJob}.
+ * @memberof google.privacy.dlp.v2.DlpService
+ * @typedef DeleteDlpJobCallback
+ * @type {function}
+ * @param {Error|null} error Error, if any
+ * @param {google.protobuf.Empty} [response] Empty
+ */
+
+ /**
+ * Calls DeleteDlpJob.
+ * @function deleteDlpJob
+ * @memberof google.privacy.dlp.v2.DlpService
+ * @instance
+ * @param {google.privacy.dlp.v2.IDeleteDlpJobRequest} request DeleteDlpJobRequest message or plain object
+ * @param {google.privacy.dlp.v2.DlpService.DeleteDlpJobCallback} callback Node-style callback called with the error, if any, and Empty
+ * @returns {undefined}
+ * @variation 1
+ */
+ Object.defineProperty(DlpService.prototype.deleteDlpJob = function deleteDlpJob(request, callback) {
+ return this.rpcCall(deleteDlpJob, $root.google.privacy.dlp.v2.DeleteDlpJobRequest, $root.google.protobuf.Empty, request, callback);
+ }, "name", { value: "DeleteDlpJob" });
+
+ /**
+ * Calls DeleteDlpJob.
+ * @function deleteDlpJob
+ * @memberof google.privacy.dlp.v2.DlpService
+ * @instance
+ * @param {google.privacy.dlp.v2.IDeleteDlpJobRequest} request DeleteDlpJobRequest message or plain object
+ * @returns {Promise} Promise
+ * @variation 2
+ */
+
+ /**
+ * Callback as used by {@link google.privacy.dlp.v2.DlpService|cancelDlpJob}.
+ * @memberof google.privacy.dlp.v2.DlpService
+ * @typedef CancelDlpJobCallback
+ * @type {function}
+ * @param {Error|null} error Error, if any
+ * @param {google.protobuf.Empty} [response] Empty
+ */
+
+ /**
+ * Calls CancelDlpJob.
+ * @function cancelDlpJob
+ * @memberof google.privacy.dlp.v2.DlpService
+ * @instance
+ * @param {google.privacy.dlp.v2.ICancelDlpJobRequest} request CancelDlpJobRequest message or plain object
+ * @param {google.privacy.dlp.v2.DlpService.CancelDlpJobCallback} callback Node-style callback called with the error, if any, and Empty
+ * @returns {undefined}
+ * @variation 1
+ */
+ Object.defineProperty(DlpService.prototype.cancelDlpJob = function cancelDlpJob(request, callback) {
+ return this.rpcCall(cancelDlpJob, $root.google.privacy.dlp.v2.CancelDlpJobRequest, $root.google.protobuf.Empty, request, callback);
+ }, "name", { value: "CancelDlpJob" });
+
+ /**
+ * Calls CancelDlpJob.
+ * @function cancelDlpJob
+ * @memberof google.privacy.dlp.v2.DlpService
+ * @instance
+ * @param {google.privacy.dlp.v2.ICancelDlpJobRequest} request CancelDlpJobRequest message or plain object
+ * @returns {Promise} Promise
+ * @variation 2
+ */
+
+ /**
+ * Callback as used by {@link google.privacy.dlp.v2.DlpService|createStoredInfoType}.
+ * @memberof google.privacy.dlp.v2.DlpService
+ * @typedef CreateStoredInfoTypeCallback
+ * @type {function}
+ * @param {Error|null} error Error, if any
+ * @param {google.privacy.dlp.v2.StoredInfoType} [response] StoredInfoType
+ */
+
+ /**
+ * Calls CreateStoredInfoType.
+ * @function createStoredInfoType
+ * @memberof google.privacy.dlp.v2.DlpService
+ * @instance
+ * @param {google.privacy.dlp.v2.ICreateStoredInfoTypeRequest} request CreateStoredInfoTypeRequest message or plain object
+ * @param {google.privacy.dlp.v2.DlpService.CreateStoredInfoTypeCallback} callback Node-style callback called with the error, if any, and StoredInfoType
+ * @returns {undefined}
+ * @variation 1
+ */
+ Object.defineProperty(DlpService.prototype.createStoredInfoType = function createStoredInfoType(request, callback) {
+ return this.rpcCall(createStoredInfoType, $root.google.privacy.dlp.v2.CreateStoredInfoTypeRequest, $root.google.privacy.dlp.v2.StoredInfoType, request, callback);
+ }, "name", { value: "CreateStoredInfoType" });
+
+ /**
+ * Calls CreateStoredInfoType.
+ * @function createStoredInfoType
+ * @memberof google.privacy.dlp.v2.DlpService
+ * @instance
+ * @param {google.privacy.dlp.v2.ICreateStoredInfoTypeRequest} request CreateStoredInfoTypeRequest message or plain object
+ * @returns {Promise} Promise
+ * @variation 2
+ */
+
+ /**
+ * Callback as used by {@link google.privacy.dlp.v2.DlpService|updateStoredInfoType}.
+ * @memberof google.privacy.dlp.v2.DlpService
+ * @typedef UpdateStoredInfoTypeCallback
+ * @type {function}
+ * @param {Error|null} error Error, if any
+ * @param {google.privacy.dlp.v2.StoredInfoType} [response] StoredInfoType
+ */
+
+ /**
+ * Calls UpdateStoredInfoType.
+ * @function updateStoredInfoType
+ * @memberof google.privacy.dlp.v2.DlpService
+ * @instance
+ * @param {google.privacy.dlp.v2.IUpdateStoredInfoTypeRequest} request UpdateStoredInfoTypeRequest message or plain object
+ * @param {google.privacy.dlp.v2.DlpService.UpdateStoredInfoTypeCallback} callback Node-style callback called with the error, if any, and StoredInfoType
+ * @returns {undefined}
+ * @variation 1
+ */
+ Object.defineProperty(DlpService.prototype.updateStoredInfoType = function updateStoredInfoType(request, callback) {
+ return this.rpcCall(updateStoredInfoType, $root.google.privacy.dlp.v2.UpdateStoredInfoTypeRequest, $root.google.privacy.dlp.v2.StoredInfoType, request, callback);
+ }, "name", { value: "UpdateStoredInfoType" });
+
+ /**
+ * Calls UpdateStoredInfoType.
+ * @function updateStoredInfoType
+ * @memberof google.privacy.dlp.v2.DlpService
+ * @instance
+ * @param {google.privacy.dlp.v2.IUpdateStoredInfoTypeRequest} request UpdateStoredInfoTypeRequest message or plain object
+ * @returns {Promise} Promise
+ * @variation 2
+ */
+
+ /**
+ * Callback as used by {@link google.privacy.dlp.v2.DlpService|getStoredInfoType}.
+ * @memberof google.privacy.dlp.v2.DlpService
+ * @typedef GetStoredInfoTypeCallback
+ * @type {function}
+ * @param {Error|null} error Error, if any
+ * @param {google.privacy.dlp.v2.StoredInfoType} [response] StoredInfoType
+ */
+
+ /**
+ * Calls GetStoredInfoType.
+ * @function getStoredInfoType
+ * @memberof google.privacy.dlp.v2.DlpService
+ * @instance
+ * @param {google.privacy.dlp.v2.IGetStoredInfoTypeRequest} request GetStoredInfoTypeRequest message or plain object
+ * @param {google.privacy.dlp.v2.DlpService.GetStoredInfoTypeCallback} callback Node-style callback called with the error, if any, and StoredInfoType
+ * @returns {undefined}
+ * @variation 1
+ */
+ Object.defineProperty(DlpService.prototype.getStoredInfoType = function getStoredInfoType(request, callback) {
+ return this.rpcCall(getStoredInfoType, $root.google.privacy.dlp.v2.GetStoredInfoTypeRequest, $root.google.privacy.dlp.v2.StoredInfoType, request, callback);
+ }, "name", { value: "GetStoredInfoType" });
+
+ /**
+ * Calls GetStoredInfoType.
+ * @function getStoredInfoType
+ * @memberof google.privacy.dlp.v2.DlpService
+ * @instance
+ * @param {google.privacy.dlp.v2.IGetStoredInfoTypeRequest} request GetStoredInfoTypeRequest message or plain object
+ * @returns {Promise} Promise
+ * @variation 2
+ */
+
+ /**
+ * Callback as used by {@link google.privacy.dlp.v2.DlpService|listStoredInfoTypes}.
+ * @memberof google.privacy.dlp.v2.DlpService
+ * @typedef ListStoredInfoTypesCallback
+ * @type {function}
+ * @param {Error|null} error Error, if any
+ * @param {google.privacy.dlp.v2.ListStoredInfoTypesResponse} [response] ListStoredInfoTypesResponse
+ */
+
+ /**
+ * Calls ListStoredInfoTypes.
+ * @function listStoredInfoTypes
+ * @memberof google.privacy.dlp.v2.DlpService
+ * @instance
+ * @param {google.privacy.dlp.v2.IListStoredInfoTypesRequest} request ListStoredInfoTypesRequest message or plain object
+ * @param {google.privacy.dlp.v2.DlpService.ListStoredInfoTypesCallback} callback Node-style callback called with the error, if any, and ListStoredInfoTypesResponse
+ * @returns {undefined}
+ * @variation 1
+ */
+ Object.defineProperty(DlpService.prototype.listStoredInfoTypes = function listStoredInfoTypes(request, callback) {
+ return this.rpcCall(listStoredInfoTypes, $root.google.privacy.dlp.v2.ListStoredInfoTypesRequest, $root.google.privacy.dlp.v2.ListStoredInfoTypesResponse, request, callback);
+ }, "name", { value: "ListStoredInfoTypes" });
+
+ /**
+ * Calls ListStoredInfoTypes.
+ * @function listStoredInfoTypes
+ * @memberof google.privacy.dlp.v2.DlpService
+ * @instance
+ * @param {google.privacy.dlp.v2.IListStoredInfoTypesRequest} request ListStoredInfoTypesRequest message or plain object
+ * @returns {Promise} Promise
+ * @variation 2
+ */
+
+ /**
+ * Callback as used by {@link google.privacy.dlp.v2.DlpService|deleteStoredInfoType}.
+ * @memberof google.privacy.dlp.v2.DlpService
+ * @typedef DeleteStoredInfoTypeCallback
+ * @type {function}
+ * @param {Error|null} error Error, if any
+ * @param {google.protobuf.Empty} [response] Empty
+ */
+
+ /**
+ * Calls DeleteStoredInfoType.
+ * @function deleteStoredInfoType
+ * @memberof google.privacy.dlp.v2.DlpService
+ * @instance
+ * @param {google.privacy.dlp.v2.IDeleteStoredInfoTypeRequest} request DeleteStoredInfoTypeRequest message or plain object
+ * @param {google.privacy.dlp.v2.DlpService.DeleteStoredInfoTypeCallback} callback Node-style callback called with the error, if any, and Empty
+ * @returns {undefined}
+ * @variation 1
+ */
+ Object.defineProperty(DlpService.prototype.deleteStoredInfoType = function deleteStoredInfoType(request, callback) {
+ return this.rpcCall(deleteStoredInfoType, $root.google.privacy.dlp.v2.DeleteStoredInfoTypeRequest, $root.google.protobuf.Empty, request, callback);
+ }, "name", { value: "DeleteStoredInfoType" });
+
+ /**
+ * Calls DeleteStoredInfoType.
+ * @function deleteStoredInfoType
+ * @memberof google.privacy.dlp.v2.DlpService
+ * @instance
+ * @param {google.privacy.dlp.v2.IDeleteStoredInfoTypeRequest} request DeleteStoredInfoTypeRequest message or plain object
+ * @returns {Promise} Promise
+ * @variation 2
+ */
+
+ /**
+ * Callback as used by {@link google.privacy.dlp.v2.DlpService|listProjectDataProfiles}.
+ * @memberof google.privacy.dlp.v2.DlpService
+ * @typedef ListProjectDataProfilesCallback
+ * @type {function}
+ * @param {Error|null} error Error, if any
+ * @param {google.privacy.dlp.v2.ListProjectDataProfilesResponse} [response] ListProjectDataProfilesResponse
+ */
+
+ /**
+ * Calls ListProjectDataProfiles.
+ * @function listProjectDataProfiles
+ * @memberof google.privacy.dlp.v2.DlpService
+ * @instance
+ * @param {google.privacy.dlp.v2.IListProjectDataProfilesRequest} request ListProjectDataProfilesRequest message or plain object
+ * @param {google.privacy.dlp.v2.DlpService.ListProjectDataProfilesCallback} callback Node-style callback called with the error, if any, and ListProjectDataProfilesResponse
+ * @returns {undefined}
+ * @variation 1
+ */
+ Object.defineProperty(DlpService.prototype.listProjectDataProfiles = function listProjectDataProfiles(request, callback) {
+ return this.rpcCall(listProjectDataProfiles, $root.google.privacy.dlp.v2.ListProjectDataProfilesRequest, $root.google.privacy.dlp.v2.ListProjectDataProfilesResponse, request, callback);
+ }, "name", { value: "ListProjectDataProfiles" });
+
+ /**
+ * Calls ListProjectDataProfiles.
+ * @function listProjectDataProfiles
+ * @memberof google.privacy.dlp.v2.DlpService
+ * @instance
+ * @param {google.privacy.dlp.v2.IListProjectDataProfilesRequest} request ListProjectDataProfilesRequest message or plain object
+ * @returns {Promise} Promise
+ * @variation 2
+ */
+
+ /**
+ * Callback as used by {@link google.privacy.dlp.v2.DlpService|listTableDataProfiles}.
+ * @memberof google.privacy.dlp.v2.DlpService
+ * @typedef ListTableDataProfilesCallback
+ * @type {function}
+ * @param {Error|null} error Error, if any
+ * @param {google.privacy.dlp.v2.ListTableDataProfilesResponse} [response] ListTableDataProfilesResponse
+ */
+
+ /**
+ * Calls ListTableDataProfiles.
+ * @function listTableDataProfiles
+ * @memberof google.privacy.dlp.v2.DlpService
+ * @instance
+ * @param {google.privacy.dlp.v2.IListTableDataProfilesRequest} request ListTableDataProfilesRequest message or plain object
+ * @param {google.privacy.dlp.v2.DlpService.ListTableDataProfilesCallback} callback Node-style callback called with the error, if any, and ListTableDataProfilesResponse
+ * @returns {undefined}
+ * @variation 1
+ */
+ Object.defineProperty(DlpService.prototype.listTableDataProfiles = function listTableDataProfiles(request, callback) {
+ return this.rpcCall(listTableDataProfiles, $root.google.privacy.dlp.v2.ListTableDataProfilesRequest, $root.google.privacy.dlp.v2.ListTableDataProfilesResponse, request, callback);
+ }, "name", { value: "ListTableDataProfiles" });
+
+ /**
+ * Calls ListTableDataProfiles.
+ * @function listTableDataProfiles
+ * @memberof google.privacy.dlp.v2.DlpService
+ * @instance
+ * @param {google.privacy.dlp.v2.IListTableDataProfilesRequest} request ListTableDataProfilesRequest message or plain object
+ * @returns {Promise} Promise
+ * @variation 2
+ */
+
+ /**
+ * Callback as used by {@link google.privacy.dlp.v2.DlpService|listColumnDataProfiles}.
+ * @memberof google.privacy.dlp.v2.DlpService
+ * @typedef ListColumnDataProfilesCallback
+ * @type {function}
+ * @param {Error|null} error Error, if any
+ * @param {google.privacy.dlp.v2.ListColumnDataProfilesResponse} [response] ListColumnDataProfilesResponse
+ */
+
+ /**
+ * Calls ListColumnDataProfiles.
+ * @function listColumnDataProfiles
+ * @memberof google.privacy.dlp.v2.DlpService
+ * @instance
+ * @param {google.privacy.dlp.v2.IListColumnDataProfilesRequest} request ListColumnDataProfilesRequest message or plain object
+ * @param {google.privacy.dlp.v2.DlpService.ListColumnDataProfilesCallback} callback Node-style callback called with the error, if any, and ListColumnDataProfilesResponse
+ * @returns {undefined}
+ * @variation 1
+ */
+ Object.defineProperty(DlpService.prototype.listColumnDataProfiles = function listColumnDataProfiles(request, callback) {
+ return this.rpcCall(listColumnDataProfiles, $root.google.privacy.dlp.v2.ListColumnDataProfilesRequest, $root.google.privacy.dlp.v2.ListColumnDataProfilesResponse, request, callback);
+ }, "name", { value: "ListColumnDataProfiles" });
+
+ /**
+ * Calls ListColumnDataProfiles.
+ * @function listColumnDataProfiles
+ * @memberof google.privacy.dlp.v2.DlpService
+ * @instance
+ * @param {google.privacy.dlp.v2.IListColumnDataProfilesRequest} request ListColumnDataProfilesRequest message or plain object
+ * @returns {Promise} Promise
+ * @variation 2
+ */
+
+ /**
+ * Callback as used by {@link google.privacy.dlp.v2.DlpService|getProjectDataProfile}.
+ * @memberof google.privacy.dlp.v2.DlpService
+ * @typedef GetProjectDataProfileCallback
+ * @type {function}
+ * @param {Error|null} error Error, if any
+ * @param {google.privacy.dlp.v2.ProjectDataProfile} [response] ProjectDataProfile
+ */
+
+ /**
+ * Calls GetProjectDataProfile.
+ * @function getProjectDataProfile
+ * @memberof google.privacy.dlp.v2.DlpService
+ * @instance
+ * @param {google.privacy.dlp.v2.IGetProjectDataProfileRequest} request GetProjectDataProfileRequest message or plain object
+ * @param {google.privacy.dlp.v2.DlpService.GetProjectDataProfileCallback} callback Node-style callback called with the error, if any, and ProjectDataProfile
+ * @returns {undefined}
+ * @variation 1
+ */
+ Object.defineProperty(DlpService.prototype.getProjectDataProfile = function getProjectDataProfile(request, callback) {
+ return this.rpcCall(getProjectDataProfile, $root.google.privacy.dlp.v2.GetProjectDataProfileRequest, $root.google.privacy.dlp.v2.ProjectDataProfile, request, callback);
+ }, "name", { value: "GetProjectDataProfile" });
+
+ /**
+ * Calls GetProjectDataProfile.
+ * @function getProjectDataProfile
+ * @memberof google.privacy.dlp.v2.DlpService
+ * @instance
+ * @param {google.privacy.dlp.v2.IGetProjectDataProfileRequest} request GetProjectDataProfileRequest message or plain object
+ * @returns {Promise} Promise
+ * @variation 2
+ */
+
+ /**
+ * Callback as used by {@link google.privacy.dlp.v2.DlpService|listFileStoreDataProfiles}.
+ * @memberof google.privacy.dlp.v2.DlpService
+ * @typedef ListFileStoreDataProfilesCallback
+ * @type {function}
+ * @param {Error|null} error Error, if any
+ * @param {google.privacy.dlp.v2.ListFileStoreDataProfilesResponse} [response] ListFileStoreDataProfilesResponse
+ */
+
+ /**
+ * Calls ListFileStoreDataProfiles.
+ * @function listFileStoreDataProfiles
+ * @memberof google.privacy.dlp.v2.DlpService
+ * @instance
+ * @param {google.privacy.dlp.v2.IListFileStoreDataProfilesRequest} request ListFileStoreDataProfilesRequest message or plain object
+ * @param {google.privacy.dlp.v2.DlpService.ListFileStoreDataProfilesCallback} callback Node-style callback called with the error, if any, and ListFileStoreDataProfilesResponse
+ * @returns {undefined}
+ * @variation 1
+ */
+ Object.defineProperty(DlpService.prototype.listFileStoreDataProfiles = function listFileStoreDataProfiles(request, callback) {
+ return this.rpcCall(listFileStoreDataProfiles, $root.google.privacy.dlp.v2.ListFileStoreDataProfilesRequest, $root.google.privacy.dlp.v2.ListFileStoreDataProfilesResponse, request, callback);
+ }, "name", { value: "ListFileStoreDataProfiles" });
+
+ /**
+ * Calls ListFileStoreDataProfiles.
+ * @function listFileStoreDataProfiles
+ * @memberof google.privacy.dlp.v2.DlpService
+ * @instance
+ * @param {google.privacy.dlp.v2.IListFileStoreDataProfilesRequest} request ListFileStoreDataProfilesRequest message or plain object
+ * @returns {Promise} Promise
+ * @variation 2
+ */
+
+ /**
+ * Callback as used by {@link google.privacy.dlp.v2.DlpService|getFileStoreDataProfile}.
+ * @memberof google.privacy.dlp.v2.DlpService
+ * @typedef GetFileStoreDataProfileCallback
+ * @type {function}
+ * @param {Error|null} error Error, if any
+ * @param {google.privacy.dlp.v2.FileStoreDataProfile} [response] FileStoreDataProfile
+ */
+
+ /**
+ * Calls GetFileStoreDataProfile.
+ * @function getFileStoreDataProfile
+ * @memberof google.privacy.dlp.v2.DlpService
+ * @instance
+ * @param {google.privacy.dlp.v2.IGetFileStoreDataProfileRequest} request GetFileStoreDataProfileRequest message or plain object
+ * @param {google.privacy.dlp.v2.DlpService.GetFileStoreDataProfileCallback} callback Node-style callback called with the error, if any, and FileStoreDataProfile
+ * @returns {undefined}
+ * @variation 1
+ */
+ Object.defineProperty(DlpService.prototype.getFileStoreDataProfile = function getFileStoreDataProfile(request, callback) {
+ return this.rpcCall(getFileStoreDataProfile, $root.google.privacy.dlp.v2.GetFileStoreDataProfileRequest, $root.google.privacy.dlp.v2.FileStoreDataProfile, request, callback);
+ }, "name", { value: "GetFileStoreDataProfile" });
+
+ /**
+ * Calls GetFileStoreDataProfile.
+ * @function getFileStoreDataProfile
+ * @memberof google.privacy.dlp.v2.DlpService
+ * @instance
+ * @param {google.privacy.dlp.v2.IGetFileStoreDataProfileRequest} request GetFileStoreDataProfileRequest message or plain object
+ * @returns {Promise} Promise
+ * @variation 2
+ */
+
+ /**
+ * Callback as used by {@link google.privacy.dlp.v2.DlpService|deleteFileStoreDataProfile}.
+ * @memberof google.privacy.dlp.v2.DlpService
+ * @typedef DeleteFileStoreDataProfileCallback
+ * @type {function}
+ * @param {Error|null} error Error, if any
+ * @param {google.protobuf.Empty} [response] Empty
+ */
+
+ /**
+ * Calls DeleteFileStoreDataProfile.
+ * @function deleteFileStoreDataProfile
+ * @memberof google.privacy.dlp.v2.DlpService
+ * @instance
+ * @param {google.privacy.dlp.v2.IDeleteFileStoreDataProfileRequest} request DeleteFileStoreDataProfileRequest message or plain object
+ * @param {google.privacy.dlp.v2.DlpService.DeleteFileStoreDataProfileCallback} callback Node-style callback called with the error, if any, and Empty
+ * @returns {undefined}
+ * @variation 1
+ */
+ Object.defineProperty(DlpService.prototype.deleteFileStoreDataProfile = function deleteFileStoreDataProfile(request, callback) {
+ return this.rpcCall(deleteFileStoreDataProfile, $root.google.privacy.dlp.v2.DeleteFileStoreDataProfileRequest, $root.google.protobuf.Empty, request, callback);
+ }, "name", { value: "DeleteFileStoreDataProfile" });
+
+ /**
+ * Calls DeleteFileStoreDataProfile.
+ * @function deleteFileStoreDataProfile
+ * @memberof google.privacy.dlp.v2.DlpService
+ * @instance
+ * @param {google.privacy.dlp.v2.IDeleteFileStoreDataProfileRequest} request DeleteFileStoreDataProfileRequest message or plain object
+ * @returns {Promise} Promise
+ * @variation 2
+ */
+
+ /**
+ * Callback as used by {@link google.privacy.dlp.v2.DlpService|getTableDataProfile}.
+ * @memberof google.privacy.dlp.v2.DlpService
+ * @typedef GetTableDataProfileCallback
+ * @type {function}
+ * @param {Error|null} error Error, if any
+ * @param {google.privacy.dlp.v2.TableDataProfile} [response] TableDataProfile
+ */
+
+ /**
+ * Calls GetTableDataProfile.
+ * @function getTableDataProfile
+ * @memberof google.privacy.dlp.v2.DlpService
+ * @instance
+ * @param {google.privacy.dlp.v2.IGetTableDataProfileRequest} request GetTableDataProfileRequest message or plain object
+ * @param {google.privacy.dlp.v2.DlpService.GetTableDataProfileCallback} callback Node-style callback called with the error, if any, and TableDataProfile
+ * @returns {undefined}
+ * @variation 1
+ */
+ Object.defineProperty(DlpService.prototype.getTableDataProfile = function getTableDataProfile(request, callback) {
+ return this.rpcCall(getTableDataProfile, $root.google.privacy.dlp.v2.GetTableDataProfileRequest, $root.google.privacy.dlp.v2.TableDataProfile, request, callback);
+ }, "name", { value: "GetTableDataProfile" });
+
+ /**
+ * Calls GetTableDataProfile.
+ * @function getTableDataProfile
+ * @memberof google.privacy.dlp.v2.DlpService
+ * @instance
+ * @param {google.privacy.dlp.v2.IGetTableDataProfileRequest} request GetTableDataProfileRequest message or plain object
+ * @returns {Promise} Promise
+ * @variation 2
+ */
+
+ /**
+ * Callback as used by {@link google.privacy.dlp.v2.DlpService|getColumnDataProfile}.
+ * @memberof google.privacy.dlp.v2.DlpService
+ * @typedef GetColumnDataProfileCallback
+ * @type {function}
+ * @param {Error|null} error Error, if any
+ * @param {google.privacy.dlp.v2.ColumnDataProfile} [response] ColumnDataProfile
+ */
+
+ /**
+ * Calls GetColumnDataProfile.
+ * @function getColumnDataProfile
+ * @memberof google.privacy.dlp.v2.DlpService
+ * @instance
+ * @param {google.privacy.dlp.v2.IGetColumnDataProfileRequest} request GetColumnDataProfileRequest message or plain object
+ * @param {google.privacy.dlp.v2.DlpService.GetColumnDataProfileCallback} callback Node-style callback called with the error, if any, and ColumnDataProfile
+ * @returns {undefined}
+ * @variation 1
+ */
+ Object.defineProperty(DlpService.prototype.getColumnDataProfile = function getColumnDataProfile(request, callback) {
+ return this.rpcCall(getColumnDataProfile, $root.google.privacy.dlp.v2.GetColumnDataProfileRequest, $root.google.privacy.dlp.v2.ColumnDataProfile, request, callback);
+ }, "name", { value: "GetColumnDataProfile" });
+
+ /**
+ * Calls GetColumnDataProfile.
+ * @function getColumnDataProfile
+ * @memberof google.privacy.dlp.v2.DlpService
+ * @instance
+ * @param {google.privacy.dlp.v2.IGetColumnDataProfileRequest} request GetColumnDataProfileRequest message or plain object
+ * @returns {Promise} Promise
+ * @variation 2
+ */
+
+ /**
+ * Callback as used by {@link google.privacy.dlp.v2.DlpService|deleteTableDataProfile}.
+ * @memberof google.privacy.dlp.v2.DlpService
+ * @typedef DeleteTableDataProfileCallback
+ * @type {function}
+ * @param {Error|null} error Error, if any
+ * @param {google.protobuf.Empty} [response] Empty
+ */
+
+ /**
+ * Calls DeleteTableDataProfile.
+ * @function deleteTableDataProfile
+ * @memberof google.privacy.dlp.v2.DlpService
+ * @instance
+ * @param {google.privacy.dlp.v2.IDeleteTableDataProfileRequest} request DeleteTableDataProfileRequest message or plain object
+ * @param {google.privacy.dlp.v2.DlpService.DeleteTableDataProfileCallback} callback Node-style callback called with the error, if any, and Empty
+ * @returns {undefined}
+ * @variation 1
+ */
+ Object.defineProperty(DlpService.prototype.deleteTableDataProfile = function deleteTableDataProfile(request, callback) {
+ return this.rpcCall(deleteTableDataProfile, $root.google.privacy.dlp.v2.DeleteTableDataProfileRequest, $root.google.protobuf.Empty, request, callback);
+ }, "name", { value: "DeleteTableDataProfile" });
+
+ /**
+ * Calls DeleteTableDataProfile.
+ * @function deleteTableDataProfile
+ * @memberof google.privacy.dlp.v2.DlpService
+ * @instance
+ * @param {google.privacy.dlp.v2.IDeleteTableDataProfileRequest} request DeleteTableDataProfileRequest message or plain object
+ * @returns {Promise} Promise
+ * @variation 2
+ */
+
+ /**
+ * Callback as used by {@link google.privacy.dlp.v2.DlpService|hybridInspectDlpJob}.
+ * @memberof google.privacy.dlp.v2.DlpService
+ * @typedef HybridInspectDlpJobCallback
+ * @type {function}
+ * @param {Error|null} error Error, if any
+ * @param {google.privacy.dlp.v2.HybridInspectResponse} [response] HybridInspectResponse
+ */
+
+ /**
+ * Calls HybridInspectDlpJob.
+ * @function hybridInspectDlpJob
+ * @memberof google.privacy.dlp.v2.DlpService
+ * @instance
+ * @param {google.privacy.dlp.v2.IHybridInspectDlpJobRequest} request HybridInspectDlpJobRequest message or plain object
+ * @param {google.privacy.dlp.v2.DlpService.HybridInspectDlpJobCallback} callback Node-style callback called with the error, if any, and HybridInspectResponse
+ * @returns {undefined}
+ * @variation 1
+ */
+ Object.defineProperty(DlpService.prototype.hybridInspectDlpJob = function hybridInspectDlpJob(request, callback) {
+ return this.rpcCall(hybridInspectDlpJob, $root.google.privacy.dlp.v2.HybridInspectDlpJobRequest, $root.google.privacy.dlp.v2.HybridInspectResponse, request, callback);
+ }, "name", { value: "HybridInspectDlpJob" });
+
+ /**
+ * Calls HybridInspectDlpJob.
+ * @function hybridInspectDlpJob
+ * @memberof google.privacy.dlp.v2.DlpService
+ * @instance
+ * @param {google.privacy.dlp.v2.IHybridInspectDlpJobRequest} request HybridInspectDlpJobRequest message or plain object
+ * @returns {Promise} Promise
+ * @variation 2
+ */
+
+ /**
+ * Callback as used by {@link google.privacy.dlp.v2.DlpService|finishDlpJob}.
+ * @memberof google.privacy.dlp.v2.DlpService
+ * @typedef FinishDlpJobCallback
+ * @type {function}
+ * @param {Error|null} error Error, if any
+ * @param {google.protobuf.Empty} [response] Empty
+ */
+
+ /**
+ * Calls FinishDlpJob.
+ * @function finishDlpJob
+ * @memberof google.privacy.dlp.v2.DlpService
+ * @instance
+ * @param {google.privacy.dlp.v2.IFinishDlpJobRequest} request FinishDlpJobRequest message or plain object
+ * @param {google.privacy.dlp.v2.DlpService.FinishDlpJobCallback} callback Node-style callback called with the error, if any, and Empty
+ * @returns {undefined}
+ * @variation 1
+ */
+ Object.defineProperty(DlpService.prototype.finishDlpJob = function finishDlpJob(request, callback) {
+ return this.rpcCall(finishDlpJob, $root.google.privacy.dlp.v2.FinishDlpJobRequest, $root.google.protobuf.Empty, request, callback);
+ }, "name", { value: "FinishDlpJob" });
+
+ /**
+ * Calls FinishDlpJob.
+ * @function finishDlpJob
+ * @memberof google.privacy.dlp.v2.DlpService
+ * @instance
+ * @param {google.privacy.dlp.v2.IFinishDlpJobRequest} request FinishDlpJobRequest message or plain object
+ * @returns {Promise} Promise
+ * @variation 2
+ */
+
+ /**
+ * Callback as used by {@link google.privacy.dlp.v2.DlpService|createConnection}.
+ * @memberof google.privacy.dlp.v2.DlpService
+ * @typedef CreateConnectionCallback
+ * @type {function}
+ * @param {Error|null} error Error, if any
+ * @param {google.privacy.dlp.v2.Connection} [response] Connection
+ */
+
+ /**
+ * Calls CreateConnection.
+ * @function createConnection
+ * @memberof google.privacy.dlp.v2.DlpService
+ * @instance
+ * @param {google.privacy.dlp.v2.ICreateConnectionRequest} request CreateConnectionRequest message or plain object
+ * @param {google.privacy.dlp.v2.DlpService.CreateConnectionCallback} callback Node-style callback called with the error, if any, and Connection
+ * @returns {undefined}
+ * @variation 1
+ */
+ Object.defineProperty(DlpService.prototype.createConnection = function createConnection(request, callback) {
+ return this.rpcCall(createConnection, $root.google.privacy.dlp.v2.CreateConnectionRequest, $root.google.privacy.dlp.v2.Connection, request, callback);
+ }, "name", { value: "CreateConnection" });
+
+ /**
+ * Calls CreateConnection.
+ * @function createConnection
+ * @memberof google.privacy.dlp.v2.DlpService
+ * @instance
+ * @param {google.privacy.dlp.v2.ICreateConnectionRequest} request CreateConnectionRequest message or plain object
+ * @returns {Promise} Promise
+ * @variation 2
+ */
+
+ /**
+ * Callback as used by {@link google.privacy.dlp.v2.DlpService|getConnection}.
+ * @memberof google.privacy.dlp.v2.DlpService
+ * @typedef GetConnectionCallback
+ * @type {function}
+ * @param {Error|null} error Error, if any
+ * @param {google.privacy.dlp.v2.Connection} [response] Connection
+ */
+
+ /**
+ * Calls GetConnection.
+ * @function getConnection
+ * @memberof google.privacy.dlp.v2.DlpService
+ * @instance
+ * @param {google.privacy.dlp.v2.IGetConnectionRequest} request GetConnectionRequest message or plain object
+ * @param {google.privacy.dlp.v2.DlpService.GetConnectionCallback} callback Node-style callback called with the error, if any, and Connection
+ * @returns {undefined}
+ * @variation 1
+ */
+ Object.defineProperty(DlpService.prototype.getConnection = function getConnection(request, callback) {
+ return this.rpcCall(getConnection, $root.google.privacy.dlp.v2.GetConnectionRequest, $root.google.privacy.dlp.v2.Connection, request, callback);
+ }, "name", { value: "GetConnection" });
+
+ /**
+ * Calls GetConnection.
+ * @function getConnection
+ * @memberof google.privacy.dlp.v2.DlpService
+ * @instance
+ * @param {google.privacy.dlp.v2.IGetConnectionRequest} request GetConnectionRequest message or plain object
+ * @returns {Promise} Promise
+ * @variation 2
+ */
+
+ /**
+ * Callback as used by {@link google.privacy.dlp.v2.DlpService|listConnections}.
+ * @memberof google.privacy.dlp.v2.DlpService
+ * @typedef ListConnectionsCallback
+ * @type {function}
+ * @param {Error|null} error Error, if any
+ * @param {google.privacy.dlp.v2.ListConnectionsResponse} [response] ListConnectionsResponse
+ */
+
+ /**
+ * Calls ListConnections.
+ * @function listConnections
+ * @memberof google.privacy.dlp.v2.DlpService
+ * @instance
+ * @param {google.privacy.dlp.v2.IListConnectionsRequest} request ListConnectionsRequest message or plain object
+ * @param {google.privacy.dlp.v2.DlpService.ListConnectionsCallback} callback Node-style callback called with the error, if any, and ListConnectionsResponse
+ * @returns {undefined}
+ * @variation 1
+ */
+ Object.defineProperty(DlpService.prototype.listConnections = function listConnections(request, callback) {
+ return this.rpcCall(listConnections, $root.google.privacy.dlp.v2.ListConnectionsRequest, $root.google.privacy.dlp.v2.ListConnectionsResponse, request, callback);
+ }, "name", { value: "ListConnections" });
+
+ /**
+ * Calls ListConnections.
+ * @function listConnections
+ * @memberof google.privacy.dlp.v2.DlpService
+ * @instance
+ * @param {google.privacy.dlp.v2.IListConnectionsRequest} request ListConnectionsRequest message or plain object
+ * @returns {Promise} Promise
+ * @variation 2
+ */
+
+ /**
+ * Callback as used by {@link google.privacy.dlp.v2.DlpService|searchConnections}.
+ * @memberof google.privacy.dlp.v2.DlpService
+ * @typedef SearchConnectionsCallback
+ * @type {function}
+ * @param {Error|null} error Error, if any
+ * @param {google.privacy.dlp.v2.SearchConnectionsResponse} [response] SearchConnectionsResponse
+ */
+
+ /**
+ * Calls SearchConnections.
+ * @function searchConnections
+ * @memberof google.privacy.dlp.v2.DlpService
+ * @instance
+ * @param {google.privacy.dlp.v2.ISearchConnectionsRequest} request SearchConnectionsRequest message or plain object
+ * @param {google.privacy.dlp.v2.DlpService.SearchConnectionsCallback} callback Node-style callback called with the error, if any, and SearchConnectionsResponse
+ * @returns {undefined}
+ * @variation 1
+ */
+ Object.defineProperty(DlpService.prototype.searchConnections = function searchConnections(request, callback) {
+ return this.rpcCall(searchConnections, $root.google.privacy.dlp.v2.SearchConnectionsRequest, $root.google.privacy.dlp.v2.SearchConnectionsResponse, request, callback);
+ }, "name", { value: "SearchConnections" });
+
+ /**
+ * Calls SearchConnections.
+ * @function searchConnections
+ * @memberof google.privacy.dlp.v2.DlpService
+ * @instance
+ * @param {google.privacy.dlp.v2.ISearchConnectionsRequest} request SearchConnectionsRequest message or plain object
+ * @returns {Promise} Promise
+ * @variation 2
+ */
+
+ /**
+ * Callback as used by {@link google.privacy.dlp.v2.DlpService|deleteConnection}.
+ * @memberof google.privacy.dlp.v2.DlpService
+ * @typedef DeleteConnectionCallback
+ * @type {function}
+ * @param {Error|null} error Error, if any
+ * @param {google.protobuf.Empty} [response] Empty
+ */
+
+ /**
+ * Calls DeleteConnection.
+ * @function deleteConnection
+ * @memberof google.privacy.dlp.v2.DlpService
+ * @instance
+ * @param {google.privacy.dlp.v2.IDeleteConnectionRequest} request DeleteConnectionRequest message or plain object
+ * @param {google.privacy.dlp.v2.DlpService.DeleteConnectionCallback} callback Node-style callback called with the error, if any, and Empty
+ * @returns {undefined}
+ * @variation 1
+ */
+ Object.defineProperty(DlpService.prototype.deleteConnection = function deleteConnection(request, callback) {
+ return this.rpcCall(deleteConnection, $root.google.privacy.dlp.v2.DeleteConnectionRequest, $root.google.protobuf.Empty, request, callback);
+ }, "name", { value: "DeleteConnection" });
+
+ /**
+ * Calls DeleteConnection.
+ * @function deleteConnection
+ * @memberof google.privacy.dlp.v2.DlpService
+ * @instance
+ * @param {google.privacy.dlp.v2.IDeleteConnectionRequest} request DeleteConnectionRequest message or plain object
+ * @returns {Promise} Promise
+ * @variation 2
+ */
+
+ /**
+ * Callback as used by {@link google.privacy.dlp.v2.DlpService|updateConnection}.
+ * @memberof google.privacy.dlp.v2.DlpService
+ * @typedef UpdateConnectionCallback
+ * @type {function}
+ * @param {Error|null} error Error, if any
+ * @param {google.privacy.dlp.v2.Connection} [response] Connection
+ */
+
+ /**
+ * Calls UpdateConnection.
+ * @function updateConnection
+ * @memberof google.privacy.dlp.v2.DlpService
+ * @instance
+ * @param {google.privacy.dlp.v2.IUpdateConnectionRequest} request UpdateConnectionRequest message or plain object
+ * @param {google.privacy.dlp.v2.DlpService.UpdateConnectionCallback} callback Node-style callback called with the error, if any, and Connection
+ * @returns {undefined}
+ * @variation 1
+ */
+ Object.defineProperty(DlpService.prototype.updateConnection = function updateConnection(request, callback) {
+ return this.rpcCall(updateConnection, $root.google.privacy.dlp.v2.UpdateConnectionRequest, $root.google.privacy.dlp.v2.Connection, request, callback);
+ }, "name", { value: "UpdateConnection" });
+
+ /**
+ * Calls UpdateConnection.
+ * @function updateConnection
+ * @memberof google.privacy.dlp.v2.DlpService
+ * @instance
+ * @param {google.privacy.dlp.v2.IUpdateConnectionRequest} request UpdateConnectionRequest message or plain object
+ * @returns {Promise} Promise
+ * @variation 2
+ */
+
+ return DlpService;
+ })();
+
+ v2.ExcludeInfoTypes = (function() {
+
+ /**
+ * Properties of an ExcludeInfoTypes.
+ * @memberof google.privacy.dlp.v2
+ * @interface IExcludeInfoTypes
+ * @property {Array.|null} [infoTypes] ExcludeInfoTypes infoTypes
+ */
+
+ /**
+ * Constructs a new ExcludeInfoTypes.
+ * @memberof google.privacy.dlp.v2
+ * @classdesc Represents an ExcludeInfoTypes.
+ * @implements IExcludeInfoTypes
+ * @constructor
+ * @param {google.privacy.dlp.v2.IExcludeInfoTypes=} [properties] Properties to set
+ */
+ function ExcludeInfoTypes(properties) {
+ this.infoTypes = [];
+ 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]];
+ }
+
+ /**
+ * ExcludeInfoTypes infoTypes.
+ * @member {Array.} infoTypes
+ * @memberof google.privacy.dlp.v2.ExcludeInfoTypes
+ * @instance
+ */
+ ExcludeInfoTypes.prototype.infoTypes = $util.emptyArray;
+
+ /**
+ * Creates a new ExcludeInfoTypes instance using the specified properties.
+ * @function create
+ * @memberof google.privacy.dlp.v2.ExcludeInfoTypes
+ * @static
+ * @param {google.privacy.dlp.v2.IExcludeInfoTypes=} [properties] Properties to set
+ * @returns {google.privacy.dlp.v2.ExcludeInfoTypes} ExcludeInfoTypes instance
+ */
+ ExcludeInfoTypes.create = function create(properties) {
+ return new ExcludeInfoTypes(properties);
+ };
+
+ /**
+ * Encodes the specified ExcludeInfoTypes message. Does not implicitly {@link google.privacy.dlp.v2.ExcludeInfoTypes.verify|verify} messages.
+ * @function encode
+ * @memberof google.privacy.dlp.v2.ExcludeInfoTypes
+ * @static
+ * @param {google.privacy.dlp.v2.IExcludeInfoTypes} message ExcludeInfoTypes message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ ExcludeInfoTypes.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.infoTypes != null && message.infoTypes.length)
+ for (var i = 0; i < message.infoTypes.length; ++i)
+ $root.google.privacy.dlp.v2.InfoType.encode(message.infoTypes[i], writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
+ return writer;
+ };
+
+ /**
+ * Encodes the specified ExcludeInfoTypes message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.ExcludeInfoTypes.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.privacy.dlp.v2.ExcludeInfoTypes
+ * @static
+ * @param {google.privacy.dlp.v2.IExcludeInfoTypes} message ExcludeInfoTypes message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ ExcludeInfoTypes.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes an ExcludeInfoTypes message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.privacy.dlp.v2.ExcludeInfoTypes
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.privacy.dlp.v2.ExcludeInfoTypes} ExcludeInfoTypes
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ ExcludeInfoTypes.decode = function decode(reader, length, error) {
+ if (!(reader instanceof $Reader))
+ reader = $Reader.create(reader);
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.privacy.dlp.v2.ExcludeInfoTypes();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ if (tag === error)
+ break;
+ switch (tag >>> 3) {
+ case 1: {
+ if (!(message.infoTypes && message.infoTypes.length))
+ message.infoTypes = [];
+ message.infoTypes.push($root.google.privacy.dlp.v2.InfoType.decode(reader, reader.uint32()));
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes an ExcludeInfoTypes message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.privacy.dlp.v2.ExcludeInfoTypes
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.privacy.dlp.v2.ExcludeInfoTypes} ExcludeInfoTypes
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ ExcludeInfoTypes.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies an ExcludeInfoTypes message.
+ * @function verify
+ * @memberof google.privacy.dlp.v2.ExcludeInfoTypes
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ ExcludeInfoTypes.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ if (message.infoTypes != null && message.hasOwnProperty("infoTypes")) {
+ if (!Array.isArray(message.infoTypes))
+ return "infoTypes: array expected";
+ for (var i = 0; i < message.infoTypes.length; ++i) {
+ var error = $root.google.privacy.dlp.v2.InfoType.verify(message.infoTypes[i]);
+ if (error)
+ return "infoTypes." + error;
+ }
+ }
+ return null;
+ };
+
+ /**
+ * Creates an ExcludeInfoTypes message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.privacy.dlp.v2.ExcludeInfoTypes
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.privacy.dlp.v2.ExcludeInfoTypes} ExcludeInfoTypes
+ */
+ ExcludeInfoTypes.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.privacy.dlp.v2.ExcludeInfoTypes)
+ return object;
+ var message = new $root.google.privacy.dlp.v2.ExcludeInfoTypes();
+ if (object.infoTypes) {
+ if (!Array.isArray(object.infoTypes))
+ throw TypeError(".google.privacy.dlp.v2.ExcludeInfoTypes.infoTypes: array expected");
+ message.infoTypes = [];
+ for (var i = 0; i < object.infoTypes.length; ++i) {
+ if (typeof object.infoTypes[i] !== "object")
+ throw TypeError(".google.privacy.dlp.v2.ExcludeInfoTypes.infoTypes: object expected");
+ message.infoTypes[i] = $root.google.privacy.dlp.v2.InfoType.fromObject(object.infoTypes[i]);
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Creates a plain object from an ExcludeInfoTypes message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.privacy.dlp.v2.ExcludeInfoTypes
+ * @static
+ * @param {google.privacy.dlp.v2.ExcludeInfoTypes} message ExcludeInfoTypes
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ ExcludeInfoTypes.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.arrays || options.defaults)
+ object.infoTypes = [];
+ if (message.infoTypes && message.infoTypes.length) {
+ object.infoTypes = [];
+ for (var j = 0; j < message.infoTypes.length; ++j)
+ object.infoTypes[j] = $root.google.privacy.dlp.v2.InfoType.toObject(message.infoTypes[j], options);
+ }
+ return object;
+ };
+
+ /**
+ * Converts this ExcludeInfoTypes to JSON.
+ * @function toJSON
+ * @memberof google.privacy.dlp.v2.ExcludeInfoTypes
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ ExcludeInfoTypes.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for ExcludeInfoTypes
+ * @function getTypeUrl
+ * @memberof google.privacy.dlp.v2.ExcludeInfoTypes
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ ExcludeInfoTypes.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.privacy.dlp.v2.ExcludeInfoTypes";
+ };
+
+ return ExcludeInfoTypes;
+ })();
+
+ v2.ExcludeByHotword = (function() {
+
+ /**
+ * Properties of an ExcludeByHotword.
+ * @memberof google.privacy.dlp.v2
+ * @interface IExcludeByHotword
+ * @property {google.privacy.dlp.v2.CustomInfoType.IRegex|null} [hotwordRegex] ExcludeByHotword hotwordRegex
+ * @property {google.privacy.dlp.v2.CustomInfoType.DetectionRule.IProximity|null} [proximity] ExcludeByHotword proximity
+ */
+
+ /**
+ * Constructs a new ExcludeByHotword.
+ * @memberof google.privacy.dlp.v2
+ * @classdesc Represents an ExcludeByHotword.
+ * @implements IExcludeByHotword
+ * @constructor
+ * @param {google.privacy.dlp.v2.IExcludeByHotword=} [properties] Properties to set
+ */
+ function ExcludeByHotword(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]];
+ }
+
+ /**
+ * ExcludeByHotword hotwordRegex.
+ * @member {google.privacy.dlp.v2.CustomInfoType.IRegex|null|undefined} hotwordRegex
+ * @memberof google.privacy.dlp.v2.ExcludeByHotword
+ * @instance
+ */
+ ExcludeByHotword.prototype.hotwordRegex = null;
+
+ /**
+ * ExcludeByHotword proximity.
+ * @member {google.privacy.dlp.v2.CustomInfoType.DetectionRule.IProximity|null|undefined} proximity
+ * @memberof google.privacy.dlp.v2.ExcludeByHotword
+ * @instance
+ */
+ ExcludeByHotword.prototype.proximity = null;
+
+ /**
+ * Creates a new ExcludeByHotword instance using the specified properties.
+ * @function create
+ * @memberof google.privacy.dlp.v2.ExcludeByHotword
+ * @static
+ * @param {google.privacy.dlp.v2.IExcludeByHotword=} [properties] Properties to set
+ * @returns {google.privacy.dlp.v2.ExcludeByHotword} ExcludeByHotword instance
+ */
+ ExcludeByHotword.create = function create(properties) {
+ return new ExcludeByHotword(properties);
+ };
+
+ /**
+ * Encodes the specified ExcludeByHotword message. Does not implicitly {@link google.privacy.dlp.v2.ExcludeByHotword.verify|verify} messages.
+ * @function encode
+ * @memberof google.privacy.dlp.v2.ExcludeByHotword
+ * @static
+ * @param {google.privacy.dlp.v2.IExcludeByHotword} message ExcludeByHotword message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ ExcludeByHotword.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.hotwordRegex != null && Object.hasOwnProperty.call(message, "hotwordRegex"))
+ $root.google.privacy.dlp.v2.CustomInfoType.Regex.encode(message.hotwordRegex, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
+ if (message.proximity != null && Object.hasOwnProperty.call(message, "proximity"))
+ $root.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity.encode(message.proximity, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
+ return writer;
+ };
+
+ /**
+ * Encodes the specified ExcludeByHotword message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.ExcludeByHotword.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.privacy.dlp.v2.ExcludeByHotword
+ * @static
+ * @param {google.privacy.dlp.v2.IExcludeByHotword} message ExcludeByHotword message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ ExcludeByHotword.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes an ExcludeByHotword message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.privacy.dlp.v2.ExcludeByHotword
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.privacy.dlp.v2.ExcludeByHotword} ExcludeByHotword
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ ExcludeByHotword.decode = function decode(reader, length, error) {
+ if (!(reader instanceof $Reader))
+ reader = $Reader.create(reader);
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.privacy.dlp.v2.ExcludeByHotword();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ if (tag === error)
+ break;
+ switch (tag >>> 3) {
+ case 1: {
+ message.hotwordRegex = $root.google.privacy.dlp.v2.CustomInfoType.Regex.decode(reader, reader.uint32());
+ break;
+ }
+ case 2: {
+ message.proximity = $root.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity.decode(reader, reader.uint32());
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes an ExcludeByHotword message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.privacy.dlp.v2.ExcludeByHotword
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.privacy.dlp.v2.ExcludeByHotword} ExcludeByHotword
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ ExcludeByHotword.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies an ExcludeByHotword message.
+ * @function verify
+ * @memberof google.privacy.dlp.v2.ExcludeByHotword
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ ExcludeByHotword.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ if (message.hotwordRegex != null && message.hasOwnProperty("hotwordRegex")) {
+ var error = $root.google.privacy.dlp.v2.CustomInfoType.Regex.verify(message.hotwordRegex);
+ if (error)
+ return "hotwordRegex." + error;
+ }
+ if (message.proximity != null && message.hasOwnProperty("proximity")) {
+ var error = $root.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity.verify(message.proximity);
+ if (error)
+ return "proximity." + error;
+ }
+ return null;
+ };
+
+ /**
+ * Creates an ExcludeByHotword message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.privacy.dlp.v2.ExcludeByHotword
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.privacy.dlp.v2.ExcludeByHotword} ExcludeByHotword
+ */
+ ExcludeByHotword.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.privacy.dlp.v2.ExcludeByHotword)
+ return object;
+ var message = new $root.google.privacy.dlp.v2.ExcludeByHotword();
+ if (object.hotwordRegex != null) {
+ if (typeof object.hotwordRegex !== "object")
+ throw TypeError(".google.privacy.dlp.v2.ExcludeByHotword.hotwordRegex: object expected");
+ message.hotwordRegex = $root.google.privacy.dlp.v2.CustomInfoType.Regex.fromObject(object.hotwordRegex);
+ }
+ if (object.proximity != null) {
+ if (typeof object.proximity !== "object")
+ throw TypeError(".google.privacy.dlp.v2.ExcludeByHotword.proximity: object expected");
+ message.proximity = $root.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity.fromObject(object.proximity);
+ }
+ return message;
+ };
+
+ /**
+ * Creates a plain object from an ExcludeByHotword message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.privacy.dlp.v2.ExcludeByHotword
+ * @static
+ * @param {google.privacy.dlp.v2.ExcludeByHotword} message ExcludeByHotword
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ ExcludeByHotword.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.defaults) {
+ object.hotwordRegex = null;
+ object.proximity = null;
+ }
+ if (message.hotwordRegex != null && message.hasOwnProperty("hotwordRegex"))
+ object.hotwordRegex = $root.google.privacy.dlp.v2.CustomInfoType.Regex.toObject(message.hotwordRegex, options);
+ if (message.proximity != null && message.hasOwnProperty("proximity"))
+ object.proximity = $root.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity.toObject(message.proximity, options);
+ return object;
+ };
+
+ /**
+ * Converts this ExcludeByHotword to JSON.
+ * @function toJSON
+ * @memberof google.privacy.dlp.v2.ExcludeByHotword
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ ExcludeByHotword.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for ExcludeByHotword
+ * @function getTypeUrl
+ * @memberof google.privacy.dlp.v2.ExcludeByHotword
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ ExcludeByHotword.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.privacy.dlp.v2.ExcludeByHotword";
+ };
+
+ return ExcludeByHotword;
+ })();
+
+ v2.ExclusionRule = (function() {
+
+ /**
+ * Properties of an ExclusionRule.
+ * @memberof google.privacy.dlp.v2
+ * @interface IExclusionRule
+ * @property {google.privacy.dlp.v2.CustomInfoType.IDictionary|null} [dictionary] ExclusionRule dictionary
+ * @property {google.privacy.dlp.v2.CustomInfoType.IRegex|null} [regex] ExclusionRule regex
+ * @property {google.privacy.dlp.v2.IExcludeInfoTypes|null} [excludeInfoTypes] ExclusionRule excludeInfoTypes
+ * @property {google.privacy.dlp.v2.IExcludeByHotword|null} [excludeByHotword] ExclusionRule excludeByHotword
+ * @property {google.privacy.dlp.v2.MatchingType|null} [matchingType] ExclusionRule matchingType
+ */
+
+ /**
+ * Constructs a new ExclusionRule.
+ * @memberof google.privacy.dlp.v2
+ * @classdesc Represents an ExclusionRule.
+ * @implements IExclusionRule
+ * @constructor
+ * @param {google.privacy.dlp.v2.IExclusionRule=} [properties] Properties to set
+ */
+ function ExclusionRule(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]];
+ }
+
+ /**
+ * ExclusionRule dictionary.
+ * @member {google.privacy.dlp.v2.CustomInfoType.IDictionary|null|undefined} dictionary
+ * @memberof google.privacy.dlp.v2.ExclusionRule
+ * @instance
+ */
+ ExclusionRule.prototype.dictionary = null;
+
+ /**
+ * ExclusionRule regex.
+ * @member {google.privacy.dlp.v2.CustomInfoType.IRegex|null|undefined} regex
+ * @memberof google.privacy.dlp.v2.ExclusionRule
+ * @instance
+ */
+ ExclusionRule.prototype.regex = null;
+
+ /**
+ * ExclusionRule excludeInfoTypes.
+ * @member {google.privacy.dlp.v2.IExcludeInfoTypes|null|undefined} excludeInfoTypes
+ * @memberof google.privacy.dlp.v2.ExclusionRule
+ * @instance
+ */
+ ExclusionRule.prototype.excludeInfoTypes = null;
+
+ /**
+ * ExclusionRule excludeByHotword.
+ * @member {google.privacy.dlp.v2.IExcludeByHotword|null|undefined} excludeByHotword
+ * @memberof google.privacy.dlp.v2.ExclusionRule
+ * @instance
+ */
+ ExclusionRule.prototype.excludeByHotword = null;
+
+ /**
+ * ExclusionRule matchingType.
+ * @member {google.privacy.dlp.v2.MatchingType} matchingType
+ * @memberof google.privacy.dlp.v2.ExclusionRule
+ * @instance
+ */
+ ExclusionRule.prototype.matchingType = 0;
+
+ // OneOf field names bound to virtual getters and setters
+ var $oneOfFields;
+
+ /**
+ * ExclusionRule type.
+ * @member {"dictionary"|"regex"|"excludeInfoTypes"|"excludeByHotword"|undefined} type
+ * @memberof google.privacy.dlp.v2.ExclusionRule
+ * @instance
+ */
+ Object.defineProperty(ExclusionRule.prototype, "type", {
+ get: $util.oneOfGetter($oneOfFields = ["dictionary", "regex", "excludeInfoTypes", "excludeByHotword"]),
+ set: $util.oneOfSetter($oneOfFields)
+ });
+
+ /**
+ * Creates a new ExclusionRule instance using the specified properties.
+ * @function create
+ * @memberof google.privacy.dlp.v2.ExclusionRule
+ * @static
+ * @param {google.privacy.dlp.v2.IExclusionRule=} [properties] Properties to set
+ * @returns {google.privacy.dlp.v2.ExclusionRule} ExclusionRule instance
+ */
+ ExclusionRule.create = function create(properties) {
+ return new ExclusionRule(properties);
+ };
+
+ /**
+ * Encodes the specified ExclusionRule message. Does not implicitly {@link google.privacy.dlp.v2.ExclusionRule.verify|verify} messages.
+ * @function encode
+ * @memberof google.privacy.dlp.v2.ExclusionRule
+ * @static
+ * @param {google.privacy.dlp.v2.IExclusionRule} message ExclusionRule message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ ExclusionRule.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.dictionary != null && Object.hasOwnProperty.call(message, "dictionary"))
+ $root.google.privacy.dlp.v2.CustomInfoType.Dictionary.encode(message.dictionary, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
+ if (message.regex != null && Object.hasOwnProperty.call(message, "regex"))
+ $root.google.privacy.dlp.v2.CustomInfoType.Regex.encode(message.regex, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
+ if (message.excludeInfoTypes != null && Object.hasOwnProperty.call(message, "excludeInfoTypes"))
+ $root.google.privacy.dlp.v2.ExcludeInfoTypes.encode(message.excludeInfoTypes, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim();
+ if (message.matchingType != null && Object.hasOwnProperty.call(message, "matchingType"))
+ writer.uint32(/* id 4, wireType 0 =*/32).int32(message.matchingType);
+ if (message.excludeByHotword != null && Object.hasOwnProperty.call(message, "excludeByHotword"))
+ $root.google.privacy.dlp.v2.ExcludeByHotword.encode(message.excludeByHotword, writer.uint32(/* id 5, wireType 2 =*/42).fork()).ldelim();
+ return writer;
+ };
+
+ /**
+ * Encodes the specified ExclusionRule message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.ExclusionRule.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.privacy.dlp.v2.ExclusionRule
+ * @static
+ * @param {google.privacy.dlp.v2.IExclusionRule} message ExclusionRule message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ ExclusionRule.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes an ExclusionRule message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.privacy.dlp.v2.ExclusionRule
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.privacy.dlp.v2.ExclusionRule} ExclusionRule
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ ExclusionRule.decode = function decode(reader, length, error) {
+ if (!(reader instanceof $Reader))
+ reader = $Reader.create(reader);
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.privacy.dlp.v2.ExclusionRule();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ if (tag === error)
+ break;
+ switch (tag >>> 3) {
+ case 1: {
+ message.dictionary = $root.google.privacy.dlp.v2.CustomInfoType.Dictionary.decode(reader, reader.uint32());
+ break;
+ }
+ case 2: {
+ message.regex = $root.google.privacy.dlp.v2.CustomInfoType.Regex.decode(reader, reader.uint32());
+ break;
+ }
+ case 3: {
+ message.excludeInfoTypes = $root.google.privacy.dlp.v2.ExcludeInfoTypes.decode(reader, reader.uint32());
+ break;
+ }
+ case 5: {
+ message.excludeByHotword = $root.google.privacy.dlp.v2.ExcludeByHotword.decode(reader, reader.uint32());
+ break;
+ }
+ case 4: {
+ message.matchingType = reader.int32();
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes an ExclusionRule message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.privacy.dlp.v2.ExclusionRule
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.privacy.dlp.v2.ExclusionRule} ExclusionRule
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ ExclusionRule.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies an ExclusionRule message.
+ * @function verify
+ * @memberof google.privacy.dlp.v2.ExclusionRule
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ ExclusionRule.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ var properties = {};
+ if (message.dictionary != null && message.hasOwnProperty("dictionary")) {
+ properties.type = 1;
+ {
+ var error = $root.google.privacy.dlp.v2.CustomInfoType.Dictionary.verify(message.dictionary);
+ if (error)
+ return "dictionary." + error;
+ }
+ }
+ if (message.regex != null && message.hasOwnProperty("regex")) {
+ if (properties.type === 1)
+ return "type: multiple values";
+ properties.type = 1;
+ {
+ var error = $root.google.privacy.dlp.v2.CustomInfoType.Regex.verify(message.regex);
+ if (error)
+ return "regex." + error;
+ }
+ }
+ if (message.excludeInfoTypes != null && message.hasOwnProperty("excludeInfoTypes")) {
+ if (properties.type === 1)
+ return "type: multiple values";
+ properties.type = 1;
+ {
+ var error = $root.google.privacy.dlp.v2.ExcludeInfoTypes.verify(message.excludeInfoTypes);
+ if (error)
+ return "excludeInfoTypes." + error;
+ }
+ }
+ if (message.excludeByHotword != null && message.hasOwnProperty("excludeByHotword")) {
+ if (properties.type === 1)
+ return "type: multiple values";
+ properties.type = 1;
+ {
+ var error = $root.google.privacy.dlp.v2.ExcludeByHotword.verify(message.excludeByHotword);
+ if (error)
+ return "excludeByHotword." + error;
+ }
+ }
+ if (message.matchingType != null && message.hasOwnProperty("matchingType"))
+ switch (message.matchingType) {
+ default:
+ return "matchingType: enum value expected";
+ case 0:
+ case 1:
+ case 2:
+ case 3:
+ break;
+ }
+ return null;
+ };
+
+ /**
+ * Creates an ExclusionRule message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.privacy.dlp.v2.ExclusionRule
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.privacy.dlp.v2.ExclusionRule} ExclusionRule
+ */
+ ExclusionRule.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.privacy.dlp.v2.ExclusionRule)
+ return object;
+ var message = new $root.google.privacy.dlp.v2.ExclusionRule();
+ if (object.dictionary != null) {
+ if (typeof object.dictionary !== "object")
+ throw TypeError(".google.privacy.dlp.v2.ExclusionRule.dictionary: object expected");
+ message.dictionary = $root.google.privacy.dlp.v2.CustomInfoType.Dictionary.fromObject(object.dictionary);
+ }
+ if (object.regex != null) {
+ if (typeof object.regex !== "object")
+ throw TypeError(".google.privacy.dlp.v2.ExclusionRule.regex: object expected");
+ message.regex = $root.google.privacy.dlp.v2.CustomInfoType.Regex.fromObject(object.regex);
+ }
+ if (object.excludeInfoTypes != null) {
+ if (typeof object.excludeInfoTypes !== "object")
+ throw TypeError(".google.privacy.dlp.v2.ExclusionRule.excludeInfoTypes: object expected");
+ message.excludeInfoTypes = $root.google.privacy.dlp.v2.ExcludeInfoTypes.fromObject(object.excludeInfoTypes);
+ }
+ if (object.excludeByHotword != null) {
+ if (typeof object.excludeByHotword !== "object")
+ throw TypeError(".google.privacy.dlp.v2.ExclusionRule.excludeByHotword: object expected");
+ message.excludeByHotword = $root.google.privacy.dlp.v2.ExcludeByHotword.fromObject(object.excludeByHotword);
+ }
+ switch (object.matchingType) {
+ default:
+ if (typeof object.matchingType === "number") {
+ message.matchingType = object.matchingType;
+ break;
+ }
+ break;
+ case "MATCHING_TYPE_UNSPECIFIED":
+ case 0:
+ message.matchingType = 0;
+ break;
+ case "MATCHING_TYPE_FULL_MATCH":
+ case 1:
+ message.matchingType = 1;
+ break;
+ case "MATCHING_TYPE_PARTIAL_MATCH":
+ case 2:
+ message.matchingType = 2;
+ break;
+ case "MATCHING_TYPE_INVERSE_MATCH":
+ case 3:
+ message.matchingType = 3;
+ break;
+ }
+ return message;
+ };
+
+ /**
+ * Creates a plain object from an ExclusionRule message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.privacy.dlp.v2.ExclusionRule
+ * @static
+ * @param {google.privacy.dlp.v2.ExclusionRule} message ExclusionRule
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ ExclusionRule.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.defaults)
+ object.matchingType = options.enums === String ? "MATCHING_TYPE_UNSPECIFIED" : 0;
+ if (message.dictionary != null && message.hasOwnProperty("dictionary")) {
+ object.dictionary = $root.google.privacy.dlp.v2.CustomInfoType.Dictionary.toObject(message.dictionary, options);
+ if (options.oneofs)
+ object.type = "dictionary";
+ }
+ if (message.regex != null && message.hasOwnProperty("regex")) {
+ object.regex = $root.google.privacy.dlp.v2.CustomInfoType.Regex.toObject(message.regex, options);
+ if (options.oneofs)
+ object.type = "regex";
+ }
+ if (message.excludeInfoTypes != null && message.hasOwnProperty("excludeInfoTypes")) {
+ object.excludeInfoTypes = $root.google.privacy.dlp.v2.ExcludeInfoTypes.toObject(message.excludeInfoTypes, options);
+ if (options.oneofs)
+ object.type = "excludeInfoTypes";
+ }
+ if (message.matchingType != null && message.hasOwnProperty("matchingType"))
+ object.matchingType = options.enums === String ? $root.google.privacy.dlp.v2.MatchingType[message.matchingType] === undefined ? message.matchingType : $root.google.privacy.dlp.v2.MatchingType[message.matchingType] : message.matchingType;
+ if (message.excludeByHotword != null && message.hasOwnProperty("excludeByHotword")) {
+ object.excludeByHotword = $root.google.privacy.dlp.v2.ExcludeByHotword.toObject(message.excludeByHotword, options);
+ if (options.oneofs)
+ object.type = "excludeByHotword";
+ }
+ return object;
+ };
+
+ /**
+ * Converts this ExclusionRule to JSON.
+ * @function toJSON
+ * @memberof google.privacy.dlp.v2.ExclusionRule
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ ExclusionRule.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for ExclusionRule
+ * @function getTypeUrl
+ * @memberof google.privacy.dlp.v2.ExclusionRule
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ ExclusionRule.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.privacy.dlp.v2.ExclusionRule";
+ };
+
+ return ExclusionRule;
+ })();
+
+ v2.InspectionRule = (function() {
+
+ /**
+ * Properties of an InspectionRule.
+ * @memberof google.privacy.dlp.v2
+ * @interface IInspectionRule
+ * @property {google.privacy.dlp.v2.CustomInfoType.DetectionRule.IHotwordRule|null} [hotwordRule] InspectionRule hotwordRule
+ * @property {google.privacy.dlp.v2.IExclusionRule|null} [exclusionRule] InspectionRule exclusionRule
+ */
+
+ /**
+ * Constructs a new InspectionRule.
+ * @memberof google.privacy.dlp.v2
+ * @classdesc Represents an InspectionRule.
+ * @implements IInspectionRule
+ * @constructor
+ * @param {google.privacy.dlp.v2.IInspectionRule=} [properties] Properties to set
+ */
+ function InspectionRule(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]];
+ }
+
+ /**
+ * InspectionRule hotwordRule.
+ * @member {google.privacy.dlp.v2.CustomInfoType.DetectionRule.IHotwordRule|null|undefined} hotwordRule
+ * @memberof google.privacy.dlp.v2.InspectionRule
+ * @instance
+ */
+ InspectionRule.prototype.hotwordRule = null;
+
+ /**
+ * InspectionRule exclusionRule.
+ * @member {google.privacy.dlp.v2.IExclusionRule|null|undefined} exclusionRule
+ * @memberof google.privacy.dlp.v2.InspectionRule
+ * @instance
+ */
+ InspectionRule.prototype.exclusionRule = null;
+
+ // OneOf field names bound to virtual getters and setters
+ var $oneOfFields;
+
+ /**
+ * InspectionRule type.
+ * @member {"hotwordRule"|"exclusionRule"|undefined} type
+ * @memberof google.privacy.dlp.v2.InspectionRule
+ * @instance
+ */
+ Object.defineProperty(InspectionRule.prototype, "type", {
+ get: $util.oneOfGetter($oneOfFields = ["hotwordRule", "exclusionRule"]),
+ set: $util.oneOfSetter($oneOfFields)
+ });
+
+ /**
+ * Creates a new InspectionRule instance using the specified properties.
+ * @function create
+ * @memberof google.privacy.dlp.v2.InspectionRule
+ * @static
+ * @param {google.privacy.dlp.v2.IInspectionRule=} [properties] Properties to set
+ * @returns {google.privacy.dlp.v2.InspectionRule} InspectionRule instance
+ */
+ InspectionRule.create = function create(properties) {
+ return new InspectionRule(properties);
+ };
+
+ /**
+ * Encodes the specified InspectionRule message. Does not implicitly {@link google.privacy.dlp.v2.InspectionRule.verify|verify} messages.
+ * @function encode
+ * @memberof google.privacy.dlp.v2.InspectionRule
+ * @static
+ * @param {google.privacy.dlp.v2.IInspectionRule} message InspectionRule message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ InspectionRule.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.hotwordRule != null && Object.hasOwnProperty.call(message, "hotwordRule"))
+ $root.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule.encode(message.hotwordRule, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
+ if (message.exclusionRule != null && Object.hasOwnProperty.call(message, "exclusionRule"))
+ $root.google.privacy.dlp.v2.ExclusionRule.encode(message.exclusionRule, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
+ return writer;
+ };
+
+ /**
+ * Encodes the specified InspectionRule message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.InspectionRule.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.privacy.dlp.v2.InspectionRule
+ * @static
+ * @param {google.privacy.dlp.v2.IInspectionRule} message InspectionRule message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ InspectionRule.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes an InspectionRule message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.privacy.dlp.v2.InspectionRule
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.privacy.dlp.v2.InspectionRule} InspectionRule
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ InspectionRule.decode = function decode(reader, length, error) {
+ if (!(reader instanceof $Reader))
+ reader = $Reader.create(reader);
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.privacy.dlp.v2.InspectionRule();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ if (tag === error)
+ break;
+ switch (tag >>> 3) {
+ case 1: {
+ message.hotwordRule = $root.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule.decode(reader, reader.uint32());
+ break;
+ }
+ case 2: {
+ message.exclusionRule = $root.google.privacy.dlp.v2.ExclusionRule.decode(reader, reader.uint32());
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes an InspectionRule message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.privacy.dlp.v2.InspectionRule
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.privacy.dlp.v2.InspectionRule} InspectionRule
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ InspectionRule.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies an InspectionRule message.
+ * @function verify
+ * @memberof google.privacy.dlp.v2.InspectionRule
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ InspectionRule.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ var properties = {};
+ if (message.hotwordRule != null && message.hasOwnProperty("hotwordRule")) {
+ properties.type = 1;
+ {
+ var error = $root.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule.verify(message.hotwordRule);
+ if (error)
+ return "hotwordRule." + error;
+ }
+ }
+ if (message.exclusionRule != null && message.hasOwnProperty("exclusionRule")) {
+ if (properties.type === 1)
+ return "type: multiple values";
+ properties.type = 1;
+ {
+ var error = $root.google.privacy.dlp.v2.ExclusionRule.verify(message.exclusionRule);
+ if (error)
+ return "exclusionRule." + error;
+ }
+ }
+ return null;
+ };
+
+ /**
+ * Creates an InspectionRule message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.privacy.dlp.v2.InspectionRule
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.privacy.dlp.v2.InspectionRule} InspectionRule
+ */
+ InspectionRule.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.privacy.dlp.v2.InspectionRule)
+ return object;
+ var message = new $root.google.privacy.dlp.v2.InspectionRule();
+ if (object.hotwordRule != null) {
+ if (typeof object.hotwordRule !== "object")
+ throw TypeError(".google.privacy.dlp.v2.InspectionRule.hotwordRule: object expected");
+ message.hotwordRule = $root.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule.fromObject(object.hotwordRule);
+ }
+ if (object.exclusionRule != null) {
+ if (typeof object.exclusionRule !== "object")
+ throw TypeError(".google.privacy.dlp.v2.InspectionRule.exclusionRule: object expected");
+ message.exclusionRule = $root.google.privacy.dlp.v2.ExclusionRule.fromObject(object.exclusionRule);
+ }
+ return message;
+ };
+
+ /**
+ * Creates a plain object from an InspectionRule message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.privacy.dlp.v2.InspectionRule
+ * @static
+ * @param {google.privacy.dlp.v2.InspectionRule} message InspectionRule
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ InspectionRule.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (message.hotwordRule != null && message.hasOwnProperty("hotwordRule")) {
+ object.hotwordRule = $root.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule.toObject(message.hotwordRule, options);
+ if (options.oneofs)
+ object.type = "hotwordRule";
+ }
+ if (message.exclusionRule != null && message.hasOwnProperty("exclusionRule")) {
+ object.exclusionRule = $root.google.privacy.dlp.v2.ExclusionRule.toObject(message.exclusionRule, options);
+ if (options.oneofs)
+ object.type = "exclusionRule";
+ }
+ return object;
+ };
+
+ /**
+ * Converts this InspectionRule to JSON.
+ * @function toJSON
+ * @memberof google.privacy.dlp.v2.InspectionRule
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ InspectionRule.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for InspectionRule
+ * @function getTypeUrl
+ * @memberof google.privacy.dlp.v2.InspectionRule
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ InspectionRule.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.privacy.dlp.v2.InspectionRule";
+ };
+
+ return InspectionRule;
+ })();
+
+ v2.InspectionRuleSet = (function() {
+
+ /**
+ * Properties of an InspectionRuleSet.
+ * @memberof google.privacy.dlp.v2
+ * @interface IInspectionRuleSet
+ * @property {Array.|null} [infoTypes] InspectionRuleSet infoTypes
+ * @property {Array.|null} [rules] InspectionRuleSet rules
+ */
+
+ /**
+ * Constructs a new InspectionRuleSet.
+ * @memberof google.privacy.dlp.v2
+ * @classdesc Represents an InspectionRuleSet.
+ * @implements IInspectionRuleSet
+ * @constructor
+ * @param {google.privacy.dlp.v2.IInspectionRuleSet=} [properties] Properties to set
+ */
+ function InspectionRuleSet(properties) {
+ this.infoTypes = [];
+ this.rules = [];
+ 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]];
+ }
+
+ /**
+ * InspectionRuleSet infoTypes.
+ * @member {Array.} infoTypes
+ * @memberof google.privacy.dlp.v2.InspectionRuleSet
+ * @instance
+ */
+ InspectionRuleSet.prototype.infoTypes = $util.emptyArray;
+
+ /**
+ * InspectionRuleSet rules.
+ * @member {Array.} rules
+ * @memberof google.privacy.dlp.v2.InspectionRuleSet
+ * @instance
+ */
+ InspectionRuleSet.prototype.rules = $util.emptyArray;
+
+ /**
+ * Creates a new InspectionRuleSet instance using the specified properties.
+ * @function create
+ * @memberof google.privacy.dlp.v2.InspectionRuleSet
+ * @static
+ * @param {google.privacy.dlp.v2.IInspectionRuleSet=} [properties] Properties to set
+ * @returns {google.privacy.dlp.v2.InspectionRuleSet} InspectionRuleSet instance
+ */
+ InspectionRuleSet.create = function create(properties) {
+ return new InspectionRuleSet(properties);
+ };
+
+ /**
+ * Encodes the specified InspectionRuleSet message. Does not implicitly {@link google.privacy.dlp.v2.InspectionRuleSet.verify|verify} messages.
+ * @function encode
+ * @memberof google.privacy.dlp.v2.InspectionRuleSet
+ * @static
+ * @param {google.privacy.dlp.v2.IInspectionRuleSet} message InspectionRuleSet message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ InspectionRuleSet.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.infoTypes != null && message.infoTypes.length)
+ for (var i = 0; i < message.infoTypes.length; ++i)
+ $root.google.privacy.dlp.v2.InfoType.encode(message.infoTypes[i], writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
+ if (message.rules != null && message.rules.length)
+ for (var i = 0; i < message.rules.length; ++i)
+ $root.google.privacy.dlp.v2.InspectionRule.encode(message.rules[i], writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
+ return writer;
+ };
+
+ /**
+ * Encodes the specified InspectionRuleSet message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.InspectionRuleSet.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.privacy.dlp.v2.InspectionRuleSet
+ * @static
+ * @param {google.privacy.dlp.v2.IInspectionRuleSet} message InspectionRuleSet message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ InspectionRuleSet.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes an InspectionRuleSet message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.privacy.dlp.v2.InspectionRuleSet
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.privacy.dlp.v2.InspectionRuleSet} InspectionRuleSet
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ InspectionRuleSet.decode = function decode(reader, length, error) {
+ if (!(reader instanceof $Reader))
+ reader = $Reader.create(reader);
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.privacy.dlp.v2.InspectionRuleSet();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ if (tag === error)
+ break;
+ switch (tag >>> 3) {
+ case 1: {
+ if (!(message.infoTypes && message.infoTypes.length))
+ message.infoTypes = [];
+ message.infoTypes.push($root.google.privacy.dlp.v2.InfoType.decode(reader, reader.uint32()));
+ break;
+ }
+ case 2: {
+ if (!(message.rules && message.rules.length))
+ message.rules = [];
+ message.rules.push($root.google.privacy.dlp.v2.InspectionRule.decode(reader, reader.uint32()));
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes an InspectionRuleSet message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.privacy.dlp.v2.InspectionRuleSet
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.privacy.dlp.v2.InspectionRuleSet} InspectionRuleSet
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ InspectionRuleSet.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies an InspectionRuleSet message.
+ * @function verify
+ * @memberof google.privacy.dlp.v2.InspectionRuleSet
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ InspectionRuleSet.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ if (message.infoTypes != null && message.hasOwnProperty("infoTypes")) {
+ if (!Array.isArray(message.infoTypes))
+ return "infoTypes: array expected";
+ for (var i = 0; i < message.infoTypes.length; ++i) {
+ var error = $root.google.privacy.dlp.v2.InfoType.verify(message.infoTypes[i]);
+ if (error)
+ return "infoTypes." + error;
+ }
+ }
+ if (message.rules != null && message.hasOwnProperty("rules")) {
+ if (!Array.isArray(message.rules))
+ return "rules: array expected";
+ for (var i = 0; i < message.rules.length; ++i) {
+ var error = $root.google.privacy.dlp.v2.InspectionRule.verify(message.rules[i]);
+ if (error)
+ return "rules." + error;
+ }
+ }
+ return null;
+ };
+
+ /**
+ * Creates an InspectionRuleSet message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.privacy.dlp.v2.InspectionRuleSet
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.privacy.dlp.v2.InspectionRuleSet} InspectionRuleSet
+ */
+ InspectionRuleSet.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.privacy.dlp.v2.InspectionRuleSet)
+ return object;
+ var message = new $root.google.privacy.dlp.v2.InspectionRuleSet();
+ if (object.infoTypes) {
+ if (!Array.isArray(object.infoTypes))
+ throw TypeError(".google.privacy.dlp.v2.InspectionRuleSet.infoTypes: array expected");
+ message.infoTypes = [];
+ for (var i = 0; i < object.infoTypes.length; ++i) {
+ if (typeof object.infoTypes[i] !== "object")
+ throw TypeError(".google.privacy.dlp.v2.InspectionRuleSet.infoTypes: object expected");
+ message.infoTypes[i] = $root.google.privacy.dlp.v2.InfoType.fromObject(object.infoTypes[i]);
+ }
+ }
+ if (object.rules) {
+ if (!Array.isArray(object.rules))
+ throw TypeError(".google.privacy.dlp.v2.InspectionRuleSet.rules: array expected");
+ message.rules = [];
+ for (var i = 0; i < object.rules.length; ++i) {
+ if (typeof object.rules[i] !== "object")
+ throw TypeError(".google.privacy.dlp.v2.InspectionRuleSet.rules: object expected");
+ message.rules[i] = $root.google.privacy.dlp.v2.InspectionRule.fromObject(object.rules[i]);
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Creates a plain object from an InspectionRuleSet message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.privacy.dlp.v2.InspectionRuleSet
+ * @static
+ * @param {google.privacy.dlp.v2.InspectionRuleSet} message InspectionRuleSet
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ InspectionRuleSet.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.arrays || options.defaults) {
+ object.infoTypes = [];
+ object.rules = [];
+ }
+ if (message.infoTypes && message.infoTypes.length) {
+ object.infoTypes = [];
+ for (var j = 0; j < message.infoTypes.length; ++j)
+ object.infoTypes[j] = $root.google.privacy.dlp.v2.InfoType.toObject(message.infoTypes[j], options);
+ }
+ if (message.rules && message.rules.length) {
+ object.rules = [];
+ for (var j = 0; j < message.rules.length; ++j)
+ object.rules[j] = $root.google.privacy.dlp.v2.InspectionRule.toObject(message.rules[j], options);
+ }
+ return object;
+ };
+
+ /**
+ * Converts this InspectionRuleSet to JSON.
+ * @function toJSON
+ * @memberof google.privacy.dlp.v2.InspectionRuleSet
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ InspectionRuleSet.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for InspectionRuleSet
+ * @function getTypeUrl
+ * @memberof google.privacy.dlp.v2.InspectionRuleSet
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ InspectionRuleSet.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.privacy.dlp.v2.InspectionRuleSet";
+ };
+
+ return InspectionRuleSet;
+ })();
+
+ v2.InspectConfig = (function() {
+
+ /**
+ * Properties of an InspectConfig.
+ * @memberof google.privacy.dlp.v2
+ * @interface IInspectConfig
+ * @property {Array.|null} [infoTypes] InspectConfig infoTypes
+ * @property {google.privacy.dlp.v2.Likelihood|null} [minLikelihood] InspectConfig minLikelihood
+ * @property {Array.|null} [minLikelihoodPerInfoType] InspectConfig minLikelihoodPerInfoType
+ * @property {google.privacy.dlp.v2.InspectConfig.IFindingLimits|null} [limits] InspectConfig limits
+ * @property {boolean|null} [includeQuote] InspectConfig includeQuote
+ * @property {boolean|null} [excludeInfoTypes] InspectConfig excludeInfoTypes
+ * @property {Array.|null} [customInfoTypes] InspectConfig customInfoTypes
+ * @property {Array.|null} [contentOptions] InspectConfig contentOptions
+ * @property {Array.|null} [ruleSet] InspectConfig ruleSet
+ */
+
+ /**
+ * Constructs a new InspectConfig.
+ * @memberof google.privacy.dlp.v2
+ * @classdesc Represents an InspectConfig.
+ * @implements IInspectConfig
+ * @constructor
+ * @param {google.privacy.dlp.v2.IInspectConfig=} [properties] Properties to set
+ */
+ function InspectConfig(properties) {
+ this.infoTypes = [];
+ this.minLikelihoodPerInfoType = [];
+ this.customInfoTypes = [];
+ this.contentOptions = [];
+ this.ruleSet = [];
+ 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]];
+ }
+
+ /**
+ * InspectConfig infoTypes.
+ * @member {Array.} infoTypes
+ * @memberof google.privacy.dlp.v2.InspectConfig
+ * @instance
+ */
+ InspectConfig.prototype.infoTypes = $util.emptyArray;
+
+ /**
+ * InspectConfig minLikelihood.
+ * @member {google.privacy.dlp.v2.Likelihood} minLikelihood
+ * @memberof google.privacy.dlp.v2.InspectConfig
+ * @instance
+ */
+ InspectConfig.prototype.minLikelihood = 0;
+
+ /**
+ * InspectConfig minLikelihoodPerInfoType.
+ * @member {Array.} minLikelihoodPerInfoType
+ * @memberof google.privacy.dlp.v2.InspectConfig
+ * @instance
+ */
+ InspectConfig.prototype.minLikelihoodPerInfoType = $util.emptyArray;
+
+ /**
+ * InspectConfig limits.
+ * @member {google.privacy.dlp.v2.InspectConfig.IFindingLimits|null|undefined} limits
+ * @memberof google.privacy.dlp.v2.InspectConfig
+ * @instance
+ */
+ InspectConfig.prototype.limits = null;
+
+ /**
+ * InspectConfig includeQuote.
+ * @member {boolean} includeQuote
+ * @memberof google.privacy.dlp.v2.InspectConfig
+ * @instance
+ */
+ InspectConfig.prototype.includeQuote = false;
+
+ /**
+ * InspectConfig excludeInfoTypes.
+ * @member {boolean} excludeInfoTypes
+ * @memberof google.privacy.dlp.v2.InspectConfig
+ * @instance
+ */
+ InspectConfig.prototype.excludeInfoTypes = false;
+
+ /**
+ * InspectConfig customInfoTypes.
+ * @member {Array.} customInfoTypes
+ * @memberof google.privacy.dlp.v2.InspectConfig
+ * @instance
+ */
+ InspectConfig.prototype.customInfoTypes = $util.emptyArray;
+
+ /**
+ * InspectConfig contentOptions.
+ * @member {Array.} contentOptions
+ * @memberof google.privacy.dlp.v2.InspectConfig
+ * @instance
+ */
+ InspectConfig.prototype.contentOptions = $util.emptyArray;
+
+ /**
+ * InspectConfig ruleSet.
+ * @member {Array.} ruleSet
+ * @memberof google.privacy.dlp.v2.InspectConfig
+ * @instance
+ */
+ InspectConfig.prototype.ruleSet = $util.emptyArray;
+
+ /**
+ * Creates a new InspectConfig instance using the specified properties.
+ * @function create
+ * @memberof google.privacy.dlp.v2.InspectConfig
+ * @static
+ * @param {google.privacy.dlp.v2.IInspectConfig=} [properties] Properties to set
+ * @returns {google.privacy.dlp.v2.InspectConfig} InspectConfig instance
+ */
+ InspectConfig.create = function create(properties) {
+ return new InspectConfig(properties);
+ };
+
+ /**
+ * Encodes the specified InspectConfig message. Does not implicitly {@link google.privacy.dlp.v2.InspectConfig.verify|verify} messages.
+ * @function encode
+ * @memberof google.privacy.dlp.v2.InspectConfig
+ * @static
+ * @param {google.privacy.dlp.v2.IInspectConfig} message InspectConfig message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ InspectConfig.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.infoTypes != null && message.infoTypes.length)
+ for (var i = 0; i < message.infoTypes.length; ++i)
+ $root.google.privacy.dlp.v2.InfoType.encode(message.infoTypes[i], writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
+ if (message.minLikelihood != null && Object.hasOwnProperty.call(message, "minLikelihood"))
+ writer.uint32(/* id 2, wireType 0 =*/16).int32(message.minLikelihood);
+ if (message.limits != null && Object.hasOwnProperty.call(message, "limits"))
+ $root.google.privacy.dlp.v2.InspectConfig.FindingLimits.encode(message.limits, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim();
+ if (message.includeQuote != null && Object.hasOwnProperty.call(message, "includeQuote"))
+ writer.uint32(/* id 4, wireType 0 =*/32).bool(message.includeQuote);
+ if (message.excludeInfoTypes != null && Object.hasOwnProperty.call(message, "excludeInfoTypes"))
+ writer.uint32(/* id 5, wireType 0 =*/40).bool(message.excludeInfoTypes);
+ if (message.customInfoTypes != null && message.customInfoTypes.length)
+ for (var i = 0; i < message.customInfoTypes.length; ++i)
+ $root.google.privacy.dlp.v2.CustomInfoType.encode(message.customInfoTypes[i], writer.uint32(/* id 6, wireType 2 =*/50).fork()).ldelim();
+ if (message.contentOptions != null && message.contentOptions.length) {
+ writer.uint32(/* id 8, wireType 2 =*/66).fork();
+ for (var i = 0; i < message.contentOptions.length; ++i)
+ writer.int32(message.contentOptions[i]);
+ writer.ldelim();
+ }
+ if (message.ruleSet != null && message.ruleSet.length)
+ for (var i = 0; i < message.ruleSet.length; ++i)
+ $root.google.privacy.dlp.v2.InspectionRuleSet.encode(message.ruleSet[i], writer.uint32(/* id 10, wireType 2 =*/82).fork()).ldelim();
+ if (message.minLikelihoodPerInfoType != null && message.minLikelihoodPerInfoType.length)
+ for (var i = 0; i < message.minLikelihoodPerInfoType.length; ++i)
+ $root.google.privacy.dlp.v2.InspectConfig.InfoTypeLikelihood.encode(message.minLikelihoodPerInfoType[i], writer.uint32(/* id 11, wireType 2 =*/90).fork()).ldelim();
+ return writer;
+ };
+
+ /**
+ * Encodes the specified InspectConfig message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.InspectConfig.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.privacy.dlp.v2.InspectConfig
+ * @static
+ * @param {google.privacy.dlp.v2.IInspectConfig} message InspectConfig message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ InspectConfig.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes an InspectConfig message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.privacy.dlp.v2.InspectConfig
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.privacy.dlp.v2.InspectConfig} InspectConfig
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ InspectConfig.decode = function decode(reader, length, error) {
+ if (!(reader instanceof $Reader))
+ reader = $Reader.create(reader);
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.privacy.dlp.v2.InspectConfig();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ if (tag === error)
+ break;
+ switch (tag >>> 3) {
+ case 1: {
+ if (!(message.infoTypes && message.infoTypes.length))
+ message.infoTypes = [];
+ message.infoTypes.push($root.google.privacy.dlp.v2.InfoType.decode(reader, reader.uint32()));
+ break;
+ }
+ case 2: {
+ message.minLikelihood = reader.int32();
+ break;
+ }
+ case 11: {
+ if (!(message.minLikelihoodPerInfoType && message.minLikelihoodPerInfoType.length))
+ message.minLikelihoodPerInfoType = [];
+ message.minLikelihoodPerInfoType.push($root.google.privacy.dlp.v2.InspectConfig.InfoTypeLikelihood.decode(reader, reader.uint32()));
+ break;
+ }
+ case 3: {
+ message.limits = $root.google.privacy.dlp.v2.InspectConfig.FindingLimits.decode(reader, reader.uint32());
+ break;
+ }
+ case 4: {
+ message.includeQuote = reader.bool();
+ break;
+ }
+ case 5: {
+ message.excludeInfoTypes = reader.bool();
+ break;
+ }
+ case 6: {
+ if (!(message.customInfoTypes && message.customInfoTypes.length))
+ message.customInfoTypes = [];
+ message.customInfoTypes.push($root.google.privacy.dlp.v2.CustomInfoType.decode(reader, reader.uint32()));
+ break;
+ }
+ case 8: {
+ if (!(message.contentOptions && message.contentOptions.length))
+ message.contentOptions = [];
+ if ((tag & 7) === 2) {
+ var end2 = reader.uint32() + reader.pos;
+ while (reader.pos < end2)
+ message.contentOptions.push(reader.int32());
+ } else
+ message.contentOptions.push(reader.int32());
+ break;
+ }
+ case 10: {
+ if (!(message.ruleSet && message.ruleSet.length))
+ message.ruleSet = [];
+ message.ruleSet.push($root.google.privacy.dlp.v2.InspectionRuleSet.decode(reader, reader.uint32()));
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes an InspectConfig message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.privacy.dlp.v2.InspectConfig
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.privacy.dlp.v2.InspectConfig} InspectConfig
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ InspectConfig.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies an InspectConfig message.
+ * @function verify
+ * @memberof google.privacy.dlp.v2.InspectConfig
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ InspectConfig.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ if (message.infoTypes != null && message.hasOwnProperty("infoTypes")) {
+ if (!Array.isArray(message.infoTypes))
+ return "infoTypes: array expected";
+ for (var i = 0; i < message.infoTypes.length; ++i) {
+ var error = $root.google.privacy.dlp.v2.InfoType.verify(message.infoTypes[i]);
+ if (error)
+ return "infoTypes." + error;
+ }
+ }
+ if (message.minLikelihood != null && message.hasOwnProperty("minLikelihood"))
+ switch (message.minLikelihood) {
+ default:
+ return "minLikelihood: enum value expected";
+ case 0:
+ case 1:
+ case 2:
+ case 3:
+ case 4:
+ case 5:
+ break;
+ }
+ if (message.minLikelihoodPerInfoType != null && message.hasOwnProperty("minLikelihoodPerInfoType")) {
+ if (!Array.isArray(message.minLikelihoodPerInfoType))
+ return "minLikelihoodPerInfoType: array expected";
+ for (var i = 0; i < message.minLikelihoodPerInfoType.length; ++i) {
+ var error = $root.google.privacy.dlp.v2.InspectConfig.InfoTypeLikelihood.verify(message.minLikelihoodPerInfoType[i]);
+ if (error)
+ return "minLikelihoodPerInfoType." + error;
+ }
+ }
+ if (message.limits != null && message.hasOwnProperty("limits")) {
+ var error = $root.google.privacy.dlp.v2.InspectConfig.FindingLimits.verify(message.limits);
+ if (error)
+ return "limits." + error;
+ }
+ if (message.includeQuote != null && message.hasOwnProperty("includeQuote"))
+ if (typeof message.includeQuote !== "boolean")
+ return "includeQuote: boolean expected";
+ if (message.excludeInfoTypes != null && message.hasOwnProperty("excludeInfoTypes"))
+ if (typeof message.excludeInfoTypes !== "boolean")
+ return "excludeInfoTypes: boolean expected";
+ if (message.customInfoTypes != null && message.hasOwnProperty("customInfoTypes")) {
+ if (!Array.isArray(message.customInfoTypes))
+ return "customInfoTypes: array expected";
+ for (var i = 0; i < message.customInfoTypes.length; ++i) {
+ var error = $root.google.privacy.dlp.v2.CustomInfoType.verify(message.customInfoTypes[i]);
+ if (error)
+ return "customInfoTypes." + error;
+ }
+ }
+ if (message.contentOptions != null && message.hasOwnProperty("contentOptions")) {
+ if (!Array.isArray(message.contentOptions))
+ return "contentOptions: array expected";
+ for (var i = 0; i < message.contentOptions.length; ++i)
+ switch (message.contentOptions[i]) {
+ default:
+ return "contentOptions: enum value[] expected";
+ case 0:
+ case 1:
+ case 2:
+ break;
+ }
+ }
+ if (message.ruleSet != null && message.hasOwnProperty("ruleSet")) {
+ if (!Array.isArray(message.ruleSet))
+ return "ruleSet: array expected";
+ for (var i = 0; i < message.ruleSet.length; ++i) {
+ var error = $root.google.privacy.dlp.v2.InspectionRuleSet.verify(message.ruleSet[i]);
+ if (error)
+ return "ruleSet." + error;
+ }
+ }
+ return null;
+ };
+
+ /**
+ * Creates an InspectConfig message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.privacy.dlp.v2.InspectConfig
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.privacy.dlp.v2.InspectConfig} InspectConfig
+ */
+ InspectConfig.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.privacy.dlp.v2.InspectConfig)
+ return object;
+ var message = new $root.google.privacy.dlp.v2.InspectConfig();
+ if (object.infoTypes) {
+ if (!Array.isArray(object.infoTypes))
+ throw TypeError(".google.privacy.dlp.v2.InspectConfig.infoTypes: array expected");
+ message.infoTypes = [];
+ for (var i = 0; i < object.infoTypes.length; ++i) {
+ if (typeof object.infoTypes[i] !== "object")
+ throw TypeError(".google.privacy.dlp.v2.InspectConfig.infoTypes: object expected");
+ message.infoTypes[i] = $root.google.privacy.dlp.v2.InfoType.fromObject(object.infoTypes[i]);
+ }
+ }
+ switch (object.minLikelihood) {
+ default:
+ if (typeof object.minLikelihood === "number") {
+ message.minLikelihood = object.minLikelihood;
+ break;
+ }
+ break;
+ case "LIKELIHOOD_UNSPECIFIED":
+ case 0:
+ message.minLikelihood = 0;
+ break;
+ case "VERY_UNLIKELY":
+ case 1:
+ message.minLikelihood = 1;
+ break;
+ case "UNLIKELY":
+ case 2:
+ message.minLikelihood = 2;
+ break;
+ case "POSSIBLE":
+ case 3:
+ message.minLikelihood = 3;
+ break;
+ case "LIKELY":
+ case 4:
+ message.minLikelihood = 4;
+ break;
+ case "VERY_LIKELY":
+ case 5:
+ message.minLikelihood = 5;
+ break;
+ }
+ if (object.minLikelihoodPerInfoType) {
+ if (!Array.isArray(object.minLikelihoodPerInfoType))
+ throw TypeError(".google.privacy.dlp.v2.InspectConfig.minLikelihoodPerInfoType: array expected");
+ message.minLikelihoodPerInfoType = [];
+ for (var i = 0; i < object.minLikelihoodPerInfoType.length; ++i) {
+ if (typeof object.minLikelihoodPerInfoType[i] !== "object")
+ throw TypeError(".google.privacy.dlp.v2.InspectConfig.minLikelihoodPerInfoType: object expected");
+ message.minLikelihoodPerInfoType[i] = $root.google.privacy.dlp.v2.InspectConfig.InfoTypeLikelihood.fromObject(object.minLikelihoodPerInfoType[i]);
+ }
+ }
+ if (object.limits != null) {
+ if (typeof object.limits !== "object")
+ throw TypeError(".google.privacy.dlp.v2.InspectConfig.limits: object expected");
+ message.limits = $root.google.privacy.dlp.v2.InspectConfig.FindingLimits.fromObject(object.limits);
+ }
+ if (object.includeQuote != null)
+ message.includeQuote = Boolean(object.includeQuote);
+ if (object.excludeInfoTypes != null)
+ message.excludeInfoTypes = Boolean(object.excludeInfoTypes);
+ if (object.customInfoTypes) {
+ if (!Array.isArray(object.customInfoTypes))
+ throw TypeError(".google.privacy.dlp.v2.InspectConfig.customInfoTypes: array expected");
+ message.customInfoTypes = [];
+ for (var i = 0; i < object.customInfoTypes.length; ++i) {
+ if (typeof object.customInfoTypes[i] !== "object")
+ throw TypeError(".google.privacy.dlp.v2.InspectConfig.customInfoTypes: object expected");
+ message.customInfoTypes[i] = $root.google.privacy.dlp.v2.CustomInfoType.fromObject(object.customInfoTypes[i]);
+ }
+ }
+ if (object.contentOptions) {
+ if (!Array.isArray(object.contentOptions))
+ throw TypeError(".google.privacy.dlp.v2.InspectConfig.contentOptions: array expected");
+ message.contentOptions = [];
+ for (var i = 0; i < object.contentOptions.length; ++i)
+ switch (object.contentOptions[i]) {
+ default:
+ if (typeof object.contentOptions[i] === "number") {
+ message.contentOptions[i] = object.contentOptions[i];
+ break;
+ }
+ case "CONTENT_UNSPECIFIED":
+ case 0:
+ message.contentOptions[i] = 0;
+ break;
+ case "CONTENT_TEXT":
+ case 1:
+ message.contentOptions[i] = 1;
+ break;
+ case "CONTENT_IMAGE":
+ case 2:
+ message.contentOptions[i] = 2;
+ break;
+ }
+ }
+ if (object.ruleSet) {
+ if (!Array.isArray(object.ruleSet))
+ throw TypeError(".google.privacy.dlp.v2.InspectConfig.ruleSet: array expected");
+ message.ruleSet = [];
+ for (var i = 0; i < object.ruleSet.length; ++i) {
+ if (typeof object.ruleSet[i] !== "object")
+ throw TypeError(".google.privacy.dlp.v2.InspectConfig.ruleSet: object expected");
+ message.ruleSet[i] = $root.google.privacy.dlp.v2.InspectionRuleSet.fromObject(object.ruleSet[i]);
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Creates a plain object from an InspectConfig message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.privacy.dlp.v2.InspectConfig
+ * @static
+ * @param {google.privacy.dlp.v2.InspectConfig} message InspectConfig
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ InspectConfig.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.arrays || options.defaults) {
+ object.infoTypes = [];
+ object.customInfoTypes = [];
+ object.contentOptions = [];
+ object.ruleSet = [];
+ object.minLikelihoodPerInfoType = [];
+ }
+ if (options.defaults) {
+ object.minLikelihood = options.enums === String ? "LIKELIHOOD_UNSPECIFIED" : 0;
+ object.limits = null;
+ object.includeQuote = false;
+ object.excludeInfoTypes = false;
+ }
+ if (message.infoTypes && message.infoTypes.length) {
+ object.infoTypes = [];
+ for (var j = 0; j < message.infoTypes.length; ++j)
+ object.infoTypes[j] = $root.google.privacy.dlp.v2.InfoType.toObject(message.infoTypes[j], options);
+ }
+ if (message.minLikelihood != null && message.hasOwnProperty("minLikelihood"))
+ object.minLikelihood = options.enums === String ? $root.google.privacy.dlp.v2.Likelihood[message.minLikelihood] === undefined ? message.minLikelihood : $root.google.privacy.dlp.v2.Likelihood[message.minLikelihood] : message.minLikelihood;
+ if (message.limits != null && message.hasOwnProperty("limits"))
+ object.limits = $root.google.privacy.dlp.v2.InspectConfig.FindingLimits.toObject(message.limits, options);
+ if (message.includeQuote != null && message.hasOwnProperty("includeQuote"))
+ object.includeQuote = message.includeQuote;
+ if (message.excludeInfoTypes != null && message.hasOwnProperty("excludeInfoTypes"))
+ object.excludeInfoTypes = message.excludeInfoTypes;
+ if (message.customInfoTypes && message.customInfoTypes.length) {
+ object.customInfoTypes = [];
+ for (var j = 0; j < message.customInfoTypes.length; ++j)
+ object.customInfoTypes[j] = $root.google.privacy.dlp.v2.CustomInfoType.toObject(message.customInfoTypes[j], options);
+ }
+ if (message.contentOptions && message.contentOptions.length) {
+ object.contentOptions = [];
+ for (var j = 0; j < message.contentOptions.length; ++j)
+ object.contentOptions[j] = options.enums === String ? $root.google.privacy.dlp.v2.ContentOption[message.contentOptions[j]] === undefined ? message.contentOptions[j] : $root.google.privacy.dlp.v2.ContentOption[message.contentOptions[j]] : message.contentOptions[j];
+ }
+ if (message.ruleSet && message.ruleSet.length) {
+ object.ruleSet = [];
+ for (var j = 0; j < message.ruleSet.length; ++j)
+ object.ruleSet[j] = $root.google.privacy.dlp.v2.InspectionRuleSet.toObject(message.ruleSet[j], options);
+ }
+ if (message.minLikelihoodPerInfoType && message.minLikelihoodPerInfoType.length) {
+ object.minLikelihoodPerInfoType = [];
+ for (var j = 0; j < message.minLikelihoodPerInfoType.length; ++j)
+ object.minLikelihoodPerInfoType[j] = $root.google.privacy.dlp.v2.InspectConfig.InfoTypeLikelihood.toObject(message.minLikelihoodPerInfoType[j], options);
+ }
+ return object;
+ };
+
+ /**
+ * Converts this InspectConfig to JSON.
+ * @function toJSON
+ * @memberof google.privacy.dlp.v2.InspectConfig
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ InspectConfig.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for InspectConfig
+ * @function getTypeUrl
+ * @memberof google.privacy.dlp.v2.InspectConfig
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ InspectConfig.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.privacy.dlp.v2.InspectConfig";
+ };
+
+ InspectConfig.InfoTypeLikelihood = (function() {
+
+ /**
+ * Properties of an InfoTypeLikelihood.
+ * @memberof google.privacy.dlp.v2.InspectConfig
+ * @interface IInfoTypeLikelihood
+ * @property {google.privacy.dlp.v2.IInfoType|null} [infoType] InfoTypeLikelihood infoType
+ * @property {google.privacy.dlp.v2.Likelihood|null} [minLikelihood] InfoTypeLikelihood minLikelihood
+ */
+
+ /**
+ * Constructs a new InfoTypeLikelihood.
+ * @memberof google.privacy.dlp.v2.InspectConfig
+ * @classdesc Represents an InfoTypeLikelihood.
+ * @implements IInfoTypeLikelihood
+ * @constructor
+ * @param {google.privacy.dlp.v2.InspectConfig.IInfoTypeLikelihood=} [properties] Properties to set
+ */
+ function InfoTypeLikelihood(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]];
+ }
+
+ /**
+ * InfoTypeLikelihood infoType.
+ * @member {google.privacy.dlp.v2.IInfoType|null|undefined} infoType
+ * @memberof google.privacy.dlp.v2.InspectConfig.InfoTypeLikelihood
+ * @instance
+ */
+ InfoTypeLikelihood.prototype.infoType = null;
+
+ /**
+ * InfoTypeLikelihood minLikelihood.
+ * @member {google.privacy.dlp.v2.Likelihood} minLikelihood
+ * @memberof google.privacy.dlp.v2.InspectConfig.InfoTypeLikelihood
+ * @instance
+ */
+ InfoTypeLikelihood.prototype.minLikelihood = 0;
+
+ /**
+ * Creates a new InfoTypeLikelihood instance using the specified properties.
+ * @function create
+ * @memberof google.privacy.dlp.v2.InspectConfig.InfoTypeLikelihood
+ * @static
+ * @param {google.privacy.dlp.v2.InspectConfig.IInfoTypeLikelihood=} [properties] Properties to set
+ * @returns {google.privacy.dlp.v2.InspectConfig.InfoTypeLikelihood} InfoTypeLikelihood instance
+ */
+ InfoTypeLikelihood.create = function create(properties) {
+ return new InfoTypeLikelihood(properties);
+ };
+
+ /**
+ * Encodes the specified InfoTypeLikelihood message. Does not implicitly {@link google.privacy.dlp.v2.InspectConfig.InfoTypeLikelihood.verify|verify} messages.
+ * @function encode
+ * @memberof google.privacy.dlp.v2.InspectConfig.InfoTypeLikelihood
+ * @static
+ * @param {google.privacy.dlp.v2.InspectConfig.IInfoTypeLikelihood} message InfoTypeLikelihood message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ InfoTypeLikelihood.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.infoType != null && Object.hasOwnProperty.call(message, "infoType"))
+ $root.google.privacy.dlp.v2.InfoType.encode(message.infoType, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
+ if (message.minLikelihood != null && Object.hasOwnProperty.call(message, "minLikelihood"))
+ writer.uint32(/* id 2, wireType 0 =*/16).int32(message.minLikelihood);
+ return writer;
+ };
+
+ /**
+ * Encodes the specified InfoTypeLikelihood message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.InspectConfig.InfoTypeLikelihood.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.privacy.dlp.v2.InspectConfig.InfoTypeLikelihood
+ * @static
+ * @param {google.privacy.dlp.v2.InspectConfig.IInfoTypeLikelihood} message InfoTypeLikelihood message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ InfoTypeLikelihood.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes an InfoTypeLikelihood message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.privacy.dlp.v2.InspectConfig.InfoTypeLikelihood
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.privacy.dlp.v2.InspectConfig.InfoTypeLikelihood} InfoTypeLikelihood
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ InfoTypeLikelihood.decode = function decode(reader, length, error) {
+ if (!(reader instanceof $Reader))
+ reader = $Reader.create(reader);
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.privacy.dlp.v2.InspectConfig.InfoTypeLikelihood();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ if (tag === error)
+ break;
+ switch (tag >>> 3) {
+ case 1: {
+ message.infoType = $root.google.privacy.dlp.v2.InfoType.decode(reader, reader.uint32());
+ break;
+ }
+ case 2: {
+ message.minLikelihood = reader.int32();
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes an InfoTypeLikelihood message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.privacy.dlp.v2.InspectConfig.InfoTypeLikelihood
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.privacy.dlp.v2.InspectConfig.InfoTypeLikelihood} InfoTypeLikelihood
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ InfoTypeLikelihood.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies an InfoTypeLikelihood message.
+ * @function verify
+ * @memberof google.privacy.dlp.v2.InspectConfig.InfoTypeLikelihood
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ InfoTypeLikelihood.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ if (message.infoType != null && message.hasOwnProperty("infoType")) {
+ var error = $root.google.privacy.dlp.v2.InfoType.verify(message.infoType);
+ if (error)
+ return "infoType." + error;
+ }
+ if (message.minLikelihood != null && message.hasOwnProperty("minLikelihood"))
+ switch (message.minLikelihood) {
+ default:
+ return "minLikelihood: enum value expected";
+ case 0:
+ case 1:
+ case 2:
+ case 3:
+ case 4:
+ case 5:
+ break;
+ }
+ return null;
+ };
+
+ /**
+ * Creates an InfoTypeLikelihood message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.privacy.dlp.v2.InspectConfig.InfoTypeLikelihood
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.privacy.dlp.v2.InspectConfig.InfoTypeLikelihood} InfoTypeLikelihood
+ */
+ InfoTypeLikelihood.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.privacy.dlp.v2.InspectConfig.InfoTypeLikelihood)
+ return object;
+ var message = new $root.google.privacy.dlp.v2.InspectConfig.InfoTypeLikelihood();
+ if (object.infoType != null) {
+ if (typeof object.infoType !== "object")
+ throw TypeError(".google.privacy.dlp.v2.InspectConfig.InfoTypeLikelihood.infoType: object expected");
+ message.infoType = $root.google.privacy.dlp.v2.InfoType.fromObject(object.infoType);
+ }
+ switch (object.minLikelihood) {
+ default:
+ if (typeof object.minLikelihood === "number") {
+ message.minLikelihood = object.minLikelihood;
+ break;
+ }
+ break;
+ case "LIKELIHOOD_UNSPECIFIED":
+ case 0:
+ message.minLikelihood = 0;
+ break;
+ case "VERY_UNLIKELY":
+ case 1:
+ message.minLikelihood = 1;
+ break;
+ case "UNLIKELY":
+ case 2:
+ message.minLikelihood = 2;
+ break;
+ case "POSSIBLE":
+ case 3:
+ message.minLikelihood = 3;
+ break;
+ case "LIKELY":
+ case 4:
+ message.minLikelihood = 4;
+ break;
+ case "VERY_LIKELY":
+ case 5:
+ message.minLikelihood = 5;
+ break;
+ }
+ return message;
+ };
+
+ /**
+ * Creates a plain object from an InfoTypeLikelihood message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.privacy.dlp.v2.InspectConfig.InfoTypeLikelihood
+ * @static
+ * @param {google.privacy.dlp.v2.InspectConfig.InfoTypeLikelihood} message InfoTypeLikelihood
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ InfoTypeLikelihood.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.defaults) {
+ object.infoType = null;
+ object.minLikelihood = options.enums === String ? "LIKELIHOOD_UNSPECIFIED" : 0;
+ }
+ if (message.infoType != null && message.hasOwnProperty("infoType"))
+ object.infoType = $root.google.privacy.dlp.v2.InfoType.toObject(message.infoType, options);
+ if (message.minLikelihood != null && message.hasOwnProperty("minLikelihood"))
+ object.minLikelihood = options.enums === String ? $root.google.privacy.dlp.v2.Likelihood[message.minLikelihood] === undefined ? message.minLikelihood : $root.google.privacy.dlp.v2.Likelihood[message.minLikelihood] : message.minLikelihood;
+ return object;
+ };
+
+ /**
+ * Converts this InfoTypeLikelihood to JSON.
+ * @function toJSON
+ * @memberof google.privacy.dlp.v2.InspectConfig.InfoTypeLikelihood
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ InfoTypeLikelihood.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for InfoTypeLikelihood
+ * @function getTypeUrl
+ * @memberof google.privacy.dlp.v2.InspectConfig.InfoTypeLikelihood
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ InfoTypeLikelihood.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.privacy.dlp.v2.InspectConfig.InfoTypeLikelihood";
+ };
+
+ return InfoTypeLikelihood;
+ })();
+
+ InspectConfig.FindingLimits = (function() {
+
+ /**
+ * Properties of a FindingLimits.
+ * @memberof google.privacy.dlp.v2.InspectConfig
+ * @interface IFindingLimits
+ * @property {number|null} [maxFindingsPerItem] FindingLimits maxFindingsPerItem
+ * @property {number|null} [maxFindingsPerRequest] FindingLimits maxFindingsPerRequest
+ * @property {Array.|null} [maxFindingsPerInfoType] FindingLimits maxFindingsPerInfoType
+ */
+
+ /**
+ * Constructs a new FindingLimits.
+ * @memberof google.privacy.dlp.v2.InspectConfig
+ * @classdesc Represents a FindingLimits.
+ * @implements IFindingLimits
+ * @constructor
+ * @param {google.privacy.dlp.v2.InspectConfig.IFindingLimits=} [properties] Properties to set
+ */
+ function FindingLimits(properties) {
+ this.maxFindingsPerInfoType = [];
+ 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]];
+ }
+
+ /**
+ * FindingLimits maxFindingsPerItem.
+ * @member {number} maxFindingsPerItem
+ * @memberof google.privacy.dlp.v2.InspectConfig.FindingLimits
+ * @instance
+ */
+ FindingLimits.prototype.maxFindingsPerItem = 0;
+
+ /**
+ * FindingLimits maxFindingsPerRequest.
+ * @member {number} maxFindingsPerRequest
+ * @memberof google.privacy.dlp.v2.InspectConfig.FindingLimits
+ * @instance
+ */
+ FindingLimits.prototype.maxFindingsPerRequest = 0;
+
+ /**
+ * FindingLimits maxFindingsPerInfoType.
+ * @member {Array.} maxFindingsPerInfoType
+ * @memberof google.privacy.dlp.v2.InspectConfig.FindingLimits
+ * @instance
+ */
+ FindingLimits.prototype.maxFindingsPerInfoType = $util.emptyArray;
+
+ /**
+ * Creates a new FindingLimits instance using the specified properties.
+ * @function create
+ * @memberof google.privacy.dlp.v2.InspectConfig.FindingLimits
+ * @static
+ * @param {google.privacy.dlp.v2.InspectConfig.IFindingLimits=} [properties] Properties to set
+ * @returns {google.privacy.dlp.v2.InspectConfig.FindingLimits} FindingLimits instance
+ */
+ FindingLimits.create = function create(properties) {
+ return new FindingLimits(properties);
+ };
+
+ /**
+ * Encodes the specified FindingLimits message. Does not implicitly {@link google.privacy.dlp.v2.InspectConfig.FindingLimits.verify|verify} messages.
+ * @function encode
+ * @memberof google.privacy.dlp.v2.InspectConfig.FindingLimits
+ * @static
+ * @param {google.privacy.dlp.v2.InspectConfig.IFindingLimits} message FindingLimits message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ FindingLimits.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.maxFindingsPerItem != null && Object.hasOwnProperty.call(message, "maxFindingsPerItem"))
+ writer.uint32(/* id 1, wireType 0 =*/8).int32(message.maxFindingsPerItem);
+ if (message.maxFindingsPerRequest != null && Object.hasOwnProperty.call(message, "maxFindingsPerRequest"))
+ writer.uint32(/* id 2, wireType 0 =*/16).int32(message.maxFindingsPerRequest);
+ if (message.maxFindingsPerInfoType != null && message.maxFindingsPerInfoType.length)
+ for (var i = 0; i < message.maxFindingsPerInfoType.length; ++i)
+ $root.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit.encode(message.maxFindingsPerInfoType[i], writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim();
+ return writer;
+ };
+
+ /**
+ * Encodes the specified FindingLimits message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.InspectConfig.FindingLimits.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.privacy.dlp.v2.InspectConfig.FindingLimits
+ * @static
+ * @param {google.privacy.dlp.v2.InspectConfig.IFindingLimits} message FindingLimits message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ FindingLimits.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes a FindingLimits message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.privacy.dlp.v2.InspectConfig.FindingLimits
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.privacy.dlp.v2.InspectConfig.FindingLimits} FindingLimits
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ FindingLimits.decode = function decode(reader, length, error) {
+ if (!(reader instanceof $Reader))
+ reader = $Reader.create(reader);
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.privacy.dlp.v2.InspectConfig.FindingLimits();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ if (tag === error)
+ break;
+ switch (tag >>> 3) {
+ case 1: {
+ message.maxFindingsPerItem = reader.int32();
+ break;
+ }
+ case 2: {
+ message.maxFindingsPerRequest = reader.int32();
+ break;
+ }
+ case 3: {
+ if (!(message.maxFindingsPerInfoType && message.maxFindingsPerInfoType.length))
+ message.maxFindingsPerInfoType = [];
+ message.maxFindingsPerInfoType.push($root.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit.decode(reader, reader.uint32()));
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes a FindingLimits message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.privacy.dlp.v2.InspectConfig.FindingLimits
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.privacy.dlp.v2.InspectConfig.FindingLimits} FindingLimits
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ FindingLimits.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies a FindingLimits message.
+ * @function verify
+ * @memberof google.privacy.dlp.v2.InspectConfig.FindingLimits
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ FindingLimits.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ if (message.maxFindingsPerItem != null && message.hasOwnProperty("maxFindingsPerItem"))
+ if (!$util.isInteger(message.maxFindingsPerItem))
+ return "maxFindingsPerItem: integer expected";
+ if (message.maxFindingsPerRequest != null && message.hasOwnProperty("maxFindingsPerRequest"))
+ if (!$util.isInteger(message.maxFindingsPerRequest))
+ return "maxFindingsPerRequest: integer expected";
+ if (message.maxFindingsPerInfoType != null && message.hasOwnProperty("maxFindingsPerInfoType")) {
+ if (!Array.isArray(message.maxFindingsPerInfoType))
+ return "maxFindingsPerInfoType: array expected";
+ for (var i = 0; i < message.maxFindingsPerInfoType.length; ++i) {
+ var error = $root.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit.verify(message.maxFindingsPerInfoType[i]);
+ if (error)
+ return "maxFindingsPerInfoType." + error;
+ }
+ }
+ return null;
+ };
+
+ /**
+ * Creates a FindingLimits message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.privacy.dlp.v2.InspectConfig.FindingLimits
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.privacy.dlp.v2.InspectConfig.FindingLimits} FindingLimits
+ */
+ FindingLimits.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.privacy.dlp.v2.InspectConfig.FindingLimits)
+ return object;
+ var message = new $root.google.privacy.dlp.v2.InspectConfig.FindingLimits();
+ if (object.maxFindingsPerItem != null)
+ message.maxFindingsPerItem = object.maxFindingsPerItem | 0;
+ if (object.maxFindingsPerRequest != null)
+ message.maxFindingsPerRequest = object.maxFindingsPerRequest | 0;
+ if (object.maxFindingsPerInfoType) {
+ if (!Array.isArray(object.maxFindingsPerInfoType))
+ throw TypeError(".google.privacy.dlp.v2.InspectConfig.FindingLimits.maxFindingsPerInfoType: array expected");
+ message.maxFindingsPerInfoType = [];
+ for (var i = 0; i < object.maxFindingsPerInfoType.length; ++i) {
+ if (typeof object.maxFindingsPerInfoType[i] !== "object")
+ throw TypeError(".google.privacy.dlp.v2.InspectConfig.FindingLimits.maxFindingsPerInfoType: object expected");
+ message.maxFindingsPerInfoType[i] = $root.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit.fromObject(object.maxFindingsPerInfoType[i]);
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Creates a plain object from a FindingLimits message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.privacy.dlp.v2.InspectConfig.FindingLimits
+ * @static
+ * @param {google.privacy.dlp.v2.InspectConfig.FindingLimits} message FindingLimits
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ FindingLimits.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.arrays || options.defaults)
+ object.maxFindingsPerInfoType = [];
+ if (options.defaults) {
+ object.maxFindingsPerItem = 0;
+ object.maxFindingsPerRequest = 0;
+ }
+ if (message.maxFindingsPerItem != null && message.hasOwnProperty("maxFindingsPerItem"))
+ object.maxFindingsPerItem = message.maxFindingsPerItem;
+ if (message.maxFindingsPerRequest != null && message.hasOwnProperty("maxFindingsPerRequest"))
+ object.maxFindingsPerRequest = message.maxFindingsPerRequest;
+ if (message.maxFindingsPerInfoType && message.maxFindingsPerInfoType.length) {
+ object.maxFindingsPerInfoType = [];
+ for (var j = 0; j < message.maxFindingsPerInfoType.length; ++j)
+ object.maxFindingsPerInfoType[j] = $root.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit.toObject(message.maxFindingsPerInfoType[j], options);
+ }
+ return object;
+ };
+
+ /**
+ * Converts this FindingLimits to JSON.
+ * @function toJSON
+ * @memberof google.privacy.dlp.v2.InspectConfig.FindingLimits
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ FindingLimits.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for FindingLimits
+ * @function getTypeUrl
+ * @memberof google.privacy.dlp.v2.InspectConfig.FindingLimits
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ FindingLimits.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.privacy.dlp.v2.InspectConfig.FindingLimits";
+ };
+
+ FindingLimits.InfoTypeLimit = (function() {
+
+ /**
+ * Properties of an InfoTypeLimit.
+ * @memberof google.privacy.dlp.v2.InspectConfig.FindingLimits
+ * @interface IInfoTypeLimit
+ * @property {google.privacy.dlp.v2.IInfoType|null} [infoType] InfoTypeLimit infoType
+ * @property {number|null} [maxFindings] InfoTypeLimit maxFindings
+ */
+
+ /**
+ * Constructs a new InfoTypeLimit.
+ * @memberof google.privacy.dlp.v2.InspectConfig.FindingLimits
+ * @classdesc Represents an InfoTypeLimit.
+ * @implements IInfoTypeLimit
+ * @constructor
+ * @param {google.privacy.dlp.v2.InspectConfig.FindingLimits.IInfoTypeLimit=} [properties] Properties to set
+ */
+ function InfoTypeLimit(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]];
+ }
+
+ /**
+ * InfoTypeLimit infoType.
+ * @member {google.privacy.dlp.v2.IInfoType|null|undefined} infoType
+ * @memberof google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit
+ * @instance
+ */
+ InfoTypeLimit.prototype.infoType = null;
+
+ /**
+ * InfoTypeLimit maxFindings.
+ * @member {number} maxFindings
+ * @memberof google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit
+ * @instance
+ */
+ InfoTypeLimit.prototype.maxFindings = 0;
+
+ /**
+ * Creates a new InfoTypeLimit instance using the specified properties.
+ * @function create
+ * @memberof google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit
+ * @static
+ * @param {google.privacy.dlp.v2.InspectConfig.FindingLimits.IInfoTypeLimit=} [properties] Properties to set
+ * @returns {google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit} InfoTypeLimit instance
+ */
+ InfoTypeLimit.create = function create(properties) {
+ return new InfoTypeLimit(properties);
+ };
+
+ /**
+ * Encodes the specified InfoTypeLimit message. Does not implicitly {@link google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit.verify|verify} messages.
+ * @function encode
+ * @memberof google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit
+ * @static
+ * @param {google.privacy.dlp.v2.InspectConfig.FindingLimits.IInfoTypeLimit} message InfoTypeLimit message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ InfoTypeLimit.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.infoType != null && Object.hasOwnProperty.call(message, "infoType"))
+ $root.google.privacy.dlp.v2.InfoType.encode(message.infoType, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
+ if (message.maxFindings != null && Object.hasOwnProperty.call(message, "maxFindings"))
+ writer.uint32(/* id 2, wireType 0 =*/16).int32(message.maxFindings);
+ return writer;
+ };
+
+ /**
+ * Encodes the specified InfoTypeLimit message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit
+ * @static
+ * @param {google.privacy.dlp.v2.InspectConfig.FindingLimits.IInfoTypeLimit} message InfoTypeLimit message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ InfoTypeLimit.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes an InfoTypeLimit message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit} InfoTypeLimit
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ InfoTypeLimit.decode = function decode(reader, length, error) {
+ if (!(reader instanceof $Reader))
+ reader = $Reader.create(reader);
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ if (tag === error)
+ break;
+ switch (tag >>> 3) {
+ case 1: {
+ message.infoType = $root.google.privacy.dlp.v2.InfoType.decode(reader, reader.uint32());
+ break;
+ }
+ case 2: {
+ message.maxFindings = reader.int32();
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes an InfoTypeLimit message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit} InfoTypeLimit
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ InfoTypeLimit.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies an InfoTypeLimit message.
+ * @function verify
+ * @memberof google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ InfoTypeLimit.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ if (message.infoType != null && message.hasOwnProperty("infoType")) {
+ var error = $root.google.privacy.dlp.v2.InfoType.verify(message.infoType);
+ if (error)
+ return "infoType." + error;
+ }
+ if (message.maxFindings != null && message.hasOwnProperty("maxFindings"))
+ if (!$util.isInteger(message.maxFindings))
+ return "maxFindings: integer expected";
+ return null;
+ };
+
+ /**
+ * Creates an InfoTypeLimit message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit} InfoTypeLimit
+ */
+ InfoTypeLimit.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit)
+ return object;
+ var message = new $root.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit();
+ if (object.infoType != null) {
+ if (typeof object.infoType !== "object")
+ throw TypeError(".google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit.infoType: object expected");
+ message.infoType = $root.google.privacy.dlp.v2.InfoType.fromObject(object.infoType);
+ }
+ if (object.maxFindings != null)
+ message.maxFindings = object.maxFindings | 0;
+ return message;
+ };
+
+ /**
+ * Creates a plain object from an InfoTypeLimit message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit
+ * @static
+ * @param {google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit} message InfoTypeLimit
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ InfoTypeLimit.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.defaults) {
+ object.infoType = null;
+ object.maxFindings = 0;
+ }
+ if (message.infoType != null && message.hasOwnProperty("infoType"))
+ object.infoType = $root.google.privacy.dlp.v2.InfoType.toObject(message.infoType, options);
+ if (message.maxFindings != null && message.hasOwnProperty("maxFindings"))
+ object.maxFindings = message.maxFindings;
+ return object;
+ };
+
+ /**
+ * Converts this InfoTypeLimit to JSON.
+ * @function toJSON
+ * @memberof google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ InfoTypeLimit.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for InfoTypeLimit
+ * @function getTypeUrl
+ * @memberof google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ InfoTypeLimit.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit";
+ };
+
+ return InfoTypeLimit;
+ })();
+
+ return FindingLimits;
+ })();
+
+ return InspectConfig;
+ })();
+
+ v2.ByteContentItem = (function() {
+
+ /**
+ * Properties of a ByteContentItem.
+ * @memberof google.privacy.dlp.v2
+ * @interface IByteContentItem
+ * @property {google.privacy.dlp.v2.ByteContentItem.BytesType|null} [type] ByteContentItem type
+ * @property {Uint8Array|null} [data] ByteContentItem data
+ */
+
+ /**
+ * Constructs a new ByteContentItem.
+ * @memberof google.privacy.dlp.v2
+ * @classdesc Represents a ByteContentItem.
+ * @implements IByteContentItem
+ * @constructor
+ * @param {google.privacy.dlp.v2.IByteContentItem=} [properties] Properties to set
+ */
+ function ByteContentItem(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]];
+ }
+
+ /**
+ * ByteContentItem type.
+ * @member {google.privacy.dlp.v2.ByteContentItem.BytesType} type
+ * @memberof google.privacy.dlp.v2.ByteContentItem
+ * @instance
+ */
+ ByteContentItem.prototype.type = 0;
+
+ /**
+ * ByteContentItem data.
+ * @member {Uint8Array} data
+ * @memberof google.privacy.dlp.v2.ByteContentItem
+ * @instance
+ */
+ ByteContentItem.prototype.data = $util.newBuffer([]);
+
+ /**
+ * Creates a new ByteContentItem instance using the specified properties.
+ * @function create
+ * @memberof google.privacy.dlp.v2.ByteContentItem
+ * @static
+ * @param {google.privacy.dlp.v2.IByteContentItem=} [properties] Properties to set
+ * @returns {google.privacy.dlp.v2.ByteContentItem} ByteContentItem instance
+ */
+ ByteContentItem.create = function create(properties) {
+ return new ByteContentItem(properties);
+ };
+
+ /**
+ * Encodes the specified ByteContentItem message. Does not implicitly {@link google.privacy.dlp.v2.ByteContentItem.verify|verify} messages.
+ * @function encode
+ * @memberof google.privacy.dlp.v2.ByteContentItem
+ * @static
+ * @param {google.privacy.dlp.v2.IByteContentItem} message ByteContentItem message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ ByteContentItem.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.type != null && Object.hasOwnProperty.call(message, "type"))
+ writer.uint32(/* id 1, wireType 0 =*/8).int32(message.type);
+ if (message.data != null && Object.hasOwnProperty.call(message, "data"))
+ writer.uint32(/* id 2, wireType 2 =*/18).bytes(message.data);
+ return writer;
+ };
+
+ /**
+ * Encodes the specified ByteContentItem message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.ByteContentItem.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.privacy.dlp.v2.ByteContentItem
+ * @static
+ * @param {google.privacy.dlp.v2.IByteContentItem} message ByteContentItem message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ ByteContentItem.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes a ByteContentItem message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.privacy.dlp.v2.ByteContentItem
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.privacy.dlp.v2.ByteContentItem} ByteContentItem
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ ByteContentItem.decode = function decode(reader, length, error) {
+ if (!(reader instanceof $Reader))
+ reader = $Reader.create(reader);
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.privacy.dlp.v2.ByteContentItem();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ if (tag === error)
+ break;
+ switch (tag >>> 3) {
+ case 1: {
+ message.type = reader.int32();
+ break;
+ }
+ case 2: {
+ message.data = reader.bytes();
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes a ByteContentItem message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.privacy.dlp.v2.ByteContentItem
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.privacy.dlp.v2.ByteContentItem} ByteContentItem
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ ByteContentItem.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies a ByteContentItem message.
+ * @function verify
+ * @memberof google.privacy.dlp.v2.ByteContentItem
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ ByteContentItem.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ if (message.type != null && message.hasOwnProperty("type"))
+ switch (message.type) {
+ default:
+ return "type: enum value expected";
+ case 0:
+ case 6:
+ case 1:
+ case 2:
+ case 3:
+ case 4:
+ case 5:
+ case 7:
+ case 8:
+ case 9:
+ case 10:
+ case 11:
+ case 12:
+ case 13:
+ case 15:
+ case 16:
+ case 17:
+ case 18:
+ break;
+ }
+ if (message.data != null && message.hasOwnProperty("data"))
+ if (!(message.data && typeof message.data.length === "number" || $util.isString(message.data)))
+ return "data: buffer expected";
+ return null;
+ };
+
+ /**
+ * Creates a ByteContentItem message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.privacy.dlp.v2.ByteContentItem
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.privacy.dlp.v2.ByteContentItem} ByteContentItem
+ */
+ ByteContentItem.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.privacy.dlp.v2.ByteContentItem)
+ return object;
+ var message = new $root.google.privacy.dlp.v2.ByteContentItem();
+ switch (object.type) {
+ default:
+ if (typeof object.type === "number") {
+ message.type = object.type;
+ break;
+ }
+ break;
+ case "BYTES_TYPE_UNSPECIFIED":
+ case 0:
+ message.type = 0;
+ break;
+ case "IMAGE":
+ case 6:
+ message.type = 6;
+ break;
+ case "IMAGE_JPEG":
+ case 1:
+ message.type = 1;
+ break;
+ case "IMAGE_BMP":
+ case 2:
+ message.type = 2;
+ break;
+ case "IMAGE_PNG":
+ case 3:
+ message.type = 3;
+ break;
+ case "IMAGE_SVG":
+ case 4:
+ message.type = 4;
+ break;
+ case "TEXT_UTF8":
+ case 5:
+ message.type = 5;
+ break;
+ case "WORD_DOCUMENT":
+ case 7:
+ message.type = 7;
+ break;
+ case "PDF":
+ case 8:
+ message.type = 8;
+ break;
+ case "POWERPOINT_DOCUMENT":
+ case 9:
+ message.type = 9;
+ break;
+ case "EXCEL_DOCUMENT":
+ case 10:
+ message.type = 10;
+ break;
+ case "AVRO":
+ case 11:
+ message.type = 11;
+ break;
+ case "CSV":
+ case 12:
+ message.type = 12;
+ break;
+ case "TSV":
+ case 13:
+ message.type = 13;
+ break;
+ case "AUDIO":
+ case 15:
+ message.type = 15;
+ break;
+ case "VIDEO":
+ case 16:
+ message.type = 16;
+ break;
+ case "EXECUTABLE":
+ case 17:
+ message.type = 17;
+ break;
+ case "AI_MODEL":
+ case 18:
+ message.type = 18;
+ break;
+ }
+ if (object.data != null)
+ if (typeof object.data === "string")
+ $util.base64.decode(object.data, message.data = $util.newBuffer($util.base64.length(object.data)), 0);
+ else if (object.data.length >= 0)
+ message.data = object.data;
+ return message;
+ };
+
+ /**
+ * Creates a plain object from a ByteContentItem message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.privacy.dlp.v2.ByteContentItem
+ * @static
+ * @param {google.privacy.dlp.v2.ByteContentItem} message ByteContentItem
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ ByteContentItem.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.defaults) {
+ object.type = options.enums === String ? "BYTES_TYPE_UNSPECIFIED" : 0;
+ if (options.bytes === String)
+ object.data = "";
+ else {
+ object.data = [];
+ if (options.bytes !== Array)
+ object.data = $util.newBuffer(object.data);
+ }
+ }
+ if (message.type != null && message.hasOwnProperty("type"))
+ object.type = options.enums === String ? $root.google.privacy.dlp.v2.ByteContentItem.BytesType[message.type] === undefined ? message.type : $root.google.privacy.dlp.v2.ByteContentItem.BytesType[message.type] : message.type;
+ if (message.data != null && message.hasOwnProperty("data"))
+ object.data = options.bytes === String ? $util.base64.encode(message.data, 0, message.data.length) : options.bytes === Array ? Array.prototype.slice.call(message.data) : message.data;
+ return object;
+ };
+
+ /**
+ * Converts this ByteContentItem to JSON.
+ * @function toJSON
+ * @memberof google.privacy.dlp.v2.ByteContentItem
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ ByteContentItem.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for ByteContentItem
+ * @function getTypeUrl
+ * @memberof google.privacy.dlp.v2.ByteContentItem
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ ByteContentItem.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.privacy.dlp.v2.ByteContentItem";
+ };
+
+ /**
+ * BytesType enum.
+ * @name google.privacy.dlp.v2.ByteContentItem.BytesType
+ * @enum {number}
+ * @property {number} BYTES_TYPE_UNSPECIFIED=0 BYTES_TYPE_UNSPECIFIED value
+ * @property {number} IMAGE=6 IMAGE value
+ * @property {number} IMAGE_JPEG=1 IMAGE_JPEG value
+ * @property {number} IMAGE_BMP=2 IMAGE_BMP value
+ * @property {number} IMAGE_PNG=3 IMAGE_PNG value
+ * @property {number} IMAGE_SVG=4 IMAGE_SVG value
+ * @property {number} TEXT_UTF8=5 TEXT_UTF8 value
+ * @property {number} WORD_DOCUMENT=7 WORD_DOCUMENT value
+ * @property {number} PDF=8 PDF value
+ * @property {number} POWERPOINT_DOCUMENT=9 POWERPOINT_DOCUMENT value
+ * @property {number} EXCEL_DOCUMENT=10 EXCEL_DOCUMENT value
+ * @property {number} AVRO=11 AVRO value
+ * @property {number} CSV=12 CSV value
+ * @property {number} TSV=13 TSV value
+ * @property {number} AUDIO=15 AUDIO value
+ * @property {number} VIDEO=16 VIDEO value
+ * @property {number} EXECUTABLE=17 EXECUTABLE value
+ * @property {number} AI_MODEL=18 AI_MODEL value
+ */
+ ByteContentItem.BytesType = (function() {
+ var valuesById = {}, values = Object.create(valuesById);
+ values[valuesById[0] = "BYTES_TYPE_UNSPECIFIED"] = 0;
+ values[valuesById[6] = "IMAGE"] = 6;
+ values[valuesById[1] = "IMAGE_JPEG"] = 1;
+ values[valuesById[2] = "IMAGE_BMP"] = 2;
+ values[valuesById[3] = "IMAGE_PNG"] = 3;
+ values[valuesById[4] = "IMAGE_SVG"] = 4;
+ values[valuesById[5] = "TEXT_UTF8"] = 5;
+ values[valuesById[7] = "WORD_DOCUMENT"] = 7;
+ values[valuesById[8] = "PDF"] = 8;
+ values[valuesById[9] = "POWERPOINT_DOCUMENT"] = 9;
+ values[valuesById[10] = "EXCEL_DOCUMENT"] = 10;
+ values[valuesById[11] = "AVRO"] = 11;
+ values[valuesById[12] = "CSV"] = 12;
+ values[valuesById[13] = "TSV"] = 13;
+ values[valuesById[15] = "AUDIO"] = 15;
+ values[valuesById[16] = "VIDEO"] = 16;
+ values[valuesById[17] = "EXECUTABLE"] = 17;
+ values[valuesById[18] = "AI_MODEL"] = 18;
+ return values;
+ })();
+
+ return ByteContentItem;
+ })();
+
+ v2.ContentItem = (function() {
+
+ /**
+ * Properties of a ContentItem.
+ * @memberof google.privacy.dlp.v2
+ * @interface IContentItem
+ * @property {string|null} [value] ContentItem value
+ * @property {google.privacy.dlp.v2.ITable|null} [table] ContentItem table
+ * @property {google.privacy.dlp.v2.IByteContentItem|null} [byteItem] ContentItem byteItem
+ */
+
+ /**
+ * Constructs a new ContentItem.
+ * @memberof google.privacy.dlp.v2
+ * @classdesc Represents a ContentItem.
+ * @implements IContentItem
+ * @constructor
+ * @param {google.privacy.dlp.v2.IContentItem=} [properties] Properties to set
+ */
+ function ContentItem(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]];
+ }
+
+ /**
+ * ContentItem value.
+ * @member {string|null|undefined} value
+ * @memberof google.privacy.dlp.v2.ContentItem
+ * @instance
+ */
+ ContentItem.prototype.value = null;
+
+ /**
+ * ContentItem table.
+ * @member {google.privacy.dlp.v2.ITable|null|undefined} table
+ * @memberof google.privacy.dlp.v2.ContentItem
+ * @instance
+ */
+ ContentItem.prototype.table = null;
+
+ /**
+ * ContentItem byteItem.
+ * @member {google.privacy.dlp.v2.IByteContentItem|null|undefined} byteItem
+ * @memberof google.privacy.dlp.v2.ContentItem
+ * @instance
+ */
+ ContentItem.prototype.byteItem = null;
+
+ // OneOf field names bound to virtual getters and setters
+ var $oneOfFields;
+
+ /**
+ * ContentItem dataItem.
+ * @member {"value"|"table"|"byteItem"|undefined} dataItem
+ * @memberof google.privacy.dlp.v2.ContentItem
+ * @instance
+ */
+ Object.defineProperty(ContentItem.prototype, "dataItem", {
+ get: $util.oneOfGetter($oneOfFields = ["value", "table", "byteItem"]),
+ set: $util.oneOfSetter($oneOfFields)
+ });
+
+ /**
+ * Creates a new ContentItem instance using the specified properties.
+ * @function create
+ * @memberof google.privacy.dlp.v2.ContentItem
+ * @static
+ * @param {google.privacy.dlp.v2.IContentItem=} [properties] Properties to set
+ * @returns {google.privacy.dlp.v2.ContentItem} ContentItem instance
+ */
+ ContentItem.create = function create(properties) {
+ return new ContentItem(properties);
+ };
+
+ /**
+ * Encodes the specified ContentItem message. Does not implicitly {@link google.privacy.dlp.v2.ContentItem.verify|verify} messages.
+ * @function encode
+ * @memberof google.privacy.dlp.v2.ContentItem
+ * @static
+ * @param {google.privacy.dlp.v2.IContentItem} message ContentItem message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ ContentItem.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.value != null && Object.hasOwnProperty.call(message, "value"))
+ writer.uint32(/* id 3, wireType 2 =*/26).string(message.value);
+ if (message.table != null && Object.hasOwnProperty.call(message, "table"))
+ $root.google.privacy.dlp.v2.Table.encode(message.table, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim();
+ if (message.byteItem != null && Object.hasOwnProperty.call(message, "byteItem"))
+ $root.google.privacy.dlp.v2.ByteContentItem.encode(message.byteItem, writer.uint32(/* id 5, wireType 2 =*/42).fork()).ldelim();
+ return writer;
+ };
+
+ /**
+ * Encodes the specified ContentItem message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.ContentItem.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.privacy.dlp.v2.ContentItem
+ * @static
+ * @param {google.privacy.dlp.v2.IContentItem} message ContentItem message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ ContentItem.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes a ContentItem message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.privacy.dlp.v2.ContentItem
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.privacy.dlp.v2.ContentItem} ContentItem
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ ContentItem.decode = function decode(reader, length, error) {
+ if (!(reader instanceof $Reader))
+ reader = $Reader.create(reader);
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.privacy.dlp.v2.ContentItem();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ if (tag === error)
+ break;
+ switch (tag >>> 3) {
+ case 3: {
+ message.value = reader.string();
+ break;
+ }
+ case 4: {
+ message.table = $root.google.privacy.dlp.v2.Table.decode(reader, reader.uint32());
+ break;
+ }
+ case 5: {
+ message.byteItem = $root.google.privacy.dlp.v2.ByteContentItem.decode(reader, reader.uint32());
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes a ContentItem message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.privacy.dlp.v2.ContentItem
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.privacy.dlp.v2.ContentItem} ContentItem
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ ContentItem.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies a ContentItem message.
+ * @function verify
+ * @memberof google.privacy.dlp.v2.ContentItem
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ ContentItem.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ var properties = {};
+ if (message.value != null && message.hasOwnProperty("value")) {
+ properties.dataItem = 1;
+ if (!$util.isString(message.value))
+ return "value: string expected";
+ }
+ if (message.table != null && message.hasOwnProperty("table")) {
+ if (properties.dataItem === 1)
+ return "dataItem: multiple values";
+ properties.dataItem = 1;
+ {
+ var error = $root.google.privacy.dlp.v2.Table.verify(message.table);
+ if (error)
+ return "table." + error;
+ }
+ }
+ if (message.byteItem != null && message.hasOwnProperty("byteItem")) {
+ if (properties.dataItem === 1)
+ return "dataItem: multiple values";
+ properties.dataItem = 1;
+ {
+ var error = $root.google.privacy.dlp.v2.ByteContentItem.verify(message.byteItem);
+ if (error)
+ return "byteItem." + error;
+ }
+ }
+ return null;
+ };
+
+ /**
+ * Creates a ContentItem message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.privacy.dlp.v2.ContentItem
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.privacy.dlp.v2.ContentItem} ContentItem
+ */
+ ContentItem.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.privacy.dlp.v2.ContentItem)
+ return object;
+ var message = new $root.google.privacy.dlp.v2.ContentItem();
+ if (object.value != null)
+ message.value = String(object.value);
+ if (object.table != null) {
+ if (typeof object.table !== "object")
+ throw TypeError(".google.privacy.dlp.v2.ContentItem.table: object expected");
+ message.table = $root.google.privacy.dlp.v2.Table.fromObject(object.table);
+ }
+ if (object.byteItem != null) {
+ if (typeof object.byteItem !== "object")
+ throw TypeError(".google.privacy.dlp.v2.ContentItem.byteItem: object expected");
+ message.byteItem = $root.google.privacy.dlp.v2.ByteContentItem.fromObject(object.byteItem);
+ }
+ return message;
+ };
+
+ /**
+ * Creates a plain object from a ContentItem message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.privacy.dlp.v2.ContentItem
+ * @static
+ * @param {google.privacy.dlp.v2.ContentItem} message ContentItem
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ ContentItem.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (message.value != null && message.hasOwnProperty("value")) {
+ object.value = message.value;
+ if (options.oneofs)
+ object.dataItem = "value";
+ }
+ if (message.table != null && message.hasOwnProperty("table")) {
+ object.table = $root.google.privacy.dlp.v2.Table.toObject(message.table, options);
+ if (options.oneofs)
+ object.dataItem = "table";
+ }
+ if (message.byteItem != null && message.hasOwnProperty("byteItem")) {
+ object.byteItem = $root.google.privacy.dlp.v2.ByteContentItem.toObject(message.byteItem, options);
+ if (options.oneofs)
+ object.dataItem = "byteItem";
+ }
+ return object;
+ };
+
+ /**
+ * Converts this ContentItem to JSON.
+ * @function toJSON
+ * @memberof google.privacy.dlp.v2.ContentItem
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ ContentItem.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for ContentItem
+ * @function getTypeUrl
+ * @memberof google.privacy.dlp.v2.ContentItem
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ ContentItem.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.privacy.dlp.v2.ContentItem";
+ };
+
+ return ContentItem;
+ })();
+
+ v2.Table = (function() {
+
+ /**
+ * Properties of a Table.
+ * @memberof google.privacy.dlp.v2
+ * @interface ITable
+ * @property {Array.|null} [headers] Table headers
+ * @property {Array.|null} [rows] Table rows
+ */
+
+ /**
+ * Constructs a new Table.
+ * @memberof google.privacy.dlp.v2
+ * @classdesc Represents a Table.
+ * @implements ITable
+ * @constructor
+ * @param {google.privacy.dlp.v2.ITable=} [properties] Properties to set
+ */
+ function Table(properties) {
+ this.headers = [];
+ this.rows = [];
+ 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]];
+ }
+
+ /**
+ * Table headers.
+ * @member {Array.} headers
+ * @memberof google.privacy.dlp.v2.Table
+ * @instance
+ */
+ Table.prototype.headers = $util.emptyArray;
+
+ /**
+ * Table rows.
+ * @member {Array.} rows
+ * @memberof google.privacy.dlp.v2.Table
+ * @instance
+ */
+ Table.prototype.rows = $util.emptyArray;
+
+ /**
+ * Creates a new Table instance using the specified properties.
+ * @function create
+ * @memberof google.privacy.dlp.v2.Table
+ * @static
+ * @param {google.privacy.dlp.v2.ITable=} [properties] Properties to set
+ * @returns {google.privacy.dlp.v2.Table} Table instance
+ */
+ Table.create = function create(properties) {
+ return new Table(properties);
+ };
+
+ /**
+ * Encodes the specified Table message. Does not implicitly {@link google.privacy.dlp.v2.Table.verify|verify} messages.
+ * @function encode
+ * @memberof google.privacy.dlp.v2.Table
+ * @static
+ * @param {google.privacy.dlp.v2.ITable} message Table message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ Table.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.headers != null && message.headers.length)
+ for (var i = 0; i < message.headers.length; ++i)
+ $root.google.privacy.dlp.v2.FieldId.encode(message.headers[i], writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
+ if (message.rows != null && message.rows.length)
+ for (var i = 0; i < message.rows.length; ++i)
+ $root.google.privacy.dlp.v2.Table.Row.encode(message.rows[i], writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
+ return writer;
+ };
+
+ /**
+ * Encodes the specified Table message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.Table.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.privacy.dlp.v2.Table
+ * @static
+ * @param {google.privacy.dlp.v2.ITable} message Table message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ Table.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes a Table message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.privacy.dlp.v2.Table
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.privacy.dlp.v2.Table} Table
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ Table.decode = function decode(reader, length, error) {
+ if (!(reader instanceof $Reader))
+ reader = $Reader.create(reader);
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.privacy.dlp.v2.Table();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ if (tag === error)
+ break;
+ switch (tag >>> 3) {
+ case 1: {
+ if (!(message.headers && message.headers.length))
+ message.headers = [];
+ message.headers.push($root.google.privacy.dlp.v2.FieldId.decode(reader, reader.uint32()));
+ break;
+ }
+ case 2: {
+ if (!(message.rows && message.rows.length))
+ message.rows = [];
+ message.rows.push($root.google.privacy.dlp.v2.Table.Row.decode(reader, reader.uint32()));
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes a Table message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.privacy.dlp.v2.Table
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.privacy.dlp.v2.Table} Table
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ Table.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies a Table message.
+ * @function verify
+ * @memberof google.privacy.dlp.v2.Table
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ Table.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ if (message.headers != null && message.hasOwnProperty("headers")) {
+ if (!Array.isArray(message.headers))
+ return "headers: array expected";
+ for (var i = 0; i < message.headers.length; ++i) {
+ var error = $root.google.privacy.dlp.v2.FieldId.verify(message.headers[i]);
+ if (error)
+ return "headers." + error;
+ }
+ }
+ if (message.rows != null && message.hasOwnProperty("rows")) {
+ if (!Array.isArray(message.rows))
+ return "rows: array expected";
+ for (var i = 0; i < message.rows.length; ++i) {
+ var error = $root.google.privacy.dlp.v2.Table.Row.verify(message.rows[i]);
+ if (error)
+ return "rows." + error;
+ }
+ }
+ return null;
+ };
+
+ /**
+ * Creates a Table message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.privacy.dlp.v2.Table
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.privacy.dlp.v2.Table} Table
+ */
+ Table.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.privacy.dlp.v2.Table)
+ return object;
+ var message = new $root.google.privacy.dlp.v2.Table();
+ if (object.headers) {
+ if (!Array.isArray(object.headers))
+ throw TypeError(".google.privacy.dlp.v2.Table.headers: array expected");
+ message.headers = [];
+ for (var i = 0; i < object.headers.length; ++i) {
+ if (typeof object.headers[i] !== "object")
+ throw TypeError(".google.privacy.dlp.v2.Table.headers: object expected");
+ message.headers[i] = $root.google.privacy.dlp.v2.FieldId.fromObject(object.headers[i]);
+ }
+ }
+ if (object.rows) {
+ if (!Array.isArray(object.rows))
+ throw TypeError(".google.privacy.dlp.v2.Table.rows: array expected");
+ message.rows = [];
+ for (var i = 0; i < object.rows.length; ++i) {
+ if (typeof object.rows[i] !== "object")
+ throw TypeError(".google.privacy.dlp.v2.Table.rows: object expected");
+ message.rows[i] = $root.google.privacy.dlp.v2.Table.Row.fromObject(object.rows[i]);
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Creates a plain object from a Table message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.privacy.dlp.v2.Table
+ * @static
+ * @param {google.privacy.dlp.v2.Table} message Table
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ Table.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.arrays || options.defaults) {
+ object.headers = [];
+ object.rows = [];
+ }
+ if (message.headers && message.headers.length) {
+ object.headers = [];
+ for (var j = 0; j < message.headers.length; ++j)
+ object.headers[j] = $root.google.privacy.dlp.v2.FieldId.toObject(message.headers[j], options);
+ }
+ if (message.rows && message.rows.length) {
+ object.rows = [];
+ for (var j = 0; j < message.rows.length; ++j)
+ object.rows[j] = $root.google.privacy.dlp.v2.Table.Row.toObject(message.rows[j], options);
+ }
+ return object;
+ };
+
+ /**
+ * Converts this Table to JSON.
+ * @function toJSON
+ * @memberof google.privacy.dlp.v2.Table
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ Table.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for Table
+ * @function getTypeUrl
+ * @memberof google.privacy.dlp.v2.Table
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ Table.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.privacy.dlp.v2.Table";
+ };
+
+ Table.Row = (function() {
+
+ /**
+ * Properties of a Row.
+ * @memberof google.privacy.dlp.v2.Table
+ * @interface IRow
+ * @property {Array.|null} [values] Row values
+ */
+
+ /**
+ * Constructs a new Row.
+ * @memberof google.privacy.dlp.v2.Table
+ * @classdesc Represents a Row.
+ * @implements IRow
+ * @constructor
+ * @param {google.privacy.dlp.v2.Table.IRow=} [properties] Properties to set
+ */
+ function Row(properties) {
+ this.values = [];
+ 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]];
+ }
+
+ /**
+ * Row values.
+ * @member {Array.} values
+ * @memberof google.privacy.dlp.v2.Table.Row
+ * @instance
+ */
+ Row.prototype.values = $util.emptyArray;
+
+ /**
+ * Creates a new Row instance using the specified properties.
+ * @function create
+ * @memberof google.privacy.dlp.v2.Table.Row
+ * @static
+ * @param {google.privacy.dlp.v2.Table.IRow=} [properties] Properties to set
+ * @returns {google.privacy.dlp.v2.Table.Row} Row instance
+ */
+ Row.create = function create(properties) {
+ return new Row(properties);
+ };
+
+ /**
+ * Encodes the specified Row message. Does not implicitly {@link google.privacy.dlp.v2.Table.Row.verify|verify} messages.
+ * @function encode
+ * @memberof google.privacy.dlp.v2.Table.Row
+ * @static
+ * @param {google.privacy.dlp.v2.Table.IRow} message Row message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ Row.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.values != null && message.values.length)
+ for (var i = 0; i < message.values.length; ++i)
+ $root.google.privacy.dlp.v2.Value.encode(message.values[i], writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
+ return writer;
+ };
+
+ /**
+ * Encodes the specified Row message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.Table.Row.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.privacy.dlp.v2.Table.Row
+ * @static
+ * @param {google.privacy.dlp.v2.Table.IRow} message Row message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ Row.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes a Row message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.privacy.dlp.v2.Table.Row
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.privacy.dlp.v2.Table.Row} Row
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ Row.decode = function decode(reader, length, error) {
+ if (!(reader instanceof $Reader))
+ reader = $Reader.create(reader);
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.privacy.dlp.v2.Table.Row();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ if (tag === error)
+ break;
+ switch (tag >>> 3) {
+ case 1: {
+ if (!(message.values && message.values.length))
+ message.values = [];
+ message.values.push($root.google.privacy.dlp.v2.Value.decode(reader, reader.uint32()));
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes a Row message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.privacy.dlp.v2.Table.Row
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.privacy.dlp.v2.Table.Row} Row
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ Row.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies a Row message.
+ * @function verify
+ * @memberof google.privacy.dlp.v2.Table.Row
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ Row.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ if (message.values != null && message.hasOwnProperty("values")) {
+ if (!Array.isArray(message.values))
+ return "values: array expected";
+ for (var i = 0; i < message.values.length; ++i) {
+ var error = $root.google.privacy.dlp.v2.Value.verify(message.values[i]);
+ if (error)
+ return "values." + error;
+ }
+ }
+ return null;
+ };
+
+ /**
+ * Creates a Row message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.privacy.dlp.v2.Table.Row
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.privacy.dlp.v2.Table.Row} Row
+ */
+ Row.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.privacy.dlp.v2.Table.Row)
+ return object;
+ var message = new $root.google.privacy.dlp.v2.Table.Row();
+ if (object.values) {
+ if (!Array.isArray(object.values))
+ throw TypeError(".google.privacy.dlp.v2.Table.Row.values: array expected");
+ message.values = [];
+ for (var i = 0; i < object.values.length; ++i) {
+ if (typeof object.values[i] !== "object")
+ throw TypeError(".google.privacy.dlp.v2.Table.Row.values: object expected");
+ message.values[i] = $root.google.privacy.dlp.v2.Value.fromObject(object.values[i]);
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Creates a plain object from a Row message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.privacy.dlp.v2.Table.Row
+ * @static
+ * @param {google.privacy.dlp.v2.Table.Row} message Row
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ Row.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.arrays || options.defaults)
+ object.values = [];
+ if (message.values && message.values.length) {
+ object.values = [];
+ for (var j = 0; j < message.values.length; ++j)
+ object.values[j] = $root.google.privacy.dlp.v2.Value.toObject(message.values[j], options);
+ }
+ return object;
+ };
+
+ /**
+ * Converts this Row to JSON.
+ * @function toJSON
+ * @memberof google.privacy.dlp.v2.Table.Row
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ Row.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for Row
+ * @function getTypeUrl
+ * @memberof google.privacy.dlp.v2.Table.Row
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ Row.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.privacy.dlp.v2.Table.Row";
+ };
+
+ return Row;
+ })();
+
+ return Table;
+ })();
+
+ v2.InspectResult = (function() {
+
+ /**
+ * Properties of an InspectResult.
+ * @memberof google.privacy.dlp.v2
+ * @interface IInspectResult
+ * @property {Array.|null} [findings] InspectResult findings
+ * @property {boolean|null} [findingsTruncated] InspectResult findingsTruncated
+ */
+
+ /**
+ * Constructs a new InspectResult.
+ * @memberof google.privacy.dlp.v2
+ * @classdesc Represents an InspectResult.
+ * @implements IInspectResult
+ * @constructor
+ * @param {google.privacy.dlp.v2.IInspectResult=} [properties] Properties to set
+ */
+ function InspectResult(properties) {
+ this.findings = [];
+ 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]];
+ }
+
+ /**
+ * InspectResult findings.
+ * @member {Array.} findings
+ * @memberof google.privacy.dlp.v2.InspectResult
+ * @instance
+ */
+ InspectResult.prototype.findings = $util.emptyArray;
+
+ /**
+ * InspectResult findingsTruncated.
+ * @member {boolean} findingsTruncated
+ * @memberof google.privacy.dlp.v2.InspectResult
+ * @instance
+ */
+ InspectResult.prototype.findingsTruncated = false;
+
+ /**
+ * Creates a new InspectResult instance using the specified properties.
+ * @function create
+ * @memberof google.privacy.dlp.v2.InspectResult
+ * @static
+ * @param {google.privacy.dlp.v2.IInspectResult=} [properties] Properties to set
+ * @returns {google.privacy.dlp.v2.InspectResult} InspectResult instance
+ */
+ InspectResult.create = function create(properties) {
+ return new InspectResult(properties);
+ };
+
+ /**
+ * Encodes the specified InspectResult message. Does not implicitly {@link google.privacy.dlp.v2.InspectResult.verify|verify} messages.
+ * @function encode
+ * @memberof google.privacy.dlp.v2.InspectResult
+ * @static
+ * @param {google.privacy.dlp.v2.IInspectResult} message InspectResult message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ InspectResult.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.findings != null && message.findings.length)
+ for (var i = 0; i < message.findings.length; ++i)
+ $root.google.privacy.dlp.v2.Finding.encode(message.findings[i], writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
+ if (message.findingsTruncated != null && Object.hasOwnProperty.call(message, "findingsTruncated"))
+ writer.uint32(/* id 2, wireType 0 =*/16).bool(message.findingsTruncated);
+ return writer;
+ };
+
+ /**
+ * Encodes the specified InspectResult message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.InspectResult.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.privacy.dlp.v2.InspectResult
+ * @static
+ * @param {google.privacy.dlp.v2.IInspectResult} message InspectResult message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ InspectResult.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes an InspectResult message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.privacy.dlp.v2.InspectResult
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.privacy.dlp.v2.InspectResult} InspectResult
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ InspectResult.decode = function decode(reader, length, error) {
+ if (!(reader instanceof $Reader))
+ reader = $Reader.create(reader);
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.privacy.dlp.v2.InspectResult();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ if (tag === error)
+ break;
+ switch (tag >>> 3) {
+ case 1: {
+ if (!(message.findings && message.findings.length))
+ message.findings = [];
+ message.findings.push($root.google.privacy.dlp.v2.Finding.decode(reader, reader.uint32()));
+ break;
+ }
+ case 2: {
+ message.findingsTruncated = reader.bool();
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes an InspectResult message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.privacy.dlp.v2.InspectResult
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.privacy.dlp.v2.InspectResult} InspectResult
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ InspectResult.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies an InspectResult message.
+ * @function verify
+ * @memberof google.privacy.dlp.v2.InspectResult
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ InspectResult.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ if (message.findings != null && message.hasOwnProperty("findings")) {
+ if (!Array.isArray(message.findings))
+ return "findings: array expected";
+ for (var i = 0; i < message.findings.length; ++i) {
+ var error = $root.google.privacy.dlp.v2.Finding.verify(message.findings[i]);
+ if (error)
+ return "findings." + error;
+ }
+ }
+ if (message.findingsTruncated != null && message.hasOwnProperty("findingsTruncated"))
+ if (typeof message.findingsTruncated !== "boolean")
+ return "findingsTruncated: boolean expected";
+ return null;
+ };
+
+ /**
+ * Creates an InspectResult message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.privacy.dlp.v2.InspectResult
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.privacy.dlp.v2.InspectResult} InspectResult
+ */
+ InspectResult.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.privacy.dlp.v2.InspectResult)
+ return object;
+ var message = new $root.google.privacy.dlp.v2.InspectResult();
+ if (object.findings) {
+ if (!Array.isArray(object.findings))
+ throw TypeError(".google.privacy.dlp.v2.InspectResult.findings: array expected");
+ message.findings = [];
+ for (var i = 0; i < object.findings.length; ++i) {
+ if (typeof object.findings[i] !== "object")
+ throw TypeError(".google.privacy.dlp.v2.InspectResult.findings: object expected");
+ message.findings[i] = $root.google.privacy.dlp.v2.Finding.fromObject(object.findings[i]);
+ }
+ }
+ if (object.findingsTruncated != null)
+ message.findingsTruncated = Boolean(object.findingsTruncated);
+ return message;
+ };
+
+ /**
+ * Creates a plain object from an InspectResult message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.privacy.dlp.v2.InspectResult
+ * @static
+ * @param {google.privacy.dlp.v2.InspectResult} message InspectResult
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ InspectResult.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.arrays || options.defaults)
+ object.findings = [];
+ if (options.defaults)
+ object.findingsTruncated = false;
+ if (message.findings && message.findings.length) {
+ object.findings = [];
+ for (var j = 0; j < message.findings.length; ++j)
+ object.findings[j] = $root.google.privacy.dlp.v2.Finding.toObject(message.findings[j], options);
+ }
+ if (message.findingsTruncated != null && message.hasOwnProperty("findingsTruncated"))
+ object.findingsTruncated = message.findingsTruncated;
+ return object;
+ };
+
+ /**
+ * Converts this InspectResult to JSON.
+ * @function toJSON
+ * @memberof google.privacy.dlp.v2.InspectResult
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ InspectResult.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for InspectResult
+ * @function getTypeUrl
+ * @memberof google.privacy.dlp.v2.InspectResult
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ InspectResult.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.privacy.dlp.v2.InspectResult";
+ };
+
+ return InspectResult;
+ })();
+
+ v2.Finding = (function() {
+
+ /**
+ * Properties of a Finding.
+ * @memberof google.privacy.dlp.v2
+ * @interface IFinding
+ * @property {string|null} [name] Finding name
+ * @property {string|null} [quote] Finding quote
+ * @property {google.privacy.dlp.v2.IInfoType|null} [infoType] Finding infoType
+ * @property {google.privacy.dlp.v2.Likelihood|null} [likelihood] Finding likelihood
+ * @property {google.privacy.dlp.v2.ILocation|null} [location] Finding location
+ * @property {google.protobuf.ITimestamp|null} [createTime] Finding createTime
+ * @property {google.privacy.dlp.v2.IQuoteInfo|null} [quoteInfo] Finding quoteInfo
+ * @property {string|null} [resourceName] Finding resourceName
+ * @property {string|null} [triggerName] Finding triggerName
+ * @property {Object.|null} [labels] Finding labels
+ * @property {google.protobuf.ITimestamp|null} [jobCreateTime] Finding jobCreateTime
+ * @property {string|null} [jobName] Finding jobName
+ * @property {string|null} [findingId] Finding findingId
+ */
+
+ /**
+ * Constructs a new Finding.
+ * @memberof google.privacy.dlp.v2
+ * @classdesc Represents a Finding.
+ * @implements IFinding
+ * @constructor
+ * @param {google.privacy.dlp.v2.IFinding=} [properties] Properties to set
+ */
+ function Finding(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]];
+ }
+
+ /**
+ * Finding name.
+ * @member {string} name
+ * @memberof google.privacy.dlp.v2.Finding
+ * @instance
+ */
+ Finding.prototype.name = "";
+
+ /**
+ * Finding quote.
+ * @member {string} quote
+ * @memberof google.privacy.dlp.v2.Finding
+ * @instance
+ */
+ Finding.prototype.quote = "";
+
+ /**
+ * Finding infoType.
+ * @member {google.privacy.dlp.v2.IInfoType|null|undefined} infoType
+ * @memberof google.privacy.dlp.v2.Finding
+ * @instance
+ */
+ Finding.prototype.infoType = null;
+
+ /**
+ * Finding likelihood.
+ * @member {google.privacy.dlp.v2.Likelihood} likelihood
+ * @memberof google.privacy.dlp.v2.Finding
+ * @instance
+ */
+ Finding.prototype.likelihood = 0;
+
+ /**
+ * Finding location.
+ * @member {google.privacy.dlp.v2.ILocation|null|undefined} location
+ * @memberof google.privacy.dlp.v2.Finding
+ * @instance
+ */
+ Finding.prototype.location = null;
+
+ /**
+ * Finding createTime.
+ * @member {google.protobuf.ITimestamp|null|undefined} createTime
+ * @memberof google.privacy.dlp.v2.Finding
+ * @instance
+ */
+ Finding.prototype.createTime = null;
+
+ /**
+ * Finding quoteInfo.
+ * @member {google.privacy.dlp.v2.IQuoteInfo|null|undefined} quoteInfo
+ * @memberof google.privacy.dlp.v2.Finding
+ * @instance
+ */
+ Finding.prototype.quoteInfo = null;
+
+ /**
+ * Finding resourceName.
+ * @member {string} resourceName
+ * @memberof google.privacy.dlp.v2.Finding
+ * @instance
+ */
+ Finding.prototype.resourceName = "";
+
+ /**
+ * Finding triggerName.
+ * @member {string} triggerName
+ * @memberof google.privacy.dlp.v2.Finding
+ * @instance
+ */
+ Finding.prototype.triggerName = "";
+
+ /**
+ * Finding labels.
+ * @member {Object.} labels
+ * @memberof google.privacy.dlp.v2.Finding
+ * @instance
+ */
+ Finding.prototype.labels = $util.emptyObject;
+
+ /**
+ * Finding jobCreateTime.
+ * @member {google.protobuf.ITimestamp|null|undefined} jobCreateTime
+ * @memberof google.privacy.dlp.v2.Finding
+ * @instance
+ */
+ Finding.prototype.jobCreateTime = null;
+
+ /**
+ * Finding jobName.
+ * @member {string} jobName
+ * @memberof google.privacy.dlp.v2.Finding
+ * @instance
+ */
+ Finding.prototype.jobName = "";
+
+ /**
+ * Finding findingId.
+ * @member {string} findingId
+ * @memberof google.privacy.dlp.v2.Finding
+ * @instance
+ */
+ Finding.prototype.findingId = "";
+
+ /**
+ * Creates a new Finding instance using the specified properties.
+ * @function create
+ * @memberof google.privacy.dlp.v2.Finding
+ * @static
+ * @param {google.privacy.dlp.v2.IFinding=} [properties] Properties to set
+ * @returns {google.privacy.dlp.v2.Finding} Finding instance
+ */
+ Finding.create = function create(properties) {
+ return new Finding(properties);
+ };
+
+ /**
+ * Encodes the specified Finding message. Does not implicitly {@link google.privacy.dlp.v2.Finding.verify|verify} messages.
+ * @function encode
+ * @memberof google.privacy.dlp.v2.Finding
+ * @static
+ * @param {google.privacy.dlp.v2.IFinding} message Finding message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ Finding.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.quote != null && Object.hasOwnProperty.call(message, "quote"))
+ writer.uint32(/* id 1, wireType 2 =*/10).string(message.quote);
+ if (message.infoType != null && Object.hasOwnProperty.call(message, "infoType"))
+ $root.google.privacy.dlp.v2.InfoType.encode(message.infoType, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
+ if (message.likelihood != null && Object.hasOwnProperty.call(message, "likelihood"))
+ writer.uint32(/* id 3, wireType 0 =*/24).int32(message.likelihood);
+ if (message.location != null && Object.hasOwnProperty.call(message, "location"))
+ $root.google.privacy.dlp.v2.Location.encode(message.location, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim();
+ if (message.createTime != null && Object.hasOwnProperty.call(message, "createTime"))
+ $root.google.protobuf.Timestamp.encode(message.createTime, writer.uint32(/* id 6, wireType 2 =*/50).fork()).ldelim();
+ if (message.quoteInfo != null && Object.hasOwnProperty.call(message, "quoteInfo"))
+ $root.google.privacy.dlp.v2.QuoteInfo.encode(message.quoteInfo, writer.uint32(/* id 7, wireType 2 =*/58).fork()).ldelim();
+ if (message.resourceName != null && Object.hasOwnProperty.call(message, "resourceName"))
+ writer.uint32(/* id 8, wireType 2 =*/66).string(message.resourceName);
+ if (message.triggerName != null && Object.hasOwnProperty.call(message, "triggerName"))
+ writer.uint32(/* id 9, wireType 2 =*/74).string(message.triggerName);
+ 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 10, wireType 2 =*/82).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]).uint32(/* id 2, wireType 2 =*/18).string(message.labels[keys[i]]).ldelim();
+ if (message.jobCreateTime != null && Object.hasOwnProperty.call(message, "jobCreateTime"))
+ $root.google.protobuf.Timestamp.encode(message.jobCreateTime, writer.uint32(/* id 11, wireType 2 =*/90).fork()).ldelim();
+ if (message.jobName != null && Object.hasOwnProperty.call(message, "jobName"))
+ writer.uint32(/* id 13, wireType 2 =*/106).string(message.jobName);
+ if (message.name != null && Object.hasOwnProperty.call(message, "name"))
+ writer.uint32(/* id 14, wireType 2 =*/114).string(message.name);
+ if (message.findingId != null && Object.hasOwnProperty.call(message, "findingId"))
+ writer.uint32(/* id 15, wireType 2 =*/122).string(message.findingId);
+ return writer;
+ };
+
+ /**
+ * Encodes the specified Finding message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.Finding.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.privacy.dlp.v2.Finding
+ * @static
+ * @param {google.privacy.dlp.v2.IFinding} message Finding message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ Finding.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes a Finding message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.privacy.dlp.v2.Finding
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.privacy.dlp.v2.Finding} Finding
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ Finding.decode = function decode(reader, length, error) {
+ if (!(reader instanceof $Reader))
+ reader = $Reader.create(reader);
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.privacy.dlp.v2.Finding(), key, value;
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ if (tag === error)
+ break;
+ switch (tag >>> 3) {
+ case 14: {
+ message.name = reader.string();
+ break;
+ }
+ case 1: {
+ message.quote = reader.string();
+ break;
+ }
+ case 2: {
+ message.infoType = $root.google.privacy.dlp.v2.InfoType.decode(reader, reader.uint32());
+ break;
+ }
+ case 3: {
+ message.likelihood = reader.int32();
+ break;
+ }
+ case 4: {
+ message.location = $root.google.privacy.dlp.v2.Location.decode(reader, reader.uint32());
+ break;
+ }
+ case 6: {
+ message.createTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32());
+ break;
+ }
+ case 7: {
+ message.quoteInfo = $root.google.privacy.dlp.v2.QuoteInfo.decode(reader, reader.uint32());
+ break;
+ }
+ case 8: {
+ message.resourceName = reader.string();
+ break;
+ }
+ case 9: {
+ message.triggerName = reader.string();
+ break;
+ }
+ case 10: {
+ 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 11: {
+ message.jobCreateTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32());
+ break;
+ }
+ case 13: {
+ message.jobName = reader.string();
+ break;
+ }
+ case 15: {
+ message.findingId = reader.string();
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes a Finding message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.privacy.dlp.v2.Finding
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.privacy.dlp.v2.Finding} Finding
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ Finding.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies a Finding message.
+ * @function verify
+ * @memberof google.privacy.dlp.v2.Finding
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ Finding.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.quote != null && message.hasOwnProperty("quote"))
+ if (!$util.isString(message.quote))
+ return "quote: string expected";
+ if (message.infoType != null && message.hasOwnProperty("infoType")) {
+ var error = $root.google.privacy.dlp.v2.InfoType.verify(message.infoType);
+ if (error)
+ return "infoType." + error;
+ }
+ if (message.likelihood != null && message.hasOwnProperty("likelihood"))
+ switch (message.likelihood) {
+ default:
+ return "likelihood: enum value expected";
+ case 0:
+ case 1:
+ case 2:
+ case 3:
+ case 4:
+ case 5:
+ break;
+ }
+ if (message.location != null && message.hasOwnProperty("location")) {
+ var error = $root.google.privacy.dlp.v2.Location.verify(message.location);
+ if (error)
+ return "location." + error;
+ }
+ if (message.createTime != null && message.hasOwnProperty("createTime")) {
+ var error = $root.google.protobuf.Timestamp.verify(message.createTime);
+ if (error)
+ return "createTime." + error;
+ }
+ if (message.quoteInfo != null && message.hasOwnProperty("quoteInfo")) {
+ var error = $root.google.privacy.dlp.v2.QuoteInfo.verify(message.quoteInfo);
+ if (error)
+ return "quoteInfo." + error;
+ }
+ if (message.resourceName != null && message.hasOwnProperty("resourceName"))
+ if (!$util.isString(message.resourceName))
+ return "resourceName: string expected";
+ if (message.triggerName != null && message.hasOwnProperty("triggerName"))
+ if (!$util.isString(message.triggerName))
+ return "triggerName: string expected";
+ if (message.labels != null && message.hasOwnProperty("labels")) {
+ if (!$util.isObject(message.labels))
+ return "labels: object expected";
+ var key = Object.keys(message.labels);
+ for (var i = 0; i < key.length; ++i)
+ if (!$util.isString(message.labels[key[i]]))
+ return "labels: string{k:string} expected";
+ }
+ if (message.jobCreateTime != null && message.hasOwnProperty("jobCreateTime")) {
+ var error = $root.google.protobuf.Timestamp.verify(message.jobCreateTime);
+ if (error)
+ return "jobCreateTime." + error;
+ }
+ if (message.jobName != null && message.hasOwnProperty("jobName"))
+ if (!$util.isString(message.jobName))
+ return "jobName: string expected";
+ if (message.findingId != null && message.hasOwnProperty("findingId"))
+ if (!$util.isString(message.findingId))
+ return "findingId: string expected";
+ return null;
+ };
+
+ /**
+ * Creates a Finding message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.privacy.dlp.v2.Finding
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.privacy.dlp.v2.Finding} Finding
+ */
+ Finding.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.privacy.dlp.v2.Finding)
+ return object;
+ var message = new $root.google.privacy.dlp.v2.Finding();
+ if (object.name != null)
+ message.name = String(object.name);
+ if (object.quote != null)
+ message.quote = String(object.quote);
+ if (object.infoType != null) {
+ if (typeof object.infoType !== "object")
+ throw TypeError(".google.privacy.dlp.v2.Finding.infoType: object expected");
+ message.infoType = $root.google.privacy.dlp.v2.InfoType.fromObject(object.infoType);
+ }
+ switch (object.likelihood) {
+ default:
+ if (typeof object.likelihood === "number") {
+ message.likelihood = object.likelihood;
+ break;
+ }
+ break;
+ case "LIKELIHOOD_UNSPECIFIED":
+ case 0:
+ message.likelihood = 0;
+ break;
+ case "VERY_UNLIKELY":
+ case 1:
+ message.likelihood = 1;
+ break;
+ case "UNLIKELY":
+ case 2:
+ message.likelihood = 2;
+ break;
+ case "POSSIBLE":
+ case 3:
+ message.likelihood = 3;
+ break;
+ case "LIKELY":
+ case 4:
+ message.likelihood = 4;
+ break;
+ case "VERY_LIKELY":
+ case 5:
+ message.likelihood = 5;
+ break;
+ }
+ if (object.location != null) {
+ if (typeof object.location !== "object")
+ throw TypeError(".google.privacy.dlp.v2.Finding.location: object expected");
+ message.location = $root.google.privacy.dlp.v2.Location.fromObject(object.location);
+ }
+ if (object.createTime != null) {
+ if (typeof object.createTime !== "object")
+ throw TypeError(".google.privacy.dlp.v2.Finding.createTime: object expected");
+ message.createTime = $root.google.protobuf.Timestamp.fromObject(object.createTime);
+ }
+ if (object.quoteInfo != null) {
+ if (typeof object.quoteInfo !== "object")
+ throw TypeError(".google.privacy.dlp.v2.Finding.quoteInfo: object expected");
+ message.quoteInfo = $root.google.privacy.dlp.v2.QuoteInfo.fromObject(object.quoteInfo);
+ }
+ if (object.resourceName != null)
+ message.resourceName = String(object.resourceName);
+ if (object.triggerName != null)
+ message.triggerName = String(object.triggerName);
+ if (object.labels) {
+ if (typeof object.labels !== "object")
+ throw TypeError(".google.privacy.dlp.v2.Finding.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.jobCreateTime != null) {
+ if (typeof object.jobCreateTime !== "object")
+ throw TypeError(".google.privacy.dlp.v2.Finding.jobCreateTime: object expected");
+ message.jobCreateTime = $root.google.protobuf.Timestamp.fromObject(object.jobCreateTime);
+ }
+ if (object.jobName != null)
+ message.jobName = String(object.jobName);
+ if (object.findingId != null)
+ message.findingId = String(object.findingId);
+ return message;
+ };
+
+ /**
+ * Creates a plain object from a Finding message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.privacy.dlp.v2.Finding
+ * @static
+ * @param {google.privacy.dlp.v2.Finding} message Finding
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ Finding.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.objects || options.defaults)
+ object.labels = {};
+ if (options.defaults) {
+ object.quote = "";
+ object.infoType = null;
+ object.likelihood = options.enums === String ? "LIKELIHOOD_UNSPECIFIED" : 0;
+ object.location = null;
+ object.createTime = null;
+ object.quoteInfo = null;
+ object.resourceName = "";
+ object.triggerName = "";
+ object.jobCreateTime = null;
+ object.jobName = "";
+ object.name = "";
+ object.findingId = "";
+ }
+ if (message.quote != null && message.hasOwnProperty("quote"))
+ object.quote = message.quote;
+ if (message.infoType != null && message.hasOwnProperty("infoType"))
+ object.infoType = $root.google.privacy.dlp.v2.InfoType.toObject(message.infoType, options);
+ if (message.likelihood != null && message.hasOwnProperty("likelihood"))
+ object.likelihood = options.enums === String ? $root.google.privacy.dlp.v2.Likelihood[message.likelihood] === undefined ? message.likelihood : $root.google.privacy.dlp.v2.Likelihood[message.likelihood] : message.likelihood;
+ if (message.location != null && message.hasOwnProperty("location"))
+ object.location = $root.google.privacy.dlp.v2.Location.toObject(message.location, options);
+ if (message.createTime != null && message.hasOwnProperty("createTime"))
+ object.createTime = $root.google.protobuf.Timestamp.toObject(message.createTime, options);
+ if (message.quoteInfo != null && message.hasOwnProperty("quoteInfo"))
+ object.quoteInfo = $root.google.privacy.dlp.v2.QuoteInfo.toObject(message.quoteInfo, options);
+ if (message.resourceName != null && message.hasOwnProperty("resourceName"))
+ object.resourceName = message.resourceName;
+ if (message.triggerName != null && message.hasOwnProperty("triggerName"))
+ object.triggerName = message.triggerName;
+ 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.jobCreateTime != null && message.hasOwnProperty("jobCreateTime"))
+ object.jobCreateTime = $root.google.protobuf.Timestamp.toObject(message.jobCreateTime, options);
+ if (message.jobName != null && message.hasOwnProperty("jobName"))
+ object.jobName = message.jobName;
+ if (message.name != null && message.hasOwnProperty("name"))
+ object.name = message.name;
+ if (message.findingId != null && message.hasOwnProperty("findingId"))
+ object.findingId = message.findingId;
+ return object;
+ };
+
+ /**
+ * Converts this Finding to JSON.
+ * @function toJSON
+ * @memberof google.privacy.dlp.v2.Finding
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ Finding.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for Finding
+ * @function getTypeUrl
+ * @memberof google.privacy.dlp.v2.Finding
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ Finding.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.privacy.dlp.v2.Finding";
+ };
+
+ return Finding;
+ })();
+
+ v2.Location = (function() {
+
+ /**
+ * Properties of a Location.
+ * @memberof google.privacy.dlp.v2
+ * @interface ILocation
+ * @property {google.privacy.dlp.v2.IRange|null} [byteRange] Location byteRange
+ * @property {google.privacy.dlp.v2.IRange|null} [codepointRange] Location codepointRange
+ * @property {Array.|null} [contentLocations] Location contentLocations
+ * @property {google.privacy.dlp.v2.IContainer|null} [container] Location container
+ */
+
+ /**
+ * Constructs a new Location.
+ * @memberof google.privacy.dlp.v2
+ * @classdesc Represents a Location.
+ * @implements ILocation
+ * @constructor
+ * @param {google.privacy.dlp.v2.ILocation=} [properties] Properties to set
+ */
+ function Location(properties) {
+ this.contentLocations = [];
+ 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]];
+ }
+
+ /**
+ * Location byteRange.
+ * @member {google.privacy.dlp.v2.IRange|null|undefined} byteRange
+ * @memberof google.privacy.dlp.v2.Location
+ * @instance
+ */
+ Location.prototype.byteRange = null;
+
+ /**
+ * Location codepointRange.
+ * @member {google.privacy.dlp.v2.IRange|null|undefined} codepointRange
+ * @memberof google.privacy.dlp.v2.Location
+ * @instance
+ */
+ Location.prototype.codepointRange = null;
+
+ /**
+ * Location contentLocations.
+ * @member {Array.} contentLocations
+ * @memberof google.privacy.dlp.v2.Location
+ * @instance
+ */
+ Location.prototype.contentLocations = $util.emptyArray;
+
+ /**
+ * Location container.
+ * @member {google.privacy.dlp.v2.IContainer|null|undefined} container
+ * @memberof google.privacy.dlp.v2.Location
+ * @instance
+ */
+ Location.prototype.container = null;
+
+ /**
+ * Creates a new Location instance using the specified properties.
+ * @function create
+ * @memberof google.privacy.dlp.v2.Location
+ * @static
+ * @param {google.privacy.dlp.v2.ILocation=} [properties] Properties to set
+ * @returns {google.privacy.dlp.v2.Location} Location instance
+ */
+ Location.create = function create(properties) {
+ return new Location(properties);
+ };
+
+ /**
+ * Encodes the specified Location message. Does not implicitly {@link google.privacy.dlp.v2.Location.verify|verify} messages.
+ * @function encode
+ * @memberof google.privacy.dlp.v2.Location
+ * @static
+ * @param {google.privacy.dlp.v2.ILocation} message Location message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ Location.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.byteRange != null && Object.hasOwnProperty.call(message, "byteRange"))
+ $root.google.privacy.dlp.v2.Range.encode(message.byteRange, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
+ if (message.codepointRange != null && Object.hasOwnProperty.call(message, "codepointRange"))
+ $root.google.privacy.dlp.v2.Range.encode(message.codepointRange, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
+ if (message.contentLocations != null && message.contentLocations.length)
+ for (var i = 0; i < message.contentLocations.length; ++i)
+ $root.google.privacy.dlp.v2.ContentLocation.encode(message.contentLocations[i], writer.uint32(/* id 7, wireType 2 =*/58).fork()).ldelim();
+ if (message.container != null && Object.hasOwnProperty.call(message, "container"))
+ $root.google.privacy.dlp.v2.Container.encode(message.container, writer.uint32(/* id 8, wireType 2 =*/66).fork()).ldelim();
+ return writer;
+ };
+
+ /**
+ * Encodes the specified Location message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.Location.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.privacy.dlp.v2.Location
+ * @static
+ * @param {google.privacy.dlp.v2.ILocation} message Location message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ Location.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes a Location message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.privacy.dlp.v2.Location
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.privacy.dlp.v2.Location} Location
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ Location.decode = function decode(reader, length, error) {
+ if (!(reader instanceof $Reader))
+ reader = $Reader.create(reader);
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.privacy.dlp.v2.Location();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ if (tag === error)
+ break;
+ switch (tag >>> 3) {
+ case 1: {
+ message.byteRange = $root.google.privacy.dlp.v2.Range.decode(reader, reader.uint32());
+ break;
+ }
+ case 2: {
+ message.codepointRange = $root.google.privacy.dlp.v2.Range.decode(reader, reader.uint32());
+ break;
+ }
+ case 7: {
+ if (!(message.contentLocations && message.contentLocations.length))
+ message.contentLocations = [];
+ message.contentLocations.push($root.google.privacy.dlp.v2.ContentLocation.decode(reader, reader.uint32()));
+ break;
+ }
+ case 8: {
+ message.container = $root.google.privacy.dlp.v2.Container.decode(reader, reader.uint32());
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes a Location message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.privacy.dlp.v2.Location
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.privacy.dlp.v2.Location} Location
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ Location.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies a Location message.
+ * @function verify
+ * @memberof google.privacy.dlp.v2.Location
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ Location.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ if (message.byteRange != null && message.hasOwnProperty("byteRange")) {
+ var error = $root.google.privacy.dlp.v2.Range.verify(message.byteRange);
+ if (error)
+ return "byteRange." + error;
+ }
+ if (message.codepointRange != null && message.hasOwnProperty("codepointRange")) {
+ var error = $root.google.privacy.dlp.v2.Range.verify(message.codepointRange);
+ if (error)
+ return "codepointRange." + error;
+ }
+ if (message.contentLocations != null && message.hasOwnProperty("contentLocations")) {
+ if (!Array.isArray(message.contentLocations))
+ return "contentLocations: array expected";
+ for (var i = 0; i < message.contentLocations.length; ++i) {
+ var error = $root.google.privacy.dlp.v2.ContentLocation.verify(message.contentLocations[i]);
+ if (error)
+ return "contentLocations." + error;
+ }
+ }
+ if (message.container != null && message.hasOwnProperty("container")) {
+ var error = $root.google.privacy.dlp.v2.Container.verify(message.container);
+ if (error)
+ return "container." + error;
+ }
+ return null;
+ };
+
+ /**
+ * Creates a Location message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.privacy.dlp.v2.Location
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.privacy.dlp.v2.Location} Location
+ */
+ Location.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.privacy.dlp.v2.Location)
+ return object;
+ var message = new $root.google.privacy.dlp.v2.Location();
+ if (object.byteRange != null) {
+ if (typeof object.byteRange !== "object")
+ throw TypeError(".google.privacy.dlp.v2.Location.byteRange: object expected");
+ message.byteRange = $root.google.privacy.dlp.v2.Range.fromObject(object.byteRange);
+ }
+ if (object.codepointRange != null) {
+ if (typeof object.codepointRange !== "object")
+ throw TypeError(".google.privacy.dlp.v2.Location.codepointRange: object expected");
+ message.codepointRange = $root.google.privacy.dlp.v2.Range.fromObject(object.codepointRange);
+ }
+ if (object.contentLocations) {
+ if (!Array.isArray(object.contentLocations))
+ throw TypeError(".google.privacy.dlp.v2.Location.contentLocations: array expected");
+ message.contentLocations = [];
+ for (var i = 0; i < object.contentLocations.length; ++i) {
+ if (typeof object.contentLocations[i] !== "object")
+ throw TypeError(".google.privacy.dlp.v2.Location.contentLocations: object expected");
+ message.contentLocations[i] = $root.google.privacy.dlp.v2.ContentLocation.fromObject(object.contentLocations[i]);
+ }
+ }
+ if (object.container != null) {
+ if (typeof object.container !== "object")
+ throw TypeError(".google.privacy.dlp.v2.Location.container: object expected");
+ message.container = $root.google.privacy.dlp.v2.Container.fromObject(object.container);
+ }
+ return message;
+ };
+
+ /**
+ * Creates a plain object from a Location message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.privacy.dlp.v2.Location
+ * @static
+ * @param {google.privacy.dlp.v2.Location} message Location
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ Location.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.arrays || options.defaults)
+ object.contentLocations = [];
+ if (options.defaults) {
+ object.byteRange = null;
+ object.codepointRange = null;
+ object.container = null;
+ }
+ if (message.byteRange != null && message.hasOwnProperty("byteRange"))
+ object.byteRange = $root.google.privacy.dlp.v2.Range.toObject(message.byteRange, options);
+ if (message.codepointRange != null && message.hasOwnProperty("codepointRange"))
+ object.codepointRange = $root.google.privacy.dlp.v2.Range.toObject(message.codepointRange, options);
+ if (message.contentLocations && message.contentLocations.length) {
+ object.contentLocations = [];
+ for (var j = 0; j < message.contentLocations.length; ++j)
+ object.contentLocations[j] = $root.google.privacy.dlp.v2.ContentLocation.toObject(message.contentLocations[j], options);
+ }
+ if (message.container != null && message.hasOwnProperty("container"))
+ object.container = $root.google.privacy.dlp.v2.Container.toObject(message.container, options);
+ return object;
+ };
+
+ /**
+ * Converts this Location to JSON.
+ * @function toJSON
+ * @memberof google.privacy.dlp.v2.Location
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ Location.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for Location
+ * @function getTypeUrl
+ * @memberof google.privacy.dlp.v2.Location
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ Location.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.privacy.dlp.v2.Location";
+ };
+
+ return Location;
+ })();
+
+ v2.ContentLocation = (function() {
+
+ /**
+ * Properties of a ContentLocation.
+ * @memberof google.privacy.dlp.v2
+ * @interface IContentLocation
+ * @property {string|null} [containerName] ContentLocation containerName
+ * @property {google.privacy.dlp.v2.IRecordLocation|null} [recordLocation] ContentLocation recordLocation
+ * @property {google.privacy.dlp.v2.IImageLocation|null} [imageLocation] ContentLocation imageLocation
+ * @property {google.privacy.dlp.v2.IDocumentLocation|null} [documentLocation] ContentLocation documentLocation
+ * @property {google.privacy.dlp.v2.IMetadataLocation|null} [metadataLocation] ContentLocation metadataLocation
+ * @property {google.protobuf.ITimestamp|null} [containerTimestamp] ContentLocation containerTimestamp
+ * @property {string|null} [containerVersion] ContentLocation containerVersion
+ */
+
+ /**
+ * Constructs a new ContentLocation.
+ * @memberof google.privacy.dlp.v2
+ * @classdesc Represents a ContentLocation.
+ * @implements IContentLocation
+ * @constructor
+ * @param {google.privacy.dlp.v2.IContentLocation=} [properties] Properties to set
+ */
+ function ContentLocation(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]];
+ }
+
+ /**
+ * ContentLocation containerName.
+ * @member {string} containerName
+ * @memberof google.privacy.dlp.v2.ContentLocation
+ * @instance
+ */
+ ContentLocation.prototype.containerName = "";
+
+ /**
+ * ContentLocation recordLocation.
+ * @member {google.privacy.dlp.v2.IRecordLocation|null|undefined} recordLocation
+ * @memberof google.privacy.dlp.v2.ContentLocation
+ * @instance
+ */
+ ContentLocation.prototype.recordLocation = null;
+
+ /**
+ * ContentLocation imageLocation.
+ * @member {google.privacy.dlp.v2.IImageLocation|null|undefined} imageLocation
+ * @memberof google.privacy.dlp.v2.ContentLocation
+ * @instance
+ */
+ ContentLocation.prototype.imageLocation = null;
+
+ /**
+ * ContentLocation documentLocation.
+ * @member {google.privacy.dlp.v2.IDocumentLocation|null|undefined} documentLocation
+ * @memberof google.privacy.dlp.v2.ContentLocation
+ * @instance
+ */
+ ContentLocation.prototype.documentLocation = null;
+
+ /**
+ * ContentLocation metadataLocation.
+ * @member {google.privacy.dlp.v2.IMetadataLocation|null|undefined} metadataLocation
+ * @memberof google.privacy.dlp.v2.ContentLocation
+ * @instance
+ */
+ ContentLocation.prototype.metadataLocation = null;
+
+ /**
+ * ContentLocation containerTimestamp.
+ * @member {google.protobuf.ITimestamp|null|undefined} containerTimestamp
+ * @memberof google.privacy.dlp.v2.ContentLocation
+ * @instance
+ */
+ ContentLocation.prototype.containerTimestamp = null;
+
+ /**
+ * ContentLocation containerVersion.
+ * @member {string} containerVersion
+ * @memberof google.privacy.dlp.v2.ContentLocation
+ * @instance
+ */
+ ContentLocation.prototype.containerVersion = "";
+
+ // OneOf field names bound to virtual getters and setters
+ var $oneOfFields;
+
+ /**
+ * ContentLocation location.
+ * @member {"recordLocation"|"imageLocation"|"documentLocation"|"metadataLocation"|undefined} location
+ * @memberof google.privacy.dlp.v2.ContentLocation
+ * @instance
+ */
+ Object.defineProperty(ContentLocation.prototype, "location", {
+ get: $util.oneOfGetter($oneOfFields = ["recordLocation", "imageLocation", "documentLocation", "metadataLocation"]),
+ set: $util.oneOfSetter($oneOfFields)
+ });
+
+ /**
+ * Creates a new ContentLocation instance using the specified properties.
+ * @function create
+ * @memberof google.privacy.dlp.v2.ContentLocation
+ * @static
+ * @param {google.privacy.dlp.v2.IContentLocation=} [properties] Properties to set
+ * @returns {google.privacy.dlp.v2.ContentLocation} ContentLocation instance
+ */
+ ContentLocation.create = function create(properties) {
+ return new ContentLocation(properties);
+ };
+
+ /**
+ * Encodes the specified ContentLocation message. Does not implicitly {@link google.privacy.dlp.v2.ContentLocation.verify|verify} messages.
+ * @function encode
+ * @memberof google.privacy.dlp.v2.ContentLocation
+ * @static
+ * @param {google.privacy.dlp.v2.IContentLocation} message ContentLocation message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ ContentLocation.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.containerName != null && Object.hasOwnProperty.call(message, "containerName"))
+ writer.uint32(/* id 1, wireType 2 =*/10).string(message.containerName);
+ if (message.recordLocation != null && Object.hasOwnProperty.call(message, "recordLocation"))
+ $root.google.privacy.dlp.v2.RecordLocation.encode(message.recordLocation, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
+ if (message.imageLocation != null && Object.hasOwnProperty.call(message, "imageLocation"))
+ $root.google.privacy.dlp.v2.ImageLocation.encode(message.imageLocation, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim();
+ if (message.documentLocation != null && Object.hasOwnProperty.call(message, "documentLocation"))
+ $root.google.privacy.dlp.v2.DocumentLocation.encode(message.documentLocation, writer.uint32(/* id 5, wireType 2 =*/42).fork()).ldelim();
+ if (message.containerTimestamp != null && Object.hasOwnProperty.call(message, "containerTimestamp"))
+ $root.google.protobuf.Timestamp.encode(message.containerTimestamp, writer.uint32(/* id 6, wireType 2 =*/50).fork()).ldelim();
+ if (message.containerVersion != null && Object.hasOwnProperty.call(message, "containerVersion"))
+ writer.uint32(/* id 7, wireType 2 =*/58).string(message.containerVersion);
+ if (message.metadataLocation != null && Object.hasOwnProperty.call(message, "metadataLocation"))
+ $root.google.privacy.dlp.v2.MetadataLocation.encode(message.metadataLocation, writer.uint32(/* id 8, wireType 2 =*/66).fork()).ldelim();
+ return writer;
+ };
+
+ /**
+ * Encodes the specified ContentLocation message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.ContentLocation.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.privacy.dlp.v2.ContentLocation
+ * @static
+ * @param {google.privacy.dlp.v2.IContentLocation} message ContentLocation message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ ContentLocation.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes a ContentLocation message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.privacy.dlp.v2.ContentLocation
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.privacy.dlp.v2.ContentLocation} ContentLocation
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ ContentLocation.decode = function decode(reader, length, error) {
+ if (!(reader instanceof $Reader))
+ reader = $Reader.create(reader);
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.privacy.dlp.v2.ContentLocation();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ if (tag === error)
+ break;
+ switch (tag >>> 3) {
+ case 1: {
+ message.containerName = reader.string();
+ break;
+ }
+ case 2: {
+ message.recordLocation = $root.google.privacy.dlp.v2.RecordLocation.decode(reader, reader.uint32());
+ break;
+ }
+ case 3: {
+ message.imageLocation = $root.google.privacy.dlp.v2.ImageLocation.decode(reader, reader.uint32());
+ break;
+ }
+ case 5: {
+ message.documentLocation = $root.google.privacy.dlp.v2.DocumentLocation.decode(reader, reader.uint32());
+ break;
+ }
+ case 8: {
+ message.metadataLocation = $root.google.privacy.dlp.v2.MetadataLocation.decode(reader, reader.uint32());
+ break;
+ }
+ case 6: {
+ message.containerTimestamp = $root.google.protobuf.Timestamp.decode(reader, reader.uint32());
+ break;
+ }
+ case 7: {
+ message.containerVersion = reader.string();
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes a ContentLocation message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.privacy.dlp.v2.ContentLocation
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.privacy.dlp.v2.ContentLocation} ContentLocation
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ ContentLocation.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies a ContentLocation message.
+ * @function verify
+ * @memberof google.privacy.dlp.v2.ContentLocation
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ ContentLocation.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ var properties = {};
+ if (message.containerName != null && message.hasOwnProperty("containerName"))
+ if (!$util.isString(message.containerName))
+ return "containerName: string expected";
+ if (message.recordLocation != null && message.hasOwnProperty("recordLocation")) {
+ properties.location = 1;
+ {
+ var error = $root.google.privacy.dlp.v2.RecordLocation.verify(message.recordLocation);
+ if (error)
+ return "recordLocation." + error;
+ }
+ }
+ if (message.imageLocation != null && message.hasOwnProperty("imageLocation")) {
+ if (properties.location === 1)
+ return "location: multiple values";
+ properties.location = 1;
+ {
+ var error = $root.google.privacy.dlp.v2.ImageLocation.verify(message.imageLocation);
+ if (error)
+ return "imageLocation." + error;
+ }
+ }
+ if (message.documentLocation != null && message.hasOwnProperty("documentLocation")) {
+ if (properties.location === 1)
+ return "location: multiple values";
+ properties.location = 1;
+ {
+ var error = $root.google.privacy.dlp.v2.DocumentLocation.verify(message.documentLocation);
+ if (error)
+ return "documentLocation." + error;
+ }
+ }
+ if (message.metadataLocation != null && message.hasOwnProperty("metadataLocation")) {
+ if (properties.location === 1)
+ return "location: multiple values";
+ properties.location = 1;
+ {
+ var error = $root.google.privacy.dlp.v2.MetadataLocation.verify(message.metadataLocation);
+ if (error)
+ return "metadataLocation." + error;
+ }
+ }
+ if (message.containerTimestamp != null && message.hasOwnProperty("containerTimestamp")) {
+ var error = $root.google.protobuf.Timestamp.verify(message.containerTimestamp);
+ if (error)
+ return "containerTimestamp." + error;
+ }
+ if (message.containerVersion != null && message.hasOwnProperty("containerVersion"))
+ if (!$util.isString(message.containerVersion))
+ return "containerVersion: string expected";
+ return null;
+ };
+
+ /**
+ * Creates a ContentLocation message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.privacy.dlp.v2.ContentLocation
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.privacy.dlp.v2.ContentLocation} ContentLocation
+ */
+ ContentLocation.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.privacy.dlp.v2.ContentLocation)
+ return object;
+ var message = new $root.google.privacy.dlp.v2.ContentLocation();
+ if (object.containerName != null)
+ message.containerName = String(object.containerName);
+ if (object.recordLocation != null) {
+ if (typeof object.recordLocation !== "object")
+ throw TypeError(".google.privacy.dlp.v2.ContentLocation.recordLocation: object expected");
+ message.recordLocation = $root.google.privacy.dlp.v2.RecordLocation.fromObject(object.recordLocation);
+ }
+ if (object.imageLocation != null) {
+ if (typeof object.imageLocation !== "object")
+ throw TypeError(".google.privacy.dlp.v2.ContentLocation.imageLocation: object expected");
+ message.imageLocation = $root.google.privacy.dlp.v2.ImageLocation.fromObject(object.imageLocation);
+ }
+ if (object.documentLocation != null) {
+ if (typeof object.documentLocation !== "object")
+ throw TypeError(".google.privacy.dlp.v2.ContentLocation.documentLocation: object expected");
+ message.documentLocation = $root.google.privacy.dlp.v2.DocumentLocation.fromObject(object.documentLocation);
+ }
+ if (object.metadataLocation != null) {
+ if (typeof object.metadataLocation !== "object")
+ throw TypeError(".google.privacy.dlp.v2.ContentLocation.metadataLocation: object expected");
+ message.metadataLocation = $root.google.privacy.dlp.v2.MetadataLocation.fromObject(object.metadataLocation);
+ }
+ if (object.containerTimestamp != null) {
+ if (typeof object.containerTimestamp !== "object")
+ throw TypeError(".google.privacy.dlp.v2.ContentLocation.containerTimestamp: object expected");
+ message.containerTimestamp = $root.google.protobuf.Timestamp.fromObject(object.containerTimestamp);
+ }
+ if (object.containerVersion != null)
+ message.containerVersion = String(object.containerVersion);
+ return message;
+ };
+
+ /**
+ * Creates a plain object from a ContentLocation message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.privacy.dlp.v2.ContentLocation
+ * @static
+ * @param {google.privacy.dlp.v2.ContentLocation} message ContentLocation
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ ContentLocation.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.defaults) {
+ object.containerName = "";
+ object.containerTimestamp = null;
+ object.containerVersion = "";
+ }
+ if (message.containerName != null && message.hasOwnProperty("containerName"))
+ object.containerName = message.containerName;
+ if (message.recordLocation != null && message.hasOwnProperty("recordLocation")) {
+ object.recordLocation = $root.google.privacy.dlp.v2.RecordLocation.toObject(message.recordLocation, options);
+ if (options.oneofs)
+ object.location = "recordLocation";
+ }
+ if (message.imageLocation != null && message.hasOwnProperty("imageLocation")) {
+ object.imageLocation = $root.google.privacy.dlp.v2.ImageLocation.toObject(message.imageLocation, options);
+ if (options.oneofs)
+ object.location = "imageLocation";
+ }
+ if (message.documentLocation != null && message.hasOwnProperty("documentLocation")) {
+ object.documentLocation = $root.google.privacy.dlp.v2.DocumentLocation.toObject(message.documentLocation, options);
+ if (options.oneofs)
+ object.location = "documentLocation";
+ }
+ if (message.containerTimestamp != null && message.hasOwnProperty("containerTimestamp"))
+ object.containerTimestamp = $root.google.protobuf.Timestamp.toObject(message.containerTimestamp, options);
+ if (message.containerVersion != null && message.hasOwnProperty("containerVersion"))
+ object.containerVersion = message.containerVersion;
+ if (message.metadataLocation != null && message.hasOwnProperty("metadataLocation")) {
+ object.metadataLocation = $root.google.privacy.dlp.v2.MetadataLocation.toObject(message.metadataLocation, options);
+ if (options.oneofs)
+ object.location = "metadataLocation";
+ }
+ return object;
+ };
+
+ /**
+ * Converts this ContentLocation to JSON.
+ * @function toJSON
+ * @memberof google.privacy.dlp.v2.ContentLocation
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ ContentLocation.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for ContentLocation
+ * @function getTypeUrl
+ * @memberof google.privacy.dlp.v2.ContentLocation
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ ContentLocation.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.privacy.dlp.v2.ContentLocation";
+ };
+
+ return ContentLocation;
+ })();
+
+ v2.MetadataLocation = (function() {
+
+ /**
+ * Properties of a MetadataLocation.
+ * @memberof google.privacy.dlp.v2
+ * @interface IMetadataLocation
+ * @property {google.privacy.dlp.v2.MetadataType|null} [type] MetadataLocation type
+ * @property {google.privacy.dlp.v2.IStorageMetadataLabel|null} [storageLabel] MetadataLocation storageLabel
+ */
+
+ /**
+ * Constructs a new MetadataLocation.
+ * @memberof google.privacy.dlp.v2
+ * @classdesc Represents a MetadataLocation.
+ * @implements IMetadataLocation
+ * @constructor
+ * @param {google.privacy.dlp.v2.IMetadataLocation=} [properties] Properties to set
+ */
+ function MetadataLocation(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]];
+ }
+
+ /**
+ * MetadataLocation type.
+ * @member {google.privacy.dlp.v2.MetadataType} type
+ * @memberof google.privacy.dlp.v2.MetadataLocation
+ * @instance
+ */
+ MetadataLocation.prototype.type = 0;
+
+ /**
+ * MetadataLocation storageLabel.
+ * @member {google.privacy.dlp.v2.IStorageMetadataLabel|null|undefined} storageLabel
+ * @memberof google.privacy.dlp.v2.MetadataLocation
+ * @instance
+ */
+ MetadataLocation.prototype.storageLabel = null;
+
+ // OneOf field names bound to virtual getters and setters
+ var $oneOfFields;
+
+ /**
+ * MetadataLocation label.
+ * @member {"storageLabel"|undefined} label
+ * @memberof google.privacy.dlp.v2.MetadataLocation
+ * @instance
+ */
+ Object.defineProperty(MetadataLocation.prototype, "label", {
+ get: $util.oneOfGetter($oneOfFields = ["storageLabel"]),
+ set: $util.oneOfSetter($oneOfFields)
+ });
+
+ /**
+ * Creates a new MetadataLocation instance using the specified properties.
+ * @function create
+ * @memberof google.privacy.dlp.v2.MetadataLocation
+ * @static
+ * @param {google.privacy.dlp.v2.IMetadataLocation=} [properties] Properties to set
+ * @returns {google.privacy.dlp.v2.MetadataLocation} MetadataLocation instance
+ */
+ MetadataLocation.create = function create(properties) {
+ return new MetadataLocation(properties);
+ };
+
+ /**
+ * Encodes the specified MetadataLocation message. Does not implicitly {@link google.privacy.dlp.v2.MetadataLocation.verify|verify} messages.
+ * @function encode
+ * @memberof google.privacy.dlp.v2.MetadataLocation
+ * @static
+ * @param {google.privacy.dlp.v2.IMetadataLocation} message MetadataLocation message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ MetadataLocation.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.type != null && Object.hasOwnProperty.call(message, "type"))
+ writer.uint32(/* id 1, wireType 0 =*/8).int32(message.type);
+ if (message.storageLabel != null && Object.hasOwnProperty.call(message, "storageLabel"))
+ $root.google.privacy.dlp.v2.StorageMetadataLabel.encode(message.storageLabel, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim();
+ return writer;
+ };
+
+ /**
+ * Encodes the specified MetadataLocation message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.MetadataLocation.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.privacy.dlp.v2.MetadataLocation
+ * @static
+ * @param {google.privacy.dlp.v2.IMetadataLocation} message MetadataLocation message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ MetadataLocation.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes a MetadataLocation message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.privacy.dlp.v2.MetadataLocation
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.privacy.dlp.v2.MetadataLocation} MetadataLocation
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ MetadataLocation.decode = function decode(reader, length, error) {
+ if (!(reader instanceof $Reader))
+ reader = $Reader.create(reader);
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.privacy.dlp.v2.MetadataLocation();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ if (tag === error)
+ break;
+ switch (tag >>> 3) {
+ case 1: {
+ message.type = reader.int32();
+ break;
+ }
+ case 3: {
+ message.storageLabel = $root.google.privacy.dlp.v2.StorageMetadataLabel.decode(reader, reader.uint32());
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes a MetadataLocation message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.privacy.dlp.v2.MetadataLocation
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.privacy.dlp.v2.MetadataLocation} MetadataLocation
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ MetadataLocation.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies a MetadataLocation message.
+ * @function verify
+ * @memberof google.privacy.dlp.v2.MetadataLocation
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ MetadataLocation.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ var properties = {};
+ if (message.type != null && message.hasOwnProperty("type"))
+ switch (message.type) {
+ default:
+ return "type: enum value expected";
+ case 0:
+ case 2:
+ break;
+ }
+ if (message.storageLabel != null && message.hasOwnProperty("storageLabel")) {
+ properties.label = 1;
+ {
+ var error = $root.google.privacy.dlp.v2.StorageMetadataLabel.verify(message.storageLabel);
+ if (error)
+ return "storageLabel." + error;
+ }
+ }
+ return null;
+ };
+
+ /**
+ * Creates a MetadataLocation message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.privacy.dlp.v2.MetadataLocation
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.privacy.dlp.v2.MetadataLocation} MetadataLocation
+ */
+ MetadataLocation.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.privacy.dlp.v2.MetadataLocation)
+ return object;
+ var message = new $root.google.privacy.dlp.v2.MetadataLocation();
+ switch (object.type) {
+ default:
+ if (typeof object.type === "number") {
+ message.type = object.type;
+ break;
+ }
+ break;
+ case "METADATATYPE_UNSPECIFIED":
+ case 0:
+ message.type = 0;
+ break;
+ case "STORAGE_METADATA":
+ case 2:
+ message.type = 2;
+ break;
+ }
+ if (object.storageLabel != null) {
+ if (typeof object.storageLabel !== "object")
+ throw TypeError(".google.privacy.dlp.v2.MetadataLocation.storageLabel: object expected");
+ message.storageLabel = $root.google.privacy.dlp.v2.StorageMetadataLabel.fromObject(object.storageLabel);
+ }
+ return message;
+ };
+
+ /**
+ * Creates a plain object from a MetadataLocation message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.privacy.dlp.v2.MetadataLocation
+ * @static
+ * @param {google.privacy.dlp.v2.MetadataLocation} message MetadataLocation
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ MetadataLocation.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.defaults)
+ object.type = options.enums === String ? "METADATATYPE_UNSPECIFIED" : 0;
+ if (message.type != null && message.hasOwnProperty("type"))
+ object.type = options.enums === String ? $root.google.privacy.dlp.v2.MetadataType[message.type] === undefined ? message.type : $root.google.privacy.dlp.v2.MetadataType[message.type] : message.type;
+ if (message.storageLabel != null && message.hasOwnProperty("storageLabel")) {
+ object.storageLabel = $root.google.privacy.dlp.v2.StorageMetadataLabel.toObject(message.storageLabel, options);
+ if (options.oneofs)
+ object.label = "storageLabel";
+ }
+ return object;
+ };
+
+ /**
+ * Converts this MetadataLocation to JSON.
+ * @function toJSON
+ * @memberof google.privacy.dlp.v2.MetadataLocation
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ MetadataLocation.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for MetadataLocation
+ * @function getTypeUrl
+ * @memberof google.privacy.dlp.v2.MetadataLocation
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ MetadataLocation.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.privacy.dlp.v2.MetadataLocation";
+ };
+
+ return MetadataLocation;
+ })();
+
+ v2.StorageMetadataLabel = (function() {
+
+ /**
+ * Properties of a StorageMetadataLabel.
+ * @memberof google.privacy.dlp.v2
+ * @interface IStorageMetadataLabel
+ * @property {string|null} [key] StorageMetadataLabel key
+ */
+
+ /**
+ * Constructs a new StorageMetadataLabel.
+ * @memberof google.privacy.dlp.v2
+ * @classdesc Represents a StorageMetadataLabel.
+ * @implements IStorageMetadataLabel
+ * @constructor
+ * @param {google.privacy.dlp.v2.IStorageMetadataLabel=} [properties] Properties to set
+ */
+ function StorageMetadataLabel(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]];
+ }
+
+ /**
+ * StorageMetadataLabel key.
+ * @member {string} key
+ * @memberof google.privacy.dlp.v2.StorageMetadataLabel
+ * @instance
+ */
+ StorageMetadataLabel.prototype.key = "";
+
+ /**
+ * Creates a new StorageMetadataLabel instance using the specified properties.
+ * @function create
+ * @memberof google.privacy.dlp.v2.StorageMetadataLabel
+ * @static
+ * @param {google.privacy.dlp.v2.IStorageMetadataLabel=} [properties] Properties to set
+ * @returns {google.privacy.dlp.v2.StorageMetadataLabel} StorageMetadataLabel instance
+ */
+ StorageMetadataLabel.create = function create(properties) {
+ return new StorageMetadataLabel(properties);
+ };
+
+ /**
+ * Encodes the specified StorageMetadataLabel message. Does not implicitly {@link google.privacy.dlp.v2.StorageMetadataLabel.verify|verify} messages.
+ * @function encode
+ * @memberof google.privacy.dlp.v2.StorageMetadataLabel
+ * @static
+ * @param {google.privacy.dlp.v2.IStorageMetadataLabel} message StorageMetadataLabel message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ StorageMetadataLabel.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.key != null && Object.hasOwnProperty.call(message, "key"))
+ writer.uint32(/* id 1, wireType 2 =*/10).string(message.key);
+ return writer;
+ };
+
+ /**
+ * Encodes the specified StorageMetadataLabel message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.StorageMetadataLabel.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.privacy.dlp.v2.StorageMetadataLabel
+ * @static
+ * @param {google.privacy.dlp.v2.IStorageMetadataLabel} message StorageMetadataLabel message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ StorageMetadataLabel.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes a StorageMetadataLabel message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.privacy.dlp.v2.StorageMetadataLabel
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.privacy.dlp.v2.StorageMetadataLabel} StorageMetadataLabel
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ StorageMetadataLabel.decode = function decode(reader, length, error) {
+ if (!(reader instanceof $Reader))
+ reader = $Reader.create(reader);
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.privacy.dlp.v2.StorageMetadataLabel();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ if (tag === error)
+ break;
+ switch (tag >>> 3) {
+ case 1: {
+ message.key = reader.string();
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes a StorageMetadataLabel message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.privacy.dlp.v2.StorageMetadataLabel
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.privacy.dlp.v2.StorageMetadataLabel} StorageMetadataLabel
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ StorageMetadataLabel.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies a StorageMetadataLabel message.
+ * @function verify
+ * @memberof google.privacy.dlp.v2.StorageMetadataLabel
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ StorageMetadataLabel.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ if (message.key != null && message.hasOwnProperty("key"))
+ if (!$util.isString(message.key))
+ return "key: string expected";
+ return null;
+ };
+
+ /**
+ * Creates a StorageMetadataLabel message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.privacy.dlp.v2.StorageMetadataLabel
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.privacy.dlp.v2.StorageMetadataLabel} StorageMetadataLabel
+ */
+ StorageMetadataLabel.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.privacy.dlp.v2.StorageMetadataLabel)
+ return object;
+ var message = new $root.google.privacy.dlp.v2.StorageMetadataLabel();
+ if (object.key != null)
+ message.key = String(object.key);
+ return message;
+ };
+
+ /**
+ * Creates a plain object from a StorageMetadataLabel message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.privacy.dlp.v2.StorageMetadataLabel
+ * @static
+ * @param {google.privacy.dlp.v2.StorageMetadataLabel} message StorageMetadataLabel
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ StorageMetadataLabel.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.defaults)
+ object.key = "";
+ if (message.key != null && message.hasOwnProperty("key"))
+ object.key = message.key;
+ return object;
+ };
+
+ /**
+ * Converts this StorageMetadataLabel to JSON.
+ * @function toJSON
+ * @memberof google.privacy.dlp.v2.StorageMetadataLabel
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ StorageMetadataLabel.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for StorageMetadataLabel
+ * @function getTypeUrl
+ * @memberof google.privacy.dlp.v2.StorageMetadataLabel
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ StorageMetadataLabel.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.privacy.dlp.v2.StorageMetadataLabel";
+ };
+
+ return StorageMetadataLabel;
+ })();
+
+ v2.DocumentLocation = (function() {
+
+ /**
+ * Properties of a DocumentLocation.
+ * @memberof google.privacy.dlp.v2
+ * @interface IDocumentLocation
+ * @property {number|Long|null} [fileOffset] DocumentLocation fileOffset
+ */
+
+ /**
+ * Constructs a new DocumentLocation.
+ * @memberof google.privacy.dlp.v2
+ * @classdesc Represents a DocumentLocation.
+ * @implements IDocumentLocation
+ * @constructor
+ * @param {google.privacy.dlp.v2.IDocumentLocation=} [properties] Properties to set
+ */
+ function DocumentLocation(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]];
+ }
+
+ /**
+ * DocumentLocation fileOffset.
+ * @member {number|Long} fileOffset
+ * @memberof google.privacy.dlp.v2.DocumentLocation
+ * @instance
+ */
+ DocumentLocation.prototype.fileOffset = $util.Long ? $util.Long.fromBits(0,0,false) : 0;
+
+ /**
+ * Creates a new DocumentLocation instance using the specified properties.
+ * @function create
+ * @memberof google.privacy.dlp.v2.DocumentLocation
+ * @static
+ * @param {google.privacy.dlp.v2.IDocumentLocation=} [properties] Properties to set
+ * @returns {google.privacy.dlp.v2.DocumentLocation} DocumentLocation instance
+ */
+ DocumentLocation.create = function create(properties) {
+ return new DocumentLocation(properties);
+ };
+
+ /**
+ * Encodes the specified DocumentLocation message. Does not implicitly {@link google.privacy.dlp.v2.DocumentLocation.verify|verify} messages.
+ * @function encode
+ * @memberof google.privacy.dlp.v2.DocumentLocation
+ * @static
+ * @param {google.privacy.dlp.v2.IDocumentLocation} message DocumentLocation message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ DocumentLocation.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.fileOffset != null && Object.hasOwnProperty.call(message, "fileOffset"))
+ writer.uint32(/* id 1, wireType 0 =*/8).int64(message.fileOffset);
+ return writer;
+ };
+
+ /**
+ * Encodes the specified DocumentLocation message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.DocumentLocation.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.privacy.dlp.v2.DocumentLocation
+ * @static
+ * @param {google.privacy.dlp.v2.IDocumentLocation} message DocumentLocation message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ DocumentLocation.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes a DocumentLocation message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.privacy.dlp.v2.DocumentLocation
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.privacy.dlp.v2.DocumentLocation} DocumentLocation
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ DocumentLocation.decode = function decode(reader, length, error) {
+ if (!(reader instanceof $Reader))
+ reader = $Reader.create(reader);
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.privacy.dlp.v2.DocumentLocation();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ if (tag === error)
+ break;
+ switch (tag >>> 3) {
+ case 1: {
+ message.fileOffset = reader.int64();
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes a DocumentLocation message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.privacy.dlp.v2.DocumentLocation
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.privacy.dlp.v2.DocumentLocation} DocumentLocation
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ DocumentLocation.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies a DocumentLocation message.
+ * @function verify
+ * @memberof google.privacy.dlp.v2.DocumentLocation
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ DocumentLocation.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ if (message.fileOffset != null && message.hasOwnProperty("fileOffset"))
+ if (!$util.isInteger(message.fileOffset) && !(message.fileOffset && $util.isInteger(message.fileOffset.low) && $util.isInteger(message.fileOffset.high)))
+ return "fileOffset: integer|Long expected";
+ return null;
+ };
+
+ /**
+ * Creates a DocumentLocation message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.privacy.dlp.v2.DocumentLocation
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.privacy.dlp.v2.DocumentLocation} DocumentLocation
+ */
+ DocumentLocation.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.privacy.dlp.v2.DocumentLocation)
+ return object;
+ var message = new $root.google.privacy.dlp.v2.DocumentLocation();
+ if (object.fileOffset != null)
+ if ($util.Long)
+ (message.fileOffset = $util.Long.fromValue(object.fileOffset)).unsigned = false;
+ else if (typeof object.fileOffset === "string")
+ message.fileOffset = parseInt(object.fileOffset, 10);
+ else if (typeof object.fileOffset === "number")
+ message.fileOffset = object.fileOffset;
+ else if (typeof object.fileOffset === "object")
+ message.fileOffset = new $util.LongBits(object.fileOffset.low >>> 0, object.fileOffset.high >>> 0).toNumber();
+ return message;
+ };
+
+ /**
+ * Creates a plain object from a DocumentLocation message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.privacy.dlp.v2.DocumentLocation
+ * @static
+ * @param {google.privacy.dlp.v2.DocumentLocation} message DocumentLocation
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ DocumentLocation.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.fileOffset = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
+ } else
+ object.fileOffset = options.longs === String ? "0" : 0;
+ if (message.fileOffset != null && message.hasOwnProperty("fileOffset"))
+ if (typeof message.fileOffset === "number")
+ object.fileOffset = options.longs === String ? String(message.fileOffset) : message.fileOffset;
+ else
+ object.fileOffset = options.longs === String ? $util.Long.prototype.toString.call(message.fileOffset) : options.longs === Number ? new $util.LongBits(message.fileOffset.low >>> 0, message.fileOffset.high >>> 0).toNumber() : message.fileOffset;
+ return object;
+ };
+
+ /**
+ * Converts this DocumentLocation to JSON.
+ * @function toJSON
+ * @memberof google.privacy.dlp.v2.DocumentLocation
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ DocumentLocation.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for DocumentLocation
+ * @function getTypeUrl
+ * @memberof google.privacy.dlp.v2.DocumentLocation
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ DocumentLocation.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.privacy.dlp.v2.DocumentLocation";
+ };
+
+ return DocumentLocation;
+ })();
+
+ v2.RecordLocation = (function() {
+
+ /**
+ * Properties of a RecordLocation.
+ * @memberof google.privacy.dlp.v2
+ * @interface IRecordLocation
+ * @property {google.privacy.dlp.v2.IRecordKey|null} [recordKey] RecordLocation recordKey
+ * @property {google.privacy.dlp.v2.IFieldId|null} [fieldId] RecordLocation fieldId
+ * @property {google.privacy.dlp.v2.ITableLocation|null} [tableLocation] RecordLocation tableLocation
+ */
+
+ /**
+ * Constructs a new RecordLocation.
+ * @memberof google.privacy.dlp.v2
+ * @classdesc Represents a RecordLocation.
+ * @implements IRecordLocation
+ * @constructor
+ * @param {google.privacy.dlp.v2.IRecordLocation=} [properties] Properties to set
+ */
+ function RecordLocation(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]];
+ }
+
+ /**
+ * RecordLocation recordKey.
+ * @member {google.privacy.dlp.v2.IRecordKey|null|undefined} recordKey
+ * @memberof google.privacy.dlp.v2.RecordLocation
+ * @instance
+ */
+ RecordLocation.prototype.recordKey = null;
+
+ /**
+ * RecordLocation fieldId.
+ * @member {google.privacy.dlp.v2.IFieldId|null|undefined} fieldId
+ * @memberof google.privacy.dlp.v2.RecordLocation
+ * @instance
+ */
+ RecordLocation.prototype.fieldId = null;
+
+ /**
+ * RecordLocation tableLocation.
+ * @member {google.privacy.dlp.v2.ITableLocation|null|undefined} tableLocation
+ * @memberof google.privacy.dlp.v2.RecordLocation
+ * @instance
+ */
+ RecordLocation.prototype.tableLocation = null;
+
+ /**
+ * Creates a new RecordLocation instance using the specified properties.
+ * @function create
+ * @memberof google.privacy.dlp.v2.RecordLocation
+ * @static
+ * @param {google.privacy.dlp.v2.IRecordLocation=} [properties] Properties to set
+ * @returns {google.privacy.dlp.v2.RecordLocation} RecordLocation instance
+ */
+ RecordLocation.create = function create(properties) {
+ return new RecordLocation(properties);
+ };
+
+ /**
+ * Encodes the specified RecordLocation message. Does not implicitly {@link google.privacy.dlp.v2.RecordLocation.verify|verify} messages.
+ * @function encode
+ * @memberof google.privacy.dlp.v2.RecordLocation
+ * @static
+ * @param {google.privacy.dlp.v2.IRecordLocation} message RecordLocation message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ RecordLocation.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.recordKey != null && Object.hasOwnProperty.call(message, "recordKey"))
+ $root.google.privacy.dlp.v2.RecordKey.encode(message.recordKey, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
+ if (message.fieldId != null && Object.hasOwnProperty.call(message, "fieldId"))
+ $root.google.privacy.dlp.v2.FieldId.encode(message.fieldId, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
+ if (message.tableLocation != null && Object.hasOwnProperty.call(message, "tableLocation"))
+ $root.google.privacy.dlp.v2.TableLocation.encode(message.tableLocation, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim();
+ return writer;
+ };
+
+ /**
+ * Encodes the specified RecordLocation message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.RecordLocation.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.privacy.dlp.v2.RecordLocation
+ * @static
+ * @param {google.privacy.dlp.v2.IRecordLocation} message RecordLocation message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ RecordLocation.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes a RecordLocation message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.privacy.dlp.v2.RecordLocation
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.privacy.dlp.v2.RecordLocation} RecordLocation
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ RecordLocation.decode = function decode(reader, length, error) {
+ if (!(reader instanceof $Reader))
+ reader = $Reader.create(reader);
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.privacy.dlp.v2.RecordLocation();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ if (tag === error)
+ break;
+ switch (tag >>> 3) {
+ case 1: {
+ message.recordKey = $root.google.privacy.dlp.v2.RecordKey.decode(reader, reader.uint32());
+ break;
+ }
+ case 2: {
+ message.fieldId = $root.google.privacy.dlp.v2.FieldId.decode(reader, reader.uint32());
+ break;
+ }
+ case 3: {
+ message.tableLocation = $root.google.privacy.dlp.v2.TableLocation.decode(reader, reader.uint32());
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes a RecordLocation message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.privacy.dlp.v2.RecordLocation
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.privacy.dlp.v2.RecordLocation} RecordLocation
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ RecordLocation.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies a RecordLocation message.
+ * @function verify
+ * @memberof google.privacy.dlp.v2.RecordLocation
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ RecordLocation.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ if (message.recordKey != null && message.hasOwnProperty("recordKey")) {
+ var error = $root.google.privacy.dlp.v2.RecordKey.verify(message.recordKey);
+ if (error)
+ return "recordKey." + error;
+ }
+ if (message.fieldId != null && message.hasOwnProperty("fieldId")) {
+ var error = $root.google.privacy.dlp.v2.FieldId.verify(message.fieldId);
+ if (error)
+ return "fieldId." + error;
+ }
+ if (message.tableLocation != null && message.hasOwnProperty("tableLocation")) {
+ var error = $root.google.privacy.dlp.v2.TableLocation.verify(message.tableLocation);
+ if (error)
+ return "tableLocation." + error;
+ }
+ return null;
+ };
+
+ /**
+ * Creates a RecordLocation message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.privacy.dlp.v2.RecordLocation
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.privacy.dlp.v2.RecordLocation} RecordLocation
+ */
+ RecordLocation.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.privacy.dlp.v2.RecordLocation)
+ return object;
+ var message = new $root.google.privacy.dlp.v2.RecordLocation();
+ if (object.recordKey != null) {
+ if (typeof object.recordKey !== "object")
+ throw TypeError(".google.privacy.dlp.v2.RecordLocation.recordKey: object expected");
+ message.recordKey = $root.google.privacy.dlp.v2.RecordKey.fromObject(object.recordKey);
+ }
+ if (object.fieldId != null) {
+ if (typeof object.fieldId !== "object")
+ throw TypeError(".google.privacy.dlp.v2.RecordLocation.fieldId: object expected");
+ message.fieldId = $root.google.privacy.dlp.v2.FieldId.fromObject(object.fieldId);
+ }
+ if (object.tableLocation != null) {
+ if (typeof object.tableLocation !== "object")
+ throw TypeError(".google.privacy.dlp.v2.RecordLocation.tableLocation: object expected");
+ message.tableLocation = $root.google.privacy.dlp.v2.TableLocation.fromObject(object.tableLocation);
+ }
+ return message;
+ };
+
+ /**
+ * Creates a plain object from a RecordLocation message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.privacy.dlp.v2.RecordLocation
+ * @static
+ * @param {google.privacy.dlp.v2.RecordLocation} message RecordLocation
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ RecordLocation.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.defaults) {
+ object.recordKey = null;
+ object.fieldId = null;
+ object.tableLocation = null;
+ }
+ if (message.recordKey != null && message.hasOwnProperty("recordKey"))
+ object.recordKey = $root.google.privacy.dlp.v2.RecordKey.toObject(message.recordKey, options);
+ if (message.fieldId != null && message.hasOwnProperty("fieldId"))
+ object.fieldId = $root.google.privacy.dlp.v2.FieldId.toObject(message.fieldId, options);
+ if (message.tableLocation != null && message.hasOwnProperty("tableLocation"))
+ object.tableLocation = $root.google.privacy.dlp.v2.TableLocation.toObject(message.tableLocation, options);
+ return object;
+ };
+
+ /**
+ * Converts this RecordLocation to JSON.
+ * @function toJSON
+ * @memberof google.privacy.dlp.v2.RecordLocation
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ RecordLocation.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for RecordLocation
+ * @function getTypeUrl
+ * @memberof google.privacy.dlp.v2.RecordLocation
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ RecordLocation.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.privacy.dlp.v2.RecordLocation";
+ };
+
+ return RecordLocation;
+ })();
+
+ v2.TableLocation = (function() {
+
+ /**
+ * Properties of a TableLocation.
+ * @memberof google.privacy.dlp.v2
+ * @interface ITableLocation
+ * @property {number|Long|null} [rowIndex] TableLocation rowIndex
+ */
+
+ /**
+ * Constructs a new TableLocation.
+ * @memberof google.privacy.dlp.v2
+ * @classdesc Represents a TableLocation.
+ * @implements ITableLocation
+ * @constructor
+ * @param {google.privacy.dlp.v2.ITableLocation=} [properties] Properties to set
+ */
+ function TableLocation(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]];
+ }
+
+ /**
+ * TableLocation rowIndex.
+ * @member {number|Long} rowIndex
+ * @memberof google.privacy.dlp.v2.TableLocation
+ * @instance
+ */
+ TableLocation.prototype.rowIndex = $util.Long ? $util.Long.fromBits(0,0,false) : 0;
+
+ /**
+ * Creates a new TableLocation instance using the specified properties.
+ * @function create
+ * @memberof google.privacy.dlp.v2.TableLocation
+ * @static
+ * @param {google.privacy.dlp.v2.ITableLocation=} [properties] Properties to set
+ * @returns {google.privacy.dlp.v2.TableLocation} TableLocation instance
+ */
+ TableLocation.create = function create(properties) {
+ return new TableLocation(properties);
+ };
+
+ /**
+ * Encodes the specified TableLocation message. Does not implicitly {@link google.privacy.dlp.v2.TableLocation.verify|verify} messages.
+ * @function encode
+ * @memberof google.privacy.dlp.v2.TableLocation
+ * @static
+ * @param {google.privacy.dlp.v2.ITableLocation} message TableLocation message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ TableLocation.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.rowIndex != null && Object.hasOwnProperty.call(message, "rowIndex"))
+ writer.uint32(/* id 1, wireType 0 =*/8).int64(message.rowIndex);
+ return writer;
+ };
+
+ /**
+ * Encodes the specified TableLocation message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.TableLocation.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.privacy.dlp.v2.TableLocation
+ * @static
+ * @param {google.privacy.dlp.v2.ITableLocation} message TableLocation message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ TableLocation.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes a TableLocation message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.privacy.dlp.v2.TableLocation
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.privacy.dlp.v2.TableLocation} TableLocation
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ TableLocation.decode = function decode(reader, length, error) {
+ if (!(reader instanceof $Reader))
+ reader = $Reader.create(reader);
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.privacy.dlp.v2.TableLocation();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ if (tag === error)
+ break;
+ switch (tag >>> 3) {
+ case 1: {
+ message.rowIndex = reader.int64();
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes a TableLocation message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.privacy.dlp.v2.TableLocation
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.privacy.dlp.v2.TableLocation} TableLocation
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ TableLocation.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies a TableLocation message.
+ * @function verify
+ * @memberof google.privacy.dlp.v2.TableLocation
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ TableLocation.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ if (message.rowIndex != null && message.hasOwnProperty("rowIndex"))
+ if (!$util.isInteger(message.rowIndex) && !(message.rowIndex && $util.isInteger(message.rowIndex.low) && $util.isInteger(message.rowIndex.high)))
+ return "rowIndex: integer|Long expected";
+ return null;
+ };
+
+ /**
+ * Creates a TableLocation message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.privacy.dlp.v2.TableLocation
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.privacy.dlp.v2.TableLocation} TableLocation
+ */
+ TableLocation.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.privacy.dlp.v2.TableLocation)
+ return object;
+ var message = new $root.google.privacy.dlp.v2.TableLocation();
+ if (object.rowIndex != null)
+ if ($util.Long)
+ (message.rowIndex = $util.Long.fromValue(object.rowIndex)).unsigned = false;
+ else if (typeof object.rowIndex === "string")
+ message.rowIndex = parseInt(object.rowIndex, 10);
+ else if (typeof object.rowIndex === "number")
+ message.rowIndex = object.rowIndex;
+ else if (typeof object.rowIndex === "object")
+ message.rowIndex = new $util.LongBits(object.rowIndex.low >>> 0, object.rowIndex.high >>> 0).toNumber();
+ return message;
+ };
+
+ /**
+ * Creates a plain object from a TableLocation message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.privacy.dlp.v2.TableLocation
+ * @static
+ * @param {google.privacy.dlp.v2.TableLocation} message TableLocation
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ TableLocation.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.rowIndex = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
+ } else
+ object.rowIndex = options.longs === String ? "0" : 0;
+ if (message.rowIndex != null && message.hasOwnProperty("rowIndex"))
+ if (typeof message.rowIndex === "number")
+ object.rowIndex = options.longs === String ? String(message.rowIndex) : message.rowIndex;
+ else
+ object.rowIndex = options.longs === String ? $util.Long.prototype.toString.call(message.rowIndex) : options.longs === Number ? new $util.LongBits(message.rowIndex.low >>> 0, message.rowIndex.high >>> 0).toNumber() : message.rowIndex;
+ return object;
+ };
+
+ /**
+ * Converts this TableLocation to JSON.
+ * @function toJSON
+ * @memberof google.privacy.dlp.v2.TableLocation
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ TableLocation.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for TableLocation
+ * @function getTypeUrl
+ * @memberof google.privacy.dlp.v2.TableLocation
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ TableLocation.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.privacy.dlp.v2.TableLocation";
+ };
+
+ return TableLocation;
+ })();
+
+ v2.Container = (function() {
+
+ /**
+ * Properties of a Container.
+ * @memberof google.privacy.dlp.v2
+ * @interface IContainer
+ * @property {string|null} [type] Container type
+ * @property {string|null} [projectId] Container projectId
+ * @property {string|null} [fullPath] Container fullPath
+ * @property {string|null} [rootPath] Container rootPath
+ * @property {string|null} [relativePath] Container relativePath
+ * @property {google.protobuf.ITimestamp|null} [updateTime] Container updateTime
+ * @property {string|null} [version] Container version
+ */
+
+ /**
+ * Constructs a new Container.
+ * @memberof google.privacy.dlp.v2
+ * @classdesc Represents a Container.
+ * @implements IContainer
+ * @constructor
+ * @param {google.privacy.dlp.v2.IContainer=} [properties] Properties to set
+ */
+ function Container(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]];
+ }
+
+ /**
+ * Container type.
+ * @member {string} type
+ * @memberof google.privacy.dlp.v2.Container
+ * @instance
+ */
+ Container.prototype.type = "";
+
+ /**
+ * Container projectId.
+ * @member {string} projectId
+ * @memberof google.privacy.dlp.v2.Container
+ * @instance
+ */
+ Container.prototype.projectId = "";
+
+ /**
+ * Container fullPath.
+ * @member {string} fullPath
+ * @memberof google.privacy.dlp.v2.Container
+ * @instance
+ */
+ Container.prototype.fullPath = "";
+
+ /**
+ * Container rootPath.
+ * @member {string} rootPath
+ * @memberof google.privacy.dlp.v2.Container
+ * @instance
+ */
+ Container.prototype.rootPath = "";
+
+ /**
+ * Container relativePath.
+ * @member {string} relativePath
+ * @memberof google.privacy.dlp.v2.Container
+ * @instance
+ */
+ Container.prototype.relativePath = "";
+
+ /**
+ * Container updateTime.
+ * @member {google.protobuf.ITimestamp|null|undefined} updateTime
+ * @memberof google.privacy.dlp.v2.Container
+ * @instance
+ */
+ Container.prototype.updateTime = null;
+
+ /**
+ * Container version.
+ * @member {string} version
+ * @memberof google.privacy.dlp.v2.Container
+ * @instance
+ */
+ Container.prototype.version = "";
+
+ /**
+ * Creates a new Container instance using the specified properties.
+ * @function create
+ * @memberof google.privacy.dlp.v2.Container
+ * @static
+ * @param {google.privacy.dlp.v2.IContainer=} [properties] Properties to set
+ * @returns {google.privacy.dlp.v2.Container} Container instance
+ */
+ Container.create = function create(properties) {
+ return new Container(properties);
+ };
+
+ /**
+ * Encodes the specified Container message. Does not implicitly {@link google.privacy.dlp.v2.Container.verify|verify} messages.
+ * @function encode
+ * @memberof google.privacy.dlp.v2.Container
+ * @static
+ * @param {google.privacy.dlp.v2.IContainer} message Container message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ Container.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.type != null && Object.hasOwnProperty.call(message, "type"))
+ writer.uint32(/* id 1, wireType 2 =*/10).string(message.type);
+ if (message.projectId != null && Object.hasOwnProperty.call(message, "projectId"))
+ writer.uint32(/* id 2, wireType 2 =*/18).string(message.projectId);
+ if (message.fullPath != null && Object.hasOwnProperty.call(message, "fullPath"))
+ writer.uint32(/* id 3, wireType 2 =*/26).string(message.fullPath);
+ if (message.rootPath != null && Object.hasOwnProperty.call(message, "rootPath"))
+ writer.uint32(/* id 4, wireType 2 =*/34).string(message.rootPath);
+ if (message.relativePath != null && Object.hasOwnProperty.call(message, "relativePath"))
+ writer.uint32(/* id 5, wireType 2 =*/42).string(message.relativePath);
+ if (message.updateTime != null && Object.hasOwnProperty.call(message, "updateTime"))
+ $root.google.protobuf.Timestamp.encode(message.updateTime, writer.uint32(/* id 6, wireType 2 =*/50).fork()).ldelim();
+ if (message.version != null && Object.hasOwnProperty.call(message, "version"))
+ writer.uint32(/* id 7, wireType 2 =*/58).string(message.version);
+ return writer;
+ };
+
+ /**
+ * Encodes the specified Container message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.Container.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.privacy.dlp.v2.Container
+ * @static
+ * @param {google.privacy.dlp.v2.IContainer} message Container message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ Container.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes a Container message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.privacy.dlp.v2.Container
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.privacy.dlp.v2.Container} Container
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ Container.decode = function decode(reader, length, error) {
+ if (!(reader instanceof $Reader))
+ reader = $Reader.create(reader);
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.privacy.dlp.v2.Container();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ if (tag === error)
+ break;
+ switch (tag >>> 3) {
+ case 1: {
+ message.type = reader.string();
+ break;
+ }
+ case 2: {
+ message.projectId = reader.string();
+ break;
+ }
+ case 3: {
+ message.fullPath = reader.string();
+ break;
+ }
+ case 4: {
+ message.rootPath = reader.string();
+ break;
+ }
+ case 5: {
+ message.relativePath = reader.string();
+ break;
+ }
+ case 6: {
+ message.updateTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32());
+ break;
+ }
+ case 7: {
+ message.version = reader.string();
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes a Container message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.privacy.dlp.v2.Container
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.privacy.dlp.v2.Container} Container
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ Container.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies a Container message.
+ * @function verify
+ * @memberof google.privacy.dlp.v2.Container
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ Container.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ if (message.type != null && message.hasOwnProperty("type"))
+ if (!$util.isString(message.type))
+ return "type: string expected";
+ if (message.projectId != null && message.hasOwnProperty("projectId"))
+ if (!$util.isString(message.projectId))
+ return "projectId: string expected";
+ if (message.fullPath != null && message.hasOwnProperty("fullPath"))
+ if (!$util.isString(message.fullPath))
+ return "fullPath: string expected";
+ if (message.rootPath != null && message.hasOwnProperty("rootPath"))
+ if (!$util.isString(message.rootPath))
+ return "rootPath: string expected";
+ if (message.relativePath != null && message.hasOwnProperty("relativePath"))
+ if (!$util.isString(message.relativePath))
+ return "relativePath: 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.version != null && message.hasOwnProperty("version"))
+ if (!$util.isString(message.version))
+ return "version: string expected";
+ return null;
+ };
+
+ /**
+ * Creates a Container message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.privacy.dlp.v2.Container
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.privacy.dlp.v2.Container} Container
+ */
+ Container.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.privacy.dlp.v2.Container)
+ return object;
+ var message = new $root.google.privacy.dlp.v2.Container();
+ if (object.type != null)
+ message.type = String(object.type);
+ if (object.projectId != null)
+ message.projectId = String(object.projectId);
+ if (object.fullPath != null)
+ message.fullPath = String(object.fullPath);
+ if (object.rootPath != null)
+ message.rootPath = String(object.rootPath);
+ if (object.relativePath != null)
+ message.relativePath = String(object.relativePath);
+ if (object.updateTime != null) {
+ if (typeof object.updateTime !== "object")
+ throw TypeError(".google.privacy.dlp.v2.Container.updateTime: object expected");
+ message.updateTime = $root.google.protobuf.Timestamp.fromObject(object.updateTime);
+ }
+ if (object.version != null)
+ message.version = String(object.version);
+ return message;
+ };
+
+ /**
+ * Creates a plain object from a Container message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.privacy.dlp.v2.Container
+ * @static
+ * @param {google.privacy.dlp.v2.Container} message Container
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ Container.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.defaults) {
+ object.type = "";
+ object.projectId = "";
+ object.fullPath = "";
+ object.rootPath = "";
+ object.relativePath = "";
+ object.updateTime = null;
+ object.version = "";
+ }
+ if (message.type != null && message.hasOwnProperty("type"))
+ object.type = message.type;
+ if (message.projectId != null && message.hasOwnProperty("projectId"))
+ object.projectId = message.projectId;
+ if (message.fullPath != null && message.hasOwnProperty("fullPath"))
+ object.fullPath = message.fullPath;
+ if (message.rootPath != null && message.hasOwnProperty("rootPath"))
+ object.rootPath = message.rootPath;
+ if (message.relativePath != null && message.hasOwnProperty("relativePath"))
+ object.relativePath = message.relativePath;
+ if (message.updateTime != null && message.hasOwnProperty("updateTime"))
+ object.updateTime = $root.google.protobuf.Timestamp.toObject(message.updateTime, options);
+ if (message.version != null && message.hasOwnProperty("version"))
+ object.version = message.version;
+ return object;
+ };
+
+ /**
+ * Converts this Container to JSON.
+ * @function toJSON
+ * @memberof google.privacy.dlp.v2.Container
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ Container.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for Container
+ * @function getTypeUrl
+ * @memberof google.privacy.dlp.v2.Container
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ Container.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.privacy.dlp.v2.Container";
+ };
+
+ return Container;
+ })();
+
+ v2.Range = (function() {
+
+ /**
+ * Properties of a Range.
+ * @memberof google.privacy.dlp.v2
+ * @interface IRange
+ * @property {number|Long|null} [start] Range start
+ * @property {number|Long|null} [end] Range end
+ */
+
+ /**
+ * Constructs a new Range.
+ * @memberof google.privacy.dlp.v2
+ * @classdesc Represents a Range.
+ * @implements IRange
+ * @constructor
+ * @param {google.privacy.dlp.v2.IRange=} [properties] Properties to set
+ */
+ function Range(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]];
+ }
+
+ /**
+ * Range start.
+ * @member {number|Long} start
+ * @memberof google.privacy.dlp.v2.Range
+ * @instance
+ */
+ Range.prototype.start = $util.Long ? $util.Long.fromBits(0,0,false) : 0;
+
+ /**
+ * Range end.
+ * @member {number|Long} end
+ * @memberof google.privacy.dlp.v2.Range
+ * @instance
+ */
+ Range.prototype.end = $util.Long ? $util.Long.fromBits(0,0,false) : 0;
+
+ /**
+ * Creates a new Range instance using the specified properties.
+ * @function create
+ * @memberof google.privacy.dlp.v2.Range
+ * @static
+ * @param {google.privacy.dlp.v2.IRange=} [properties] Properties to set
+ * @returns {google.privacy.dlp.v2.Range} Range instance
+ */
+ Range.create = function create(properties) {
+ return new Range(properties);
+ };
+
+ /**
+ * Encodes the specified Range message. Does not implicitly {@link google.privacy.dlp.v2.Range.verify|verify} messages.
+ * @function encode
+ * @memberof google.privacy.dlp.v2.Range
+ * @static
+ * @param {google.privacy.dlp.v2.IRange} message Range message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ Range.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.start != null && Object.hasOwnProperty.call(message, "start"))
+ writer.uint32(/* id 1, wireType 0 =*/8).int64(message.start);
+ if (message.end != null && Object.hasOwnProperty.call(message, "end"))
+ writer.uint32(/* id 2, wireType 0 =*/16).int64(message.end);
+ return writer;
+ };
+
+ /**
+ * Encodes the specified Range message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.Range.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.privacy.dlp.v2.Range
+ * @static
+ * @param {google.privacy.dlp.v2.IRange} message Range message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ Range.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes a Range message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.privacy.dlp.v2.Range
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.privacy.dlp.v2.Range} Range
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ Range.decode = function decode(reader, length, error) {
+ if (!(reader instanceof $Reader))
+ reader = $Reader.create(reader);
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.privacy.dlp.v2.Range();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ if (tag === error)
+ break;
+ switch (tag >>> 3) {
+ case 1: {
+ message.start = reader.int64();
+ break;
+ }
+ case 2: {
+ message.end = reader.int64();
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes a Range message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.privacy.dlp.v2.Range
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.privacy.dlp.v2.Range} Range
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ Range.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies a Range message.
+ * @function verify
+ * @memberof google.privacy.dlp.v2.Range
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ Range.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ if (message.start != null && message.hasOwnProperty("start"))
+ if (!$util.isInteger(message.start) && !(message.start && $util.isInteger(message.start.low) && $util.isInteger(message.start.high)))
+ return "start: integer|Long expected";
+ if (message.end != null && message.hasOwnProperty("end"))
+ if (!$util.isInteger(message.end) && !(message.end && $util.isInteger(message.end.low) && $util.isInteger(message.end.high)))
+ return "end: integer|Long expected";
+ return null;
+ };
+
+ /**
+ * Creates a Range message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.privacy.dlp.v2.Range
+ * @static
+ * @param {Object.