diff --git a/.release-please-manifest.json b/.release-please-manifest.json
index edc69536e19..29239ed8a10 100644
--- a/.release-please-manifest.json
+++ b/.release-please-manifest.json
@@ -3,11 +3,11 @@
"packages/google-analytics-admin": "4.3.0",
"packages/google-analytics-data": "3.1.1",
"packages/google-api-apikeys": "0.1.3",
- "packages/google-area120-tables": "2.1.2",
"packages/google-api-servicecontrol": "2.0.3",
"packages/google-api-servicemanagement": "1.1.3",
"packages/google-api-serviceusage": "2.1.2",
"packages/google-appengine": "2.1.2",
+ "packages/google-area120-tables": "2.1.2",
"packages/google-cloud-accessapproval": "2.1.2",
"packages/google-cloud-apigateway": "2.1.2",
"packages/google-cloud-apigeeconnect": "2.1.3",
@@ -36,6 +36,7 @@
"packages/google-cloud-compute": "3.6.0",
"packages/google-cloud-contactcenterinsights": "2.1.2",
"packages/google-cloud-contentwarehouse": "0.1.2",
+ "packages/google-cloud-datacatalog": "3.1.1",
"packages/google-cloud-datafusion": "2.1.2",
"packages/google-cloud-datalabeling": "3.1.1",
"packages/google-cloud-dataplex": "2.2.2",
@@ -94,8 +95,8 @@
"packages/google-cloud-securitycenter": "7.0.0",
"packages/google-cloud-servicedirectory": "4.0.4",
"packages/google-cloud-shell": "2.0.4",
- "packages/google-cloud-tasks": "3.0.5",
"packages/google-cloud-talent": "5.0.1",
+ "packages/google-cloud-tasks": "3.0.5",
"packages/google-cloud-texttospeech": "4.0.4",
"packages/google-cloud-tpu": "2.2.0",
"packages/google-cloud-translate": "7.0.4",
diff --git a/packages/google-cloud-datacatalog/.OwlBot.yaml b/packages/google-cloud-datacatalog/.OwlBot.yaml
new file mode 100644
index 00000000000..6af08f99f1a
--- /dev/null
+++ b/packages/google-cloud-datacatalog/.OwlBot.yaml
@@ -0,0 +1,24 @@
+# Copyright 2021 Google LLC
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+
+deep-remove-regex:
+ - /owl-bot-staging
+
+deep-copy-regex:
+ - source: /google/cloud/datacatalog/(v.*)/.*-nodejs
+ dest: /owl-bot-staging/google-cloud-datacatalog/$1
+
+begin-after-commit-hash: eebcfa346c9963da765cd71722c40e04dc3621dd
+
diff --git a/packages/google-cloud-datacatalog/.eslintignore b/packages/google-cloud-datacatalog/.eslintignore
new file mode 100644
index 00000000000..ea5b04aebe6
--- /dev/null
+++ b/packages/google-cloud-datacatalog/.eslintignore
@@ -0,0 +1,7 @@
+**/node_modules
+**/coverage
+test/fixtures
+build/
+docs/
+protos/
+samples/generated/
diff --git a/packages/google-cloud-datacatalog/.eslintrc.json b/packages/google-cloud-datacatalog/.eslintrc.json
new file mode 100644
index 00000000000..78215349546
--- /dev/null
+++ b/packages/google-cloud-datacatalog/.eslintrc.json
@@ -0,0 +1,3 @@
+{
+ "extends": "./node_modules/gts"
+}
diff --git a/packages/google-cloud-datacatalog/.gitattributes b/packages/google-cloud-datacatalog/.gitattributes
new file mode 100644
index 00000000000..33739cb74e4
--- /dev/null
+++ b/packages/google-cloud-datacatalog/.gitattributes
@@ -0,0 +1,4 @@
+*.ts text eol=lf
+*.js text eol=lf
+protos/* linguist-generated
+**/api-extractor.json linguist-language=JSON-with-Comments
diff --git a/packages/google-cloud-datacatalog/.gitignore b/packages/google-cloud-datacatalog/.gitignore
new file mode 100644
index 00000000000..5d32b23782f
--- /dev/null
+++ b/packages/google-cloud-datacatalog/.gitignore
@@ -0,0 +1,14 @@
+**/*.log
+**/node_modules
+.coverage
+coverage
+.nyc_output
+docs/
+out/
+build/
+system-test/secrets.js
+system-test/*key.json
+*.lock
+.DS_Store
+package-lock.json
+__pycache__
diff --git a/packages/google-cloud-datacatalog/.jsdoc.js b/packages/google-cloud-datacatalog/.jsdoc.js
new file mode 100644
index 00000000000..72a81217cc3
--- /dev/null
+++ b/packages/google-cloud-datacatalog/.jsdoc.js
@@ -0,0 +1,55 @@
+// Copyright 2022 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// https://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+// ** This file is automatically generated by gapic-generator-typescript. **
+// ** https://github.com/googleapis/gapic-generator-typescript **
+// ** All changes to this file may be overwritten. **
+
+'use strict';
+
+module.exports = {
+ opts: {
+ readme: './README.md',
+ package: './package.json',
+ template: './node_modules/jsdoc-fresh',
+ recurse: true,
+ verbose: true,
+ destination: './docs/'
+ },
+ plugins: [
+ 'plugins/markdown',
+ 'jsdoc-region-tag'
+ ],
+ source: {
+ excludePattern: '(^|\\/|\\\\)[._]',
+ include: [
+ 'build/src',
+ 'protos'
+ ],
+ includePattern: '\\.js$'
+ },
+ templates: {
+ copyright: 'Copyright 2022 Google LLC',
+ includeDate: false,
+ sourceFiles: false,
+ systemName: '@google-cloud/datacatalog',
+ theme: 'lumen',
+ default: {
+ outputSourceFiles: false
+ }
+ },
+ markdown: {
+ idInHeadings: true
+ }
+};
diff --git a/packages/google-cloud-datacatalog/.mocharc.js b/packages/google-cloud-datacatalog/.mocharc.js
new file mode 100644
index 00000000000..cdb7b752160
--- /dev/null
+++ b/packages/google-cloud-datacatalog/.mocharc.js
@@ -0,0 +1,29 @@
+// Copyright 2022 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+const config = {
+ "enable-source-maps": true,
+ "throw-deprecation": true,
+ "timeout": 10000,
+ "recursive": true
+}
+if (process.env.MOCHA_THROW_DEPRECATION === 'false') {
+ delete config['throw-deprecation'];
+}
+if (process.env.MOCHA_REPORTER) {
+ config.reporter = process.env.MOCHA_REPORTER;
+}
+if (process.env.MOCHA_REPORTER_OUTPUT) {
+ config['reporter-option'] = `output=${process.env.MOCHA_REPORTER_OUTPUT}`;
+}
+module.exports = config
diff --git a/packages/google-cloud-datacatalog/.mocharc.json b/packages/google-cloud-datacatalog/.mocharc.json
new file mode 100644
index 00000000000..670c5e2c24b
--- /dev/null
+++ b/packages/google-cloud-datacatalog/.mocharc.json
@@ -0,0 +1,5 @@
+{
+ "enable-source-maps": true,
+ "throw-deprecation": true,
+ "timeout": 10000
+}
diff --git a/packages/google-cloud-datacatalog/.nycrc b/packages/google-cloud-datacatalog/.nycrc
new file mode 100644
index 00000000000..b18d5472b62
--- /dev/null
+++ b/packages/google-cloud-datacatalog/.nycrc
@@ -0,0 +1,24 @@
+{
+ "report-dir": "./.coverage",
+ "reporter": ["text", "lcov"],
+ "exclude": [
+ "**/*-test",
+ "**/.coverage",
+ "**/apis",
+ "**/benchmark",
+ "**/conformance",
+ "**/docs",
+ "**/samples",
+ "**/scripts",
+ "**/protos",
+ "**/test",
+ "**/*.d.ts",
+ ".jsdoc.js",
+ "**/.jsdoc.js",
+ "karma.conf.js",
+ "webpack-tests.config.js",
+ "webpack.config.js"
+ ],
+ "exclude-after-remap": false,
+ "all": true
+}
diff --git a/packages/google-cloud-datacatalog/.prettierignore b/packages/google-cloud-datacatalog/.prettierignore
new file mode 100644
index 00000000000..9340ad9b86d
--- /dev/null
+++ b/packages/google-cloud-datacatalog/.prettierignore
@@ -0,0 +1,6 @@
+**/node_modules
+**/coverage
+test/fixtures
+build/
+docs/
+protos/
diff --git a/packages/google-cloud-datacatalog/.prettierrc.js b/packages/google-cloud-datacatalog/.prettierrc.js
new file mode 100644
index 00000000000..d546a4ad546
--- /dev/null
+++ b/packages/google-cloud-datacatalog/.prettierrc.js
@@ -0,0 +1,17 @@
+// Copyright 2022 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// https://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+module.exports = {
+ ...require('gts/.prettierrc.json')
+}
diff --git a/packages/google-cloud-datacatalog/.repo-metadata.json b/packages/google-cloud-datacatalog/.repo-metadata.json
new file mode 100644
index 00000000000..b6448e024b8
--- /dev/null
+++ b/packages/google-cloud-datacatalog/.repo-metadata.json
@@ -0,0 +1,16 @@
+{
+ "default_version": "v1",
+ "release_level": "stable",
+ "client_documentation": "https://cloud.google.com/nodejs/docs/reference/datacatalog/latest",
+ "name": "datacatalog",
+ "product_documentation": "https://cloud.google.com/data-catalog/",
+ "distribution_name": "@google-cloud/datacatalog",
+ "language": "nodejs",
+ "api_id": "datacatalog.googleapis.com",
+ "repo": "googleapis/google-cloud-node",
+ "name_pretty": "Data Catalog",
+ "issue_tracker": "",
+ "requires_billing": true,
+ "api_shortname": "datacatalog",
+ "library_type": "GAPIC_AUTO"
+}
diff --git a/packages/google-cloud-datacatalog/CHANGELOG.md b/packages/google-cloud-datacatalog/CHANGELOG.md
new file mode 100644
index 00000000000..cfb24f9bcca
--- /dev/null
+++ b/packages/google-cloud-datacatalog/CHANGELOG.md
@@ -0,0 +1,345 @@
+# Changelog
+
+[npm history][1]
+
+[1]: https://www.npmjs.com/package/@google-cloud/datacatalog?activeTab=versions
+
+## [3.1.1](https://github.com/googleapis/nodejs-datacatalog/compare/v3.1.0...v3.1.1) (2022-11-30)
+
+
+### Bug Fixes
+
+* Allow passing gax instance to client constructor ([#381](https://github.com/googleapis/nodejs-datacatalog/issues/381)) ([09e38fc](https://github.com/googleapis/nodejs-datacatalog/commit/09e38fc4bbe42f76c7048b58b4e749586ed8bd3a))
+* Better support for fallback mode ([#377](https://github.com/googleapis/nodejs-datacatalog/issues/377)) ([3cc0c79](https://github.com/googleapis/nodejs-datacatalog/commit/3cc0c79704459b18e71059986fa26a28ce6dca2f))
+* Change datacatalog resource name config ([#373](https://github.com/googleapis/nodejs-datacatalog/issues/373)) ([ee48f14](https://github.com/googleapis/nodejs-datacatalog/commit/ee48f149efa740286de5472d959025fca9d13341))
+* Change import long to require ([#378](https://github.com/googleapis/nodejs-datacatalog/issues/378)) ([e133668](https://github.com/googleapis/nodejs-datacatalog/commit/e13366806c759569f016b2813877d7295c6a5673))
+* **deps:** Update dependency uuid to v9 ([#382](https://github.com/googleapis/nodejs-datacatalog/issues/382)) ([86da005](https://github.com/googleapis/nodejs-datacatalog/commit/86da005a32c303017bfa4113535cb2f64dde1f79))
+* **deps:** Use google-gax v3.5.2 ([#391](https://github.com/googleapis/nodejs-datacatalog/issues/391)) ([0f96b18](https://github.com/googleapis/nodejs-datacatalog/commit/0f96b18f20f5a5e46a6de46558b74e06ff6b9cdc))
+* Do not import the whole google-gax from proto JS ([#1553](https://github.com/googleapis/nodejs-datacatalog/issues/1553)) ([#380](https://github.com/googleapis/nodejs-datacatalog/issues/380)) ([d969272](https://github.com/googleapis/nodejs-datacatalog/commit/d969272a2414f75edbf0aed8fd2ccffb7daee5d7))
+* Preserve default values in x-goog-request-params header ([#384](https://github.com/googleapis/nodejs-datacatalog/issues/384)) ([6c1cb6b](https://github.com/googleapis/nodejs-datacatalog/commit/6c1cb6b278daaf1412eaaf9b37f6e717fea5dd70))
+* Regenerated protos JS and TS definitions ([#394](https://github.com/googleapis/nodejs-datacatalog/issues/394)) ([bd17961](https://github.com/googleapis/nodejs-datacatalog/commit/bd17961056fa07ec26faf7ff4227a951bb5d61d0))
+* Remove pip install statements ([#1546](https://github.com/googleapis/nodejs-datacatalog/issues/1546)) ([#379](https://github.com/googleapis/nodejs-datacatalog/issues/379)) ([6244345](https://github.com/googleapis/nodejs-datacatalog/commit/6244345cf4d04c8ad567a734a496c979432c568d))
+* use google-gax v3.3.0 ([d969272](https://github.com/googleapis/nodejs-datacatalog/commit/d969272a2414f75edbf0aed8fd2ccffb7daee5d7))
+
+## [3.1.0](https://github.com/googleapis/nodejs-datacatalog/compare/v3.0.0...v3.1.0) (2022-07-05)
+
+
+### Features
+
+* support regapic LRO ([a6fa419](https://github.com/googleapis/nodejs-datacatalog/commit/a6fa419299bae1d425477387eae3853dc343c69b))
+
+## [3.0.0](https://github.com/googleapis/nodejs-datacatalog/compare/v2.6.0...v3.0.0) (2022-06-10)
+
+
+### ⚠ BREAKING CHANGES
+
+* update library to use Node 12 (#362)
+
+### Features
+
+* AuditConfig for IAM v1 ([#349](https://github.com/googleapis/nodejs-datacatalog/issues/349)) ([39a829e](https://github.com/googleapis/nodejs-datacatalog/commit/39a829e7da308c9b1c91e347c8729bfbc5ba39c8))
+
+
+### Bug Fixes
+
+* **deps:** roll back dependency @google-cloud/datacatalog to ^2.5.0 ([#345](https://github.com/googleapis/nodejs-datacatalog/issues/345)) ([5fc48ab](https://github.com/googleapis/nodejs-datacatalog/commit/5fc48ab5bae55c0bc1f62a1418eaa74a8fae1034))
+* **deps:** update dependency @google-cloud/bigquery to v6 ([#365](https://github.com/googleapis/nodejs-datacatalog/issues/365)) ([4d966a1](https://github.com/googleapis/nodejs-datacatalog/commit/4d966a161e034142ad7db54c0c06dc962199caad))
+
+
+### Build System
+
+* update library to use Node 12 ([#362](https://github.com/googleapis/nodejs-datacatalog/issues/362)) ([9d8688b](https://github.com/googleapis/nodejs-datacatalog/commit/9d8688bcf7c9f1ddc4c3cfe0f05d69b138198ec8))
+
+## [2.6.0](https://github.com/googleapis/nodejs-datacatalog/compare/v2.5.0...v2.6.0) (2022-02-08)
+
+
+### Features
+
+* Add methods and messages related to starring feature feat: Add methods and messages related to business context feature docs: Updates copyright message ([#328](https://github.com/googleapis/nodejs-datacatalog/issues/328)) ([585a7b2](https://github.com/googleapis/nodejs-datacatalog/commit/585a7b2e456ca5ddabb3752c0a56356e2564b80b))
+
+## [2.5.0](https://www.github.com/googleapis/nodejs-datacatalog/compare/v2.4.2...v2.5.0) (2021-08-23)
+
+
+### Features
+
+* turns on self-signed JWT feature flag ([#294](https://www.github.com/googleapis/nodejs-datacatalog/issues/294)) ([dcf6fb4](https://www.github.com/googleapis/nodejs-datacatalog/commit/dcf6fb45de49e225aeebfec9fc56251db3a702e9))
+
+### [2.4.2](https://www.github.com/googleapis/nodejs-datacatalog/compare/v2.4.1...v2.4.2) (2021-08-17)
+
+
+### Bug Fixes
+
+* **deps:** google-gax v2.24.1 ([#291](https://www.github.com/googleapis/nodejs-datacatalog/issues/291)) ([b9f80cd](https://www.github.com/googleapis/nodejs-datacatalog/commit/b9f80cd961a516c967d20c66b3752cadd9ed9546))
+
+### [2.4.1](https://www.github.com/googleapis/nodejs-datacatalog/compare/v2.4.0...v2.4.1) (2021-08-14)
+
+
+### Bug Fixes
+
+* **build:** migrate to using main branch ([#285](https://www.github.com/googleapis/nodejs-datacatalog/issues/285)) ([b096a25](https://www.github.com/googleapis/nodejs-datacatalog/commit/b096a25ee41b61feb28e262e0024f743f88a6444))
+
+## [2.4.0](https://www.github.com/googleapis/nodejs-datacatalog/compare/v2.3.4...v2.4.0) (2021-08-05)
+
+
+### Features
+
+* Added support for BigQuery connections entries feat: Added support for BigQuery routines entries feat: Added usage_signal field feat: Added labels field feat: Added ReplaceTaxonomy in Policy Tag Manager Serialization API feat: Added support for p... ([#277](https://www.github.com/googleapis/nodejs-datacatalog/issues/277)) ([328cc11](https://www.github.com/googleapis/nodejs-datacatalog/commit/328cc1126374a26f20273a312e8b781b845af401))
+
+### [2.3.4](https://www.github.com/googleapis/nodejs-datacatalog/compare/v2.3.3...v2.3.4) (2021-07-21)
+
+
+### Bug Fixes
+
+* **deps:** google-gax v2.17.1 ([#272](https://www.github.com/googleapis/nodejs-datacatalog/issues/272)) ([62ffcc6](https://www.github.com/googleapis/nodejs-datacatalog/commit/62ffcc6fd9a5b68936a57c1ac5a041527e38fec3))
+* Updating WORKSPACE files to use the newest version of the Typescript generator. ([#274](https://www.github.com/googleapis/nodejs-datacatalog/issues/274)) ([3ebafcd](https://www.github.com/googleapis/nodejs-datacatalog/commit/3ebafcdbfaf50ff96f9d828e33cc355af33a7000))
+
+### [2.3.3](https://www.github.com/googleapis/nodejs-datacatalog/compare/v2.3.2...v2.3.3) (2021-06-30)
+
+
+### Bug Fixes
+
+* **deps:** google-gax v2.17.0 with mTLS ([#269](https://www.github.com/googleapis/nodejs-datacatalog/issues/269)) ([456a228](https://www.github.com/googleapis/nodejs-datacatalog/commit/456a2288a0a6ba21add6662e23bb256c2e4cbdf0))
+
+### [2.3.2](https://www.github.com/googleapis/nodejs-datacatalog/compare/v2.3.1...v2.3.2) (2021-06-24)
+
+
+### Bug Fixes
+
+* make request optional in all cases ([#265](https://www.github.com/googleapis/nodejs-datacatalog/issues/265)) ([3ea98f3](https://www.github.com/googleapis/nodejs-datacatalog/commit/3ea98f3b9fb00f0804557b5f597366a4963fdf7c))
+
+### [2.3.1](https://www.github.com/googleapis/nodejs-datacatalog/compare/v2.3.0...v2.3.1) (2021-05-07)
+
+
+### Bug Fixes
+
+* **deps:** require google-gax v2.12.0 ([#249](https://www.github.com/googleapis/nodejs-datacatalog/issues/249)) ([a9ac95e](https://www.github.com/googleapis/nodejs-datacatalog/commit/a9ac95edc6aebe638cc6408540e9f74a6c1f8d3d))
+
+## [2.3.0](https://www.github.com/googleapis/nodejs-datacatalog/compare/v2.2.0...v2.3.0) (2021-04-27)
+
+
+### Features
+
+* new RenameTagTemplateFieldEnumValue API ([#244](https://www.github.com/googleapis/nodejs-datacatalog/issues/244)) ([1efaf9b](https://www.github.com/googleapis/nodejs-datacatalog/commit/1efaf9be12b84135643761cf01372726ec7dd249))
+
+## [2.2.0](https://www.github.com/googleapis/nodejs-datacatalog/compare/v2.1.3...v2.2.0) (2021-03-07)
+
+
+### Features
+
+* **samples:** add samples ([#229](https://www.github.com/googleapis/nodejs-datacatalog/issues/229)) ([fd8a249](https://www.github.com/googleapis/nodejs-datacatalog/commit/fd8a2496013db9737dbd21c30fc412c24a5956d8))
+
+### [2.1.3](https://www.github.com/googleapis/nodejs-datacatalog/compare/v2.1.2...v2.1.3) (2020-11-07)
+
+
+### Bug Fixes
+
+* do not modify options object, use defaultScopes ([#218](https://www.github.com/googleapis/nodejs-datacatalog/issues/218)) ([4dad92a](https://www.github.com/googleapis/nodejs-datacatalog/commit/4dad92a4781e0bf3b6bd799ca0aefe94b10e6254))
+
+### [2.1.2](https://www.github.com/googleapis/nodejs-datacatalog/compare/v2.1.1...v2.1.2) (2020-07-27)
+
+
+### Bug Fixes
+
+* move gitattributes files to node templates ([#194](https://www.github.com/googleapis/nodejs-datacatalog/issues/194)) ([6471c23](https://www.github.com/googleapis/nodejs-datacatalog/commit/6471c23598674fb85bdb4a733dcdd3a7799ce314))
+
+### [2.1.1](https://www.github.com/googleapis/nodejs-datacatalog/compare/v2.1.0...v2.1.1) (2020-07-09)
+
+
+### Bug Fixes
+
+* typeo in nodejs .gitattribute ([#182](https://www.github.com/googleapis/nodejs-datacatalog/issues/182)) ([9e46bfc](https://www.github.com/googleapis/nodejs-datacatalog/commit/9e46bfce7847084d24d85218d5a294ff7c46e2ff))
+
+## [2.1.0](https://www.github.com/googleapis/nodejs-datacatalog/compare/v2.0.0...v2.1.0) (2020-06-16)
+
+
+### Features
+
+* add order field to TagField and TagTemplateField ([#157](https://www.github.com/googleapis/nodejs-datacatalog/issues/157)) ([70c23c2](https://www.github.com/googleapis/nodejs-datacatalog/commit/70c23c2b609bd24901dc902090e23fbf92b55895))
+* move ts target to es2018 from es2016 ([#172](https://www.github.com/googleapis/nodejs-datacatalog/issues/172)) ([e354dde](https://www.github.com/googleapis/nodejs-datacatalog/commit/e354ddeeeedd3e106c50ed579075f23c9d9c5bb5))
+* promote library to GA ([#177](https://www.github.com/googleapis/nodejs-datacatalog/issues/177)) ([ac11090](https://www.github.com/googleapis/nodejs-datacatalog/commit/ac110906b723f362024318295e3de6743c905b7e))
+
+
+### Bug Fixes
+
+* proper fallback option handling ([51df672](https://www.github.com/googleapis/nodejs-datacatalog/commit/51df6721306ab6d2d9bf6919b0f3f432ca85b4ab))
+* regenerate unit tests ([#163](https://www.github.com/googleapis/nodejs-datacatalog/issues/163)) ([4593117](https://www.github.com/googleapis/nodejs-datacatalog/commit/45931176d266d364e0508039cf6a4e284ad2923d))
+* synth.py clean up for multiple version ([#167](https://www.github.com/googleapis/nodejs-datacatalog/issues/167)) ([c799604](https://www.github.com/googleapis/nodejs-datacatalog/commit/c799604b2d29269006ff39748afb78302ce46ca2))
+
+## [2.0.0](https://www.github.com/googleapis/nodejs-datacatalog/compare/v1.8.0...v2.0.0) (2020-04-15)
+
+
+### ⚠ BREAKING CHANGES
+
+* add v1 API surface (#145)
+* The library now supports Node.js v10+. The last version to support Node.js v8 is tagged legacy-8 on NPM.
+
+### Features
+
+* add v1 API surface ([#145](https://www.github.com/googleapis/nodejs-datacatalog/issues/145)) ([e04c394](https://www.github.com/googleapis/nodejs-datacatalog/commit/e04c3948784950ae536e2dd1b123515996912be1))
+* drop node8 support, support for async iterators ([#140](https://www.github.com/googleapis/nodejs-datacatalog/issues/140)) ([cf658e8](https://www.github.com/googleapis/nodejs-datacatalog/commit/cf658e88470706f502d71f0cfc8655ca5856113c))
+
+
+### Bug Fixes
+
+* export explicit version in protos.js ([#146](https://www.github.com/googleapis/nodejs-datacatalog/issues/146)) ([04d1cbb](https://www.github.com/googleapis/nodejs-datacatalog/commit/04d1cbbd25ffb13c8312080f1e1d9ac27eb85490))
+* remove eslint, update gax, fix generated protos, run the generator ([#150](https://www.github.com/googleapis/nodejs-datacatalog/issues/150)) ([57223c0](https://www.github.com/googleapis/nodejs-datacatalog/commit/57223c036833bc3cf044181eb376a2b5c173cc63))
+
+## [1.8.0](https://www.github.com/googleapis/nodejs-datacatalog/compare/v1.7.0...v1.8.0) (2020-03-06)
+
+
+### Features
+
+* deferred client initialization ([#127](https://www.github.com/googleapis/nodejs-datacatalog/issues/127)) ([1640d4d](https://www.github.com/googleapis/nodejs-datacatalog/commit/1640d4d8fe1a9adbff9719399e5e2fff95bbb4b5))
+* export protos in src/index.ts ([86933a1](https://www.github.com/googleapis/nodejs-datacatalog/commit/86933a113549c33a5283e7bf438ce0229b74155b))
+
+## [1.7.0](https://www.github.com/googleapis/nodejs-datacatalog/compare/v1.6.3...v1.7.0) (2020-02-10)
+
+
+### Features
+
+* UpdateEntryGroup, ListEntryGroup, ListEntries added ([#110](https://www.github.com/googleapis/nodejs-datacatalog/issues/110)) ([0597b71](https://www.github.com/googleapis/nodejs-datacatalog/commit/0597b71acbcb45cd7bb37668310c439378703894))
+
+
+### Bug Fixes
+
+* resource name helpers fixed; enum, bytes, and Long types now accept strings ([#99](https://www.github.com/googleapis/nodejs-datacatalog/issues/99)) ([d20988f](https://www.github.com/googleapis/nodejs-datacatalog/commit/d20988ff58c38a7a79c0ab768a1af32cae6686df))
+
+### [1.6.3](https://www.github.com/googleapis/nodejs-datacatalog/compare/v1.6.2...v1.6.3) (2020-01-09)
+
+
+### Bug Fixes
+
+* proper routing headers ([1fc10d6](https://www.github.com/googleapis/nodejs-datacatalog/commit/1fc10d6e538fd2c6a43e160318e6b75c6e0d32e5))
+
+### [1.6.2](https://www.github.com/googleapis/nodejs-datacatalog/compare/v1.6.1...v1.6.2) (2020-01-08)
+
+
+### Bug Fixes
+
+* **build:** switch back to using autorelease for tagging ([#91](https://www.github.com/googleapis/nodejs-datacatalog/issues/91)) ([2a0f1f7](https://www.github.com/googleapis/nodejs-datacatalog/commit/2a0f1f7ccb62e1f6ac53acbf6eb14706228532c0))
+
+### [1.6.1](https://www.github.com/googleapis/nodejs-datacatalog/compare/v1.6.0...v1.6.1) (2020-01-04)
+
+
+### Bug Fixes
+
+* better close() in client ([#87](https://www.github.com/googleapis/nodejs-datacatalog/issues/87)) ([fb41332](https://www.github.com/googleapis/nodejs-datacatalog/commit/fb41332b1601f8825c0a6a91565566339471a199))
+
+## [1.6.0](https://www.github.com/googleapis/nodejs-datacatalog/compare/v1.5.1...v1.6.0) (2020-01-02)
+
+
+### Features
+
+* add support for marking a tag template field as required when creating a new tag template; add support for updating a tag template field from required to optional ([0b589b4](https://www.github.com/googleapis/nodejs-datacatalog/commit/0b589b4a18ce1d6f6a80412c4f608690f02be711))
+
+### [1.5.1](https://www.github.com/googleapis/nodejs-datacatalog/compare/v1.5.0...v1.5.1) (2019-12-20)
+
+
+### Bug Fixes
+
+* bring common resources back ([#75](https://www.github.com/googleapis/nodejs-datacatalog/issues/75)) ([8472def](https://www.github.com/googleapis/nodejs-datacatalog/commit/8472defdf9a2394f218f5a15d2d8e9400fc3af86))
+* fix auto-pagination field name ([1b9d24b](https://www.github.com/googleapis/nodejs-datacatalog/commit/1b9d24b281e38097df2a7886cefaa515dc89c655))
+* increase timeout from 20s to 60s ([#76](https://www.github.com/googleapis/nodejs-datacatalog/issues/76)) ([3fbcf3d](https://www.github.com/googleapis/nodejs-datacatalog/commit/3fbcf3d3fb07b9d59cbd42e78f581b74aa5bccd4))
+
+## [1.5.0](https://www.github.com/googleapis/nodejs-datacatalog/compare/v1.4.1...v1.5.0) (2019-12-11)
+
+
+### Features
+
+* make operationsClient and service stub public ([e7ca581](https://www.github.com/googleapis/nodejs-datacatalog/commit/e7ca5815340c3d9ffd4d170a1193565a76f53b15))
+
+### [1.4.1](https://www.github.com/googleapis/nodejs-datacatalog/compare/v1.4.0...v1.4.1) (2019-12-05)
+
+
+### Bug Fixes
+
+* **deps:** pin TypeScript below 3.7.0 ([cc671d9](https://www.github.com/googleapis/nodejs-datacatalog/commit/cc671d9ae2bfd420195df25bdaa0e4c1757008ec))
+* **docs:** adds jsdoc strings ([2834bfe](https://www.github.com/googleapis/nodejs-datacatalog/commit/2834bfe0057d9222f8c6f70e60de216560251d06))
+
+## [1.4.0](https://www.github.com/googleapis/nodejs-datacatalog/compare/v1.3.0...v1.4.0) (2019-11-20)
+
+In this release the library has been converted to TypeScript. There should be no breaking changes
+for existing users, but please feel free to submit an issue if you find anything wrong!
+
+### Features
+
+* new clients, convert to TypeScript ([#61](https://www.github.com/googleapis/nodejs-datacatalog/issues/61)) ([489c492](https://www.github.com/googleapis/nodejs-datacatalog/commit/489c49231c5386d7c540239c8861fdcef080679f))
+
+
+### Bug Fixes
+
+* **docs:** snippets are now replaced in jsdoc comments ([#54](https://www.github.com/googleapis/nodejs-datacatalog/issues/54)) ([4a61922](https://www.github.com/googleapis/nodejs-datacatalog/commit/4a6192275313e64f4e28fb43f6a7144807a89512))
+
+## [1.3.0](https://www.github.com/googleapis/nodejs-datacatalog/compare/v1.2.0...v1.3.0) (2019-10-22)
+
+
+### Features
+
+* updated proto annotations ([822d45d](https://www.github.com/googleapis/nodejs-datacatalog/commit/822d45d3a3eee323f0171ed2411b51ba9d9d0d7e))
+
+
+### Bug Fixes
+
+* **deps:** bump google-gax to 1.7.5 ([#50](https://www.github.com/googleapis/nodejs-datacatalog/issues/50)) ([8bc69c5](https://www.github.com/googleapis/nodejs-datacatalog/commit/8bc69c59ef8255fdb5ef9269e98d8ebc2452b75a))
+
+## [1.2.0](https://www.github.com/googleapis/nodejs-datacatalog/compare/v1.1.0...v1.2.0) (2019-10-09)
+
+
+### Bug Fixes
+
+* use compatible version of google-gax ([c854efc](https://www.github.com/googleapis/nodejs-datacatalog/commit/c854efc))
+
+
+### Features
+
+* .d.ts for protos ([26e81a4](https://www.github.com/googleapis/nodejs-datacatalog/commit/26e81a4))
+* .d.ts for protos ([#39](https://www.github.com/googleapis/nodejs-datacatalog/issues/39)) ([8090b3e](https://www.github.com/googleapis/nodejs-datacatalog/commit/8090b3e))
+* introduces new proto annotations ([9e03bc7](https://www.github.com/googleapis/nodejs-datacatalog/commit/9e03bc7))
+
+## [1.1.0](https://www.github.com/googleapis/nodejs-datacatalog/compare/v1.0.2...v1.1.0) (2019-09-15)
+
+
+### Bug Fixes
+
+* set proper version # for x-goog-api-client ([8d8b776](https://www.github.com/googleapis/nodejs-datacatalog/commit/8d8b776))
+
+
+### Features
+
+* load protos from JSON, grpc-fallback support ([13061f3](https://www.github.com/googleapis/nodejs-datacatalog/commit/13061f3))
+
+### [1.0.2](https://www.github.com/googleapis/nodejs-datacatalog/compare/v1.0.1...v1.0.2) (2019-08-05)
+
+
+### Bug Fixes
+
+* allow calls with no request, add JSON proto ([9a38026](https://www.github.com/googleapis/nodejs-datacatalog/commit/9a38026))
+
+### [1.0.1](https://www.github.com/googleapis/nodejs-datacatalog/compare/v1.0.0...v1.0.1) (2019-06-26)
+
+
+### Bug Fixes
+
+* **docs:** link to reference docs section on googleapis.dev ([#10](https://www.github.com/googleapis/nodejs-datacatalog/issues/10)) ([2a93e95](https://www.github.com/googleapis/nodejs-datacatalog/commit/2a93e95))
+
+## 1.0.0 (2019-06-20)
+
+
+### ⚠ BREAKING CHANGES
+
+* first release of client library (#8)
+* remove create/delete methods for entries and entry groups (#3)
+
+### Bug Fixes
+
+* package name should be @google-cloud/datacatalog ([#2](https://www.github.com/googleapis/nodejs-datacatalog/issues/2)) ([5d3db51](https://www.github.com/googleapis/nodejs-datacatalog/commit/5d3db51))
+
+
+### Code Refactoring
+
+* remove create/delete methods for entries and entry groups ([#3](https://www.github.com/googleapis/nodejs-datacatalog/issues/3)) ([e574462](https://www.github.com/googleapis/nodejs-datacatalog/commit/e574462))
+
+
+### Features
+
+* first release of client library ([#8](https://www.github.com/googleapis/nodejs-datacatalog/issues/8)) ([8250c88](https://www.github.com/googleapis/nodejs-datacatalog/commit/8250c88))
diff --git a/packages/google-cloud-datacatalog/CODE_OF_CONDUCT.md b/packages/google-cloud-datacatalog/CODE_OF_CONDUCT.md
new file mode 100644
index 00000000000..2add2547a81
--- /dev/null
+++ b/packages/google-cloud-datacatalog/CODE_OF_CONDUCT.md
@@ -0,0 +1,94 @@
+
+# Code of Conduct
+
+## Our Pledge
+
+In the interest of fostering an open and welcoming environment, we as
+contributors and maintainers pledge to making participation in our project and
+our community a harassment-free experience for everyone, regardless of age, body
+size, disability, ethnicity, gender identity and expression, level of
+experience, education, socio-economic status, nationality, personal appearance,
+race, religion, or sexual identity and orientation.
+
+## Our Standards
+
+Examples of behavior that contributes to creating a positive environment
+include:
+
+* Using welcoming and inclusive language
+* Being respectful of differing viewpoints and experiences
+* Gracefully accepting constructive criticism
+* Focusing on what is best for the community
+* Showing empathy towards other community members
+
+Examples of unacceptable behavior by participants include:
+
+* The use of sexualized language or imagery and unwelcome sexual attention or
+ advances
+* Trolling, insulting/derogatory comments, and personal or political attacks
+* Public or private harassment
+* Publishing others' private information, such as a physical or electronic
+ address, without explicit permission
+* Other conduct which could reasonably be considered inappropriate in a
+ professional setting
+
+## Our Responsibilities
+
+Project maintainers are responsible for clarifying the standards of acceptable
+behavior and are expected to take appropriate and fair corrective action in
+response to any instances of unacceptable behavior.
+
+Project maintainers have the right and responsibility to remove, edit, or reject
+comments, commits, code, wiki edits, issues, and other contributions that are
+not aligned to this Code of Conduct, or to ban temporarily or permanently any
+contributor for other behaviors that they deem inappropriate, threatening,
+offensive, or harmful.
+
+## Scope
+
+This Code of Conduct applies both within project spaces and in public spaces
+when an individual is representing the project or its community. Examples of
+representing a project or community include using an official project e-mail
+address, posting via an official social media account, or acting as an appointed
+representative at an online or offline event. Representation of a project may be
+further defined and clarified by project maintainers.
+
+This Code of Conduct also applies outside the project spaces when the Project
+Steward has a reasonable belief that an individual's behavior may have a
+negative impact on the project or its community.
+
+## Conflict Resolution
+
+We do not believe that all conflict is bad; healthy debate and disagreement
+often yield positive results. However, it is never okay to be disrespectful or
+to engage in behavior that violates the project’s code of conduct.
+
+If you see someone violating the code of conduct, you are encouraged to address
+the behavior directly with those involved. Many issues can be resolved quickly
+and easily, and this gives people more control over the outcome of their
+dispute. If you are unable to resolve the matter for any reason, or if the
+behavior is threatening or harassing, report it. We are dedicated to providing
+an environment where participants feel welcome and safe.
+
+Reports should be directed to *googleapis-stewards@google.com*, the
+Project Steward(s) for *Google Cloud Client Libraries*. It is the Project Steward’s duty to
+receive and address reported violations of the code of conduct. They will then
+work with a committee consisting of representatives from the Open Source
+Programs Office and the Google Open Source Strategy team. If for any reason you
+are uncomfortable reaching out to the Project Steward, please email
+opensource@google.com.
+
+We will investigate every complaint, but you may not receive a direct response.
+We will use our discretion in determining when and how to follow up on reported
+incidents, which may range from not taking action to permanent expulsion from
+the project and project-sponsored spaces. We will notify the accused of the
+report and provide them an opportunity to discuss it before any action is taken.
+The identity of the reporter will be omitted from the details of the report
+supplied to the accused. In potentially harmful situations, such as ongoing
+harassment or threats to anyone's safety, we may take action without notice.
+
+## Attribution
+
+This Code of Conduct is adapted from the Contributor Covenant, version 1.4,
+available at
+https://www.contributor-covenant.org/version/1/4/code-of-conduct.html
\ No newline at end of file
diff --git a/packages/google-cloud-datacatalog/CONTRIBUTING.md b/packages/google-cloud-datacatalog/CONTRIBUTING.md
new file mode 100644
index 00000000000..bce6f18e87b
--- /dev/null
+++ b/packages/google-cloud-datacatalog/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 Data Catalog 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=datacatalog.googleapis.com
+[auth]: https://cloud.google.com/docs/authentication/getting-started
\ No newline at end of file
diff --git a/packages/google-cloud-datacatalog/LICENSE b/packages/google-cloud-datacatalog/LICENSE
new file mode 100644
index 00000000000..d6456956733
--- /dev/null
+++ b/packages/google-cloud-datacatalog/LICENSE
@@ -0,0 +1,202 @@
+
+ Apache License
+ Version 2.0, January 2004
+ http://www.apache.org/licenses/
+
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
+
+ 1. Definitions.
+
+ "License" shall mean the terms and conditions for use, reproduction,
+ and distribution as defined by Sections 1 through 9 of this document.
+
+ "Licensor" shall mean the copyright owner or entity authorized by
+ the copyright owner that is granting the License.
+
+ "Legal Entity" shall mean the union of the acting entity and all
+ other entities that control, are controlled by, or are under common
+ control with that entity. For the purposes of this definition,
+ "control" means (i) the power, direct or indirect, to cause the
+ direction or management of such entity, whether by contract or
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
+ outstanding shares, or (iii) beneficial ownership of such entity.
+
+ "You" (or "Your") shall mean an individual or Legal Entity
+ exercising permissions granted by this License.
+
+ "Source" form shall mean the preferred form for making modifications,
+ including but not limited to software source code, documentation
+ source, and configuration files.
+
+ "Object" form shall mean any form resulting from mechanical
+ transformation or translation of a Source form, including but
+ not limited to compiled object code, generated documentation,
+ and conversions to other media types.
+
+ "Work" shall mean the work of authorship, whether in Source or
+ Object form, made available under the License, as indicated by a
+ copyright notice that is included in or attached to the work
+ (an example is provided in the Appendix below).
+
+ "Derivative Works" shall mean any work, whether in Source or Object
+ form, that is based on (or derived from) the Work and for which the
+ editorial revisions, annotations, elaborations, or other modifications
+ represent, as a whole, an original work of authorship. For the purposes
+ of this License, Derivative Works shall not include works that remain
+ separable from, or merely link (or bind by name) to the interfaces of,
+ the Work and Derivative Works thereof.
+
+ "Contribution" shall mean any work of authorship, including
+ the original version of the Work and any modifications or additions
+ to that Work or Derivative Works thereof, that is intentionally
+ submitted to Licensor for inclusion in the Work by the copyright owner
+ or by an individual or Legal Entity authorized to submit on behalf of
+ the copyright owner. For the purposes of this definition, "submitted"
+ means any form of electronic, verbal, or written communication sent
+ to the Licensor or its representatives, including but not limited to
+ communication on electronic mailing lists, source code control systems,
+ and issue tracking systems that are managed by, or on behalf of, the
+ Licensor for the purpose of discussing and improving the Work, but
+ excluding communication that is conspicuously marked or otherwise
+ designated in writing by the copyright owner as "Not a Contribution."
+
+ "Contributor" shall mean Licensor and any individual or Legal Entity
+ on behalf of whom a Contribution has been received by Licensor and
+ subsequently incorporated within the Work.
+
+ 2. Grant of Copyright License. Subject to the terms and conditions of
+ this License, each Contributor hereby grants to You a perpetual,
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+ copyright license to reproduce, prepare Derivative Works of,
+ publicly display, publicly perform, sublicense, and distribute the
+ Work and such Derivative Works in Source or Object form.
+
+ 3. Grant of Patent License. Subject to the terms and conditions of
+ this License, each Contributor hereby grants to You a perpetual,
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+ (except as stated in this section) patent license to make, have made,
+ use, offer to sell, sell, import, and otherwise transfer the Work,
+ where such license applies only to those patent claims licensable
+ by such Contributor that are necessarily infringed by their
+ Contribution(s) alone or by combination of their Contribution(s)
+ with the Work to which such Contribution(s) was submitted. If You
+ institute patent litigation against any entity (including a
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
+ or a Contribution incorporated within the Work constitutes direct
+ or contributory patent infringement, then any patent licenses
+ granted to You under this License for that Work shall terminate
+ as of the date such litigation is filed.
+
+ 4. Redistribution. You may reproduce and distribute copies of the
+ Work or Derivative Works thereof in any medium, with or without
+ modifications, and in Source or Object form, provided that You
+ meet the following conditions:
+
+ (a) You must give any other recipients of the Work or
+ Derivative Works a copy of this License; and
+
+ (b) You must cause any modified files to carry prominent notices
+ stating that You changed the files; and
+
+ (c) You must retain, in the Source form of any Derivative Works
+ that You distribute, all copyright, patent, trademark, and
+ attribution notices from the Source form of the Work,
+ excluding those notices that do not pertain to any part of
+ the Derivative Works; and
+
+ (d) If the Work includes a "NOTICE" text file as part of its
+ distribution, then any Derivative Works that You distribute must
+ include a readable copy of the attribution notices contained
+ within such NOTICE file, excluding those notices that do not
+ pertain to any part of the Derivative Works, in at least one
+ of the following places: within a NOTICE text file distributed
+ as part of the Derivative Works; within the Source form or
+ documentation, if provided along with the Derivative Works; or,
+ within a display generated by the Derivative Works, if and
+ wherever such third-party notices normally appear. The contents
+ of the NOTICE file are for informational purposes only and
+ do not modify the License. You may add Your own attribution
+ notices within Derivative Works that You distribute, alongside
+ or as an addendum to the NOTICE text from the Work, provided
+ that such additional attribution notices cannot be construed
+ as modifying the License.
+
+ You may add Your own copyright statement to Your modifications and
+ may provide additional or different license terms and conditions
+ for use, reproduction, or distribution of Your modifications, or
+ for any such Derivative Works as a whole, provided Your use,
+ reproduction, and distribution of the Work otherwise complies with
+ the conditions stated in this License.
+
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
+ any Contribution intentionally submitted for inclusion in the Work
+ by You to the Licensor shall be under the terms and conditions of
+ this License, without any additional terms or conditions.
+ Notwithstanding the above, nothing herein shall supersede or modify
+ the terms of any separate license agreement you may have executed
+ with Licensor regarding such Contributions.
+
+ 6. Trademarks. This License does not grant permission to use the trade
+ names, trademarks, service marks, or product names of the Licensor,
+ except as required for reasonable and customary use in describing the
+ origin of the Work and reproducing the content of the NOTICE file.
+
+ 7. Disclaimer of Warranty. Unless required by applicable law or
+ agreed to in writing, Licensor provides the Work (and each
+ Contributor provides its Contributions) on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+ implied, including, without limitation, any warranties or conditions
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
+ PARTICULAR PURPOSE. You are solely responsible for determining the
+ appropriateness of using or redistributing the Work and assume any
+ risks associated with Your exercise of permissions under this License.
+
+ 8. Limitation of Liability. In no event and under no legal theory,
+ whether in tort (including negligence), contract, or otherwise,
+ unless required by applicable law (such as deliberate and grossly
+ negligent acts) or agreed to in writing, shall any Contributor be
+ liable to You for damages, including any direct, indirect, special,
+ incidental, or consequential damages of any character arising as a
+ result of this License or out of the use or inability to use the
+ Work (including but not limited to damages for loss of goodwill,
+ work stoppage, computer failure or malfunction, or any and all
+ other commercial damages or losses), even if such Contributor
+ has been advised of the possibility of such damages.
+
+ 9. Accepting Warranty or Additional Liability. While redistributing
+ the Work or Derivative Works thereof, You may choose to offer,
+ and charge a fee for, acceptance of support, warranty, indemnity,
+ or other liability obligations and/or rights consistent with this
+ License. However, in accepting such obligations, You may act only
+ on Your own behalf and on Your sole responsibility, not on behalf
+ of any other Contributor, and only if You agree to indemnify,
+ defend, and hold each Contributor harmless for any liability
+ incurred by, or claims asserted against, such Contributor by reason
+ of your accepting any such warranty or additional liability.
+
+ END OF TERMS AND CONDITIONS
+
+ APPENDIX: How to apply the Apache License to your work.
+
+ To apply the Apache License to your work, attach the following
+ boilerplate notice, with the fields enclosed by brackets "[]"
+ replaced with your own identifying information. (Don't include
+ the brackets!) The text should be enclosed in the appropriate
+ comment syntax for the file format. We also recommend that a
+ file or class name and description of purpose be included on the
+ same "printed page" as the copyright notice for easier
+ identification within third-party archives.
+
+ Copyright [yyyy] [name of copyright owner]
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
diff --git a/packages/google-cloud-datacatalog/README.md b/packages/google-cloud-datacatalog/README.md
new file mode 100644
index 00000000000..549713e137f
--- /dev/null
+++ b/packages/google-cloud-datacatalog/README.md
@@ -0,0 +1,381 @@
+[//]: # "This README.md file is auto-generated, all changes to this file will be lost."
+[//]: # "To regenerate it, use `python -m synthtool`."
+
+
+# [Data Catalog: Node.js Client](https://github.com/googleapis/google-cloud-node)
+
+[](https://cloud.google.com/terms/launch-stages)
+[](https://www.npmjs.org/package/@google-cloud/datacatalog)
+
+
+
+
+Google Cloud Data Catalog API client for Node.js
+
+
+A comprehensive list of changes in each version may be found in
+[the CHANGELOG](https://github.com/googleapis/google-cloud-node/tree/main/packages/google-cloud-datacatalog/CHANGELOG.md).
+
+* [Data Catalog Node.js Client API Reference][client-docs]
+* [Data Catalog Documentation][product-docs]
+* [github.com/googleapis/google-cloud-node/packages/google-cloud-datacatalog](https://github.com/googleapis/google-cloud-node/tree/main/packages/google-cloud-datacatalog)
+
+Read more about the client libraries for Cloud APIs, including the older
+Google APIs Client Libraries, in [Client Libraries Explained][explained].
+
+[explained]: https://cloud.google.com/apis/docs/client-libraries-explained
+
+**Table of contents:**
+
+
+* [Quickstart](#quickstart)
+ * [Before you begin](#before-you-begin)
+ * [Installing the client library](#installing-the-client-library)
+ * [Using the client library](#using-the-client-library)
+* [Samples](#samples)
+* [Versioning](#versioning)
+* [Contributing](#contributing)
+* [License](#license)
+
+## Quickstart
+
+### Before you begin
+
+1. [Select or create a Cloud Platform project][projects].
+1. [Enable billing for your project][billing].
+1. [Enable the Data Catalog API][enable_api].
+1. [Set up authentication with a service account][auth] so you can access the
+ API from your local workstation.
+
+### Installing the client library
+
+```bash
+npm install @google-cloud/datacatalog
+```
+
+
+### Using the client library
+
+```javascript
+// Import the Google Cloud client library and create a client.
+const {DataCatalogClient} = require('@google-cloud/datacatalog').v1;
+const datacatalog = new DataCatalogClient();
+
+async function quickstart() {
+ // Common fields.
+ let request;
+ let responses;
+
+ /**
+ * TODO(developer): Uncomment the following lines before running the sample.
+ */
+ // const projectId = 'my_project'; // Google Cloud Platform project
+ // const datasetId = 'demo_dataset';
+ // const tableId = 'trips';
+
+ // Currently, Data Catalog stores metadata in the
+ // us-central1 region.
+ const location = 'us-central1';
+
+ // Create Fields.
+ const fieldSource = {
+ displayName: 'Source of data asset',
+ type: {
+ primitiveType: 'STRING',
+ },
+ };
+
+ const fieldNumRows = {
+ displayName: 'Number of rows in data asset',
+ type: {
+ primitiveType: 'DOUBLE',
+ },
+ };
+
+ const fieldHasPII = {
+ displayName: 'Has PII',
+ type: {
+ primitiveType: 'BOOL',
+ },
+ };
+
+ const fieldPIIType = {
+ displayName: 'PII type',
+ type: {
+ enumType: {
+ allowedValues: [
+ {
+ displayName: 'EMAIL',
+ },
+ {
+ displayName: 'SOCIAL SECURITY NUMBER',
+ },
+ {
+ displayName: 'NONE',
+ },
+ ],
+ },
+ },
+ };
+
+ // Create Tag Template.
+ const tagTemplateId = 'demo_tag_template';
+
+ const tagTemplate = {
+ displayName: 'Demo Tag Template',
+ fields: {
+ source: fieldSource,
+ num_rows: fieldNumRows,
+ has_pii: fieldHasPII,
+ pii_type: fieldPIIType,
+ },
+ };
+
+ const tagTemplatePath = datacatalog.tagTemplatePath(
+ projectId,
+ location,
+ tagTemplateId
+ );
+
+ // Delete any pre-existing Template with the same name.
+ try {
+ request = {
+ name: tagTemplatePath,
+ force: true,
+ };
+ await datacatalog.deleteTagTemplate(request);
+ console.log(`Deleted template: ${tagTemplatePath}`);
+ } catch (error) {
+ console.log(`Cannot delete template: ${tagTemplatePath}`);
+ }
+
+ // Create the Tag Template request.
+ const locationPath = datacatalog.locationPath(projectId, location);
+
+ request = {
+ parent: locationPath,
+ tagTemplateId: tagTemplateId,
+ tagTemplate: tagTemplate,
+ };
+
+ // Execute the request.
+ responses = await datacatalog.createTagTemplate(request);
+ const createdTagTemplate = responses[0];
+ console.log(`Created template: ${createdTagTemplate.name}`);
+
+ // Lookup Data Catalog's Entry referring to the table.
+ responses = await datacatalog.lookupEntry({
+ linkedResource:
+ '//bigquery.googleapis.com/projects/' +
+ `${projectId}/datasets/${datasetId}/tables/${tableId}`,
+ });
+ const entry = responses[0];
+ console.log(`Entry name: ${entry.name}`);
+ console.log(`Entry type: ${entry.type}`);
+ console.log(`Linked resource: ${entry.linkedResource}`);
+
+ // Attach a Tag to the table.
+ const tag = {
+ name: entry.name,
+ template: createdTagTemplate.name,
+ fields: {
+ source: {
+ stringValue: 'copied from tlc_yellow_trips_2017',
+ },
+ num_rows: {
+ doubleValue: 113496874,
+ },
+ has_pii: {
+ boolValue: false,
+ },
+ pii_type: {
+ enumValue: {
+ displayName: 'NONE',
+ },
+ },
+ },
+ };
+
+ request = {
+ parent: entry.name,
+ tag: tag,
+ };
+
+ // Create the Tag.
+ await datacatalog.createTag(request);
+ console.log(`Tag created for entry: ${entry.name}`);
+}
+quickstart();
+
+```
+
+
+
+## Samples
+
+Samples are in the [`samples/`](https://github.com/googleapis/google-cloud-node/tree/main/samples) directory. Each sample's `README.md` has instructions for running its sample.
+
+| Sample | Source Code | Try it |
+| --------------------------- | --------------------------------- | ------ |
+| Data_catalog.create_entry | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1/data_catalog.create_entry.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1/data_catalog.create_entry.js,samples/README.md) |
+| Data_catalog.create_entry_group | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1/data_catalog.create_entry_group.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1/data_catalog.create_entry_group.js,samples/README.md) |
+| Data_catalog.create_tag | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1/data_catalog.create_tag.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1/data_catalog.create_tag.js,samples/README.md) |
+| Data_catalog.create_tag_template | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1/data_catalog.create_tag_template.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1/data_catalog.create_tag_template.js,samples/README.md) |
+| Data_catalog.create_tag_template_field | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1/data_catalog.create_tag_template_field.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1/data_catalog.create_tag_template_field.js,samples/README.md) |
+| Data_catalog.delete_entry | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1/data_catalog.delete_entry.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1/data_catalog.delete_entry.js,samples/README.md) |
+| Data_catalog.delete_entry_group | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1/data_catalog.delete_entry_group.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1/data_catalog.delete_entry_group.js,samples/README.md) |
+| Data_catalog.delete_tag | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1/data_catalog.delete_tag.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1/data_catalog.delete_tag.js,samples/README.md) |
+| Data_catalog.delete_tag_template | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1/data_catalog.delete_tag_template.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1/data_catalog.delete_tag_template.js,samples/README.md) |
+| Data_catalog.delete_tag_template_field | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1/data_catalog.delete_tag_template_field.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1/data_catalog.delete_tag_template_field.js,samples/README.md) |
+| Data_catalog.get_entry | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1/data_catalog.get_entry.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1/data_catalog.get_entry.js,samples/README.md) |
+| Data_catalog.get_entry_group | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1/data_catalog.get_entry_group.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1/data_catalog.get_entry_group.js,samples/README.md) |
+| Data_catalog.get_iam_policy | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1/data_catalog.get_iam_policy.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1/data_catalog.get_iam_policy.js,samples/README.md) |
+| Data_catalog.get_tag_template | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1/data_catalog.get_tag_template.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1/data_catalog.get_tag_template.js,samples/README.md) |
+| Data_catalog.list_entries | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1/data_catalog.list_entries.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1/data_catalog.list_entries.js,samples/README.md) |
+| Data_catalog.list_entry_groups | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1/data_catalog.list_entry_groups.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1/data_catalog.list_entry_groups.js,samples/README.md) |
+| Data_catalog.list_tags | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1/data_catalog.list_tags.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1/data_catalog.list_tags.js,samples/README.md) |
+| Data_catalog.lookup_entry | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1/data_catalog.lookup_entry.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1/data_catalog.lookup_entry.js,samples/README.md) |
+| Data_catalog.modify_entry_contacts | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1/data_catalog.modify_entry_contacts.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1/data_catalog.modify_entry_contacts.js,samples/README.md) |
+| Data_catalog.modify_entry_overview | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1/data_catalog.modify_entry_overview.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1/data_catalog.modify_entry_overview.js,samples/README.md) |
+| Data_catalog.rename_tag_template_field | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1/data_catalog.rename_tag_template_field.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1/data_catalog.rename_tag_template_field.js,samples/README.md) |
+| Data_catalog.rename_tag_template_field_enum_value | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1/data_catalog.rename_tag_template_field_enum_value.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1/data_catalog.rename_tag_template_field_enum_value.js,samples/README.md) |
+| Data_catalog.search_catalog | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1/data_catalog.search_catalog.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1/data_catalog.search_catalog.js,samples/README.md) |
+| Data_catalog.set_iam_policy | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1/data_catalog.set_iam_policy.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1/data_catalog.set_iam_policy.js,samples/README.md) |
+| Data_catalog.star_entry | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1/data_catalog.star_entry.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1/data_catalog.star_entry.js,samples/README.md) |
+| Data_catalog.test_iam_permissions | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1/data_catalog.test_iam_permissions.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1/data_catalog.test_iam_permissions.js,samples/README.md) |
+| Data_catalog.unstar_entry | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1/data_catalog.unstar_entry.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1/data_catalog.unstar_entry.js,samples/README.md) |
+| Data_catalog.update_entry | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1/data_catalog.update_entry.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1/data_catalog.update_entry.js,samples/README.md) |
+| Data_catalog.update_entry_group | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1/data_catalog.update_entry_group.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1/data_catalog.update_entry_group.js,samples/README.md) |
+| Data_catalog.update_tag | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1/data_catalog.update_tag.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1/data_catalog.update_tag.js,samples/README.md) |
+| Data_catalog.update_tag_template | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1/data_catalog.update_tag_template.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1/data_catalog.update_tag_template.js,samples/README.md) |
+| Data_catalog.update_tag_template_field | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1/data_catalog.update_tag_template_field.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1/data_catalog.update_tag_template_field.js,samples/README.md) |
+| Policy_tag_manager.create_policy_tag | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1/policy_tag_manager.create_policy_tag.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1/policy_tag_manager.create_policy_tag.js,samples/README.md) |
+| Policy_tag_manager.create_taxonomy | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1/policy_tag_manager.create_taxonomy.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1/policy_tag_manager.create_taxonomy.js,samples/README.md) |
+| Policy_tag_manager.delete_policy_tag | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1/policy_tag_manager.delete_policy_tag.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1/policy_tag_manager.delete_policy_tag.js,samples/README.md) |
+| Policy_tag_manager.delete_taxonomy | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1/policy_tag_manager.delete_taxonomy.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1/policy_tag_manager.delete_taxonomy.js,samples/README.md) |
+| Policy_tag_manager.get_iam_policy | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1/policy_tag_manager.get_iam_policy.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1/policy_tag_manager.get_iam_policy.js,samples/README.md) |
+| Policy_tag_manager.get_policy_tag | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1/policy_tag_manager.get_policy_tag.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1/policy_tag_manager.get_policy_tag.js,samples/README.md) |
+| Policy_tag_manager.get_taxonomy | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1/policy_tag_manager.get_taxonomy.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1/policy_tag_manager.get_taxonomy.js,samples/README.md) |
+| Policy_tag_manager.list_policy_tags | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1/policy_tag_manager.list_policy_tags.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1/policy_tag_manager.list_policy_tags.js,samples/README.md) |
+| Policy_tag_manager.list_taxonomies | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1/policy_tag_manager.list_taxonomies.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1/policy_tag_manager.list_taxonomies.js,samples/README.md) |
+| Policy_tag_manager.set_iam_policy | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1/policy_tag_manager.set_iam_policy.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1/policy_tag_manager.set_iam_policy.js,samples/README.md) |
+| Policy_tag_manager.test_iam_permissions | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1/policy_tag_manager.test_iam_permissions.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1/policy_tag_manager.test_iam_permissions.js,samples/README.md) |
+| Policy_tag_manager.update_policy_tag | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1/policy_tag_manager.update_policy_tag.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1/policy_tag_manager.update_policy_tag.js,samples/README.md) |
+| Policy_tag_manager.update_taxonomy | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1/policy_tag_manager.update_taxonomy.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1/policy_tag_manager.update_taxonomy.js,samples/README.md) |
+| Policy_tag_manager_serialization.export_taxonomies | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1/policy_tag_manager_serialization.export_taxonomies.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1/policy_tag_manager_serialization.export_taxonomies.js,samples/README.md) |
+| Policy_tag_manager_serialization.import_taxonomies | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1/policy_tag_manager_serialization.import_taxonomies.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1/policy_tag_manager_serialization.import_taxonomies.js,samples/README.md) |
+| Policy_tag_manager_serialization.replace_taxonomy | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1/policy_tag_manager_serialization.replace_taxonomy.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1/policy_tag_manager_serialization.replace_taxonomy.js,samples/README.md) |
+| Data_catalog.create_entry | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1beta1/data_catalog.create_entry.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1beta1/data_catalog.create_entry.js,samples/README.md) |
+| Data_catalog.create_entry_group | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1beta1/data_catalog.create_entry_group.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1beta1/data_catalog.create_entry_group.js,samples/README.md) |
+| Data_catalog.create_tag | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1beta1/data_catalog.create_tag.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1beta1/data_catalog.create_tag.js,samples/README.md) |
+| Data_catalog.create_tag_template | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1beta1/data_catalog.create_tag_template.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1beta1/data_catalog.create_tag_template.js,samples/README.md) |
+| Data_catalog.create_tag_template_field | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1beta1/data_catalog.create_tag_template_field.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1beta1/data_catalog.create_tag_template_field.js,samples/README.md) |
+| Data_catalog.delete_entry | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1beta1/data_catalog.delete_entry.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1beta1/data_catalog.delete_entry.js,samples/README.md) |
+| Data_catalog.delete_entry_group | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1beta1/data_catalog.delete_entry_group.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1beta1/data_catalog.delete_entry_group.js,samples/README.md) |
+| Data_catalog.delete_tag | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1beta1/data_catalog.delete_tag.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1beta1/data_catalog.delete_tag.js,samples/README.md) |
+| Data_catalog.delete_tag_template | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1beta1/data_catalog.delete_tag_template.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1beta1/data_catalog.delete_tag_template.js,samples/README.md) |
+| Data_catalog.delete_tag_template_field | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1beta1/data_catalog.delete_tag_template_field.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1beta1/data_catalog.delete_tag_template_field.js,samples/README.md) |
+| Data_catalog.get_entry | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1beta1/data_catalog.get_entry.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1beta1/data_catalog.get_entry.js,samples/README.md) |
+| Data_catalog.get_entry_group | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1beta1/data_catalog.get_entry_group.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1beta1/data_catalog.get_entry_group.js,samples/README.md) |
+| Data_catalog.get_iam_policy | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1beta1/data_catalog.get_iam_policy.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1beta1/data_catalog.get_iam_policy.js,samples/README.md) |
+| Data_catalog.get_tag_template | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1beta1/data_catalog.get_tag_template.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1beta1/data_catalog.get_tag_template.js,samples/README.md) |
+| Data_catalog.list_entries | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1beta1/data_catalog.list_entries.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1beta1/data_catalog.list_entries.js,samples/README.md) |
+| Data_catalog.list_entry_groups | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1beta1/data_catalog.list_entry_groups.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1beta1/data_catalog.list_entry_groups.js,samples/README.md) |
+| Data_catalog.list_tags | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1beta1/data_catalog.list_tags.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1beta1/data_catalog.list_tags.js,samples/README.md) |
+| Data_catalog.lookup_entry | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1beta1/data_catalog.lookup_entry.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1beta1/data_catalog.lookup_entry.js,samples/README.md) |
+| Data_catalog.rename_tag_template_field | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1beta1/data_catalog.rename_tag_template_field.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1beta1/data_catalog.rename_tag_template_field.js,samples/README.md) |
+| Data_catalog.search_catalog | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1beta1/data_catalog.search_catalog.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1beta1/data_catalog.search_catalog.js,samples/README.md) |
+| Data_catalog.set_iam_policy | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1beta1/data_catalog.set_iam_policy.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1beta1/data_catalog.set_iam_policy.js,samples/README.md) |
+| Data_catalog.test_iam_permissions | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1beta1/data_catalog.test_iam_permissions.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1beta1/data_catalog.test_iam_permissions.js,samples/README.md) |
+| Data_catalog.update_entry | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1beta1/data_catalog.update_entry.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1beta1/data_catalog.update_entry.js,samples/README.md) |
+| Data_catalog.update_entry_group | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1beta1/data_catalog.update_entry_group.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1beta1/data_catalog.update_entry_group.js,samples/README.md) |
+| Data_catalog.update_tag | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1beta1/data_catalog.update_tag.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1beta1/data_catalog.update_tag.js,samples/README.md) |
+| Data_catalog.update_tag_template | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1beta1/data_catalog.update_tag_template.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1beta1/data_catalog.update_tag_template.js,samples/README.md) |
+| Data_catalog.update_tag_template_field | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1beta1/data_catalog.update_tag_template_field.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1beta1/data_catalog.update_tag_template_field.js,samples/README.md) |
+| Policy_tag_manager.create_policy_tag | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1beta1/policy_tag_manager.create_policy_tag.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1beta1/policy_tag_manager.create_policy_tag.js,samples/README.md) |
+| Policy_tag_manager.create_taxonomy | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1beta1/policy_tag_manager.create_taxonomy.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1beta1/policy_tag_manager.create_taxonomy.js,samples/README.md) |
+| Policy_tag_manager.delete_policy_tag | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1beta1/policy_tag_manager.delete_policy_tag.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1beta1/policy_tag_manager.delete_policy_tag.js,samples/README.md) |
+| Policy_tag_manager.delete_taxonomy | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1beta1/policy_tag_manager.delete_taxonomy.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1beta1/policy_tag_manager.delete_taxonomy.js,samples/README.md) |
+| Policy_tag_manager.get_iam_policy | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1beta1/policy_tag_manager.get_iam_policy.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1beta1/policy_tag_manager.get_iam_policy.js,samples/README.md) |
+| Policy_tag_manager.get_policy_tag | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1beta1/policy_tag_manager.get_policy_tag.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1beta1/policy_tag_manager.get_policy_tag.js,samples/README.md) |
+| Policy_tag_manager.get_taxonomy | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1beta1/policy_tag_manager.get_taxonomy.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1beta1/policy_tag_manager.get_taxonomy.js,samples/README.md) |
+| Policy_tag_manager.list_policy_tags | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1beta1/policy_tag_manager.list_policy_tags.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1beta1/policy_tag_manager.list_policy_tags.js,samples/README.md) |
+| Policy_tag_manager.list_taxonomies | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1beta1/policy_tag_manager.list_taxonomies.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1beta1/policy_tag_manager.list_taxonomies.js,samples/README.md) |
+| Policy_tag_manager.set_iam_policy | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1beta1/policy_tag_manager.set_iam_policy.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1beta1/policy_tag_manager.set_iam_policy.js,samples/README.md) |
+| Policy_tag_manager.test_iam_permissions | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1beta1/policy_tag_manager.test_iam_permissions.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1beta1/policy_tag_manager.test_iam_permissions.js,samples/README.md) |
+| Policy_tag_manager.update_policy_tag | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1beta1/policy_tag_manager.update_policy_tag.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1beta1/policy_tag_manager.update_policy_tag.js,samples/README.md) |
+| Policy_tag_manager.update_taxonomy | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1beta1/policy_tag_manager.update_taxonomy.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1beta1/policy_tag_manager.update_taxonomy.js,samples/README.md) |
+| Policy_tag_manager_serialization.export_taxonomies | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1beta1/policy_tag_manager_serialization.export_taxonomies.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1beta1/policy_tag_manager_serialization.export_taxonomies.js,samples/README.md) |
+| Policy_tag_manager_serialization.import_taxonomies | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/generated/v1beta1/policy_tag_manager_serialization.import_taxonomies.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/generated/v1beta1/policy_tag_manager_serialization.import_taxonomies.js,samples/README.md) |
+| Quickstart | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/quickstart.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/quickstart.js,samples/README.md) |
+| Quickstart.test | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datacatalog/samples/test/quickstart.test.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datacatalog/samples/test/quickstart.test.js,samples/README.md) |
+
+
+
+The [Data Catalog Node.js Client API Reference][client-docs] documentation
+also contains samples.
+
+## Supported Node.js Versions
+
+Our client libraries follow the [Node.js release schedule](https://nodejs.org/en/about/releases/).
+Libraries are compatible with all current _active_ and _maintenance_ versions of
+Node.js.
+If you are using an end-of-life version of Node.js, we recommend that you update
+as soon as possible to an actively supported LTS version.
+
+Google's client libraries support legacy versions of Node.js runtimes on a
+best-efforts basis with the following warnings:
+
+* Legacy versions are not tested in continuous integration.
+* Some security patches and features cannot be backported.
+* Dependencies cannot be kept up-to-date.
+
+Client libraries targeting some end-of-life versions of Node.js are available, and
+can be installed through npm [dist-tags](https://docs.npmjs.com/cli/dist-tag).
+The dist-tags follow the naming convention `legacy-(version)`.
+For example, `npm install @google-cloud/datacatalog@legacy-8` installs client libraries
+for versions compatible with Node.js 8.
+
+## Versioning
+
+This library follows [Semantic Versioning](http://semver.org/).
+
+
+
+This library is considered to be **stable**. The code surface will not change in backwards-incompatible ways
+unless absolutely necessary (e.g. because of critical security issues) or with
+an extensive deprecation period. Issues and requests against **stable** libraries
+are addressed with the highest priority.
+
+
+
+
+
+
+More Information: [Google Cloud Platform Launch Stages][launch_stages]
+
+[launch_stages]: https://cloud.google.com/terms/launch-stages
+
+## Contributing
+
+Contributions welcome! See the [Contributing Guide](https://github.com/googleapis/google-cloud-node/blob/main/CONTRIBUTING.md).
+
+Please note that this `README.md`, the `samples/README.md`,
+and a variety of configuration files in this repository (including `.nycrc` and `tsconfig.json`)
+are generated from a central template. To edit one of these files, make an edit
+to its templates in
+[directory](https://github.com/googleapis/synthtool).
+
+## License
+
+Apache Version 2.0
+
+See [LICENSE](https://github.com/googleapis/google-cloud-node/blob/main/LICENSE)
+
+[client-docs]: https://cloud.google.com/nodejs/docs/reference/datacatalog/latest
+[product-docs]: https://cloud.google.com/data-catalog/
+[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=datacatalog.googleapis.com
+[auth]: https://cloud.google.com/docs/authentication/getting-started
diff --git a/packages/google-cloud-datacatalog/linkinator.config.json b/packages/google-cloud-datacatalog/linkinator.config.json
new file mode 100644
index 00000000000..29a223b6db6
--- /dev/null
+++ b/packages/google-cloud-datacatalog/linkinator.config.json
@@ -0,0 +1,10 @@
+{
+ "recurse": true,
+ "skip": [
+ "https://codecov.io/gh/googleapis/",
+ "www.googleapis.com",
+ "img.shields.io"
+ ],
+ "silent": true,
+ "concurrency": 10
+}
diff --git a/packages/google-cloud-datacatalog/owlbot.py b/packages/google-cloud-datacatalog/owlbot.py
new file mode 100644
index 00000000000..1101254bb1b
--- /dev/null
+++ b/packages/google-cloud-datacatalog/owlbot.py
@@ -0,0 +1,33 @@
+# Copyright 2018 Google LLC
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""This script is used to synthesize generated parts of this library."""
+
+import synthtool as s
+import synthtool.languages.node_mono_repo as node
+
+node.owlbot_main(relative_dir="packages/google-cloud-datacatalog",staging_excludes=[
+ 'README.md', 'linkinator.config.json', '.mocharc.json', 'package.json'])
+
+# TODO: Remove the following replace once Datacatalog is ready to release a break change
+# Users should use beta Client with explicitly specify the beta version
+# Add beta version PolicyTagManagerClient, PolicyTagManagerSerializationClient to export
+s.replace('src/index.ts',
+ '\nexport \{v1\, v1beta1\, DataCatalogClient\}\;\nexport default \{v1\, v1beta1\, DataCatalogClient\}\;',
+ """const PolicyTagManagerClient = v1beta1.PolicyTagManagerClient;
+type PolicyTagManagerClient = v1beta1.PolicyTagManagerClient;
+const PolicyTagManagerSerializationClient = v1beta1.PolicyTagManagerSerializationClient;
+type PolicyTagManagerSerializationClient = v1beta1.PolicyTagManagerSerializationClient;
+export {v1, v1beta1, DataCatalogClient, PolicyTagManagerClient, PolicyTagManagerSerializationClient};
+export default {v1, v1beta1, DataCatalogClient, PolicyTagManagerClient, PolicyTagManagerSerializationClient};""")
diff --git a/packages/google-cloud-datacatalog/package.json b/packages/google-cloud-datacatalog/package.json
new file mode 100644
index 00000000000..b7cfda443f8
--- /dev/null
+++ b/packages/google-cloud-datacatalog/package.json
@@ -0,0 +1,72 @@
+{
+ "repository": {
+ "type": "git",
+ "directory": "packages/google-cloud-datacatalog",
+ "url": "https://github.com/googleapis/google-cloud-node.git"
+ },
+ "name": "@google-cloud/datacatalog",
+ "version": "3.1.1",
+ "author": "Google LLC",
+ "description": "Google Cloud Data Catalog API client for Node.js",
+ "main": "build/src/index.js",
+ "files": [
+ "build/src",
+ "build/protos",
+ "AUTHORS",
+ "COPYING"
+ ],
+ "keywords": [
+ "google apis client",
+ "google api client",
+ "google apis",
+ "google api",
+ "google",
+ "google cloud platform",
+ "google cloud",
+ "cloud",
+ "google datacatalog",
+ "datacatalog",
+ "Google Cloud Data Catalog API"
+ ],
+ "dependencies": {
+ "google-gax": "^3.5.2"
+ },
+ "devDependencies": {
+ "@types/mocha": "^9.0.0",
+ "@types/node": "^18.0.0",
+ "@types/sinon": "^10.0.0",
+ "c8": "^7.0.0",
+ "chai": "^4.2.0",
+ "gts": "^3.1.0",
+ "jsdoc": "^4.0.0",
+ "jsdoc-fresh": "^2.0.0",
+ "jsdoc-region-tag": "^2.0.0",
+ "linkinator": "^4.0.0",
+ "mocha": "^9.2.2",
+ "pack-n-play": "^1.0.0-2",
+ "sinon": "^14.0.0",
+ "typescript": "^4.6.4"
+ },
+ "scripts": {
+ "docs": "jsdoc -c .jsdoc.js",
+ "fix": "gts fix",
+ "lint": "gts check",
+ "test": "c8 mocha build/test/*.js",
+ "predocs-test": "npm run docs",
+ "docs-test": "linkinator docs",
+ "samples-test": "npm run compile && cd samples/ && npm link ../ && npm i && npm test",
+ "system-test": "npm run compile && c8 mocha build/system-test",
+ "compile": "tsc -p . && cp -r protos build/",
+ "compile-protos": "compileProtos src",
+ "prepare": "npm run compile-protos && npm run compile",
+ "pretest": "npm run compile",
+ "prelint": "cd samples; npm link ../; npm install",
+ "clean": "gts clean",
+ "precompile": "gts clean"
+ },
+ "license": "Apache-2.0",
+ "engines": {
+ "node": ">=12.0.0"
+ },
+ "homepage": "https://github.com/googleapis/google-cloud-node/tree/main/packages/google-cloud-datacatalog"
+}
diff --git a/packages/google-cloud-datacatalog/prettier.config.js b/packages/google-cloud-datacatalog/prettier.config.js
new file mode 100644
index 00000000000..a425d3f7618
--- /dev/null
+++ b/packages/google-cloud-datacatalog/prettier.config.js
@@ -0,0 +1,4 @@
+module.exports = {
+ singleQuote: true,
+ trailingComma: 'es5',
+};
diff --git a/packages/google-cloud-datacatalog/protos/google/cloud/common_resources.proto b/packages/google-cloud-datacatalog/protos/google/cloud/common_resources.proto
new file mode 100644
index 00000000000..56c9f800d5e
--- /dev/null
+++ b/packages/google-cloud-datacatalog/protos/google/cloud/common_resources.proto
@@ -0,0 +1,52 @@
+// Copyright 2019 Google LLC.
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+// This file contains stub messages for common resources in GCP.
+// It is not intended to be directly generated, and is instead used by
+// other tooling to be able to match common resource patterns.
+syntax = "proto3";
+
+package google.cloud;
+
+import "google/api/resource.proto";
+
+
+option (google.api.resource_definition) = {
+ type: "cloudresourcemanager.googleapis.com/Project"
+ pattern: "projects/{project}"
+};
+
+
+option (google.api.resource_definition) = {
+ type: "cloudresourcemanager.googleapis.com/Organization"
+ pattern: "organizations/{organization}"
+};
+
+
+option (google.api.resource_definition) = {
+ type: "cloudresourcemanager.googleapis.com/Folder"
+ pattern: "folders/{folder}"
+};
+
+
+option (google.api.resource_definition) = {
+ type: "cloudbilling.googleapis.com/BillingAccount"
+ pattern: "billingAccounts/{billing_account}"
+};
+
+option (google.api.resource_definition) = {
+ type: "locations.googleapis.com/Location"
+ pattern: "projects/{project}/locations/{location}"
+};
+
diff --git a/packages/google-cloud-datacatalog/protos/google/cloud/datacatalog/v1/bigquery.proto b/packages/google-cloud-datacatalog/protos/google/cloud/datacatalog/v1/bigquery.proto
new file mode 100644
index 00000000000..4be42ebba3d
--- /dev/null
+++ b/packages/google-cloud-datacatalog/protos/google/cloud/datacatalog/v1/bigquery.proto
@@ -0,0 +1,82 @@
+// Copyright 2022 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+syntax = "proto3";
+
+package google.cloud.datacatalog.v1;
+
+import "google/api/field_behavior.proto";
+
+option cc_enable_arenas = true;
+option csharp_namespace = "Google.Cloud.DataCatalog.V1";
+option go_package = "google.golang.org/genproto/googleapis/cloud/datacatalog/v1;datacatalog";
+option java_multiple_files = true;
+option java_outer_classname = "BigQueryProto";
+option java_package = "com.google.cloud.datacatalog.v1";
+option php_namespace = "Google\\Cloud\\DataCatalog\\V1";
+option ruby_package = "Google::Cloud::DataCatalog::V1";
+
+// Specification for the BigQuery connection.
+message BigQueryConnectionSpec {
+ // The type of the BigQuery connection.
+ enum ConnectionType {
+ // Unspecified type.
+ CONNECTION_TYPE_UNSPECIFIED = 0;
+
+ // Cloud SQL connection.
+ CLOUD_SQL = 1;
+ }
+
+ // The type of the BigQuery connection.
+ ConnectionType connection_type = 1;
+
+ oneof connection_spec {
+ // Specification for the BigQuery connection to a Cloud SQL instance.
+ CloudSqlBigQueryConnectionSpec cloud_sql = 2;
+ }
+
+ // True if there are credentials attached to the BigQuery connection; false
+ // otherwise.
+ bool has_credential = 3;
+}
+
+// Specification for the BigQuery connection to a Cloud SQL instance.
+message CloudSqlBigQueryConnectionSpec {
+ // Supported Cloud SQL database types.
+ enum DatabaseType {
+ // Unspecified database type.
+ DATABASE_TYPE_UNSPECIFIED = 0;
+
+ // Cloud SQL for PostgreSQL.
+ POSTGRES = 1;
+
+ // Cloud SQL for MySQL.
+ MYSQL = 2;
+ }
+
+ // Cloud SQL instance ID in the format of `project:location:instance`.
+ string instance_id = 1;
+
+ // Database name.
+ string database = 2;
+
+ // Type of the Cloud SQL database.
+ DatabaseType type = 3;
+}
+
+// Fields specific for BigQuery routines.
+message BigQueryRoutineSpec {
+ // Paths of the imported libraries.
+ repeated string imported_libraries = 1;
+}
diff --git a/packages/google-cloud-datacatalog/protos/google/cloud/datacatalog/v1/common.proto b/packages/google-cloud-datacatalog/protos/google/cloud/datacatalog/v1/common.proto
new file mode 100644
index 00000000000..7a6bef5f222
--- /dev/null
+++ b/packages/google-cloud-datacatalog/protos/google/cloud/datacatalog/v1/common.proto
@@ -0,0 +1,54 @@
+// Copyright 2022 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+syntax = "proto3";
+
+package google.cloud.datacatalog.v1;
+
+import "google/protobuf/timestamp.proto";
+
+option cc_enable_arenas = true;
+option csharp_namespace = "Google.Cloud.DataCatalog.V1";
+option go_package = "google.golang.org/genproto/googleapis/cloud/datacatalog/v1;datacatalog";
+option java_multiple_files = true;
+option java_package = "com.google.cloud.datacatalog.v1";
+option php_namespace = "Google\\Cloud\\DataCatalog\\V1";
+option ruby_package = "Google::Cloud::DataCatalog::V1";
+
+// Entry metadata relevant only to the user and private to them.
+message PersonalDetails {
+ // True if the entry is starred by the user; false otherwise.
+ bool starred = 1;
+
+ // Set if the entry is starred; unset otherwise.
+ google.protobuf.Timestamp star_time = 2;
+}
+
+// This enum lists all the systems that Data Catalog integrates with.
+enum IntegratedSystem {
+ // Default unknown system.
+ INTEGRATED_SYSTEM_UNSPECIFIED = 0;
+
+ // BigQuery.
+ BIGQUERY = 1;
+
+ // Cloud Pub/Sub.
+ CLOUD_PUBSUB = 2;
+
+ // Dataproc Metastore.
+ DATAPROC_METASTORE = 3;
+
+ // Dataplex.
+ DATAPLEX = 4;
+}
diff --git a/packages/google-cloud-datacatalog/protos/google/cloud/datacatalog/v1/data_source.proto b/packages/google-cloud-datacatalog/protos/google/cloud/datacatalog/v1/data_source.proto
new file mode 100644
index 00000000000..a73ff09c756
--- /dev/null
+++ b/packages/google-cloud-datacatalog/protos/google/cloud/datacatalog/v1/data_source.proto
@@ -0,0 +1,87 @@
+// Copyright 2022 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+syntax = "proto3";
+
+package google.cloud.datacatalog.v1;
+
+import "google/api/field_behavior.proto";
+
+option cc_enable_arenas = true;
+option csharp_namespace = "Google.Cloud.DataCatalog.V1";
+option go_package = "google.golang.org/genproto/googleapis/cloud/datacatalog/v1;datacatalog";
+option java_multiple_files = true;
+option java_outer_classname = "DataSourceProto";
+option java_package = "com.google.cloud.datacatalog.v1";
+option php_namespace = "Google\\Cloud\\DataCatalog\\V1";
+option ruby_package = "Google::Cloud::DataCatalog::V1";
+
+// Physical location of an entry.
+message DataSource {
+ // Name of a service that stores the data.
+ enum Service {
+ // Default unknown service.
+ SERVICE_UNSPECIFIED = 0;
+
+ // Google Cloud Storage service.
+ CLOUD_STORAGE = 1;
+
+ // BigQuery service.
+ BIGQUERY = 2;
+ }
+
+ // Service that physically stores the data.
+ Service service = 1;
+
+ // Full name of a resource as defined by the service. For example:
+ //
+ // `//bigquery.googleapis.com/projects/{PROJECT_ID}/locations/{LOCATION}/datasets/{DATASET_ID}/tables/{TABLE_ID}`
+ string resource = 2;
+
+ // Output only. Data Catalog entry name, if applicable.
+ string source_entry = 3 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ oneof properties {
+ // Detailed properties of the underlying storage.
+ StorageProperties storage_properties = 4;
+ }
+}
+
+// Details the properties of the underlying storage.
+message StorageProperties {
+ // Patterns to identify a set of files for this fileset.
+ //
+ // Examples of a valid `file_pattern`:
+ //
+ // * `gs://bucket_name/dir/*`: matches all files in the `bucket_name/dir`
+ // directory
+ // * `gs://bucket_name/dir/**`: matches all files in the `bucket_name/dir`
+ // and all subdirectories recursively
+ // * `gs://bucket_name/file*`: matches files prefixed by `file` in
+ // `bucket_name`
+ // * `gs://bucket_name/??.txt`: matches files with two characters followed by
+ // `.txt` in `bucket_name`
+ // * `gs://bucket_name/[aeiou].txt`: matches files that contain a single
+ // vowel character followed by `.txt` in
+ // `bucket_name`
+ // * `gs://bucket_name/[a-m].txt`: matches files that contain `a`, `b`, ...
+ // or `m` followed by `.txt` in `bucket_name`
+ // * `gs://bucket_name/a/*/b`: matches all files in `bucket_name` that match
+ // the `a/*/b` pattern, such as `a/c/b`, `a/d/b`
+ // * `gs://another_bucket/a.txt`: matches `gs://another_bucket/a.txt`
+ repeated string file_pattern = 1;
+
+ // File type in MIME format, for example, `text/plain`.
+ string file_type = 2;
+}
diff --git a/packages/google-cloud-datacatalog/protos/google/cloud/datacatalog/v1/datacatalog.proto b/packages/google-cloud-datacatalog/protos/google/cloud/datacatalog/v1/datacatalog.proto
new file mode 100644
index 00000000000..4508e076634
--- /dev/null
+++ b/packages/google-cloud-datacatalog/protos/google/cloud/datacatalog/v1/datacatalog.proto
@@ -0,0 +1,1710 @@
+// Copyright 2022 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+syntax = "proto3";
+
+package google.cloud.datacatalog.v1;
+
+import "google/api/annotations.proto";
+import "google/api/client.proto";
+import "google/api/field_behavior.proto";
+import "google/api/resource.proto";
+import "google/cloud/datacatalog/v1/bigquery.proto";
+import "google/cloud/datacatalog/v1/common.proto";
+import "google/cloud/datacatalog/v1/data_source.proto";
+import "google/cloud/datacatalog/v1/dataplex_spec.proto";
+import "google/cloud/datacatalog/v1/gcs_fileset_spec.proto";
+import "google/cloud/datacatalog/v1/schema.proto";
+import "google/cloud/datacatalog/v1/search.proto";
+import "google/cloud/datacatalog/v1/table_spec.proto";
+import "google/cloud/datacatalog/v1/tags.proto";
+import "google/cloud/datacatalog/v1/timestamps.proto";
+import "google/cloud/datacatalog/v1/usage.proto";
+import "google/iam/v1/iam_policy.proto";
+import "google/iam/v1/policy.proto";
+import "google/protobuf/empty.proto";
+import "google/protobuf/field_mask.proto";
+
+option cc_enable_arenas = true;
+option csharp_namespace = "Google.Cloud.DataCatalog.V1";
+option go_package = "google.golang.org/genproto/googleapis/cloud/datacatalog/v1;datacatalog";
+option java_multiple_files = true;
+option java_package = "com.google.cloud.datacatalog.v1";
+option php_namespace = "Google\\Cloud\\DataCatalog\\V1";
+option ruby_package = "Google::Cloud::DataCatalog::V1";
+option (google.api.resource_definition) = {
+ type: "datacatalog.googleapis.com/TagTemplateFieldEnumValue"
+ pattern: "projects/{project}/locations/{location}/tagTemplates/{tag_template}/fields/{tag_template_field_id}/enumValues/{enum_value_display_name}"
+};
+
+// Data Catalog API service allows you to discover, understand, and manage
+// your data.
+service DataCatalog {
+ option (google.api.default_host) = "datacatalog.googleapis.com";
+ option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/cloud-platform";
+
+ // Searches Data Catalog for multiple resources like entries and tags that
+ // match a query.
+ //
+ // This is a [Custom Method]
+ // (https://cloud.google.com/apis/design/custom_methods) that doesn't return
+ // all information on a resource, only its ID and high level fields. To get
+ // more information, you can subsequently call specific get methods.
+ //
+ // Note: Data Catalog search queries don't guarantee full recall. Results
+ // that match your query might not be returned, even in subsequent
+ // result pages. Additionally, returned (and not returned) results can vary
+ // if you repeat search queries.
+ //
+ // For more information, see [Data Catalog search syntax]
+ // (https://cloud.google.com/data-catalog/docs/how-to/search-reference).
+ rpc SearchCatalog(SearchCatalogRequest) returns (SearchCatalogResponse) {
+ option (google.api.http) = {
+ post: "/v1/catalog:search"
+ body: "*"
+ };
+ option (google.api.method_signature) = "scope,query";
+ }
+
+ // Creates an entry group.
+ //
+ // An entry group contains logically related entries together with [Cloud
+ // Identity and Access Management](/data-catalog/docs/concepts/iam) policies.
+ // These policies specify users who can create, edit, and view entries
+ // within entry groups.
+ //
+ // Data Catalog automatically creates entry groups with names that start with
+ // the `@` symbol for the following resources:
+ //
+ // * BigQuery entries (`@bigquery`)
+ // * Pub/Sub topics (`@pubsub`)
+ // * Dataproc Metastore services (`@dataproc_metastore_{SERVICE_NAME_HASH}`)
+ //
+ // You can create your own entry groups for Cloud Storage fileset entries
+ // and custom entries together with the corresponding IAM policies.
+ // User-created entry groups can't contain the `@` symbol, it is reserved
+ // for automatically created groups.
+ //
+ // Entry groups, like entries, can be searched.
+ //
+ // A maximum of 10,000 entry groups may be created per organization across all
+ // locations.
+ //
+ // You must enable the Data Catalog API in the project identified by
+ // the `parent` parameter. For more information, see [Data Catalog resource
+ // project](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
+ rpc CreateEntryGroup(CreateEntryGroupRequest) returns (EntryGroup) {
+ option (google.api.http) = {
+ post: "/v1/{parent=projects/*/locations/*}/entryGroups"
+ body: "entry_group"
+ };
+ option (google.api.method_signature) = "parent,entry_group_id,entry_group";
+ }
+
+ // Gets an entry group.
+ rpc GetEntryGroup(GetEntryGroupRequest) returns (EntryGroup) {
+ option (google.api.http) = {
+ get: "/v1/{name=projects/*/locations/*/entryGroups/*}"
+ };
+ option (google.api.method_signature) = "name";
+ option (google.api.method_signature) = "name,read_mask";
+ }
+
+ // Updates an entry group.
+ //
+ // You must enable the Data Catalog API in the project identified by
+ // the `entry_group.name` parameter. For more information, see [Data Catalog
+ // resource
+ // project](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
+ rpc UpdateEntryGroup(UpdateEntryGroupRequest) returns (EntryGroup) {
+ option (google.api.http) = {
+ patch: "/v1/{entry_group.name=projects/*/locations/*/entryGroups/*}"
+ body: "entry_group"
+ };
+ option (google.api.method_signature) = "entry_group";
+ option (google.api.method_signature) = "entry_group,update_mask";
+ }
+
+ // Deletes an entry group.
+ //
+ // You must enable the Data Catalog API in the project
+ // identified by the `name` parameter. For more information, see [Data Catalog
+ // resource
+ // project](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
+ rpc DeleteEntryGroup(DeleteEntryGroupRequest) returns (google.protobuf.Empty) {
+ option (google.api.http) = {
+ delete: "/v1/{name=projects/*/locations/*/entryGroups/*}"
+ };
+ option (google.api.method_signature) = "name";
+ }
+
+ // Lists entry groups.
+ rpc ListEntryGroups(ListEntryGroupsRequest) returns (ListEntryGroupsResponse) {
+ option (google.api.http) = {
+ get: "/v1/{parent=projects/*/locations/*}/entryGroups"
+ };
+ option (google.api.method_signature) = "parent";
+ }
+
+ // Creates an entry.
+ //
+ // You can create entries only with 'FILESET', 'CLUSTER', 'DATA_STREAM',
+ // or custom types. Data Catalog automatically creates entries with other
+ // types during metadata ingestion from integrated systems.
+ //
+ // You must enable the Data Catalog API in the project identified by
+ // the `parent` parameter. For more information, see [Data Catalog resource
+ // project](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
+ //
+ // An entry group can have a maximum of 100,000 entries.
+ rpc CreateEntry(CreateEntryRequest) returns (Entry) {
+ option (google.api.http) = {
+ post: "/v1/{parent=projects/*/locations/*/entryGroups/*}/entries"
+ body: "entry"
+ };
+ option (google.api.method_signature) = "parent,entry_id,entry";
+ }
+
+ // Updates an existing entry.
+ //
+ // You must enable the Data Catalog API in the project identified by
+ // the `entry.name` parameter. For more information, see [Data Catalog
+ // resource
+ // project](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
+ rpc UpdateEntry(UpdateEntryRequest) returns (Entry) {
+ option (google.api.http) = {
+ patch: "/v1/{entry.name=projects/*/locations/*/entryGroups/*/entries/*}"
+ body: "entry"
+ };
+ option (google.api.method_signature) = "entry";
+ option (google.api.method_signature) = "entry,update_mask";
+ }
+
+ // Deletes an existing entry.
+ //
+ // You can delete only the entries created by the
+ // [CreateEntry][google.cloud.datacatalog.v1.DataCatalog.CreateEntry]
+ // method.
+ //
+ // You must enable the Data Catalog API in the project identified by
+ // the `name` parameter. For more information, see [Data Catalog
+ // resource
+ // project](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
+ rpc DeleteEntry(DeleteEntryRequest) returns (google.protobuf.Empty) {
+ option (google.api.http) = {
+ delete: "/v1/{name=projects/*/locations/*/entryGroups/*/entries/*}"
+ };
+ option (google.api.method_signature) = "name";
+ }
+
+ // Gets an entry.
+ rpc GetEntry(GetEntryRequest) returns (Entry) {
+ option (google.api.http) = {
+ get: "/v1/{name=projects/*/locations/*/entryGroups/*/entries/*}"
+ };
+ option (google.api.method_signature) = "name";
+ }
+
+ // Gets an entry by its target resource name.
+ //
+ // The resource name comes from the source Google Cloud Platform service.
+ rpc LookupEntry(LookupEntryRequest) returns (Entry) {
+ option (google.api.http) = {
+ get: "/v1/entries:lookup"
+ };
+ }
+
+ // Lists entries.
+ //
+ // Note: Currently, this method can list only custom entries.
+ // To get a list of both custom and automatically created entries, use
+ // [SearchCatalog][google.cloud.datacatalog.v1.DataCatalog.SearchCatalog].
+ rpc ListEntries(ListEntriesRequest) returns (ListEntriesResponse) {
+ option (google.api.http) = {
+ get: "/v1/{parent=projects/*/locations/*/entryGroups/*}/entries"
+ };
+ option (google.api.method_signature) = "parent";
+ }
+
+ // Modifies entry overview, part of the business context of an
+ // [Entry][google.cloud.datacatalog.v1.Entry].
+ //
+ // To call this method, you must have the `datacatalog.entries.updateOverview`
+ // IAM permission on the corresponding project.
+ rpc ModifyEntryOverview(ModifyEntryOverviewRequest) returns (EntryOverview) {
+ option (google.api.http) = {
+ post: "/v1/{name=projects/*/locations/*/entryGroups/*/entries/*}:modifyEntryOverview"
+ body: "*"
+ };
+ }
+
+ // Modifies contacts, part of the business context of an
+ // [Entry][google.cloud.datacatalog.v1.Entry].
+ //
+ // To call this method, you must have the `datacatalog.entries.updateContacts`
+ // IAM permission on the corresponding project.
+ rpc ModifyEntryContacts(ModifyEntryContactsRequest) returns (Contacts) {
+ option (google.api.http) = {
+ post: "/v1/{name=projects/*/locations/*/entryGroups/*/entries/*}:modifyEntryContacts"
+ body: "*"
+ };
+ }
+
+ // Creates a tag template.
+ //
+ // You must enable the Data Catalog API in the project identified by the
+ // `parent` parameter.
+ // For more information, see [Data Catalog resource project]
+ // (https://cloud.google.com/data-catalog/docs/concepts/resource-project).
+ rpc CreateTagTemplate(CreateTagTemplateRequest) returns (TagTemplate) {
+ option (google.api.http) = {
+ post: "/v1/{parent=projects/*/locations/*}/tagTemplates"
+ body: "tag_template"
+ };
+ option (google.api.method_signature) = "parent,tag_template_id,tag_template";
+ }
+
+ // Gets a tag template.
+ rpc GetTagTemplate(GetTagTemplateRequest) returns (TagTemplate) {
+ option (google.api.http) = {
+ get: "/v1/{name=projects/*/locations/*/tagTemplates/*}"
+ };
+ option (google.api.method_signature) = "name";
+ }
+
+ // Updates a tag template.
+ //
+ // You can't update template fields with this method. These fields are
+ // separate resources with their own create, update, and delete methods.
+ //
+ // You must enable the Data Catalog API in the project identified by
+ // the `tag_template.name` parameter. For more information, see [Data Catalog
+ // resource
+ // project](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
+ rpc UpdateTagTemplate(UpdateTagTemplateRequest) returns (TagTemplate) {
+ option (google.api.http) = {
+ patch: "/v1/{tag_template.name=projects/*/locations/*/tagTemplates/*}"
+ body: "tag_template"
+ };
+ option (google.api.method_signature) = "tag_template";
+ option (google.api.method_signature) = "tag_template,update_mask";
+ }
+
+ // Deletes a tag template and all tags that use it.
+ //
+ // You must enable the Data Catalog API in the project identified by
+ // the `name` parameter. For more information, see [Data Catalog resource
+ // project](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
+ rpc DeleteTagTemplate(DeleteTagTemplateRequest) returns (google.protobuf.Empty) {
+ option (google.api.http) = {
+ delete: "/v1/{name=projects/*/locations/*/tagTemplates/*}"
+ };
+ option (google.api.method_signature) = "name,force";
+ }
+
+ // Creates a field in a tag template.
+ //
+ // You must enable the Data Catalog API in the project identified by
+ // the `parent` parameter. For more information, see [Data Catalog resource
+ // project](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
+ rpc CreateTagTemplateField(CreateTagTemplateFieldRequest) returns (TagTemplateField) {
+ option (google.api.http) = {
+ post: "/v1/{parent=projects/*/locations/*/tagTemplates/*}/fields"
+ body: "tag_template_field"
+ };
+ option (google.api.method_signature) = "parent,tag_template_field_id,tag_template_field";
+ }
+
+ // Updates a field in a tag template.
+ //
+ // You can't update the field type with this method.
+ //
+ // You must enable the Data Catalog API in the project
+ // identified by the `name` parameter. For more information, see [Data Catalog
+ // resource
+ // project](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
+ rpc UpdateTagTemplateField(UpdateTagTemplateFieldRequest) returns (TagTemplateField) {
+ option (google.api.http) = {
+ patch: "/v1/{name=projects/*/locations/*/tagTemplates/*/fields/*}"
+ body: "tag_template_field"
+ };
+ option (google.api.method_signature) = "name,tag_template_field";
+ option (google.api.method_signature) = "name,tag_template_field,update_mask";
+ }
+
+ // Renames a field in a tag template.
+ //
+ // You must enable the Data Catalog API in the project identified by the
+ // `name` parameter. For more information, see [Data Catalog resource project]
+ // (https://cloud.google.com/data-catalog/docs/concepts/resource-project).
+ rpc RenameTagTemplateField(RenameTagTemplateFieldRequest) returns (TagTemplateField) {
+ option (google.api.http) = {
+ post: "/v1/{name=projects/*/locations/*/tagTemplates/*/fields/*}:rename"
+ body: "*"
+ };
+ option (google.api.method_signature) = "name,new_tag_template_field_id";
+ }
+
+ // Renames an enum value in a tag template.
+ //
+ // Within a single enum field, enum values must be unique.
+ rpc RenameTagTemplateFieldEnumValue(RenameTagTemplateFieldEnumValueRequest) returns (TagTemplateField) {
+ option (google.api.http) = {
+ post: "/v1/{name=projects/*/locations/*/tagTemplates/*/fields/*/enumValues/*}:rename"
+ body: "*"
+ };
+ option (google.api.method_signature) = "name,new_enum_value_display_name";
+ }
+
+ // Deletes a field in a tag template and all uses of this field from the tags
+ // based on this template.
+ //
+ // You must enable the Data Catalog API in the project identified by
+ // the `name` parameter. For more information, see [Data Catalog resource
+ // project](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
+ rpc DeleteTagTemplateField(DeleteTagTemplateFieldRequest) returns (google.protobuf.Empty) {
+ option (google.api.http) = {
+ delete: "/v1/{name=projects/*/locations/*/tagTemplates/*/fields/*}"
+ };
+ option (google.api.method_signature) = "name,force";
+ }
+
+ // Creates a tag and assigns it to:
+ //
+ // * An [Entry][google.cloud.datacatalog.v1.Entry] if the method name is
+ // `projects.locations.entryGroups.entries.tags.create`.
+ // * Or [EntryGroup][google.cloud.datacatalog.v1.EntryGroup]if the method
+ // name is `projects.locations.entryGroups.tags.create`.
+ //
+ // Note: The project identified by the `parent` parameter for the [tag]
+ // (https://cloud.google.com/data-catalog/docs/reference/rest/v1/projects.locations.entryGroups.entries.tags/create#path-parameters)
+ // and the [tag template]
+ // (https://cloud.google.com/data-catalog/docs/reference/rest/v1/projects.locations.tagTemplates/create#path-parameters)
+ // used to create the tag must be in the same organization.
+ rpc CreateTag(CreateTagRequest) returns (Tag) {
+ option (google.api.http) = {
+ post: "/v1/{parent=projects/*/locations/*/entryGroups/*/entries/*}/tags"
+ body: "tag"
+ additional_bindings {
+ post: "/v1/{parent=projects/*/locations/*/entryGroups/*}/tags"
+ body: "tag"
+ }
+ };
+ option (google.api.method_signature) = "parent,tag";
+ }
+
+ // Updates an existing tag.
+ rpc UpdateTag(UpdateTagRequest) returns (Tag) {
+ option (google.api.http) = {
+ patch: "/v1/{tag.name=projects/*/locations/*/entryGroups/*/entries/*/tags/*}"
+ body: "tag"
+ additional_bindings {
+ patch: "/v1/{tag.name=projects/*/locations/*/entryGroups/*/tags/*}"
+ body: "tag"
+ }
+ };
+ option (google.api.method_signature) = "tag";
+ option (google.api.method_signature) = "tag,update_mask";
+ }
+
+ // Deletes a tag.
+ rpc DeleteTag(DeleteTagRequest) returns (google.protobuf.Empty) {
+ option (google.api.http) = {
+ delete: "/v1/{name=projects/*/locations/*/entryGroups/*/entries/*/tags/*}"
+ additional_bindings {
+ delete: "/v1/{name=projects/*/locations/*/entryGroups/*/tags/*}"
+ }
+ };
+ option (google.api.method_signature) = "name";
+ }
+
+ // Lists tags assigned to an [Entry][google.cloud.datacatalog.v1.Entry].
+ // The [columns][google.cloud.datacatalog.v1.Tag.column] in the response are
+ // lowercased.
+ rpc ListTags(ListTagsRequest) returns (ListTagsResponse) {
+ option (google.api.http) = {
+ get: "/v1/{parent=projects/*/locations/*/entryGroups/*/entries/*}/tags"
+ additional_bindings {
+ get: "/v1/{parent=projects/*/locations/*/entryGroups/*}/tags"
+ }
+ };
+ option (google.api.method_signature) = "parent";
+ }
+
+ // Marks an [Entry][google.cloud.datacatalog.v1.Entry] as starred by
+ // the current user. Starring information is private to each user.
+ rpc StarEntry(StarEntryRequest) returns (StarEntryResponse) {
+ option (google.api.http) = {
+ post: "/v1/{name=projects/*/locations/*/entryGroups/*/entries/*}:star"
+ body: "*"
+ };
+ option (google.api.method_signature) = "name";
+ }
+
+ // Marks an [Entry][google.cloud.datacatalog.v1.Entry] as NOT starred by
+ // the current user. Starring information is private to each user.
+ rpc UnstarEntry(UnstarEntryRequest) returns (UnstarEntryResponse) {
+ option (google.api.http) = {
+ post: "/v1/{name=projects/*/locations/*/entryGroups/*/entries/*}:unstar"
+ body: "*"
+ };
+ option (google.api.method_signature) = "name";
+ }
+
+ // Sets an access control policy for a resource. Replaces any existing
+ // policy.
+ //
+ // Supported resources are:
+ //
+ // - Tag templates
+ // - Entry groups
+ //
+ // Note: This method sets policies only within Data Catalog and can't be
+ // used to manage policies in BigQuery, Pub/Sub, Dataproc Metastore, and any
+ // external Google Cloud Platform resources synced with the Data Catalog.
+ //
+ // To call this method, you must have the following Google IAM permissions:
+ //
+ // - `datacatalog.tagTemplates.setIamPolicy` to set policies on tag
+ // templates.
+ // - `datacatalog.entryGroups.setIamPolicy` to set policies on entry groups.
+ rpc SetIamPolicy(google.iam.v1.SetIamPolicyRequest) returns (google.iam.v1.Policy) {
+ option (google.api.http) = {
+ post: "/v1/{resource=projects/*/locations/*/tagTemplates/*}:setIamPolicy"
+ body: "*"
+ additional_bindings {
+ post: "/v1/{resource=projects/*/locations/*/entryGroups/*}:setIamPolicy"
+ body: "*"
+ }
+ };
+ option (google.api.method_signature) = "resource,policy";
+ }
+
+ // Gets the access control policy for a resource.
+ //
+ // May return:
+ //
+ // * A`NOT_FOUND` error if the resource doesn't exist or you don't have the
+ // permission to view it.
+ // * An empty policy if the resource exists but doesn't have a set policy.
+ //
+ // Supported resources are:
+ //
+ // - Tag templates
+ // - Entry groups
+ //
+ // Note: This method doesn't get policies from Google Cloud Platform
+ // resources ingested into Data Catalog.
+ //
+ // To call this method, you must have the following Google IAM permissions:
+ //
+ // - `datacatalog.tagTemplates.getIamPolicy` to get policies on tag
+ // templates.
+ // - `datacatalog.entryGroups.getIamPolicy` to get policies on entry groups.
+ rpc GetIamPolicy(google.iam.v1.GetIamPolicyRequest) returns (google.iam.v1.Policy) {
+ option (google.api.http) = {
+ post: "/v1/{resource=projects/*/locations/*/tagTemplates/*}:getIamPolicy"
+ body: "*"
+ additional_bindings {
+ post: "/v1/{resource=projects/*/locations/*/entryGroups/*}:getIamPolicy"
+ body: "*"
+ }
+ additional_bindings {
+ post: "/v1/{resource=projects/*/locations/*/entryGroups/*/entries/*}:getIamPolicy"
+ body: "*"
+ }
+ };
+ option (google.api.method_signature) = "resource";
+ }
+
+ // Gets your permissions on a resource.
+ //
+ // Returns an empty set of permissions if the resource doesn't exist.
+ //
+ // Supported resources are:
+ //
+ // - Tag templates
+ // - Entry groups
+ //
+ // Note: This method gets policies only within Data Catalog and can't be
+ // used to get policies from BigQuery, Pub/Sub, Dataproc Metastore, and any
+ // external Google Cloud Platform resources ingested into Data Catalog.
+ //
+ // No Google IAM permissions are required to call this method.
+ rpc TestIamPermissions(google.iam.v1.TestIamPermissionsRequest) returns (google.iam.v1.TestIamPermissionsResponse) {
+ option (google.api.http) = {
+ post: "/v1/{resource=projects/*/locations/*/tagTemplates/*}:testIamPermissions"
+ body: "*"
+ additional_bindings {
+ post: "/v1/{resource=projects/*/locations/*/entryGroups/*}:testIamPermissions"
+ body: "*"
+ }
+ additional_bindings {
+ post: "/v1/{resource=projects/*/locations/*/entryGroups/*/entries/*}:testIamPermissions"
+ body: "*"
+ }
+ };
+ }
+}
+
+// Request message for
+// [SearchCatalog][google.cloud.datacatalog.v1.DataCatalog.SearchCatalog].
+message SearchCatalogRequest {
+ // The criteria that select the subspace used for query matching.
+ message Scope {
+ // The list of organization IDs to search within.
+ //
+ // To find your organization ID, follow the steps from
+ // [Creating and managing organizations]
+ // (/resource-manager/docs/creating-managing-organization).
+ repeated string include_org_ids = 2;
+
+ // The list of project IDs to search within.
+ //
+ // For more information on the distinction between project names, IDs, and
+ // numbers, see [Projects](/docs/overview/#projects).
+ repeated string include_project_ids = 3;
+
+ // If `true`, include Google Cloud Platform (GCP) public datasets in
+ // search results. By default, they are excluded.
+ //
+ // See [Google Cloud Public Datasets](/public-datasets) for more
+ // information.
+ bool include_gcp_public_datasets = 7;
+
+ // Optional. The list of locations to search within. If empty, all locations are
+ // searched.
+ //
+ // Returns an error if any location in the list isn't one of the [Supported
+ // regions](https://cloud.google.com/data-catalog/docs/concepts/regions#supported_regions).
+ //
+ // If a location is unreachable, its name is returned in the
+ // `SearchCatalogResponse.unreachable` field. To get additional information
+ // on the error, repeat the search request and set the location name as the
+ // value of this parameter.
+ repeated string restricted_locations = 16 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. If `true`, search only among starred entries.
+ //
+ // By default, all results are returned, starred or not.
+ bool starred_only = 18 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. This field is deprecated. The search mechanism for public and private tag
+ // templates is the same.
+ bool include_public_tag_templates = 19 [
+ deprecated = true,
+ (google.api.field_behavior) = OPTIONAL
+ ];
+ }
+
+ // Required. The scope of this search request.
+ //
+ // The `scope` is invalid if `include_org_ids`, `include_project_ids` are
+ // empty AND `include_gcp_public_datasets` is set to `false`. In this case,
+ // the request returns an error.
+ Scope scope = 6 [(google.api.field_behavior) = REQUIRED];
+
+ // Optional. The query string with a minimum of 3 characters and specific syntax.
+ // For more information, see
+ // [Data Catalog search
+ // syntax](https://cloud.google.com/data-catalog/docs/how-to/search-reference).
+ //
+ // An empty query string returns all data assets (in the specified scope)
+ // that you have access to.
+ //
+ // A query string can be a simple `xyz` or qualified by predicates:
+ //
+ // * `name:x`
+ // * `column:y`
+ // * `description:z`
+ string query = 1 [(google.api.field_behavior) = OPTIONAL];
+
+ // Number of results to return in a single search page.
+ //
+ // Can't be negative or 0, defaults to 10 in this case.
+ // The maximum number is 1000. If exceeded, throws an "invalid argument"
+ // exception.
+ int32 page_size = 2;
+
+ // Optional. Pagination token that, if specified, returns the next page of search
+ // results. If empty, returns the first page.
+ //
+ // This token is returned in the [SearchCatalogResponse.next_page_token][google.cloud.datacatalog.v1.SearchCatalogResponse.next_page_token]
+ // field of the response to a previous
+ // [SearchCatalogRequest][google.cloud.datacatalog.v1.DataCatalog.SearchCatalog]
+ // call.
+ string page_token = 3 [(google.api.field_behavior) = OPTIONAL];
+
+ // Specifies the order of results.
+ //
+ // Currently supported case-sensitive values are:
+ //
+ // * `relevance` that can only be descending
+ // * `last_modified_timestamp [asc|desc]` with descending (`desc`) as default
+ // * `default` that can only be descending
+ //
+ // If this parameter is omitted, it defaults to the descending `relevance`.
+ string order_by = 5;
+}
+
+// Response message for
+// [SearchCatalog][google.cloud.datacatalog.v1.DataCatalog.SearchCatalog].
+message SearchCatalogResponse {
+ // Search results.
+ repeated SearchCatalogResult results = 1;
+
+ // Pagination token that can be used in subsequent calls to retrieve the next
+ // page of results.
+ string next_page_token = 3;
+
+ // Unreachable locations. Search results don't include data from those
+ // locations.
+ //
+ // To get additional information on an error, repeat the search request and
+ // restrict it to specific locations by setting the
+ // `SearchCatalogRequest.scope.restricted_locations` parameter.
+ repeated string unreachable = 6;
+}
+
+// Request message for
+// [CreateEntryGroup][google.cloud.datacatalog.v1.DataCatalog.CreateEntryGroup].
+message CreateEntryGroupRequest {
+ // Required. The names of the project and location that the new entry group belongs to.
+ //
+ // Note: The entry group itself and its child resources might not be
+ // stored in the location specified in its name.
+ string parent = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ child_type: "datacatalog.googleapis.com/EntryGroup"
+ }
+ ];
+
+ // Required. The ID of the entry group to create.
+ //
+ // The ID must contain only letters (a-z, A-Z), numbers (0-9),
+ // underscores (_), and must start with a letter or underscore.
+ // The maximum size is 64 bytes when encoded in UTF-8.
+ string entry_group_id = 3 [(google.api.field_behavior) = REQUIRED];
+
+ // The entry group to create. Defaults to empty.
+ EntryGroup entry_group = 2;
+}
+
+// Request message for
+// [UpdateEntryGroup][google.cloud.datacatalog.v1.DataCatalog.UpdateEntryGroup].
+message UpdateEntryGroupRequest {
+ // Required. Updates for the entry group. The `name` field must be set.
+ EntryGroup entry_group = 1 [(google.api.field_behavior) = REQUIRED];
+
+ // Names of fields whose values to overwrite on an entry group.
+ //
+ // If this parameter is absent or empty, all modifiable fields
+ // are overwritten. If such fields are non-required and omitted in the
+ // request body, their values are emptied.
+ google.protobuf.FieldMask update_mask = 2;
+}
+
+// Request message for
+// [GetEntryGroup][google.cloud.datacatalog.v1.DataCatalog.GetEntryGroup].
+message GetEntryGroupRequest {
+ // Required. The name of the entry group to get.
+ string name = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ type: "datacatalog.googleapis.com/EntryGroup"
+ }
+ ];
+
+ // The fields to return. If empty or omitted, all fields are returned.
+ google.protobuf.FieldMask read_mask = 2;
+}
+
+// Request message for
+// [DeleteEntryGroup][google.cloud.datacatalog.v1.DataCatalog.DeleteEntryGroup].
+message DeleteEntryGroupRequest {
+ // Required. The name of the entry group to delete.
+ string name = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ type: "datacatalog.googleapis.com/EntryGroup"
+ }
+ ];
+
+ // Optional. If true, deletes all entries in the entry group.
+ bool force = 2 [(google.api.field_behavior) = OPTIONAL];
+}
+
+// Request message for
+// [ListEntryGroups][google.cloud.datacatalog.v1.DataCatalog.ListEntryGroups].
+message ListEntryGroupsRequest {
+ // Required. The name of the location that contains the entry groups to list.
+ //
+ // Can be provided as a URL.
+ string parent = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ child_type: "datacatalog.googleapis.com/EntryGroup"
+ }
+ ];
+
+ // Optional. The maximum number of items to return.
+ //
+ // Default is 10. Maximum limit is 1000.
+ // Throws an invalid argument if `page_size` is greater than 1000.
+ int32 page_size = 2 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. Pagination token that specifies the next page to return.
+ // If empty, returns the first page.
+ string page_token = 3 [(google.api.field_behavior) = OPTIONAL];
+}
+
+// Response message for
+// [ListEntryGroups][google.cloud.datacatalog.v1.DataCatalog.ListEntryGroups].
+message ListEntryGroupsResponse {
+ // Entry group details.
+ repeated EntryGroup entry_groups = 1;
+
+ // Pagination token to specify in the next call to retrieve the next page of
+ // results. Empty if there are no more items.
+ string next_page_token = 2;
+}
+
+// Request message for
+// [CreateEntry][google.cloud.datacatalog.v1.DataCatalog.CreateEntry].
+message CreateEntryRequest {
+ // Required. The name of the entry group this entry belongs to.
+ //
+ // Note: The entry itself and its child resources might not be stored in
+ // the location specified in its name.
+ string parent = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ type: "datacatalog.googleapis.com/EntryGroup"
+ }
+ ];
+
+ // Required. The ID of the entry to create.
+ //
+ // The ID must contain only letters (a-z, A-Z), numbers (0-9),
+ // and underscores (_).
+ // The maximum size is 64 bytes when encoded in UTF-8.
+ string entry_id = 3 [(google.api.field_behavior) = REQUIRED];
+
+ // Required. The entry to create.
+ Entry entry = 2 [(google.api.field_behavior) = REQUIRED];
+}
+
+// Request message for
+// [UpdateEntry][google.cloud.datacatalog.v1.DataCatalog.UpdateEntry].
+message UpdateEntryRequest {
+ // Required. Updates for the entry. The `name` field must be set.
+ Entry entry = 1 [(google.api.field_behavior) = REQUIRED];
+
+ // Names of fields whose values to overwrite on an entry.
+ //
+ // If this parameter is absent or empty, all modifiable fields
+ // are overwritten. If such fields are non-required and omitted in the
+ // request body, their values are emptied.
+ //
+ // You can modify only the fields listed below.
+ //
+ // For entries with type `DATA_STREAM`:
+ //
+ // * `schema`
+ //
+ // For entries with type `FILESET`:
+ //
+ // * `schema`
+ // * `display_name`
+ // * `description`
+ // * `gcs_fileset_spec`
+ // * `gcs_fileset_spec.file_patterns`
+ //
+ // For entries with `user_specified_type`:
+ //
+ // * `schema`
+ // * `display_name`
+ // * `description`
+ // * `user_specified_type`
+ // * `user_specified_system`
+ // * `linked_resource`
+ // * `source_system_timestamps`
+ google.protobuf.FieldMask update_mask = 2;
+}
+
+// Request message for
+// [DeleteEntry][google.cloud.datacatalog.v1.DataCatalog.DeleteEntry].
+message DeleteEntryRequest {
+ // Required. The name of the entry to delete.
+ string name = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ type: "datacatalog.googleapis.com/Entry"
+ }
+ ];
+}
+
+// Request message for
+// [GetEntry][google.cloud.datacatalog.v1.DataCatalog.GetEntry].
+message GetEntryRequest {
+ // Required. The name of the entry to get.
+ string name = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ type: "datacatalog.googleapis.com/Entry"
+ }
+ ];
+}
+
+// Request message for
+// [LookupEntry][google.cloud.datacatalog.v1.DataCatalog.LookupEntry].
+message LookupEntryRequest {
+ // Required. A full name, SQL name, or a fully qualified name of a
+ // Google Cloud Platform resource.
+ oneof target_name {
+ // The full name of the Google Cloud Platform resource the Data Catalog
+ // entry represents. For more information, see [Full Resource Name]
+ // (https://cloud.google.com/apis/design/resource_names#full_resource_name).
+ //
+ // Full names are case-sensitive. For example:
+ //
+ // * `//bigquery.googleapis.com/projects/{PROJECT_ID}/datasets/{DATASET_ID}/tables/{TABLE_ID}`
+ // * `//pubsub.googleapis.com/projects/{PROJECT_ID}/topics/{TOPIC_ID}`
+ string linked_resource = 1;
+
+ // The SQL name of the entry. SQL names are case-sensitive.
+ //
+ // Examples:
+ //
+ // * `pubsub.topic.{PROJECT_ID}.{TOPIC_ID}`
+ // * `pubsub.topic.{PROJECT_ID}.`\``{TOPIC.ID.SEPARATED.WITH.DOTS}`\`
+ // * `bigquery.table.{PROJECT_ID}.{DATASET_ID}.{TABLE_ID}`
+ // * `bigquery.dataset.{PROJECT_ID}.{DATASET_ID}`
+ // * `datacatalog.entry.{PROJECT_ID}.{LOCATION_ID}.{ENTRY_GROUP_ID}.{ENTRY_ID}`
+ //
+ // Identifiers (`*_ID`) should comply with the
+ // [Lexical structure in Standard SQL]
+ // (https://cloud.google.com/bigquery/docs/reference/standard-sql/lexical).
+ string sql_resource = 3;
+
+ // Fully qualified name (FQN) of the resource.
+ //
+ // FQNs take two forms:
+ //
+ // * For non-regionalized resources:
+ //
+ // `{SYSTEM}:{PROJECT}.{PATH_TO_RESOURCE_SEPARATED_WITH_DOTS}`
+ //
+ // * For regionalized resources:
+ //
+ // `{SYSTEM}:{PROJECT}.{LOCATION_ID}.{PATH_TO_RESOURCE_SEPARATED_WITH_DOTS}`
+ //
+ // Example for a DPMS table:
+ //
+ // `dataproc_metastore:{PROJECT_ID}.{LOCATION_ID}.{INSTANCE_ID}.{DATABASE_ID}.{TABLE_ID}`
+ string fully_qualified_name = 5;
+ }
+}
+
+// Entry metadata.
+// A Data Catalog entry represents another resource in Google
+// Cloud Platform (such as a BigQuery dataset or a Pub/Sub topic) or
+// outside of it. You can use the `linked_resource` field
+// in the entry resource to refer to the original resource ID of the source
+// system.
+//
+// An entry resource contains resource details, for example, its schema.
+// Additionally, you can attach flexible metadata to an entry in the form of a
+// [Tag][google.cloud.datacatalog.v1.Tag].
+message Entry {
+ option (google.api.resource) = {
+ type: "datacatalog.googleapis.com/Entry"
+ pattern: "projects/{project}/locations/{location}/entryGroups/{entry_group}/entries/{entry}"
+ };
+
+ // Output only. The resource name of an entry in URL format.
+ //
+ // Note: The entry itself and its child resources might not be
+ // stored in the location specified in its name.
+ string name = 1 [
+ (google.api.field_behavior) = OUTPUT_ONLY,
+ (google.api.resource_reference) = {
+ type: "datacatalog.googleapis.com/EntryGroup"
+ }
+ ];
+
+ // The resource this metadata entry refers to.
+ //
+ // For Google Cloud Platform resources, `linked_resource` is the
+ // [Full Resource Name]
+ // (https://cloud.google.com/apis/design/resource_names#full_resource_name).
+ // For example, the `linked_resource` for a table resource from BigQuery is:
+ //
+ // `//bigquery.googleapis.com/projects/{PROJECT_ID}/datasets/{DATASET_ID}/tables/{TABLE_ID}`
+ //
+ // Output only when the entry is one of the types in the `EntryType` enum.
+ //
+ // For entries with a `user_specified_type`, this field is optional and
+ // defaults to an empty string.
+ //
+ // The resource string must contain only letters (a-z, A-Z), numbers (0-9),
+ // underscores (_), periods (.), colons (:), slashes (/), dashes (-),
+ // and hashes (#).
+ // The maximum size is 200 bytes when encoded in UTF-8.
+ string linked_resource = 9;
+
+ // Fully qualified name (FQN) of the resource. Set automatically for entries
+ // representing resources from synced systems. Settable only during creation
+ // and read-only afterwards. Can be used for search and lookup of the entries.
+ //
+ //
+ //
+ // FQNs take two forms:
+ //
+ // * For non-regionalized resources:
+ //
+ // `{SYSTEM}:{PROJECT}.{PATH_TO_RESOURCE_SEPARATED_WITH_DOTS}`
+ //
+ // * For regionalized resources:
+ //
+ // `{SYSTEM}:{PROJECT}.{LOCATION_ID}.{PATH_TO_RESOURCE_SEPARATED_WITH_DOTS}`
+ //
+ // Example for a DPMS table:
+ //
+ // `dataproc_metastore:{PROJECT_ID}.{LOCATION_ID}.{INSTANCE_ID}.{DATABASE_ID}.{TABLE_ID}`
+ string fully_qualified_name = 29;
+
+ // Required. Entry type.
+ oneof entry_type {
+ // The type of the entry.
+ // Only used for entries with types listed in the `EntryType` enum.
+ //
+ // Currently, only `FILESET` enum value is allowed. All other entries
+ // created in Data Catalog must use the `user_specified_type`.
+ EntryType type = 2;
+
+ // Custom entry type that doesn't match any of the values allowed for input
+ // and listed in the `EntryType` enum.
+ //
+ // When creating an entry, first check the type values in the enum.
+ // If there are no appropriate types for the new entry,
+ // provide a custom value, for example, `my_special_type`.
+ //
+ // The `user_specified_type` string has the following limitations:
+ //
+ // * Is case insensitive.
+ // * Must begin with a letter or underscore.
+ // * Can only contain letters, numbers, and underscores.
+ // * Must be at least 1 character and at most 64 characters long.
+ string user_specified_type = 16;
+ }
+
+ // The source system of the entry.
+ oneof system {
+ // Output only. Indicates the entry's source system that Data Catalog
+ // integrates with, such as BigQuery, Pub/Sub, or Dataproc Metastore.
+ IntegratedSystem integrated_system = 17 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Indicates the entry's source system that Data Catalog doesn't
+ // automatically integrate with.
+ //
+ // The `user_specified_system` string has the following limitations:
+ //
+ // * Is case insensitive.
+ // * Must begin with a letter or underscore.
+ // * Can only contain letters, numbers, and underscores.
+ // * Must be at least 1 character and at most 64 characters long.
+ string user_specified_system = 18;
+ }
+
+ // Type specification.
+ oneof type_spec {
+ // Specification that applies to a Cloud Storage fileset. Valid only
+ // for entries with the `FILESET` type.
+ GcsFilesetSpec gcs_fileset_spec = 6;
+
+ // Output only. Specification that applies to a BigQuery table. Valid only
+ // for entries with the `TABLE` type.
+ BigQueryTableSpec bigquery_table_spec = 12 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Output only. Specification for a group of BigQuery tables with
+ // the `[prefix]YYYYMMDD` name pattern.
+ //
+ // For more information, see [Introduction to partitioned tables]
+ // (https://cloud.google.com/bigquery/docs/partitioned-tables#partitioning_versus_sharding).
+ BigQueryDateShardedSpec bigquery_date_sharded_spec = 15 [(google.api.field_behavior) = OUTPUT_ONLY];
+ }
+
+ // Type- and system-specific information. Specifications for types contain
+ // fields common to all entries of a given type, and sub-specifications with
+ // fields specific to a given source system.
+ //
+ // When extending the API with new types and systems, use this field instead
+ // of the legacy `type_spec`.
+ oneof spec {
+ // Specification that applies to a table resource. Valid only
+ // for entries with the `TABLE` type.
+ DatabaseTableSpec database_table_spec = 24;
+
+ // Specification that applies to a data source connection. Valid only
+ // for entries with the `DATA_SOURCE_CONNECTION` type.
+ DataSourceConnectionSpec data_source_connection_spec = 27;
+
+ // Specification that applies to a user-defined function or procedure. Valid
+ // only for entries with the `ROUTINE` type.
+ RoutineSpec routine_spec = 28;
+
+ // Specification that applies to a fileset resource. Valid only
+ // for entries with the `FILESET` type.
+ FilesetSpec fileset_spec = 33;
+ }
+
+ // Display name of an entry.
+ //
+ // The name must contain only Unicode letters, numbers (0-9), underscores (_),
+ // dashes (-), spaces ( ), and can't start or end with spaces.
+ // The maximum size is 200 bytes when encoded in UTF-8.
+ // Default value is an empty string.
+ string display_name = 3;
+
+ // Entry description that can consist of several sentences or paragraphs
+ // that describe entry contents.
+ //
+ // The description must not contain Unicode non-characters as well as C0
+ // and C1 control codes except tabs (HT), new lines (LF), carriage returns
+ // (CR), and page breaks (FF).
+ // The maximum size is 2000 bytes when encoded in UTF-8.
+ // Default value is an empty string.
+ string description = 4;
+
+ // Business Context of the entry. Not supported for BigQuery datasets
+ BusinessContext business_context = 37;
+
+ // Schema of the entry. An entry might not have any schema attached to it.
+ Schema schema = 5;
+
+ // Timestamps from the underlying resource, not from the Data Catalog
+ // entry.
+ //
+ // Output only when the entry has a system listed in the `IntegratedSystem`
+ // enum. For entries with `user_specified_system`, this field is optional
+ // and defaults to an empty timestamp.
+ SystemTimestamps source_system_timestamps = 7;
+
+ // Resource usage statistics.
+ UsageSignal usage_signal = 13;
+
+ // Cloud labels attached to the entry.
+ //
+ // In Data Catalog, you can create and modify labels attached only to custom
+ // entries. Synced entries have unmodifiable labels that come from the source
+ // system.
+ map labels = 14;
+
+ // Output only. Physical location of the entry.
+ DataSource data_source = 20 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Output only. Additional information related to the entry. Private to the current user.
+ PersonalDetails personal_details = 26 [(google.api.field_behavior) = OUTPUT_ONLY];
+}
+
+// Specification that applies to a table resource. Valid only
+// for entries with the `TABLE` type.
+message DatabaseTableSpec {
+ // Type of the table.
+ enum TableType {
+ // Default unknown table type.
+ TABLE_TYPE_UNSPECIFIED = 0;
+
+ // Native table.
+ NATIVE = 1;
+
+ // External table.
+ EXTERNAL = 2;
+ }
+
+ // Type of this table.
+ TableType type = 1;
+
+ // Output only. Fields specific to a Dataplex table and present only in the
+ // Dataplex table entries.
+ DataplexTableSpec dataplex_table = 2 [(google.api.field_behavior) = OUTPUT_ONLY];
+}
+
+// Specification that applies to a fileset. Valid only for entries with the
+// 'FILESET' type.
+message FilesetSpec {
+ // Fields specific to a Dataplex fileset and present only in the Dataplex
+ // fileset entries.
+ DataplexFilesetSpec dataplex_fileset = 1;
+}
+
+// Specification that applies to a data source connection. Valid only for
+// entries with the `DATA_SOURCE_CONNECTION` type.
+// Only one of internal specs can be set at the time, and cannot
+// be changed later.
+message DataSourceConnectionSpec {
+ // Output only. Fields specific to BigQuery connections.
+ BigQueryConnectionSpec bigquery_connection_spec = 1;
+}
+
+// Specification that applies to a routine. Valid only for
+// entries with the `ROUTINE` type.
+message RoutineSpec {
+ // The fine-grained type of the routine.
+ enum RoutineType {
+ // Unspecified type.
+ ROUTINE_TYPE_UNSPECIFIED = 0;
+
+ // Non-builtin permanent scalar function.
+ SCALAR_FUNCTION = 1;
+
+ // Stored procedure.
+ PROCEDURE = 2;
+ }
+
+ // Input or output argument of a function or stored procedure.
+ message Argument {
+ // The input or output mode of the argument.
+ enum Mode {
+ // Unspecified mode.
+ MODE_UNSPECIFIED = 0;
+
+ // The argument is input-only.
+ IN = 1;
+
+ // The argument is output-only.
+ OUT = 2;
+
+ // The argument is both an input and an output.
+ INOUT = 3;
+ }
+
+ // The name of the argument. A return argument of a function might not have
+ // a name.
+ string name = 1;
+
+ // Specifies whether the argument is input or output.
+ Mode mode = 2;
+
+ // Type of the argument. The exact value depends on the source system and
+ // the language.
+ string type = 3;
+ }
+
+ // The type of the routine.
+ RoutineType routine_type = 1;
+
+ // The language the routine is written in. The exact value depends on the
+ // source system. For BigQuery routines, possible values are:
+ //
+ // * `SQL`
+ // * `JAVASCRIPT`
+ string language = 2;
+
+ // Arguments of the routine.
+ repeated Argument routine_arguments = 3;
+
+ // Return type of the argument. The exact value depends on the source system
+ // and the language.
+ string return_type = 4;
+
+ // The body of the routine.
+ string definition_body = 5;
+
+ // Contains fields specific to the source system.
+ oneof system_spec {
+ // Fields specific for BigQuery routines.
+ BigQueryRoutineSpec bigquery_routine_spec = 6;
+ }
+}
+
+// Business Context of the entry.
+message BusinessContext {
+ // Entry overview fields for rich text descriptions of entries.
+ EntryOverview entry_overview = 1;
+
+ // Contact people for the entry.
+ Contacts contacts = 2;
+}
+
+// Entry overview fields for rich text descriptions of entries.
+message EntryOverview {
+ // Entry overview with support for rich text.
+ //
+ // The overview must only contain Unicode characters, and should be
+ // formatted using HTML.
+ // The maximum length is 10 MiB as this value holds HTML descriptions
+ // including encoded images. The maximum length of the text without images
+ // is 100 KiB.
+ string overview = 1;
+}
+
+// Contact people for the entry.
+message Contacts {
+ // A contact person for the entry.
+ message Person {
+ // Designation of the person, for example, Data Steward.
+ string designation = 1;
+
+ // Email of the person in the format of `john.doe@xyz`,
+ // ``, or `John Doe`.
+ string email = 2;
+ }
+
+ // The list of contact people for the entry.
+ repeated Person people = 1;
+}
+
+// Entry group metadata.
+//
+// An `EntryGroup` resource represents a logical grouping of zero or more
+// Data Catalog [Entry][google.cloud.datacatalog.v1.Entry] resources.
+message EntryGroup {
+ option (google.api.resource) = {
+ type: "datacatalog.googleapis.com/EntryGroup"
+ pattern: "projects/{project}/locations/{location}/entryGroups/{entry_group}"
+ };
+
+ // The resource name of the entry group in URL format.
+ //
+ // Note: The entry group itself and its child resources might not be
+ // stored in the location specified in its name.
+ string name = 1;
+
+ // A short name to identify the entry group, for example,
+ // "analytics data - jan 2011". Default value is an empty string.
+ string display_name = 2;
+
+ // Entry group description. Can consist of several sentences or
+ // paragraphs that describe the entry group contents.
+ // Default value is an empty string.
+ string description = 3;
+
+ // Output only. Timestamps of the entry group. Default value is empty.
+ SystemTimestamps data_catalog_timestamps = 4 [(google.api.field_behavior) = OUTPUT_ONLY];
+}
+
+// Request message for
+// [CreateTagTemplate][google.cloud.datacatalog.v1.DataCatalog.CreateTagTemplate].
+message CreateTagTemplateRequest {
+ // Required. The name of the project and the template location
+ // [region](https://cloud.google.com/data-catalog/docs/concepts/regions).
+ string parent = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ child_type: "datacatalog.googleapis.com/TagTemplate"
+ }
+ ];
+
+ // Required. The ID of the tag template to create.
+ //
+ // The ID must contain only lowercase letters (a-z), numbers (0-9),
+ // or underscores (_), and must start with a letter or underscore.
+ // The maximum size is 64 bytes when encoded in UTF-8.
+ string tag_template_id = 3 [(google.api.field_behavior) = REQUIRED];
+
+ // Required. The tag template to create.
+ TagTemplate tag_template = 2 [(google.api.field_behavior) = REQUIRED];
+}
+
+// Request message for
+// [GetTagTemplate][google.cloud.datacatalog.v1.DataCatalog.GetTagTemplate].
+message GetTagTemplateRequest {
+ // Required. The name of the tag template to get.
+ string name = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ type: "datacatalog.googleapis.com/TagTemplate"
+ }
+ ];
+}
+
+// Request message for
+// [UpdateTagTemplate][google.cloud.datacatalog.v1.DataCatalog.UpdateTagTemplate].
+message UpdateTagTemplateRequest {
+ // Required. The template to update. The `name` field must be set.
+ TagTemplate tag_template = 1 [(google.api.field_behavior) = REQUIRED];
+
+ // Names of fields whose values to overwrite on a tag template. Currently,
+ // only `display_name` and `is_publicly_readable` can be overwritten.
+ //
+ // If this parameter is absent or empty, all modifiable fields
+ // are overwritten. If such fields are non-required and omitted in the
+ // request body, their values are emptied.
+ //
+ // Note: Updating the `is_publicly_readable` field may require up to 12
+ // hours to take effect in search results.
+ google.protobuf.FieldMask update_mask = 2;
+}
+
+// Request message for
+// [DeleteTagTemplate][google.cloud.datacatalog.v1.DataCatalog.DeleteTagTemplate].
+message DeleteTagTemplateRequest {
+ // Required. The name of the tag template to delete.
+ string name = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ type: "datacatalog.googleapis.com/TagTemplate"
+ }
+ ];
+
+ // Required. If true, deletes all tags that use this template.
+ //
+ // Currently, `true` is the only supported value.
+ bool force = 2 [(google.api.field_behavior) = REQUIRED];
+}
+
+// Request message for
+// [CreateTag][google.cloud.datacatalog.v1.DataCatalog.CreateTag].
+message CreateTagRequest {
+ // Required. The name of the resource to attach this tag to.
+ //
+ // Tags can be attached to entries or entry groups. An entry can have up to
+ // 1000 attached tags.
+ //
+ // Note: The tag and its child resources might not be stored in
+ // the location specified in its name.
+ string parent = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ child_type: "datacatalog.googleapis.com/Tag"
+ }
+ ];
+
+ // Required. The tag to create.
+ Tag tag = 2 [(google.api.field_behavior) = REQUIRED];
+}
+
+// Request message for
+// [UpdateTag][google.cloud.datacatalog.v1.DataCatalog.UpdateTag].
+message UpdateTagRequest {
+ // Required. The updated tag. The "name" field must be set.
+ Tag tag = 1 [(google.api.field_behavior) = REQUIRED];
+
+ // Names of fields whose values to overwrite on a tag. Currently, a tag has
+ // the only modifiable field with the name `fields`.
+ //
+ // In general, if this parameter is absent or empty, all modifiable fields
+ // are overwritten. If such fields are non-required and omitted in the
+ // request body, their values are emptied.
+ google.protobuf.FieldMask update_mask = 2;
+}
+
+// Request message for
+// [DeleteTag][google.cloud.datacatalog.v1.DataCatalog.DeleteTag].
+message DeleteTagRequest {
+ // Required. The name of the tag to delete.
+ string name = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ child_type: "datacatalog.googleapis.com/Tag"
+ }
+ ];
+}
+
+// Request message for
+// [CreateTagTemplateField][google.cloud.datacatalog.v1.DataCatalog.CreateTagTemplateField].
+message CreateTagTemplateFieldRequest {
+ // Required. The name of the project and the template location
+ // [region](https://cloud.google.com/data-catalog/docs/concepts/regions).
+ string parent = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ type: "datacatalog.googleapis.com/TagTemplate"
+ }
+ ];
+
+ // Required. The ID of the tag template field to create.
+ //
+ // Note: Adding a required field to an existing template is *not* allowed.
+ //
+ // Field IDs can contain letters (both uppercase and lowercase), numbers
+ // (0-9), underscores (_) and dashes (-). Field IDs must be at least 1
+ // character long and at most 128 characters long. Field IDs must also be
+ // unique within their template.
+ string tag_template_field_id = 2 [(google.api.field_behavior) = REQUIRED];
+
+ // Required. The tag template field to create.
+ TagTemplateField tag_template_field = 3 [(google.api.field_behavior) = REQUIRED];
+}
+
+// Request message for
+// [UpdateTagTemplateField][google.cloud.datacatalog.v1.DataCatalog.UpdateTagTemplateField].
+message UpdateTagTemplateFieldRequest {
+ // Required. The name of the tag template field.
+ string name = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ type: "datacatalog.googleapis.com/TagTemplateField"
+ }
+ ];
+
+ // Required. The template to update.
+ TagTemplateField tag_template_field = 2 [(google.api.field_behavior) = REQUIRED];
+
+ // Optional. Names of fields whose values to overwrite on an individual field of a tag
+ // template. The following fields are modifiable:
+ //
+ // * `display_name`
+ // * `type.enum_type`
+ // * `is_required`
+ //
+ // If this parameter is absent or empty, all modifiable fields
+ // are overwritten. If such fields are non-required and omitted in the request
+ // body, their values are emptied with one exception: when updating an enum
+ // type, the provided values are merged with the existing values. Therefore,
+ // enum values can only be added, existing enum values cannot be deleted or
+ // renamed.
+ //
+ // Additionally, updating a template field from optional to required is
+ // *not* allowed.
+ google.protobuf.FieldMask update_mask = 3 [(google.api.field_behavior) = OPTIONAL];
+}
+
+// Request message for
+// [RenameTagTemplateField][google.cloud.datacatalog.v1.DataCatalog.RenameTagTemplateField].
+message RenameTagTemplateFieldRequest {
+ // Required. The name of the tag template field.
+ string name = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ type: "datacatalog.googleapis.com/TagTemplateField"
+ }
+ ];
+
+ // Required. The new ID of this tag template field. For example, `my_new_field`.
+ string new_tag_template_field_id = 2 [(google.api.field_behavior) = REQUIRED];
+}
+
+// Request message for
+// [RenameTagTemplateFieldEnumValue][google.cloud.datacatalog.v1.DataCatalog.RenameTagTemplateFieldEnumValue].
+message RenameTagTemplateFieldEnumValueRequest {
+ // Required. The name of the enum field value.
+ string name = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ type: "datacatalog.googleapis.com/TagTemplateFieldEnumValue"
+ }
+ ];
+
+ // Required. The new display name of the enum value. For example, `my_new_enum_value`.
+ string new_enum_value_display_name = 2 [(google.api.field_behavior) = REQUIRED];
+}
+
+// Request message for
+// [DeleteTagTemplateField][google.cloud.datacatalog.v1.DataCatalog.DeleteTagTemplateField].
+message DeleteTagTemplateFieldRequest {
+ // Required. The name of the tag template field to delete.
+ string name = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ type: "datacatalog.googleapis.com/TagTemplateField"
+ }
+ ];
+
+ // Required. If true, deletes this field from any tags that use it.
+ //
+ // Currently, `true` is the only supported value.
+ bool force = 2 [(google.api.field_behavior) = REQUIRED];
+}
+
+// Request message for
+// [ListTags][google.cloud.datacatalog.v1.DataCatalog.ListTags].
+message ListTagsRequest {
+ // Required. The name of the Data Catalog resource to list the tags of.
+ //
+ // The resource can be an [Entry][google.cloud.datacatalog.v1.Entry]
+ // or an [EntryGroup][google.cloud.datacatalog.v1.EntryGroup]
+ // (without `/entries/{entries}` at the end).
+ string parent = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ child_type: "datacatalog.googleapis.com/Tag"
+ }
+ ];
+
+ // The maximum number of tags to return. Default is 10. Maximum limit is 1000.
+ int32 page_size = 2;
+
+ // Pagination token that specifies the next page to return. If empty, the
+ // first page is returned.
+ string page_token = 3;
+}
+
+// Response message for
+// [ListTags][google.cloud.datacatalog.v1.DataCatalog.ListTags].
+message ListTagsResponse {
+ // [Tag][google.cloud.datacatalog.v1.Tag] details.
+ repeated Tag tags = 1;
+
+ // Pagination token of the next results page. Empty if there are
+ // no more items in results.
+ string next_page_token = 2;
+}
+
+// Request message for
+// [ListEntries][google.cloud.datacatalog.v1.DataCatalog.ListEntries].
+message ListEntriesRequest {
+ // Required. The name of the entry group that contains the entries to list.
+ //
+ // Can be provided in URL format.
+ string parent = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ type: "datacatalog.googleapis.com/EntryGroup"
+ }
+ ];
+
+ // The maximum number of items to return. Default is 10. Maximum limit is
+ // 1000. Throws an invalid argument if `page_size` is more than 1000.
+ int32 page_size = 2;
+
+ // Pagination token that specifies the next page to return. If empty, the
+ // first page is returned.
+ string page_token = 3;
+
+ // The fields to return for each entry. If empty or omitted, all
+ // fields are returned.
+ //
+ // For example, to return a list of entries with only the `name` field,
+ // set `read_mask` to only one path with the `name` value.
+ google.protobuf.FieldMask read_mask = 4;
+}
+
+// Response message for
+// [ListEntries][google.cloud.datacatalog.v1.DataCatalog.ListEntries].
+message ListEntriesResponse {
+ // Entry details.
+ repeated Entry entries = 1;
+
+ // Pagination token of the next results page. Empty if there are no more items
+ // in results.
+ string next_page_token = 2;
+}
+
+// Request message for
+// [StarEntry][google.cloud.datacatalog.v1.DataCatalog.StarEntry].
+message StarEntryRequest {
+ // Required. The name of the entry to mark as starred.
+ string name = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ type: "datacatalog.googleapis.com/Entry"
+ }
+ ];
+}
+
+// Response message for
+// [StarEntry][google.cloud.datacatalog.v1.DataCatalog.StarEntry].
+// Empty for now
+message StarEntryResponse {
+
+}
+
+// Request message for
+// [UnstarEntry][google.cloud.datacatalog.v1.DataCatalog.UnstarEntry].
+message UnstarEntryRequest {
+ // Required. The name of the entry to mark as **not** starred.
+ string name = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ type: "datacatalog.googleapis.com/Entry"
+ }
+ ];
+}
+
+// Response message for
+// [UnstarEntry][google.cloud.datacatalog.v1.DataCatalog.UnstarEntry].
+// Empty for now
+message UnstarEntryResponse {
+
+}
+
+// Request message for
+// [ModifyEntryOverview][google.cloud.datacatalog.v1.DataCatalog.ModifyEntryOverview].
+message ModifyEntryOverviewRequest {
+ // Required. The full resource name of the entry.
+ string name = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ type: "datacatalog.googleapis.com/Entry"
+ }
+ ];
+
+ // Required. The new value for the Entry Overview.
+ EntryOverview entry_overview = 2 [(google.api.field_behavior) = REQUIRED];
+}
+
+// Request message for
+// [ModifyEntryContacts][google.cloud.datacatalog.v1.DataCatalog.ModifyEntryContacts].
+message ModifyEntryContactsRequest {
+ // Required. The full resource name of the entry.
+ string name = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ type: "datacatalog.googleapis.com/Entry"
+ }
+ ];
+
+ // Required. The new value for the Contacts.
+ Contacts contacts = 2 [(google.api.field_behavior) = REQUIRED];
+}
+
+// The enum field that lists all the types of entry resources in Data
+// Catalog. For example, a BigQuery table entry has the `TABLE` type.
+enum EntryType {
+ // Default unknown type.
+ ENTRY_TYPE_UNSPECIFIED = 0;
+
+ // The entry type that has a GoogleSQL schema, including
+ // logical views.
+ TABLE = 2;
+
+ // Output only. The type of models.
+ //
+ // For more information, see [Supported models in BigQuery ML]
+ // (https://cloud.google.com/bigquery-ml/docs/introduction#supported_models_in).
+ MODEL = 5;
+
+ // An entry type for streaming entries. For example, a Pub/Sub topic.
+ DATA_STREAM = 3;
+
+ // An entry type for a set of files or objects. For example, a
+ // Cloud Storage fileset.
+ FILESET = 4;
+
+ // A group of servers that work together. For example, a Kafka cluster.
+ CLUSTER = 6;
+
+ // A database.
+ DATABASE = 7;
+
+ // Output only. Connection to a data source. For example, a BigQuery
+ // connection.
+ DATA_SOURCE_CONNECTION = 8;
+
+ // Output only. Routine, for example, a BigQuery routine.
+ ROUTINE = 9;
+
+ // A Dataplex lake.
+ LAKE = 10;
+
+ // A Dataplex zone.
+ ZONE = 11;
+
+ // A service, for example, a Dataproc Metastore service.
+ SERVICE = 14;
+}
diff --git a/packages/google-cloud-datacatalog/protos/google/cloud/datacatalog/v1/dataplex_spec.proto b/packages/google-cloud-datacatalog/protos/google/cloud/datacatalog/v1/dataplex_spec.proto
new file mode 100644
index 00000000000..0cdba3e1f8c
--- /dev/null
+++ b/packages/google-cloud-datacatalog/protos/google/cloud/datacatalog/v1/dataplex_spec.proto
@@ -0,0 +1,90 @@
+// Copyright 2022 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+syntax = "proto3";
+
+package google.cloud.datacatalog.v1;
+
+import "google/cloud/datacatalog/v1/common.proto";
+import "google/cloud/datacatalog/v1/physical_schema.proto";
+
+option cc_enable_arenas = true;
+option csharp_namespace = "Google.Cloud.DataCatalog.V1";
+option go_package = "google.golang.org/genproto/googleapis/cloud/datacatalog/v1;datacatalog";
+option java_multiple_files = true;
+option java_outer_classname = "DataplexSpecProto";
+option java_package = "com.google.cloud.datacatalog.v1";
+option php_namespace = "Google\\Cloud\\DataCatalog\\V1";
+option ruby_package = "Google::Cloud::DataCatalog::V1";
+
+// Common Dataplex fields.
+message DataplexSpec {
+ // Fully qualified resource name of an asset in Dataplex, to which the
+ // underlying data source (Cloud Storage bucket or BigQuery dataset) of the
+ // entity is attached.
+ string asset = 1;
+
+ // Format of the data.
+ PhysicalSchema data_format = 2;
+
+ // Compression format of the data, e.g., zip, gzip etc.
+ string compression_format = 3;
+
+ // Project ID of the underlying Cloud Storage or BigQuery data. Note that
+ // this may not be the same project as the correspondingly Dataplex lake /
+ // zone / asset.
+ string project_id = 4;
+}
+
+// Entry specyfication for a Dataplex fileset.
+message DataplexFilesetSpec {
+ // Common Dataplex fields.
+ DataplexSpec dataplex_spec = 1;
+}
+
+// Entry specification for a Dataplex table.
+message DataplexTableSpec {
+ // List of external tables registered by Dataplex in other systems based on
+ // the same underlying data.
+ //
+ // External tables allow to query this data in those systems.
+ repeated DataplexExternalTable external_tables = 1;
+
+ // Common Dataplex fields.
+ DataplexSpec dataplex_spec = 2;
+
+ // Indicates if the table schema is managed by the user or not.
+ bool user_managed = 3;
+}
+
+// External table registered by Dataplex.
+// Dataplex publishes data discovered from an asset into multiple other systems
+// (BigQuery, DPMS) in form of tables. We call them "external tables". External
+// tables are also synced into the Data Catalog.
+// This message contains pointers to
+// those external tables (fully qualified name, resource name et cetera) within
+// the Data Catalog.
+message DataplexExternalTable {
+ // Service in which the external table is registered.
+ IntegratedSystem system = 1;
+
+ // Fully qualified name (FQN) of the external table.
+ string fully_qualified_name = 28;
+
+ // Google Cloud resource name of the external table.
+ string google_cloud_resource = 3;
+
+ // Name of the Data Catalog entry representing the external table.
+ string data_catalog_entry = 4;
+}
diff --git a/packages/google-cloud-datacatalog/protos/google/cloud/datacatalog/v1/gcs_fileset_spec.proto b/packages/google-cloud-datacatalog/protos/google/cloud/datacatalog/v1/gcs_fileset_spec.proto
new file mode 100644
index 00000000000..82a165309f1
--- /dev/null
+++ b/packages/google-cloud-datacatalog/protos/google/cloud/datacatalog/v1/gcs_fileset_spec.proto
@@ -0,0 +1,78 @@
+// Copyright 2022 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+syntax = "proto3";
+
+package google.cloud.datacatalog.v1;
+
+import "google/api/field_behavior.proto";
+import "google/cloud/datacatalog/v1/timestamps.proto";
+
+option cc_enable_arenas = true;
+option csharp_namespace = "Google.Cloud.DataCatalog.V1";
+option go_package = "google.golang.org/genproto/googleapis/cloud/datacatalog/v1;datacatalog";
+option java_multiple_files = true;
+option java_package = "com.google.cloud.datacatalog.v1";
+option php_namespace = "Google\\Cloud\\DataCatalog\\V1";
+option ruby_package = "Google::Cloud::DataCatalog::V1";
+
+// Describes a Cloud Storage fileset entry.
+message GcsFilesetSpec {
+ // Required. Patterns to identify a set of files in Google Cloud Storage.
+ //
+ // For more information, see [Wildcard Names]
+ // (https://cloud.google.com/storage/docs/gsutil/addlhelp/WildcardNames).
+ //
+ // Note: Currently, bucket wildcards are not supported.
+ //
+ // Examples of valid `file_patterns`:
+ //
+ // * `gs://bucket_name/dir/*`: matches all files in `bucket_name/dir`
+ // directory
+ // * `gs://bucket_name/dir/**`: matches all files in `bucket_name/dir`
+ // and all subdirectories
+ // * `gs://bucket_name/file*`: matches files prefixed by `file` in
+ // `bucket_name`
+ // * `gs://bucket_name/??.txt`: matches files with two characters followed by
+ // `.txt` in `bucket_name`
+ // * `gs://bucket_name/[aeiou].txt`: matches files that contain a single
+ // vowel character followed by `.txt` in
+ // `bucket_name`
+ // * `gs://bucket_name/[a-m].txt`: matches files that contain `a`, `b`, ...
+ // or `m` followed by `.txt` in `bucket_name`
+ // * `gs://bucket_name/a/*/b`: matches all files in `bucket_name` that match
+ // the `a/*/b` pattern, such as `a/c/b`, `a/d/b`
+ // * `gs://another_bucket/a.txt`: matches `gs://another_bucket/a.txt`
+ //
+ // You can combine wildcards to match complex sets of files, for example:
+ //
+ // `gs://bucket_name/[a-m]??.j*g`
+ repeated string file_patterns = 1 [(google.api.field_behavior) = REQUIRED];
+
+ // Output only. Sample files contained in this fileset, not all files
+ // contained in this fileset are represented here.
+ repeated GcsFileSpec sample_gcs_file_specs = 2 [(google.api.field_behavior) = OUTPUT_ONLY];
+}
+
+// Specification of a single file in Cloud Storage.
+message GcsFileSpec {
+ // Required. Full file path. Example: `gs://bucket_name/a/b.txt`.
+ string file_path = 1 [(google.api.field_behavior) = REQUIRED];
+
+ // Output only. Creation, modification, and expiration timestamps of a Cloud Storage file.
+ SystemTimestamps gcs_timestamps = 2 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Output only. File size in bytes.
+ int64 size_bytes = 4 [(google.api.field_behavior) = OUTPUT_ONLY];
+}
diff --git a/packages/google-cloud-datacatalog/protos/google/cloud/datacatalog/v1/physical_schema.proto b/packages/google-cloud-datacatalog/protos/google/cloud/datacatalog/v1/physical_schema.proto
new file mode 100644
index 00000000000..414e95ca7f2
--- /dev/null
+++ b/packages/google-cloud-datacatalog/protos/google/cloud/datacatalog/v1/physical_schema.proto
@@ -0,0 +1,83 @@
+// Copyright 2022 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+syntax = "proto3";
+
+package google.cloud.datacatalog.v1;
+
+option cc_enable_arenas = true;
+option csharp_namespace = "Google.Cloud.DataCatalog.V1";
+option go_package = "google.golang.org/genproto/googleapis/cloud/datacatalog/v1;datacatalog";
+option java_multiple_files = true;
+option java_outer_classname = "PhysicalSchemaProto";
+option java_package = "com.google.cloud.datacatalog.v1";
+option php_namespace = "Google\\Cloud\\DataCatalog\\V1";
+option ruby_package = "Google::Cloud::DataCatalog::V1";
+
+// Native schema used by a resource represented as an entry. Used by query
+// engines for deserializing and parsing source data.
+message PhysicalSchema {
+ // Schema in Avro JSON format.
+ message AvroSchema {
+ // JSON source of the Avro schema.
+ string text = 1;
+ }
+
+ // Schema in Thrift format.
+ message ThriftSchema {
+ // Thrift IDL source of the schema.
+ string text = 1;
+ }
+
+ // Schema in protocol buffer format.
+ message ProtobufSchema {
+ // Protocol buffer source of the schema.
+ string text = 1;
+ }
+
+ // Marks a Parquet-encoded data source.
+ message ParquetSchema {
+
+ }
+
+ // Marks an ORC-encoded data source.
+ message OrcSchema {
+
+ }
+
+ // Marks a CSV-encoded data source.
+ message CsvSchema {
+
+ }
+
+ oneof schema {
+ // Schema in Avro JSON format.
+ AvroSchema avro = 1;
+
+ // Schema in Thrift format.
+ ThriftSchema thrift = 2;
+
+ // Schema in protocol buffer format.
+ ProtobufSchema protobuf = 3;
+
+ // Marks a Parquet-encoded data source.
+ ParquetSchema parquet = 4;
+
+ // Marks an ORC-encoded data source.
+ OrcSchema orc = 5;
+
+ // Marks a CSV-encoded data source.
+ CsvSchema csv = 6;
+ }
+}
diff --git a/packages/google-cloud-datacatalog/protos/google/cloud/datacatalog/v1/policytagmanager.proto b/packages/google-cloud-datacatalog/protos/google/cloud/datacatalog/v1/policytagmanager.proto
new file mode 100644
index 00000000000..be415988404
--- /dev/null
+++ b/packages/google-cloud-datacatalog/protos/google/cloud/datacatalog/v1/policytagmanager.proto
@@ -0,0 +1,481 @@
+// Copyright 2022 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+syntax = "proto3";
+
+package google.cloud.datacatalog.v1;
+
+import "google/api/annotations.proto";
+import "google/api/client.proto";
+import "google/api/field_behavior.proto";
+import "google/api/resource.proto";
+import "google/cloud/datacatalog/v1/timestamps.proto";
+import "google/iam/v1/iam_policy.proto";
+import "google/iam/v1/policy.proto";
+import "google/protobuf/empty.proto";
+import "google/protobuf/field_mask.proto";
+
+option cc_enable_arenas = true;
+option csharp_namespace = "Google.Cloud.DataCatalog.V1";
+option go_package = "google.golang.org/genproto/googleapis/cloud/datacatalog/v1;datacatalog";
+option java_multiple_files = true;
+option java_outer_classname = "PolicyTagManagerProto";
+option java_package = "com.google.cloud.datacatalog.v1";
+option php_namespace = "Google\\Cloud\\DataCatalog\\V1";
+option ruby_package = "Google::Cloud::DataCatalog::V1";
+
+// Policy Tag Manager API service allows you to manage your policy tags and
+// taxonomies.
+//
+// Policy tags are used to tag BigQuery columns and apply additional access
+// control policies. A taxonomy is a hierarchical grouping of policy tags that
+// classify data along a common axis.
+service PolicyTagManager {
+ option (google.api.default_host) = "datacatalog.googleapis.com";
+ option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/cloud-platform";
+
+ // Creates a taxonomy in a specified project.
+ //
+ // The taxonomy is initially empty, that is, it doesn't contain policy tags.
+ rpc CreateTaxonomy(CreateTaxonomyRequest) returns (Taxonomy) {
+ option (google.api.http) = {
+ post: "/v1/{parent=projects/*/locations/*}/taxonomies"
+ body: "taxonomy"
+ };
+ option (google.api.method_signature) = "parent,taxonomy";
+ }
+
+ // Deletes a taxonomy, including all policy tags in this
+ // taxonomy, their associated policies, and the policy tags references from
+ // BigQuery columns.
+ rpc DeleteTaxonomy(DeleteTaxonomyRequest) returns (google.protobuf.Empty) {
+ option (google.api.http) = {
+ delete: "/v1/{name=projects/*/locations/*/taxonomies/*}"
+ };
+ option (google.api.method_signature) = "name";
+ }
+
+ // Updates a taxonomy, including its display name,
+ // description, and activated policy types.
+ rpc UpdateTaxonomy(UpdateTaxonomyRequest) returns (Taxonomy) {
+ option (google.api.http) = {
+ patch: "/v1/{taxonomy.name=projects/*/locations/*/taxonomies/*}"
+ body: "taxonomy"
+ };
+ option (google.api.method_signature) = "taxonomy";
+ }
+
+ // Lists all taxonomies in a project in a particular location that you
+ // have a permission to view.
+ rpc ListTaxonomies(ListTaxonomiesRequest) returns (ListTaxonomiesResponse) {
+ option (google.api.http) = {
+ get: "/v1/{parent=projects/*/locations/*}/taxonomies"
+ };
+ option (google.api.method_signature) = "parent";
+ }
+
+ // Gets a taxonomy.
+ rpc GetTaxonomy(GetTaxonomyRequest) returns (Taxonomy) {
+ option (google.api.http) = {
+ get: "/v1/{name=projects/*/locations/*/taxonomies/*}"
+ };
+ option (google.api.method_signature) = "name";
+ }
+
+ // Creates a policy tag in a taxonomy.
+ rpc CreatePolicyTag(CreatePolicyTagRequest) returns (PolicyTag) {
+ option (google.api.http) = {
+ post: "/v1/{parent=projects/*/locations/*/taxonomies/*}/policyTags"
+ body: "policy_tag"
+ };
+ option (google.api.method_signature) = "parent,policy_tag";
+ }
+
+ // Deletes a policy tag together with the following:
+ //
+ // * All of its descendant policy tags, if any
+ // * Policies associated with the policy tag and its descendants
+ // * References from BigQuery table schema of the policy tag and its
+ // descendants
+ rpc DeletePolicyTag(DeletePolicyTagRequest) returns (google.protobuf.Empty) {
+ option (google.api.http) = {
+ delete: "/v1/{name=projects/*/locations/*/taxonomies/*/policyTags/*}"
+ };
+ option (google.api.method_signature) = "name";
+ }
+
+ // Updates a policy tag, including its display
+ // name, description, and parent policy tag.
+ rpc UpdatePolicyTag(UpdatePolicyTagRequest) returns (PolicyTag) {
+ option (google.api.http) = {
+ patch: "/v1/{policy_tag.name=projects/*/locations/*/taxonomies/*/policyTags/*}"
+ body: "policy_tag"
+ };
+ option (google.api.method_signature) = "policy_tag";
+ }
+
+ // Lists all policy tags in a taxonomy.
+ rpc ListPolicyTags(ListPolicyTagsRequest) returns (ListPolicyTagsResponse) {
+ option (google.api.http) = {
+ get: "/v1/{parent=projects/*/locations/*/taxonomies/*}/policyTags"
+ };
+ option (google.api.method_signature) = "parent";
+ }
+
+ // Gets a policy tag.
+ rpc GetPolicyTag(GetPolicyTagRequest) returns (PolicyTag) {
+ option (google.api.http) = {
+ get: "/v1/{name=projects/*/locations/*/taxonomies/*/policyTags/*}"
+ };
+ option (google.api.method_signature) = "name";
+ }
+
+ // Gets the IAM policy for a policy tag or a taxonomy.
+ rpc GetIamPolicy(google.iam.v1.GetIamPolicyRequest) returns (google.iam.v1.Policy) {
+ option (google.api.http) = {
+ post: "/v1/{resource=projects/*/locations/*/taxonomies/*}:getIamPolicy"
+ body: "*"
+ additional_bindings {
+ post: "/v1/{resource=projects/*/locations/*/taxonomies/*/policyTags/*}:getIamPolicy"
+ body: "*"
+ }
+ };
+ }
+
+ // Sets the IAM policy for a policy tag or a taxonomy.
+ rpc SetIamPolicy(google.iam.v1.SetIamPolicyRequest) returns (google.iam.v1.Policy) {
+ option (google.api.http) = {
+ post: "/v1/{resource=projects/*/locations/*/taxonomies/*}:setIamPolicy"
+ body: "*"
+ additional_bindings {
+ post: "/v1/{resource=projects/*/locations/*/taxonomies/*/policyTags/*}:setIamPolicy"
+ body: "*"
+ }
+ };
+ }
+
+ // Returns your permissions on a specified policy tag or
+ // taxonomy.
+ rpc TestIamPermissions(google.iam.v1.TestIamPermissionsRequest) returns (google.iam.v1.TestIamPermissionsResponse) {
+ option (google.api.http) = {
+ post: "/v1/{resource=projects/*/locations/*/taxonomies/*}:testIamPermissions"
+ body: "*"
+ additional_bindings {
+ post: "/v1/{resource=projects/*/locations/*/taxonomies/*/policyTags/*}:testIamPermissions"
+ body: "*"
+ }
+ };
+ }
+}
+
+// A taxonomy is a collection of hierarchical policy tags that classify data
+// along a common axis.
+//
+// For example, a "data sensitivity" taxonomy might contain the following policy
+// tags:
+//
+// ```
+// + PII
+// + Account number
+// + Age
+// + SSN
+// + Zipcode
+// + Financials
+// + Revenue
+// ```
+//
+// A "data origin" taxonomy might contain the following policy tags:
+//
+// ```
+// + User data
+// + Employee data
+// + Partner data
+// + Public data
+// ```
+message Taxonomy {
+ option (google.api.resource) = {
+ type: "datacatalog.googleapis.com/Taxonomy"
+ pattern: "projects/{project}/locations/{location}/taxonomies/{taxonomy}"
+ };
+
+ // Defines policy types where the policy tags can be used for.
+ enum PolicyType {
+ // Unspecified policy type.
+ POLICY_TYPE_UNSPECIFIED = 0;
+
+ // Fine-grained access control policy that enables access control on
+ // tagged sub-resources.
+ FINE_GRAINED_ACCESS_CONTROL = 1;
+ }
+
+ // Output only. Resource name of this taxonomy in URL format.
+ //
+ // Note: Policy tag manager generates unique taxonomy IDs.
+ string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Required. User-defined name of this taxonomy.
+ //
+ // The name can't start or end with spaces, must contain only Unicode letters,
+ // numbers, underscores, dashes, and spaces, and be at most 200 bytes long
+ // when encoded in UTF-8.
+ //
+ // The taxonomy display name must be unique within an organization.
+ string display_name = 2 [(google.api.field_behavior) = REQUIRED];
+
+ // Optional. Description of this taxonomy. If not set, defaults to empty.
+ //
+ // The description must contain only Unicode characters, tabs, newlines,
+ // carriage returns, and page breaks, and be at most 2000 bytes long when
+ // encoded in UTF-8.
+ string description = 3 [(google.api.field_behavior) = OPTIONAL];
+
+ // Output only. Number of policy tags in this taxonomy.
+ int32 policy_tag_count = 4 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Output only. Creation and modification timestamps of this taxonomy.
+ SystemTimestamps taxonomy_timestamps = 5 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Optional. A list of policy types that are activated for this taxonomy. If not set,
+ // defaults to an empty list.
+ repeated PolicyType activated_policy_types = 6 [(google.api.field_behavior) = OPTIONAL];
+}
+
+// Denotes one policy tag in a taxonomy, for example, SSN.
+//
+// Policy tags can be defined in a hierarchy. For example:
+//
+// ```
+// + Geolocation
+// + LatLong
+// + City
+// + ZipCode
+// ```
+//
+// Where the "Geolocation" policy tag contains three children.
+message PolicyTag {
+ option (google.api.resource) = {
+ type: "datacatalog.googleapis.com/PolicyTag"
+ pattern: "projects/{project}/locations/{location}/taxonomies/{taxonomy}/policyTags/{policy_tag}"
+ };
+
+ // Output only. Resource name of this policy tag in the URL format.
+ //
+ // The policy tag manager generates unique taxonomy IDs and policy tag IDs.
+ string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Required. User-defined name of this policy tag.
+ //
+ // The name can't start or end with spaces and must be unique within the
+ // parent taxonomy, contain only Unicode letters, numbers, underscores, dashes
+ // and spaces, and be at most 200 bytes long when encoded in UTF-8.
+ string display_name = 2 [(google.api.field_behavior) = REQUIRED];
+
+ // Description of this policy tag. If not set, defaults to empty.
+ //
+ // The description must contain only Unicode characters,
+ // tabs, newlines, carriage returns and page breaks, and be at most 2000 bytes
+ // long when encoded in UTF-8.
+ string description = 3;
+
+ // Resource name of this policy tag's parent policy tag. If empty, this is a
+ // top level tag. If not set, defaults to an empty string.
+ //
+ // For example, for the "LatLong" policy tag in the example above, this field
+ // contains the resource name of the "Geolocation" policy tag, and, for
+ // "Geolocation", this field is empty.
+ string parent_policy_tag = 4;
+
+ // Output only. Resource names of child policy tags of this policy tag.
+ repeated string child_policy_tags = 5 [(google.api.field_behavior) = OUTPUT_ONLY];
+}
+
+// Request message for
+// [CreateTaxonomy][google.cloud.datacatalog.v1.PolicyTagManager.CreateTaxonomy].
+message CreateTaxonomyRequest {
+ // Required. Resource name of the project that the taxonomy will belong to.
+ string parent = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ child_type: "datacatalog.googleapis.com/Taxonomy"
+ }
+ ];
+
+ // The taxonomy to create.
+ Taxonomy taxonomy = 2;
+}
+
+// Request message for
+// [DeleteTaxonomy][google.cloud.datacatalog.v1.PolicyTagManager.DeleteTaxonomy].
+message DeleteTaxonomyRequest {
+ // Required. Resource name of the taxonomy to delete.
+ //
+ // Note: All policy tags in this taxonomy are also deleted.
+ string name = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ type: "datacatalog.googleapis.com/Taxonomy"
+ }
+ ];
+}
+
+// Request message for
+// [UpdateTaxonomy][google.cloud.datacatalog.v1.PolicyTagManager.UpdateTaxonomy].
+message UpdateTaxonomyRequest {
+ // The taxonomy to update. You can update only its description, display name,
+ // and activated policy types.
+ Taxonomy taxonomy = 1;
+
+ // Specifies fields to update. If not set, defaults to all fields you can
+ // update.
+ //
+ // For more information, see [FieldMask]
+ // (https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask).
+ google.protobuf.FieldMask update_mask = 2;
+}
+
+// Request message for
+// [ListTaxonomies][google.cloud.datacatalog.v1.PolicyTagManager.ListTaxonomies].
+message ListTaxonomiesRequest {
+ // Required. Resource name of the project to list the taxonomies of.
+ string parent = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ child_type: "datacatalog.googleapis.com/Taxonomy"
+ }
+ ];
+
+ // The maximum number of items to return. Must be a value between 1 and 1000
+ // inclusively. If not set, defaults to 50.
+ int32 page_size = 2;
+
+ // The pagination token of the next results page. If not set,
+ // the first page is returned.
+ //
+ // The token is returned in the response to a previous list request.
+ string page_token = 3;
+}
+
+// Response message for
+// [ListTaxonomies][google.cloud.datacatalog.v1.PolicyTagManager.ListTaxonomies].
+message ListTaxonomiesResponse {
+ // Taxonomies that the project contains.
+ repeated Taxonomy taxonomies = 1;
+
+ // Pagination token of the next results page. Empty if there are no
+ // more results in the list.
+ string next_page_token = 2;
+}
+
+// Request message for
+// [GetTaxonomy][google.cloud.datacatalog.v1.PolicyTagManager.GetTaxonomy].
+message GetTaxonomyRequest {
+ // Required. Resource name of the taxonomy to get.
+ string name = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ type: "datacatalog.googleapis.com/Taxonomy"
+ }
+ ];
+}
+
+// Request message for
+// [CreatePolicyTag][google.cloud.datacatalog.v1.PolicyTagManager.CreatePolicyTag].
+message CreatePolicyTagRequest {
+ // Required. Resource name of the taxonomy that the policy tag will belong to.
+ string parent = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ child_type: "datacatalog.googleapis.com/PolicyTag"
+ }
+ ];
+
+ // The policy tag to create.
+ PolicyTag policy_tag = 2;
+}
+
+// Request message for
+// [DeletePolicyTag][google.cloud.datacatalog.v1.PolicyTagManager.DeletePolicyTag].
+message DeletePolicyTagRequest {
+ // Required. Resource name of the policy tag to delete.
+ //
+ // Note: All of its descendant policy tags are also deleted.
+ string name = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ type: "datacatalog.googleapis.com/PolicyTag"
+ }
+ ];
+}
+
+// Request message for
+// [UpdatePolicyTag][google.cloud.datacatalog.v1.PolicyTagManager.UpdatePolicyTag].
+message UpdatePolicyTagRequest {
+ // The policy tag to update. You can update only its description, display
+ // name, and parent policy tag fields.
+ PolicyTag policy_tag = 1;
+
+ // Specifies the fields to update.
+ //
+ // You can update only display name, description, and parent policy tag.
+ // If not set, defaults to all updatable fields.
+ // For more information, see [FieldMask]
+ // (https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask).
+ google.protobuf.FieldMask update_mask = 2;
+}
+
+// Request message for
+// [ListPolicyTags][google.cloud.datacatalog.v1.PolicyTagManager.ListPolicyTags].
+message ListPolicyTagsRequest {
+ // Required. Resource name of the taxonomy to list the policy tags of.
+ string parent = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ child_type: "datacatalog.googleapis.com/PolicyTag"
+ }
+ ];
+
+ // The maximum number of items to return. Must be a value between 1 and 1000
+ // inclusively.
+ // If not set, defaults to 50.
+ int32 page_size = 2;
+
+ // The pagination token of the next results page. If not set, returns the
+ // first page.
+ //
+ // The token is returned in the response to a previous list request.
+ string page_token = 3;
+}
+
+// Response message for
+// [ListPolicyTags][google.cloud.datacatalog.v1.PolicyTagManager.ListPolicyTags].
+message ListPolicyTagsResponse {
+ // The policy tags that belong to the taxonomy.
+ repeated PolicyTag policy_tags = 1;
+
+ // Pagination token of the next results page. Empty if there are no
+ // more results in the list.
+ string next_page_token = 2;
+}
+
+// Request message for
+// [GetPolicyTag][google.cloud.datacatalog.v1.PolicyTagManager.GetPolicyTag].
+message GetPolicyTagRequest {
+ // Required. Resource name of the policy tag.
+ string name = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ type: "datacatalog.googleapis.com/PolicyTag"
+ }
+ ];
+}
diff --git a/packages/google-cloud-datacatalog/protos/google/cloud/datacatalog/v1/policytagmanagerserialization.proto b/packages/google-cloud-datacatalog/protos/google/cloud/datacatalog/v1/policytagmanagerserialization.proto
new file mode 100644
index 00000000000..a4fe4d8b9c9
--- /dev/null
+++ b/packages/google-cloud-datacatalog/protos/google/cloud/datacatalog/v1/policytagmanagerserialization.proto
@@ -0,0 +1,222 @@
+// Copyright 2022 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+syntax = "proto3";
+
+package google.cloud.datacatalog.v1;
+
+import "google/api/annotations.proto";
+import "google/api/client.proto";
+import "google/api/field_behavior.proto";
+import "google/api/resource.proto";
+import "google/cloud/datacatalog/v1/policytagmanager.proto";
+
+option cc_enable_arenas = true;
+option csharp_namespace = "Google.Cloud.DataCatalog.V1";
+option go_package = "google.golang.org/genproto/googleapis/cloud/datacatalog/v1;datacatalog";
+option java_multiple_files = true;
+option java_outer_classname = "PolicyTagManagerSerializationProto";
+option java_package = "com.google.cloud.datacatalog.v1";
+option php_namespace = "Google\\Cloud\\DataCatalog\\V1";
+option ruby_package = "Google::Cloud::DataCatalog::V1";
+
+// Policy Tag Manager Serialization API service allows you to manipulate
+// your policy tags and taxonomies in a serialized format.
+//
+// Taxonomy is a hierarchical group of policy tags.
+service PolicyTagManagerSerialization {
+ option (google.api.default_host) = "datacatalog.googleapis.com";
+ option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/cloud-platform";
+
+ // Replaces (updates) a taxonomy and all its policy tags.
+ //
+ // The taxonomy and its entire hierarchy of policy tags must be
+ // represented literally by `SerializedTaxonomy` and the nested
+ // `SerializedPolicyTag` messages.
+ //
+ // This operation automatically does the following:
+ //
+ // - Deletes the existing policy tags that are missing from the
+ // `SerializedPolicyTag`.
+ // - Creates policy tags that don't have resource names. They are considered
+ // new.
+ // - Updates policy tags with valid resources names accordingly.
+ rpc ReplaceTaxonomy(ReplaceTaxonomyRequest) returns (Taxonomy) {
+ option (google.api.http) = {
+ post: "/v1/{name=projects/*/locations/*/taxonomies/*}:replace"
+ body: "*"
+ };
+ }
+
+ // Creates new taxonomies (including their policy tags) in a given project
+ // by importing from inlined or cross-regional sources.
+ //
+ // For a cross-regional source, new taxonomies are created by copying
+ // from a source in another region.
+ //
+ // For an inlined source, taxonomies and policy tags are created in bulk using
+ // nested protocol buffer structures.
+ rpc ImportTaxonomies(ImportTaxonomiesRequest) returns (ImportTaxonomiesResponse) {
+ option (google.api.http) = {
+ post: "/v1/{parent=projects/*/locations/*}/taxonomies:import"
+ body: "*"
+ };
+ }
+
+ // Exports taxonomies in the requested type and returns them,
+ // including their policy tags. The requested taxonomies must belong to the
+ // same project.
+ //
+ // This method generates `SerializedTaxonomy` protocol buffers with nested
+ // policy tags that can be used as input for `ImportTaxonomies` calls.
+ rpc ExportTaxonomies(ExportTaxonomiesRequest) returns (ExportTaxonomiesResponse) {
+ option (google.api.http) = {
+ get: "/v1/{parent=projects/*/locations/*}/taxonomies:export"
+ };
+ }
+}
+
+// A nested protocol buffer that represents a taxonomy and the hierarchy of its
+// policy tags. Used for taxonomy replacement, import, and
+// export.
+message SerializedTaxonomy {
+ // Required. Display name of the taxonomy. At most 200 bytes when encoded in UTF-8.
+ string display_name = 1 [(google.api.field_behavior) = REQUIRED];
+
+ // Description of the serialized taxonomy. At most 2000 bytes when
+ // encoded in UTF-8. If not set, defaults to an empty description.
+ string description = 2;
+
+ // Top level policy tags associated with the taxonomy, if any.
+ repeated SerializedPolicyTag policy_tags = 3;
+
+ // A list of policy types that are activated per taxonomy.
+ repeated Taxonomy.PolicyType activated_policy_types = 4;
+}
+
+// A nested protocol buffer that represents a policy tag and all its
+// descendants.
+message SerializedPolicyTag {
+ // Resource name of the policy tag.
+ //
+ // This field is ignored when calling `ImportTaxonomies`.
+ string policy_tag = 1;
+
+ // Required. Display name of the policy tag. At most 200 bytes when encoded
+ // in UTF-8.
+ string display_name = 2 [(google.api.field_behavior) = REQUIRED];
+
+ // Description of the serialized policy tag. At most
+ // 2000 bytes when encoded in UTF-8. If not set, defaults to an
+ // empty description.
+ string description = 3;
+
+ // Children of the policy tag, if any.
+ repeated SerializedPolicyTag child_policy_tags = 4;
+}
+
+// Request message for
+// [ReplaceTaxonomy][google.cloud.datacatalog.v1.PolicyTagManagerSerialization.ReplaceTaxonomy].
+message ReplaceTaxonomyRequest {
+ // Required. Resource name of the taxonomy to update.
+ string name = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ type: "datacatalog.googleapis.com/Taxonomy"
+ }
+ ];
+
+ // Required. Taxonomy to update along with its child policy tags.
+ SerializedTaxonomy serialized_taxonomy = 2 [(google.api.field_behavior) = REQUIRED];
+}
+
+// Request message for
+// [ImportTaxonomies][google.cloud.datacatalog.v1.PolicyTagManagerSerialization.ImportTaxonomies].
+message ImportTaxonomiesRequest {
+ // Required. Resource name of project that the imported taxonomies will belong to.
+ string parent = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ child_type: "datacatalog.googleapis.com/Taxonomy"
+ }
+ ];
+
+ // Source taxonomies to import.
+ oneof source {
+ // Inline source taxonomy to import.
+ InlineSource inline_source = 2;
+
+ // Cross-regional source taxonomy to import.
+ CrossRegionalSource cross_regional_source = 3;
+ }
+}
+
+// Inline source containing taxonomies to import.
+message InlineSource {
+ // Required. Taxonomies to import.
+ repeated SerializedTaxonomy taxonomies = 1 [(google.api.field_behavior) = REQUIRED];
+}
+
+// Cross-regional source used to import an existing taxonomy into a different
+// region.
+message CrossRegionalSource {
+ // Required. The resource name of the source taxonomy to import.
+ string taxonomy = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ type: "datacatalog.googleapis.com/Taxonomy"
+ }
+ ];
+}
+
+// Response message for
+// [ImportTaxonomies][google.cloud.datacatalog.v1.PolicyTagManagerSerialization.ImportTaxonomies].
+message ImportTaxonomiesResponse {
+ // Imported taxonomies.
+ repeated Taxonomy taxonomies = 1;
+}
+
+// Request message for
+// [ExportTaxonomies][google.cloud.datacatalog.v1.PolicyTagManagerSerialization.ExportTaxonomies].
+message ExportTaxonomiesRequest {
+ // Required. Resource name of the project that the exported taxonomies belong to.
+ string parent = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ child_type: "datacatalog.googleapis.com/Taxonomy"
+ }
+ ];
+
+ // Required. Resource names of the taxonomies to export.
+ repeated string taxonomies = 2 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ type: "datacatalog.googleapis.com/Taxonomy"
+ }
+ ];
+
+ // Required. Export destination for taxonomies.
+ oneof destination {
+ // Serialized export taxonomies that contain all the policy
+ // tags as nested protocol buffers.
+ bool serialized_taxonomies = 3;
+ }
+}
+
+// Response message for
+// [ExportTaxonomies][google.cloud.datacatalog.v1.PolicyTagManagerSerialization.ExportTaxonomies].
+message ExportTaxonomiesResponse {
+ // List of taxonomies and policy tags as nested protocol buffers.
+ repeated SerializedTaxonomy taxonomies = 1;
+}
diff --git a/packages/google-cloud-datacatalog/protos/google/cloud/datacatalog/v1/schema.proto b/packages/google-cloud-datacatalog/protos/google/cloud/datacatalog/v1/schema.proto
new file mode 100644
index 00000000000..b33caac484f
--- /dev/null
+++ b/packages/google-cloud-datacatalog/protos/google/cloud/datacatalog/v1/schema.proto
@@ -0,0 +1,67 @@
+// Copyright 2022 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+syntax = "proto3";
+
+package google.cloud.datacatalog.v1;
+
+import "google/api/field_behavior.proto";
+
+option cc_enable_arenas = true;
+option csharp_namespace = "Google.Cloud.DataCatalog.V1";
+option go_package = "google.golang.org/genproto/googleapis/cloud/datacatalog/v1;datacatalog";
+option java_multiple_files = true;
+option java_package = "com.google.cloud.datacatalog.v1";
+option php_namespace = "Google\\Cloud\\DataCatalog\\V1";
+option ruby_package = "Google::Cloud::DataCatalog::V1";
+
+// Represents a schema, for example, a BigQuery, GoogleSQL, or Avro schema.
+message Schema {
+ // The unified GoogleSQL-like schema of columns.
+ //
+ // The overall maximum number of columns and nested columns is 10,000.
+ // The maximum nested depth is 15 levels.
+ repeated ColumnSchema columns = 2;
+}
+
+// A column within a schema. Columns can be nested inside
+// other columns.
+message ColumnSchema {
+ // Required. Name of the column.
+ //
+ // Must be a UTF-8 string without dots (.).
+ // The maximum size is 64 bytes.
+ string column = 6 [(google.api.field_behavior) = REQUIRED];
+
+ // Required. Type of the column.
+ //
+ // Must be a UTF-8 string with the maximum size of 128 bytes.
+ string type = 1 [(google.api.field_behavior) = REQUIRED];
+
+ // Optional. Description of the column. Default value is an empty string.
+ //
+ // The description must be a UTF-8 string with the maximum size of 2000
+ // bytes.
+ string description = 2 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. A column's mode indicates whether values in this column are required,
+ // nullable, or repeated.
+ //
+ // Only `NULLABLE`, `REQUIRED`, and `REPEATED` values are supported.
+ // Default mode is `NULLABLE`.
+ string mode = 3 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. Schema of sub-columns. A column can have zero or more sub-columns.
+ repeated ColumnSchema subcolumns = 7 [(google.api.field_behavior) = OPTIONAL];
+}
diff --git a/packages/google-cloud-datacatalog/protos/google/cloud/datacatalog/v1/search.proto b/packages/google-cloud-datacatalog/protos/google/cloud/datacatalog/v1/search.proto
new file mode 100644
index 00000000000..88c06a46cc1
--- /dev/null
+++ b/packages/google-cloud-datacatalog/protos/google/cloud/datacatalog/v1/search.proto
@@ -0,0 +1,119 @@
+// Copyright 2022 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+syntax = "proto3";
+
+package google.cloud.datacatalog.v1;
+
+import "google/api/field_behavior.proto";
+import "google/cloud/datacatalog/v1/common.proto";
+import "google/protobuf/timestamp.proto";
+
+option cc_enable_arenas = true;
+option csharp_namespace = "Google.Cloud.DataCatalog.V1";
+option go_package = "google.golang.org/genproto/googleapis/cloud/datacatalog/v1;datacatalog";
+option java_multiple_files = true;
+option java_package = "com.google.cloud.datacatalog.v1";
+option php_namespace = "Google\\Cloud\\DataCatalog\\V1";
+option ruby_package = "Google::Cloud::DataCatalog::V1";
+
+// Result in the response to a search request.
+//
+// Each result captures details of one entry that matches the search.
+message SearchCatalogResult {
+ // Type of the search result.
+ //
+ // You can use this field to determine which get method to call to fetch the
+ // full resource.
+ SearchResultType search_result_type = 1;
+
+ // Sub-type of the search result.
+ //
+ // A dot-delimited full type of the resource. The same type you
+ // specify in the `type` search predicate.
+ //
+ // Examples: `entry.table`, `entry.dataStream`, `tagTemplate`.
+ string search_result_subtype = 2;
+
+ // The relative name of the resource in URL format.
+ //
+ // Examples:
+ //
+ // * `projects/{PROJECT_ID}/locations/{LOCATION_ID}/entryGroups/{ENTRY_GROUP_ID}/entries/{ENTRY_ID}`
+ // * `projects/{PROJECT_ID}/tagTemplates/{TAG_TEMPLATE_ID}`
+ string relative_resource_name = 3;
+
+ // The full name of the Google Cloud resource the entry belongs to.
+ //
+ // For more information, see [Full Resource Name]
+ // (/apis/design/resource_names#full_resource_name).
+ //
+ // Example:
+ //
+ // `//bigquery.googleapis.com/projects/PROJECT_ID/datasets/DATASET_ID/tables/TABLE_ID`
+ string linked_resource = 4;
+
+ // The last modification timestamp of the entry in the source system.
+ google.protobuf.Timestamp modify_time = 7;
+
+ // The source system of the entry. Applicable only when the
+ // `search_result_type` is `ENTRY`.
+ oneof system {
+ // Output only. The source system that Data Catalog automatically integrates with, such
+ // as BigQuery, Cloud Pub/Sub, or Dataproc Metastore.
+ IntegratedSystem integrated_system = 8 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Custom source system that you can manually integrate Data Catalog with.
+ string user_specified_system = 9;
+ }
+
+ // Fully qualified name (FQN) of the resource.
+ //
+ // FQNs take two forms:
+ //
+ // * For non-regionalized resources:
+ //
+ // `{SYSTEM}:{PROJECT}.{PATH_TO_RESOURCE_SEPARATED_WITH_DOTS}`
+ //
+ // * For regionalized resources:
+ //
+ // `{SYSTEM}:{PROJECT}.{LOCATION_ID}.{PATH_TO_RESOURCE_SEPARATED_WITH_DOTS}`
+ //
+ // Example for a DPMS table:
+ //
+ // `dataproc_metastore:PROJECT_ID.LOCATION_ID.INSTANCE_ID.DATABASE_ID.TABLE_ID`
+ string fully_qualified_name = 10;
+
+ // The display name of the result.
+ string display_name = 12;
+
+ // Entry description that can consist of several sentences or paragraphs that
+ // describe entry contents.
+ string description = 13;
+}
+
+// The resource types that can be returned in search results.
+enum SearchResultType {
+ // Default unknown type.
+ SEARCH_RESULT_TYPE_UNSPECIFIED = 0;
+
+ // An [Entry][google.cloud.datacatalog.v1.Entry].
+ ENTRY = 1;
+
+ // A [TagTemplate][google.cloud.datacatalog.v1.TagTemplate].
+ TAG_TEMPLATE = 2;
+
+ // An [EntryGroup][google.cloud.datacatalog.v1.EntryGroup].
+ ENTRY_GROUP = 3;
+}
diff --git a/packages/google-cloud-datacatalog/protos/google/cloud/datacatalog/v1/table_spec.proto b/packages/google-cloud-datacatalog/protos/google/cloud/datacatalog/v1/table_spec.proto
new file mode 100644
index 00000000000..cbf7ad3e970
--- /dev/null
+++ b/packages/google-cloud-datacatalog/protos/google/cloud/datacatalog/v1/table_spec.proto
@@ -0,0 +1,114 @@
+// Copyright 2022 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+syntax = "proto3";
+
+package google.cloud.datacatalog.v1;
+
+import "google/api/field_behavior.proto";
+import "google/api/resource.proto";
+
+option cc_enable_arenas = true;
+option csharp_namespace = "Google.Cloud.DataCatalog.V1";
+option go_package = "google.golang.org/genproto/googleapis/cloud/datacatalog/v1;datacatalog";
+option java_multiple_files = true;
+option java_package = "com.google.cloud.datacatalog.v1";
+option php_namespace = "Google\\Cloud\\DataCatalog\\V1";
+option ruby_package = "Google::Cloud::DataCatalog::V1";
+
+// Describes a BigQuery table.
+message BigQueryTableSpec {
+ // Output only. The table source type.
+ TableSourceType table_source_type = 1 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Output only.
+ oneof type_spec {
+ // Table view specification. Populated only if
+ // the `table_source_type` is `BIGQUERY_VIEW`.
+ ViewSpec view_spec = 2;
+
+ // Specification of a BigQuery table. Populated only if
+ // the `table_source_type` is `BIGQUERY_TABLE`.
+ TableSpec table_spec = 3;
+ }
+}
+
+// Table source type.
+enum TableSourceType {
+ // Default unknown type.
+ TABLE_SOURCE_TYPE_UNSPECIFIED = 0;
+
+ // Table view.
+ BIGQUERY_VIEW = 2;
+
+ // BigQuery native table.
+ BIGQUERY_TABLE = 5;
+
+ // BigQuery materialized view.
+ BIGQUERY_MATERIALIZED_VIEW = 7;
+}
+
+// Table view specification.
+message ViewSpec {
+ // Output only. The query that defines the table view.
+ string view_query = 1 [(google.api.field_behavior) = OUTPUT_ONLY];
+}
+
+// Normal BigQuery table specification.
+message TableSpec {
+ // Output only. If the table is date-sharded, that is, it matches the `[prefix]YYYYMMDD`
+ // name pattern, this field is the Data Catalog resource name of the
+ // date-sharded grouped entry. For example:
+ //
+ // `projects/{PROJECT_ID}/locations/{LOCATION}/entrygroups/{ENTRY_GROUP_ID}/entries/{ENTRY_ID}`.
+ //
+ // Otherwise, `grouped_entry` is empty.
+ string grouped_entry = 1 [
+ (google.api.field_behavior) = OUTPUT_ONLY,
+ (google.api.resource_reference) = {
+ type: "datacatalog.googleapis.com/Entry"
+ }
+ ];
+}
+
+// Specification for a group of BigQuery tables with the `[prefix]YYYYMMDD` name
+// pattern.
+//
+// For more information, see [Introduction to partitioned tables]
+// (https://cloud.google.com/bigquery/docs/partitioned-tables#partitioning_versus_sharding).
+message BigQueryDateShardedSpec {
+ // Output only. The Data Catalog resource name of the dataset entry the current table
+ // belongs to. For example:
+ //
+ // `projects/{PROJECT_ID}/locations/{LOCATION}/entrygroups/{ENTRY_GROUP_ID}/entries/{ENTRY_ID}`.
+ string dataset = 1 [
+ (google.api.field_behavior) = OUTPUT_ONLY,
+ (google.api.resource_reference) = {
+ type: "datacatalog.googleapis.com/Entry"
+ }
+ ];
+
+ // Output only. The table name prefix of the shards.
+ //
+ // The name of any given shard is `[table_prefix]YYYYMMDD`.
+ // For example, for the `MyTable20180101` shard, the
+ // `table_prefix` is `MyTable`.
+ string table_prefix = 2 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Output only. Total number of shards.
+ int64 shard_count = 3 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Output only. BigQuery resource name of the latest shard.
+ string latest_shard_resource = 4 [(google.api.field_behavior) = OUTPUT_ONLY];
+}
diff --git a/packages/google-cloud-datacatalog/protos/google/cloud/datacatalog/v1/tags.proto b/packages/google-cloud-datacatalog/protos/google/cloud/datacatalog/v1/tags.proto
new file mode 100644
index 00000000000..dedfd2f61f1
--- /dev/null
+++ b/packages/google-cloud-datacatalog/protos/google/cloud/datacatalog/v1/tags.proto
@@ -0,0 +1,279 @@
+// Copyright 2022 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+syntax = "proto3";
+
+package google.cloud.datacatalog.v1;
+
+import "google/api/field_behavior.proto";
+import "google/api/resource.proto";
+import "google/protobuf/timestamp.proto";
+
+option cc_enable_arenas = true;
+option csharp_namespace = "Google.Cloud.DataCatalog.V1";
+option go_package = "google.golang.org/genproto/googleapis/cloud/datacatalog/v1;datacatalog";
+option java_multiple_files = true;
+option java_package = "com.google.cloud.datacatalog.v1";
+option php_namespace = "Google\\Cloud\\DataCatalog\\V1";
+option ruby_package = "Google::Cloud::DataCatalog::V1";
+
+// Tags contain custom metadata and are attached to Data Catalog resources. Tags
+// conform with the specification of their tag template.
+//
+// See [Data Catalog
+// IAM](https://cloud.google.com/data-catalog/docs/concepts/iam) for information
+// on the permissions needed to create or view tags.
+message Tag {
+ option (google.api.resource) = {
+ type: "datacatalog.googleapis.com/Tag"
+ pattern: "projects/{project}/locations/{location}/entryGroups/{entry_group}/entries/{entry}/tags/{tag}"
+ };
+
+ // The resource name of the tag in URL format where tag ID is a
+ // system-generated identifier.
+ //
+ // Note: The tag itself might not be stored in the location specified in its
+ // name.
+ string name = 1;
+
+ // Required. The resource name of the tag template this tag uses. Example:
+ //
+ // `projects/{PROJECT_ID}/locations/{LOCATION}/tagTemplates/{TAG_TEMPLATE_ID}`
+ //
+ // This field cannot be modified after creation.
+ string template = 2 [(google.api.field_behavior) = REQUIRED];
+
+ // Output only. The display name of the tag template.
+ string template_display_name = 5 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // The scope within the parent resource that this tag is attached to. If not
+ // provided, the tag is attached to the parent resource itself.
+ //
+ // Deleting the scope from the parent resource deletes all tags attached
+ // to that scope.
+ //
+ // These fields cannot be updated after creation.
+ oneof scope {
+ // Resources like entry can have schemas associated with them. This scope
+ // allows you to attach tags to an individual column based on that schema.
+ //
+ // To attach a tag to a nested column, separate column names with a dot
+ // (`.`). Example: `column.nested_column`.
+ string column = 4;
+ }
+
+ // Required. Maps the ID of a tag field to its value and additional information
+ // about that field.
+ //
+ // Tag template defines valid field IDs. A tag
+ // must have at least 1 field and at most 500 fields.
+ map fields = 3 [(google.api.field_behavior) = REQUIRED];
+}
+
+// Contains the value and additional information on a field within
+// a [Tag][google.cloud.datacatalog.v1.Tag].
+message TagField {
+ // An enum value.
+ message EnumValue {
+ // The display name of the enum value.
+ string display_name = 1;
+ }
+
+ // Output only. The display name of this field.
+ string display_name = 1 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Required. The value of this field.
+ oneof kind {
+ // The value of a tag field with a double type.
+ double double_value = 2;
+
+ // The value of a tag field with a string type.
+ //
+ // The maximum length is 2000 UTF-8 characters.
+ string string_value = 3;
+
+ // The value of a tag field with a boolean type.
+ bool bool_value = 4;
+
+ // The value of a tag field with a timestamp type.
+ google.protobuf.Timestamp timestamp_value = 5;
+
+ // The value of a tag field with an enum type.
+ //
+ // This value must be one of the allowed values listed in this enum.
+ EnumValue enum_value = 6;
+
+ // The value of a tag field with a rich text type.
+ //
+ // The maximum length is 10 MiB as this value holds HTML descriptions
+ // including encoded images. The maximum length of the text without images
+ // is 100 KiB.
+ string richtext_value = 8;
+ }
+
+ // Output only. The order of this field with respect to other fields in this tag. Can be
+ // set by [Tag][google.cloud.datacatalog.v1.TagTemplateField.order].
+ //
+ // For example, a higher value can indicate a more important field.
+ // The value can be negative. Multiple fields can have the same order, and
+ // field orders within a tag don't have to be sequential.
+ int32 order = 7 [(google.api.field_behavior) = OUTPUT_ONLY];
+}
+
+// A tag template defines a tag that can have one or more typed fields.
+//
+// The template is used to create tags that are attached to GCP resources.
+// [Tag template roles]
+// (https://cloud.google.com/iam/docs/understanding-roles#data-catalog-roles)
+// provide permissions to create, edit, and use the template. For example,
+// see the [TagTemplate User]
+// (https://cloud.google.com/data-catalog/docs/how-to/template-user) role
+// that includes a permission to use the tag template to tag resources.
+message TagTemplate {
+ option (google.api.resource) = {
+ type: "datacatalog.googleapis.com/TagTemplate"
+ pattern: "projects/{project}/locations/{location}/tagTemplates/{tag_template}"
+ };
+
+ // The resource name of the tag template in URL format.
+ //
+ // Note: The tag template itself and its child resources might not be
+ // stored in the location specified in its name.
+ string name = 1;
+
+ // Display name for this template. Defaults to an empty string.
+ //
+ // The name must contain only Unicode letters, numbers (0-9), underscores (_),
+ // dashes (-), spaces ( ), and can't start or end with spaces.
+ // The maximum length is 200 characters.
+ string display_name = 2;
+
+ // Indicates whether tags created with this template are public. Public tags
+ // do not require tag template access to appear in
+ // [ListTags][google.cloud.datacatalog.v1.ListTags] API response.
+ //
+ // Additionally, you can search for a public tag by value with a
+ // simple search query in addition to using a ``tag:`` predicate.
+ bool is_publicly_readable = 5;
+
+ // Required. Map of tag template field IDs to the settings for the field.
+ // This map is an exhaustive list of the allowed fields. The map must contain
+ // at least one field and at most 500 fields.
+ //
+ // The keys to this map are tag template field IDs. The IDs have the
+ // following limitations:
+ //
+ // * Can contain uppercase and lowercase letters, numbers (0-9) and
+ // underscores (_).
+ // * Must be at least 1 character and at most 64 characters long.
+ // * Must start with a letter or underscore.
+ map fields = 3 [(google.api.field_behavior) = REQUIRED];
+}
+
+// The template for an individual field within a tag template.
+message TagTemplateField {
+ option (google.api.resource) = {
+ type: "datacatalog.googleapis.com/TagTemplateField"
+ pattern: "projects/{project}/locations/{location}/tagTemplates/{tag_template}/fields/{field}"
+ };
+
+ // Output only. The resource name of the tag template field in URL format. Example:
+ //
+ // `projects/{PROJECT_ID}/locations/{LOCATION}/tagTemplates/{TAG_TEMPLATE}/fields/{FIELD}`
+ //
+ // Note: The tag template field itself might not be stored in the location
+ // specified in its name.
+ //
+ // The name must contain only letters (a-z, A-Z), numbers (0-9),
+ // or underscores (_), and must start with a letter or underscore.
+ // The maximum length is 64 characters.
+ string name = 6 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // The display name for this field. Defaults to an empty string.
+ //
+ // The name must contain only Unicode letters, numbers (0-9), underscores (_),
+ // dashes (-), spaces ( ), and can't start or end with spaces.
+ // The maximum length is 200 characters.
+ string display_name = 1;
+
+ // Required. The type of value this tag field can contain.
+ FieldType type = 2 [(google.api.field_behavior) = REQUIRED];
+
+ // If true, this field is required. Defaults to false.
+ bool is_required = 3;
+
+ // The description for this field. Defaults to an empty string.
+ string description = 4;
+
+ // The order of this field with respect to other fields in this tag
+ // template.
+ //
+ // For example, a higher value can indicate a more important field.
+ // The value can be negative. Multiple fields can have the same order and
+ // field orders within a tag don't have to be sequential.
+ int32 order = 5;
+}
+
+message FieldType {
+ enum PrimitiveType {
+ // The default invalid value for a type.
+ PRIMITIVE_TYPE_UNSPECIFIED = 0;
+
+ // A double precision number.
+ DOUBLE = 1;
+
+ // An UTF-8 string.
+ STRING = 2;
+
+ // A boolean value.
+ BOOL = 3;
+
+ // A timestamp.
+ TIMESTAMP = 4;
+
+ // A Richtext description.
+ RICHTEXT = 5;
+ }
+
+ message EnumType {
+ message EnumValue {
+ // Required. The display name of the enum value. Must not be an empty string.
+ //
+ // The name must contain only Unicode letters, numbers (0-9), underscores
+ // (_), dashes (-), spaces ( ), and can't start or end with spaces. The
+ // maximum length is 200 characters.
+ string display_name = 1 [(google.api.field_behavior) = REQUIRED];
+ }
+
+ // The set of allowed values for this enum.
+ //
+ // This set must not be empty and can include up to 100 allowed values.
+ // The display names of the values in this set must not be empty and must
+ // be case-insensitively unique within this set.
+ //
+ // The order of items in this set is preserved. This field can be used to
+ // create, remove, and reorder enum values. To rename enum values, use the
+ // `RenameTagTemplateFieldEnumValue` method.
+ repeated EnumValue allowed_values = 1;
+ }
+
+ // Required.
+ oneof type_decl {
+ // Primitive types, such as string, boolean, etc.
+ PrimitiveType primitive_type = 1;
+
+ // An enum type.
+ EnumType enum_type = 2;
+ }
+}
diff --git a/packages/google-cloud-datacatalog/protos/google/cloud/datacatalog/v1/timestamps.proto b/packages/google-cloud-datacatalog/protos/google/cloud/datacatalog/v1/timestamps.proto
new file mode 100644
index 00000000000..fe96d7d3fb6
--- /dev/null
+++ b/packages/google-cloud-datacatalog/protos/google/cloud/datacatalog/v1/timestamps.proto
@@ -0,0 +1,48 @@
+// Copyright 2022 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+syntax = "proto3";
+
+package google.cloud.datacatalog.v1;
+
+import "google/api/field_behavior.proto";
+import "google/protobuf/timestamp.proto";
+
+option cc_enable_arenas = true;
+option csharp_namespace = "Google.Cloud.DataCatalog.V1";
+option go_package = "google.golang.org/genproto/googleapis/cloud/datacatalog/v1;datacatalog";
+option java_multiple_files = true;
+option java_package = "com.google.cloud.datacatalog.v1";
+option php_namespace = "Google\\Cloud\\DataCatalog\\V1";
+option ruby_package = "Google::Cloud::DataCatalog::V1";
+
+// Timestamps associated with this resource in a particular system.
+message SystemTimestamps {
+ // Creation timestamp of the resource within the given system.
+ google.protobuf.Timestamp create_time = 1;
+
+ // Timestamp of the last modification of the resource or its metadata within
+ // a given system.
+ //
+ // Note: Depending on the source system, not every modification updates this
+ // timestamp.
+ // For example, BigQuery timestamps every metadata modification but not data
+ // or permission changes.
+ google.protobuf.Timestamp update_time = 2;
+
+ // Output only. Expiration timestamp of the resource within the given system.
+ //
+ // Currently only applicable to BigQuery resources.
+ google.protobuf.Timestamp expire_time = 3 [(google.api.field_behavior) = OUTPUT_ONLY];
+}
diff --git a/packages/google-cloud-datacatalog/protos/google/cloud/datacatalog/v1/usage.proto b/packages/google-cloud-datacatalog/protos/google/cloud/datacatalog/v1/usage.proto
new file mode 100644
index 00000000000..d778e512145
--- /dev/null
+++ b/packages/google-cloud-datacatalog/protos/google/cloud/datacatalog/v1/usage.proto
@@ -0,0 +1,66 @@
+// Copyright 2022 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+syntax = "proto3";
+
+package google.cloud.datacatalog.v1;
+
+import "google/api/field_behavior.proto";
+import "google/protobuf/timestamp.proto";
+
+option cc_enable_arenas = true;
+option csharp_namespace = "Google.Cloud.DataCatalog.V1";
+option go_package = "google.golang.org/genproto/googleapis/cloud/datacatalog/v1;datacatalog";
+option java_multiple_files = true;
+option java_package = "com.google.cloud.datacatalog.v1";
+option php_namespace = "Google\\Cloud\\DataCatalog\\V1";
+option ruby_package = "Google::Cloud::DataCatalog::V1";
+
+// Detailed statistics on the entry's usage.
+//
+// Usage statistics have the following limitations:
+//
+// - Only BigQuery tables have them.
+// - They only include BigQuery query jobs.
+// - They might be underestimated because wildcard table references
+// are not yet counted. For more information, see
+// [Querying multiple tables using a wildcard table]
+// (https://cloud.google.com/bigquery/docs/querying-wildcard-tables)
+message UsageStats {
+ // The number of successful uses of the underlying entry.
+ float total_completions = 1;
+
+ // The number of failed attempts to use the underlying entry.
+ float total_failures = 2;
+
+ // The number of cancelled attempts to use the underlying entry.
+ float total_cancellations = 3;
+
+ // Total time spent only on successful uses, in milliseconds.
+ float total_execution_time_for_completions_millis = 4;
+}
+
+// The set of all usage signals that Data Catalog stores.
+//
+// Note: Usually, these signals are updated daily. In rare cases, an update may
+// fail but will be performed again on the next day.
+message UsageSignal {
+ // The end timestamp of the duration of usage statistics.
+ google.protobuf.Timestamp update_time = 1;
+
+ // Output only. BigQuery usage statistics over each of the predefined time ranges.
+ //
+ // Supported time ranges are `{"24H", "7D", "30D"}`.
+ map usage_within_time_range = 2 [(google.api.field_behavior) = OUTPUT_ONLY];
+}
diff --git a/packages/google-cloud-datacatalog/protos/google/cloud/datacatalog/v1beta1/common.proto b/packages/google-cloud-datacatalog/protos/google/cloud/datacatalog/v1beta1/common.proto
new file mode 100644
index 00000000000..a759b371ef5
--- /dev/null
+++ b/packages/google-cloud-datacatalog/protos/google/cloud/datacatalog/v1beta1/common.proto
@@ -0,0 +1,38 @@
+// Copyright 2020 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+syntax = "proto3";
+
+package google.cloud.datacatalog.v1beta1;
+
+option cc_enable_arenas = true;
+option csharp_namespace = "Google.Cloud.DataCatalog.V1Beta1";
+option go_package = "google.golang.org/genproto/googleapis/cloud/datacatalog/v1beta1;datacatalog";
+option java_multiple_files = true;
+option java_package = "com.google.cloud.datacatalog.v1beta1";
+option php_namespace = "Google\\Cloud\\DataCatalog\\V1beta1";
+option ruby_package = "Google::Cloud::DataCatalog::V1beta1";
+
+// This enum describes all the possible systems that Data Catalog integrates
+// with.
+enum IntegratedSystem {
+ // Default unknown system.
+ INTEGRATED_SYSTEM_UNSPECIFIED = 0;
+
+ // BigQuery.
+ BIGQUERY = 1;
+
+ // Cloud Pub/Sub.
+ CLOUD_PUBSUB = 2;
+}
diff --git a/packages/google-cloud-datacatalog/protos/google/cloud/datacatalog/v1beta1/datacatalog.proto b/packages/google-cloud-datacatalog/protos/google/cloud/datacatalog/v1beta1/datacatalog.proto
new file mode 100644
index 00000000000..5f265d5bfca
--- /dev/null
+++ b/packages/google-cloud-datacatalog/protos/google/cloud/datacatalog/v1beta1/datacatalog.proto
@@ -0,0 +1,1186 @@
+// Copyright 2020 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+syntax = "proto3";
+
+package google.cloud.datacatalog.v1beta1;
+
+import "google/api/annotations.proto";
+import "google/api/client.proto";
+import "google/api/field_behavior.proto";
+import "google/api/resource.proto";
+import "google/cloud/datacatalog/v1beta1/common.proto";
+import "google/cloud/datacatalog/v1beta1/gcs_fileset_spec.proto";
+import "google/cloud/datacatalog/v1beta1/schema.proto";
+import "google/cloud/datacatalog/v1beta1/search.proto";
+import "google/cloud/datacatalog/v1beta1/table_spec.proto";
+import "google/cloud/datacatalog/v1beta1/tags.proto";
+import "google/cloud/datacatalog/v1beta1/timestamps.proto";
+import "google/iam/v1/iam_policy.proto";
+import "google/iam/v1/policy.proto";
+import "google/protobuf/empty.proto";
+import "google/protobuf/field_mask.proto";
+
+option cc_enable_arenas = true;
+option csharp_namespace = "Google.Cloud.DataCatalog.V1Beta1";
+option go_package = "google.golang.org/genproto/googleapis/cloud/datacatalog/v1beta1;datacatalog";
+option java_multiple_files = true;
+option java_package = "com.google.cloud.datacatalog.v1beta1";
+option php_namespace = "Google\\Cloud\\DataCatalog\\V1beta1";
+option ruby_package = "Google::Cloud::DataCatalog::V1beta1";
+
+// Data Catalog API service allows clients to discover, understand, and manage
+// their data.
+service DataCatalog {
+ option (google.api.default_host) = "datacatalog.googleapis.com";
+ option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/cloud-platform";
+
+ // Searches Data Catalog for multiple resources like entries, tags that
+ // match a query.
+ //
+ // This is a custom method
+ // (https://cloud.google.com/apis/design/custom_methods) and does not return
+ // the complete resource, only the resource identifier and high level
+ // fields. Clients can subsequentally call `Get` methods.
+ //
+ // Note that Data Catalog search queries do not guarantee full recall. Query
+ // results that match your query may not be returned, even in subsequent
+ // result pages. Also note that results returned (and not returned) can vary
+ // across repeated search queries.
+ //
+ // See [Data Catalog Search
+ // Syntax](https://cloud.google.com/data-catalog/docs/how-to/search-reference)
+ // for more information.
+ rpc SearchCatalog(SearchCatalogRequest) returns (SearchCatalogResponse) {
+ option (google.api.http) = {
+ post: "/v1beta1/catalog:search"
+ body: "*"
+ };
+ option (google.api.method_signature) = "scope,query";
+ }
+
+ // A maximum of 10,000 entry groups may be created per organization across all
+ // locations.
+ //
+ // Users should enable the Data Catalog API in the project identified by
+ // the `parent` parameter (see [Data Catalog Resource Project]
+ // (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for
+ // more information).
+ rpc CreateEntryGroup(CreateEntryGroupRequest) returns (EntryGroup) {
+ option (google.api.http) = {
+ post: "/v1beta1/{parent=projects/*/locations/*}/entryGroups"
+ body: "entry_group"
+ };
+ option (google.api.method_signature) = "parent,entry_group_id,entry_group";
+ }
+
+ // Updates an EntryGroup. The user should enable the Data Catalog API in the
+ // project identified by the `entry_group.name` parameter (see [Data Catalog
+ // Resource Project]
+ // (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for
+ // more information).
+ rpc UpdateEntryGroup(UpdateEntryGroupRequest) returns (EntryGroup) {
+ option (google.api.http) = {
+ patch: "/v1beta1/{entry_group.name=projects/*/locations/*/entryGroups/*}"
+ body: "entry_group"
+ };
+ option (google.api.method_signature) = "entry_group";
+ option (google.api.method_signature) = "entry_group,update_mask";
+ }
+
+ // Gets an EntryGroup.
+ rpc GetEntryGroup(GetEntryGroupRequest) returns (EntryGroup) {
+ option (google.api.http) = {
+ get: "/v1beta1/{name=projects/*/locations/*/entryGroups/*}"
+ };
+ option (google.api.method_signature) = "name";
+ option (google.api.method_signature) = "name,read_mask";
+ }
+
+ // Deletes an EntryGroup. Only entry groups that do not contain entries can be
+ // deleted. Users should enable the Data Catalog API in the project
+ // identified by the `name` parameter (see [Data Catalog Resource Project]
+ // (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for
+ // more information).
+ rpc DeleteEntryGroup(DeleteEntryGroupRequest) returns (google.protobuf.Empty) {
+ option (google.api.http) = {
+ delete: "/v1beta1/{name=projects/*/locations/*/entryGroups/*}"
+ };
+ option (google.api.method_signature) = "name";
+ }
+
+ // Lists entry groups.
+ rpc ListEntryGroups(ListEntryGroupsRequest) returns (ListEntryGroupsResponse) {
+ option (google.api.http) = {
+ get: "/v1beta1/{parent=projects/*/locations/*}/entryGroups"
+ };
+ option (google.api.method_signature) = "parent";
+ }
+
+ // Creates an entry. Only entries of 'FILESET' type or user-specified type can
+ // be created.
+ //
+ // Users should enable the Data Catalog API in the project identified by
+ // the `parent` parameter (see [Data Catalog Resource Project]
+ // (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for
+ // more information).
+ //
+ // A maximum of 100,000 entries may be created per entry group.
+ rpc CreateEntry(CreateEntryRequest) returns (Entry) {
+ option (google.api.http) = {
+ post: "/v1beta1/{parent=projects/*/locations/*/entryGroups/*}/entries"
+ body: "entry"
+ };
+ option (google.api.method_signature) = "parent,entry_id,entry";
+ }
+
+ // Updates an existing entry.
+ // Users should enable the Data Catalog API in the project identified by
+ // the `entry.name` parameter (see [Data Catalog Resource Project]
+ // (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for
+ // more information).
+ rpc UpdateEntry(UpdateEntryRequest) returns (Entry) {
+ option (google.api.http) = {
+ patch: "/v1beta1/{entry.name=projects/*/locations/*/entryGroups/*/entries/*}"
+ body: "entry"
+ };
+ option (google.api.method_signature) = "entry";
+ option (google.api.method_signature) = "entry,update_mask";
+ }
+
+ // Deletes an existing entry. Only entries created through
+ // [CreateEntry][google.cloud.datacatalog.v1beta1.DataCatalog.CreateEntry]
+ // method can be deleted.
+ // Users should enable the Data Catalog API in the project identified by
+ // the `name` parameter (see [Data Catalog Resource Project]
+ // (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for
+ // more information).
+ rpc DeleteEntry(DeleteEntryRequest) returns (google.protobuf.Empty) {
+ option (google.api.http) = {
+ delete: "/v1beta1/{name=projects/*/locations/*/entryGroups/*/entries/*}"
+ };
+ option (google.api.method_signature) = "name";
+ }
+
+ // Gets an entry.
+ rpc GetEntry(GetEntryRequest) returns (Entry) {
+ option (google.api.http) = {
+ get: "/v1beta1/{name=projects/*/locations/*/entryGroups/*/entries/*}"
+ };
+ option (google.api.method_signature) = "name";
+ }
+
+ // Get an entry by target resource name. This method allows clients to use
+ // the resource name from the source Google Cloud Platform service to get the
+ // Data Catalog Entry.
+ rpc LookupEntry(LookupEntryRequest) returns (Entry) {
+ option (google.api.http) = {
+ get: "/v1beta1/entries:lookup"
+ };
+ }
+
+ // Lists entries.
+ rpc ListEntries(ListEntriesRequest) returns (ListEntriesResponse) {
+ option (google.api.http) = {
+ get: "/v1beta1/{parent=projects/*/locations/*/entryGroups/*}/entries"
+ };
+ option (google.api.method_signature) = "parent";
+ }
+
+ // Creates a tag template. The user should enable the Data Catalog API in
+ // the project identified by the `parent` parameter (see [Data Catalog
+ // Resource
+ // Project](https://cloud.google.com/data-catalog/docs/concepts/resource-project)
+ // for more information).
+ rpc CreateTagTemplate(CreateTagTemplateRequest) returns (TagTemplate) {
+ option (google.api.http) = {
+ post: "/v1beta1/{parent=projects/*/locations/*}/tagTemplates"
+ body: "tag_template"
+ };
+ option (google.api.method_signature) = "parent,tag_template_id,tag_template";
+ }
+
+ // Gets a tag template.
+ rpc GetTagTemplate(GetTagTemplateRequest) returns (TagTemplate) {
+ option (google.api.http) = {
+ get: "/v1beta1/{name=projects/*/locations/*/tagTemplates/*}"
+ };
+ option (google.api.method_signature) = "name";
+ }
+
+ // Updates a tag template. This method cannot be used to update the fields of
+ // a template. The tag template fields are represented as separate resources
+ // and should be updated using their own create/update/delete methods.
+ // Users should enable the Data Catalog API in the project identified by
+ // the `tag_template.name` parameter (see [Data Catalog Resource Project]
+ // (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for
+ // more information).
+ rpc UpdateTagTemplate(UpdateTagTemplateRequest) returns (TagTemplate) {
+ option (google.api.http) = {
+ patch: "/v1beta1/{tag_template.name=projects/*/locations/*/tagTemplates/*}"
+ body: "tag_template"
+ };
+ option (google.api.method_signature) = "tag_template";
+ option (google.api.method_signature) = "tag_template,update_mask";
+ }
+
+ // Deletes a tag template and all tags using the template.
+ // Users should enable the Data Catalog API in the project identified by
+ // the `name` parameter (see [Data Catalog Resource Project]
+ // (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for
+ // more information).
+ rpc DeleteTagTemplate(DeleteTagTemplateRequest) returns (google.protobuf.Empty) {
+ option (google.api.http) = {
+ delete: "/v1beta1/{name=projects/*/locations/*/tagTemplates/*}"
+ };
+ option (google.api.method_signature) = "name,force";
+ }
+
+ // Creates a field in a tag template. The user should enable the Data Catalog
+ // API in the project identified by the `parent` parameter (see
+ // [Data Catalog Resource
+ // Project](https://cloud.google.com/data-catalog/docs/concepts/resource-project)
+ // for more information).
+ rpc CreateTagTemplateField(CreateTagTemplateFieldRequest) returns (TagTemplateField) {
+ option (google.api.http) = {
+ post: "/v1beta1/{parent=projects/*/locations/*/tagTemplates/*}/fields"
+ body: "tag_template_field"
+ };
+ option (google.api.method_signature) = "parent,tag_template_field_id,tag_template_field";
+ }
+
+ // Updates a field in a tag template. This method cannot be used to update the
+ // field type. Users should enable the Data Catalog API in the project
+ // identified by the `name` parameter (see [Data Catalog Resource Project]
+ // (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for
+ // more information).
+ rpc UpdateTagTemplateField(UpdateTagTemplateFieldRequest) returns (TagTemplateField) {
+ option (google.api.http) = {
+ patch: "/v1beta1/{name=projects/*/locations/*/tagTemplates/*/fields/*}"
+ body: "tag_template_field"
+ };
+ option (google.api.method_signature) = "name,tag_template_field";
+ option (google.api.method_signature) = "name,tag_template_field,update_mask";
+ }
+
+ // Renames a field in a tag template. The user should enable the Data Catalog
+ // API in the project identified by the `name` parameter (see [Data Catalog
+ // Resource
+ // Project](https://cloud.google.com/data-catalog/docs/concepts/resource-project)
+ // for more information).
+ rpc RenameTagTemplateField(RenameTagTemplateFieldRequest) returns (TagTemplateField) {
+ option (google.api.http) = {
+ post: "/v1beta1/{name=projects/*/locations/*/tagTemplates/*/fields/*}:rename"
+ body: "*"
+ };
+ option (google.api.method_signature) = "name,new_tag_template_field_id";
+ }
+
+ // Deletes a field in a tag template and all uses of that field.
+ // Users should enable the Data Catalog API in the project identified by
+ // the `name` parameter (see [Data Catalog Resource Project]
+ // (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for
+ // more information).
+ rpc DeleteTagTemplateField(DeleteTagTemplateFieldRequest) returns (google.protobuf.Empty) {
+ option (google.api.http) = {
+ delete: "/v1beta1/{name=projects/*/locations/*/tagTemplates/*/fields/*}"
+ };
+ option (google.api.method_signature) = "name,force";
+ }
+
+ // Creates a tag on an [Entry][google.cloud.datacatalog.v1beta1.Entry].
+ // Note: The project identified by the `parent` parameter for the
+ // [tag](https://cloud.google.com/data-catalog/docs/reference/rest/v1beta1/projects.locations.entryGroups.entries.tags/create#path-parameters)
+ // and the
+ // [tag
+ // template](https://cloud.google.com/data-catalog/docs/reference/rest/v1beta1/projects.locations.tagTemplates/create#path-parameters)
+ // used to create the tag must be from the same organization.
+ rpc CreateTag(CreateTagRequest) returns (Tag) {
+ option (google.api.http) = {
+ post: "/v1beta1/{parent=projects/*/locations/*/entryGroups/*/entries/*}/tags"
+ body: "tag"
+ additional_bindings {
+ post: "/v1beta1/{parent=projects/*/locations/*/entryGroups/*}/tags"
+ body: "tag"
+ }
+ };
+ option (google.api.method_signature) = "parent,tag";
+ }
+
+ // Updates an existing tag.
+ rpc UpdateTag(UpdateTagRequest) returns (Tag) {
+ option (google.api.http) = {
+ patch: "/v1beta1/{tag.name=projects/*/locations/*/entryGroups/*/entries/*/tags/*}"
+ body: "tag"
+ additional_bindings {
+ patch: "/v1beta1/{tag.name=projects/*/locations/*/entryGroups/*/tags/*}"
+ body: "tag"
+ }
+ };
+ option (google.api.method_signature) = "tag";
+ option (google.api.method_signature) = "tag,update_mask";
+ }
+
+ // Deletes a tag.
+ rpc DeleteTag(DeleteTagRequest) returns (google.protobuf.Empty) {
+ option (google.api.http) = {
+ delete: "/v1beta1/{name=projects/*/locations/*/entryGroups/*/entries/*/tags/*}"
+ additional_bindings {
+ delete: "/v1beta1/{name=projects/*/locations/*/entryGroups/*/tags/*}"
+ }
+ };
+ option (google.api.method_signature) = "name";
+ }
+
+ // Lists the tags on an [Entry][google.cloud.datacatalog.v1beta1.Entry].
+ rpc ListTags(ListTagsRequest) returns (ListTagsResponse) {
+ option (google.api.http) = {
+ get: "/v1beta1/{parent=projects/*/locations/*/entryGroups/*/entries/*}/tags"
+ additional_bindings {
+ get: "/v1beta1/{parent=projects/*/locations/*/entryGroups/*}/tags"
+ }
+ };
+ option (google.api.method_signature) = "parent";
+ }
+
+ // Sets the access control policy for a resource. Replaces any existing
+ // policy.
+ // Supported resources are:
+ // - Tag templates.
+ // - Entries.
+ // - Entry groups.
+ // Note, this method cannot be used to manage policies for BigQuery, Pub/Sub
+ // and any external Google Cloud Platform resources synced to Data Catalog.
+ //
+ // Callers must have following Google IAM permission
+ // - `datacatalog.tagTemplates.setIamPolicy` to set policies on tag
+ // templates.
+ // - `datacatalog.entries.setIamPolicy` to set policies on entries.
+ // - `datacatalog.entryGroups.setIamPolicy` to set policies on entry groups.
+ rpc SetIamPolicy(google.iam.v1.SetIamPolicyRequest) returns (google.iam.v1.Policy) {
+ option (google.api.http) = {
+ post: "/v1beta1/{resource=projects/*/locations/*/tagTemplates/*}:setIamPolicy"
+ body: "*"
+ additional_bindings {
+ post: "/v1beta1/{resource=projects/*/locations/*/entryGroups/*}:setIamPolicy"
+ body: "*"
+ }
+ };
+
+ option (google.api.method_signature) = "resource,policy";
+ }
+
+ // Gets the access control policy for a resource. A `NOT_FOUND` error
+ // is returned if the resource does not exist. An empty policy is returned
+ // if the resource exists but does not have a policy set on it.
+ //
+ // Supported resources are:
+ // - Tag templates.
+ // - Entries.
+ // - Entry groups.
+ // Note, this method cannot be used to manage policies for BigQuery, Pub/Sub
+ // and any external Google Cloud Platform resources synced to Data Catalog.
+ //
+ // Callers must have following Google IAM permission
+ // - `datacatalog.tagTemplates.getIamPolicy` to get policies on tag
+ // templates.
+ // - `datacatalog.entries.getIamPolicy` to get policies on entries.
+ // - `datacatalog.entryGroups.getIamPolicy` to get policies on entry groups.
+ rpc GetIamPolicy(google.iam.v1.GetIamPolicyRequest) returns (google.iam.v1.Policy) {
+ option (google.api.http) = {
+ post: "/v1beta1/{resource=projects/*/locations/*/tagTemplates/*}:getIamPolicy"
+ body: "*"
+ additional_bindings {
+ post: "/v1beta1/{resource=projects/*/locations/*/entryGroups/*}:getIamPolicy"
+ body: "*"
+ }
+ additional_bindings {
+ post: "/v1beta1/{resource=projects/*/locations/*/entryGroups/*/entries/*}:getIamPolicy"
+ body: "*"
+ }
+ };
+ option (google.api.method_signature) = "resource";
+ }
+
+ // Returns the caller's permissions on a resource.
+ // If the resource does not exist, an empty set of permissions is returned
+ // (We don't return a `NOT_FOUND` error).
+ //
+ // Supported resources are:
+ // - Tag templates.
+ // - Entries.
+ // - Entry groups.
+ // Note, this method cannot be used to manage policies for BigQuery, Pub/Sub
+ // and any external Google Cloud Platform resources synced to Data Catalog.
+ //
+ // A caller is not required to have Google IAM permission to make this
+ // request.
+ rpc TestIamPermissions(google.iam.v1.TestIamPermissionsRequest) returns (google.iam.v1.TestIamPermissionsResponse) {
+ option (google.api.http) = {
+ post: "/v1beta1/{resource=projects/*/locations/*/tagTemplates/*}:testIamPermissions"
+ body: "*"
+ additional_bindings {
+ post: "/v1beta1/{resource=projects/*/locations/*/entryGroups/*}:testIamPermissions"
+ body: "*"
+ }
+ additional_bindings {
+ post: "/v1beta1/{resource=projects/*/locations/*/entryGroups/*/entries/*}:testIamPermissions"
+ body: "*"
+ }
+ };
+ }
+}
+
+// Request message for
+// [SearchCatalog][google.cloud.datacatalog.v1beta1.DataCatalog.SearchCatalog].
+message SearchCatalogRequest {
+ // The criteria that select the subspace used for query matching.
+ message Scope {
+ // The list of organization IDs to search within. To find your organization
+ // ID, follow instructions in
+ // https://cloud.google.com/resource-manager/docs/creating-managing-organization.
+ repeated string include_org_ids = 2;
+
+ // The list of project IDs to search within. To learn more about the
+ // distinction between project names/IDs/numbers, go to
+ // https://cloud.google.com/docs/overview/#projects.
+ repeated string include_project_ids = 3;
+
+ // If `true`, include Google Cloud Platform (GCP) public datasets in the
+ // search results. Info on GCP public datasets is available at
+ // https://cloud.google.com/public-datasets/. By default, GCP public
+ // datasets are excluded.
+ bool include_gcp_public_datasets = 7;
+ }
+
+ // Required. The scope of this search request. A `scope` that has empty
+ // `include_org_ids`, `include_project_ids` AND false
+ // `include_gcp_public_datasets` is considered invalid. Data Catalog will
+ // return an error in such a case.
+ Scope scope = 6 [(google.api.field_behavior) = REQUIRED];
+
+ // Required. The query string in search query syntax. The query must be non-empty.
+ //
+ // Query strings can be simple as "x" or more qualified as:
+ //
+ // * name:x
+ // * column:x
+ // * description:y
+ //
+ // Note: Query tokens need to have a minimum of 3 characters for substring
+ // matching to work correctly. See [Data Catalog Search
+ // Syntax](https://cloud.google.com/data-catalog/docs/how-to/search-reference)
+ // for more information.
+ string query = 1 [(google.api.field_behavior) = REQUIRED];
+
+ // Number of results in the search page. If <=0 then defaults to 10. Max limit
+ // for page_size is 1000. Throws an invalid argument for page_size > 1000.
+ int32 page_size = 2;
+
+ // Optional. Pagination token returned in an earlier
+ // [SearchCatalogResponse.next_page_token][google.cloud.datacatalog.v1beta1.SearchCatalogResponse.next_page_token], which
+ // indicates that this is a continuation of a prior
+ // [SearchCatalogRequest][google.cloud.datacatalog.v1beta1.DataCatalog.SearchCatalog]
+ // call, and that the system should return the next page of data. If empty,
+ // the first page is returned.
+ string page_token = 3 [(google.api.field_behavior) = OPTIONAL];
+
+ // Specifies the ordering of results, currently supported case-sensitive
+ // choices are:
+ //
+ // * `relevance`, only supports descending
+ // * `last_modified_timestamp [asc|desc]`, defaults to descending if not
+ // specified
+ //
+ // If not specified, defaults to `relevance` descending.
+ string order_by = 5;
+}
+
+// Response message for
+// [SearchCatalog][google.cloud.datacatalog.v1beta1.DataCatalog.SearchCatalog].
+message SearchCatalogResponse {
+ // Search results.
+ repeated SearchCatalogResult results = 1;
+
+ // The token that can be used to retrieve the next page of results.
+ string next_page_token = 3;
+}
+
+// Request message for
+// [CreateEntryGroup][google.cloud.datacatalog.v1beta1.DataCatalog.CreateEntryGroup].
+message CreateEntryGroupRequest {
+ // Required. The name of the project this entry group is in. Example:
+ //
+ // * projects/{project_id}/locations/{location}
+ //
+ // Note that this EntryGroup and its child resources may not actually be
+ // stored in the location in this name.
+ string parent = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ child_type: "datacatalog.googleapis.com/EntryGroup"
+ }
+ ];
+
+ // Required. The id of the entry group to create.
+ // The id must begin with a letter or underscore, contain only English
+ // letters, numbers and underscores, and be at most 64 characters.
+ string entry_group_id = 3 [(google.api.field_behavior) = REQUIRED];
+
+ // The entry group to create. Defaults to an empty entry group.
+ EntryGroup entry_group = 2;
+}
+
+// Request message for
+// [UpdateEntryGroup][google.cloud.datacatalog.v1beta1.DataCatalog.UpdateEntryGroup].
+message UpdateEntryGroupRequest {
+ // Required. The updated entry group. "name" field must be set.
+ EntryGroup entry_group = 1 [(google.api.field_behavior) = REQUIRED];
+
+ // The fields to update on the entry group. If absent or empty, all modifiable
+ // fields are updated.
+ google.protobuf.FieldMask update_mask = 2;
+}
+
+// Request message for
+// [GetEntryGroup][google.cloud.datacatalog.v1beta1.DataCatalog.GetEntryGroup].
+message GetEntryGroupRequest {
+ // Required. The name of the entry group. For example,
+ // `projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}`.
+ string name = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ type: "datacatalog.googleapis.com/EntryGroup"
+ }
+ ];
+
+ // The fields to return. If not set or empty, all fields are returned.
+ google.protobuf.FieldMask read_mask = 2;
+}
+
+// Request message for
+// [DeleteEntryGroup][google.cloud.datacatalog.v1beta1.DataCatalog.DeleteEntryGroup].
+message DeleteEntryGroupRequest {
+ // Required. The name of the entry group. For example,
+ // `projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}`.
+ string name = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ type: "datacatalog.googleapis.com/EntryGroup"
+ }
+ ];
+
+ // Optional. If true, deletes all entries in the entry group.
+ bool force = 2 [(google.api.field_behavior) = OPTIONAL];
+}
+
+// Request message for
+// [ListEntryGroups][google.cloud.datacatalog.v1beta1.DataCatalog.ListEntryGroups].
+message ListEntryGroupsRequest {
+ // Required. The name of the location that contains the entry groups, which can be
+ // provided in URL format. Example:
+ //
+ // * projects/{project_id}/locations/{location}
+ string parent = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ child_type: "datacatalog.googleapis.com/EntryGroup"
+ }
+ ];
+
+ // Optional. The maximum number of items to return. Default is 10. Max limit is 1000.
+ // Throws an invalid argument for `page_size > 1000`.
+ int32 page_size = 2 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. Token that specifies which page is requested. If empty, the first page is
+ // returned.
+ string page_token = 3 [(google.api.field_behavior) = OPTIONAL];
+}
+
+// Response message for
+// [ListEntryGroups][google.cloud.datacatalog.v1beta1.DataCatalog.ListEntryGroups].
+message ListEntryGroupsResponse {
+ // EntryGroup details.
+ repeated EntryGroup entry_groups = 1;
+
+ // Token to retrieve the next page of results. It is set to empty if no items
+ // remain in results.
+ string next_page_token = 2;
+}
+
+// Request message for
+// [CreateEntry][google.cloud.datacatalog.v1beta1.DataCatalog.CreateEntry].
+message CreateEntryRequest {
+ // Required. The name of the entry group this entry is in. Example:
+ //
+ // * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}
+ //
+ // Note that this Entry and its child resources may not actually be stored in
+ // the location in this name.
+ string parent = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ type: "datacatalog.googleapis.com/EntryGroup"
+ }
+ ];
+
+ // Required. The id of the entry to create.
+ string entry_id = 3 [(google.api.field_behavior) = REQUIRED];
+
+ // Required. The entry to create.
+ Entry entry = 2 [(google.api.field_behavior) = REQUIRED];
+}
+
+// Request message for
+// [UpdateEntry][google.cloud.datacatalog.v1beta1.DataCatalog.UpdateEntry].
+message UpdateEntryRequest {
+ // Required. The updated entry. The "name" field must be set.
+ Entry entry = 1 [(google.api.field_behavior) = REQUIRED];
+
+ // The fields to update on the entry. If absent or empty, all modifiable
+ // fields are updated.
+ //
+ // The following fields are modifiable:
+ // * For entries with type `DATA_STREAM`:
+ // * `schema`
+ // * For entries with type `FILESET`
+ // * `schema`
+ // * `display_name`
+ // * `description`
+ // * `gcs_fileset_spec`
+ // * `gcs_fileset_spec.file_patterns`
+ // * For entries with `user_specified_type`
+ // * `schema`
+ // * `display_name`
+ // * `description`
+ // * user_specified_type
+ // * user_specified_system
+ // * linked_resource
+ // * source_system_timestamps
+ google.protobuf.FieldMask update_mask = 2;
+}
+
+// Request message for
+// [DeleteEntry][google.cloud.datacatalog.v1beta1.DataCatalog.DeleteEntry].
+message DeleteEntryRequest {
+ // Required. The name of the entry. Example:
+ //
+ // * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id}
+ string name = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ type: "datacatalog.googleapis.com/Entry"
+ }
+ ];
+}
+
+// Request message for
+// [GetEntry][google.cloud.datacatalog.v1beta1.DataCatalog.GetEntry].
+message GetEntryRequest {
+ // Required. The name of the entry. Example:
+ //
+ // * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id}
+ string name = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ type: "datacatalog.googleapis.com/Entry"
+ }
+ ];
+}
+
+// Request message for
+// [LookupEntry][google.cloud.datacatalog.v1beta1.DataCatalog.LookupEntry].
+message LookupEntryRequest {
+ // Required. Represents either the Google Cloud Platform resource or SQL name
+ // for a Google Cloud Platform resource.
+ oneof target_name {
+ // The full name of the Google Cloud Platform resource the Data Catalog
+ // entry represents. See:
+ // https://cloud.google.com/apis/design/resource_names#full_resource_name.
+ // Full names are case-sensitive.
+ //
+ // Examples:
+ //
+ // * //bigquery.googleapis.com/projects/projectId/datasets/datasetId/tables/tableId
+ // * //pubsub.googleapis.com/projects/projectId/topics/topicId
+ string linked_resource = 1;
+
+ // The SQL name of the entry. SQL names are case-sensitive.
+ //
+ // Examples:
+ //
+ // * `pubsub.project_id.topic_id`
+ // * ``pubsub.project_id.`topic.id.with.dots` ``
+ // * `bigquery.table.project_id.dataset_id.table_id`
+ // * `bigquery.dataset.project_id.dataset_id`
+ // * `datacatalog.entry.project_id.location_id.entry_group_id.entry_id`
+ //
+ // `*_id`s shoud satisfy the standard SQL rules for identifiers.
+ // https://cloud.google.com/bigquery/docs/reference/standard-sql/lexical.
+ string sql_resource = 3;
+ }
+}
+
+// Entry Metadata.
+// A Data Catalog Entry resource represents another resource in Google
+// Cloud Platform (such as a BigQuery dataset or a Pub/Sub topic), or
+// outside of Google Cloud Platform. Clients can use the `linked_resource` field
+// in the Entry resource to refer to the original resource ID of the source
+// system.
+//
+// An Entry resource contains resource details, such as its schema. An Entry can
+// also be used to attach flexible metadata, such as a
+// [Tag][google.cloud.datacatalog.v1beta1.Tag].
+message Entry {
+ option (google.api.resource) = {
+ type: "datacatalog.googleapis.com/Entry"
+ pattern: "projects/{project}/locations/{location}/entryGroups/{entry_group}/entries/{entry}"
+ };
+
+ // The Data Catalog resource name of the entry in URL format. Example:
+ //
+ // * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id}
+ //
+ // Note that this Entry and its child resources may not actually be stored in
+ // the location in this name.
+ string name = 1 [(google.api.resource_reference) = {
+ type: "datacatalog.googleapis.com/EntryGroup"
+ }];
+
+ // The resource this metadata entry refers to.
+ //
+ // For Google Cloud Platform resources, `linked_resource` is the [full name of
+ // the
+ // resource](https://cloud.google.com/apis/design/resource_names#full_resource_name).
+ // For example, the `linked_resource` for a table resource from BigQuery is:
+ //
+ // * //bigquery.googleapis.com/projects/projectId/datasets/datasetId/tables/tableId
+ //
+ // Output only when Entry is of type in the EntryType enum. For entries with
+ // user_specified_type, this field is optional and defaults to an empty
+ // string.
+ string linked_resource = 9;
+
+ // Required. Entry type.
+ oneof entry_type {
+ // The type of the entry.
+ // Only used for Entries with types in the EntryType enum.
+ EntryType type = 2;
+
+ // Entry type if it does not fit any of the input-allowed values listed in
+ // `EntryType` enum above. When creating an entry, users should check the
+ // enum values first, if nothing matches the entry to be created, then
+ // provide a custom value, for example "my_special_type".
+ // `user_specified_type` strings must begin with a letter or underscore and
+ // can only contain letters, numbers, and underscores; are case insensitive;
+ // must be at least 1 character and at most 64 characters long.
+ //
+ // Currently, only FILESET enum value is allowed. All other entries created
+ // through Data Catalog must use `user_specified_type`.
+ string user_specified_type = 16;
+ }
+
+ // The source system of the entry.
+ oneof system {
+ // Output only. This field indicates the entry's source system that Data Catalog
+ // integrates with, such as BigQuery or Pub/Sub.
+ IntegratedSystem integrated_system = 17 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // This field indicates the entry's source system that Data Catalog does not
+ // integrate with. `user_specified_system` strings must begin with a letter
+ // or underscore and can only contain letters, numbers, and underscores; are
+ // case insensitive; must be at least 1 character and at most 64 characters
+ // long.
+ string user_specified_system = 18;
+ }
+
+ // Type specification information.
+ oneof type_spec {
+ // Specification that applies to a Cloud Storage fileset. This is only valid
+ // on entries of type FILESET.
+ GcsFilesetSpec gcs_fileset_spec = 6;
+
+ // Specification that applies to a BigQuery table. This is only valid on
+ // entries of type `TABLE`.
+ BigQueryTableSpec bigquery_table_spec = 12;
+
+ // Specification for a group of BigQuery tables with name pattern
+ // `[prefix]YYYYMMDD`. Context:
+ // https://cloud.google.com/bigquery/docs/partitioned-tables#partitioning_versus_sharding.
+ BigQueryDateShardedSpec bigquery_date_sharded_spec = 15;
+ }
+
+ // Display information such as title and description. A short name to identify
+ // the entry, for example, "Analytics Data - Jan 2011". Default value is an
+ // empty string.
+ string display_name = 3;
+
+ // Entry description, which can consist of several sentences or paragraphs
+ // that describe entry contents. Default value is an empty string.
+ string description = 4;
+
+ // Schema of the entry. An entry might not have any schema attached to it.
+ Schema schema = 5;
+
+ // Output only. Timestamps about the underlying resource, not about this Data Catalog
+ // entry. Output only when Entry is of type in the EntryType enum. For entries
+ // with user_specified_type, this field is optional and defaults to an empty
+ // timestamp.
+ SystemTimestamps source_system_timestamps = 7 [(google.api.field_behavior) = OUTPUT_ONLY];
+}
+
+// EntryGroup Metadata.
+// An EntryGroup resource represents a logical grouping of zero or more
+// Data Catalog [Entry][google.cloud.datacatalog.v1beta1.Entry] resources.
+message EntryGroup {
+ option (google.api.resource) = {
+ type: "datacatalog.googleapis.com/EntryGroup"
+ pattern: "projects/{project}/locations/{location}/entryGroups/{entry_group}"
+ };
+
+ // The resource name of the entry group in URL format. Example:
+ //
+ // * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}
+ //
+ // Note that this EntryGroup and its child resources may not actually be
+ // stored in the location in this name.
+ string name = 1;
+
+ // A short name to identify the entry group, for example,
+ // "analytics data - jan 2011". Default value is an empty string.
+ string display_name = 2;
+
+ // Entry group description, which can consist of several sentences or
+ // paragraphs that describe entry group contents. Default value is an empty
+ // string.
+ string description = 3;
+
+ // Output only. Timestamps about this EntryGroup. Default value is empty timestamps.
+ SystemTimestamps data_catalog_timestamps = 4 [(google.api.field_behavior) = OUTPUT_ONLY];
+}
+
+// Request message for
+// [CreateTagTemplate][google.cloud.datacatalog.v1beta1.DataCatalog.CreateTagTemplate].
+message CreateTagTemplateRequest {
+ // Required. The name of the project and the template location
+ // [region](https://cloud.google.com/data-catalog/docs/concepts/regions.
+ //
+ // Example:
+ //
+ // * projects/{project_id}/locations/us-central1
+ string parent = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ child_type: "datacatalog.googleapis.com/TagTemplate"
+ }
+ ];
+
+ // Required. The id of the tag template to create.
+ string tag_template_id = 3 [(google.api.field_behavior) = REQUIRED];
+
+ // Required. The tag template to create.
+ TagTemplate tag_template = 2 [(google.api.field_behavior) = REQUIRED];
+}
+
+// Request message for
+// [GetTagTemplate][google.cloud.datacatalog.v1beta1.DataCatalog.GetTagTemplate].
+message GetTagTemplateRequest {
+ // Required. The name of the tag template. Example:
+ //
+ // * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}
+ string name = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ type: "datacatalog.googleapis.com/TagTemplate"
+ }
+ ];
+}
+
+// Request message for
+// [UpdateTagTemplate][google.cloud.datacatalog.v1beta1.DataCatalog.UpdateTagTemplate].
+message UpdateTagTemplateRequest {
+ // Required. The template to update. The "name" field must be set.
+ TagTemplate tag_template = 1 [(google.api.field_behavior) = REQUIRED];
+
+ // The field mask specifies the parts of the template to overwrite.
+ //
+ // Allowed fields:
+ //
+ // * `display_name`
+ //
+ // If absent or empty, all of the allowed fields above will be updated.
+ google.protobuf.FieldMask update_mask = 2;
+}
+
+// Request message for
+// [DeleteTagTemplate][google.cloud.datacatalog.v1beta1.DataCatalog.DeleteTagTemplate].
+message DeleteTagTemplateRequest {
+ // Required. The name of the tag template to delete. Example:
+ //
+ // * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}
+ string name = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ type: "datacatalog.googleapis.com/TagTemplate"
+ }
+ ];
+
+ // Required. Currently, this field must always be set to `true`.
+ // This confirms the deletion of any possible tags using this template.
+ // `force = false` will be supported in the future.
+ bool force = 2 [(google.api.field_behavior) = REQUIRED];
+}
+
+// Request message for
+// [CreateTag][google.cloud.datacatalog.v1beta1.DataCatalog.CreateTag].
+message CreateTagRequest {
+ // Required. The name of the resource to attach this tag to. Tags can be attached to
+ // Entries. Example:
+ //
+ // * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id}
+ //
+ // Note that this Tag and its child resources may not actually be stored in
+ // the location in this name.
+ string parent = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ child_type: "datacatalog.googleapis.com/Tag"
+ }
+ ];
+
+ // Required. The tag to create.
+ Tag tag = 2 [(google.api.field_behavior) = REQUIRED];
+}
+
+// Request message for
+// [UpdateTag][google.cloud.datacatalog.v1beta1.DataCatalog.UpdateTag].
+message UpdateTagRequest {
+ // Required. The updated tag. The "name" field must be set.
+ Tag tag = 1 [(google.api.field_behavior) = REQUIRED];
+
+ // The fields to update on the Tag. If absent or empty, all modifiable fields
+ // are updated. Currently the only modifiable field is the field `fields`.
+ google.protobuf.FieldMask update_mask = 2;
+}
+
+// Request message for
+// [DeleteTag][google.cloud.datacatalog.v1beta1.DataCatalog.DeleteTag].
+message DeleteTagRequest {
+ // Required. The name of the tag to delete. Example:
+ //
+ // * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id}/tags/{tag_id}
+ string name = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ child_type: "datacatalog.googleapis.com/Tag"
+ }
+ ];
+}
+
+// Request message for
+// [CreateTagTemplateField][google.cloud.datacatalog.v1beta1.DataCatalog.CreateTagTemplateField].
+message CreateTagTemplateFieldRequest {
+ // Required. The name of the project and the template location
+ // [region](https://cloud.google.com/data-catalog/docs/concepts/regions).
+ //
+ // Example:
+ //
+ // * projects/{project_id}/locations/us-central1/tagTemplates/{tag_template_id}
+ string parent = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ type: "datacatalog.googleapis.com/TagTemplate"
+ }
+ ];
+
+ // Required. The ID of the tag template field to create.
+ // Field ids can contain letters (both uppercase and lowercase), numbers
+ // (0-9), underscores (_) and dashes (-). Field IDs must be at least 1
+ // character long and at most 128 characters long. Field IDs must also be
+ // unique within their template.
+ string tag_template_field_id = 2 [(google.api.field_behavior) = REQUIRED];
+
+ // Required. The tag template field to create.
+ TagTemplateField tag_template_field = 3 [(google.api.field_behavior) = REQUIRED];
+}
+
+// Request message for
+// [UpdateTagTemplateField][google.cloud.datacatalog.v1beta1.DataCatalog.UpdateTagTemplateField].
+message UpdateTagTemplateFieldRequest {
+ // Required. The name of the tag template field. Example:
+ //
+ // * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}/fields/{tag_template_field_id}
+ string name = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ type: "datacatalog.googleapis.com/TagTemplateField"
+ }
+ ];
+
+ // Required. The template to update.
+ TagTemplateField tag_template_field = 2 [(google.api.field_behavior) = REQUIRED];
+
+ // Optional. The field mask specifies the parts of the template to be updated.
+ // Allowed fields:
+ //
+ // * `display_name`
+ // * `type.enum_type`
+ // * `is_required`
+ //
+ // If `update_mask` is not set or empty, all of the allowed fields above will
+ // be updated.
+ //
+ // When updating an enum type, the provided values will be merged with the
+ // existing values. Therefore, enum values can only be added, existing enum
+ // values cannot be deleted nor renamed. Updating a template field from
+ // optional to required is NOT allowed.
+ google.protobuf.FieldMask update_mask = 3 [(google.api.field_behavior) = OPTIONAL];
+}
+
+// Request message for
+// [RenameTagTemplateField][google.cloud.datacatalog.v1beta1.DataCatalog.RenameTagTemplateField].
+message RenameTagTemplateFieldRequest {
+ // Required. The name of the tag template. Example:
+ //
+ // * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}/fields/{tag_template_field_id}
+ string name = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ type: "datacatalog.googleapis.com/TagTemplateField"
+ }
+ ];
+
+ // Required. The new ID of this tag template field. For example, `my_new_field`.
+ string new_tag_template_field_id = 2 [(google.api.field_behavior) = REQUIRED];
+}
+
+// Request message for
+// [DeleteTagTemplateField][google.cloud.datacatalog.v1beta1.DataCatalog.DeleteTagTemplateField].
+message DeleteTagTemplateFieldRequest {
+ // Required. The name of the tag template field to delete. Example:
+ //
+ // * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}/fields/{tag_template_field_id}
+ string name = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ type: "datacatalog.googleapis.com/TagTemplateField"
+ }
+ ];
+
+ // Required. Currently, this field must always be set to `true`.
+ // This confirms the deletion of this field from any tags using this field.
+ // `force = false` will be supported in the future.
+ bool force = 2 [(google.api.field_behavior) = REQUIRED];
+}
+
+// Request message for
+// [ListTags][google.cloud.datacatalog.v1beta1.DataCatalog.ListTags].
+message ListTagsRequest {
+ // Required. The name of the Data Catalog resource to list the tags of. The resource
+ // could be an [Entry][google.cloud.datacatalog.v1beta1.Entry] or an
+ // [EntryGroup][google.cloud.datacatalog.v1beta1.EntryGroup].
+ //
+ // Examples:
+ //
+ // * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}
+ // * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id}
+ string parent = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ child_type: "datacatalog.googleapis.com/Tag"
+ }
+ ];
+
+ // The maximum number of tags to return. Default is 10. Max limit is 1000.
+ int32 page_size = 2;
+
+ // Token that specifies which page is requested. If empty, the first page is
+ // returned.
+ string page_token = 3;
+}
+
+// Response message for
+// [ListTags][google.cloud.datacatalog.v1beta1.DataCatalog.ListTags].
+message ListTagsResponse {
+ // [Tag][google.cloud.datacatalog.v1beta1.Tag] details.
+ repeated Tag tags = 1;
+
+ // Token to retrieve the next page of results. It is set to empty if no items
+ // remain in results.
+ string next_page_token = 2;
+}
+
+// Request message for
+// [ListEntries][google.cloud.datacatalog.v1beta1.DataCatalog.ListEntries].
+message ListEntriesRequest {
+ // Required. The name of the entry group that contains the entries, which can
+ // be provided in URL format. Example:
+ //
+ // * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}
+ string parent = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ type: "datacatalog.googleapis.com/EntryGroup"
+ }
+ ];
+
+ // The maximum number of items to return. Default is 10. Max limit is 1000.
+ // Throws an invalid argument for `page_size > 1000`.
+ int32 page_size = 2;
+
+ // Token that specifies which page is requested. If empty, the first page is
+ // returned.
+ string page_token = 3;
+
+ // The fields to return for each Entry. If not set or empty, all
+ // fields are returned.
+ // For example, setting read_mask to contain only one path "name" will cause
+ // ListEntries to return a list of Entries with only "name" field.
+ google.protobuf.FieldMask read_mask = 4;
+}
+
+// Response message for
+// [ListEntries][google.cloud.datacatalog.v1beta1.DataCatalog.ListEntries].
+message ListEntriesResponse {
+ // Entry details.
+ repeated Entry entries = 1;
+
+ // Token to retrieve the next page of results. It is set to empty if no items
+ // remain in results.
+ string next_page_token = 2;
+}
+
+// Entry resources in Data Catalog can be of different types e.g. a BigQuery
+// Table entry is of type `TABLE`. This enum describes all the possible types
+// Data Catalog contains.
+enum EntryType {
+ // Default unknown type.
+ ENTRY_TYPE_UNSPECIFIED = 0;
+
+ // Output only. The type of entry that has a GoogleSQL schema, including
+ // logical views.
+ TABLE = 2;
+
+ // Output only. The type of models.
+ // https://cloud.google.com/bigquery-ml/docs/bigqueryml-intro
+ MODEL = 5;
+
+ // Output only. An entry type which is used for streaming entries. Example:
+ // Pub/Sub topic.
+ DATA_STREAM = 3;
+
+ // An entry type which is a set of files or objects. Example:
+ // Cloud Storage fileset.
+ FILESET = 4;
+}
diff --git a/packages/google-cloud-datacatalog/protos/google/cloud/datacatalog/v1beta1/gcs_fileset_spec.proto b/packages/google-cloud-datacatalog/protos/google/cloud/datacatalog/v1beta1/gcs_fileset_spec.proto
new file mode 100644
index 00000000000..c8ca9779fc2
--- /dev/null
+++ b/packages/google-cloud-datacatalog/protos/google/cloud/datacatalog/v1beta1/gcs_fileset_spec.proto
@@ -0,0 +1,77 @@
+// Copyright 2020 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+syntax = "proto3";
+
+package google.cloud.datacatalog.v1beta1;
+
+import "google/api/field_behavior.proto";
+import "google/cloud/datacatalog/v1beta1/timestamps.proto";
+
+option cc_enable_arenas = true;
+option csharp_namespace = "Google.Cloud.DataCatalog.V1Beta1";
+option go_package = "google.golang.org/genproto/googleapis/cloud/datacatalog/v1beta1;datacatalog";
+option java_multiple_files = true;
+option java_package = "com.google.cloud.datacatalog.v1beta1";
+option php_namespace = "Google\\Cloud\\DataCatalog\\V1beta1";
+option ruby_package = "Google::Cloud::DataCatalog::V1beta1";
+
+// Describes a Cloud Storage fileset entry.
+message GcsFilesetSpec {
+ // Required. Patterns to identify a set of files in Google Cloud Storage.
+ // See [Cloud Storage
+ // documentation](https://cloud.google.com/storage/docs/gsutil/addlhelp/WildcardNames)
+ // for more information. Note that bucket wildcards are currently not
+ // supported.
+ //
+ // Examples of valid file_patterns:
+ //
+ // * `gs://bucket_name/dir/*`: matches all files within `bucket_name/dir`
+ // directory.
+ // * `gs://bucket_name/dir/**`: matches all files in `bucket_name/dir`
+ // spanning all subdirectories.
+ // * `gs://bucket_name/file*`: matches files prefixed by `file` in
+ // `bucket_name`
+ // * `gs://bucket_name/??.txt`: matches files with two characters followed by
+ // `.txt` in `bucket_name`
+ // * `gs://bucket_name/[aeiou].txt`: matches files that contain a single
+ // vowel character followed by `.txt` in
+ // `bucket_name`
+ // * `gs://bucket_name/[a-m].txt`: matches files that contain `a`, `b`, ...
+ // or `m` followed by `.txt` in `bucket_name`
+ // * `gs://bucket_name/a/*/b`: matches all files in `bucket_name` that match
+ // `a/*/b` pattern, such as `a/c/b`, `a/d/b`
+ // * `gs://another_bucket/a.txt`: matches `gs://another_bucket/a.txt`
+ //
+ // You can combine wildcards to provide more powerful matches, for example:
+ //
+ // * `gs://bucket_name/[a-m]??.j*g`
+ repeated string file_patterns = 1 [(google.api.field_behavior) = REQUIRED];
+
+ // Output only. Sample files contained in this fileset, not all files contained in this
+ // fileset are represented here.
+ repeated GcsFileSpec sample_gcs_file_specs = 2 [(google.api.field_behavior) = OUTPUT_ONLY];
+}
+
+// Specifications of a single file in Cloud Storage.
+message GcsFileSpec {
+ // Required. The full file path. Example: `gs://bucket_name/a/b.txt`.
+ string file_path = 1 [(google.api.field_behavior) = REQUIRED];
+
+ // Output only. Timestamps about the Cloud Storage file.
+ SystemTimestamps gcs_timestamps = 2 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Output only. The size of the file, in bytes.
+ int64 size_bytes = 4 [(google.api.field_behavior) = OUTPUT_ONLY];
+}
diff --git a/packages/google-cloud-datacatalog/protos/google/cloud/datacatalog/v1beta1/policytagmanager.proto b/packages/google-cloud-datacatalog/protos/google/cloud/datacatalog/v1beta1/policytagmanager.proto
new file mode 100644
index 00000000000..5602bcf1680
--- /dev/null
+++ b/packages/google-cloud-datacatalog/protos/google/cloud/datacatalog/v1beta1/policytagmanager.proto
@@ -0,0 +1,417 @@
+// Copyright 2020 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+syntax = "proto3";
+
+package google.cloud.datacatalog.v1beta1;
+
+import "google/api/annotations.proto";
+import "google/api/client.proto";
+import "google/api/field_behavior.proto";
+import "google/api/resource.proto";
+import "google/cloud/datacatalog/v1beta1/timestamps.proto";
+import "google/iam/v1/iam_policy.proto";
+import "google/iam/v1/policy.proto";
+import "google/protobuf/empty.proto";
+import "google/protobuf/field_mask.proto";
+
+option cc_enable_arenas = true;
+option csharp_namespace = "Google.Cloud.DataCatalog.V1Beta1";
+option go_package = "google.golang.org/genproto/googleapis/cloud/datacatalog/v1beta1;datacatalog";
+option java_multiple_files = true;
+option java_outer_classname = "PolicyTagManagerProto";
+option java_package = "com.google.cloud.datacatalog.v1beta1";
+option php_namespace = "Google\\Cloud\\DataCatalog\\V1beta1";
+option ruby_package = "Google::Cloud::DataCatalog::V1beta1";
+
+// The policy tag manager API service allows clients to manage their taxonomies
+// and policy tags.
+service PolicyTagManager {
+ option (google.api.default_host) = "datacatalog.googleapis.com";
+ option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/cloud-platform";
+
+ // Creates a taxonomy in the specified project.
+ rpc CreateTaxonomy(CreateTaxonomyRequest) returns (Taxonomy) {
+ option (google.api.http) = {
+ post: "/v1beta1/{parent=projects/*/locations/*}/taxonomies"
+ body: "taxonomy"
+ };
+ option (google.api.method_signature) = "parent,taxonomy";
+ }
+
+ // Deletes a taxonomy. This operation will also delete all
+ // policy tags in this taxonomy along with their associated policies.
+ rpc DeleteTaxonomy(DeleteTaxonomyRequest) returns (google.protobuf.Empty) {
+ option (google.api.http) = {
+ delete: "/v1beta1/{name=projects/*/locations/*/taxonomies/*}"
+ };
+ option (google.api.method_signature) = "name";
+ }
+
+ // Updates a taxonomy.
+ rpc UpdateTaxonomy(UpdateTaxonomyRequest) returns (Taxonomy) {
+ option (google.api.http) = {
+ patch: "/v1beta1/{taxonomy.name=projects/*/locations/*/taxonomies/*}"
+ body: "taxonomy"
+ };
+ option (google.api.method_signature) = "taxonomy";
+ }
+
+ // Lists all taxonomies in a project in a particular location that the caller
+ // has permission to view.
+ rpc ListTaxonomies(ListTaxonomiesRequest) returns (ListTaxonomiesResponse) {
+ option (google.api.http) = {
+ get: "/v1beta1/{parent=projects/*/locations/*}/taxonomies"
+ };
+ option (google.api.method_signature) = "parent";
+ }
+
+ // Gets a taxonomy.
+ rpc GetTaxonomy(GetTaxonomyRequest) returns (Taxonomy) {
+ option (google.api.http) = {
+ get: "/v1beta1/{name=projects/*/locations/*/taxonomies/*}"
+ };
+ option (google.api.method_signature) = "name";
+ }
+
+ // Creates a policy tag in the specified taxonomy.
+ rpc CreatePolicyTag(CreatePolicyTagRequest) returns (PolicyTag) {
+ option (google.api.http) = {
+ post: "/v1beta1/{parent=projects/*/locations/*/taxonomies/*}/policyTags"
+ body: "policy_tag"
+ };
+ option (google.api.method_signature) = "parent,policy_tag";
+ }
+
+ // Deletes a policy tag. Also deletes all of its descendant policy tags.
+ rpc DeletePolicyTag(DeletePolicyTagRequest) returns (google.protobuf.Empty) {
+ option (google.api.http) = {
+ delete: "/v1beta1/{name=projects/*/locations/*/taxonomies/*/policyTags/*}"
+ };
+ option (google.api.method_signature) = "name";
+ }
+
+ // Updates a policy tag.
+ rpc UpdatePolicyTag(UpdatePolicyTagRequest) returns (PolicyTag) {
+ option (google.api.http) = {
+ patch: "/v1beta1/{policy_tag.name=projects/*/locations/*/taxonomies/*/policyTags/*}"
+ body: "policy_tag"
+ };
+ option (google.api.method_signature) = "policy_tag";
+ }
+
+ // Lists all policy tags in a taxonomy.
+ rpc ListPolicyTags(ListPolicyTagsRequest) returns (ListPolicyTagsResponse) {
+ option (google.api.http) = {
+ get: "/v1beta1/{parent=projects/*/locations/*/taxonomies/*}/policyTags"
+ };
+ option (google.api.method_signature) = "parent";
+ }
+
+ // Gets a policy tag.
+ rpc GetPolicyTag(GetPolicyTagRequest) returns (PolicyTag) {
+ option (google.api.http) = {
+ get: "/v1beta1/{name=projects/*/locations/*/taxonomies/*/policyTags/*}"
+ };
+ option (google.api.method_signature) = "name";
+ }
+
+ // Gets the IAM policy for a taxonomy or a policy tag.
+ rpc GetIamPolicy(google.iam.v1.GetIamPolicyRequest) returns (google.iam.v1.Policy) {
+ option (google.api.http) = {
+ post: "/v1beta1/{resource=projects/*/locations/*/taxonomies/*}:getIamPolicy"
+ body: "*"
+ additional_bindings {
+ post: "/v1beta1/{resource=projects/*/locations/*/taxonomies/*/policyTags/*}:getIamPolicy"
+ body: "*"
+ }
+ };
+ }
+
+ // Sets the IAM policy for a taxonomy or a policy tag.
+ rpc SetIamPolicy(google.iam.v1.SetIamPolicyRequest) returns (google.iam.v1.Policy) {
+ option (google.api.http) = {
+ post: "/v1beta1/{resource=projects/*/locations/*/taxonomies/*}:setIamPolicy"
+ body: "*"
+ additional_bindings {
+ post: "/v1beta1/{resource=projects/*/locations/*/taxonomies/*/policyTags/*}:setIamPolicy"
+ body: "*"
+ }
+ };
+ }
+
+ // Returns the permissions that a caller has on the specified taxonomy or
+ // policy tag.
+ rpc TestIamPermissions(google.iam.v1.TestIamPermissionsRequest) returns (google.iam.v1.TestIamPermissionsResponse) {
+ option (google.api.http) = {
+ post: "/v1beta1/{resource=projects/*/locations/*/taxonomies/*}:testIamPermissions"
+ body: "*"
+ additional_bindings {
+ post: "/v1beta1/{resource=projects/*/locations/*/taxonomies/*/policyTags/*}:testIamPermissions"
+ body: "*"
+ }
+ };
+ }
+}
+
+// A taxonomy is a collection of policy tags that classify data along a common
+// axis. For instance a data *sensitivity* taxonomy could contain policy tags
+// denoting PII such as age, zipcode, and SSN. A data *origin* taxonomy could
+// contain policy tags to distinguish user data, employee data, partner data,
+// public data.
+message Taxonomy {
+ option (google.api.resource) = {
+ type: "datacatalog.googleapis.com/Taxonomy"
+ pattern: "projects/{project}/locations/{location}/taxonomies/{taxonomy}"
+ };
+
+ // Defines policy types where policy tag can be used for.
+ enum PolicyType {
+ // Unspecified policy type.
+ POLICY_TYPE_UNSPECIFIED = 0;
+
+ // Fine grained access control policy, which enables access control on
+ // tagged resources.
+ FINE_GRAINED_ACCESS_CONTROL = 1;
+ }
+
+ // Output only. Resource name of this taxonomy, whose format is:
+ // "projects/{project_number}/locations/{location_id}/taxonomies/{id}".
+ string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Required. User defined name of this taxonomy. It must: contain only unicode letters,
+ // numbers, underscores, dashes and spaces; not start or end with spaces; and
+ // be at most 200 bytes long when encoded in UTF-8.
+ string display_name = 2 [(google.api.field_behavior) = REQUIRED];
+
+ // Optional. Description of this taxonomy. It must: contain only unicode characters,
+ // tabs, newlines, carriage returns and page breaks; and be at most 2000 bytes
+ // long when encoded in UTF-8. If not set, defaults to an empty description.
+ string description = 3 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. A list of policy types that are activated for this taxonomy. If not set,
+ // defaults to an empty list.
+ repeated PolicyType activated_policy_types = 6 [(google.api.field_behavior) = OPTIONAL];
+}
+
+// Denotes one policy tag in a taxonomy (e.g. ssn). Policy Tags can be defined
+// in a hierarchy. For example, consider the following hierarchy:
+// Geolocation -> (LatLong, City, ZipCode). PolicyTag "Geolocation"
+// contains three child policy tags: "LatLong", "City", and "ZipCode".
+message PolicyTag {
+ option (google.api.resource) = {
+ type: "datacatalog.googleapis.com/PolicyTag"
+ pattern: "projects/{project}/locations/{location}/taxonomies/{taxonomy}/policyTags/{policy_tag}"
+ };
+
+ // Output only. Resource name of this policy tag, whose format is:
+ // "projects/{project_number}/locations/{location_id}/taxonomies/{taxonomy_id}/policyTags/{id}".
+ string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Required. User defined name of this policy tag. It must: be unique within the parent
+ // taxonomy; contain only unicode letters, numbers, underscores, dashes and
+ // spaces; not start or end with spaces; and be at most 200 bytes long when
+ // encoded in UTF-8.
+ string display_name = 2 [(google.api.field_behavior) = REQUIRED];
+
+ // Description of this policy tag. It must: contain only unicode characters,
+ // tabs, newlines, carriage returns and page breaks; and be at most 2000 bytes
+ // long when encoded in UTF-8. If not set, defaults to an empty description.
+ // If not set, defaults to an empty description.
+ string description = 3;
+
+ // Resource name of this policy tag's parent policy tag (e.g. for the
+ // "LatLong" policy tag in the example above, this field contains the
+ // resource name of the "Geolocation" policy tag). If empty, it means this
+ // policy tag is a top level policy tag (e.g. this field is empty for the
+ // "Geolocation" policy tag in the example above). If not set, defaults to an
+ // empty string.
+ string parent_policy_tag = 4;
+
+ // Output only. Resource names of child policy tags of this policy tag.
+ repeated string child_policy_tags = 5 [(google.api.field_behavior) = OUTPUT_ONLY];
+}
+
+// Request message for
+// [CreateTaxonomy][google.cloud.datacatalog.v1beta1.PolicyTagManager.CreateTaxonomy].
+message CreateTaxonomyRequest {
+ // Required. Resource name of the project that the taxonomy will belong to.
+ string parent = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ child_type: "datacatalog.googleapis.com/Taxonomy"
+ }
+ ];
+
+ // The taxonomy to be created.
+ Taxonomy taxonomy = 2;
+}
+
+// Request message for
+// [DeleteTaxonomy][google.cloud.datacatalog.v1beta1.PolicyTagManager.DeleteTaxonomy].
+message DeleteTaxonomyRequest {
+ // Required. Resource name of the taxonomy to be deleted. All policy tags in
+ // this taxonomy will also be deleted.
+ string name = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ type: "datacatalog.googleapis.com/Taxonomy"
+ }
+ ];
+}
+
+// Request message for
+// [UpdateTaxonomy][google.cloud.datacatalog.v1beta1.PolicyTagManager.UpdateTaxonomy].
+message UpdateTaxonomyRequest {
+ // The taxonomy to update. Only description, display_name, and activated
+ // policy types can be updated.
+ Taxonomy taxonomy = 1;
+
+ // The update mask applies to the resource. For the `FieldMask` definition,
+ // see
+ // https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask
+ // If not set, defaults to all of the fields that are allowed to update.
+ google.protobuf.FieldMask update_mask = 2;
+}
+
+// Request message for
+// [ListTaxonomies][google.cloud.datacatalog.v1beta1.PolicyTagManager.ListTaxonomies].
+message ListTaxonomiesRequest {
+ // Required. Resource name of the project to list the taxonomies of.
+ string parent = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ child_type: "datacatalog.googleapis.com/Taxonomy"
+ }
+ ];
+
+ // The maximum number of items to return. Must be a value between 1 and 1000.
+ // If not set, defaults to 50.
+ int32 page_size = 2;
+
+ // The next_page_token value returned from a previous list request, if any. If
+ // not set, defaults to an empty string.
+ string page_token = 3;
+}
+
+// Response message for
+// [ListTaxonomies][google.cloud.datacatalog.v1beta1.PolicyTagManager.ListTaxonomies].
+message ListTaxonomiesResponse {
+ // Taxonomies that the project contains.
+ repeated Taxonomy taxonomies = 1;
+
+ // Token used to retrieve the next page of results, or empty if there are no
+ // more results in the list.
+ string next_page_token = 2;
+}
+
+// Request message for
+// [GetTaxonomy][google.cloud.datacatalog.v1beta1.PolicyTagManager.GetTaxonomy].
+message GetTaxonomyRequest {
+ // Required. Resource name of the requested taxonomy.
+ string name = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ type: "datacatalog.googleapis.com/Taxonomy"
+ }
+ ];
+}
+
+// Request message for
+// [CreatePolicyTag][google.cloud.datacatalog.v1beta1.PolicyTagManager.CreatePolicyTag].
+message CreatePolicyTagRequest {
+ // Required. Resource name of the taxonomy that the policy tag will belong to.
+ string parent = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ child_type: "datacatalog.googleapis.com/PolicyTag"
+ }
+ ];
+
+ // The policy tag to be created.
+ PolicyTag policy_tag = 2;
+}
+
+// Request message for
+// [DeletePolicyTag][google.cloud.datacatalog.v1beta1.PolicyTagManager.DeletePolicyTag].
+message DeletePolicyTagRequest {
+ // Required. Resource name of the policy tag to be deleted. All of its descendant
+ // policy tags will also be deleted.
+ string name = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ type: "datacatalog.googleapis.com/PolicyTag"
+ }
+ ];
+}
+
+// Request message for
+// [UpdatePolicyTag][google.cloud.datacatalog.v1beta1.PolicyTagManager.UpdatePolicyTag].
+message UpdatePolicyTagRequest {
+ // The policy tag to update. Only the description, display_name, and
+ // parent_policy_tag fields can be updated.
+ PolicyTag policy_tag = 1;
+
+ // The update mask applies to the resource. Only display_name, description and
+ // parent_policy_tag can be updated and thus can be listed in the mask. If
+ // update_mask is not provided, all allowed fields (i.e. display_name,
+ // description and parent) will be updated. For more information including the
+ // `FieldMask` definition, see
+ // https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask
+ // If not set, defaults to all of the fields that are allowed to update.
+ google.protobuf.FieldMask update_mask = 2;
+}
+
+// Request message for
+// [ListPolicyTags][google.cloud.datacatalog.v1beta1.PolicyTagManager.ListPolicyTags].
+message ListPolicyTagsRequest {
+ // Required. Resource name of the taxonomy to list the policy tags of.
+ string parent = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ child_type: "datacatalog.googleapis.com/PolicyTag"
+ }
+ ];
+
+ // The maximum number of items to return. Must be a value between 1 and 1000.
+ // If not set, defaults to 50.
+ int32 page_size = 2;
+
+ // The next_page_token value returned from a previous List request, if any. If
+ // not set, defaults to an empty string.
+ string page_token = 3;
+}
+
+// Response message for
+// [ListPolicyTags][google.cloud.datacatalog.v1beta1.PolicyTagManager.ListPolicyTags].
+message ListPolicyTagsResponse {
+ // The policy tags that are in the requested taxonomy.
+ repeated PolicyTag policy_tags = 1;
+
+ // Token used to retrieve the next page of results, or empty if there are no
+ // more results in the list.
+ string next_page_token = 2;
+}
+
+// Request message for
+// [GetPolicyTag][google.cloud.datacatalog.v1beta1.PolicyTagManager.GetPolicyTag].
+message GetPolicyTagRequest {
+ // Required. Resource name of the requested policy tag.
+ string name = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ type: "datacatalog.googleapis.com/PolicyTag"
+ }
+ ];
+}
diff --git a/packages/google-cloud-datacatalog/protos/google/cloud/datacatalog/v1beta1/policytagmanagerserialization.proto b/packages/google-cloud-datacatalog/protos/google/cloud/datacatalog/v1beta1/policytagmanagerserialization.proto
new file mode 100644
index 00000000000..b6e4fb3201a
--- /dev/null
+++ b/packages/google-cloud-datacatalog/protos/google/cloud/datacatalog/v1beta1/policytagmanagerserialization.proto
@@ -0,0 +1,157 @@
+// Copyright 2020 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+syntax = "proto3";
+
+package google.cloud.datacatalog.v1beta1;
+
+import "google/api/annotations.proto";
+import "google/api/field_behavior.proto";
+import "google/api/resource.proto";
+import "google/cloud/datacatalog/v1beta1/policytagmanager.proto";
+import "google/iam/v1/policy.proto";
+import "google/api/client.proto";
+
+option cc_enable_arenas = true;
+option csharp_namespace = "Google.Cloud.DataCatalog.V1Beta1";
+option go_package = "google.golang.org/genproto/googleapis/cloud/datacatalog/v1beta1;datacatalog";
+option java_multiple_files = true;
+option java_outer_classname = "PolicyTagManagerSerializationProto";
+option java_package = "com.google.cloud.datacatalog.v1beta1";
+option php_namespace = "Google\\Cloud\\DataCatalog\\V1beta1";
+option ruby_package = "Google::Cloud::DataCatalog::V1beta1";
+
+// Policy tag manager serialization API service allows clients to manipulate
+// their taxonomies and policy tags data with serialized format.
+service PolicyTagManagerSerialization {
+ option (google.api.default_host) = "datacatalog.googleapis.com";
+ option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/cloud-platform";
+
+ // Imports all taxonomies and their policy tags to a project as new
+ // taxonomies.
+ //
+ // This method provides a bulk taxonomy / policy tag creation using nested
+ // proto structure.
+ rpc ImportTaxonomies(ImportTaxonomiesRequest) returns (ImportTaxonomiesResponse) {
+ option (google.api.http) = {
+ post: "/v1beta1/{parent=projects/*/locations/*}/taxonomies:import"
+ body: "*"
+ };
+ }
+
+ // Exports all taxonomies and their policy tags in a project.
+ //
+ // This method generates SerializedTaxonomy protos with nested policy tags
+ // that can be used as an input for future ImportTaxonomies calls.
+ rpc ExportTaxonomies(ExportTaxonomiesRequest) returns (ExportTaxonomiesResponse) {
+ option (google.api.http) = {
+ get: "/v1beta1/{parent=projects/*/locations/*}/taxonomies:export"
+ };
+ }
+}
+
+// Message capturing a taxonomy and its policy tag hierarchy as a nested proto.
+// Used for taxonomy import/export and mutation.
+message SerializedTaxonomy {
+ // Required. Display name of the taxonomy. Max 200 bytes when encoded in UTF-8.
+ string display_name = 1 [(google.api.field_behavior) = REQUIRED];
+
+ // Description of the serialized taxonomy. The length of the
+ // description is limited to 2000 bytes when encoded in UTF-8. If not set,
+ // defaults to an empty description.
+ string description = 2;
+
+ // Top level policy tags associated with the taxonomy if any.
+ repeated SerializedPolicyTag policy_tags = 3;
+}
+
+// Message representing one policy tag when exported as a nested proto.
+message SerializedPolicyTag {
+ // Required. Display name of the policy tag. Max 200 bytes when encoded in UTF-8.
+ string display_name = 2 [(google.api.field_behavior) = REQUIRED];
+
+ // Description of the serialized policy tag. The length of the
+ // description is limited to 2000 bytes when encoded in UTF-8. If not set,
+ // defaults to an empty description.
+ string description = 3;
+
+ // Children of the policy tag if any.
+ repeated SerializedPolicyTag child_policy_tags = 4;
+}
+
+// Request message for
+// [ImportTaxonomies][google.cloud.datacatalog.v1beta1.PolicyTagManagerSerialization.ImportTaxonomies].
+message ImportTaxonomiesRequest {
+ // Required. Resource name of project that the newly created taxonomies will
+ // belong to.
+ string parent = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ child_type: "datacatalog.googleapis.com/Taxonomy"
+ }
+ ];
+
+ // Required. Source taxonomies to be imported in a tree structure.
+ oneof source {
+ // Inline source used for taxonomies import
+ InlineSource inline_source = 2;
+ }
+}
+
+// Inline source used for taxonomies import.
+message InlineSource {
+ // Required. Taxonomies to be imported.
+ repeated SerializedTaxonomy taxonomies = 1 [(google.api.field_behavior) = REQUIRED];
+}
+
+// Response message for
+// [ImportTaxonomies][google.cloud.datacatalog.v1beta1.PolicyTagManagerSerialization.ImportTaxonomies].
+message ImportTaxonomiesResponse {
+ // Taxonomies that were imported.
+ repeated Taxonomy taxonomies = 1;
+}
+
+// Request message for
+// [ExportTaxonomies][google.cloud.datacatalog.v1beta1.PolicyTagManagerSerialization.ExportTaxonomies].
+message ExportTaxonomiesRequest {
+ // Required. Resource name of the project that taxonomies to be exported
+ // will share.
+ string parent = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ child_type: "datacatalog.googleapis.com/Taxonomy"
+ }
+ ];
+
+ // Required. Resource names of the taxonomies to be exported.
+ repeated string taxonomies = 2 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ type: "datacatalog.googleapis.com/Taxonomy"
+ }
+ ];
+
+ // Required. Taxonomies export destination.
+ oneof destination {
+ // Export taxonomies as serialized taxonomies.
+ bool serialized_taxonomies = 3;
+ }
+}
+
+// Response message for
+// [ExportTaxonomies][google.cloud.datacatalog.v1beta1.PolicyTagManagerSerialization.ExportTaxonomies].
+message ExportTaxonomiesResponse {
+ // List of taxonomies and policy tags in a tree structure.
+ repeated SerializedTaxonomy taxonomies = 1;
+}
diff --git a/packages/google-cloud-datacatalog/protos/google/cloud/datacatalog/v1beta1/schema.proto b/packages/google-cloud-datacatalog/protos/google/cloud/datacatalog/v1beta1/schema.proto
new file mode 100644
index 00000000000..d8e69fd4605
--- /dev/null
+++ b/packages/google-cloud-datacatalog/protos/google/cloud/datacatalog/v1beta1/schema.proto
@@ -0,0 +1,55 @@
+// Copyright 2020 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+syntax = "proto3";
+
+package google.cloud.datacatalog.v1beta1;
+
+import "google/api/field_behavior.proto";
+
+option cc_enable_arenas = true;
+option csharp_namespace = "Google.Cloud.DataCatalog.V1Beta1";
+option go_package = "google.golang.org/genproto/googleapis/cloud/datacatalog/v1beta1;datacatalog";
+option java_multiple_files = true;
+option java_package = "com.google.cloud.datacatalog.v1beta1";
+option php_namespace = "Google\\Cloud\\DataCatalog\\V1beta1";
+option ruby_package = "Google::Cloud::DataCatalog::V1beta1";
+
+// Represents a schema (e.g. BigQuery, GoogleSQL, Avro schema).
+message Schema {
+ // Required. Schema of columns. A maximum of 10,000 columns and sub-columns can be
+ // specified.
+ repeated ColumnSchema columns = 2 [(google.api.field_behavior) = REQUIRED];
+}
+
+// Representation of a column within a schema. Columns could be nested inside
+// other columns.
+message ColumnSchema {
+ // Required. Name of the column.
+ string column = 6 [(google.api.field_behavior) = REQUIRED];
+
+ // Required. Type of the column.
+ string type = 1 [(google.api.field_behavior) = REQUIRED];
+
+ // Optional. Description of the column. Default value is an empty string.
+ string description = 2 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. A column's mode indicates whether the values in this column are required,
+ // nullable, etc. Only `NULLABLE`, `REQUIRED` and `REPEATED` are supported.
+ // Default mode is `NULLABLE`.
+ string mode = 3 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. Schema of sub-columns. A column can have zero or more sub-columns.
+ repeated ColumnSchema subcolumns = 7 [(google.api.field_behavior) = OPTIONAL];
+}
diff --git a/packages/google-cloud-datacatalog/protos/google/cloud/datacatalog/v1beta1/search.proto b/packages/google-cloud-datacatalog/protos/google/cloud/datacatalog/v1beta1/search.proto
new file mode 100644
index 00000000000..afaa643d758
--- /dev/null
+++ b/packages/google-cloud-datacatalog/protos/google/cloud/datacatalog/v1beta1/search.proto
@@ -0,0 +1,70 @@
+// Copyright 2020 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+syntax = "proto3";
+
+package google.cloud.datacatalog.v1beta1;
+
+import "google/cloud/datacatalog/v1beta1/common.proto";
+
+option cc_enable_arenas = true;
+option csharp_namespace = "Google.Cloud.DataCatalog.V1Beta1";
+option go_package = "google.golang.org/genproto/googleapis/cloud/datacatalog/v1beta1;datacatalog";
+option java_multiple_files = true;
+option java_package = "com.google.cloud.datacatalog.v1beta1";
+option php_namespace = "Google\\Cloud\\DataCatalog\\V1beta1";
+option ruby_package = "Google::Cloud::DataCatalog::V1beta1";
+
+// A result that appears in the response of a search request. Each result
+// captures details of one entry that matches the search.
+message SearchCatalogResult {
+ // Type of the search result. This field can be used to determine which Get
+ // method to call to fetch the full resource.
+ SearchResultType search_result_type = 1;
+
+ // Sub-type of the search result. This is a dot-delimited description of the
+ // resource's full type, and is the same as the value callers would provide in
+ // the "type" search facet. Examples: `entry.table`, `entry.dataStream`,
+ // `tagTemplate`.
+ string search_result_subtype = 2;
+
+ // The relative resource name of the resource in URL format.
+ // Examples:
+ //
+ // * `projects/{project_id}/locations/{location_id}/entryGroups/{entry_group_id}/entries/{entry_id}`
+ // * `projects/{project_id}/tagTemplates/{tag_template_id}`
+ string relative_resource_name = 3;
+
+ // The full name of the cloud resource the entry belongs to. See:
+ // https://cloud.google.com/apis/design/resource_names#full_resource_name.
+ // Example:
+ //
+ // * `//bigquery.googleapis.com/projects/projectId/datasets/datasetId/tables/tableId`
+ string linked_resource = 4;
+}
+
+// The different types of resources that can be returned in search.
+enum SearchResultType {
+ // Default unknown type.
+ SEARCH_RESULT_TYPE_UNSPECIFIED = 0;
+
+ // An [Entry][google.cloud.datacatalog.v1beta1.Entry].
+ ENTRY = 1;
+
+ // A [TagTemplate][google.cloud.datacatalog.v1beta1.TagTemplate].
+ TAG_TEMPLATE = 2;
+
+ // An [EntryGroup][google.cloud.datacatalog.v1beta1.EntryGroup].
+ ENTRY_GROUP = 3;
+}
diff --git a/packages/google-cloud-datacatalog/protos/google/cloud/datacatalog/v1beta1/table_spec.proto b/packages/google-cloud-datacatalog/protos/google/cloud/datacatalog/v1beta1/table_spec.proto
new file mode 100644
index 00000000000..c08f43efdfd
--- /dev/null
+++ b/packages/google-cloud-datacatalog/protos/google/cloud/datacatalog/v1beta1/table_spec.proto
@@ -0,0 +1,101 @@
+// Copyright 2020 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+syntax = "proto3";
+
+package google.cloud.datacatalog.v1beta1;
+
+import "google/api/field_behavior.proto";
+import "google/api/resource.proto";
+
+option cc_enable_arenas = true;
+option csharp_namespace = "Google.Cloud.DataCatalog.V1Beta1";
+option go_package = "google.golang.org/genproto/googleapis/cloud/datacatalog/v1beta1;datacatalog";
+option java_multiple_files = true;
+option java_package = "com.google.cloud.datacatalog.v1beta1";
+option php_namespace = "Google\\Cloud\\DataCatalog\\V1beta1";
+option ruby_package = "Google::Cloud::DataCatalog::V1beta1";
+
+// Describes a BigQuery table.
+message BigQueryTableSpec {
+ // Output only. The table source type.
+ TableSourceType table_source_type = 1 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Output only.
+ oneof type_spec {
+ // Table view specification. This field should only be populated if
+ // `table_source_type` is `BIGQUERY_VIEW`.
+ ViewSpec view_spec = 2;
+
+ // Spec of a BigQuery table. This field should only be populated if
+ // `table_source_type` is `BIGQUERY_TABLE`.
+ TableSpec table_spec = 3;
+ }
+}
+
+// Table source type.
+enum TableSourceType {
+ // Default unknown type.
+ TABLE_SOURCE_TYPE_UNSPECIFIED = 0;
+
+ // Table view.
+ BIGQUERY_VIEW = 2;
+
+ // BigQuery native table.
+ BIGQUERY_TABLE = 5;
+}
+
+// Table view specification.
+message ViewSpec {
+ // Output only. The query that defines the table view.
+ string view_query = 1 [(google.api.field_behavior) = OUTPUT_ONLY];
+}
+
+// Normal BigQuery table spec.
+message TableSpec {
+ // Output only. If the table is a dated shard, i.e., with name pattern `[prefix]YYYYMMDD`,
+ // `grouped_entry` is the Data Catalog resource name of the date sharded
+ // grouped entry, for example,
+ // `projects/{project_id}/locations/{location}/entrygroups/{entry_group_id}/entries/{entry_id}`.
+ // Otherwise, `grouped_entry` is empty.
+ string grouped_entry = 1 [
+ (google.api.field_behavior) = OUTPUT_ONLY,
+ (google.api.resource_reference) = {
+ type: "datacatalog.googleapis.com/Entry"
+ }
+ ];
+}
+
+// Spec for a group of BigQuery tables with name pattern `[prefix]YYYYMMDD`.
+// Context:
+// https://cloud.google.com/bigquery/docs/partitioned-tables#partitioning_versus_sharding
+message BigQueryDateShardedSpec {
+ // Output only. The Data Catalog resource name of the dataset entry the current table
+ // belongs to, for example,
+ // `projects/{project_id}/locations/{location}/entrygroups/{entry_group_id}/entries/{entry_id}`.
+ string dataset = 1 [
+ (google.api.field_behavior) = OUTPUT_ONLY,
+ (google.api.resource_reference) = {
+ type: "datacatalog.googleapis.com/Entry"
+ }
+ ];
+
+ // Output only. The table name prefix of the shards. The name of any given shard is
+ // `[table_prefix]YYYYMMDD`, for example, for shard `MyTable20180101`, the
+ // `table_prefix` is `MyTable`.
+ string table_prefix = 2 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Output only. Total number of shards.
+ int64 shard_count = 3 [(google.api.field_behavior) = OUTPUT_ONLY];
+}
diff --git a/packages/google-cloud-datacatalog/protos/google/cloud/datacatalog/v1beta1/tags.proto b/packages/google-cloud-datacatalog/protos/google/cloud/datacatalog/v1beta1/tags.proto
new file mode 100644
index 00000000000..c15fb218abf
--- /dev/null
+++ b/packages/google-cloud-datacatalog/protos/google/cloud/datacatalog/v1beta1/tags.proto
@@ -0,0 +1,229 @@
+// Copyright 2020 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+syntax = "proto3";
+
+package google.cloud.datacatalog.v1beta1;
+
+import "google/api/field_behavior.proto";
+import "google/api/resource.proto";
+import "google/protobuf/timestamp.proto";
+
+option cc_enable_arenas = true;
+option csharp_namespace = "Google.Cloud.DataCatalog.V1Beta1";
+option go_package = "google.golang.org/genproto/googleapis/cloud/datacatalog/v1beta1;datacatalog";
+option java_multiple_files = true;
+option java_package = "com.google.cloud.datacatalog.v1beta1";
+option php_namespace = "Google\\Cloud\\DataCatalog\\V1beta1";
+option ruby_package = "Google::Cloud::DataCatalog::V1beta1";
+
+// Tags are used to attach custom metadata to Data Catalog resources. Tags
+// conform to the specifications within their tag template.
+//
+// See [Data Catalog
+// IAM](https://cloud.google.com/data-catalog/docs/concepts/iam) for information
+// on the permissions needed to create or view tags.
+message Tag {
+ option (google.api.resource) = {
+ type: "datacatalog.googleapis.com/Tag"
+ pattern: "projects/{project}/locations/{location}/entryGroups/{entry_group}/entries/{entry}/tags/{tag}"
+ };
+
+ // The resource name of the tag in URL format. Example:
+ //
+ // * projects/{project_id}/locations/{location}/entrygroups/{entry_group_id}/entries/{entry_id}/tags/{tag_id}
+ //
+ // where `tag_id` is a system-generated identifier.
+ // Note that this Tag may not actually be stored in the location in this name.
+ string name = 1;
+
+ // Required. The resource name of the tag template that this tag uses. Example:
+ //
+ // * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}
+ //
+ // This field cannot be modified after creation.
+ string template = 2 [(google.api.field_behavior) = REQUIRED];
+
+ // Output only. The display name of the tag template.
+ string template_display_name = 5 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // The scope within the parent resource that this tag is attached to. If not
+ // provided, the tag is attached to the parent resource itself.
+ // Deleting the scope from the parent resource will delete all tags attached
+ // to that scope. These fields cannot be updated after creation.
+ oneof scope {
+ // Resources like Entry can have schemas associated with them. This scope
+ // allows users to attach tags to an individual column based on that schema.
+ //
+ // For attaching a tag to a nested column, use `.` to separate the column
+ // names. Example:
+ //
+ // * `outer_column.inner_column`
+ string column = 4;
+ }
+
+ // Required. This maps the ID of a tag field to the value of and additional information
+ // about that field. Valid field IDs are defined by the tag's template. A tag
+ // must have at least 1 field and at most 500 fields.
+ map fields = 3 [(google.api.field_behavior) = REQUIRED];
+}
+
+// Contains the value and supporting information for a field within
+// a [Tag][google.cloud.datacatalog.v1beta1.Tag].
+message TagField {
+ // Holds an enum value.
+ message EnumValue {
+ // The display name of the enum value.
+ string display_name = 1;
+ }
+
+ // Output only. The display name of this field.
+ string display_name = 1 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Required. The value of this field.
+ oneof kind {
+ // Holds the value for a tag field with double type.
+ double double_value = 2;
+
+ // Holds the value for a tag field with string type.
+ string string_value = 3;
+
+ // Holds the value for a tag field with boolean type.
+ bool bool_value = 4;
+
+ // Holds the value for a tag field with timestamp type.
+ google.protobuf.Timestamp timestamp_value = 5;
+
+ // Holds the value for a tag field with enum type. This value must be
+ // one of the allowed values in the definition of this enum.
+ EnumValue enum_value = 6;
+ }
+
+ // Output only. The order of this field with respect to other fields in this tag. It can be
+ // set in [Tag][google.cloud.datacatalog.v1beta1.TagTemplateField.order]. For
+ // example, a higher value can indicate a more important field. The value can
+ // be negative. Multiple fields can have the same order, and field orders
+ // within a tag do not have to be sequential.
+ int32 order = 7 [(google.api.field_behavior) = OUTPUT_ONLY];
+}
+
+// A tag template defines a tag, which can have one or more typed fields.
+// The template is used to create and attach the tag to GCP resources.
+// [Tag template
+// roles](https://cloud.google.com/iam/docs/understanding-roles#data-catalog-roles)
+// provide permissions to create, edit, and use the template. See, for example,
+// the [TagTemplate
+// User](https://cloud.google.com/data-catalog/docs/how-to/template-user) role,
+// which includes permission to use the tag template to tag resources.
+message TagTemplate {
+ option (google.api.resource) = {
+ type: "datacatalog.googleapis.com/TagTemplate"
+ pattern: "projects/{project}/locations/{location}/tagTemplates/{tag_template}"
+ };
+
+ // The resource name of the tag template in URL format. Example:
+ //
+ // * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}
+ //
+ // Note that this TagTemplate and its child resources may not actually be
+ // stored in the location in this name.
+ string name = 1;
+
+ // The display name for this template. Defaults to an empty string.
+ string display_name = 2;
+
+ // Required. Map of tag template field IDs to the settings for the field.
+ // This map is an exhaustive list of the allowed fields. This map must contain
+ // at least one field and at most 500 fields.
+ //
+ // The keys to this map are tag template field IDs. Field IDs can contain
+ // letters (both uppercase and lowercase), numbers (0-9) and underscores (_).
+ // Field IDs must be at least 1 character long and at most
+ // 64 characters long. Field IDs must start with a letter or underscore.
+ map fields = 3 [(google.api.field_behavior) = REQUIRED];
+}
+
+// The template for an individual field within a tag template.
+message TagTemplateField {
+ option (google.api.resource) = {
+ type: "datacatalog.googleapis.com/TagTemplateField"
+ pattern: "projects/{project}/locations/{location}/tagTemplates/{tag_template}/fields/{field}"
+ };
+
+ // Output only. The resource name of the tag template field in URL format. Example:
+ //
+ // * projects/{project_id}/locations/{location}/tagTemplates/{tag_template}/fields/{field}
+ //
+ // Note that this TagTemplateField may not actually be stored in the location
+ // in this name.
+ string name = 6 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // The display name for this field. Defaults to an empty string.
+ string display_name = 1;
+
+ // Required. The type of value this tag field can contain.
+ FieldType type = 2 [(google.api.field_behavior) = REQUIRED];
+
+ // Whether this is a required field. Defaults to false.
+ bool is_required = 3;
+
+ // The order of this field with respect to other fields in this tag
+ // template. A higher value indicates a more important field. The value can
+ // be negative. Multiple fields can have the same order, and field orders
+ // within a tag do not have to be sequential.
+ int32 order = 5;
+}
+
+message FieldType {
+ message EnumType {
+ message EnumValue {
+ // Required. The display name of the enum value. Must not be an empty string.
+ string display_name = 1 [(google.api.field_behavior) = REQUIRED];
+ }
+
+ // Required on create; optional on update. The set of allowed values for
+ // this enum. This set must not be empty, the display names of the values in
+ // this set must not be empty and the display names of the values must be
+ // case-insensitively unique within this set. Currently, enum values can
+ // only be added to the list of allowed values. Deletion and renaming of
+ // enum values are not supported. Can have up to 500 allowed values.
+ repeated EnumValue allowed_values = 1;
+ }
+
+ enum PrimitiveType {
+ // This is the default invalid value for a type.
+ PRIMITIVE_TYPE_UNSPECIFIED = 0;
+
+ // A double precision number.
+ DOUBLE = 1;
+
+ // An UTF-8 string.
+ STRING = 2;
+
+ // A boolean value.
+ BOOL = 3;
+
+ // A timestamp.
+ TIMESTAMP = 4;
+ }
+
+ // Required.
+ oneof type_decl {
+ // Represents primitive types - string, bool etc.
+ PrimitiveType primitive_type = 1;
+
+ // Represents an enum type.
+ EnumType enum_type = 2;
+ }
+}
diff --git a/packages/google-cloud-datacatalog/protos/google/cloud/datacatalog/v1beta1/timestamps.proto b/packages/google-cloud-datacatalog/protos/google/cloud/datacatalog/v1beta1/timestamps.proto
new file mode 100644
index 00000000000..dc49c75cb53
--- /dev/null
+++ b/packages/google-cloud-datacatalog/protos/google/cloud/datacatalog/v1beta1/timestamps.proto
@@ -0,0 +1,41 @@
+// Copyright 2020 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+syntax = "proto3";
+
+package google.cloud.datacatalog.v1beta1;
+
+import "google/api/field_behavior.proto";
+import "google/protobuf/timestamp.proto";
+
+option cc_enable_arenas = true;
+option csharp_namespace = "Google.Cloud.DataCatalog.V1Beta1";
+option go_package = "google.golang.org/genproto/googleapis/cloud/datacatalog/v1beta1;datacatalog";
+option java_multiple_files = true;
+option java_package = "com.google.cloud.datacatalog.v1beta1";
+option php_namespace = "Google\\Cloud\\DataCatalog\\V1beta1";
+option ruby_package = "Google::Cloud::DataCatalog::V1beta1";
+
+// Timestamps about this resource according to a particular system.
+message SystemTimestamps {
+ // The creation time of the resource within the given system.
+ google.protobuf.Timestamp create_time = 1;
+
+ // The last-modified time of the resource within the given system.
+ google.protobuf.Timestamp update_time = 2;
+
+ // Output only. The expiration time of the resource within the given system.
+ // Currently only apllicable to BigQuery resources.
+ google.protobuf.Timestamp expire_time = 3 [(google.api.field_behavior) = OUTPUT_ONLY];
+}
diff --git a/packages/google-cloud-datacatalog/protos/protos.d.ts b/packages/google-cloud-datacatalog/protos/protos.d.ts
new file mode 100644
index 00000000000..533a4e3b025
--- /dev/null
+++ b/packages/google-cloud-datacatalog/protos/protos.d.ts
@@ -0,0 +1,27008 @@
+// Copyright 2022 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+import type {protobuf as $protobuf} from "google-gax";
+import Long = require("long");
+/** Namespace google. */
+export namespace google {
+
+ /** Namespace cloud. */
+ namespace cloud {
+
+ /** Namespace datacatalog. */
+ namespace datacatalog {
+
+ /** Namespace v1. */
+ namespace v1 {
+
+ /** Properties of a BigQueryConnectionSpec. */
+ interface IBigQueryConnectionSpec {
+
+ /** BigQueryConnectionSpec connectionType */
+ connectionType?: (google.cloud.datacatalog.v1.BigQueryConnectionSpec.ConnectionType|keyof typeof google.cloud.datacatalog.v1.BigQueryConnectionSpec.ConnectionType|null);
+
+ /** BigQueryConnectionSpec cloudSql */
+ cloudSql?: (google.cloud.datacatalog.v1.ICloudSqlBigQueryConnectionSpec|null);
+
+ /** BigQueryConnectionSpec hasCredential */
+ hasCredential?: (boolean|null);
+ }
+
+ /** Represents a BigQueryConnectionSpec. */
+ class BigQueryConnectionSpec implements IBigQueryConnectionSpec {
+
+ /**
+ * Constructs a new BigQueryConnectionSpec.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.datacatalog.v1.IBigQueryConnectionSpec);
+
+ /** BigQueryConnectionSpec connectionType. */
+ public connectionType: (google.cloud.datacatalog.v1.BigQueryConnectionSpec.ConnectionType|keyof typeof google.cloud.datacatalog.v1.BigQueryConnectionSpec.ConnectionType);
+
+ /** BigQueryConnectionSpec cloudSql. */
+ public cloudSql?: (google.cloud.datacatalog.v1.ICloudSqlBigQueryConnectionSpec|null);
+
+ /** BigQueryConnectionSpec hasCredential. */
+ public hasCredential: boolean;
+
+ /** BigQueryConnectionSpec connectionSpec. */
+ public connectionSpec?: "cloudSql";
+
+ /**
+ * Creates a new BigQueryConnectionSpec instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns BigQueryConnectionSpec instance
+ */
+ public static create(properties?: google.cloud.datacatalog.v1.IBigQueryConnectionSpec): google.cloud.datacatalog.v1.BigQueryConnectionSpec;
+
+ /**
+ * Encodes the specified BigQueryConnectionSpec message. Does not implicitly {@link google.cloud.datacatalog.v1.BigQueryConnectionSpec.verify|verify} messages.
+ * @param message BigQueryConnectionSpec message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.datacatalog.v1.IBigQueryConnectionSpec, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified BigQueryConnectionSpec message, length delimited. Does not implicitly {@link google.cloud.datacatalog.v1.BigQueryConnectionSpec.verify|verify} messages.
+ * @param message BigQueryConnectionSpec message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.datacatalog.v1.IBigQueryConnectionSpec, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a BigQueryConnectionSpec message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns BigQueryConnectionSpec
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.datacatalog.v1.BigQueryConnectionSpec;
+
+ /**
+ * Decodes a BigQueryConnectionSpec message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns BigQueryConnectionSpec
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.datacatalog.v1.BigQueryConnectionSpec;
+
+ /**
+ * Verifies a BigQueryConnectionSpec message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a BigQueryConnectionSpec message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns BigQueryConnectionSpec
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.datacatalog.v1.BigQueryConnectionSpec;
+
+ /**
+ * Creates a plain object from a BigQueryConnectionSpec message. Also converts values to other types if specified.
+ * @param message BigQueryConnectionSpec
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.datacatalog.v1.BigQueryConnectionSpec, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this BigQueryConnectionSpec to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for BigQueryConnectionSpec
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace BigQueryConnectionSpec {
+
+ /** ConnectionType enum. */
+ enum ConnectionType {
+ CONNECTION_TYPE_UNSPECIFIED = 0,
+ CLOUD_SQL = 1
+ }
+ }
+
+ /** Properties of a CloudSqlBigQueryConnectionSpec. */
+ interface ICloudSqlBigQueryConnectionSpec {
+
+ /** CloudSqlBigQueryConnectionSpec instanceId */
+ instanceId?: (string|null);
+
+ /** CloudSqlBigQueryConnectionSpec database */
+ database?: (string|null);
+
+ /** CloudSqlBigQueryConnectionSpec type */
+ type?: (google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec.DatabaseType|keyof typeof google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec.DatabaseType|null);
+ }
+
+ /** Represents a CloudSqlBigQueryConnectionSpec. */
+ class CloudSqlBigQueryConnectionSpec implements ICloudSqlBigQueryConnectionSpec {
+
+ /**
+ * Constructs a new CloudSqlBigQueryConnectionSpec.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.datacatalog.v1.ICloudSqlBigQueryConnectionSpec);
+
+ /** CloudSqlBigQueryConnectionSpec instanceId. */
+ public instanceId: string;
+
+ /** CloudSqlBigQueryConnectionSpec database. */
+ public database: string;
+
+ /** CloudSqlBigQueryConnectionSpec type. */
+ public type: (google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec.DatabaseType|keyof typeof google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec.DatabaseType);
+
+ /**
+ * Creates a new CloudSqlBigQueryConnectionSpec instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns CloudSqlBigQueryConnectionSpec instance
+ */
+ public static create(properties?: google.cloud.datacatalog.v1.ICloudSqlBigQueryConnectionSpec): google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec;
+
+ /**
+ * Encodes the specified CloudSqlBigQueryConnectionSpec message. Does not implicitly {@link google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec.verify|verify} messages.
+ * @param message CloudSqlBigQueryConnectionSpec message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.datacatalog.v1.ICloudSqlBigQueryConnectionSpec, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified CloudSqlBigQueryConnectionSpec message, length delimited. Does not implicitly {@link google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec.verify|verify} messages.
+ * @param message CloudSqlBigQueryConnectionSpec message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.datacatalog.v1.ICloudSqlBigQueryConnectionSpec, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a CloudSqlBigQueryConnectionSpec message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns CloudSqlBigQueryConnectionSpec
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec;
+
+ /**
+ * Decodes a CloudSqlBigQueryConnectionSpec message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns CloudSqlBigQueryConnectionSpec
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec;
+
+ /**
+ * Verifies a CloudSqlBigQueryConnectionSpec message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a CloudSqlBigQueryConnectionSpec message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns CloudSqlBigQueryConnectionSpec
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec;
+
+ /**
+ * Creates a plain object from a CloudSqlBigQueryConnectionSpec message. Also converts values to other types if specified.
+ * @param message CloudSqlBigQueryConnectionSpec
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this CloudSqlBigQueryConnectionSpec to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for CloudSqlBigQueryConnectionSpec
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace CloudSqlBigQueryConnectionSpec {
+
+ /** DatabaseType enum. */
+ enum DatabaseType {
+ DATABASE_TYPE_UNSPECIFIED = 0,
+ POSTGRES = 1,
+ MYSQL = 2
+ }
+ }
+
+ /** Properties of a BigQueryRoutineSpec. */
+ interface IBigQueryRoutineSpec {
+
+ /** BigQueryRoutineSpec importedLibraries */
+ importedLibraries?: (string[]|null);
+ }
+
+ /** Represents a BigQueryRoutineSpec. */
+ class BigQueryRoutineSpec implements IBigQueryRoutineSpec {
+
+ /**
+ * Constructs a new BigQueryRoutineSpec.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.datacatalog.v1.IBigQueryRoutineSpec);
+
+ /** BigQueryRoutineSpec importedLibraries. */
+ public importedLibraries: string[];
+
+ /**
+ * Creates a new BigQueryRoutineSpec instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns BigQueryRoutineSpec instance
+ */
+ public static create(properties?: google.cloud.datacatalog.v1.IBigQueryRoutineSpec): google.cloud.datacatalog.v1.BigQueryRoutineSpec;
+
+ /**
+ * Encodes the specified BigQueryRoutineSpec message. Does not implicitly {@link google.cloud.datacatalog.v1.BigQueryRoutineSpec.verify|verify} messages.
+ * @param message BigQueryRoutineSpec message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.datacatalog.v1.IBigQueryRoutineSpec, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified BigQueryRoutineSpec message, length delimited. Does not implicitly {@link google.cloud.datacatalog.v1.BigQueryRoutineSpec.verify|verify} messages.
+ * @param message BigQueryRoutineSpec message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.datacatalog.v1.IBigQueryRoutineSpec, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a BigQueryRoutineSpec message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns BigQueryRoutineSpec
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.datacatalog.v1.BigQueryRoutineSpec;
+
+ /**
+ * Decodes a BigQueryRoutineSpec message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns BigQueryRoutineSpec
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.datacatalog.v1.BigQueryRoutineSpec;
+
+ /**
+ * Verifies a BigQueryRoutineSpec message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a BigQueryRoutineSpec message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns BigQueryRoutineSpec
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.datacatalog.v1.BigQueryRoutineSpec;
+
+ /**
+ * Creates a plain object from a BigQueryRoutineSpec message. Also converts values to other types if specified.
+ * @param message BigQueryRoutineSpec
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.datacatalog.v1.BigQueryRoutineSpec, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this BigQueryRoutineSpec to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for BigQueryRoutineSpec
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a PersonalDetails. */
+ interface IPersonalDetails {
+
+ /** PersonalDetails starred */
+ starred?: (boolean|null);
+
+ /** PersonalDetails starTime */
+ starTime?: (google.protobuf.ITimestamp|null);
+ }
+
+ /** Represents a PersonalDetails. */
+ class PersonalDetails implements IPersonalDetails {
+
+ /**
+ * Constructs a new PersonalDetails.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.datacatalog.v1.IPersonalDetails);
+
+ /** PersonalDetails starred. */
+ public starred: boolean;
+
+ /** PersonalDetails starTime. */
+ public starTime?: (google.protobuf.ITimestamp|null);
+
+ /**
+ * Creates a new PersonalDetails instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns PersonalDetails instance
+ */
+ public static create(properties?: google.cloud.datacatalog.v1.IPersonalDetails): google.cloud.datacatalog.v1.PersonalDetails;
+
+ /**
+ * Encodes the specified PersonalDetails message. Does not implicitly {@link google.cloud.datacatalog.v1.PersonalDetails.verify|verify} messages.
+ * @param message PersonalDetails message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.datacatalog.v1.IPersonalDetails, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified PersonalDetails message, length delimited. Does not implicitly {@link google.cloud.datacatalog.v1.PersonalDetails.verify|verify} messages.
+ * @param message PersonalDetails message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.datacatalog.v1.IPersonalDetails, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a PersonalDetails message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns PersonalDetails
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.datacatalog.v1.PersonalDetails;
+
+ /**
+ * Decodes a PersonalDetails message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns PersonalDetails
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.datacatalog.v1.PersonalDetails;
+
+ /**
+ * Verifies a PersonalDetails message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a PersonalDetails message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns PersonalDetails
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.datacatalog.v1.PersonalDetails;
+
+ /**
+ * Creates a plain object from a PersonalDetails message. Also converts values to other types if specified.
+ * @param message PersonalDetails
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.datacatalog.v1.PersonalDetails, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this PersonalDetails to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for PersonalDetails
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** IntegratedSystem enum. */
+ enum IntegratedSystem {
+ INTEGRATED_SYSTEM_UNSPECIFIED = 0,
+ BIGQUERY = 1,
+ CLOUD_PUBSUB = 2,
+ DATAPROC_METASTORE = 3,
+ DATAPLEX = 4
+ }
+
+ /** Properties of a DataSource. */
+ interface IDataSource {
+
+ /** DataSource service */
+ service?: (google.cloud.datacatalog.v1.DataSource.Service|keyof typeof google.cloud.datacatalog.v1.DataSource.Service|null);
+
+ /** DataSource resource */
+ resource?: (string|null);
+
+ /** DataSource sourceEntry */
+ sourceEntry?: (string|null);
+
+ /** DataSource storageProperties */
+ storageProperties?: (google.cloud.datacatalog.v1.IStorageProperties|null);
+ }
+
+ /** Represents a DataSource. */
+ class DataSource implements IDataSource {
+
+ /**
+ * Constructs a new DataSource.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.datacatalog.v1.IDataSource);
+
+ /** DataSource service. */
+ public service: (google.cloud.datacatalog.v1.DataSource.Service|keyof typeof google.cloud.datacatalog.v1.DataSource.Service);
+
+ /** DataSource resource. */
+ public resource: string;
+
+ /** DataSource sourceEntry. */
+ public sourceEntry: string;
+
+ /** DataSource storageProperties. */
+ public storageProperties?: (google.cloud.datacatalog.v1.IStorageProperties|null);
+
+ /** DataSource properties. */
+ public properties?: "storageProperties";
+
+ /**
+ * Creates a new DataSource instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns DataSource instance
+ */
+ public static create(properties?: google.cloud.datacatalog.v1.IDataSource): google.cloud.datacatalog.v1.DataSource;
+
+ /**
+ * Encodes the specified DataSource message. Does not implicitly {@link google.cloud.datacatalog.v1.DataSource.verify|verify} messages.
+ * @param message DataSource message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.datacatalog.v1.IDataSource, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified DataSource message, length delimited. Does not implicitly {@link google.cloud.datacatalog.v1.DataSource.verify|verify} messages.
+ * @param message DataSource message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.datacatalog.v1.IDataSource, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a DataSource message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns DataSource
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.datacatalog.v1.DataSource;
+
+ /**
+ * Decodes a DataSource message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns DataSource
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.datacatalog.v1.DataSource;
+
+ /**
+ * Verifies a DataSource message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a DataSource message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns DataSource
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.datacatalog.v1.DataSource;
+
+ /**
+ * Creates a plain object from a DataSource message. Also converts values to other types if specified.
+ * @param message DataSource
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.datacatalog.v1.DataSource, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this DataSource to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for DataSource
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace DataSource {
+
+ /** Service enum. */
+ enum Service {
+ SERVICE_UNSPECIFIED = 0,
+ CLOUD_STORAGE = 1,
+ BIGQUERY = 2
+ }
+ }
+
+ /** Properties of a StorageProperties. */
+ interface IStorageProperties {
+
+ /** StorageProperties filePattern */
+ filePattern?: (string[]|null);
+
+ /** StorageProperties fileType */
+ fileType?: (string|null);
+ }
+
+ /** Represents a StorageProperties. */
+ class StorageProperties implements IStorageProperties {
+
+ /**
+ * Constructs a new StorageProperties.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.datacatalog.v1.IStorageProperties);
+
+ /** StorageProperties filePattern. */
+ public filePattern: string[];
+
+ /** StorageProperties fileType. */
+ public fileType: string;
+
+ /**
+ * Creates a new StorageProperties instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns StorageProperties instance
+ */
+ public static create(properties?: google.cloud.datacatalog.v1.IStorageProperties): google.cloud.datacatalog.v1.StorageProperties;
+
+ /**
+ * Encodes the specified StorageProperties message. Does not implicitly {@link google.cloud.datacatalog.v1.StorageProperties.verify|verify} messages.
+ * @param message StorageProperties message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.datacatalog.v1.IStorageProperties, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified StorageProperties message, length delimited. Does not implicitly {@link google.cloud.datacatalog.v1.StorageProperties.verify|verify} messages.
+ * @param message StorageProperties message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.datacatalog.v1.IStorageProperties, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a StorageProperties message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns StorageProperties
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.datacatalog.v1.StorageProperties;
+
+ /**
+ * Decodes a StorageProperties message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns StorageProperties
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.datacatalog.v1.StorageProperties;
+
+ /**
+ * Verifies a StorageProperties message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a StorageProperties message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns StorageProperties
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.datacatalog.v1.StorageProperties;
+
+ /**
+ * Creates a plain object from a StorageProperties message. Also converts values to other types if specified.
+ * @param message StorageProperties
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.datacatalog.v1.StorageProperties, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this StorageProperties to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for StorageProperties
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Represents a DataCatalog */
+ class DataCatalog extends $protobuf.rpc.Service {
+
+ /**
+ * Constructs a new DataCatalog 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 DataCatalog 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): DataCatalog;
+
+ /**
+ * Calls SearchCatalog.
+ * @param request SearchCatalogRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and SearchCatalogResponse
+ */
+ public searchCatalog(request: google.cloud.datacatalog.v1.ISearchCatalogRequest, callback: google.cloud.datacatalog.v1.DataCatalog.SearchCatalogCallback): void;
+
+ /**
+ * Calls SearchCatalog.
+ * @param request SearchCatalogRequest message or plain object
+ * @returns Promise
+ */
+ public searchCatalog(request: google.cloud.datacatalog.v1.ISearchCatalogRequest): Promise;
+
+ /**
+ * Calls CreateEntryGroup.
+ * @param request CreateEntryGroupRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and EntryGroup
+ */
+ public createEntryGroup(request: google.cloud.datacatalog.v1.ICreateEntryGroupRequest, callback: google.cloud.datacatalog.v1.DataCatalog.CreateEntryGroupCallback): void;
+
+ /**
+ * Calls CreateEntryGroup.
+ * @param request CreateEntryGroupRequest message or plain object
+ * @returns Promise
+ */
+ public createEntryGroup(request: google.cloud.datacatalog.v1.ICreateEntryGroupRequest): Promise;
+
+ /**
+ * Calls GetEntryGroup.
+ * @param request GetEntryGroupRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and EntryGroup
+ */
+ public getEntryGroup(request: google.cloud.datacatalog.v1.IGetEntryGroupRequest, callback: google.cloud.datacatalog.v1.DataCatalog.GetEntryGroupCallback): void;
+
+ /**
+ * Calls GetEntryGroup.
+ * @param request GetEntryGroupRequest message or plain object
+ * @returns Promise
+ */
+ public getEntryGroup(request: google.cloud.datacatalog.v1.IGetEntryGroupRequest): Promise;
+
+ /**
+ * Calls UpdateEntryGroup.
+ * @param request UpdateEntryGroupRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and EntryGroup
+ */
+ public updateEntryGroup(request: google.cloud.datacatalog.v1.IUpdateEntryGroupRequest, callback: google.cloud.datacatalog.v1.DataCatalog.UpdateEntryGroupCallback): void;
+
+ /**
+ * Calls UpdateEntryGroup.
+ * @param request UpdateEntryGroupRequest message or plain object
+ * @returns Promise
+ */
+ public updateEntryGroup(request: google.cloud.datacatalog.v1.IUpdateEntryGroupRequest): Promise;
+
+ /**
+ * Calls DeleteEntryGroup.
+ * @param request DeleteEntryGroupRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and Empty
+ */
+ public deleteEntryGroup(request: google.cloud.datacatalog.v1.IDeleteEntryGroupRequest, callback: google.cloud.datacatalog.v1.DataCatalog.DeleteEntryGroupCallback): void;
+
+ /**
+ * Calls DeleteEntryGroup.
+ * @param request DeleteEntryGroupRequest message or plain object
+ * @returns Promise
+ */
+ public deleteEntryGroup(request: google.cloud.datacatalog.v1.IDeleteEntryGroupRequest): Promise;
+
+ /**
+ * Calls ListEntryGroups.
+ * @param request ListEntryGroupsRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and ListEntryGroupsResponse
+ */
+ public listEntryGroups(request: google.cloud.datacatalog.v1.IListEntryGroupsRequest, callback: google.cloud.datacatalog.v1.DataCatalog.ListEntryGroupsCallback): void;
+
+ /**
+ * Calls ListEntryGroups.
+ * @param request ListEntryGroupsRequest message or plain object
+ * @returns Promise
+ */
+ public listEntryGroups(request: google.cloud.datacatalog.v1.IListEntryGroupsRequest): Promise;
+
+ /**
+ * Calls CreateEntry.
+ * @param request CreateEntryRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and Entry
+ */
+ public createEntry(request: google.cloud.datacatalog.v1.ICreateEntryRequest, callback: google.cloud.datacatalog.v1.DataCatalog.CreateEntryCallback): void;
+
+ /**
+ * Calls CreateEntry.
+ * @param request CreateEntryRequest message or plain object
+ * @returns Promise
+ */
+ public createEntry(request: google.cloud.datacatalog.v1.ICreateEntryRequest): Promise;
+
+ /**
+ * Calls UpdateEntry.
+ * @param request UpdateEntryRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and Entry
+ */
+ public updateEntry(request: google.cloud.datacatalog.v1.IUpdateEntryRequest, callback: google.cloud.datacatalog.v1.DataCatalog.UpdateEntryCallback): void;
+
+ /**
+ * Calls UpdateEntry.
+ * @param request UpdateEntryRequest message or plain object
+ * @returns Promise
+ */
+ public updateEntry(request: google.cloud.datacatalog.v1.IUpdateEntryRequest): Promise;
+
+ /**
+ * Calls DeleteEntry.
+ * @param request DeleteEntryRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and Empty
+ */
+ public deleteEntry(request: google.cloud.datacatalog.v1.IDeleteEntryRequest, callback: google.cloud.datacatalog.v1.DataCatalog.DeleteEntryCallback): void;
+
+ /**
+ * Calls DeleteEntry.
+ * @param request DeleteEntryRequest message or plain object
+ * @returns Promise
+ */
+ public deleteEntry(request: google.cloud.datacatalog.v1.IDeleteEntryRequest): Promise;
+
+ /**
+ * Calls GetEntry.
+ * @param request GetEntryRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and Entry
+ */
+ public getEntry(request: google.cloud.datacatalog.v1.IGetEntryRequest, callback: google.cloud.datacatalog.v1.DataCatalog.GetEntryCallback): void;
+
+ /**
+ * Calls GetEntry.
+ * @param request GetEntryRequest message or plain object
+ * @returns Promise
+ */
+ public getEntry(request: google.cloud.datacatalog.v1.IGetEntryRequest): Promise;
+
+ /**
+ * Calls LookupEntry.
+ * @param request LookupEntryRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and Entry
+ */
+ public lookupEntry(request: google.cloud.datacatalog.v1.ILookupEntryRequest, callback: google.cloud.datacatalog.v1.DataCatalog.LookupEntryCallback): void;
+
+ /**
+ * Calls LookupEntry.
+ * @param request LookupEntryRequest message or plain object
+ * @returns Promise
+ */
+ public lookupEntry(request: google.cloud.datacatalog.v1.ILookupEntryRequest): Promise;
+
+ /**
+ * Calls ListEntries.
+ * @param request ListEntriesRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and ListEntriesResponse
+ */
+ public listEntries(request: google.cloud.datacatalog.v1.IListEntriesRequest, callback: google.cloud.datacatalog.v1.DataCatalog.ListEntriesCallback): void;
+
+ /**
+ * Calls ListEntries.
+ * @param request ListEntriesRequest message or plain object
+ * @returns Promise
+ */
+ public listEntries(request: google.cloud.datacatalog.v1.IListEntriesRequest): Promise;
+
+ /**
+ * Calls ModifyEntryOverview.
+ * @param request ModifyEntryOverviewRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and EntryOverview
+ */
+ public modifyEntryOverview(request: google.cloud.datacatalog.v1.IModifyEntryOverviewRequest, callback: google.cloud.datacatalog.v1.DataCatalog.ModifyEntryOverviewCallback): void;
+
+ /**
+ * Calls ModifyEntryOverview.
+ * @param request ModifyEntryOverviewRequest message or plain object
+ * @returns Promise
+ */
+ public modifyEntryOverview(request: google.cloud.datacatalog.v1.IModifyEntryOverviewRequest): Promise;
+
+ /**
+ * Calls ModifyEntryContacts.
+ * @param request ModifyEntryContactsRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and Contacts
+ */
+ public modifyEntryContacts(request: google.cloud.datacatalog.v1.IModifyEntryContactsRequest, callback: google.cloud.datacatalog.v1.DataCatalog.ModifyEntryContactsCallback): void;
+
+ /**
+ * Calls ModifyEntryContacts.
+ * @param request ModifyEntryContactsRequest message or plain object
+ * @returns Promise
+ */
+ public modifyEntryContacts(request: google.cloud.datacatalog.v1.IModifyEntryContactsRequest): Promise;
+
+ /**
+ * Calls CreateTagTemplate.
+ * @param request CreateTagTemplateRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and TagTemplate
+ */
+ public createTagTemplate(request: google.cloud.datacatalog.v1.ICreateTagTemplateRequest, callback: google.cloud.datacatalog.v1.DataCatalog.CreateTagTemplateCallback): void;
+
+ /**
+ * Calls CreateTagTemplate.
+ * @param request CreateTagTemplateRequest message or plain object
+ * @returns Promise
+ */
+ public createTagTemplate(request: google.cloud.datacatalog.v1.ICreateTagTemplateRequest): Promise;
+
+ /**
+ * Calls GetTagTemplate.
+ * @param request GetTagTemplateRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and TagTemplate
+ */
+ public getTagTemplate(request: google.cloud.datacatalog.v1.IGetTagTemplateRequest, callback: google.cloud.datacatalog.v1.DataCatalog.GetTagTemplateCallback): void;
+
+ /**
+ * Calls GetTagTemplate.
+ * @param request GetTagTemplateRequest message or plain object
+ * @returns Promise
+ */
+ public getTagTemplate(request: google.cloud.datacatalog.v1.IGetTagTemplateRequest): Promise;
+
+ /**
+ * Calls UpdateTagTemplate.
+ * @param request UpdateTagTemplateRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and TagTemplate
+ */
+ public updateTagTemplate(request: google.cloud.datacatalog.v1.IUpdateTagTemplateRequest, callback: google.cloud.datacatalog.v1.DataCatalog.UpdateTagTemplateCallback): void;
+
+ /**
+ * Calls UpdateTagTemplate.
+ * @param request UpdateTagTemplateRequest message or plain object
+ * @returns Promise
+ */
+ public updateTagTemplate(request: google.cloud.datacatalog.v1.IUpdateTagTemplateRequest): Promise;
+
+ /**
+ * Calls DeleteTagTemplate.
+ * @param request DeleteTagTemplateRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and Empty
+ */
+ public deleteTagTemplate(request: google.cloud.datacatalog.v1.IDeleteTagTemplateRequest, callback: google.cloud.datacatalog.v1.DataCatalog.DeleteTagTemplateCallback): void;
+
+ /**
+ * Calls DeleteTagTemplate.
+ * @param request DeleteTagTemplateRequest message or plain object
+ * @returns Promise
+ */
+ public deleteTagTemplate(request: google.cloud.datacatalog.v1.IDeleteTagTemplateRequest): Promise;
+
+ /**
+ * Calls CreateTagTemplateField.
+ * @param request CreateTagTemplateFieldRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and TagTemplateField
+ */
+ public createTagTemplateField(request: google.cloud.datacatalog.v1.ICreateTagTemplateFieldRequest, callback: google.cloud.datacatalog.v1.DataCatalog.CreateTagTemplateFieldCallback): void;
+
+ /**
+ * Calls CreateTagTemplateField.
+ * @param request CreateTagTemplateFieldRequest message or plain object
+ * @returns Promise
+ */
+ public createTagTemplateField(request: google.cloud.datacatalog.v1.ICreateTagTemplateFieldRequest): Promise;
+
+ /**
+ * Calls UpdateTagTemplateField.
+ * @param request UpdateTagTemplateFieldRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and TagTemplateField
+ */
+ public updateTagTemplateField(request: google.cloud.datacatalog.v1.IUpdateTagTemplateFieldRequest, callback: google.cloud.datacatalog.v1.DataCatalog.UpdateTagTemplateFieldCallback): void;
+
+ /**
+ * Calls UpdateTagTemplateField.
+ * @param request UpdateTagTemplateFieldRequest message or plain object
+ * @returns Promise
+ */
+ public updateTagTemplateField(request: google.cloud.datacatalog.v1.IUpdateTagTemplateFieldRequest): Promise;
+
+ /**
+ * Calls RenameTagTemplateField.
+ * @param request RenameTagTemplateFieldRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and TagTemplateField
+ */
+ public renameTagTemplateField(request: google.cloud.datacatalog.v1.IRenameTagTemplateFieldRequest, callback: google.cloud.datacatalog.v1.DataCatalog.RenameTagTemplateFieldCallback): void;
+
+ /**
+ * Calls RenameTagTemplateField.
+ * @param request RenameTagTemplateFieldRequest message or plain object
+ * @returns Promise
+ */
+ public renameTagTemplateField(request: google.cloud.datacatalog.v1.IRenameTagTemplateFieldRequest): Promise;
+
+ /**
+ * Calls RenameTagTemplateFieldEnumValue.
+ * @param request RenameTagTemplateFieldEnumValueRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and TagTemplateField
+ */
+ public renameTagTemplateFieldEnumValue(request: google.cloud.datacatalog.v1.IRenameTagTemplateFieldEnumValueRequest, callback: google.cloud.datacatalog.v1.DataCatalog.RenameTagTemplateFieldEnumValueCallback): void;
+
+ /**
+ * Calls RenameTagTemplateFieldEnumValue.
+ * @param request RenameTagTemplateFieldEnumValueRequest message or plain object
+ * @returns Promise
+ */
+ public renameTagTemplateFieldEnumValue(request: google.cloud.datacatalog.v1.IRenameTagTemplateFieldEnumValueRequest): Promise;
+
+ /**
+ * Calls DeleteTagTemplateField.
+ * @param request DeleteTagTemplateFieldRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and Empty
+ */
+ public deleteTagTemplateField(request: google.cloud.datacatalog.v1.IDeleteTagTemplateFieldRequest, callback: google.cloud.datacatalog.v1.DataCatalog.DeleteTagTemplateFieldCallback): void;
+
+ /**
+ * Calls DeleteTagTemplateField.
+ * @param request DeleteTagTemplateFieldRequest message or plain object
+ * @returns Promise
+ */
+ public deleteTagTemplateField(request: google.cloud.datacatalog.v1.IDeleteTagTemplateFieldRequest): Promise;
+
+ /**
+ * Calls CreateTag.
+ * @param request CreateTagRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and Tag
+ */
+ public createTag(request: google.cloud.datacatalog.v1.ICreateTagRequest, callback: google.cloud.datacatalog.v1.DataCatalog.CreateTagCallback): void;
+
+ /**
+ * Calls CreateTag.
+ * @param request CreateTagRequest message or plain object
+ * @returns Promise
+ */
+ public createTag(request: google.cloud.datacatalog.v1.ICreateTagRequest): Promise;
+
+ /**
+ * Calls UpdateTag.
+ * @param request UpdateTagRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and Tag
+ */
+ public updateTag(request: google.cloud.datacatalog.v1.IUpdateTagRequest, callback: google.cloud.datacatalog.v1.DataCatalog.UpdateTagCallback): void;
+
+ /**
+ * Calls UpdateTag.
+ * @param request UpdateTagRequest message or plain object
+ * @returns Promise
+ */
+ public updateTag(request: google.cloud.datacatalog.v1.IUpdateTagRequest): Promise;
+
+ /**
+ * Calls DeleteTag.
+ * @param request DeleteTagRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and Empty
+ */
+ public deleteTag(request: google.cloud.datacatalog.v1.IDeleteTagRequest, callback: google.cloud.datacatalog.v1.DataCatalog.DeleteTagCallback): void;
+
+ /**
+ * Calls DeleteTag.
+ * @param request DeleteTagRequest message or plain object
+ * @returns Promise
+ */
+ public deleteTag(request: google.cloud.datacatalog.v1.IDeleteTagRequest): Promise;
+
+ /**
+ * Calls ListTags.
+ * @param request ListTagsRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and ListTagsResponse
+ */
+ public listTags(request: google.cloud.datacatalog.v1.IListTagsRequest, callback: google.cloud.datacatalog.v1.DataCatalog.ListTagsCallback): void;
+
+ /**
+ * Calls ListTags.
+ * @param request ListTagsRequest message or plain object
+ * @returns Promise
+ */
+ public listTags(request: google.cloud.datacatalog.v1.IListTagsRequest): Promise;
+
+ /**
+ * Calls StarEntry.
+ * @param request StarEntryRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and StarEntryResponse
+ */
+ public starEntry(request: google.cloud.datacatalog.v1.IStarEntryRequest, callback: google.cloud.datacatalog.v1.DataCatalog.StarEntryCallback): void;
+
+ /**
+ * Calls StarEntry.
+ * @param request StarEntryRequest message or plain object
+ * @returns Promise
+ */
+ public starEntry(request: google.cloud.datacatalog.v1.IStarEntryRequest): Promise;
+
+ /**
+ * Calls UnstarEntry.
+ * @param request UnstarEntryRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and UnstarEntryResponse
+ */
+ public unstarEntry(request: google.cloud.datacatalog.v1.IUnstarEntryRequest, callback: google.cloud.datacatalog.v1.DataCatalog.UnstarEntryCallback): void;
+
+ /**
+ * Calls UnstarEntry.
+ * @param request UnstarEntryRequest message or plain object
+ * @returns Promise
+ */
+ public unstarEntry(request: google.cloud.datacatalog.v1.IUnstarEntryRequest): Promise;
+
+ /**
+ * Calls SetIamPolicy.
+ * @param request SetIamPolicyRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and Policy
+ */
+ public setIamPolicy(request: google.iam.v1.ISetIamPolicyRequest, callback: google.cloud.datacatalog.v1.DataCatalog.SetIamPolicyCallback): void;
+
+ /**
+ * Calls SetIamPolicy.
+ * @param request SetIamPolicyRequest message or plain object
+ * @returns Promise
+ */
+ public setIamPolicy(request: google.iam.v1.ISetIamPolicyRequest): Promise;
+
+ /**
+ * Calls GetIamPolicy.
+ * @param request GetIamPolicyRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and Policy
+ */
+ public getIamPolicy(request: google.iam.v1.IGetIamPolicyRequest, callback: google.cloud.datacatalog.v1.DataCatalog.GetIamPolicyCallback): void;
+
+ /**
+ * Calls GetIamPolicy.
+ * @param request GetIamPolicyRequest message or plain object
+ * @returns Promise
+ */
+ public getIamPolicy(request: google.iam.v1.IGetIamPolicyRequest): Promise;
+
+ /**
+ * Calls TestIamPermissions.
+ * @param request TestIamPermissionsRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and TestIamPermissionsResponse
+ */
+ public testIamPermissions(request: google.iam.v1.ITestIamPermissionsRequest, callback: google.cloud.datacatalog.v1.DataCatalog.TestIamPermissionsCallback): void;
+
+ /**
+ * Calls TestIamPermissions.
+ * @param request TestIamPermissionsRequest message or plain object
+ * @returns Promise
+ */
+ public testIamPermissions(request: google.iam.v1.ITestIamPermissionsRequest): Promise;
+ }
+
+ namespace DataCatalog {
+
+ /**
+ * Callback as used by {@link google.cloud.datacatalog.v1.DataCatalog|searchCatalog}.
+ * @param error Error, if any
+ * @param [response] SearchCatalogResponse
+ */
+ type SearchCatalogCallback = (error: (Error|null), response?: google.cloud.datacatalog.v1.SearchCatalogResponse) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.datacatalog.v1.DataCatalog|createEntryGroup}.
+ * @param error Error, if any
+ * @param [response] EntryGroup
+ */
+ type CreateEntryGroupCallback = (error: (Error|null), response?: google.cloud.datacatalog.v1.EntryGroup) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.datacatalog.v1.DataCatalog|getEntryGroup}.
+ * @param error Error, if any
+ * @param [response] EntryGroup
+ */
+ type GetEntryGroupCallback = (error: (Error|null), response?: google.cloud.datacatalog.v1.EntryGroup) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.datacatalog.v1.DataCatalog|updateEntryGroup}.
+ * @param error Error, if any
+ * @param [response] EntryGroup
+ */
+ type UpdateEntryGroupCallback = (error: (Error|null), response?: google.cloud.datacatalog.v1.EntryGroup) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.datacatalog.v1.DataCatalog|deleteEntryGroup}.
+ * @param error Error, if any
+ * @param [response] Empty
+ */
+ type DeleteEntryGroupCallback = (error: (Error|null), response?: google.protobuf.Empty) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.datacatalog.v1.DataCatalog|listEntryGroups}.
+ * @param error Error, if any
+ * @param [response] ListEntryGroupsResponse
+ */
+ type ListEntryGroupsCallback = (error: (Error|null), response?: google.cloud.datacatalog.v1.ListEntryGroupsResponse) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.datacatalog.v1.DataCatalog|createEntry}.
+ * @param error Error, if any
+ * @param [response] Entry
+ */
+ type CreateEntryCallback = (error: (Error|null), response?: google.cloud.datacatalog.v1.Entry) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.datacatalog.v1.DataCatalog|updateEntry}.
+ * @param error Error, if any
+ * @param [response] Entry
+ */
+ type UpdateEntryCallback = (error: (Error|null), response?: google.cloud.datacatalog.v1.Entry) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.datacatalog.v1.DataCatalog|deleteEntry}.
+ * @param error Error, if any
+ * @param [response] Empty
+ */
+ type DeleteEntryCallback = (error: (Error|null), response?: google.protobuf.Empty) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.datacatalog.v1.DataCatalog|getEntry}.
+ * @param error Error, if any
+ * @param [response] Entry
+ */
+ type GetEntryCallback = (error: (Error|null), response?: google.cloud.datacatalog.v1.Entry) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.datacatalog.v1.DataCatalog|lookupEntry}.
+ * @param error Error, if any
+ * @param [response] Entry
+ */
+ type LookupEntryCallback = (error: (Error|null), response?: google.cloud.datacatalog.v1.Entry) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.datacatalog.v1.DataCatalog|listEntries}.
+ * @param error Error, if any
+ * @param [response] ListEntriesResponse
+ */
+ type ListEntriesCallback = (error: (Error|null), response?: google.cloud.datacatalog.v1.ListEntriesResponse) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.datacatalog.v1.DataCatalog|modifyEntryOverview}.
+ * @param error Error, if any
+ * @param [response] EntryOverview
+ */
+ type ModifyEntryOverviewCallback = (error: (Error|null), response?: google.cloud.datacatalog.v1.EntryOverview) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.datacatalog.v1.DataCatalog|modifyEntryContacts}.
+ * @param error Error, if any
+ * @param [response] Contacts
+ */
+ type ModifyEntryContactsCallback = (error: (Error|null), response?: google.cloud.datacatalog.v1.Contacts) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.datacatalog.v1.DataCatalog|createTagTemplate}.
+ * @param error Error, if any
+ * @param [response] TagTemplate
+ */
+ type CreateTagTemplateCallback = (error: (Error|null), response?: google.cloud.datacatalog.v1.TagTemplate) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.datacatalog.v1.DataCatalog|getTagTemplate}.
+ * @param error Error, if any
+ * @param [response] TagTemplate
+ */
+ type GetTagTemplateCallback = (error: (Error|null), response?: google.cloud.datacatalog.v1.TagTemplate) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.datacatalog.v1.DataCatalog|updateTagTemplate}.
+ * @param error Error, if any
+ * @param [response] TagTemplate
+ */
+ type UpdateTagTemplateCallback = (error: (Error|null), response?: google.cloud.datacatalog.v1.TagTemplate) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.datacatalog.v1.DataCatalog|deleteTagTemplate}.
+ * @param error Error, if any
+ * @param [response] Empty
+ */
+ type DeleteTagTemplateCallback = (error: (Error|null), response?: google.protobuf.Empty) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.datacatalog.v1.DataCatalog|createTagTemplateField}.
+ * @param error Error, if any
+ * @param [response] TagTemplateField
+ */
+ type CreateTagTemplateFieldCallback = (error: (Error|null), response?: google.cloud.datacatalog.v1.TagTemplateField) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.datacatalog.v1.DataCatalog|updateTagTemplateField}.
+ * @param error Error, if any
+ * @param [response] TagTemplateField
+ */
+ type UpdateTagTemplateFieldCallback = (error: (Error|null), response?: google.cloud.datacatalog.v1.TagTemplateField) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.datacatalog.v1.DataCatalog|renameTagTemplateField}.
+ * @param error Error, if any
+ * @param [response] TagTemplateField
+ */
+ type RenameTagTemplateFieldCallback = (error: (Error|null), response?: google.cloud.datacatalog.v1.TagTemplateField) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.datacatalog.v1.DataCatalog|renameTagTemplateFieldEnumValue}.
+ * @param error Error, if any
+ * @param [response] TagTemplateField
+ */
+ type RenameTagTemplateFieldEnumValueCallback = (error: (Error|null), response?: google.cloud.datacatalog.v1.TagTemplateField) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.datacatalog.v1.DataCatalog|deleteTagTemplateField}.
+ * @param error Error, if any
+ * @param [response] Empty
+ */
+ type DeleteTagTemplateFieldCallback = (error: (Error|null), response?: google.protobuf.Empty) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.datacatalog.v1.DataCatalog|createTag}.
+ * @param error Error, if any
+ * @param [response] Tag
+ */
+ type CreateTagCallback = (error: (Error|null), response?: google.cloud.datacatalog.v1.Tag) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.datacatalog.v1.DataCatalog|updateTag}.
+ * @param error Error, if any
+ * @param [response] Tag
+ */
+ type UpdateTagCallback = (error: (Error|null), response?: google.cloud.datacatalog.v1.Tag) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.datacatalog.v1.DataCatalog|deleteTag}.
+ * @param error Error, if any
+ * @param [response] Empty
+ */
+ type DeleteTagCallback = (error: (Error|null), response?: google.protobuf.Empty) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.datacatalog.v1.DataCatalog|listTags}.
+ * @param error Error, if any
+ * @param [response] ListTagsResponse
+ */
+ type ListTagsCallback = (error: (Error|null), response?: google.cloud.datacatalog.v1.ListTagsResponse) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.datacatalog.v1.DataCatalog|starEntry}.
+ * @param error Error, if any
+ * @param [response] StarEntryResponse
+ */
+ type StarEntryCallback = (error: (Error|null), response?: google.cloud.datacatalog.v1.StarEntryResponse) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.datacatalog.v1.DataCatalog|unstarEntry}.
+ * @param error Error, if any
+ * @param [response] UnstarEntryResponse
+ */
+ type UnstarEntryCallback = (error: (Error|null), response?: google.cloud.datacatalog.v1.UnstarEntryResponse) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.datacatalog.v1.DataCatalog|setIamPolicy}.
+ * @param error Error, if any
+ * @param [response] Policy
+ */
+ type SetIamPolicyCallback = (error: (Error|null), response?: google.iam.v1.Policy) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.datacatalog.v1.DataCatalog|getIamPolicy}.
+ * @param error Error, if any
+ * @param [response] Policy
+ */
+ type GetIamPolicyCallback = (error: (Error|null), response?: google.iam.v1.Policy) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.datacatalog.v1.DataCatalog|testIamPermissions}.
+ * @param error Error, if any
+ * @param [response] TestIamPermissionsResponse
+ */
+ type TestIamPermissionsCallback = (error: (Error|null), response?: google.iam.v1.TestIamPermissionsResponse) => void;
+ }
+
+ /** Properties of a SearchCatalogRequest. */
+ interface ISearchCatalogRequest {
+
+ /** SearchCatalogRequest scope */
+ scope?: (google.cloud.datacatalog.v1.SearchCatalogRequest.IScope|null);
+
+ /** SearchCatalogRequest query */
+ query?: (string|null);
+
+ /** SearchCatalogRequest pageSize */
+ pageSize?: (number|null);
+
+ /** SearchCatalogRequest pageToken */
+ pageToken?: (string|null);
+
+ /** SearchCatalogRequest orderBy */
+ orderBy?: (string|null);
+ }
+
+ /** Represents a SearchCatalogRequest. */
+ class SearchCatalogRequest implements ISearchCatalogRequest {
+
+ /**
+ * Constructs a new SearchCatalogRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.datacatalog.v1.ISearchCatalogRequest);
+
+ /** SearchCatalogRequest scope. */
+ public scope?: (google.cloud.datacatalog.v1.SearchCatalogRequest.IScope|null);
+
+ /** SearchCatalogRequest query. */
+ public query: string;
+
+ /** SearchCatalogRequest pageSize. */
+ public pageSize: number;
+
+ /** SearchCatalogRequest pageToken. */
+ public pageToken: string;
+
+ /** SearchCatalogRequest orderBy. */
+ public orderBy: string;
+
+ /**
+ * Creates a new SearchCatalogRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns SearchCatalogRequest instance
+ */
+ public static create(properties?: google.cloud.datacatalog.v1.ISearchCatalogRequest): google.cloud.datacatalog.v1.SearchCatalogRequest;
+
+ /**
+ * Encodes the specified SearchCatalogRequest message. Does not implicitly {@link google.cloud.datacatalog.v1.SearchCatalogRequest.verify|verify} messages.
+ * @param message SearchCatalogRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.datacatalog.v1.ISearchCatalogRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified SearchCatalogRequest message, length delimited. Does not implicitly {@link google.cloud.datacatalog.v1.SearchCatalogRequest.verify|verify} messages.
+ * @param message SearchCatalogRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.datacatalog.v1.ISearchCatalogRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a SearchCatalogRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns SearchCatalogRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.datacatalog.v1.SearchCatalogRequest;
+
+ /**
+ * Decodes a SearchCatalogRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns SearchCatalogRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.datacatalog.v1.SearchCatalogRequest;
+
+ /**
+ * Verifies a SearchCatalogRequest message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a SearchCatalogRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns SearchCatalogRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.datacatalog.v1.SearchCatalogRequest;
+
+ /**
+ * Creates a plain object from a SearchCatalogRequest message. Also converts values to other types if specified.
+ * @param message SearchCatalogRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.datacatalog.v1.SearchCatalogRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this SearchCatalogRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for SearchCatalogRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace SearchCatalogRequest {
+
+ /** Properties of a Scope. */
+ interface IScope {
+
+ /** Scope includeOrgIds */
+ includeOrgIds?: (string[]|null);
+
+ /** Scope includeProjectIds */
+ includeProjectIds?: (string[]|null);
+
+ /** Scope includeGcpPublicDatasets */
+ includeGcpPublicDatasets?: (boolean|null);
+
+ /** Scope restrictedLocations */
+ restrictedLocations?: (string[]|null);
+
+ /** Scope starredOnly */
+ starredOnly?: (boolean|null);
+
+ /** Scope includePublicTagTemplates */
+ includePublicTagTemplates?: (boolean|null);
+ }
+
+ /** Represents a Scope. */
+ class Scope implements IScope {
+
+ /**
+ * Constructs a new Scope.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.datacatalog.v1.SearchCatalogRequest.IScope);
+
+ /** Scope includeOrgIds. */
+ public includeOrgIds: string[];
+
+ /** Scope includeProjectIds. */
+ public includeProjectIds: string[];
+
+ /** Scope includeGcpPublicDatasets. */
+ public includeGcpPublicDatasets: boolean;
+
+ /** Scope restrictedLocations. */
+ public restrictedLocations: string[];
+
+ /** Scope starredOnly. */
+ public starredOnly: boolean;
+
+ /** Scope includePublicTagTemplates. */
+ public includePublicTagTemplates: boolean;
+
+ /**
+ * Creates a new Scope instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns Scope instance
+ */
+ public static create(properties?: google.cloud.datacatalog.v1.SearchCatalogRequest.IScope): google.cloud.datacatalog.v1.SearchCatalogRequest.Scope;
+
+ /**
+ * Encodes the specified Scope message. Does not implicitly {@link google.cloud.datacatalog.v1.SearchCatalogRequest.Scope.verify|verify} messages.
+ * @param message Scope message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.datacatalog.v1.SearchCatalogRequest.IScope, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified Scope message, length delimited. Does not implicitly {@link google.cloud.datacatalog.v1.SearchCatalogRequest.Scope.verify|verify} messages.
+ * @param message Scope message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.datacatalog.v1.SearchCatalogRequest.IScope, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a Scope message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns Scope
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.datacatalog.v1.SearchCatalogRequest.Scope;
+
+ /**
+ * Decodes a Scope message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns Scope
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.datacatalog.v1.SearchCatalogRequest.Scope;
+
+ /**
+ * Verifies a Scope message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a Scope message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns Scope
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.datacatalog.v1.SearchCatalogRequest.Scope;
+
+ /**
+ * Creates a plain object from a Scope message. Also converts values to other types if specified.
+ * @param message Scope
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.datacatalog.v1.SearchCatalogRequest.Scope, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this Scope to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for Scope
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+ }
+
+ /** Properties of a SearchCatalogResponse. */
+ interface ISearchCatalogResponse {
+
+ /** SearchCatalogResponse results */
+ results?: (google.cloud.datacatalog.v1.ISearchCatalogResult[]|null);
+
+ /** SearchCatalogResponse nextPageToken */
+ nextPageToken?: (string|null);
+
+ /** SearchCatalogResponse unreachable */
+ unreachable?: (string[]|null);
+ }
+
+ /** Represents a SearchCatalogResponse. */
+ class SearchCatalogResponse implements ISearchCatalogResponse {
+
+ /**
+ * Constructs a new SearchCatalogResponse.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.datacatalog.v1.ISearchCatalogResponse);
+
+ /** SearchCatalogResponse results. */
+ public results: google.cloud.datacatalog.v1.ISearchCatalogResult[];
+
+ /** SearchCatalogResponse nextPageToken. */
+ public nextPageToken: string;
+
+ /** SearchCatalogResponse unreachable. */
+ public unreachable: string[];
+
+ /**
+ * Creates a new SearchCatalogResponse instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns SearchCatalogResponse instance
+ */
+ public static create(properties?: google.cloud.datacatalog.v1.ISearchCatalogResponse): google.cloud.datacatalog.v1.SearchCatalogResponse;
+
+ /**
+ * Encodes the specified SearchCatalogResponse message. Does not implicitly {@link google.cloud.datacatalog.v1.SearchCatalogResponse.verify|verify} messages.
+ * @param message SearchCatalogResponse message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.datacatalog.v1.ISearchCatalogResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified SearchCatalogResponse message, length delimited. Does not implicitly {@link google.cloud.datacatalog.v1.SearchCatalogResponse.verify|verify} messages.
+ * @param message SearchCatalogResponse message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.datacatalog.v1.ISearchCatalogResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a SearchCatalogResponse message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns SearchCatalogResponse
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.datacatalog.v1.SearchCatalogResponse;
+
+ /**
+ * Decodes a SearchCatalogResponse message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns SearchCatalogResponse
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.datacatalog.v1.SearchCatalogResponse;
+
+ /**
+ * Verifies a SearchCatalogResponse message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a SearchCatalogResponse message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns SearchCatalogResponse
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.datacatalog.v1.SearchCatalogResponse;
+
+ /**
+ * Creates a plain object from a SearchCatalogResponse message. Also converts values to other types if specified.
+ * @param message SearchCatalogResponse
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.datacatalog.v1.SearchCatalogResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this SearchCatalogResponse to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for SearchCatalogResponse
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a CreateEntryGroupRequest. */
+ interface ICreateEntryGroupRequest {
+
+ /** CreateEntryGroupRequest parent */
+ parent?: (string|null);
+
+ /** CreateEntryGroupRequest entryGroupId */
+ entryGroupId?: (string|null);
+
+ /** CreateEntryGroupRequest entryGroup */
+ entryGroup?: (google.cloud.datacatalog.v1.IEntryGroup|null);
+ }
+
+ /** Represents a CreateEntryGroupRequest. */
+ class CreateEntryGroupRequest implements ICreateEntryGroupRequest {
+
+ /**
+ * Constructs a new CreateEntryGroupRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.datacatalog.v1.ICreateEntryGroupRequest);
+
+ /** CreateEntryGroupRequest parent. */
+ public parent: string;
+
+ /** CreateEntryGroupRequest entryGroupId. */
+ public entryGroupId: string;
+
+ /** CreateEntryGroupRequest entryGroup. */
+ public entryGroup?: (google.cloud.datacatalog.v1.IEntryGroup|null);
+
+ /**
+ * Creates a new CreateEntryGroupRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns CreateEntryGroupRequest instance
+ */
+ public static create(properties?: google.cloud.datacatalog.v1.ICreateEntryGroupRequest): google.cloud.datacatalog.v1.CreateEntryGroupRequest;
+
+ /**
+ * Encodes the specified CreateEntryGroupRequest message. Does not implicitly {@link google.cloud.datacatalog.v1.CreateEntryGroupRequest.verify|verify} messages.
+ * @param message CreateEntryGroupRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.datacatalog.v1.ICreateEntryGroupRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified CreateEntryGroupRequest message, length delimited. Does not implicitly {@link google.cloud.datacatalog.v1.CreateEntryGroupRequest.verify|verify} messages.
+ * @param message CreateEntryGroupRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.datacatalog.v1.ICreateEntryGroupRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a CreateEntryGroupRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns CreateEntryGroupRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.datacatalog.v1.CreateEntryGroupRequest;
+
+ /**
+ * Decodes a CreateEntryGroupRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns CreateEntryGroupRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.datacatalog.v1.CreateEntryGroupRequest;
+
+ /**
+ * Verifies a CreateEntryGroupRequest message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a CreateEntryGroupRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns CreateEntryGroupRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.datacatalog.v1.CreateEntryGroupRequest;
+
+ /**
+ * Creates a plain object from a CreateEntryGroupRequest message. Also converts values to other types if specified.
+ * @param message CreateEntryGroupRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.datacatalog.v1.CreateEntryGroupRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this CreateEntryGroupRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for CreateEntryGroupRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of an UpdateEntryGroupRequest. */
+ interface IUpdateEntryGroupRequest {
+
+ /** UpdateEntryGroupRequest entryGroup */
+ entryGroup?: (google.cloud.datacatalog.v1.IEntryGroup|null);
+
+ /** UpdateEntryGroupRequest updateMask */
+ updateMask?: (google.protobuf.IFieldMask|null);
+ }
+
+ /** Represents an UpdateEntryGroupRequest. */
+ class UpdateEntryGroupRequest implements IUpdateEntryGroupRequest {
+
+ /**
+ * Constructs a new UpdateEntryGroupRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.datacatalog.v1.IUpdateEntryGroupRequest);
+
+ /** UpdateEntryGroupRequest entryGroup. */
+ public entryGroup?: (google.cloud.datacatalog.v1.IEntryGroup|null);
+
+ /** UpdateEntryGroupRequest updateMask. */
+ public updateMask?: (google.protobuf.IFieldMask|null);
+
+ /**
+ * Creates a new UpdateEntryGroupRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns UpdateEntryGroupRequest instance
+ */
+ public static create(properties?: google.cloud.datacatalog.v1.IUpdateEntryGroupRequest): google.cloud.datacatalog.v1.UpdateEntryGroupRequest;
+
+ /**
+ * Encodes the specified UpdateEntryGroupRequest message. Does not implicitly {@link google.cloud.datacatalog.v1.UpdateEntryGroupRequest.verify|verify} messages.
+ * @param message UpdateEntryGroupRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.datacatalog.v1.IUpdateEntryGroupRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified UpdateEntryGroupRequest message, length delimited. Does not implicitly {@link google.cloud.datacatalog.v1.UpdateEntryGroupRequest.verify|verify} messages.
+ * @param message UpdateEntryGroupRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.datacatalog.v1.IUpdateEntryGroupRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an UpdateEntryGroupRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns UpdateEntryGroupRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.datacatalog.v1.UpdateEntryGroupRequest;
+
+ /**
+ * Decodes an UpdateEntryGroupRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns UpdateEntryGroupRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.datacatalog.v1.UpdateEntryGroupRequest;
+
+ /**
+ * Verifies an UpdateEntryGroupRequest message.
+ * @param message Plain 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 UpdateEntryGroupRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns UpdateEntryGroupRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.datacatalog.v1.UpdateEntryGroupRequest;
+
+ /**
+ * Creates a plain object from an UpdateEntryGroupRequest message. Also converts values to other types if specified.
+ * @param message UpdateEntryGroupRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.datacatalog.v1.UpdateEntryGroupRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this UpdateEntryGroupRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for UpdateEntryGroupRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a GetEntryGroupRequest. */
+ interface IGetEntryGroupRequest {
+
+ /** GetEntryGroupRequest name */
+ name?: (string|null);
+
+ /** GetEntryGroupRequest readMask */
+ readMask?: (google.protobuf.IFieldMask|null);
+ }
+
+ /** Represents a GetEntryGroupRequest. */
+ class GetEntryGroupRequest implements IGetEntryGroupRequest {
+
+ /**
+ * Constructs a new GetEntryGroupRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.datacatalog.v1.IGetEntryGroupRequest);
+
+ /** GetEntryGroupRequest name. */
+ public name: string;
+
+ /** GetEntryGroupRequest readMask. */
+ public readMask?: (google.protobuf.IFieldMask|null);
+
+ /**
+ * Creates a new GetEntryGroupRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns GetEntryGroupRequest instance
+ */
+ public static create(properties?: google.cloud.datacatalog.v1.IGetEntryGroupRequest): google.cloud.datacatalog.v1.GetEntryGroupRequest;
+
+ /**
+ * Encodes the specified GetEntryGroupRequest message. Does not implicitly {@link google.cloud.datacatalog.v1.GetEntryGroupRequest.verify|verify} messages.
+ * @param message GetEntryGroupRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.datacatalog.v1.IGetEntryGroupRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified GetEntryGroupRequest message, length delimited. Does not implicitly {@link google.cloud.datacatalog.v1.GetEntryGroupRequest.verify|verify} messages.
+ * @param message GetEntryGroupRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.datacatalog.v1.IGetEntryGroupRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a GetEntryGroupRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns GetEntryGroupRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.datacatalog.v1.GetEntryGroupRequest;
+
+ /**
+ * Decodes a GetEntryGroupRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns GetEntryGroupRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.datacatalog.v1.GetEntryGroupRequest;
+
+ /**
+ * Verifies a GetEntryGroupRequest message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a GetEntryGroupRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns GetEntryGroupRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.datacatalog.v1.GetEntryGroupRequest;
+
+ /**
+ * Creates a plain object from a GetEntryGroupRequest message. Also converts values to other types if specified.
+ * @param message GetEntryGroupRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.datacatalog.v1.GetEntryGroupRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this GetEntryGroupRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for GetEntryGroupRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a DeleteEntryGroupRequest. */
+ interface IDeleteEntryGroupRequest {
+
+ /** DeleteEntryGroupRequest name */
+ name?: (string|null);
+
+ /** DeleteEntryGroupRequest force */
+ force?: (boolean|null);
+ }
+
+ /** Represents a DeleteEntryGroupRequest. */
+ class DeleteEntryGroupRequest implements IDeleteEntryGroupRequest {
+
+ /**
+ * Constructs a new DeleteEntryGroupRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.datacatalog.v1.IDeleteEntryGroupRequest);
+
+ /** DeleteEntryGroupRequest name. */
+ public name: string;
+
+ /** DeleteEntryGroupRequest force. */
+ public force: boolean;
+
+ /**
+ * Creates a new DeleteEntryGroupRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns DeleteEntryGroupRequest instance
+ */
+ public static create(properties?: google.cloud.datacatalog.v1.IDeleteEntryGroupRequest): google.cloud.datacatalog.v1.DeleteEntryGroupRequest;
+
+ /**
+ * Encodes the specified DeleteEntryGroupRequest message. Does not implicitly {@link google.cloud.datacatalog.v1.DeleteEntryGroupRequest.verify|verify} messages.
+ * @param message DeleteEntryGroupRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.datacatalog.v1.IDeleteEntryGroupRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified DeleteEntryGroupRequest message, length delimited. Does not implicitly {@link google.cloud.datacatalog.v1.DeleteEntryGroupRequest.verify|verify} messages.
+ * @param message DeleteEntryGroupRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.datacatalog.v1.IDeleteEntryGroupRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a DeleteEntryGroupRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns DeleteEntryGroupRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.datacatalog.v1.DeleteEntryGroupRequest;
+
+ /**
+ * Decodes a DeleteEntryGroupRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns DeleteEntryGroupRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.datacatalog.v1.DeleteEntryGroupRequest;
+
+ /**
+ * Verifies a DeleteEntryGroupRequest message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a DeleteEntryGroupRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns DeleteEntryGroupRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.datacatalog.v1.DeleteEntryGroupRequest;
+
+ /**
+ * Creates a plain object from a DeleteEntryGroupRequest message. Also converts values to other types if specified.
+ * @param message DeleteEntryGroupRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.datacatalog.v1.DeleteEntryGroupRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this DeleteEntryGroupRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for DeleteEntryGroupRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a ListEntryGroupsRequest. */
+ interface IListEntryGroupsRequest {
+
+ /** ListEntryGroupsRequest parent */
+ parent?: (string|null);
+
+ /** ListEntryGroupsRequest pageSize */
+ pageSize?: (number|null);
+
+ /** ListEntryGroupsRequest pageToken */
+ pageToken?: (string|null);
+ }
+
+ /** Represents a ListEntryGroupsRequest. */
+ class ListEntryGroupsRequest implements IListEntryGroupsRequest {
+
+ /**
+ * Constructs a new ListEntryGroupsRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.datacatalog.v1.IListEntryGroupsRequest);
+
+ /** ListEntryGroupsRequest parent. */
+ public parent: string;
+
+ /** ListEntryGroupsRequest pageSize. */
+ public pageSize: number;
+
+ /** ListEntryGroupsRequest pageToken. */
+ public pageToken: string;
+
+ /**
+ * Creates a new ListEntryGroupsRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ListEntryGroupsRequest instance
+ */
+ public static create(properties?: google.cloud.datacatalog.v1.IListEntryGroupsRequest): google.cloud.datacatalog.v1.ListEntryGroupsRequest;
+
+ /**
+ * Encodes the specified ListEntryGroupsRequest message. Does not implicitly {@link google.cloud.datacatalog.v1.ListEntryGroupsRequest.verify|verify} messages.
+ * @param message ListEntryGroupsRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.datacatalog.v1.IListEntryGroupsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ListEntryGroupsRequest message, length delimited. Does not implicitly {@link google.cloud.datacatalog.v1.ListEntryGroupsRequest.verify|verify} messages.
+ * @param message ListEntryGroupsRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.datacatalog.v1.IListEntryGroupsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ListEntryGroupsRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ListEntryGroupsRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.datacatalog.v1.ListEntryGroupsRequest;
+
+ /**
+ * Decodes a ListEntryGroupsRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ListEntryGroupsRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.datacatalog.v1.ListEntryGroupsRequest;
+
+ /**
+ * Verifies a ListEntryGroupsRequest message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a ListEntryGroupsRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ListEntryGroupsRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.datacatalog.v1.ListEntryGroupsRequest;
+
+ /**
+ * Creates a plain object from a ListEntryGroupsRequest message. Also converts values to other types if specified.
+ * @param message ListEntryGroupsRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.datacatalog.v1.ListEntryGroupsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ListEntryGroupsRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ListEntryGroupsRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a ListEntryGroupsResponse. */
+ interface IListEntryGroupsResponse {
+
+ /** ListEntryGroupsResponse entryGroups */
+ entryGroups?: (google.cloud.datacatalog.v1.IEntryGroup[]|null);
+
+ /** ListEntryGroupsResponse nextPageToken */
+ nextPageToken?: (string|null);
+ }
+
+ /** Represents a ListEntryGroupsResponse. */
+ class ListEntryGroupsResponse implements IListEntryGroupsResponse {
+
+ /**
+ * Constructs a new ListEntryGroupsResponse.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.datacatalog.v1.IListEntryGroupsResponse);
+
+ /** ListEntryGroupsResponse entryGroups. */
+ public entryGroups: google.cloud.datacatalog.v1.IEntryGroup[];
+
+ /** ListEntryGroupsResponse nextPageToken. */
+ public nextPageToken: string;
+
+ /**
+ * Creates a new ListEntryGroupsResponse instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ListEntryGroupsResponse instance
+ */
+ public static create(properties?: google.cloud.datacatalog.v1.IListEntryGroupsResponse): google.cloud.datacatalog.v1.ListEntryGroupsResponse;
+
+ /**
+ * Encodes the specified ListEntryGroupsResponse message. Does not implicitly {@link google.cloud.datacatalog.v1.ListEntryGroupsResponse.verify|verify} messages.
+ * @param message ListEntryGroupsResponse message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.datacatalog.v1.IListEntryGroupsResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ListEntryGroupsResponse message, length delimited. Does not implicitly {@link google.cloud.datacatalog.v1.ListEntryGroupsResponse.verify|verify} messages.
+ * @param message ListEntryGroupsResponse message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.datacatalog.v1.IListEntryGroupsResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ListEntryGroupsResponse message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ListEntryGroupsResponse
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.datacatalog.v1.ListEntryGroupsResponse;
+
+ /**
+ * Decodes a ListEntryGroupsResponse message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ListEntryGroupsResponse
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.datacatalog.v1.ListEntryGroupsResponse;
+
+ /**
+ * Verifies a ListEntryGroupsResponse message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a ListEntryGroupsResponse message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ListEntryGroupsResponse
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.datacatalog.v1.ListEntryGroupsResponse;
+
+ /**
+ * Creates a plain object from a ListEntryGroupsResponse message. Also converts values to other types if specified.
+ * @param message ListEntryGroupsResponse
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.datacatalog.v1.ListEntryGroupsResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ListEntryGroupsResponse to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ListEntryGroupsResponse
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a CreateEntryRequest. */
+ interface ICreateEntryRequest {
+
+ /** CreateEntryRequest parent */
+ parent?: (string|null);
+
+ /** CreateEntryRequest entryId */
+ entryId?: (string|null);
+
+ /** CreateEntryRequest entry */
+ entry?: (google.cloud.datacatalog.v1.IEntry|null);
+ }
+
+ /** Represents a CreateEntryRequest. */
+ class CreateEntryRequest implements ICreateEntryRequest {
+
+ /**
+ * Constructs a new CreateEntryRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.datacatalog.v1.ICreateEntryRequest);
+
+ /** CreateEntryRequest parent. */
+ public parent: string;
+
+ /** CreateEntryRequest entryId. */
+ public entryId: string;
+
+ /** CreateEntryRequest entry. */
+ public entry?: (google.cloud.datacatalog.v1.IEntry|null);
+
+ /**
+ * Creates a new CreateEntryRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns CreateEntryRequest instance
+ */
+ public static create(properties?: google.cloud.datacatalog.v1.ICreateEntryRequest): google.cloud.datacatalog.v1.CreateEntryRequest;
+
+ /**
+ * Encodes the specified CreateEntryRequest message. Does not implicitly {@link google.cloud.datacatalog.v1.CreateEntryRequest.verify|verify} messages.
+ * @param message CreateEntryRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.datacatalog.v1.ICreateEntryRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified CreateEntryRequest message, length delimited. Does not implicitly {@link google.cloud.datacatalog.v1.CreateEntryRequest.verify|verify} messages.
+ * @param message CreateEntryRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.datacatalog.v1.ICreateEntryRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a CreateEntryRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns CreateEntryRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.datacatalog.v1.CreateEntryRequest;
+
+ /**
+ * Decodes a CreateEntryRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns CreateEntryRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.datacatalog.v1.CreateEntryRequest;
+
+ /**
+ * Verifies a CreateEntryRequest message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a CreateEntryRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns CreateEntryRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.datacatalog.v1.CreateEntryRequest;
+
+ /**
+ * Creates a plain object from a CreateEntryRequest message. Also converts values to other types if specified.
+ * @param message CreateEntryRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.datacatalog.v1.CreateEntryRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this CreateEntryRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for CreateEntryRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of an UpdateEntryRequest. */
+ interface IUpdateEntryRequest {
+
+ /** UpdateEntryRequest entry */
+ entry?: (google.cloud.datacatalog.v1.IEntry|null);
+
+ /** UpdateEntryRequest updateMask */
+ updateMask?: (google.protobuf.IFieldMask|null);
+ }
+
+ /** Represents an UpdateEntryRequest. */
+ class UpdateEntryRequest implements IUpdateEntryRequest {
+
+ /**
+ * Constructs a new UpdateEntryRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.datacatalog.v1.IUpdateEntryRequest);
+
+ /** UpdateEntryRequest entry. */
+ public entry?: (google.cloud.datacatalog.v1.IEntry|null);
+
+ /** UpdateEntryRequest updateMask. */
+ public updateMask?: (google.protobuf.IFieldMask|null);
+
+ /**
+ * Creates a new UpdateEntryRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns UpdateEntryRequest instance
+ */
+ public static create(properties?: google.cloud.datacatalog.v1.IUpdateEntryRequest): google.cloud.datacatalog.v1.UpdateEntryRequest;
+
+ /**
+ * Encodes the specified UpdateEntryRequest message. Does not implicitly {@link google.cloud.datacatalog.v1.UpdateEntryRequest.verify|verify} messages.
+ * @param message UpdateEntryRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.datacatalog.v1.IUpdateEntryRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified UpdateEntryRequest message, length delimited. Does not implicitly {@link google.cloud.datacatalog.v1.UpdateEntryRequest.verify|verify} messages.
+ * @param message UpdateEntryRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.datacatalog.v1.IUpdateEntryRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an UpdateEntryRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns UpdateEntryRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.datacatalog.v1.UpdateEntryRequest;
+
+ /**
+ * Decodes an UpdateEntryRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns UpdateEntryRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.datacatalog.v1.UpdateEntryRequest;
+
+ /**
+ * Verifies an UpdateEntryRequest message.
+ * @param message Plain 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 UpdateEntryRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns UpdateEntryRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.datacatalog.v1.UpdateEntryRequest;
+
+ /**
+ * Creates a plain object from an UpdateEntryRequest message. Also converts values to other types if specified.
+ * @param message UpdateEntryRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.datacatalog.v1.UpdateEntryRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this UpdateEntryRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for UpdateEntryRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a DeleteEntryRequest. */
+ interface IDeleteEntryRequest {
+
+ /** DeleteEntryRequest name */
+ name?: (string|null);
+ }
+
+ /** Represents a DeleteEntryRequest. */
+ class DeleteEntryRequest implements IDeleteEntryRequest {
+
+ /**
+ * Constructs a new DeleteEntryRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.datacatalog.v1.IDeleteEntryRequest);
+
+ /** DeleteEntryRequest name. */
+ public name: string;
+
+ /**
+ * Creates a new DeleteEntryRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns DeleteEntryRequest instance
+ */
+ public static create(properties?: google.cloud.datacatalog.v1.IDeleteEntryRequest): google.cloud.datacatalog.v1.DeleteEntryRequest;
+
+ /**
+ * Encodes the specified DeleteEntryRequest message. Does not implicitly {@link google.cloud.datacatalog.v1.DeleteEntryRequest.verify|verify} messages.
+ * @param message DeleteEntryRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.datacatalog.v1.IDeleteEntryRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified DeleteEntryRequest message, length delimited. Does not implicitly {@link google.cloud.datacatalog.v1.DeleteEntryRequest.verify|verify} messages.
+ * @param message DeleteEntryRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.datacatalog.v1.IDeleteEntryRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a DeleteEntryRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns DeleteEntryRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.datacatalog.v1.DeleteEntryRequest;
+
+ /**
+ * Decodes a DeleteEntryRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns DeleteEntryRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.datacatalog.v1.DeleteEntryRequest;
+
+ /**
+ * Verifies a DeleteEntryRequest message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a DeleteEntryRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns DeleteEntryRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.datacatalog.v1.DeleteEntryRequest;
+
+ /**
+ * Creates a plain object from a DeleteEntryRequest message. Also converts values to other types if specified.
+ * @param message DeleteEntryRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.datacatalog.v1.DeleteEntryRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this DeleteEntryRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for DeleteEntryRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a GetEntryRequest. */
+ interface IGetEntryRequest {
+
+ /** GetEntryRequest name */
+ name?: (string|null);
+ }
+
+ /** Represents a GetEntryRequest. */
+ class GetEntryRequest implements IGetEntryRequest {
+
+ /**
+ * Constructs a new GetEntryRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.datacatalog.v1.IGetEntryRequest);
+
+ /** GetEntryRequest name. */
+ public name: string;
+
+ /**
+ * Creates a new GetEntryRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns GetEntryRequest instance
+ */
+ public static create(properties?: google.cloud.datacatalog.v1.IGetEntryRequest): google.cloud.datacatalog.v1.GetEntryRequest;
+
+ /**
+ * Encodes the specified GetEntryRequest message. Does not implicitly {@link google.cloud.datacatalog.v1.GetEntryRequest.verify|verify} messages.
+ * @param message GetEntryRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.datacatalog.v1.IGetEntryRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified GetEntryRequest message, length delimited. Does not implicitly {@link google.cloud.datacatalog.v1.GetEntryRequest.verify|verify} messages.
+ * @param message GetEntryRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.datacatalog.v1.IGetEntryRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a GetEntryRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns GetEntryRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.datacatalog.v1.GetEntryRequest;
+
+ /**
+ * Decodes a GetEntryRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns GetEntryRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.datacatalog.v1.GetEntryRequest;
+
+ /**
+ * Verifies a GetEntryRequest message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a GetEntryRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns GetEntryRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.datacatalog.v1.GetEntryRequest;
+
+ /**
+ * Creates a plain object from a GetEntryRequest message. Also converts values to other types if specified.
+ * @param message GetEntryRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.datacatalog.v1.GetEntryRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this GetEntryRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for GetEntryRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a LookupEntryRequest. */
+ interface ILookupEntryRequest {
+
+ /** LookupEntryRequest linkedResource */
+ linkedResource?: (string|null);
+
+ /** LookupEntryRequest sqlResource */
+ sqlResource?: (string|null);
+
+ /** LookupEntryRequest fullyQualifiedName */
+ fullyQualifiedName?: (string|null);
+ }
+
+ /** Represents a LookupEntryRequest. */
+ class LookupEntryRequest implements ILookupEntryRequest {
+
+ /**
+ * Constructs a new LookupEntryRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.datacatalog.v1.ILookupEntryRequest);
+
+ /** LookupEntryRequest linkedResource. */
+ public linkedResource?: (string|null);
+
+ /** LookupEntryRequest sqlResource. */
+ public sqlResource?: (string|null);
+
+ /** LookupEntryRequest fullyQualifiedName. */
+ public fullyQualifiedName?: (string|null);
+
+ /** LookupEntryRequest targetName. */
+ public targetName?: ("linkedResource"|"sqlResource"|"fullyQualifiedName");
+
+ /**
+ * Creates a new LookupEntryRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns LookupEntryRequest instance
+ */
+ public static create(properties?: google.cloud.datacatalog.v1.ILookupEntryRequest): google.cloud.datacatalog.v1.LookupEntryRequest;
+
+ /**
+ * Encodes the specified LookupEntryRequest message. Does not implicitly {@link google.cloud.datacatalog.v1.LookupEntryRequest.verify|verify} messages.
+ * @param message LookupEntryRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.datacatalog.v1.ILookupEntryRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified LookupEntryRequest message, length delimited. Does not implicitly {@link google.cloud.datacatalog.v1.LookupEntryRequest.verify|verify} messages.
+ * @param message LookupEntryRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.datacatalog.v1.ILookupEntryRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a LookupEntryRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns LookupEntryRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.datacatalog.v1.LookupEntryRequest;
+
+ /**
+ * Decodes a LookupEntryRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns LookupEntryRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.datacatalog.v1.LookupEntryRequest;
+
+ /**
+ * Verifies a LookupEntryRequest message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a LookupEntryRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns LookupEntryRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.datacatalog.v1.LookupEntryRequest;
+
+ /**
+ * Creates a plain object from a LookupEntryRequest message. Also converts values to other types if specified.
+ * @param message LookupEntryRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.datacatalog.v1.LookupEntryRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this LookupEntryRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for LookupEntryRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of an Entry. */
+ interface IEntry {
+
+ /** Entry name */
+ name?: (string|null);
+
+ /** Entry linkedResource */
+ linkedResource?: (string|null);
+
+ /** Entry fullyQualifiedName */
+ fullyQualifiedName?: (string|null);
+
+ /** Entry type */
+ type?: (google.cloud.datacatalog.v1.EntryType|keyof typeof google.cloud.datacatalog.v1.EntryType|null);
+
+ /** Entry userSpecifiedType */
+ userSpecifiedType?: (string|null);
+
+ /** Entry integratedSystem */
+ integratedSystem?: (google.cloud.datacatalog.v1.IntegratedSystem|keyof typeof google.cloud.datacatalog.v1.IntegratedSystem|null);
+
+ /** Entry userSpecifiedSystem */
+ userSpecifiedSystem?: (string|null);
+
+ /** Entry gcsFilesetSpec */
+ gcsFilesetSpec?: (google.cloud.datacatalog.v1.IGcsFilesetSpec|null);
+
+ /** Entry bigqueryTableSpec */
+ bigqueryTableSpec?: (google.cloud.datacatalog.v1.IBigQueryTableSpec|null);
+
+ /** Entry bigqueryDateShardedSpec */
+ bigqueryDateShardedSpec?: (google.cloud.datacatalog.v1.IBigQueryDateShardedSpec|null);
+
+ /** Entry databaseTableSpec */
+ databaseTableSpec?: (google.cloud.datacatalog.v1.IDatabaseTableSpec|null);
+
+ /** Entry dataSourceConnectionSpec */
+ dataSourceConnectionSpec?: (google.cloud.datacatalog.v1.IDataSourceConnectionSpec|null);
+
+ /** Entry routineSpec */
+ routineSpec?: (google.cloud.datacatalog.v1.IRoutineSpec|null);
+
+ /** Entry filesetSpec */
+ filesetSpec?: (google.cloud.datacatalog.v1.IFilesetSpec|null);
+
+ /** Entry displayName */
+ displayName?: (string|null);
+
+ /** Entry description */
+ description?: (string|null);
+
+ /** Entry businessContext */
+ businessContext?: (google.cloud.datacatalog.v1.IBusinessContext|null);
+
+ /** Entry schema */
+ schema?: (google.cloud.datacatalog.v1.ISchema|null);
+
+ /** Entry sourceSystemTimestamps */
+ sourceSystemTimestamps?: (google.cloud.datacatalog.v1.ISystemTimestamps|null);
+
+ /** Entry usageSignal */
+ usageSignal?: (google.cloud.datacatalog.v1.IUsageSignal|null);
+
+ /** Entry labels */
+ labels?: ({ [k: string]: string }|null);
+
+ /** Entry dataSource */
+ dataSource?: (google.cloud.datacatalog.v1.IDataSource|null);
+
+ /** Entry personalDetails */
+ personalDetails?: (google.cloud.datacatalog.v1.IPersonalDetails|null);
+ }
+
+ /** Represents an Entry. */
+ class Entry implements IEntry {
+
+ /**
+ * Constructs a new Entry.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.datacatalog.v1.IEntry);
+
+ /** Entry name. */
+ public name: string;
+
+ /** Entry linkedResource. */
+ public linkedResource: string;
+
+ /** Entry fullyQualifiedName. */
+ public fullyQualifiedName: string;
+
+ /** Entry type. */
+ public type?: (google.cloud.datacatalog.v1.EntryType|keyof typeof google.cloud.datacatalog.v1.EntryType|null);
+
+ /** Entry userSpecifiedType. */
+ public userSpecifiedType?: (string|null);
+
+ /** Entry integratedSystem. */
+ public integratedSystem?: (google.cloud.datacatalog.v1.IntegratedSystem|keyof typeof google.cloud.datacatalog.v1.IntegratedSystem|null);
+
+ /** Entry userSpecifiedSystem. */
+ public userSpecifiedSystem?: (string|null);
+
+ /** Entry gcsFilesetSpec. */
+ public gcsFilesetSpec?: (google.cloud.datacatalog.v1.IGcsFilesetSpec|null);
+
+ /** Entry bigqueryTableSpec. */
+ public bigqueryTableSpec?: (google.cloud.datacatalog.v1.IBigQueryTableSpec|null);
+
+ /** Entry bigqueryDateShardedSpec. */
+ public bigqueryDateShardedSpec?: (google.cloud.datacatalog.v1.IBigQueryDateShardedSpec|null);
+
+ /** Entry databaseTableSpec. */
+ public databaseTableSpec?: (google.cloud.datacatalog.v1.IDatabaseTableSpec|null);
+
+ /** Entry dataSourceConnectionSpec. */
+ public dataSourceConnectionSpec?: (google.cloud.datacatalog.v1.IDataSourceConnectionSpec|null);
+
+ /** Entry routineSpec. */
+ public routineSpec?: (google.cloud.datacatalog.v1.IRoutineSpec|null);
+
+ /** Entry filesetSpec. */
+ public filesetSpec?: (google.cloud.datacatalog.v1.IFilesetSpec|null);
+
+ /** Entry displayName. */
+ public displayName: string;
+
+ /** Entry description. */
+ public description: string;
+
+ /** Entry businessContext. */
+ public businessContext?: (google.cloud.datacatalog.v1.IBusinessContext|null);
+
+ /** Entry schema. */
+ public schema?: (google.cloud.datacatalog.v1.ISchema|null);
+
+ /** Entry sourceSystemTimestamps. */
+ public sourceSystemTimestamps?: (google.cloud.datacatalog.v1.ISystemTimestamps|null);
+
+ /** Entry usageSignal. */
+ public usageSignal?: (google.cloud.datacatalog.v1.IUsageSignal|null);
+
+ /** Entry labels. */
+ public labels: { [k: string]: string };
+
+ /** Entry dataSource. */
+ public dataSource?: (google.cloud.datacatalog.v1.IDataSource|null);
+
+ /** Entry personalDetails. */
+ public personalDetails?: (google.cloud.datacatalog.v1.IPersonalDetails|null);
+
+ /** Entry entryType. */
+ public entryType?: ("type"|"userSpecifiedType");
+
+ /** Entry system. */
+ public system?: ("integratedSystem"|"userSpecifiedSystem");
+
+ /** Entry typeSpec. */
+ public typeSpec?: ("gcsFilesetSpec"|"bigqueryTableSpec"|"bigqueryDateShardedSpec");
+
+ /** Entry spec. */
+ public spec?: ("databaseTableSpec"|"dataSourceConnectionSpec"|"routineSpec"|"filesetSpec");
+
+ /**
+ * Creates a new Entry instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns Entry instance
+ */
+ public static create(properties?: google.cloud.datacatalog.v1.IEntry): google.cloud.datacatalog.v1.Entry;
+
+ /**
+ * Encodes the specified Entry message. Does not implicitly {@link google.cloud.datacatalog.v1.Entry.verify|verify} messages.
+ * @param message Entry message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.datacatalog.v1.IEntry, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified Entry message, length delimited. Does not implicitly {@link google.cloud.datacatalog.v1.Entry.verify|verify} messages.
+ * @param message Entry message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.datacatalog.v1.IEntry, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an Entry message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns Entry
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.datacatalog.v1.Entry;
+
+ /**
+ * Decodes an Entry message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns Entry
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.datacatalog.v1.Entry;
+
+ /**
+ * Verifies an Entry message.
+ * @param message Plain 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 Entry message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns Entry
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.datacatalog.v1.Entry;
+
+ /**
+ * Creates a plain object from an Entry message. Also converts values to other types if specified.
+ * @param message Entry
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.datacatalog.v1.Entry, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this Entry to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for Entry
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a DatabaseTableSpec. */
+ interface IDatabaseTableSpec {
+
+ /** DatabaseTableSpec type */
+ type?: (google.cloud.datacatalog.v1.DatabaseTableSpec.TableType|keyof typeof google.cloud.datacatalog.v1.DatabaseTableSpec.TableType|null);
+
+ /** DatabaseTableSpec dataplexTable */
+ dataplexTable?: (google.cloud.datacatalog.v1.IDataplexTableSpec|null);
+ }
+
+ /** Represents a DatabaseTableSpec. */
+ class DatabaseTableSpec implements IDatabaseTableSpec {
+
+ /**
+ * Constructs a new DatabaseTableSpec.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.datacatalog.v1.IDatabaseTableSpec);
+
+ /** DatabaseTableSpec type. */
+ public type: (google.cloud.datacatalog.v1.DatabaseTableSpec.TableType|keyof typeof google.cloud.datacatalog.v1.DatabaseTableSpec.TableType);
+
+ /** DatabaseTableSpec dataplexTable. */
+ public dataplexTable?: (google.cloud.datacatalog.v1.IDataplexTableSpec|null);
+
+ /**
+ * Creates a new DatabaseTableSpec instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns DatabaseTableSpec instance
+ */
+ public static create(properties?: google.cloud.datacatalog.v1.IDatabaseTableSpec): google.cloud.datacatalog.v1.DatabaseTableSpec;
+
+ /**
+ * Encodes the specified DatabaseTableSpec message. Does not implicitly {@link google.cloud.datacatalog.v1.DatabaseTableSpec.verify|verify} messages.
+ * @param message DatabaseTableSpec message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.datacatalog.v1.IDatabaseTableSpec, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified DatabaseTableSpec message, length delimited. Does not implicitly {@link google.cloud.datacatalog.v1.DatabaseTableSpec.verify|verify} messages.
+ * @param message DatabaseTableSpec message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.datacatalog.v1.IDatabaseTableSpec, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a DatabaseTableSpec message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns DatabaseTableSpec
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.datacatalog.v1.DatabaseTableSpec;
+
+ /**
+ * Decodes a DatabaseTableSpec message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns DatabaseTableSpec
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.datacatalog.v1.DatabaseTableSpec;
+
+ /**
+ * Verifies a DatabaseTableSpec message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a DatabaseTableSpec message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns DatabaseTableSpec
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.datacatalog.v1.DatabaseTableSpec;
+
+ /**
+ * Creates a plain object from a DatabaseTableSpec message. Also converts values to other types if specified.
+ * @param message DatabaseTableSpec
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.datacatalog.v1.DatabaseTableSpec, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this DatabaseTableSpec to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for DatabaseTableSpec
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace DatabaseTableSpec {
+
+ /** TableType enum. */
+ enum TableType {
+ TABLE_TYPE_UNSPECIFIED = 0,
+ NATIVE = 1,
+ EXTERNAL = 2
+ }
+ }
+
+ /** Properties of a FilesetSpec. */
+ interface IFilesetSpec {
+
+ /** FilesetSpec dataplexFileset */
+ dataplexFileset?: (google.cloud.datacatalog.v1.IDataplexFilesetSpec|null);
+ }
+
+ /** Represents a FilesetSpec. */
+ class FilesetSpec implements IFilesetSpec {
+
+ /**
+ * Constructs a new FilesetSpec.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.datacatalog.v1.IFilesetSpec);
+
+ /** FilesetSpec dataplexFileset. */
+ public dataplexFileset?: (google.cloud.datacatalog.v1.IDataplexFilesetSpec|null);
+
+ /**
+ * Creates a new FilesetSpec instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns FilesetSpec instance
+ */
+ public static create(properties?: google.cloud.datacatalog.v1.IFilesetSpec): google.cloud.datacatalog.v1.FilesetSpec;
+
+ /**
+ * Encodes the specified FilesetSpec message. Does not implicitly {@link google.cloud.datacatalog.v1.FilesetSpec.verify|verify} messages.
+ * @param message FilesetSpec message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.datacatalog.v1.IFilesetSpec, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified FilesetSpec message, length delimited. Does not implicitly {@link google.cloud.datacatalog.v1.FilesetSpec.verify|verify} messages.
+ * @param message FilesetSpec message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.datacatalog.v1.IFilesetSpec, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a FilesetSpec message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns FilesetSpec
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.datacatalog.v1.FilesetSpec;
+
+ /**
+ * Decodes a FilesetSpec message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns FilesetSpec
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.datacatalog.v1.FilesetSpec;
+
+ /**
+ * Verifies a FilesetSpec message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a FilesetSpec message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns FilesetSpec
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.datacatalog.v1.FilesetSpec;
+
+ /**
+ * Creates a plain object from a FilesetSpec message. Also converts values to other types if specified.
+ * @param message FilesetSpec
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.datacatalog.v1.FilesetSpec, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this FilesetSpec to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for FilesetSpec
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a DataSourceConnectionSpec. */
+ interface IDataSourceConnectionSpec {
+
+ /** DataSourceConnectionSpec bigqueryConnectionSpec */
+ bigqueryConnectionSpec?: (google.cloud.datacatalog.v1.IBigQueryConnectionSpec|null);
+ }
+
+ /** Represents a DataSourceConnectionSpec. */
+ class DataSourceConnectionSpec implements IDataSourceConnectionSpec {
+
+ /**
+ * Constructs a new DataSourceConnectionSpec.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.datacatalog.v1.IDataSourceConnectionSpec);
+
+ /** DataSourceConnectionSpec bigqueryConnectionSpec. */
+ public bigqueryConnectionSpec?: (google.cloud.datacatalog.v1.IBigQueryConnectionSpec|null);
+
+ /**
+ * Creates a new DataSourceConnectionSpec instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns DataSourceConnectionSpec instance
+ */
+ public static create(properties?: google.cloud.datacatalog.v1.IDataSourceConnectionSpec): google.cloud.datacatalog.v1.DataSourceConnectionSpec;
+
+ /**
+ * Encodes the specified DataSourceConnectionSpec message. Does not implicitly {@link google.cloud.datacatalog.v1.DataSourceConnectionSpec.verify|verify} messages.
+ * @param message DataSourceConnectionSpec message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.datacatalog.v1.IDataSourceConnectionSpec, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified DataSourceConnectionSpec message, length delimited. Does not implicitly {@link google.cloud.datacatalog.v1.DataSourceConnectionSpec.verify|verify} messages.
+ * @param message DataSourceConnectionSpec message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.datacatalog.v1.IDataSourceConnectionSpec, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a DataSourceConnectionSpec message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns DataSourceConnectionSpec
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.datacatalog.v1.DataSourceConnectionSpec;
+
+ /**
+ * Decodes a DataSourceConnectionSpec message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns DataSourceConnectionSpec
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.datacatalog.v1.DataSourceConnectionSpec;
+
+ /**
+ * Verifies a DataSourceConnectionSpec message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a DataSourceConnectionSpec message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns DataSourceConnectionSpec
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.datacatalog.v1.DataSourceConnectionSpec;
+
+ /**
+ * Creates a plain object from a DataSourceConnectionSpec message. Also converts values to other types if specified.
+ * @param message DataSourceConnectionSpec
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.datacatalog.v1.DataSourceConnectionSpec, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this DataSourceConnectionSpec to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for DataSourceConnectionSpec
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a RoutineSpec. */
+ interface IRoutineSpec {
+
+ /** RoutineSpec routineType */
+ routineType?: (google.cloud.datacatalog.v1.RoutineSpec.RoutineType|keyof typeof google.cloud.datacatalog.v1.RoutineSpec.RoutineType|null);
+
+ /** RoutineSpec language */
+ language?: (string|null);
+
+ /** RoutineSpec routineArguments */
+ routineArguments?: (google.cloud.datacatalog.v1.RoutineSpec.IArgument[]|null);
+
+ /** RoutineSpec returnType */
+ returnType?: (string|null);
+
+ /** RoutineSpec definitionBody */
+ definitionBody?: (string|null);
+
+ /** RoutineSpec bigqueryRoutineSpec */
+ bigqueryRoutineSpec?: (google.cloud.datacatalog.v1.IBigQueryRoutineSpec|null);
+ }
+
+ /** Represents a RoutineSpec. */
+ class RoutineSpec implements IRoutineSpec {
+
+ /**
+ * Constructs a new RoutineSpec.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.datacatalog.v1.IRoutineSpec);
+
+ /** RoutineSpec routineType. */
+ public routineType: (google.cloud.datacatalog.v1.RoutineSpec.RoutineType|keyof typeof google.cloud.datacatalog.v1.RoutineSpec.RoutineType);
+
+ /** RoutineSpec language. */
+ public language: string;
+
+ /** RoutineSpec routineArguments. */
+ public routineArguments: google.cloud.datacatalog.v1.RoutineSpec.IArgument[];
+
+ /** RoutineSpec returnType. */
+ public returnType: string;
+
+ /** RoutineSpec definitionBody. */
+ public definitionBody: string;
+
+ /** RoutineSpec bigqueryRoutineSpec. */
+ public bigqueryRoutineSpec?: (google.cloud.datacatalog.v1.IBigQueryRoutineSpec|null);
+
+ /** RoutineSpec systemSpec. */
+ public systemSpec?: "bigqueryRoutineSpec";
+
+ /**
+ * Creates a new RoutineSpec instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns RoutineSpec instance
+ */
+ public static create(properties?: google.cloud.datacatalog.v1.IRoutineSpec): google.cloud.datacatalog.v1.RoutineSpec;
+
+ /**
+ * Encodes the specified RoutineSpec message. Does not implicitly {@link google.cloud.datacatalog.v1.RoutineSpec.verify|verify} messages.
+ * @param message RoutineSpec message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.datacatalog.v1.IRoutineSpec, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified RoutineSpec message, length delimited. Does not implicitly {@link google.cloud.datacatalog.v1.RoutineSpec.verify|verify} messages.
+ * @param message RoutineSpec message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.datacatalog.v1.IRoutineSpec, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a RoutineSpec message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns RoutineSpec
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.datacatalog.v1.RoutineSpec;
+
+ /**
+ * Decodes a RoutineSpec message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns RoutineSpec
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.datacatalog.v1.RoutineSpec;
+
+ /**
+ * Verifies a RoutineSpec message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a RoutineSpec message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns RoutineSpec
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.datacatalog.v1.RoutineSpec;
+
+ /**
+ * Creates a plain object from a RoutineSpec message. Also converts values to other types if specified.
+ * @param message RoutineSpec
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.datacatalog.v1.RoutineSpec, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this RoutineSpec to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for RoutineSpec
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace RoutineSpec {
+
+ /** RoutineType enum. */
+ enum RoutineType {
+ ROUTINE_TYPE_UNSPECIFIED = 0,
+ SCALAR_FUNCTION = 1,
+ PROCEDURE = 2
+ }
+
+ /** Properties of an Argument. */
+ interface IArgument {
+
+ /** Argument name */
+ name?: (string|null);
+
+ /** Argument mode */
+ mode?: (google.cloud.datacatalog.v1.RoutineSpec.Argument.Mode|keyof typeof google.cloud.datacatalog.v1.RoutineSpec.Argument.Mode|null);
+
+ /** Argument type */
+ type?: (string|null);
+ }
+
+ /** Represents an Argument. */
+ class Argument implements IArgument {
+
+ /**
+ * Constructs a new Argument.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.datacatalog.v1.RoutineSpec.IArgument);
+
+ /** Argument name. */
+ public name: string;
+
+ /** Argument mode. */
+ public mode: (google.cloud.datacatalog.v1.RoutineSpec.Argument.Mode|keyof typeof google.cloud.datacatalog.v1.RoutineSpec.Argument.Mode);
+
+ /** Argument type. */
+ public type: string;
+
+ /**
+ * Creates a new Argument instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns Argument instance
+ */
+ public static create(properties?: google.cloud.datacatalog.v1.RoutineSpec.IArgument): google.cloud.datacatalog.v1.RoutineSpec.Argument;
+
+ /**
+ * Encodes the specified Argument message. Does not implicitly {@link google.cloud.datacatalog.v1.RoutineSpec.Argument.verify|verify} messages.
+ * @param message Argument message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.datacatalog.v1.RoutineSpec.IArgument, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified Argument message, length delimited. Does not implicitly {@link google.cloud.datacatalog.v1.RoutineSpec.Argument.verify|verify} messages.
+ * @param message Argument message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.datacatalog.v1.RoutineSpec.IArgument, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an Argument message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns Argument
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.datacatalog.v1.RoutineSpec.Argument;
+
+ /**
+ * Decodes an Argument message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns Argument
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.datacatalog.v1.RoutineSpec.Argument;
+
+ /**
+ * Verifies an Argument message.
+ * @param message Plain 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 Argument message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns Argument
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.datacatalog.v1.RoutineSpec.Argument;
+
+ /**
+ * Creates a plain object from an Argument message. Also converts values to other types if specified.
+ * @param message Argument
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.datacatalog.v1.RoutineSpec.Argument, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this Argument to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for Argument
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace Argument {
+
+ /** Mode enum. */
+ enum Mode {
+ MODE_UNSPECIFIED = 0,
+ IN = 1,
+ OUT = 2,
+ INOUT = 3
+ }
+ }
+ }
+
+ /** Properties of a BusinessContext. */
+ interface IBusinessContext {
+
+ /** BusinessContext entryOverview */
+ entryOverview?: (google.cloud.datacatalog.v1.IEntryOverview|null);
+
+ /** BusinessContext contacts */
+ contacts?: (google.cloud.datacatalog.v1.IContacts|null);
+ }
+
+ /** Represents a BusinessContext. */
+ class BusinessContext implements IBusinessContext {
+
+ /**
+ * Constructs a new BusinessContext.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.datacatalog.v1.IBusinessContext);
+
+ /** BusinessContext entryOverview. */
+ public entryOverview?: (google.cloud.datacatalog.v1.IEntryOverview|null);
+
+ /** BusinessContext contacts. */
+ public contacts?: (google.cloud.datacatalog.v1.IContacts|null);
+
+ /**
+ * Creates a new BusinessContext instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns BusinessContext instance
+ */
+ public static create(properties?: google.cloud.datacatalog.v1.IBusinessContext): google.cloud.datacatalog.v1.BusinessContext;
+
+ /**
+ * Encodes the specified BusinessContext message. Does not implicitly {@link google.cloud.datacatalog.v1.BusinessContext.verify|verify} messages.
+ * @param message BusinessContext message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.datacatalog.v1.IBusinessContext, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified BusinessContext message, length delimited. Does not implicitly {@link google.cloud.datacatalog.v1.BusinessContext.verify|verify} messages.
+ * @param message BusinessContext message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.datacatalog.v1.IBusinessContext, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a BusinessContext message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns BusinessContext
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.datacatalog.v1.BusinessContext;
+
+ /**
+ * Decodes a BusinessContext message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns BusinessContext
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.datacatalog.v1.BusinessContext;
+
+ /**
+ * Verifies a BusinessContext message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a BusinessContext message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns BusinessContext
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.datacatalog.v1.BusinessContext;
+
+ /**
+ * Creates a plain object from a BusinessContext message. Also converts values to other types if specified.
+ * @param message BusinessContext
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.datacatalog.v1.BusinessContext, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this BusinessContext to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for BusinessContext
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of an EntryOverview. */
+ interface IEntryOverview {
+
+ /** EntryOverview overview */
+ overview?: (string|null);
+ }
+
+ /** Represents an EntryOverview. */
+ class EntryOverview implements IEntryOverview {
+
+ /**
+ * Constructs a new EntryOverview.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.datacatalog.v1.IEntryOverview);
+
+ /** EntryOverview overview. */
+ public overview: string;
+
+ /**
+ * Creates a new EntryOverview instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns EntryOverview instance
+ */
+ public static create(properties?: google.cloud.datacatalog.v1.IEntryOverview): google.cloud.datacatalog.v1.EntryOverview;
+
+ /**
+ * Encodes the specified EntryOverview message. Does not implicitly {@link google.cloud.datacatalog.v1.EntryOverview.verify|verify} messages.
+ * @param message EntryOverview message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.datacatalog.v1.IEntryOverview, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified EntryOverview message, length delimited. Does not implicitly {@link google.cloud.datacatalog.v1.EntryOverview.verify|verify} messages.
+ * @param message EntryOverview message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.datacatalog.v1.IEntryOverview, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an EntryOverview message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns EntryOverview
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.datacatalog.v1.EntryOverview;
+
+ /**
+ * Decodes an EntryOverview message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns EntryOverview
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.datacatalog.v1.EntryOverview;
+
+ /**
+ * Verifies an EntryOverview message.
+ * @param message Plain 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 EntryOverview message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns EntryOverview
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.datacatalog.v1.EntryOverview;
+
+ /**
+ * Creates a plain object from an EntryOverview message. Also converts values to other types if specified.
+ * @param message EntryOverview
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.datacatalog.v1.EntryOverview, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this EntryOverview to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for EntryOverview
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a Contacts. */
+ interface IContacts {
+
+ /** Contacts people */
+ people?: (google.cloud.datacatalog.v1.Contacts.IPerson[]|null);
+ }
+
+ /** Represents a Contacts. */
+ class Contacts implements IContacts {
+
+ /**
+ * Constructs a new Contacts.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.datacatalog.v1.IContacts);
+
+ /** Contacts people. */
+ public people: google.cloud.datacatalog.v1.Contacts.IPerson[];
+
+ /**
+ * Creates a new Contacts instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns Contacts instance
+ */
+ public static create(properties?: google.cloud.datacatalog.v1.IContacts): google.cloud.datacatalog.v1.Contacts;
+
+ /**
+ * Encodes the specified Contacts message. Does not implicitly {@link google.cloud.datacatalog.v1.Contacts.verify|verify} messages.
+ * @param message Contacts message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.datacatalog.v1.IContacts, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified Contacts message, length delimited. Does not implicitly {@link google.cloud.datacatalog.v1.Contacts.verify|verify} messages.
+ * @param message Contacts message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.datacatalog.v1.IContacts, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a Contacts message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns Contacts
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.datacatalog.v1.Contacts;
+
+ /**
+ * Decodes a Contacts message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns Contacts
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.datacatalog.v1.Contacts;
+
+ /**
+ * Verifies a Contacts message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a Contacts message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns Contacts
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.datacatalog.v1.Contacts;
+
+ /**
+ * Creates a plain object from a Contacts message. Also converts values to other types if specified.
+ * @param message Contacts
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.datacatalog.v1.Contacts, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this Contacts to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for Contacts
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace Contacts {
+
+ /** Properties of a Person. */
+ interface IPerson {
+
+ /** Person designation */
+ designation?: (string|null);
+
+ /** Person email */
+ email?: (string|null);
+ }
+
+ /** Represents a Person. */
+ class Person implements IPerson {
+
+ /**
+ * Constructs a new Person.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.datacatalog.v1.Contacts.IPerson);
+
+ /** Person designation. */
+ public designation: string;
+
+ /** Person email. */
+ public email: string;
+
+ /**
+ * Creates a new Person instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns Person instance
+ */
+ public static create(properties?: google.cloud.datacatalog.v1.Contacts.IPerson): google.cloud.datacatalog.v1.Contacts.Person;
+
+ /**
+ * Encodes the specified Person message. Does not implicitly {@link google.cloud.datacatalog.v1.Contacts.Person.verify|verify} messages.
+ * @param message Person message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.datacatalog.v1.Contacts.IPerson, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified Person message, length delimited. Does not implicitly {@link google.cloud.datacatalog.v1.Contacts.Person.verify|verify} messages.
+ * @param message Person message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.datacatalog.v1.Contacts.IPerson, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a Person message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns Person
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.datacatalog.v1.Contacts.Person;
+
+ /**
+ * Decodes a Person message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns Person
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.datacatalog.v1.Contacts.Person;
+
+ /**
+ * Verifies a Person message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a Person message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns Person
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.datacatalog.v1.Contacts.Person;
+
+ /**
+ * Creates a plain object from a Person message. Also converts values to other types if specified.
+ * @param message Person
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.datacatalog.v1.Contacts.Person, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this Person to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for Person
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+ }
+
+ /** Properties of an EntryGroup. */
+ interface IEntryGroup {
+
+ /** EntryGroup name */
+ name?: (string|null);
+
+ /** EntryGroup displayName */
+ displayName?: (string|null);
+
+ /** EntryGroup description */
+ description?: (string|null);
+
+ /** EntryGroup dataCatalogTimestamps */
+ dataCatalogTimestamps?: (google.cloud.datacatalog.v1.ISystemTimestamps|null);
+ }
+
+ /** Represents an EntryGroup. */
+ class EntryGroup implements IEntryGroup {
+
+ /**
+ * Constructs a new EntryGroup.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.datacatalog.v1.IEntryGroup);
+
+ /** EntryGroup name. */
+ public name: string;
+
+ /** EntryGroup displayName. */
+ public displayName: string;
+
+ /** EntryGroup description. */
+ public description: string;
+
+ /** EntryGroup dataCatalogTimestamps. */
+ public dataCatalogTimestamps?: (google.cloud.datacatalog.v1.ISystemTimestamps|null);
+
+ /**
+ * Creates a new EntryGroup instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns EntryGroup instance
+ */
+ public static create(properties?: google.cloud.datacatalog.v1.IEntryGroup): google.cloud.datacatalog.v1.EntryGroup;
+
+ /**
+ * Encodes the specified EntryGroup message. Does not implicitly {@link google.cloud.datacatalog.v1.EntryGroup.verify|verify} messages.
+ * @param message EntryGroup message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.datacatalog.v1.IEntryGroup, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified EntryGroup message, length delimited. Does not implicitly {@link google.cloud.datacatalog.v1.EntryGroup.verify|verify} messages.
+ * @param message EntryGroup message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.datacatalog.v1.IEntryGroup, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an EntryGroup message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns EntryGroup
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.datacatalog.v1.EntryGroup;
+
+ /**
+ * Decodes an EntryGroup message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns EntryGroup
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.datacatalog.v1.EntryGroup;
+
+ /**
+ * Verifies an EntryGroup message.
+ * @param message Plain 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 EntryGroup message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns EntryGroup
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.datacatalog.v1.EntryGroup;
+
+ /**
+ * Creates a plain object from an EntryGroup message. Also converts values to other types if specified.
+ * @param message EntryGroup
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.datacatalog.v1.EntryGroup, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this EntryGroup to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for EntryGroup
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a CreateTagTemplateRequest. */
+ interface ICreateTagTemplateRequest {
+
+ /** CreateTagTemplateRequest parent */
+ parent?: (string|null);
+
+ /** CreateTagTemplateRequest tagTemplateId */
+ tagTemplateId?: (string|null);
+
+ /** CreateTagTemplateRequest tagTemplate */
+ tagTemplate?: (google.cloud.datacatalog.v1.ITagTemplate|null);
+ }
+
+ /** Represents a CreateTagTemplateRequest. */
+ class CreateTagTemplateRequest implements ICreateTagTemplateRequest {
+
+ /**
+ * Constructs a new CreateTagTemplateRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.datacatalog.v1.ICreateTagTemplateRequest);
+
+ /** CreateTagTemplateRequest parent. */
+ public parent: string;
+
+ /** CreateTagTemplateRequest tagTemplateId. */
+ public tagTemplateId: string;
+
+ /** CreateTagTemplateRequest tagTemplate. */
+ public tagTemplate?: (google.cloud.datacatalog.v1.ITagTemplate|null);
+
+ /**
+ * Creates a new CreateTagTemplateRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns CreateTagTemplateRequest instance
+ */
+ public static create(properties?: google.cloud.datacatalog.v1.ICreateTagTemplateRequest): google.cloud.datacatalog.v1.CreateTagTemplateRequest;
+
+ /**
+ * Encodes the specified CreateTagTemplateRequest message. Does not implicitly {@link google.cloud.datacatalog.v1.CreateTagTemplateRequest.verify|verify} messages.
+ * @param message CreateTagTemplateRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.datacatalog.v1.ICreateTagTemplateRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified CreateTagTemplateRequest message, length delimited. Does not implicitly {@link google.cloud.datacatalog.v1.CreateTagTemplateRequest.verify|verify} messages.
+ * @param message CreateTagTemplateRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.datacatalog.v1.ICreateTagTemplateRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a CreateTagTemplateRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns CreateTagTemplateRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.datacatalog.v1.CreateTagTemplateRequest;
+
+ /**
+ * Decodes a CreateTagTemplateRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns CreateTagTemplateRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.datacatalog.v1.CreateTagTemplateRequest;
+
+ /**
+ * Verifies a CreateTagTemplateRequest message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a CreateTagTemplateRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns CreateTagTemplateRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.datacatalog.v1.CreateTagTemplateRequest;
+
+ /**
+ * Creates a plain object from a CreateTagTemplateRequest message. Also converts values to other types if specified.
+ * @param message CreateTagTemplateRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.datacatalog.v1.CreateTagTemplateRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this CreateTagTemplateRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for CreateTagTemplateRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a GetTagTemplateRequest. */
+ interface IGetTagTemplateRequest {
+
+ /** GetTagTemplateRequest name */
+ name?: (string|null);
+ }
+
+ /** Represents a GetTagTemplateRequest. */
+ class GetTagTemplateRequest implements IGetTagTemplateRequest {
+
+ /**
+ * Constructs a new GetTagTemplateRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.datacatalog.v1.IGetTagTemplateRequest);
+
+ /** GetTagTemplateRequest name. */
+ public name: string;
+
+ /**
+ * Creates a new GetTagTemplateRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns GetTagTemplateRequest instance
+ */
+ public static create(properties?: google.cloud.datacatalog.v1.IGetTagTemplateRequest): google.cloud.datacatalog.v1.GetTagTemplateRequest;
+
+ /**
+ * Encodes the specified GetTagTemplateRequest message. Does not implicitly {@link google.cloud.datacatalog.v1.GetTagTemplateRequest.verify|verify} messages.
+ * @param message GetTagTemplateRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.datacatalog.v1.IGetTagTemplateRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified GetTagTemplateRequest message, length delimited. Does not implicitly {@link google.cloud.datacatalog.v1.GetTagTemplateRequest.verify|verify} messages.
+ * @param message GetTagTemplateRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.datacatalog.v1.IGetTagTemplateRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a GetTagTemplateRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns GetTagTemplateRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.datacatalog.v1.GetTagTemplateRequest;
+
+ /**
+ * Decodes a GetTagTemplateRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns GetTagTemplateRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.datacatalog.v1.GetTagTemplateRequest;
+
+ /**
+ * Verifies a GetTagTemplateRequest message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a GetTagTemplateRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns GetTagTemplateRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.datacatalog.v1.GetTagTemplateRequest;
+
+ /**
+ * Creates a plain object from a GetTagTemplateRequest message. Also converts values to other types if specified.
+ * @param message GetTagTemplateRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.datacatalog.v1.GetTagTemplateRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this GetTagTemplateRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for GetTagTemplateRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of an UpdateTagTemplateRequest. */
+ interface IUpdateTagTemplateRequest {
+
+ /** UpdateTagTemplateRequest tagTemplate */
+ tagTemplate?: (google.cloud.datacatalog.v1.ITagTemplate|null);
+
+ /** UpdateTagTemplateRequest updateMask */
+ updateMask?: (google.protobuf.IFieldMask|null);
+ }
+
+ /** Represents an UpdateTagTemplateRequest. */
+ class UpdateTagTemplateRequest implements IUpdateTagTemplateRequest {
+
+ /**
+ * Constructs a new UpdateTagTemplateRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.datacatalog.v1.IUpdateTagTemplateRequest);
+
+ /** UpdateTagTemplateRequest tagTemplate. */
+ public tagTemplate?: (google.cloud.datacatalog.v1.ITagTemplate|null);
+
+ /** UpdateTagTemplateRequest updateMask. */
+ public updateMask?: (google.protobuf.IFieldMask|null);
+
+ /**
+ * Creates a new UpdateTagTemplateRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns UpdateTagTemplateRequest instance
+ */
+ public static create(properties?: google.cloud.datacatalog.v1.IUpdateTagTemplateRequest): google.cloud.datacatalog.v1.UpdateTagTemplateRequest;
+
+ /**
+ * Encodes the specified UpdateTagTemplateRequest message. Does not implicitly {@link google.cloud.datacatalog.v1.UpdateTagTemplateRequest.verify|verify} messages.
+ * @param message UpdateTagTemplateRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.datacatalog.v1.IUpdateTagTemplateRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified UpdateTagTemplateRequest message, length delimited. Does not implicitly {@link google.cloud.datacatalog.v1.UpdateTagTemplateRequest.verify|verify} messages.
+ * @param message UpdateTagTemplateRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.datacatalog.v1.IUpdateTagTemplateRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an UpdateTagTemplateRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns UpdateTagTemplateRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.datacatalog.v1.UpdateTagTemplateRequest;
+
+ /**
+ * Decodes an UpdateTagTemplateRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns UpdateTagTemplateRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.datacatalog.v1.UpdateTagTemplateRequest;
+
+ /**
+ * Verifies an UpdateTagTemplateRequest message.
+ * @param message Plain 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 UpdateTagTemplateRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns UpdateTagTemplateRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.datacatalog.v1.UpdateTagTemplateRequest;
+
+ /**
+ * Creates a plain object from an UpdateTagTemplateRequest message. Also converts values to other types if specified.
+ * @param message UpdateTagTemplateRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.datacatalog.v1.UpdateTagTemplateRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this UpdateTagTemplateRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for UpdateTagTemplateRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a DeleteTagTemplateRequest. */
+ interface IDeleteTagTemplateRequest {
+
+ /** DeleteTagTemplateRequest name */
+ name?: (string|null);
+
+ /** DeleteTagTemplateRequest force */
+ force?: (boolean|null);
+ }
+
+ /** Represents a DeleteTagTemplateRequest. */
+ class DeleteTagTemplateRequest implements IDeleteTagTemplateRequest {
+
+ /**
+ * Constructs a new DeleteTagTemplateRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.datacatalog.v1.IDeleteTagTemplateRequest);
+
+ /** DeleteTagTemplateRequest name. */
+ public name: string;
+
+ /** DeleteTagTemplateRequest force. */
+ public force: boolean;
+
+ /**
+ * Creates a new DeleteTagTemplateRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns DeleteTagTemplateRequest instance
+ */
+ public static create(properties?: google.cloud.datacatalog.v1.IDeleteTagTemplateRequest): google.cloud.datacatalog.v1.DeleteTagTemplateRequest;
+
+ /**
+ * Encodes the specified DeleteTagTemplateRequest message. Does not implicitly {@link google.cloud.datacatalog.v1.DeleteTagTemplateRequest.verify|verify} messages.
+ * @param message DeleteTagTemplateRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.datacatalog.v1.IDeleteTagTemplateRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified DeleteTagTemplateRequest message, length delimited. Does not implicitly {@link google.cloud.datacatalog.v1.DeleteTagTemplateRequest.verify|verify} messages.
+ * @param message DeleteTagTemplateRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.datacatalog.v1.IDeleteTagTemplateRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a DeleteTagTemplateRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns DeleteTagTemplateRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.datacatalog.v1.DeleteTagTemplateRequest;
+
+ /**
+ * Decodes a DeleteTagTemplateRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns DeleteTagTemplateRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.datacatalog.v1.DeleteTagTemplateRequest;
+
+ /**
+ * Verifies a DeleteTagTemplateRequest message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a DeleteTagTemplateRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns DeleteTagTemplateRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.datacatalog.v1.DeleteTagTemplateRequest;
+
+ /**
+ * Creates a plain object from a DeleteTagTemplateRequest message. Also converts values to other types if specified.
+ * @param message DeleteTagTemplateRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.datacatalog.v1.DeleteTagTemplateRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this DeleteTagTemplateRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for DeleteTagTemplateRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a CreateTagRequest. */
+ interface ICreateTagRequest {
+
+ /** CreateTagRequest parent */
+ parent?: (string|null);
+
+ /** CreateTagRequest tag */
+ tag?: (google.cloud.datacatalog.v1.ITag|null);
+ }
+
+ /** Represents a CreateTagRequest. */
+ class CreateTagRequest implements ICreateTagRequest {
+
+ /**
+ * Constructs a new CreateTagRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.datacatalog.v1.ICreateTagRequest);
+
+ /** CreateTagRequest parent. */
+ public parent: string;
+
+ /** CreateTagRequest tag. */
+ public tag?: (google.cloud.datacatalog.v1.ITag|null);
+
+ /**
+ * Creates a new CreateTagRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns CreateTagRequest instance
+ */
+ public static create(properties?: google.cloud.datacatalog.v1.ICreateTagRequest): google.cloud.datacatalog.v1.CreateTagRequest;
+
+ /**
+ * Encodes the specified CreateTagRequest message. Does not implicitly {@link google.cloud.datacatalog.v1.CreateTagRequest.verify|verify} messages.
+ * @param message CreateTagRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.datacatalog.v1.ICreateTagRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified CreateTagRequest message, length delimited. Does not implicitly {@link google.cloud.datacatalog.v1.CreateTagRequest.verify|verify} messages.
+ * @param message CreateTagRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.datacatalog.v1.ICreateTagRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a CreateTagRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns CreateTagRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.datacatalog.v1.CreateTagRequest;
+
+ /**
+ * Decodes a CreateTagRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns CreateTagRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.datacatalog.v1.CreateTagRequest;
+
+ /**
+ * Verifies a CreateTagRequest message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a CreateTagRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns CreateTagRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.datacatalog.v1.CreateTagRequest;
+
+ /**
+ * Creates a plain object from a CreateTagRequest message. Also converts values to other types if specified.
+ * @param message CreateTagRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.datacatalog.v1.CreateTagRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this CreateTagRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for CreateTagRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of an UpdateTagRequest. */
+ interface IUpdateTagRequest {
+
+ /** UpdateTagRequest tag */
+ tag?: (google.cloud.datacatalog.v1.ITag|null);
+
+ /** UpdateTagRequest updateMask */
+ updateMask?: (google.protobuf.IFieldMask|null);
+ }
+
+ /** Represents an UpdateTagRequest. */
+ class UpdateTagRequest implements IUpdateTagRequest {
+
+ /**
+ * Constructs a new UpdateTagRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.datacatalog.v1.IUpdateTagRequest);
+
+ /** UpdateTagRequest tag. */
+ public tag?: (google.cloud.datacatalog.v1.ITag|null);
+
+ /** UpdateTagRequest updateMask. */
+ public updateMask?: (google.protobuf.IFieldMask|null);
+
+ /**
+ * Creates a new UpdateTagRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns UpdateTagRequest instance
+ */
+ public static create(properties?: google.cloud.datacatalog.v1.IUpdateTagRequest): google.cloud.datacatalog.v1.UpdateTagRequest;
+
+ /**
+ * Encodes the specified UpdateTagRequest message. Does not implicitly {@link google.cloud.datacatalog.v1.UpdateTagRequest.verify|verify} messages.
+ * @param message UpdateTagRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.datacatalog.v1.IUpdateTagRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified UpdateTagRequest message, length delimited. Does not implicitly {@link google.cloud.datacatalog.v1.UpdateTagRequest.verify|verify} messages.
+ * @param message UpdateTagRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.datacatalog.v1.IUpdateTagRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an UpdateTagRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns UpdateTagRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.datacatalog.v1.UpdateTagRequest;
+
+ /**
+ * Decodes an UpdateTagRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns UpdateTagRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.datacatalog.v1.UpdateTagRequest;
+
+ /**
+ * Verifies an UpdateTagRequest message.
+ * @param message Plain 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 UpdateTagRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns UpdateTagRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.datacatalog.v1.UpdateTagRequest;
+
+ /**
+ * Creates a plain object from an UpdateTagRequest message. Also converts values to other types if specified.
+ * @param message UpdateTagRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.datacatalog.v1.UpdateTagRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this UpdateTagRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for UpdateTagRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a DeleteTagRequest. */
+ interface IDeleteTagRequest {
+
+ /** DeleteTagRequest name */
+ name?: (string|null);
+ }
+
+ /** Represents a DeleteTagRequest. */
+ class DeleteTagRequest implements IDeleteTagRequest {
+
+ /**
+ * Constructs a new DeleteTagRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.datacatalog.v1.IDeleteTagRequest);
+
+ /** DeleteTagRequest name. */
+ public name: string;
+
+ /**
+ * Creates a new DeleteTagRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns DeleteTagRequest instance
+ */
+ public static create(properties?: google.cloud.datacatalog.v1.IDeleteTagRequest): google.cloud.datacatalog.v1.DeleteTagRequest;
+
+ /**
+ * Encodes the specified DeleteTagRequest message. Does not implicitly {@link google.cloud.datacatalog.v1.DeleteTagRequest.verify|verify} messages.
+ * @param message DeleteTagRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.datacatalog.v1.IDeleteTagRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified DeleteTagRequest message, length delimited. Does not implicitly {@link google.cloud.datacatalog.v1.DeleteTagRequest.verify|verify} messages.
+ * @param message DeleteTagRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.datacatalog.v1.IDeleteTagRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a DeleteTagRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns DeleteTagRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.datacatalog.v1.DeleteTagRequest;
+
+ /**
+ * Decodes a DeleteTagRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns DeleteTagRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.datacatalog.v1.DeleteTagRequest;
+
+ /**
+ * Verifies a DeleteTagRequest message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a DeleteTagRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns DeleteTagRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.datacatalog.v1.DeleteTagRequest;
+
+ /**
+ * Creates a plain object from a DeleteTagRequest message. Also converts values to other types if specified.
+ * @param message DeleteTagRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.datacatalog.v1.DeleteTagRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this DeleteTagRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for DeleteTagRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a CreateTagTemplateFieldRequest. */
+ interface ICreateTagTemplateFieldRequest {
+
+ /** CreateTagTemplateFieldRequest parent */
+ parent?: (string|null);
+
+ /** CreateTagTemplateFieldRequest tagTemplateFieldId */
+ tagTemplateFieldId?: (string|null);
+
+ /** CreateTagTemplateFieldRequest tagTemplateField */
+ tagTemplateField?: (google.cloud.datacatalog.v1.ITagTemplateField|null);
+ }
+
+ /** Represents a CreateTagTemplateFieldRequest. */
+ class CreateTagTemplateFieldRequest implements ICreateTagTemplateFieldRequest {
+
+ /**
+ * Constructs a new CreateTagTemplateFieldRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.datacatalog.v1.ICreateTagTemplateFieldRequest);
+
+ /** CreateTagTemplateFieldRequest parent. */
+ public parent: string;
+
+ /** CreateTagTemplateFieldRequest tagTemplateFieldId. */
+ public tagTemplateFieldId: string;
+
+ /** CreateTagTemplateFieldRequest tagTemplateField. */
+ public tagTemplateField?: (google.cloud.datacatalog.v1.ITagTemplateField|null);
+
+ /**
+ * Creates a new CreateTagTemplateFieldRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns CreateTagTemplateFieldRequest instance
+ */
+ public static create(properties?: google.cloud.datacatalog.v1.ICreateTagTemplateFieldRequest): google.cloud.datacatalog.v1.CreateTagTemplateFieldRequest;
+
+ /**
+ * Encodes the specified CreateTagTemplateFieldRequest message. Does not implicitly {@link google.cloud.datacatalog.v1.CreateTagTemplateFieldRequest.verify|verify} messages.
+ * @param message CreateTagTemplateFieldRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.datacatalog.v1.ICreateTagTemplateFieldRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified CreateTagTemplateFieldRequest message, length delimited. Does not implicitly {@link google.cloud.datacatalog.v1.CreateTagTemplateFieldRequest.verify|verify} messages.
+ * @param message CreateTagTemplateFieldRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.datacatalog.v1.ICreateTagTemplateFieldRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a CreateTagTemplateFieldRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns CreateTagTemplateFieldRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.datacatalog.v1.CreateTagTemplateFieldRequest;
+
+ /**
+ * Decodes a CreateTagTemplateFieldRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns CreateTagTemplateFieldRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.datacatalog.v1.CreateTagTemplateFieldRequest;
+
+ /**
+ * Verifies a CreateTagTemplateFieldRequest message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a CreateTagTemplateFieldRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns CreateTagTemplateFieldRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.datacatalog.v1.CreateTagTemplateFieldRequest;
+
+ /**
+ * Creates a plain object from a CreateTagTemplateFieldRequest message. Also converts values to other types if specified.
+ * @param message CreateTagTemplateFieldRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.datacatalog.v1.CreateTagTemplateFieldRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this CreateTagTemplateFieldRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for CreateTagTemplateFieldRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of an UpdateTagTemplateFieldRequest. */
+ interface IUpdateTagTemplateFieldRequest {
+
+ /** UpdateTagTemplateFieldRequest name */
+ name?: (string|null);
+
+ /** UpdateTagTemplateFieldRequest tagTemplateField */
+ tagTemplateField?: (google.cloud.datacatalog.v1.ITagTemplateField|null);
+
+ /** UpdateTagTemplateFieldRequest updateMask */
+ updateMask?: (google.protobuf.IFieldMask|null);
+ }
+
+ /** Represents an UpdateTagTemplateFieldRequest. */
+ class UpdateTagTemplateFieldRequest implements IUpdateTagTemplateFieldRequest {
+
+ /**
+ * Constructs a new UpdateTagTemplateFieldRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.datacatalog.v1.IUpdateTagTemplateFieldRequest);
+
+ /** UpdateTagTemplateFieldRequest name. */
+ public name: string;
+
+ /** UpdateTagTemplateFieldRequest tagTemplateField. */
+ public tagTemplateField?: (google.cloud.datacatalog.v1.ITagTemplateField|null);
+
+ /** UpdateTagTemplateFieldRequest updateMask. */
+ public updateMask?: (google.protobuf.IFieldMask|null);
+
+ /**
+ * Creates a new UpdateTagTemplateFieldRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns UpdateTagTemplateFieldRequest instance
+ */
+ public static create(properties?: google.cloud.datacatalog.v1.IUpdateTagTemplateFieldRequest): google.cloud.datacatalog.v1.UpdateTagTemplateFieldRequest;
+
+ /**
+ * Encodes the specified UpdateTagTemplateFieldRequest message. Does not implicitly {@link google.cloud.datacatalog.v1.UpdateTagTemplateFieldRequest.verify|verify} messages.
+ * @param message UpdateTagTemplateFieldRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.datacatalog.v1.IUpdateTagTemplateFieldRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified UpdateTagTemplateFieldRequest message, length delimited. Does not implicitly {@link google.cloud.datacatalog.v1.UpdateTagTemplateFieldRequest.verify|verify} messages.
+ * @param message UpdateTagTemplateFieldRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.datacatalog.v1.IUpdateTagTemplateFieldRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an UpdateTagTemplateFieldRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns UpdateTagTemplateFieldRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.datacatalog.v1.UpdateTagTemplateFieldRequest;
+
+ /**
+ * Decodes an UpdateTagTemplateFieldRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns UpdateTagTemplateFieldRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.datacatalog.v1.UpdateTagTemplateFieldRequest;
+
+ /**
+ * Verifies an UpdateTagTemplateFieldRequest message.
+ * @param message Plain 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 UpdateTagTemplateFieldRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns UpdateTagTemplateFieldRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.datacatalog.v1.UpdateTagTemplateFieldRequest;
+
+ /**
+ * Creates a plain object from an UpdateTagTemplateFieldRequest message. Also converts values to other types if specified.
+ * @param message UpdateTagTemplateFieldRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.datacatalog.v1.UpdateTagTemplateFieldRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this UpdateTagTemplateFieldRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for UpdateTagTemplateFieldRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a RenameTagTemplateFieldRequest. */
+ interface IRenameTagTemplateFieldRequest {
+
+ /** RenameTagTemplateFieldRequest name */
+ name?: (string|null);
+
+ /** RenameTagTemplateFieldRequest newTagTemplateFieldId */
+ newTagTemplateFieldId?: (string|null);
+ }
+
+ /** Represents a RenameTagTemplateFieldRequest. */
+ class RenameTagTemplateFieldRequest implements IRenameTagTemplateFieldRequest {
+
+ /**
+ * Constructs a new RenameTagTemplateFieldRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.datacatalog.v1.IRenameTagTemplateFieldRequest);
+
+ /** RenameTagTemplateFieldRequest name. */
+ public name: string;
+
+ /** RenameTagTemplateFieldRequest newTagTemplateFieldId. */
+ public newTagTemplateFieldId: string;
+
+ /**
+ * Creates a new RenameTagTemplateFieldRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns RenameTagTemplateFieldRequest instance
+ */
+ public static create(properties?: google.cloud.datacatalog.v1.IRenameTagTemplateFieldRequest): google.cloud.datacatalog.v1.RenameTagTemplateFieldRequest;
+
+ /**
+ * Encodes the specified RenameTagTemplateFieldRequest message. Does not implicitly {@link google.cloud.datacatalog.v1.RenameTagTemplateFieldRequest.verify|verify} messages.
+ * @param message RenameTagTemplateFieldRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.datacatalog.v1.IRenameTagTemplateFieldRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified RenameTagTemplateFieldRequest message, length delimited. Does not implicitly {@link google.cloud.datacatalog.v1.RenameTagTemplateFieldRequest.verify|verify} messages.
+ * @param message RenameTagTemplateFieldRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.datacatalog.v1.IRenameTagTemplateFieldRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a RenameTagTemplateFieldRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns RenameTagTemplateFieldRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.datacatalog.v1.RenameTagTemplateFieldRequest;
+
+ /**
+ * Decodes a RenameTagTemplateFieldRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns RenameTagTemplateFieldRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.datacatalog.v1.RenameTagTemplateFieldRequest;
+
+ /**
+ * Verifies a RenameTagTemplateFieldRequest message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a RenameTagTemplateFieldRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns RenameTagTemplateFieldRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.datacatalog.v1.RenameTagTemplateFieldRequest;
+
+ /**
+ * Creates a plain object from a RenameTagTemplateFieldRequest message. Also converts values to other types if specified.
+ * @param message RenameTagTemplateFieldRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.datacatalog.v1.RenameTagTemplateFieldRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this RenameTagTemplateFieldRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for RenameTagTemplateFieldRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a RenameTagTemplateFieldEnumValueRequest. */
+ interface IRenameTagTemplateFieldEnumValueRequest {
+
+ /** RenameTagTemplateFieldEnumValueRequest name */
+ name?: (string|null);
+
+ /** RenameTagTemplateFieldEnumValueRequest newEnumValueDisplayName */
+ newEnumValueDisplayName?: (string|null);
+ }
+
+ /** Represents a RenameTagTemplateFieldEnumValueRequest. */
+ class RenameTagTemplateFieldEnumValueRequest implements IRenameTagTemplateFieldEnumValueRequest {
+
+ /**
+ * Constructs a new RenameTagTemplateFieldEnumValueRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.datacatalog.v1.IRenameTagTemplateFieldEnumValueRequest);
+
+ /** RenameTagTemplateFieldEnumValueRequest name. */
+ public name: string;
+
+ /** RenameTagTemplateFieldEnumValueRequest newEnumValueDisplayName. */
+ public newEnumValueDisplayName: string;
+
+ /**
+ * Creates a new RenameTagTemplateFieldEnumValueRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns RenameTagTemplateFieldEnumValueRequest instance
+ */
+ public static create(properties?: google.cloud.datacatalog.v1.IRenameTagTemplateFieldEnumValueRequest): google.cloud.datacatalog.v1.RenameTagTemplateFieldEnumValueRequest;
+
+ /**
+ * Encodes the specified RenameTagTemplateFieldEnumValueRequest message. Does not implicitly {@link google.cloud.datacatalog.v1.RenameTagTemplateFieldEnumValueRequest.verify|verify} messages.
+ * @param message RenameTagTemplateFieldEnumValueRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.datacatalog.v1.IRenameTagTemplateFieldEnumValueRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified RenameTagTemplateFieldEnumValueRequest message, length delimited. Does not implicitly {@link google.cloud.datacatalog.v1.RenameTagTemplateFieldEnumValueRequest.verify|verify} messages.
+ * @param message RenameTagTemplateFieldEnumValueRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.datacatalog.v1.IRenameTagTemplateFieldEnumValueRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a RenameTagTemplateFieldEnumValueRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns RenameTagTemplateFieldEnumValueRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.datacatalog.v1.RenameTagTemplateFieldEnumValueRequest;
+
+ /**
+ * Decodes a RenameTagTemplateFieldEnumValueRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns RenameTagTemplateFieldEnumValueRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.datacatalog.v1.RenameTagTemplateFieldEnumValueRequest;
+
+ /**
+ * Verifies a RenameTagTemplateFieldEnumValueRequest message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a RenameTagTemplateFieldEnumValueRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns RenameTagTemplateFieldEnumValueRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.datacatalog.v1.RenameTagTemplateFieldEnumValueRequest;
+
+ /**
+ * Creates a plain object from a RenameTagTemplateFieldEnumValueRequest message. Also converts values to other types if specified.
+ * @param message RenameTagTemplateFieldEnumValueRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.datacatalog.v1.RenameTagTemplateFieldEnumValueRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this RenameTagTemplateFieldEnumValueRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for RenameTagTemplateFieldEnumValueRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a DeleteTagTemplateFieldRequest. */
+ interface IDeleteTagTemplateFieldRequest {
+
+ /** DeleteTagTemplateFieldRequest name */
+ name?: (string|null);
+
+ /** DeleteTagTemplateFieldRequest force */
+ force?: (boolean|null);
+ }
+
+ /** Represents a DeleteTagTemplateFieldRequest. */
+ class DeleteTagTemplateFieldRequest implements IDeleteTagTemplateFieldRequest {
+
+ /**
+ * Constructs a new DeleteTagTemplateFieldRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.datacatalog.v1.IDeleteTagTemplateFieldRequest);
+
+ /** DeleteTagTemplateFieldRequest name. */
+ public name: string;
+
+ /** DeleteTagTemplateFieldRequest force. */
+ public force: boolean;
+
+ /**
+ * Creates a new DeleteTagTemplateFieldRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns DeleteTagTemplateFieldRequest instance
+ */
+ public static create(properties?: google.cloud.datacatalog.v1.IDeleteTagTemplateFieldRequest): google.cloud.datacatalog.v1.DeleteTagTemplateFieldRequest;
+
+ /**
+ * Encodes the specified DeleteTagTemplateFieldRequest message. Does not implicitly {@link google.cloud.datacatalog.v1.DeleteTagTemplateFieldRequest.verify|verify} messages.
+ * @param message DeleteTagTemplateFieldRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.datacatalog.v1.IDeleteTagTemplateFieldRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified DeleteTagTemplateFieldRequest message, length delimited. Does not implicitly {@link google.cloud.datacatalog.v1.DeleteTagTemplateFieldRequest.verify|verify} messages.
+ * @param message DeleteTagTemplateFieldRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.datacatalog.v1.IDeleteTagTemplateFieldRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a DeleteTagTemplateFieldRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns DeleteTagTemplateFieldRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.datacatalog.v1.DeleteTagTemplateFieldRequest;
+
+ /**
+ * Decodes a DeleteTagTemplateFieldRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns DeleteTagTemplateFieldRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.datacatalog.v1.DeleteTagTemplateFieldRequest;
+
+ /**
+ * Verifies a DeleteTagTemplateFieldRequest message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a DeleteTagTemplateFieldRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns DeleteTagTemplateFieldRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.datacatalog.v1.DeleteTagTemplateFieldRequest;
+
+ /**
+ * Creates a plain object from a DeleteTagTemplateFieldRequest message. Also converts values to other types if specified.
+ * @param message DeleteTagTemplateFieldRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.datacatalog.v1.DeleteTagTemplateFieldRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this DeleteTagTemplateFieldRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for DeleteTagTemplateFieldRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a ListTagsRequest. */
+ interface IListTagsRequest {
+
+ /** ListTagsRequest parent */
+ parent?: (string|null);
+
+ /** ListTagsRequest pageSize */
+ pageSize?: (number|null);
+
+ /** ListTagsRequest pageToken */
+ pageToken?: (string|null);
+ }
+
+ /** Represents a ListTagsRequest. */
+ class ListTagsRequest implements IListTagsRequest {
+
+ /**
+ * Constructs a new ListTagsRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.datacatalog.v1.IListTagsRequest);
+
+ /** ListTagsRequest parent. */
+ public parent: string;
+
+ /** ListTagsRequest pageSize. */
+ public pageSize: number;
+
+ /** ListTagsRequest pageToken. */
+ public pageToken: string;
+
+ /**
+ * Creates a new ListTagsRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ListTagsRequest instance
+ */
+ public static create(properties?: google.cloud.datacatalog.v1.IListTagsRequest): google.cloud.datacatalog.v1.ListTagsRequest;
+
+ /**
+ * Encodes the specified ListTagsRequest message. Does not implicitly {@link google.cloud.datacatalog.v1.ListTagsRequest.verify|verify} messages.
+ * @param message ListTagsRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.datacatalog.v1.IListTagsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ListTagsRequest message, length delimited. Does not implicitly {@link google.cloud.datacatalog.v1.ListTagsRequest.verify|verify} messages.
+ * @param message ListTagsRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.datacatalog.v1.IListTagsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ListTagsRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ListTagsRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.datacatalog.v1.ListTagsRequest;
+
+ /**
+ * Decodes a ListTagsRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ListTagsRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.datacatalog.v1.ListTagsRequest;
+
+ /**
+ * Verifies a ListTagsRequest message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a ListTagsRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ListTagsRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.datacatalog.v1.ListTagsRequest;
+
+ /**
+ * Creates a plain object from a ListTagsRequest message. Also converts values to other types if specified.
+ * @param message ListTagsRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.datacatalog.v1.ListTagsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ListTagsRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ListTagsRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a ListTagsResponse. */
+ interface IListTagsResponse {
+
+ /** ListTagsResponse tags */
+ tags?: (google.cloud.datacatalog.v1.ITag[]|null);
+
+ /** ListTagsResponse nextPageToken */
+ nextPageToken?: (string|null);
+ }
+
+ /** Represents a ListTagsResponse. */
+ class ListTagsResponse implements IListTagsResponse {
+
+ /**
+ * Constructs a new ListTagsResponse.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.datacatalog.v1.IListTagsResponse);
+
+ /** ListTagsResponse tags. */
+ public tags: google.cloud.datacatalog.v1.ITag[];
+
+ /** ListTagsResponse nextPageToken. */
+ public nextPageToken: string;
+
+ /**
+ * Creates a new ListTagsResponse instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ListTagsResponse instance
+ */
+ public static create(properties?: google.cloud.datacatalog.v1.IListTagsResponse): google.cloud.datacatalog.v1.ListTagsResponse;
+
+ /**
+ * Encodes the specified ListTagsResponse message. Does not implicitly {@link google.cloud.datacatalog.v1.ListTagsResponse.verify|verify} messages.
+ * @param message ListTagsResponse message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.datacatalog.v1.IListTagsResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ListTagsResponse message, length delimited. Does not implicitly {@link google.cloud.datacatalog.v1.ListTagsResponse.verify|verify} messages.
+ * @param message ListTagsResponse message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.datacatalog.v1.IListTagsResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ListTagsResponse message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ListTagsResponse
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.datacatalog.v1.ListTagsResponse;
+
+ /**
+ * Decodes a ListTagsResponse message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ListTagsResponse
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.datacatalog.v1.ListTagsResponse;
+
+ /**
+ * Verifies a ListTagsResponse message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a ListTagsResponse message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ListTagsResponse
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.datacatalog.v1.ListTagsResponse;
+
+ /**
+ * Creates a plain object from a ListTagsResponse message. Also converts values to other types if specified.
+ * @param message ListTagsResponse
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.datacatalog.v1.ListTagsResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ListTagsResponse to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ListTagsResponse
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a ListEntriesRequest. */
+ interface IListEntriesRequest {
+
+ /** ListEntriesRequest parent */
+ parent?: (string|null);
+
+ /** ListEntriesRequest pageSize */
+ pageSize?: (number|null);
+
+ /** ListEntriesRequest pageToken */
+ pageToken?: (string|null);
+
+ /** ListEntriesRequest readMask */
+ readMask?: (google.protobuf.IFieldMask|null);
+ }
+
+ /** Represents a ListEntriesRequest. */
+ class ListEntriesRequest implements IListEntriesRequest {
+
+ /**
+ * Constructs a new ListEntriesRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.datacatalog.v1.IListEntriesRequest);
+
+ /** ListEntriesRequest parent. */
+ public parent: string;
+
+ /** ListEntriesRequest pageSize. */
+ public pageSize: number;
+
+ /** ListEntriesRequest pageToken. */
+ public pageToken: string;
+
+ /** ListEntriesRequest readMask. */
+ public readMask?: (google.protobuf.IFieldMask|null);
+
+ /**
+ * Creates a new ListEntriesRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ListEntriesRequest instance
+ */
+ public static create(properties?: google.cloud.datacatalog.v1.IListEntriesRequest): google.cloud.datacatalog.v1.ListEntriesRequest;
+
+ /**
+ * Encodes the specified ListEntriesRequest message. Does not implicitly {@link google.cloud.datacatalog.v1.ListEntriesRequest.verify|verify} messages.
+ * @param message ListEntriesRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.datacatalog.v1.IListEntriesRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ListEntriesRequest message, length delimited. Does not implicitly {@link google.cloud.datacatalog.v1.ListEntriesRequest.verify|verify} messages.
+ * @param message ListEntriesRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.datacatalog.v1.IListEntriesRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ListEntriesRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ListEntriesRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.datacatalog.v1.ListEntriesRequest;
+
+ /**
+ * Decodes a ListEntriesRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ListEntriesRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.datacatalog.v1.ListEntriesRequest;
+
+ /**
+ * Verifies a ListEntriesRequest message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a ListEntriesRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ListEntriesRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.datacatalog.v1.ListEntriesRequest;
+
+ /**
+ * Creates a plain object from a ListEntriesRequest message. Also converts values to other types if specified.
+ * @param message ListEntriesRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.datacatalog.v1.ListEntriesRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ListEntriesRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ListEntriesRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a ListEntriesResponse. */
+ interface IListEntriesResponse {
+
+ /** ListEntriesResponse entries */
+ entries?: (google.cloud.datacatalog.v1.IEntry[]|null);
+
+ /** ListEntriesResponse nextPageToken */
+ nextPageToken?: (string|null);
+ }
+
+ /** Represents a ListEntriesResponse. */
+ class ListEntriesResponse implements IListEntriesResponse {
+
+ /**
+ * Constructs a new ListEntriesResponse.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.datacatalog.v1.IListEntriesResponse);
+
+ /** ListEntriesResponse entries. */
+ public entries: google.cloud.datacatalog.v1.IEntry[];
+
+ /** ListEntriesResponse nextPageToken. */
+ public nextPageToken: string;
+
+ /**
+ * Creates a new ListEntriesResponse instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ListEntriesResponse instance
+ */
+ public static create(properties?: google.cloud.datacatalog.v1.IListEntriesResponse): google.cloud.datacatalog.v1.ListEntriesResponse;
+
+ /**
+ * Encodes the specified ListEntriesResponse message. Does not implicitly {@link google.cloud.datacatalog.v1.ListEntriesResponse.verify|verify} messages.
+ * @param message ListEntriesResponse message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.datacatalog.v1.IListEntriesResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ListEntriesResponse message, length delimited. Does not implicitly {@link google.cloud.datacatalog.v1.ListEntriesResponse.verify|verify} messages.
+ * @param message ListEntriesResponse message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.datacatalog.v1.IListEntriesResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ListEntriesResponse message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ListEntriesResponse
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.datacatalog.v1.ListEntriesResponse;
+
+ /**
+ * Decodes a ListEntriesResponse message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ListEntriesResponse
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.datacatalog.v1.ListEntriesResponse;
+
+ /**
+ * Verifies a ListEntriesResponse message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a ListEntriesResponse message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ListEntriesResponse
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.datacatalog.v1.ListEntriesResponse;
+
+ /**
+ * Creates a plain object from a ListEntriesResponse message. Also converts values to other types if specified.
+ * @param message ListEntriesResponse
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.datacatalog.v1.ListEntriesResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ListEntriesResponse to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ListEntriesResponse
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a StarEntryRequest. */
+ interface IStarEntryRequest {
+
+ /** StarEntryRequest name */
+ name?: (string|null);
+ }
+
+ /** Represents a StarEntryRequest. */
+ class StarEntryRequest implements IStarEntryRequest {
+
+ /**
+ * Constructs a new StarEntryRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.datacatalog.v1.IStarEntryRequest);
+
+ /** StarEntryRequest name. */
+ public name: string;
+
+ /**
+ * Creates a new StarEntryRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns StarEntryRequest instance
+ */
+ public static create(properties?: google.cloud.datacatalog.v1.IStarEntryRequest): google.cloud.datacatalog.v1.StarEntryRequest;
+
+ /**
+ * Encodes the specified StarEntryRequest message. Does not implicitly {@link google.cloud.datacatalog.v1.StarEntryRequest.verify|verify} messages.
+ * @param message StarEntryRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.datacatalog.v1.IStarEntryRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified StarEntryRequest message, length delimited. Does not implicitly {@link google.cloud.datacatalog.v1.StarEntryRequest.verify|verify} messages.
+ * @param message StarEntryRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.datacatalog.v1.IStarEntryRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a StarEntryRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns StarEntryRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.datacatalog.v1.StarEntryRequest;
+
+ /**
+ * Decodes a StarEntryRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns StarEntryRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.datacatalog.v1.StarEntryRequest;
+
+ /**
+ * Verifies a StarEntryRequest message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a StarEntryRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns StarEntryRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.datacatalog.v1.StarEntryRequest;
+
+ /**
+ * Creates a plain object from a StarEntryRequest message. Also converts values to other types if specified.
+ * @param message StarEntryRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.datacatalog.v1.StarEntryRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this StarEntryRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for StarEntryRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a StarEntryResponse. */
+ interface IStarEntryResponse {
+ }
+
+ /** Represents a StarEntryResponse. */
+ class StarEntryResponse implements IStarEntryResponse {
+
+ /**
+ * Constructs a new StarEntryResponse.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.datacatalog.v1.IStarEntryResponse);
+
+ /**
+ * Creates a new StarEntryResponse instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns StarEntryResponse instance
+ */
+ public static create(properties?: google.cloud.datacatalog.v1.IStarEntryResponse): google.cloud.datacatalog.v1.StarEntryResponse;
+
+ /**
+ * Encodes the specified StarEntryResponse message. Does not implicitly {@link google.cloud.datacatalog.v1.StarEntryResponse.verify|verify} messages.
+ * @param message StarEntryResponse message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.datacatalog.v1.IStarEntryResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified StarEntryResponse message, length delimited. Does not implicitly {@link google.cloud.datacatalog.v1.StarEntryResponse.verify|verify} messages.
+ * @param message StarEntryResponse message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.datacatalog.v1.IStarEntryResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a StarEntryResponse message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns StarEntryResponse
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.datacatalog.v1.StarEntryResponse;
+
+ /**
+ * Decodes a StarEntryResponse message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns StarEntryResponse
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.datacatalog.v1.StarEntryResponse;
+
+ /**
+ * Verifies a StarEntryResponse message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a StarEntryResponse message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns StarEntryResponse
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.datacatalog.v1.StarEntryResponse;
+
+ /**
+ * Creates a plain object from a StarEntryResponse message. Also converts values to other types if specified.
+ * @param message StarEntryResponse
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.datacatalog.v1.StarEntryResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this StarEntryResponse to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for StarEntryResponse
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of an UnstarEntryRequest. */
+ interface IUnstarEntryRequest {
+
+ /** UnstarEntryRequest name */
+ name?: (string|null);
+ }
+
+ /** Represents an UnstarEntryRequest. */
+ class UnstarEntryRequest implements IUnstarEntryRequest {
+
+ /**
+ * Constructs a new UnstarEntryRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.datacatalog.v1.IUnstarEntryRequest);
+
+ /** UnstarEntryRequest name. */
+ public name: string;
+
+ /**
+ * Creates a new UnstarEntryRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns UnstarEntryRequest instance
+ */
+ public static create(properties?: google.cloud.datacatalog.v1.IUnstarEntryRequest): google.cloud.datacatalog.v1.UnstarEntryRequest;
+
+ /**
+ * Encodes the specified UnstarEntryRequest message. Does not implicitly {@link google.cloud.datacatalog.v1.UnstarEntryRequest.verify|verify} messages.
+ * @param message UnstarEntryRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.datacatalog.v1.IUnstarEntryRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified UnstarEntryRequest message, length delimited. Does not implicitly {@link google.cloud.datacatalog.v1.UnstarEntryRequest.verify|verify} messages.
+ * @param message UnstarEntryRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.datacatalog.v1.IUnstarEntryRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an UnstarEntryRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns UnstarEntryRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.datacatalog.v1.UnstarEntryRequest;
+
+ /**
+ * Decodes an UnstarEntryRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns UnstarEntryRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.datacatalog.v1.UnstarEntryRequest;
+
+ /**
+ * Verifies an UnstarEntryRequest message.
+ * @param message Plain 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 UnstarEntryRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns UnstarEntryRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.datacatalog.v1.UnstarEntryRequest;
+
+ /**
+ * Creates a plain object from an UnstarEntryRequest message. Also converts values to other types if specified.
+ * @param message UnstarEntryRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.datacatalog.v1.UnstarEntryRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this UnstarEntryRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for UnstarEntryRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of an UnstarEntryResponse. */
+ interface IUnstarEntryResponse {
+ }
+
+ /** Represents an UnstarEntryResponse. */
+ class UnstarEntryResponse implements IUnstarEntryResponse {
+
+ /**
+ * Constructs a new UnstarEntryResponse.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.datacatalog.v1.IUnstarEntryResponse);
+
+ /**
+ * Creates a new UnstarEntryResponse instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns UnstarEntryResponse instance
+ */
+ public static create(properties?: google.cloud.datacatalog.v1.IUnstarEntryResponse): google.cloud.datacatalog.v1.UnstarEntryResponse;
+
+ /**
+ * Encodes the specified UnstarEntryResponse message. Does not implicitly {@link google.cloud.datacatalog.v1.UnstarEntryResponse.verify|verify} messages.
+ * @param message UnstarEntryResponse message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.datacatalog.v1.IUnstarEntryResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified UnstarEntryResponse message, length delimited. Does not implicitly {@link google.cloud.datacatalog.v1.UnstarEntryResponse.verify|verify} messages.
+ * @param message UnstarEntryResponse message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.datacatalog.v1.IUnstarEntryResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an UnstarEntryResponse message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns UnstarEntryResponse
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.datacatalog.v1.UnstarEntryResponse;
+
+ /**
+ * Decodes an UnstarEntryResponse message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns UnstarEntryResponse
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.datacatalog.v1.UnstarEntryResponse;
+
+ /**
+ * Verifies an UnstarEntryResponse message.
+ * @param message Plain 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 UnstarEntryResponse message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns UnstarEntryResponse
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.datacatalog.v1.UnstarEntryResponse;
+
+ /**
+ * Creates a plain object from an UnstarEntryResponse message. Also converts values to other types if specified.
+ * @param message UnstarEntryResponse
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.datacatalog.v1.UnstarEntryResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this UnstarEntryResponse to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for UnstarEntryResponse
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a ModifyEntryOverviewRequest. */
+ interface IModifyEntryOverviewRequest {
+
+ /** ModifyEntryOverviewRequest name */
+ name?: (string|null);
+
+ /** ModifyEntryOverviewRequest entryOverview */
+ entryOverview?: (google.cloud.datacatalog.v1.IEntryOverview|null);
+ }
+
+ /** Represents a ModifyEntryOverviewRequest. */
+ class ModifyEntryOverviewRequest implements IModifyEntryOverviewRequest {
+
+ /**
+ * Constructs a new ModifyEntryOverviewRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.datacatalog.v1.IModifyEntryOverviewRequest);
+
+ /** ModifyEntryOverviewRequest name. */
+ public name: string;
+
+ /** ModifyEntryOverviewRequest entryOverview. */
+ public entryOverview?: (google.cloud.datacatalog.v1.IEntryOverview|null);
+
+ /**
+ * Creates a new ModifyEntryOverviewRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ModifyEntryOverviewRequest instance
+ */
+ public static create(properties?: google.cloud.datacatalog.v1.IModifyEntryOverviewRequest): google.cloud.datacatalog.v1.ModifyEntryOverviewRequest;
+
+ /**
+ * Encodes the specified ModifyEntryOverviewRequest message. Does not implicitly {@link google.cloud.datacatalog.v1.ModifyEntryOverviewRequest.verify|verify} messages.
+ * @param message ModifyEntryOverviewRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.datacatalog.v1.IModifyEntryOverviewRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ModifyEntryOverviewRequest message, length delimited. Does not implicitly {@link google.cloud.datacatalog.v1.ModifyEntryOverviewRequest.verify|verify} messages.
+ * @param message ModifyEntryOverviewRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.datacatalog.v1.IModifyEntryOverviewRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ModifyEntryOverviewRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ModifyEntryOverviewRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.datacatalog.v1.ModifyEntryOverviewRequest;
+
+ /**
+ * Decodes a ModifyEntryOverviewRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ModifyEntryOverviewRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.datacatalog.v1.ModifyEntryOverviewRequest;
+
+ /**
+ * Verifies a ModifyEntryOverviewRequest message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a ModifyEntryOverviewRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ModifyEntryOverviewRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.datacatalog.v1.ModifyEntryOverviewRequest;
+
+ /**
+ * Creates a plain object from a ModifyEntryOverviewRequest message. Also converts values to other types if specified.
+ * @param message ModifyEntryOverviewRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.datacatalog.v1.ModifyEntryOverviewRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ModifyEntryOverviewRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ModifyEntryOverviewRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a ModifyEntryContactsRequest. */
+ interface IModifyEntryContactsRequest {
+
+ /** ModifyEntryContactsRequest name */
+ name?: (string|null);
+
+ /** ModifyEntryContactsRequest contacts */
+ contacts?: (google.cloud.datacatalog.v1.IContacts|null);
+ }
+
+ /** Represents a ModifyEntryContactsRequest. */
+ class ModifyEntryContactsRequest implements IModifyEntryContactsRequest {
+
+ /**
+ * Constructs a new ModifyEntryContactsRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.datacatalog.v1.IModifyEntryContactsRequest);
+
+ /** ModifyEntryContactsRequest name. */
+ public name: string;
+
+ /** ModifyEntryContactsRequest contacts. */
+ public contacts?: (google.cloud.datacatalog.v1.IContacts|null);
+
+ /**
+ * Creates a new ModifyEntryContactsRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ModifyEntryContactsRequest instance
+ */
+ public static create(properties?: google.cloud.datacatalog.v1.IModifyEntryContactsRequest): google.cloud.datacatalog.v1.ModifyEntryContactsRequest;
+
+ /**
+ * Encodes the specified ModifyEntryContactsRequest message. Does not implicitly {@link google.cloud.datacatalog.v1.ModifyEntryContactsRequest.verify|verify} messages.
+ * @param message ModifyEntryContactsRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.datacatalog.v1.IModifyEntryContactsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ModifyEntryContactsRequest message, length delimited. Does not implicitly {@link google.cloud.datacatalog.v1.ModifyEntryContactsRequest.verify|verify} messages.
+ * @param message ModifyEntryContactsRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.datacatalog.v1.IModifyEntryContactsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ModifyEntryContactsRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ModifyEntryContactsRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.datacatalog.v1.ModifyEntryContactsRequest;
+
+ /**
+ * Decodes a ModifyEntryContactsRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ModifyEntryContactsRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.datacatalog.v1.ModifyEntryContactsRequest;
+
+ /**
+ * Verifies a ModifyEntryContactsRequest message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a ModifyEntryContactsRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ModifyEntryContactsRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.datacatalog.v1.ModifyEntryContactsRequest;
+
+ /**
+ * Creates a plain object from a ModifyEntryContactsRequest message. Also converts values to other types if specified.
+ * @param message ModifyEntryContactsRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.datacatalog.v1.ModifyEntryContactsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ModifyEntryContactsRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ModifyEntryContactsRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** EntryType enum. */
+ enum EntryType {
+ ENTRY_TYPE_UNSPECIFIED = 0,
+ TABLE = 2,
+ MODEL = 5,
+ DATA_STREAM = 3,
+ FILESET = 4,
+ CLUSTER = 6,
+ DATABASE = 7,
+ DATA_SOURCE_CONNECTION = 8,
+ ROUTINE = 9,
+ LAKE = 10,
+ ZONE = 11,
+ SERVICE = 14
+ }
+
+ /** Properties of a DataplexSpec. */
+ interface IDataplexSpec {
+
+ /** DataplexSpec asset */
+ asset?: (string|null);
+
+ /** DataplexSpec dataFormat */
+ dataFormat?: (google.cloud.datacatalog.v1.IPhysicalSchema|null);
+
+ /** DataplexSpec compressionFormat */
+ compressionFormat?: (string|null);
+
+ /** DataplexSpec projectId */
+ projectId?: (string|null);
+ }
+
+ /** Represents a DataplexSpec. */
+ class DataplexSpec implements IDataplexSpec {
+
+ /**
+ * Constructs a new DataplexSpec.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.datacatalog.v1.IDataplexSpec);
+
+ /** DataplexSpec asset. */
+ public asset: string;
+
+ /** DataplexSpec dataFormat. */
+ public dataFormat?: (google.cloud.datacatalog.v1.IPhysicalSchema|null);
+
+ /** DataplexSpec compressionFormat. */
+ public compressionFormat: string;
+
+ /** DataplexSpec projectId. */
+ public projectId: string;
+
+ /**
+ * Creates a new DataplexSpec instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns DataplexSpec instance
+ */
+ public static create(properties?: google.cloud.datacatalog.v1.IDataplexSpec): google.cloud.datacatalog.v1.DataplexSpec;
+
+ /**
+ * Encodes the specified DataplexSpec message. Does not implicitly {@link google.cloud.datacatalog.v1.DataplexSpec.verify|verify} messages.
+ * @param message DataplexSpec message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.datacatalog.v1.IDataplexSpec, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified DataplexSpec message, length delimited. Does not implicitly {@link google.cloud.datacatalog.v1.DataplexSpec.verify|verify} messages.
+ * @param message DataplexSpec message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.datacatalog.v1.IDataplexSpec, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a DataplexSpec message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns DataplexSpec
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.datacatalog.v1.DataplexSpec;
+
+ /**
+ * Decodes a DataplexSpec message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns DataplexSpec
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.datacatalog.v1.DataplexSpec;
+
+ /**
+ * Verifies a DataplexSpec message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a DataplexSpec message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns DataplexSpec
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.datacatalog.v1.DataplexSpec;
+
+ /**
+ * Creates a plain object from a DataplexSpec message. Also converts values to other types if specified.
+ * @param message DataplexSpec
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.datacatalog.v1.DataplexSpec, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this DataplexSpec to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for DataplexSpec
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a DataplexFilesetSpec. */
+ interface IDataplexFilesetSpec {
+
+ /** DataplexFilesetSpec dataplexSpec */
+ dataplexSpec?: (google.cloud.datacatalog.v1.IDataplexSpec|null);
+ }
+
+ /** Represents a DataplexFilesetSpec. */
+ class DataplexFilesetSpec implements IDataplexFilesetSpec {
+
+ /**
+ * Constructs a new DataplexFilesetSpec.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.datacatalog.v1.IDataplexFilesetSpec);
+
+ /** DataplexFilesetSpec dataplexSpec. */
+ public dataplexSpec?: (google.cloud.datacatalog.v1.IDataplexSpec|null);
+
+ /**
+ * Creates a new DataplexFilesetSpec instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns DataplexFilesetSpec instance
+ */
+ public static create(properties?: google.cloud.datacatalog.v1.IDataplexFilesetSpec): google.cloud.datacatalog.v1.DataplexFilesetSpec;
+
+ /**
+ * Encodes the specified DataplexFilesetSpec message. Does not implicitly {@link google.cloud.datacatalog.v1.DataplexFilesetSpec.verify|verify} messages.
+ * @param message DataplexFilesetSpec message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.datacatalog.v1.IDataplexFilesetSpec, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified DataplexFilesetSpec message, length delimited. Does not implicitly {@link google.cloud.datacatalog.v1.DataplexFilesetSpec.verify|verify} messages.
+ * @param message DataplexFilesetSpec message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.datacatalog.v1.IDataplexFilesetSpec, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a DataplexFilesetSpec message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns DataplexFilesetSpec
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.datacatalog.v1.DataplexFilesetSpec;
+
+ /**
+ * Decodes a DataplexFilesetSpec message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns DataplexFilesetSpec
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.datacatalog.v1.DataplexFilesetSpec;
+
+ /**
+ * Verifies a DataplexFilesetSpec message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a DataplexFilesetSpec message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns DataplexFilesetSpec
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.datacatalog.v1.DataplexFilesetSpec;
+
+ /**
+ * Creates a plain object from a DataplexFilesetSpec message. Also converts values to other types if specified.
+ * @param message DataplexFilesetSpec
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.datacatalog.v1.DataplexFilesetSpec, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this DataplexFilesetSpec to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for DataplexFilesetSpec
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a DataplexTableSpec. */
+ interface IDataplexTableSpec {
+
+ /** DataplexTableSpec externalTables */
+ externalTables?: (google.cloud.datacatalog.v1.IDataplexExternalTable[]|null);
+
+ /** DataplexTableSpec dataplexSpec */
+ dataplexSpec?: (google.cloud.datacatalog.v1.IDataplexSpec|null);
+
+ /** DataplexTableSpec userManaged */
+ userManaged?: (boolean|null);
+ }
+
+ /** Represents a DataplexTableSpec. */
+ class DataplexTableSpec implements IDataplexTableSpec {
+
+ /**
+ * Constructs a new DataplexTableSpec.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.datacatalog.v1.IDataplexTableSpec);
+
+ /** DataplexTableSpec externalTables. */
+ public externalTables: google.cloud.datacatalog.v1.IDataplexExternalTable[];
+
+ /** DataplexTableSpec dataplexSpec. */
+ public dataplexSpec?: (google.cloud.datacatalog.v1.IDataplexSpec|null);
+
+ /** DataplexTableSpec userManaged. */
+ public userManaged: boolean;
+
+ /**
+ * Creates a new DataplexTableSpec instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns DataplexTableSpec instance
+ */
+ public static create(properties?: google.cloud.datacatalog.v1.IDataplexTableSpec): google.cloud.datacatalog.v1.DataplexTableSpec;
+
+ /**
+ * Encodes the specified DataplexTableSpec message. Does not implicitly {@link google.cloud.datacatalog.v1.DataplexTableSpec.verify|verify} messages.
+ * @param message DataplexTableSpec message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.datacatalog.v1.IDataplexTableSpec, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified DataplexTableSpec message, length delimited. Does not implicitly {@link google.cloud.datacatalog.v1.DataplexTableSpec.verify|verify} messages.
+ * @param message DataplexTableSpec message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.datacatalog.v1.IDataplexTableSpec, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a DataplexTableSpec message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns DataplexTableSpec
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.datacatalog.v1.DataplexTableSpec;
+
+ /**
+ * Decodes a DataplexTableSpec message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns DataplexTableSpec
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.datacatalog.v1.DataplexTableSpec;
+
+ /**
+ * Verifies a DataplexTableSpec message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a DataplexTableSpec message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns DataplexTableSpec
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.datacatalog.v1.DataplexTableSpec;
+
+ /**
+ * Creates a plain object from a DataplexTableSpec message. Also converts values to other types if specified.
+ * @param message DataplexTableSpec
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.datacatalog.v1.DataplexTableSpec, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this DataplexTableSpec to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for DataplexTableSpec
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a DataplexExternalTable. */
+ interface IDataplexExternalTable {
+
+ /** DataplexExternalTable system */
+ system?: (google.cloud.datacatalog.v1.IntegratedSystem|keyof typeof google.cloud.datacatalog.v1.IntegratedSystem|null);
+
+ /** DataplexExternalTable fullyQualifiedName */
+ fullyQualifiedName?: (string|null);
+
+ /** DataplexExternalTable googleCloudResource */
+ googleCloudResource?: (string|null);
+
+ /** DataplexExternalTable dataCatalogEntry */
+ dataCatalogEntry?: (string|null);
+ }
+
+ /** Represents a DataplexExternalTable. */
+ class DataplexExternalTable implements IDataplexExternalTable {
+
+ /**
+ * Constructs a new DataplexExternalTable.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.datacatalog.v1.IDataplexExternalTable);
+
+ /** DataplexExternalTable system. */
+ public system: (google.cloud.datacatalog.v1.IntegratedSystem|keyof typeof google.cloud.datacatalog.v1.IntegratedSystem);
+
+ /** DataplexExternalTable fullyQualifiedName. */
+ public fullyQualifiedName: string;
+
+ /** DataplexExternalTable googleCloudResource. */
+ public googleCloudResource: string;
+
+ /** DataplexExternalTable dataCatalogEntry. */
+ public dataCatalogEntry: string;
+
+ /**
+ * Creates a new DataplexExternalTable instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns DataplexExternalTable instance
+ */
+ public static create(properties?: google.cloud.datacatalog.v1.IDataplexExternalTable): google.cloud.datacatalog.v1.DataplexExternalTable;
+
+ /**
+ * Encodes the specified DataplexExternalTable message. Does not implicitly {@link google.cloud.datacatalog.v1.DataplexExternalTable.verify|verify} messages.
+ * @param message DataplexExternalTable message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.datacatalog.v1.IDataplexExternalTable, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified DataplexExternalTable message, length delimited. Does not implicitly {@link google.cloud.datacatalog.v1.DataplexExternalTable.verify|verify} messages.
+ * @param message DataplexExternalTable message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.datacatalog.v1.IDataplexExternalTable, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a DataplexExternalTable message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns DataplexExternalTable
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.datacatalog.v1.DataplexExternalTable;
+
+ /**
+ * Decodes a DataplexExternalTable message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns DataplexExternalTable
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.datacatalog.v1.DataplexExternalTable;
+
+ /**
+ * Verifies a DataplexExternalTable message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a DataplexExternalTable message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns DataplexExternalTable
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.datacatalog.v1.DataplexExternalTable;
+
+ /**
+ * Creates a plain object from a DataplexExternalTable message. Also converts values to other types if specified.
+ * @param message DataplexExternalTable
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.datacatalog.v1.DataplexExternalTable, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this DataplexExternalTable to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for DataplexExternalTable
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a PhysicalSchema. */
+ interface IPhysicalSchema {
+
+ /** PhysicalSchema avro */
+ avro?: (google.cloud.datacatalog.v1.PhysicalSchema.IAvroSchema|null);
+
+ /** PhysicalSchema thrift */
+ thrift?: (google.cloud.datacatalog.v1.PhysicalSchema.IThriftSchema|null);
+
+ /** PhysicalSchema protobuf */
+ protobuf?: (google.cloud.datacatalog.v1.PhysicalSchema.IProtobufSchema|null);
+
+ /** PhysicalSchema parquet */
+ parquet?: (google.cloud.datacatalog.v1.PhysicalSchema.IParquetSchema|null);
+
+ /** PhysicalSchema orc */
+ orc?: (google.cloud.datacatalog.v1.PhysicalSchema.IOrcSchema|null);
+
+ /** PhysicalSchema csv */
+ csv?: (google.cloud.datacatalog.v1.PhysicalSchema.ICsvSchema|null);
+ }
+
+ /** Represents a PhysicalSchema. */
+ class PhysicalSchema implements IPhysicalSchema {
+
+ /**
+ * Constructs a new PhysicalSchema.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.datacatalog.v1.IPhysicalSchema);
+
+ /** PhysicalSchema avro. */
+ public avro?: (google.cloud.datacatalog.v1.PhysicalSchema.IAvroSchema|null);
+
+ /** PhysicalSchema thrift. */
+ public thrift?: (google.cloud.datacatalog.v1.PhysicalSchema.IThriftSchema|null);
+
+ /** PhysicalSchema protobuf. */
+ public protobuf?: (google.cloud.datacatalog.v1.PhysicalSchema.IProtobufSchema|null);
+
+ /** PhysicalSchema parquet. */
+ public parquet?: (google.cloud.datacatalog.v1.PhysicalSchema.IParquetSchema|null);
+
+ /** PhysicalSchema orc. */
+ public orc?: (google.cloud.datacatalog.v1.PhysicalSchema.IOrcSchema|null);
+
+ /** PhysicalSchema csv. */
+ public csv?: (google.cloud.datacatalog.v1.PhysicalSchema.ICsvSchema|null);
+
+ /** PhysicalSchema schema. */
+ public schema?: ("avro"|"thrift"|"protobuf"|"parquet"|"orc"|"csv");
+
+ /**
+ * Creates a new PhysicalSchema instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns PhysicalSchema instance
+ */
+ public static create(properties?: google.cloud.datacatalog.v1.IPhysicalSchema): google.cloud.datacatalog.v1.PhysicalSchema;
+
+ /**
+ * Encodes the specified PhysicalSchema message. Does not implicitly {@link google.cloud.datacatalog.v1.PhysicalSchema.verify|verify} messages.
+ * @param message PhysicalSchema message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.datacatalog.v1.IPhysicalSchema, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified PhysicalSchema message, length delimited. Does not implicitly {@link google.cloud.datacatalog.v1.PhysicalSchema.verify|verify} messages.
+ * @param message PhysicalSchema message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.datacatalog.v1.IPhysicalSchema, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a PhysicalSchema message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns PhysicalSchema
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.datacatalog.v1.PhysicalSchema;
+
+ /**
+ * Decodes a PhysicalSchema message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns PhysicalSchema
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.datacatalog.v1.PhysicalSchema;
+
+ /**
+ * Verifies a PhysicalSchema message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a PhysicalSchema message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns PhysicalSchema
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.datacatalog.v1.PhysicalSchema;
+
+ /**
+ * Creates a plain object from a PhysicalSchema message. Also converts values to other types if specified.
+ * @param message PhysicalSchema
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.datacatalog.v1.PhysicalSchema, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this PhysicalSchema to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for PhysicalSchema
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace PhysicalSchema {
+
+ /** Properties of an AvroSchema. */
+ interface IAvroSchema {
+
+ /** AvroSchema text */
+ text?: (string|null);
+ }
+
+ /** Represents an AvroSchema. */
+ class AvroSchema implements IAvroSchema {
+
+ /**
+ * Constructs a new AvroSchema.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.datacatalog.v1.PhysicalSchema.IAvroSchema);
+
+ /** AvroSchema text. */
+ public text: string;
+
+ /**
+ * Creates a new AvroSchema instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns AvroSchema instance
+ */
+ public static create(properties?: google.cloud.datacatalog.v1.PhysicalSchema.IAvroSchema): google.cloud.datacatalog.v1.PhysicalSchema.AvroSchema;
+
+ /**
+ * Encodes the specified AvroSchema message. Does not implicitly {@link google.cloud.datacatalog.v1.PhysicalSchema.AvroSchema.verify|verify} messages.
+ * @param message AvroSchema message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.datacatalog.v1.PhysicalSchema.IAvroSchema, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified AvroSchema message, length delimited. Does not implicitly {@link google.cloud.datacatalog.v1.PhysicalSchema.AvroSchema.verify|verify} messages.
+ * @param message AvroSchema message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.datacatalog.v1.PhysicalSchema.IAvroSchema, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an AvroSchema message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns AvroSchema
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.datacatalog.v1.PhysicalSchema.AvroSchema;
+
+ /**
+ * Decodes an AvroSchema message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns AvroSchema
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.datacatalog.v1.PhysicalSchema.AvroSchema;
+
+ /**
+ * Verifies an AvroSchema message.
+ * @param message Plain 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 AvroSchema message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns AvroSchema
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.datacatalog.v1.PhysicalSchema.AvroSchema;
+
+ /**
+ * Creates a plain object from an AvroSchema message. Also converts values to other types if specified.
+ * @param message AvroSchema
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.datacatalog.v1.PhysicalSchema.AvroSchema, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this AvroSchema to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for AvroSchema
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a ThriftSchema. */
+ interface IThriftSchema {
+
+ /** ThriftSchema text */
+ text?: (string|null);
+ }
+
+ /** Represents a ThriftSchema. */
+ class ThriftSchema implements IThriftSchema {
+
+ /**
+ * Constructs a new ThriftSchema.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.datacatalog.v1.PhysicalSchema.IThriftSchema);
+
+ /** ThriftSchema text. */
+ public text: string;
+
+ /**
+ * Creates a new ThriftSchema instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ThriftSchema instance
+ */
+ public static create(properties?: google.cloud.datacatalog.v1.PhysicalSchema.IThriftSchema): google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema;
+
+ /**
+ * Encodes the specified ThriftSchema message. Does not implicitly {@link google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema.verify|verify} messages.
+ * @param message ThriftSchema message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.datacatalog.v1.PhysicalSchema.IThriftSchema, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ThriftSchema message, length delimited. Does not implicitly {@link google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema.verify|verify} messages.
+ * @param message ThriftSchema message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.datacatalog.v1.PhysicalSchema.IThriftSchema, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ThriftSchema message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ThriftSchema
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema;
+
+ /**
+ * Decodes a ThriftSchema message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ThriftSchema
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema;
+
+ /**
+ * Verifies a ThriftSchema message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a ThriftSchema message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ThriftSchema
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema;
+
+ /**
+ * Creates a plain object from a ThriftSchema message. Also converts values to other types if specified.
+ * @param message ThriftSchema
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ThriftSchema to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ThriftSchema
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a ProtobufSchema. */
+ interface IProtobufSchema {
+
+ /** ProtobufSchema text */
+ text?: (string|null);
+ }
+
+ /** Represents a ProtobufSchema. */
+ class ProtobufSchema implements IProtobufSchema {
+
+ /**
+ * Constructs a new ProtobufSchema.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.datacatalog.v1.PhysicalSchema.IProtobufSchema);
+
+ /** ProtobufSchema text. */
+ public text: string;
+
+ /**
+ * Creates a new ProtobufSchema instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ProtobufSchema instance
+ */
+ public static create(properties?: google.cloud.datacatalog.v1.PhysicalSchema.IProtobufSchema): google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema;
+
+ /**
+ * Encodes the specified ProtobufSchema message. Does not implicitly {@link google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema.verify|verify} messages.
+ * @param message ProtobufSchema message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.datacatalog.v1.PhysicalSchema.IProtobufSchema, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ProtobufSchema message, length delimited. Does not implicitly {@link google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema.verify|verify} messages.
+ * @param message ProtobufSchema message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.datacatalog.v1.PhysicalSchema.IProtobufSchema, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ProtobufSchema message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ProtobufSchema
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema;
+
+ /**
+ * Decodes a ProtobufSchema message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ProtobufSchema
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema;
+
+ /**
+ * Verifies a ProtobufSchema message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a ProtobufSchema message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ProtobufSchema
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema;
+
+ /**
+ * Creates a plain object from a ProtobufSchema message. Also converts values to other types if specified.
+ * @param message ProtobufSchema
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ProtobufSchema to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ProtobufSchema
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a ParquetSchema. */
+ interface IParquetSchema {
+ }
+
+ /** Represents a ParquetSchema. */
+ class ParquetSchema implements IParquetSchema {
+
+ /**
+ * Constructs a new ParquetSchema.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.datacatalog.v1.PhysicalSchema.IParquetSchema);
+
+ /**
+ * Creates a new ParquetSchema instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ParquetSchema instance
+ */
+ public static create(properties?: google.cloud.datacatalog.v1.PhysicalSchema.IParquetSchema): google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema;
+
+ /**
+ * Encodes the specified ParquetSchema message. Does not implicitly {@link google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema.verify|verify} messages.
+ * @param message ParquetSchema message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.datacatalog.v1.PhysicalSchema.IParquetSchema, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ParquetSchema message, length delimited. Does not implicitly {@link google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema.verify|verify} messages.
+ * @param message ParquetSchema message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.datacatalog.v1.PhysicalSchema.IParquetSchema, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ParquetSchema message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ParquetSchema
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema;
+
+ /**
+ * Decodes a ParquetSchema message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ParquetSchema
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema;
+
+ /**
+ * Verifies a ParquetSchema message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a ParquetSchema message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ParquetSchema
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema;
+
+ /**
+ * Creates a plain object from a ParquetSchema message. Also converts values to other types if specified.
+ * @param message ParquetSchema
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ParquetSchema to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ParquetSchema
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of an OrcSchema. */
+ interface IOrcSchema {
+ }
+
+ /** Represents an OrcSchema. */
+ class OrcSchema implements IOrcSchema {
+
+ /**
+ * Constructs a new OrcSchema.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.datacatalog.v1.PhysicalSchema.IOrcSchema);
+
+ /**
+ * Creates a new OrcSchema instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns OrcSchema instance
+ */
+ public static create(properties?: google.cloud.datacatalog.v1.PhysicalSchema.IOrcSchema): google.cloud.datacatalog.v1.PhysicalSchema.OrcSchema;
+
+ /**
+ * Encodes the specified OrcSchema message. Does not implicitly {@link google.cloud.datacatalog.v1.PhysicalSchema.OrcSchema.verify|verify} messages.
+ * @param message OrcSchema message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.datacatalog.v1.PhysicalSchema.IOrcSchema, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified OrcSchema message, length delimited. Does not implicitly {@link google.cloud.datacatalog.v1.PhysicalSchema.OrcSchema.verify|verify} messages.
+ * @param message OrcSchema message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.datacatalog.v1.PhysicalSchema.IOrcSchema, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an OrcSchema message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns OrcSchema
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.datacatalog.v1.PhysicalSchema.OrcSchema;
+
+ /**
+ * Decodes an OrcSchema message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns OrcSchema
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.datacatalog.v1.PhysicalSchema.OrcSchema;
+
+ /**
+ * Verifies an OrcSchema message.
+ * @param message Plain 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 OrcSchema message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns OrcSchema
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.datacatalog.v1.PhysicalSchema.OrcSchema;
+
+ /**
+ * Creates a plain object from an OrcSchema message. Also converts values to other types if specified.
+ * @param message OrcSchema
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.datacatalog.v1.PhysicalSchema.OrcSchema, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this OrcSchema to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for OrcSchema
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a CsvSchema. */
+ interface ICsvSchema {
+ }
+
+ /** Represents a CsvSchema. */
+ class CsvSchema implements ICsvSchema {
+
+ /**
+ * Constructs a new CsvSchema.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.datacatalog.v1.PhysicalSchema.ICsvSchema);
+
+ /**
+ * Creates a new CsvSchema instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns CsvSchema instance
+ */
+ public static create(properties?: google.cloud.datacatalog.v1.PhysicalSchema.ICsvSchema): google.cloud.datacatalog.v1.PhysicalSchema.CsvSchema;
+
+ /**
+ * Encodes the specified CsvSchema message. Does not implicitly {@link google.cloud.datacatalog.v1.PhysicalSchema.CsvSchema.verify|verify} messages.
+ * @param message CsvSchema message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.datacatalog.v1.PhysicalSchema.ICsvSchema, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified CsvSchema message, length delimited. Does not implicitly {@link google.cloud.datacatalog.v1.PhysicalSchema.CsvSchema.verify|verify} messages.
+ * @param message CsvSchema message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.datacatalog.v1.PhysicalSchema.ICsvSchema, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a CsvSchema message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns CsvSchema
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.datacatalog.v1.PhysicalSchema.CsvSchema;
+
+ /**
+ * Decodes a CsvSchema message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns CsvSchema
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.datacatalog.v1.PhysicalSchema.CsvSchema;
+
+ /**
+ * Verifies a CsvSchema message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a CsvSchema message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns CsvSchema
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.datacatalog.v1.PhysicalSchema.CsvSchema;
+
+ /**
+ * Creates a plain object from a CsvSchema message. Also converts values to other types if specified.
+ * @param message CsvSchema
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.datacatalog.v1.PhysicalSchema.CsvSchema, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this CsvSchema to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for CsvSchema
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+ }
+
+ /** Properties of a GcsFilesetSpec. */
+ interface IGcsFilesetSpec {
+
+ /** GcsFilesetSpec filePatterns */
+ filePatterns?: (string[]|null);
+
+ /** GcsFilesetSpec sampleGcsFileSpecs */
+ sampleGcsFileSpecs?: (google.cloud.datacatalog.v1.IGcsFileSpec[]|null);
+ }
+
+ /** Represents a GcsFilesetSpec. */
+ class GcsFilesetSpec implements IGcsFilesetSpec {
+
+ /**
+ * Constructs a new GcsFilesetSpec.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.datacatalog.v1.IGcsFilesetSpec);
+
+ /** GcsFilesetSpec filePatterns. */
+ public filePatterns: string[];
+
+ /** GcsFilesetSpec sampleGcsFileSpecs. */
+ public sampleGcsFileSpecs: google.cloud.datacatalog.v1.IGcsFileSpec[];
+
+ /**
+ * Creates a new GcsFilesetSpec instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns GcsFilesetSpec instance
+ */
+ public static create(properties?: google.cloud.datacatalog.v1.IGcsFilesetSpec): google.cloud.datacatalog.v1.GcsFilesetSpec;
+
+ /**
+ * Encodes the specified GcsFilesetSpec message. Does not implicitly {@link google.cloud.datacatalog.v1.GcsFilesetSpec.verify|verify} messages.
+ * @param message GcsFilesetSpec message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.datacatalog.v1.IGcsFilesetSpec, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified GcsFilesetSpec message, length delimited. Does not implicitly {@link google.cloud.datacatalog.v1.GcsFilesetSpec.verify|verify} messages.
+ * @param message GcsFilesetSpec message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.datacatalog.v1.IGcsFilesetSpec, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a GcsFilesetSpec message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns GcsFilesetSpec
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.datacatalog.v1.GcsFilesetSpec;
+
+ /**
+ * Decodes a GcsFilesetSpec message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns GcsFilesetSpec
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.datacatalog.v1.GcsFilesetSpec;
+
+ /**
+ * Verifies a GcsFilesetSpec message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a GcsFilesetSpec message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns GcsFilesetSpec
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.datacatalog.v1.GcsFilesetSpec;
+
+ /**
+ * Creates a plain object from a GcsFilesetSpec message. Also converts values to other types if specified.
+ * @param message GcsFilesetSpec
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.datacatalog.v1.GcsFilesetSpec, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this GcsFilesetSpec to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for GcsFilesetSpec
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a GcsFileSpec. */
+ interface IGcsFileSpec {
+
+ /** GcsFileSpec filePath */
+ filePath?: (string|null);
+
+ /** GcsFileSpec gcsTimestamps */
+ gcsTimestamps?: (google.cloud.datacatalog.v1.ISystemTimestamps|null);
+
+ /** GcsFileSpec sizeBytes */
+ sizeBytes?: (number|Long|string|null);
+ }
+
+ /** Represents a GcsFileSpec. */
+ class GcsFileSpec implements IGcsFileSpec {
+
+ /**
+ * Constructs a new GcsFileSpec.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.datacatalog.v1.IGcsFileSpec);
+
+ /** GcsFileSpec filePath. */
+ public filePath: string;
+
+ /** GcsFileSpec gcsTimestamps. */
+ public gcsTimestamps?: (google.cloud.datacatalog.v1.ISystemTimestamps|null);
+
+ /** GcsFileSpec sizeBytes. */
+ public sizeBytes: (number|Long|string);
+
+ /**
+ * Creates a new GcsFileSpec instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns GcsFileSpec instance
+ */
+ public static create(properties?: google.cloud.datacatalog.v1.IGcsFileSpec): google.cloud.datacatalog.v1.GcsFileSpec;
+
+ /**
+ * Encodes the specified GcsFileSpec message. Does not implicitly {@link google.cloud.datacatalog.v1.GcsFileSpec.verify|verify} messages.
+ * @param message GcsFileSpec message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.datacatalog.v1.IGcsFileSpec, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified GcsFileSpec message, length delimited. Does not implicitly {@link google.cloud.datacatalog.v1.GcsFileSpec.verify|verify} messages.
+ * @param message GcsFileSpec message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.datacatalog.v1.IGcsFileSpec, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a GcsFileSpec message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns GcsFileSpec
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.datacatalog.v1.GcsFileSpec;
+
+ /**
+ * Decodes a GcsFileSpec message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns GcsFileSpec
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.datacatalog.v1.GcsFileSpec;
+
+ /**
+ * Verifies a GcsFileSpec message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a GcsFileSpec message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns GcsFileSpec
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.datacatalog.v1.GcsFileSpec;
+
+ /**
+ * Creates a plain object from a GcsFileSpec message. Also converts values to other types if specified.
+ * @param message GcsFileSpec
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.datacatalog.v1.GcsFileSpec, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this GcsFileSpec to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for GcsFileSpec
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a SystemTimestamps. */
+ interface ISystemTimestamps {
+
+ /** SystemTimestamps createTime */
+ createTime?: (google.protobuf.ITimestamp|null);
+
+ /** SystemTimestamps updateTime */
+ updateTime?: (google.protobuf.ITimestamp|null);
+
+ /** SystemTimestamps expireTime */
+ expireTime?: (google.protobuf.ITimestamp|null);
+ }
+
+ /** Represents a SystemTimestamps. */
+ class SystemTimestamps implements ISystemTimestamps {
+
+ /**
+ * Constructs a new SystemTimestamps.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.datacatalog.v1.ISystemTimestamps);
+
+ /** SystemTimestamps createTime. */
+ public createTime?: (google.protobuf.ITimestamp|null);
+
+ /** SystemTimestamps updateTime. */
+ public updateTime?: (google.protobuf.ITimestamp|null);
+
+ /** SystemTimestamps expireTime. */
+ public expireTime?: (google.protobuf.ITimestamp|null);
+
+ /**
+ * Creates a new SystemTimestamps instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns SystemTimestamps instance
+ */
+ public static create(properties?: google.cloud.datacatalog.v1.ISystemTimestamps): google.cloud.datacatalog.v1.SystemTimestamps;
+
+ /**
+ * Encodes the specified SystemTimestamps message. Does not implicitly {@link google.cloud.datacatalog.v1.SystemTimestamps.verify|verify} messages.
+ * @param message SystemTimestamps message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.datacatalog.v1.ISystemTimestamps, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified SystemTimestamps message, length delimited. Does not implicitly {@link google.cloud.datacatalog.v1.SystemTimestamps.verify|verify} messages.
+ * @param message SystemTimestamps message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.datacatalog.v1.ISystemTimestamps, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a SystemTimestamps message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns SystemTimestamps
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.datacatalog.v1.SystemTimestamps;
+
+ /**
+ * Decodes a SystemTimestamps message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns SystemTimestamps
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.datacatalog.v1.SystemTimestamps;
+
+ /**
+ * Verifies a SystemTimestamps message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a SystemTimestamps message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns SystemTimestamps
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.datacatalog.v1.SystemTimestamps;
+
+ /**
+ * Creates a plain object from a SystemTimestamps message. Also converts values to other types if specified.
+ * @param message SystemTimestamps
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.datacatalog.v1.SystemTimestamps, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this SystemTimestamps to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for SystemTimestamps
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a Schema. */
+ interface ISchema {
+
+ /** Schema columns */
+ columns?: (google.cloud.datacatalog.v1.IColumnSchema[]|null);
+ }
+
+ /** Represents a Schema. */
+ class Schema implements ISchema {
+
+ /**
+ * Constructs a new Schema.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.datacatalog.v1.ISchema);
+
+ /** Schema columns. */
+ public columns: google.cloud.datacatalog.v1.IColumnSchema[];
+
+ /**
+ * Creates a new Schema instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns Schema instance
+ */
+ public static create(properties?: google.cloud.datacatalog.v1.ISchema): google.cloud.datacatalog.v1.Schema;
+
+ /**
+ * Encodes the specified Schema message. Does not implicitly {@link google.cloud.datacatalog.v1.Schema.verify|verify} messages.
+ * @param message Schema message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.datacatalog.v1.ISchema, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified Schema message, length delimited. Does not implicitly {@link google.cloud.datacatalog.v1.Schema.verify|verify} messages.
+ * @param message Schema message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.datacatalog.v1.ISchema, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a Schema message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns Schema
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.datacatalog.v1.Schema;
+
+ /**
+ * Decodes a Schema message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns Schema
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.datacatalog.v1.Schema;
+
+ /**
+ * Verifies a Schema message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a Schema message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns Schema
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.datacatalog.v1.Schema;
+
+ /**
+ * Creates a plain object from a Schema message. Also converts values to other types if specified.
+ * @param message Schema
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.datacatalog.v1.Schema, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this Schema to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for Schema
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a ColumnSchema. */
+ interface IColumnSchema {
+
+ /** ColumnSchema column */
+ column?: (string|null);
+
+ /** ColumnSchema type */
+ type?: (string|null);
+
+ /** ColumnSchema description */
+ description?: (string|null);
+
+ /** ColumnSchema mode */
+ mode?: (string|null);
+
+ /** ColumnSchema subcolumns */
+ subcolumns?: (google.cloud.datacatalog.v1.IColumnSchema[]|null);
+ }
+
+ /** Represents a ColumnSchema. */
+ class ColumnSchema implements IColumnSchema {
+
+ /**
+ * Constructs a new ColumnSchema.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.datacatalog.v1.IColumnSchema);
+
+ /** ColumnSchema column. */
+ public column: string;
+
+ /** ColumnSchema type. */
+ public type: string;
+
+ /** ColumnSchema description. */
+ public description: string;
+
+ /** ColumnSchema mode. */
+ public mode: string;
+
+ /** ColumnSchema subcolumns. */
+ public subcolumns: google.cloud.datacatalog.v1.IColumnSchema[];
+
+ /**
+ * Creates a new ColumnSchema instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ColumnSchema instance
+ */
+ public static create(properties?: google.cloud.datacatalog.v1.IColumnSchema): google.cloud.datacatalog.v1.ColumnSchema;
+
+ /**
+ * Encodes the specified ColumnSchema message. Does not implicitly {@link google.cloud.datacatalog.v1.ColumnSchema.verify|verify} messages.
+ * @param message ColumnSchema message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.datacatalog.v1.IColumnSchema, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ColumnSchema message, length delimited. Does not implicitly {@link google.cloud.datacatalog.v1.ColumnSchema.verify|verify} messages.
+ * @param message ColumnSchema message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.datacatalog.v1.IColumnSchema, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ColumnSchema message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ColumnSchema
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.datacatalog.v1.ColumnSchema;
+
+ /**
+ * Decodes a ColumnSchema message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ColumnSchema
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.datacatalog.v1.ColumnSchema;
+
+ /**
+ * Verifies a ColumnSchema message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a ColumnSchema message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ColumnSchema
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.datacatalog.v1.ColumnSchema;
+
+ /**
+ * Creates a plain object from a ColumnSchema message. Also converts values to other types if specified.
+ * @param message ColumnSchema
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.datacatalog.v1.ColumnSchema, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ColumnSchema to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ColumnSchema
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a SearchCatalogResult. */
+ interface ISearchCatalogResult {
+
+ /** SearchCatalogResult searchResultType */
+ searchResultType?: (google.cloud.datacatalog.v1.SearchResultType|keyof typeof google.cloud.datacatalog.v1.SearchResultType|null);
+
+ /** SearchCatalogResult searchResultSubtype */
+ searchResultSubtype?: (string|null);
+
+ /** SearchCatalogResult relativeResourceName */
+ relativeResourceName?: (string|null);
+
+ /** SearchCatalogResult linkedResource */
+ linkedResource?: (string|null);
+
+ /** SearchCatalogResult modifyTime */
+ modifyTime?: (google.protobuf.ITimestamp|null);
+
+ /** SearchCatalogResult integratedSystem */
+ integratedSystem?: (google.cloud.datacatalog.v1.IntegratedSystem|keyof typeof google.cloud.datacatalog.v1.IntegratedSystem|null);
+
+ /** SearchCatalogResult userSpecifiedSystem */
+ userSpecifiedSystem?: (string|null);
+
+ /** SearchCatalogResult fullyQualifiedName */
+ fullyQualifiedName?: (string|null);
+
+ /** SearchCatalogResult displayName */
+ displayName?: (string|null);
+
+ /** SearchCatalogResult description */
+ description?: (string|null);
+ }
+
+ /** Represents a SearchCatalogResult. */
+ class SearchCatalogResult implements ISearchCatalogResult {
+
+ /**
+ * Constructs a new SearchCatalogResult.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.datacatalog.v1.ISearchCatalogResult);
+
+ /** SearchCatalogResult searchResultType. */
+ public searchResultType: (google.cloud.datacatalog.v1.SearchResultType|keyof typeof google.cloud.datacatalog.v1.SearchResultType);
+
+ /** SearchCatalogResult searchResultSubtype. */
+ public searchResultSubtype: string;
+
+ /** SearchCatalogResult relativeResourceName. */
+ public relativeResourceName: string;
+
+ /** SearchCatalogResult linkedResource. */
+ public linkedResource: string;
+
+ /** SearchCatalogResult modifyTime. */
+ public modifyTime?: (google.protobuf.ITimestamp|null);
+
+ /** SearchCatalogResult integratedSystem. */
+ public integratedSystem?: (google.cloud.datacatalog.v1.IntegratedSystem|keyof typeof google.cloud.datacatalog.v1.IntegratedSystem|null);
+
+ /** SearchCatalogResult userSpecifiedSystem. */
+ public userSpecifiedSystem?: (string|null);
+
+ /** SearchCatalogResult fullyQualifiedName. */
+ public fullyQualifiedName: string;
+
+ /** SearchCatalogResult displayName. */
+ public displayName: string;
+
+ /** SearchCatalogResult description. */
+ public description: string;
+
+ /** SearchCatalogResult system. */
+ public system?: ("integratedSystem"|"userSpecifiedSystem");
+
+ /**
+ * Creates a new SearchCatalogResult instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns SearchCatalogResult instance
+ */
+ public static create(properties?: google.cloud.datacatalog.v1.ISearchCatalogResult): google.cloud.datacatalog.v1.SearchCatalogResult;
+
+ /**
+ * Encodes the specified SearchCatalogResult message. Does not implicitly {@link google.cloud.datacatalog.v1.SearchCatalogResult.verify|verify} messages.
+ * @param message SearchCatalogResult message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.datacatalog.v1.ISearchCatalogResult, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified SearchCatalogResult message, length delimited. Does not implicitly {@link google.cloud.datacatalog.v1.SearchCatalogResult.verify|verify} messages.
+ * @param message SearchCatalogResult message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.datacatalog.v1.ISearchCatalogResult, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a SearchCatalogResult message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns SearchCatalogResult
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.datacatalog.v1.SearchCatalogResult;
+
+ /**
+ * Decodes a SearchCatalogResult message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns SearchCatalogResult
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.datacatalog.v1.SearchCatalogResult;
+
+ /**
+ * Verifies a SearchCatalogResult message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a SearchCatalogResult message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns SearchCatalogResult
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.datacatalog.v1.SearchCatalogResult;
+
+ /**
+ * Creates a plain object from a SearchCatalogResult message. Also converts values to other types if specified.
+ * @param message SearchCatalogResult
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.datacatalog.v1.SearchCatalogResult, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this SearchCatalogResult to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for SearchCatalogResult
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** SearchResultType enum. */
+ enum SearchResultType {
+ SEARCH_RESULT_TYPE_UNSPECIFIED = 0,
+ ENTRY = 1,
+ TAG_TEMPLATE = 2,
+ ENTRY_GROUP = 3
+ }
+
+ /** Properties of a BigQueryTableSpec. */
+ interface IBigQueryTableSpec {
+
+ /** BigQueryTableSpec tableSourceType */
+ tableSourceType?: (google.cloud.datacatalog.v1.TableSourceType|keyof typeof google.cloud.datacatalog.v1.TableSourceType|null);
+
+ /** BigQueryTableSpec viewSpec */
+ viewSpec?: (google.cloud.datacatalog.v1.IViewSpec|null);
+
+ /** BigQueryTableSpec tableSpec */
+ tableSpec?: (google.cloud.datacatalog.v1.ITableSpec|null);
+ }
+
+ /** Represents a BigQueryTableSpec. */
+ class BigQueryTableSpec implements IBigQueryTableSpec {
+
+ /**
+ * Constructs a new BigQueryTableSpec.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.datacatalog.v1.IBigQueryTableSpec);
+
+ /** BigQueryTableSpec tableSourceType. */
+ public tableSourceType: (google.cloud.datacatalog.v1.TableSourceType|keyof typeof google.cloud.datacatalog.v1.TableSourceType);
+
+ /** BigQueryTableSpec viewSpec. */
+ public viewSpec?: (google.cloud.datacatalog.v1.IViewSpec|null);
+
+ /** BigQueryTableSpec tableSpec. */
+ public tableSpec?: (google.cloud.datacatalog.v1.ITableSpec|null);
+
+ /** BigQueryTableSpec typeSpec. */
+ public typeSpec?: ("viewSpec"|"tableSpec");
+
+ /**
+ * Creates a new BigQueryTableSpec instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns BigQueryTableSpec instance
+ */
+ public static create(properties?: google.cloud.datacatalog.v1.IBigQueryTableSpec): google.cloud.datacatalog.v1.BigQueryTableSpec;
+
+ /**
+ * Encodes the specified BigQueryTableSpec message. Does not implicitly {@link google.cloud.datacatalog.v1.BigQueryTableSpec.verify|verify} messages.
+ * @param message BigQueryTableSpec message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.datacatalog.v1.IBigQueryTableSpec, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified BigQueryTableSpec message, length delimited. Does not implicitly {@link google.cloud.datacatalog.v1.BigQueryTableSpec.verify|verify} messages.
+ * @param message BigQueryTableSpec message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.datacatalog.v1.IBigQueryTableSpec, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a BigQueryTableSpec message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns BigQueryTableSpec
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.datacatalog.v1.BigQueryTableSpec;
+
+ /**
+ * Decodes a BigQueryTableSpec message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns BigQueryTableSpec
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.datacatalog.v1.BigQueryTableSpec;
+
+ /**
+ * Verifies a BigQueryTableSpec message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a BigQueryTableSpec message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns BigQueryTableSpec
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.datacatalog.v1.BigQueryTableSpec;
+
+ /**
+ * Creates a plain object from a BigQueryTableSpec message. Also converts values to other types if specified.
+ * @param message BigQueryTableSpec
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.datacatalog.v1.BigQueryTableSpec, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this BigQueryTableSpec to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for BigQueryTableSpec
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** TableSourceType enum. */
+ enum TableSourceType {
+ TABLE_SOURCE_TYPE_UNSPECIFIED = 0,
+ BIGQUERY_VIEW = 2,
+ BIGQUERY_TABLE = 5,
+ BIGQUERY_MATERIALIZED_VIEW = 7
+ }
+
+ /** Properties of a ViewSpec. */
+ interface IViewSpec {
+
+ /** ViewSpec viewQuery */
+ viewQuery?: (string|null);
+ }
+
+ /** Represents a ViewSpec. */
+ class ViewSpec implements IViewSpec {
+
+ /**
+ * Constructs a new ViewSpec.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.datacatalog.v1.IViewSpec);
+
+ /** ViewSpec viewQuery. */
+ public viewQuery: string;
+
+ /**
+ * Creates a new ViewSpec instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ViewSpec instance
+ */
+ public static create(properties?: google.cloud.datacatalog.v1.IViewSpec): google.cloud.datacatalog.v1.ViewSpec;
+
+ /**
+ * Encodes the specified ViewSpec message. Does not implicitly {@link google.cloud.datacatalog.v1.ViewSpec.verify|verify} messages.
+ * @param message ViewSpec message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.datacatalog.v1.IViewSpec, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ViewSpec message, length delimited. Does not implicitly {@link google.cloud.datacatalog.v1.ViewSpec.verify|verify} messages.
+ * @param message ViewSpec message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.datacatalog.v1.IViewSpec, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ViewSpec message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ViewSpec
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.datacatalog.v1.ViewSpec;
+
+ /**
+ * Decodes a ViewSpec message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ViewSpec
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.datacatalog.v1.ViewSpec;
+
+ /**
+ * Verifies a ViewSpec message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a ViewSpec message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ViewSpec
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.datacatalog.v1.ViewSpec;
+
+ /**
+ * Creates a plain object from a ViewSpec message. Also converts values to other types if specified.
+ * @param message ViewSpec
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.datacatalog.v1.ViewSpec, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ViewSpec to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ViewSpec
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a TableSpec. */
+ interface ITableSpec {
+
+ /** TableSpec groupedEntry */
+ groupedEntry?: (string|null);
+ }
+
+ /** Represents a TableSpec. */
+ class TableSpec implements ITableSpec {
+
+ /**
+ * Constructs a new TableSpec.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.datacatalog.v1.ITableSpec);
+
+ /** TableSpec groupedEntry. */
+ public groupedEntry: string;
+
+ /**
+ * Creates a new TableSpec instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns TableSpec instance
+ */
+ public static create(properties?: google.cloud.datacatalog.v1.ITableSpec): google.cloud.datacatalog.v1.TableSpec;
+
+ /**
+ * Encodes the specified TableSpec message. Does not implicitly {@link google.cloud.datacatalog.v1.TableSpec.verify|verify} messages.
+ * @param message TableSpec message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.datacatalog.v1.ITableSpec, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified TableSpec message, length delimited. Does not implicitly {@link google.cloud.datacatalog.v1.TableSpec.verify|verify} messages.
+ * @param message TableSpec message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.datacatalog.v1.ITableSpec, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a TableSpec message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns TableSpec
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.datacatalog.v1.TableSpec;
+
+ /**
+ * Decodes a TableSpec message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns TableSpec
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.datacatalog.v1.TableSpec;
+
+ /**
+ * Verifies a TableSpec message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a TableSpec message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns TableSpec
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.datacatalog.v1.TableSpec;
+
+ /**
+ * Creates a plain object from a TableSpec message. Also converts values to other types if specified.
+ * @param message TableSpec
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.datacatalog.v1.TableSpec, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this TableSpec to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for TableSpec
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a BigQueryDateShardedSpec. */
+ interface IBigQueryDateShardedSpec {
+
+ /** BigQueryDateShardedSpec dataset */
+ dataset?: (string|null);
+
+ /** BigQueryDateShardedSpec tablePrefix */
+ tablePrefix?: (string|null);
+
+ /** BigQueryDateShardedSpec shardCount */
+ shardCount?: (number|Long|string|null);
+
+ /** BigQueryDateShardedSpec latestShardResource */
+ latestShardResource?: (string|null);
+ }
+
+ /** Represents a BigQueryDateShardedSpec. */
+ class BigQueryDateShardedSpec implements IBigQueryDateShardedSpec {
+
+ /**
+ * Constructs a new BigQueryDateShardedSpec.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.datacatalog.v1.IBigQueryDateShardedSpec);
+
+ /** BigQueryDateShardedSpec dataset. */
+ public dataset: string;
+
+ /** BigQueryDateShardedSpec tablePrefix. */
+ public tablePrefix: string;
+
+ /** BigQueryDateShardedSpec shardCount. */
+ public shardCount: (number|Long|string);
+
+ /** BigQueryDateShardedSpec latestShardResource. */
+ public latestShardResource: string;
+
+ /**
+ * Creates a new BigQueryDateShardedSpec instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns BigQueryDateShardedSpec instance
+ */
+ public static create(properties?: google.cloud.datacatalog.v1.IBigQueryDateShardedSpec): google.cloud.datacatalog.v1.BigQueryDateShardedSpec;
+
+ /**
+ * Encodes the specified BigQueryDateShardedSpec message. Does not implicitly {@link google.cloud.datacatalog.v1.BigQueryDateShardedSpec.verify|verify} messages.
+ * @param message BigQueryDateShardedSpec message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.datacatalog.v1.IBigQueryDateShardedSpec, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified BigQueryDateShardedSpec message, length delimited. Does not implicitly {@link google.cloud.datacatalog.v1.BigQueryDateShardedSpec.verify|verify} messages.
+ * @param message BigQueryDateShardedSpec message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.datacatalog.v1.IBigQueryDateShardedSpec, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a BigQueryDateShardedSpec message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns BigQueryDateShardedSpec
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.datacatalog.v1.BigQueryDateShardedSpec;
+
+ /**
+ * Decodes a BigQueryDateShardedSpec message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns BigQueryDateShardedSpec
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.datacatalog.v1.BigQueryDateShardedSpec;
+
+ /**
+ * Verifies a BigQueryDateShardedSpec message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a BigQueryDateShardedSpec message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns BigQueryDateShardedSpec
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.datacatalog.v1.BigQueryDateShardedSpec;
+
+ /**
+ * Creates a plain object from a BigQueryDateShardedSpec message. Also converts values to other types if specified.
+ * @param message BigQueryDateShardedSpec
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.datacatalog.v1.BigQueryDateShardedSpec, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this BigQueryDateShardedSpec to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for BigQueryDateShardedSpec
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a Tag. */
+ interface ITag {
+
+ /** Tag name */
+ name?: (string|null);
+
+ /** Tag template */
+ template?: (string|null);
+
+ /** Tag templateDisplayName */
+ templateDisplayName?: (string|null);
+
+ /** Tag column */
+ column?: (string|null);
+
+ /** Tag fields */
+ fields?: ({ [k: string]: google.cloud.datacatalog.v1.ITagField }|null);
+ }
+
+ /** Represents a Tag. */
+ class Tag implements ITag {
+
+ /**
+ * Constructs a new Tag.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.datacatalog.v1.ITag);
+
+ /** Tag name. */
+ public name: string;
+
+ /** Tag template. */
+ public template: string;
+
+ /** Tag templateDisplayName. */
+ public templateDisplayName: string;
+
+ /** Tag column. */
+ public column?: (string|null);
+
+ /** Tag fields. */
+ public fields: { [k: string]: google.cloud.datacatalog.v1.ITagField };
+
+ /** Tag scope. */
+ public scope?: "column";
+
+ /**
+ * Creates a new Tag instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns Tag instance
+ */
+ public static create(properties?: google.cloud.datacatalog.v1.ITag): google.cloud.datacatalog.v1.Tag;
+
+ /**
+ * Encodes the specified Tag message. Does not implicitly {@link google.cloud.datacatalog.v1.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.cloud.datacatalog.v1.ITag, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified Tag message, length delimited. Does not implicitly {@link google.cloud.datacatalog.v1.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.cloud.datacatalog.v1.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.cloud.datacatalog.v1.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.cloud.datacatalog.v1.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.cloud.datacatalog.v1.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.cloud.datacatalog.v1.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 TagField. */
+ interface ITagField {
+
+ /** TagField displayName */
+ displayName?: (string|null);
+
+ /** TagField doubleValue */
+ doubleValue?: (number|null);
+
+ /** TagField stringValue */
+ stringValue?: (string|null);
+
+ /** TagField boolValue */
+ boolValue?: (boolean|null);
+
+ /** TagField timestampValue */
+ timestampValue?: (google.protobuf.ITimestamp|null);
+
+ /** TagField enumValue */
+ enumValue?: (google.cloud.datacatalog.v1.TagField.IEnumValue|null);
+
+ /** TagField richtextValue */
+ richtextValue?: (string|null);
+
+ /** TagField order */
+ order?: (number|null);
+ }
+
+ /** Represents a TagField. */
+ class TagField implements ITagField {
+
+ /**
+ * Constructs a new TagField.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.datacatalog.v1.ITagField);
+
+ /** TagField displayName. */
+ public displayName: string;
+
+ /** TagField doubleValue. */
+ public doubleValue?: (number|null);
+
+ /** TagField stringValue. */
+ public stringValue?: (string|null);
+
+ /** TagField boolValue. */
+ public boolValue?: (boolean|null);
+
+ /** TagField timestampValue. */
+ public timestampValue?: (google.protobuf.ITimestamp|null);
+
+ /** TagField enumValue. */
+ public enumValue?: (google.cloud.datacatalog.v1.TagField.IEnumValue|null);
+
+ /** TagField richtextValue. */
+ public richtextValue?: (string|null);
+
+ /** TagField order. */
+ public order: number;
+
+ /** TagField kind. */
+ public kind?: ("doubleValue"|"stringValue"|"boolValue"|"timestampValue"|"enumValue"|"richtextValue");
+
+ /**
+ * Creates a new TagField instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns TagField instance
+ */
+ public static create(properties?: google.cloud.datacatalog.v1.ITagField): google.cloud.datacatalog.v1.TagField;
+
+ /**
+ * Encodes the specified TagField message. Does not implicitly {@link google.cloud.datacatalog.v1.TagField.verify|verify} messages.
+ * @param message TagField message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.datacatalog.v1.ITagField, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified TagField message, length delimited. Does not implicitly {@link google.cloud.datacatalog.v1.TagField.verify|verify} messages.
+ * @param message TagField message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.datacatalog.v1.ITagField, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a TagField message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns TagField
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.datacatalog.v1.TagField;
+
+ /**
+ * Decodes a TagField message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns TagField
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.datacatalog.v1.TagField;
+
+ /**
+ * Verifies a TagField message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a TagField message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns TagField
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.datacatalog.v1.TagField;
+
+ /**
+ * Creates a plain object from a TagField message. Also converts values to other types if specified.
+ * @param message TagField
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.datacatalog.v1.TagField, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this TagField to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for TagField
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace TagField {
+
+ /** Properties of an EnumValue. */
+ interface IEnumValue {
+
+ /** EnumValue displayName */
+ displayName?: (string|null);
+ }
+
+ /** Represents an EnumValue. */
+ class EnumValue implements IEnumValue {
+
+ /**
+ * Constructs a new EnumValue.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.datacatalog.v1.TagField.IEnumValue);
+
+ /** EnumValue displayName. */
+ public displayName: string;
+
+ /**
+ * Creates a new EnumValue instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns EnumValue instance
+ */
+ public static create(properties?: google.cloud.datacatalog.v1.TagField.IEnumValue): google.cloud.datacatalog.v1.TagField.EnumValue;
+
+ /**
+ * Encodes the specified EnumValue message. Does not implicitly {@link google.cloud.datacatalog.v1.TagField.EnumValue.verify|verify} messages.
+ * @param message EnumValue message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.datacatalog.v1.TagField.IEnumValue, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified EnumValue message, length delimited. Does not implicitly {@link google.cloud.datacatalog.v1.TagField.EnumValue.verify|verify} messages.
+ * @param message EnumValue message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.datacatalog.v1.TagField.IEnumValue, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an EnumValue message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns EnumValue
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.datacatalog.v1.TagField.EnumValue;
+
+ /**
+ * Decodes an EnumValue message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns EnumValue
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.datacatalog.v1.TagField.EnumValue;
+
+ /**
+ * Verifies an EnumValue message.
+ * @param message Plain 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 EnumValue message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns EnumValue
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.datacatalog.v1.TagField.EnumValue;
+
+ /**
+ * Creates a plain object from an EnumValue message. Also converts values to other types if specified.
+ * @param message EnumValue
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.datacatalog.v1.TagField.EnumValue, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this EnumValue to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for EnumValue
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+ }
+
+ /** Properties of a TagTemplate. */
+ interface ITagTemplate {
+
+ /** TagTemplate name */
+ name?: (string|null);
+
+ /** TagTemplate displayName */
+ displayName?: (string|null);
+
+ /** TagTemplate isPubliclyReadable */
+ isPubliclyReadable?: (boolean|null);
+
+ /** TagTemplate fields */
+ fields?: ({ [k: string]: google.cloud.datacatalog.v1.ITagTemplateField }|null);
+ }
+
+ /** Represents a TagTemplate. */
+ class TagTemplate implements ITagTemplate {
+
+ /**
+ * Constructs a new TagTemplate.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.datacatalog.v1.ITagTemplate);
+
+ /** TagTemplate name. */
+ public name: string;
+
+ /** TagTemplate displayName. */
+ public displayName: string;
+
+ /** TagTemplate isPubliclyReadable. */
+ public isPubliclyReadable: boolean;
+
+ /** TagTemplate fields. */
+ public fields: { [k: string]: google.cloud.datacatalog.v1.ITagTemplateField };
+
+ /**
+ * Creates a new TagTemplate instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns TagTemplate instance
+ */
+ public static create(properties?: google.cloud.datacatalog.v1.ITagTemplate): google.cloud.datacatalog.v1.TagTemplate;
+
+ /**
+ * Encodes the specified TagTemplate message. Does not implicitly {@link google.cloud.datacatalog.v1.TagTemplate.verify|verify} messages.
+ * @param message TagTemplate message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.datacatalog.v1.ITagTemplate, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified TagTemplate message, length delimited. Does not implicitly {@link google.cloud.datacatalog.v1.TagTemplate.verify|verify} messages.
+ * @param message TagTemplate message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.datacatalog.v1.ITagTemplate, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a TagTemplate message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns TagTemplate
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.datacatalog.v1.TagTemplate;
+
+ /**
+ * Decodes a TagTemplate message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns TagTemplate
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.datacatalog.v1.TagTemplate;
+
+ /**
+ * Verifies a TagTemplate message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a TagTemplate message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns TagTemplate
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.datacatalog.v1.TagTemplate;
+
+ /**
+ * Creates a plain object from a TagTemplate message. Also converts values to other types if specified.
+ * @param message TagTemplate
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.datacatalog.v1.TagTemplate, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this TagTemplate to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for TagTemplate
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a TagTemplateField. */
+ interface ITagTemplateField {
+
+ /** TagTemplateField name */
+ name?: (string|null);
+
+ /** TagTemplateField displayName */
+ displayName?: (string|null);
+
+ /** TagTemplateField type */
+ type?: (google.cloud.datacatalog.v1.IFieldType|null);
+
+ /** TagTemplateField isRequired */
+ isRequired?: (boolean|null);
+
+ /** TagTemplateField description */
+ description?: (string|null);
+
+ /** TagTemplateField order */
+ order?: (number|null);
+ }
+
+ /** Represents a TagTemplateField. */
+ class TagTemplateField implements ITagTemplateField {
+
+ /**
+ * Constructs a new TagTemplateField.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.datacatalog.v1.ITagTemplateField);
+
+ /** TagTemplateField name. */
+ public name: string;
+
+ /** TagTemplateField displayName. */
+ public displayName: string;
+
+ /** TagTemplateField type. */
+ public type?: (google.cloud.datacatalog.v1.IFieldType|null);
+
+ /** TagTemplateField isRequired. */
+ public isRequired: boolean;
+
+ /** TagTemplateField description. */
+ public description: string;
+
+ /** TagTemplateField order. */
+ public order: number;
+
+ /**
+ * Creates a new TagTemplateField instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns TagTemplateField instance
+ */
+ public static create(properties?: google.cloud.datacatalog.v1.ITagTemplateField): google.cloud.datacatalog.v1.TagTemplateField;
+
+ /**
+ * Encodes the specified TagTemplateField message. Does not implicitly {@link google.cloud.datacatalog.v1.TagTemplateField.verify|verify} messages.
+ * @param message TagTemplateField message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.datacatalog.v1.ITagTemplateField, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified TagTemplateField message, length delimited. Does not implicitly {@link google.cloud.datacatalog.v1.TagTemplateField.verify|verify} messages.
+ * @param message TagTemplateField message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.datacatalog.v1.ITagTemplateField, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a TagTemplateField message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns TagTemplateField
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.datacatalog.v1.TagTemplateField;
+
+ /**
+ * Decodes a TagTemplateField message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns TagTemplateField
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.datacatalog.v1.TagTemplateField;
+
+ /**
+ * Verifies a TagTemplateField message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a TagTemplateField message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns TagTemplateField
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.datacatalog.v1.TagTemplateField;
+
+ /**
+ * Creates a plain object from a TagTemplateField message. Also converts values to other types if specified.
+ * @param message TagTemplateField
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.datacatalog.v1.TagTemplateField, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this TagTemplateField to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for TagTemplateField
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a FieldType. */
+ interface IFieldType {
+
+ /** FieldType primitiveType */
+ primitiveType?: (google.cloud.datacatalog.v1.FieldType.PrimitiveType|keyof typeof google.cloud.datacatalog.v1.FieldType.PrimitiveType|null);
+
+ /** FieldType enumType */
+ enumType?: (google.cloud.datacatalog.v1.FieldType.IEnumType|null);
+ }
+
+ /** Represents a FieldType. */
+ class FieldType implements IFieldType {
+
+ /**
+ * Constructs a new FieldType.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.datacatalog.v1.IFieldType);
+
+ /** FieldType primitiveType. */
+ public primitiveType?: (google.cloud.datacatalog.v1.FieldType.PrimitiveType|keyof typeof google.cloud.datacatalog.v1.FieldType.PrimitiveType|null);
+
+ /** FieldType enumType. */
+ public enumType?: (google.cloud.datacatalog.v1.FieldType.IEnumType|null);
+
+ /** FieldType typeDecl. */
+ public typeDecl?: ("primitiveType"|"enumType");
+
+ /**
+ * Creates a new FieldType instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns FieldType instance
+ */
+ public static create(properties?: google.cloud.datacatalog.v1.IFieldType): google.cloud.datacatalog.v1.FieldType;
+
+ /**
+ * Encodes the specified FieldType message. Does not implicitly {@link google.cloud.datacatalog.v1.FieldType.verify|verify} messages.
+ * @param message FieldType message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.datacatalog.v1.IFieldType, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified FieldType message, length delimited. Does not implicitly {@link google.cloud.datacatalog.v1.FieldType.verify|verify} messages.
+ * @param message FieldType message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.datacatalog.v1.IFieldType, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a FieldType message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns FieldType
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.datacatalog.v1.FieldType;
+
+ /**
+ * Decodes a FieldType message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns FieldType
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.datacatalog.v1.FieldType;
+
+ /**
+ * Verifies a FieldType message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a FieldType message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns FieldType
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.datacatalog.v1.FieldType;
+
+ /**
+ * Creates a plain object from a FieldType message. Also converts values to other types if specified.
+ * @param message FieldType
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.datacatalog.v1.FieldType, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this FieldType to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for FieldType
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace FieldType {
+
+ /** PrimitiveType enum. */
+ enum PrimitiveType {
+ PRIMITIVE_TYPE_UNSPECIFIED = 0,
+ DOUBLE = 1,
+ STRING = 2,
+ BOOL = 3,
+ TIMESTAMP = 4,
+ RICHTEXT = 5
+ }
+
+ /** Properties of an EnumType. */
+ interface IEnumType {
+
+ /** EnumType allowedValues */
+ allowedValues?: (google.cloud.datacatalog.v1.FieldType.EnumType.IEnumValue[]|null);
+ }
+
+ /** Represents an EnumType. */
+ class EnumType implements IEnumType {
+
+ /**
+ * Constructs a new EnumType.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.datacatalog.v1.FieldType.IEnumType);
+
+ /** EnumType allowedValues. */
+ public allowedValues: google.cloud.datacatalog.v1.FieldType.EnumType.IEnumValue[];
+
+ /**
+ * Creates a new EnumType instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns EnumType instance
+ */
+ public static create(properties?: google.cloud.datacatalog.v1.FieldType.IEnumType): google.cloud.datacatalog.v1.FieldType.EnumType;
+
+ /**
+ * Encodes the specified EnumType message. Does not implicitly {@link google.cloud.datacatalog.v1.FieldType.EnumType.verify|verify} messages.
+ * @param message EnumType message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.datacatalog.v1.FieldType.IEnumType, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified EnumType message, length delimited. Does not implicitly {@link google.cloud.datacatalog.v1.FieldType.EnumType.verify|verify} messages.
+ * @param message EnumType message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.datacatalog.v1.FieldType.IEnumType, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an EnumType message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns EnumType
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.datacatalog.v1.FieldType.EnumType;
+
+ /**
+ * Decodes an EnumType message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns EnumType
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.datacatalog.v1.FieldType.EnumType;
+
+ /**
+ * Verifies an EnumType message.
+ * @param message Plain 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 EnumType message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns EnumType
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.datacatalog.v1.FieldType.EnumType;
+
+ /**
+ * Creates a plain object from an EnumType message. Also converts values to other types if specified.
+ * @param message EnumType
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.datacatalog.v1.FieldType.EnumType, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this EnumType to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for EnumType
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace EnumType {
+
+ /** Properties of an EnumValue. */
+ interface IEnumValue {
+
+ /** EnumValue displayName */
+ displayName?: (string|null);
+ }
+
+ /** Represents an EnumValue. */
+ class EnumValue implements IEnumValue {
+
+ /**
+ * Constructs a new EnumValue.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.datacatalog.v1.FieldType.EnumType.IEnumValue);
+
+ /** EnumValue displayName. */
+ public displayName: string;
+
+ /**
+ * Creates a new EnumValue instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns EnumValue instance
+ */
+ public static create(properties?: google.cloud.datacatalog.v1.FieldType.EnumType.IEnumValue): google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue;
+
+ /**
+ * Encodes the specified EnumValue message. Does not implicitly {@link google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue.verify|verify} messages.
+ * @param message EnumValue message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.datacatalog.v1.FieldType.EnumType.IEnumValue, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified EnumValue message, length delimited. Does not implicitly {@link google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue.verify|verify} messages.
+ * @param message EnumValue message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.datacatalog.v1.FieldType.EnumType.IEnumValue, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an EnumValue message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns EnumValue
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue;
+
+ /**
+ * Decodes an EnumValue message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns EnumValue
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue;
+
+ /**
+ * Verifies an EnumValue message.
+ * @param message Plain 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 EnumValue message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns EnumValue
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue;
+
+ /**
+ * Creates a plain object from an EnumValue message. Also converts values to other types if specified.
+ * @param message EnumValue
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this EnumValue to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for EnumValue
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+ }
+ }
+
+ /** Properties of a UsageStats. */
+ interface IUsageStats {
+
+ /** UsageStats totalCompletions */
+ totalCompletions?: (number|null);
+
+ /** UsageStats totalFailures */
+ totalFailures?: (number|null);
+
+ /** UsageStats totalCancellations */
+ totalCancellations?: (number|null);
+
+ /** UsageStats totalExecutionTimeForCompletionsMillis */
+ totalExecutionTimeForCompletionsMillis?: (number|null);
+ }
+
+ /** Represents a UsageStats. */
+ class UsageStats implements IUsageStats {
+
+ /**
+ * Constructs a new UsageStats.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.datacatalog.v1.IUsageStats);
+
+ /** UsageStats totalCompletions. */
+ public totalCompletions: number;
+
+ /** UsageStats totalFailures. */
+ public totalFailures: number;
+
+ /** UsageStats totalCancellations. */
+ public totalCancellations: number;
+
+ /** UsageStats totalExecutionTimeForCompletionsMillis. */
+ public totalExecutionTimeForCompletionsMillis: number;
+
+ /**
+ * Creates a new UsageStats instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns UsageStats instance
+ */
+ public static create(properties?: google.cloud.datacatalog.v1.IUsageStats): google.cloud.datacatalog.v1.UsageStats;
+
+ /**
+ * Encodes the specified UsageStats message. Does not implicitly {@link google.cloud.datacatalog.v1.UsageStats.verify|verify} messages.
+ * @param message UsageStats message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.datacatalog.v1.IUsageStats, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified UsageStats message, length delimited. Does not implicitly {@link google.cloud.datacatalog.v1.UsageStats.verify|verify} messages.
+ * @param message UsageStats message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.datacatalog.v1.IUsageStats, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a UsageStats message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns UsageStats
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.datacatalog.v1.UsageStats;
+
+ /**
+ * Decodes a UsageStats message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns UsageStats
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.datacatalog.v1.UsageStats;
+
+ /**
+ * Verifies a UsageStats message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a UsageStats message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns UsageStats
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.datacatalog.v1.UsageStats;
+
+ /**
+ * Creates a plain object from a UsageStats message. Also converts values to other types if specified.
+ * @param message UsageStats
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.datacatalog.v1.UsageStats, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this UsageStats to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for UsageStats
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a UsageSignal. */
+ interface IUsageSignal {
+
+ /** UsageSignal updateTime */
+ updateTime?: (google.protobuf.ITimestamp|null);
+
+ /** UsageSignal usageWithinTimeRange */
+ usageWithinTimeRange?: ({ [k: string]: google.cloud.datacatalog.v1.IUsageStats }|null);
+ }
+
+ /** Represents a UsageSignal. */
+ class UsageSignal implements IUsageSignal {
+
+ /**
+ * Constructs a new UsageSignal.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.datacatalog.v1.IUsageSignal);
+
+ /** UsageSignal updateTime. */
+ public updateTime?: (google.protobuf.ITimestamp|null);
+
+ /** UsageSignal usageWithinTimeRange. */
+ public usageWithinTimeRange: { [k: string]: google.cloud.datacatalog.v1.IUsageStats };
+
+ /**
+ * Creates a new UsageSignal instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns UsageSignal instance
+ */
+ public static create(properties?: google.cloud.datacatalog.v1.IUsageSignal): google.cloud.datacatalog.v1.UsageSignal;
+
+ /**
+ * Encodes the specified UsageSignal message. Does not implicitly {@link google.cloud.datacatalog.v1.UsageSignal.verify|verify} messages.
+ * @param message UsageSignal message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.datacatalog.v1.IUsageSignal, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified UsageSignal message, length delimited. Does not implicitly {@link google.cloud.datacatalog.v1.UsageSignal.verify|verify} messages.
+ * @param message UsageSignal message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.datacatalog.v1.IUsageSignal, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a UsageSignal message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns UsageSignal
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.datacatalog.v1.UsageSignal;
+
+ /**
+ * Decodes a UsageSignal message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns UsageSignal
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.datacatalog.v1.UsageSignal;
+
+ /**
+ * Verifies a UsageSignal message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a UsageSignal message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns UsageSignal
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.datacatalog.v1.UsageSignal;
+
+ /**
+ * Creates a plain object from a UsageSignal message. Also converts values to other types if specified.
+ * @param message UsageSignal
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.datacatalog.v1.UsageSignal, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this UsageSignal to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for UsageSignal
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Represents a PolicyTagManager */
+ class PolicyTagManager extends $protobuf.rpc.Service {
+
+ /**
+ * Constructs a new PolicyTagManager 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 PolicyTagManager 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): PolicyTagManager;
+
+ /**
+ * Calls CreateTaxonomy.
+ * @param request CreateTaxonomyRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and Taxonomy
+ */
+ public createTaxonomy(request: google.cloud.datacatalog.v1.ICreateTaxonomyRequest, callback: google.cloud.datacatalog.v1.PolicyTagManager.CreateTaxonomyCallback): void;
+
+ /**
+ * Calls CreateTaxonomy.
+ * @param request CreateTaxonomyRequest message or plain object
+ * @returns Promise
+ */
+ public createTaxonomy(request: google.cloud.datacatalog.v1.ICreateTaxonomyRequest): Promise;
+
+ /**
+ * Calls DeleteTaxonomy.
+ * @param request DeleteTaxonomyRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and Empty
+ */
+ public deleteTaxonomy(request: google.cloud.datacatalog.v1.IDeleteTaxonomyRequest, callback: google.cloud.datacatalog.v1.PolicyTagManager.DeleteTaxonomyCallback): void;
+
+ /**
+ * Calls DeleteTaxonomy.
+ * @param request DeleteTaxonomyRequest message or plain object
+ * @returns Promise
+ */
+ public deleteTaxonomy(request: google.cloud.datacatalog.v1.IDeleteTaxonomyRequest): Promise;
+
+ /**
+ * Calls UpdateTaxonomy.
+ * @param request UpdateTaxonomyRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and Taxonomy
+ */
+ public updateTaxonomy(request: google.cloud.datacatalog.v1.IUpdateTaxonomyRequest, callback: google.cloud.datacatalog.v1.PolicyTagManager.UpdateTaxonomyCallback): void;
+
+ /**
+ * Calls UpdateTaxonomy.
+ * @param request UpdateTaxonomyRequest message or plain object
+ * @returns Promise
+ */
+ public updateTaxonomy(request: google.cloud.datacatalog.v1.IUpdateTaxonomyRequest): Promise;
+
+ /**
+ * Calls ListTaxonomies.
+ * @param request ListTaxonomiesRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and ListTaxonomiesResponse
+ */
+ public listTaxonomies(request: google.cloud.datacatalog.v1.IListTaxonomiesRequest, callback: google.cloud.datacatalog.v1.PolicyTagManager.ListTaxonomiesCallback): void;
+
+ /**
+ * Calls ListTaxonomies.
+ * @param request ListTaxonomiesRequest message or plain object
+ * @returns Promise
+ */
+ public listTaxonomies(request: google.cloud.datacatalog.v1.IListTaxonomiesRequest): Promise;
+
+ /**
+ * Calls GetTaxonomy.
+ * @param request GetTaxonomyRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and Taxonomy
+ */
+ public getTaxonomy(request: google.cloud.datacatalog.v1.IGetTaxonomyRequest, callback: google.cloud.datacatalog.v1.PolicyTagManager.GetTaxonomyCallback): void;
+
+ /**
+ * Calls GetTaxonomy.
+ * @param request GetTaxonomyRequest message or plain object
+ * @returns Promise
+ */
+ public getTaxonomy(request: google.cloud.datacatalog.v1.IGetTaxonomyRequest): Promise;
+
+ /**
+ * Calls CreatePolicyTag.
+ * @param request CreatePolicyTagRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and PolicyTag
+ */
+ public createPolicyTag(request: google.cloud.datacatalog.v1.ICreatePolicyTagRequest, callback: google.cloud.datacatalog.v1.PolicyTagManager.CreatePolicyTagCallback): void;
+
+ /**
+ * Calls CreatePolicyTag.
+ * @param request CreatePolicyTagRequest message or plain object
+ * @returns Promise
+ */
+ public createPolicyTag(request: google.cloud.datacatalog.v1.ICreatePolicyTagRequest): Promise;
+
+ /**
+ * Calls DeletePolicyTag.
+ * @param request DeletePolicyTagRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and Empty
+ */
+ public deletePolicyTag(request: google.cloud.datacatalog.v1.IDeletePolicyTagRequest, callback: google.cloud.datacatalog.v1.PolicyTagManager.DeletePolicyTagCallback): void;
+
+ /**
+ * Calls DeletePolicyTag.
+ * @param request DeletePolicyTagRequest message or plain object
+ * @returns Promise
+ */
+ public deletePolicyTag(request: google.cloud.datacatalog.v1.IDeletePolicyTagRequest): Promise;
+
+ /**
+ * Calls UpdatePolicyTag.
+ * @param request UpdatePolicyTagRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and PolicyTag
+ */
+ public updatePolicyTag(request: google.cloud.datacatalog.v1.IUpdatePolicyTagRequest, callback: google.cloud.datacatalog.v1.PolicyTagManager.UpdatePolicyTagCallback): void;
+
+ /**
+ * Calls UpdatePolicyTag.
+ * @param request UpdatePolicyTagRequest message or plain object
+ * @returns Promise
+ */
+ public updatePolicyTag(request: google.cloud.datacatalog.v1.IUpdatePolicyTagRequest): Promise;
+
+ /**
+ * Calls ListPolicyTags.
+ * @param request ListPolicyTagsRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and ListPolicyTagsResponse
+ */
+ public listPolicyTags(request: google.cloud.datacatalog.v1.IListPolicyTagsRequest, callback: google.cloud.datacatalog.v1.PolicyTagManager.ListPolicyTagsCallback): void;
+
+ /**
+ * Calls ListPolicyTags.
+ * @param request ListPolicyTagsRequest message or plain object
+ * @returns Promise
+ */
+ public listPolicyTags(request: google.cloud.datacatalog.v1.IListPolicyTagsRequest): Promise;
+
+ /**
+ * Calls GetPolicyTag.
+ * @param request GetPolicyTagRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and PolicyTag
+ */
+ public getPolicyTag(request: google.cloud.datacatalog.v1.IGetPolicyTagRequest, callback: google.cloud.datacatalog.v1.PolicyTagManager.GetPolicyTagCallback): void;
+
+ /**
+ * Calls GetPolicyTag.
+ * @param request GetPolicyTagRequest message or plain object
+ * @returns Promise
+ */
+ public getPolicyTag(request: google.cloud.datacatalog.v1.IGetPolicyTagRequest): Promise;
+
+ /**
+ * Calls GetIamPolicy.
+ * @param request GetIamPolicyRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and Policy
+ */
+ public getIamPolicy(request: google.iam.v1.IGetIamPolicyRequest, callback: google.cloud.datacatalog.v1.PolicyTagManager.GetIamPolicyCallback): void;
+
+ /**
+ * Calls GetIamPolicy.
+ * @param request GetIamPolicyRequest message or plain object
+ * @returns Promise
+ */
+ public getIamPolicy(request: google.iam.v1.IGetIamPolicyRequest): Promise;
+
+ /**
+ * Calls SetIamPolicy.
+ * @param request SetIamPolicyRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and Policy
+ */
+ public setIamPolicy(request: google.iam.v1.ISetIamPolicyRequest, callback: google.cloud.datacatalog.v1.PolicyTagManager.SetIamPolicyCallback): void;
+
+ /**
+ * Calls SetIamPolicy.
+ * @param request SetIamPolicyRequest message or plain object
+ * @returns Promise
+ */
+ public setIamPolicy(request: google.iam.v1.ISetIamPolicyRequest): Promise;
+
+ /**
+ * Calls TestIamPermissions.
+ * @param request TestIamPermissionsRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and TestIamPermissionsResponse
+ */
+ public testIamPermissions(request: google.iam.v1.ITestIamPermissionsRequest, callback: google.cloud.datacatalog.v1.PolicyTagManager.TestIamPermissionsCallback): void;
+
+ /**
+ * Calls TestIamPermissions.
+ * @param request TestIamPermissionsRequest message or plain object
+ * @returns Promise
+ */
+ public testIamPermissions(request: google.iam.v1.ITestIamPermissionsRequest): Promise;
+ }
+
+ namespace PolicyTagManager {
+
+ /**
+ * Callback as used by {@link google.cloud.datacatalog.v1.PolicyTagManager|createTaxonomy}.
+ * @param error Error, if any
+ * @param [response] Taxonomy
+ */
+ type CreateTaxonomyCallback = (error: (Error|null), response?: google.cloud.datacatalog.v1.Taxonomy) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.datacatalog.v1.PolicyTagManager|deleteTaxonomy}.
+ * @param error Error, if any
+ * @param [response] Empty
+ */
+ type DeleteTaxonomyCallback = (error: (Error|null), response?: google.protobuf.Empty) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.datacatalog.v1.PolicyTagManager|updateTaxonomy}.
+ * @param error Error, if any
+ * @param [response] Taxonomy
+ */
+ type UpdateTaxonomyCallback = (error: (Error|null), response?: google.cloud.datacatalog.v1.Taxonomy) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.datacatalog.v1.PolicyTagManager|listTaxonomies}.
+ * @param error Error, if any
+ * @param [response] ListTaxonomiesResponse
+ */
+ type ListTaxonomiesCallback = (error: (Error|null), response?: google.cloud.datacatalog.v1.ListTaxonomiesResponse) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.datacatalog.v1.PolicyTagManager|getTaxonomy}.
+ * @param error Error, if any
+ * @param [response] Taxonomy
+ */
+ type GetTaxonomyCallback = (error: (Error|null), response?: google.cloud.datacatalog.v1.Taxonomy) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.datacatalog.v1.PolicyTagManager|createPolicyTag}.
+ * @param error Error, if any
+ * @param [response] PolicyTag
+ */
+ type CreatePolicyTagCallback = (error: (Error|null), response?: google.cloud.datacatalog.v1.PolicyTag) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.datacatalog.v1.PolicyTagManager|deletePolicyTag}.
+ * @param error Error, if any
+ * @param [response] Empty
+ */
+ type DeletePolicyTagCallback = (error: (Error|null), response?: google.protobuf.Empty) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.datacatalog.v1.PolicyTagManager|updatePolicyTag}.
+ * @param error Error, if any
+ * @param [response] PolicyTag
+ */
+ type UpdatePolicyTagCallback = (error: (Error|null), response?: google.cloud.datacatalog.v1.PolicyTag) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.datacatalog.v1.PolicyTagManager|listPolicyTags}.
+ * @param error Error, if any
+ * @param [response] ListPolicyTagsResponse
+ */
+ type ListPolicyTagsCallback = (error: (Error|null), response?: google.cloud.datacatalog.v1.ListPolicyTagsResponse) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.datacatalog.v1.PolicyTagManager|getPolicyTag}.
+ * @param error Error, if any
+ * @param [response] PolicyTag
+ */
+ type GetPolicyTagCallback = (error: (Error|null), response?: google.cloud.datacatalog.v1.PolicyTag) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.datacatalog.v1.PolicyTagManager|getIamPolicy}.
+ * @param error Error, if any
+ * @param [response] Policy
+ */
+ type GetIamPolicyCallback = (error: (Error|null), response?: google.iam.v1.Policy) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.datacatalog.v1.PolicyTagManager|setIamPolicy}.
+ * @param error Error, if any
+ * @param [response] Policy
+ */
+ type SetIamPolicyCallback = (error: (Error|null), response?: google.iam.v1.Policy) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.datacatalog.v1.PolicyTagManager|testIamPermissions}.
+ * @param error Error, if any
+ * @param [response] TestIamPermissionsResponse
+ */
+ type TestIamPermissionsCallback = (error: (Error|null), response?: google.iam.v1.TestIamPermissionsResponse) => void;
+ }
+
+ /** Properties of a Taxonomy. */
+ interface ITaxonomy {
+
+ /** Taxonomy name */
+ name?: (string|null);
+
+ /** Taxonomy displayName */
+ displayName?: (string|null);
+
+ /** Taxonomy description */
+ description?: (string|null);
+
+ /** Taxonomy policyTagCount */
+ policyTagCount?: (number|null);
+
+ /** Taxonomy taxonomyTimestamps */
+ taxonomyTimestamps?: (google.cloud.datacatalog.v1.ISystemTimestamps|null);
+
+ /** Taxonomy activatedPolicyTypes */
+ activatedPolicyTypes?: (google.cloud.datacatalog.v1.Taxonomy.PolicyType[]|null);
+ }
+
+ /** Represents a Taxonomy. */
+ class Taxonomy implements ITaxonomy {
+
+ /**
+ * Constructs a new Taxonomy.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.datacatalog.v1.ITaxonomy);
+
+ /** Taxonomy name. */
+ public name: string;
+
+ /** Taxonomy displayName. */
+ public displayName: string;
+
+ /** Taxonomy description. */
+ public description: string;
+
+ /** Taxonomy policyTagCount. */
+ public policyTagCount: number;
+
+ /** Taxonomy taxonomyTimestamps. */
+ public taxonomyTimestamps?: (google.cloud.datacatalog.v1.ISystemTimestamps|null);
+
+ /** Taxonomy activatedPolicyTypes. */
+ public activatedPolicyTypes: google.cloud.datacatalog.v1.Taxonomy.PolicyType[];
+
+ /**
+ * Creates a new Taxonomy instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns Taxonomy instance
+ */
+ public static create(properties?: google.cloud.datacatalog.v1.ITaxonomy): google.cloud.datacatalog.v1.Taxonomy;
+
+ /**
+ * Encodes the specified Taxonomy message. Does not implicitly {@link google.cloud.datacatalog.v1.Taxonomy.verify|verify} messages.
+ * @param message Taxonomy message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.datacatalog.v1.ITaxonomy, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified Taxonomy message, length delimited. Does not implicitly {@link google.cloud.datacatalog.v1.Taxonomy.verify|verify} messages.
+ * @param message Taxonomy message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.datacatalog.v1.ITaxonomy, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a Taxonomy message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns Taxonomy
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.datacatalog.v1.Taxonomy;
+
+ /**
+ * Decodes a Taxonomy message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns Taxonomy
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.datacatalog.v1.Taxonomy;
+
+ /**
+ * Verifies a Taxonomy message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a Taxonomy message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns Taxonomy
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.datacatalog.v1.Taxonomy;
+
+ /**
+ * Creates a plain object from a Taxonomy message. Also converts values to other types if specified.
+ * @param message Taxonomy
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.datacatalog.v1.Taxonomy, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this Taxonomy to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for Taxonomy
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace Taxonomy {
+
+ /** PolicyType enum. */
+ enum PolicyType {
+ POLICY_TYPE_UNSPECIFIED = 0,
+ FINE_GRAINED_ACCESS_CONTROL = 1
+ }
+ }
+
+ /** Properties of a PolicyTag. */
+ interface IPolicyTag {
+
+ /** PolicyTag name */
+ name?: (string|null);
+
+ /** PolicyTag displayName */
+ displayName?: (string|null);
+
+ /** PolicyTag description */
+ description?: (string|null);
+
+ /** PolicyTag parentPolicyTag */
+ parentPolicyTag?: (string|null);
+
+ /** PolicyTag childPolicyTags */
+ childPolicyTags?: (string[]|null);
+ }
+
+ /** Represents a PolicyTag. */
+ class PolicyTag implements IPolicyTag {
+
+ /**
+ * Constructs a new PolicyTag.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.datacatalog.v1.IPolicyTag);
+
+ /** PolicyTag name. */
+ public name: string;
+
+ /** PolicyTag displayName. */
+ public displayName: string;
+
+ /** PolicyTag description. */
+ public description: string;
+
+ /** PolicyTag parentPolicyTag. */
+ public parentPolicyTag: string;
+
+ /** PolicyTag childPolicyTags. */
+ public childPolicyTags: string[];
+
+ /**
+ * Creates a new PolicyTag instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns PolicyTag instance
+ */
+ public static create(properties?: google.cloud.datacatalog.v1.IPolicyTag): google.cloud.datacatalog.v1.PolicyTag;
+
+ /**
+ * Encodes the specified PolicyTag message. Does not implicitly {@link google.cloud.datacatalog.v1.PolicyTag.verify|verify} messages.
+ * @param message PolicyTag message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.datacatalog.v1.IPolicyTag, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified PolicyTag message, length delimited. Does not implicitly {@link google.cloud.datacatalog.v1.PolicyTag.verify|verify} messages.
+ * @param message PolicyTag message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.datacatalog.v1.IPolicyTag, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a PolicyTag message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns PolicyTag
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.datacatalog.v1.PolicyTag;
+
+ /**
+ * Decodes a PolicyTag message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns PolicyTag
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.datacatalog.v1.PolicyTag;
+
+ /**
+ * Verifies a PolicyTag message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a PolicyTag message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns PolicyTag
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.datacatalog.v1.PolicyTag;
+
+ /**
+ * Creates a plain object from a PolicyTag message. Also converts values to other types if specified.
+ * @param message PolicyTag
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.datacatalog.v1.PolicyTag, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this PolicyTag to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for PolicyTag
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a CreateTaxonomyRequest. */
+ interface ICreateTaxonomyRequest {
+
+ /** CreateTaxonomyRequest parent */
+ parent?: (string|null);
+
+ /** CreateTaxonomyRequest taxonomy */
+ taxonomy?: (google.cloud.datacatalog.v1.ITaxonomy|null);
+ }
+
+ /** Represents a CreateTaxonomyRequest. */
+ class CreateTaxonomyRequest implements ICreateTaxonomyRequest {
+
+ /**
+ * Constructs a new CreateTaxonomyRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.datacatalog.v1.ICreateTaxonomyRequest);
+
+ /** CreateTaxonomyRequest parent. */
+ public parent: string;
+
+ /** CreateTaxonomyRequest taxonomy. */
+ public taxonomy?: (google.cloud.datacatalog.v1.ITaxonomy|null);
+
+ /**
+ * Creates a new CreateTaxonomyRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns CreateTaxonomyRequest instance
+ */
+ public static create(properties?: google.cloud.datacatalog.v1.ICreateTaxonomyRequest): google.cloud.datacatalog.v1.CreateTaxonomyRequest;
+
+ /**
+ * Encodes the specified CreateTaxonomyRequest message. Does not implicitly {@link google.cloud.datacatalog.v1.CreateTaxonomyRequest.verify|verify} messages.
+ * @param message CreateTaxonomyRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.datacatalog.v1.ICreateTaxonomyRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified CreateTaxonomyRequest message, length delimited. Does not implicitly {@link google.cloud.datacatalog.v1.CreateTaxonomyRequest.verify|verify} messages.
+ * @param message CreateTaxonomyRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.datacatalog.v1.ICreateTaxonomyRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a CreateTaxonomyRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns CreateTaxonomyRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.datacatalog.v1.CreateTaxonomyRequest;
+
+ /**
+ * Decodes a CreateTaxonomyRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns CreateTaxonomyRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.datacatalog.v1.CreateTaxonomyRequest;
+
+ /**
+ * Verifies a CreateTaxonomyRequest message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a CreateTaxonomyRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns CreateTaxonomyRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.datacatalog.v1.CreateTaxonomyRequest;
+
+ /**
+ * Creates a plain object from a CreateTaxonomyRequest message. Also converts values to other types if specified.
+ * @param message CreateTaxonomyRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.datacatalog.v1.CreateTaxonomyRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this CreateTaxonomyRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for CreateTaxonomyRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a DeleteTaxonomyRequest. */
+ interface IDeleteTaxonomyRequest {
+
+ /** DeleteTaxonomyRequest name */
+ name?: (string|null);
+ }
+
+ /** Represents a DeleteTaxonomyRequest. */
+ class DeleteTaxonomyRequest implements IDeleteTaxonomyRequest {
+
+ /**
+ * Constructs a new DeleteTaxonomyRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.datacatalog.v1.IDeleteTaxonomyRequest);
+
+ /** DeleteTaxonomyRequest name. */
+ public name: string;
+
+ /**
+ * Creates a new DeleteTaxonomyRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns DeleteTaxonomyRequest instance
+ */
+ public static create(properties?: google.cloud.datacatalog.v1.IDeleteTaxonomyRequest): google.cloud.datacatalog.v1.DeleteTaxonomyRequest;
+
+ /**
+ * Encodes the specified DeleteTaxonomyRequest message. Does not implicitly {@link google.cloud.datacatalog.v1.DeleteTaxonomyRequest.verify|verify} messages.
+ * @param message DeleteTaxonomyRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.datacatalog.v1.IDeleteTaxonomyRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified DeleteTaxonomyRequest message, length delimited. Does not implicitly {@link google.cloud.datacatalog.v1.DeleteTaxonomyRequest.verify|verify} messages.
+ * @param message DeleteTaxonomyRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.datacatalog.v1.IDeleteTaxonomyRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a DeleteTaxonomyRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns DeleteTaxonomyRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.datacatalog.v1.DeleteTaxonomyRequest;
+
+ /**
+ * Decodes a DeleteTaxonomyRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns DeleteTaxonomyRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.datacatalog.v1.DeleteTaxonomyRequest;
+
+ /**
+ * Verifies a DeleteTaxonomyRequest message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a DeleteTaxonomyRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns DeleteTaxonomyRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.datacatalog.v1.DeleteTaxonomyRequest;
+
+ /**
+ * Creates a plain object from a DeleteTaxonomyRequest message. Also converts values to other types if specified.
+ * @param message DeleteTaxonomyRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.datacatalog.v1.DeleteTaxonomyRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this DeleteTaxonomyRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for DeleteTaxonomyRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of an UpdateTaxonomyRequest. */
+ interface IUpdateTaxonomyRequest {
+
+ /** UpdateTaxonomyRequest taxonomy */
+ taxonomy?: (google.cloud.datacatalog.v1.ITaxonomy|null);
+
+ /** UpdateTaxonomyRequest updateMask */
+ updateMask?: (google.protobuf.IFieldMask|null);
+ }
+
+ /** Represents an UpdateTaxonomyRequest. */
+ class UpdateTaxonomyRequest implements IUpdateTaxonomyRequest {
+
+ /**
+ * Constructs a new UpdateTaxonomyRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.datacatalog.v1.IUpdateTaxonomyRequest);
+
+ /** UpdateTaxonomyRequest taxonomy. */
+ public taxonomy?: (google.cloud.datacatalog.v1.ITaxonomy|null);
+
+ /** UpdateTaxonomyRequest updateMask. */
+ public updateMask?: (google.protobuf.IFieldMask|null);
+
+ /**
+ * Creates a new UpdateTaxonomyRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns UpdateTaxonomyRequest instance
+ */
+ public static create(properties?: google.cloud.datacatalog.v1.IUpdateTaxonomyRequest): google.cloud.datacatalog.v1.UpdateTaxonomyRequest;
+
+ /**
+ * Encodes the specified UpdateTaxonomyRequest message. Does not implicitly {@link google.cloud.datacatalog.v1.UpdateTaxonomyRequest.verify|verify} messages.
+ * @param message UpdateTaxonomyRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.datacatalog.v1.IUpdateTaxonomyRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified UpdateTaxonomyRequest message, length delimited. Does not implicitly {@link google.cloud.datacatalog.v1.UpdateTaxonomyRequest.verify|verify} messages.
+ * @param message UpdateTaxonomyRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.datacatalog.v1.IUpdateTaxonomyRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an UpdateTaxonomyRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns UpdateTaxonomyRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.datacatalog.v1.UpdateTaxonomyRequest;
+
+ /**
+ * Decodes an UpdateTaxonomyRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns UpdateTaxonomyRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.datacatalog.v1.UpdateTaxonomyRequest;
+
+ /**
+ * Verifies an UpdateTaxonomyRequest message.
+ * @param message Plain 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 UpdateTaxonomyRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns UpdateTaxonomyRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.datacatalog.v1.UpdateTaxonomyRequest;
+
+ /**
+ * Creates a plain object from an UpdateTaxonomyRequest message. Also converts values to other types if specified.
+ * @param message UpdateTaxonomyRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.datacatalog.v1.UpdateTaxonomyRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this UpdateTaxonomyRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for UpdateTaxonomyRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a ListTaxonomiesRequest. */
+ interface IListTaxonomiesRequest {
+
+ /** ListTaxonomiesRequest parent */
+ parent?: (string|null);
+
+ /** ListTaxonomiesRequest pageSize */
+ pageSize?: (number|null);
+
+ /** ListTaxonomiesRequest pageToken */
+ pageToken?: (string|null);
+ }
+
+ /** Represents a ListTaxonomiesRequest. */
+ class ListTaxonomiesRequest implements IListTaxonomiesRequest {
+
+ /**
+ * Constructs a new ListTaxonomiesRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.datacatalog.v1.IListTaxonomiesRequest);
+
+ /** ListTaxonomiesRequest parent. */
+ public parent: string;
+
+ /** ListTaxonomiesRequest pageSize. */
+ public pageSize: number;
+
+ /** ListTaxonomiesRequest pageToken. */
+ public pageToken: string;
+
+ /**
+ * Creates a new ListTaxonomiesRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ListTaxonomiesRequest instance
+ */
+ public static create(properties?: google.cloud.datacatalog.v1.IListTaxonomiesRequest): google.cloud.datacatalog.v1.ListTaxonomiesRequest;
+
+ /**
+ * Encodes the specified ListTaxonomiesRequest message. Does not implicitly {@link google.cloud.datacatalog.v1.ListTaxonomiesRequest.verify|verify} messages.
+ * @param message ListTaxonomiesRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.datacatalog.v1.IListTaxonomiesRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ListTaxonomiesRequest message, length delimited. Does not implicitly {@link google.cloud.datacatalog.v1.ListTaxonomiesRequest.verify|verify} messages.
+ * @param message ListTaxonomiesRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.datacatalog.v1.IListTaxonomiesRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ListTaxonomiesRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ListTaxonomiesRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.datacatalog.v1.ListTaxonomiesRequest;
+
+ /**
+ * Decodes a ListTaxonomiesRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ListTaxonomiesRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.datacatalog.v1.ListTaxonomiesRequest;
+
+ /**
+ * Verifies a ListTaxonomiesRequest message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a ListTaxonomiesRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ListTaxonomiesRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.datacatalog.v1.ListTaxonomiesRequest;
+
+ /**
+ * Creates a plain object from a ListTaxonomiesRequest message. Also converts values to other types if specified.
+ * @param message ListTaxonomiesRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.datacatalog.v1.ListTaxonomiesRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ListTaxonomiesRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ListTaxonomiesRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a ListTaxonomiesResponse. */
+ interface IListTaxonomiesResponse {
+
+ /** ListTaxonomiesResponse taxonomies */
+ taxonomies?: (google.cloud.datacatalog.v1.ITaxonomy[]|null);
+
+ /** ListTaxonomiesResponse nextPageToken */
+ nextPageToken?: (string|null);
+ }
+
+ /** Represents a ListTaxonomiesResponse. */
+ class ListTaxonomiesResponse implements IListTaxonomiesResponse {
+
+ /**
+ * Constructs a new ListTaxonomiesResponse.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.datacatalog.v1.IListTaxonomiesResponse);
+
+ /** ListTaxonomiesResponse taxonomies. */
+ public taxonomies: google.cloud.datacatalog.v1.ITaxonomy[];
+
+ /** ListTaxonomiesResponse nextPageToken. */
+ public nextPageToken: string;
+
+ /**
+ * Creates a new ListTaxonomiesResponse instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ListTaxonomiesResponse instance
+ */
+ public static create(properties?: google.cloud.datacatalog.v1.IListTaxonomiesResponse): google.cloud.datacatalog.v1.ListTaxonomiesResponse;
+
+ /**
+ * Encodes the specified ListTaxonomiesResponse message. Does not implicitly {@link google.cloud.datacatalog.v1.ListTaxonomiesResponse.verify|verify} messages.
+ * @param message ListTaxonomiesResponse message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.datacatalog.v1.IListTaxonomiesResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ListTaxonomiesResponse message, length delimited. Does not implicitly {@link google.cloud.datacatalog.v1.ListTaxonomiesResponse.verify|verify} messages.
+ * @param message ListTaxonomiesResponse message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.datacatalog.v1.IListTaxonomiesResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ListTaxonomiesResponse message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ListTaxonomiesResponse
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.datacatalog.v1.ListTaxonomiesResponse;
+
+ /**
+ * Decodes a ListTaxonomiesResponse message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ListTaxonomiesResponse
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.datacatalog.v1.ListTaxonomiesResponse;
+
+ /**
+ * Verifies a ListTaxonomiesResponse message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a ListTaxonomiesResponse message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ListTaxonomiesResponse
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.datacatalog.v1.ListTaxonomiesResponse;
+
+ /**
+ * Creates a plain object from a ListTaxonomiesResponse message. Also converts values to other types if specified.
+ * @param message ListTaxonomiesResponse
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.datacatalog.v1.ListTaxonomiesResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ListTaxonomiesResponse to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ListTaxonomiesResponse
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a GetTaxonomyRequest. */
+ interface IGetTaxonomyRequest {
+
+ /** GetTaxonomyRequest name */
+ name?: (string|null);
+ }
+
+ /** Represents a GetTaxonomyRequest. */
+ class GetTaxonomyRequest implements IGetTaxonomyRequest {
+
+ /**
+ * Constructs a new GetTaxonomyRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.datacatalog.v1.IGetTaxonomyRequest);
+
+ /** GetTaxonomyRequest name. */
+ public name: string;
+
+ /**
+ * Creates a new GetTaxonomyRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns GetTaxonomyRequest instance
+ */
+ public static create(properties?: google.cloud.datacatalog.v1.IGetTaxonomyRequest): google.cloud.datacatalog.v1.GetTaxonomyRequest;
+
+ /**
+ * Encodes the specified GetTaxonomyRequest message. Does not implicitly {@link google.cloud.datacatalog.v1.GetTaxonomyRequest.verify|verify} messages.
+ * @param message GetTaxonomyRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.datacatalog.v1.IGetTaxonomyRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified GetTaxonomyRequest message, length delimited. Does not implicitly {@link google.cloud.datacatalog.v1.GetTaxonomyRequest.verify|verify} messages.
+ * @param message GetTaxonomyRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.datacatalog.v1.IGetTaxonomyRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a GetTaxonomyRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns GetTaxonomyRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.datacatalog.v1.GetTaxonomyRequest;
+
+ /**
+ * Decodes a GetTaxonomyRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns GetTaxonomyRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.datacatalog.v1.GetTaxonomyRequest;
+
+ /**
+ * Verifies a GetTaxonomyRequest message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a GetTaxonomyRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns GetTaxonomyRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.datacatalog.v1.GetTaxonomyRequest;
+
+ /**
+ * Creates a plain object from a GetTaxonomyRequest message. Also converts values to other types if specified.
+ * @param message GetTaxonomyRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.datacatalog.v1.GetTaxonomyRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this GetTaxonomyRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for GetTaxonomyRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a CreatePolicyTagRequest. */
+ interface ICreatePolicyTagRequest {
+
+ /** CreatePolicyTagRequest parent */
+ parent?: (string|null);
+
+ /** CreatePolicyTagRequest policyTag */
+ policyTag?: (google.cloud.datacatalog.v1.IPolicyTag|null);
+ }
+
+ /** Represents a CreatePolicyTagRequest. */
+ class CreatePolicyTagRequest implements ICreatePolicyTagRequest {
+
+ /**
+ * Constructs a new CreatePolicyTagRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.datacatalog.v1.ICreatePolicyTagRequest);
+
+ /** CreatePolicyTagRequest parent. */
+ public parent: string;
+
+ /** CreatePolicyTagRequest policyTag. */
+ public policyTag?: (google.cloud.datacatalog.v1.IPolicyTag|null);
+
+ /**
+ * Creates a new CreatePolicyTagRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns CreatePolicyTagRequest instance
+ */
+ public static create(properties?: google.cloud.datacatalog.v1.ICreatePolicyTagRequest): google.cloud.datacatalog.v1.CreatePolicyTagRequest;
+
+ /**
+ * Encodes the specified CreatePolicyTagRequest message. Does not implicitly {@link google.cloud.datacatalog.v1.CreatePolicyTagRequest.verify|verify} messages.
+ * @param message CreatePolicyTagRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.datacatalog.v1.ICreatePolicyTagRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified CreatePolicyTagRequest message, length delimited. Does not implicitly {@link google.cloud.datacatalog.v1.CreatePolicyTagRequest.verify|verify} messages.
+ * @param message CreatePolicyTagRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.datacatalog.v1.ICreatePolicyTagRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a CreatePolicyTagRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns CreatePolicyTagRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.datacatalog.v1.CreatePolicyTagRequest;
+
+ /**
+ * Decodes a CreatePolicyTagRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns CreatePolicyTagRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.datacatalog.v1.CreatePolicyTagRequest;
+
+ /**
+ * Verifies a CreatePolicyTagRequest message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a CreatePolicyTagRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns CreatePolicyTagRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.datacatalog.v1.CreatePolicyTagRequest;
+
+ /**
+ * Creates a plain object from a CreatePolicyTagRequest message. Also converts values to other types if specified.
+ * @param message CreatePolicyTagRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.datacatalog.v1.CreatePolicyTagRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this CreatePolicyTagRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for CreatePolicyTagRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a DeletePolicyTagRequest. */
+ interface IDeletePolicyTagRequest {
+
+ /** DeletePolicyTagRequest name */
+ name?: (string|null);
+ }
+
+ /** Represents a DeletePolicyTagRequest. */
+ class DeletePolicyTagRequest implements IDeletePolicyTagRequest {
+
+ /**
+ * Constructs a new DeletePolicyTagRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.datacatalog.v1.IDeletePolicyTagRequest);
+
+ /** DeletePolicyTagRequest name. */
+ public name: string;
+
+ /**
+ * Creates a new DeletePolicyTagRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns DeletePolicyTagRequest instance
+ */
+ public static create(properties?: google.cloud.datacatalog.v1.IDeletePolicyTagRequest): google.cloud.datacatalog.v1.DeletePolicyTagRequest;
+
+ /**
+ * Encodes the specified DeletePolicyTagRequest message. Does not implicitly {@link google.cloud.datacatalog.v1.DeletePolicyTagRequest.verify|verify} messages.
+ * @param message DeletePolicyTagRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.datacatalog.v1.IDeletePolicyTagRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified DeletePolicyTagRequest message, length delimited. Does not implicitly {@link google.cloud.datacatalog.v1.DeletePolicyTagRequest.verify|verify} messages.
+ * @param message DeletePolicyTagRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.datacatalog.v1.IDeletePolicyTagRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a DeletePolicyTagRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns DeletePolicyTagRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.datacatalog.v1.DeletePolicyTagRequest;
+
+ /**
+ * Decodes a DeletePolicyTagRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns DeletePolicyTagRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.datacatalog.v1.DeletePolicyTagRequest;
+
+ /**
+ * Verifies a DeletePolicyTagRequest message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a DeletePolicyTagRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns DeletePolicyTagRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.datacatalog.v1.DeletePolicyTagRequest;
+
+ /**
+ * Creates a plain object from a DeletePolicyTagRequest message. Also converts values to other types if specified.
+ * @param message DeletePolicyTagRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.datacatalog.v1.DeletePolicyTagRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this DeletePolicyTagRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for DeletePolicyTagRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of an UpdatePolicyTagRequest. */
+ interface IUpdatePolicyTagRequest {
+
+ /** UpdatePolicyTagRequest policyTag */
+ policyTag?: (google.cloud.datacatalog.v1.IPolicyTag|null);
+
+ /** UpdatePolicyTagRequest updateMask */
+ updateMask?: (google.protobuf.IFieldMask|null);
+ }
+
+ /** Represents an UpdatePolicyTagRequest. */
+ class UpdatePolicyTagRequest implements IUpdatePolicyTagRequest {
+
+ /**
+ * Constructs a new UpdatePolicyTagRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.datacatalog.v1.IUpdatePolicyTagRequest);
+
+ /** UpdatePolicyTagRequest policyTag. */
+ public policyTag?: (google.cloud.datacatalog.v1.IPolicyTag|null);
+
+ /** UpdatePolicyTagRequest updateMask. */
+ public updateMask?: (google.protobuf.IFieldMask|null);
+
+ /**
+ * Creates a new UpdatePolicyTagRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns UpdatePolicyTagRequest instance
+ */
+ public static create(properties?: google.cloud.datacatalog.v1.IUpdatePolicyTagRequest): google.cloud.datacatalog.v1.UpdatePolicyTagRequest;
+
+ /**
+ * Encodes the specified UpdatePolicyTagRequest message. Does not implicitly {@link google.cloud.datacatalog.v1.UpdatePolicyTagRequest.verify|verify} messages.
+ * @param message UpdatePolicyTagRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.datacatalog.v1.IUpdatePolicyTagRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified UpdatePolicyTagRequest message, length delimited. Does not implicitly {@link google.cloud.datacatalog.v1.UpdatePolicyTagRequest.verify|verify} messages.
+ * @param message UpdatePolicyTagRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.datacatalog.v1.IUpdatePolicyTagRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an UpdatePolicyTagRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns UpdatePolicyTagRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.datacatalog.v1.UpdatePolicyTagRequest;
+
+ /**
+ * Decodes an UpdatePolicyTagRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns UpdatePolicyTagRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.datacatalog.v1.UpdatePolicyTagRequest;
+
+ /**
+ * Verifies an UpdatePolicyTagRequest message.
+ * @param message Plain 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 UpdatePolicyTagRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns UpdatePolicyTagRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.datacatalog.v1.UpdatePolicyTagRequest;
+
+ /**
+ * Creates a plain object from an UpdatePolicyTagRequest message. Also converts values to other types if specified.
+ * @param message UpdatePolicyTagRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.datacatalog.v1.UpdatePolicyTagRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this UpdatePolicyTagRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for UpdatePolicyTagRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a ListPolicyTagsRequest. */
+ interface IListPolicyTagsRequest {
+
+ /** ListPolicyTagsRequest parent */
+ parent?: (string|null);
+
+ /** ListPolicyTagsRequest pageSize */
+ pageSize?: (number|null);
+
+ /** ListPolicyTagsRequest pageToken */
+ pageToken?: (string|null);
+ }
+
+ /** Represents a ListPolicyTagsRequest. */
+ class ListPolicyTagsRequest implements IListPolicyTagsRequest {
+
+ /**
+ * Constructs a new ListPolicyTagsRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.datacatalog.v1.IListPolicyTagsRequest);
+
+ /** ListPolicyTagsRequest parent. */
+ public parent: string;
+
+ /** ListPolicyTagsRequest pageSize. */
+ public pageSize: number;
+
+ /** ListPolicyTagsRequest pageToken. */
+ public pageToken: string;
+
+ /**
+ * Creates a new ListPolicyTagsRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ListPolicyTagsRequest instance
+ */
+ public static create(properties?: google.cloud.datacatalog.v1.IListPolicyTagsRequest): google.cloud.datacatalog.v1.ListPolicyTagsRequest;
+
+ /**
+ * Encodes the specified ListPolicyTagsRequest message. Does not implicitly {@link google.cloud.datacatalog.v1.ListPolicyTagsRequest.verify|verify} messages.
+ * @param message ListPolicyTagsRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.datacatalog.v1.IListPolicyTagsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ListPolicyTagsRequest message, length delimited. Does not implicitly {@link google.cloud.datacatalog.v1.ListPolicyTagsRequest.verify|verify} messages.
+ * @param message ListPolicyTagsRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.datacatalog.v1.IListPolicyTagsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ListPolicyTagsRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ListPolicyTagsRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.datacatalog.v1.ListPolicyTagsRequest;
+
+ /**
+ * Decodes a ListPolicyTagsRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ListPolicyTagsRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.datacatalog.v1.ListPolicyTagsRequest;
+
+ /**
+ * Verifies a ListPolicyTagsRequest message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a ListPolicyTagsRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ListPolicyTagsRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.datacatalog.v1.ListPolicyTagsRequest;
+
+ /**
+ * Creates a plain object from a ListPolicyTagsRequest message. Also converts values to other types if specified.
+ * @param message ListPolicyTagsRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.datacatalog.v1.ListPolicyTagsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ListPolicyTagsRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ListPolicyTagsRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a ListPolicyTagsResponse. */
+ interface IListPolicyTagsResponse {
+
+ /** ListPolicyTagsResponse policyTags */
+ policyTags?: (google.cloud.datacatalog.v1.IPolicyTag[]|null);
+
+ /** ListPolicyTagsResponse nextPageToken */
+ nextPageToken?: (string|null);
+ }
+
+ /** Represents a ListPolicyTagsResponse. */
+ class ListPolicyTagsResponse implements IListPolicyTagsResponse {
+
+ /**
+ * Constructs a new ListPolicyTagsResponse.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.datacatalog.v1.IListPolicyTagsResponse);
+
+ /** ListPolicyTagsResponse policyTags. */
+ public policyTags: google.cloud.datacatalog.v1.IPolicyTag[];
+
+ /** ListPolicyTagsResponse nextPageToken. */
+ public nextPageToken: string;
+
+ /**
+ * Creates a new ListPolicyTagsResponse instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ListPolicyTagsResponse instance
+ */
+ public static create(properties?: google.cloud.datacatalog.v1.IListPolicyTagsResponse): google.cloud.datacatalog.v1.ListPolicyTagsResponse;
+
+ /**
+ * Encodes the specified ListPolicyTagsResponse message. Does not implicitly {@link google.cloud.datacatalog.v1.ListPolicyTagsResponse.verify|verify} messages.
+ * @param message ListPolicyTagsResponse message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.datacatalog.v1.IListPolicyTagsResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ListPolicyTagsResponse message, length delimited. Does not implicitly {@link google.cloud.datacatalog.v1.ListPolicyTagsResponse.verify|verify} messages.
+ * @param message ListPolicyTagsResponse message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.datacatalog.v1.IListPolicyTagsResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ListPolicyTagsResponse message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ListPolicyTagsResponse
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.datacatalog.v1.ListPolicyTagsResponse;
+
+ /**
+ * Decodes a ListPolicyTagsResponse message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ListPolicyTagsResponse
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.datacatalog.v1.ListPolicyTagsResponse;
+
+ /**
+ * Verifies a ListPolicyTagsResponse message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a ListPolicyTagsResponse message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ListPolicyTagsResponse
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.datacatalog.v1.ListPolicyTagsResponse;
+
+ /**
+ * Creates a plain object from a ListPolicyTagsResponse message. Also converts values to other types if specified.
+ * @param message ListPolicyTagsResponse
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.datacatalog.v1.ListPolicyTagsResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ListPolicyTagsResponse to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ListPolicyTagsResponse
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a GetPolicyTagRequest. */
+ interface IGetPolicyTagRequest {
+
+ /** GetPolicyTagRequest name */
+ name?: (string|null);
+ }
+
+ /** Represents a GetPolicyTagRequest. */
+ class GetPolicyTagRequest implements IGetPolicyTagRequest {
+
+ /**
+ * Constructs a new GetPolicyTagRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.datacatalog.v1.IGetPolicyTagRequest);
+
+ /** GetPolicyTagRequest name. */
+ public name: string;
+
+ /**
+ * Creates a new GetPolicyTagRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns GetPolicyTagRequest instance
+ */
+ public static create(properties?: google.cloud.datacatalog.v1.IGetPolicyTagRequest): google.cloud.datacatalog.v1.GetPolicyTagRequest;
+
+ /**
+ * Encodes the specified GetPolicyTagRequest message. Does not implicitly {@link google.cloud.datacatalog.v1.GetPolicyTagRequest.verify|verify} messages.
+ * @param message GetPolicyTagRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.datacatalog.v1.IGetPolicyTagRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified GetPolicyTagRequest message, length delimited. Does not implicitly {@link google.cloud.datacatalog.v1.GetPolicyTagRequest.verify|verify} messages.
+ * @param message GetPolicyTagRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.datacatalog.v1.IGetPolicyTagRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a GetPolicyTagRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns GetPolicyTagRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.datacatalog.v1.GetPolicyTagRequest;
+
+ /**
+ * Decodes a GetPolicyTagRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns GetPolicyTagRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.datacatalog.v1.GetPolicyTagRequest;
+
+ /**
+ * Verifies a GetPolicyTagRequest message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a GetPolicyTagRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns GetPolicyTagRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.datacatalog.v1.GetPolicyTagRequest;
+
+ /**
+ * Creates a plain object from a GetPolicyTagRequest message. Also converts values to other types if specified.
+ * @param message GetPolicyTagRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.datacatalog.v1.GetPolicyTagRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this GetPolicyTagRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for GetPolicyTagRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Represents a PolicyTagManagerSerialization */
+ class PolicyTagManagerSerialization extends $protobuf.rpc.Service {
+
+ /**
+ * Constructs a new PolicyTagManagerSerialization 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 PolicyTagManagerSerialization 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): PolicyTagManagerSerialization;
+
+ /**
+ * Calls ReplaceTaxonomy.
+ * @param request ReplaceTaxonomyRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and Taxonomy
+ */
+ public replaceTaxonomy(request: google.cloud.datacatalog.v1.IReplaceTaxonomyRequest, callback: google.cloud.datacatalog.v1.PolicyTagManagerSerialization.ReplaceTaxonomyCallback): void;
+
+ /**
+ * Calls ReplaceTaxonomy.
+ * @param request ReplaceTaxonomyRequest message or plain object
+ * @returns Promise
+ */
+ public replaceTaxonomy(request: google.cloud.datacatalog.v1.IReplaceTaxonomyRequest): Promise;
+
+ /**
+ * Calls ImportTaxonomies.
+ * @param request ImportTaxonomiesRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and ImportTaxonomiesResponse
+ */
+ public importTaxonomies(request: google.cloud.datacatalog.v1.IImportTaxonomiesRequest, callback: google.cloud.datacatalog.v1.PolicyTagManagerSerialization.ImportTaxonomiesCallback): void;
+
+ /**
+ * Calls ImportTaxonomies.
+ * @param request ImportTaxonomiesRequest message or plain object
+ * @returns Promise
+ */
+ public importTaxonomies(request: google.cloud.datacatalog.v1.IImportTaxonomiesRequest): Promise;
+
+ /**
+ * Calls ExportTaxonomies.
+ * @param request ExportTaxonomiesRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and ExportTaxonomiesResponse
+ */
+ public exportTaxonomies(request: google.cloud.datacatalog.v1.IExportTaxonomiesRequest, callback: google.cloud.datacatalog.v1.PolicyTagManagerSerialization.ExportTaxonomiesCallback): void;
+
+ /**
+ * Calls ExportTaxonomies.
+ * @param request ExportTaxonomiesRequest message or plain object
+ * @returns Promise
+ */
+ public exportTaxonomies(request: google.cloud.datacatalog.v1.IExportTaxonomiesRequest): Promise;
+ }
+
+ namespace PolicyTagManagerSerialization {
+
+ /**
+ * Callback as used by {@link google.cloud.datacatalog.v1.PolicyTagManagerSerialization|replaceTaxonomy}.
+ * @param error Error, if any
+ * @param [response] Taxonomy
+ */
+ type ReplaceTaxonomyCallback = (error: (Error|null), response?: google.cloud.datacatalog.v1.Taxonomy) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.datacatalog.v1.PolicyTagManagerSerialization|importTaxonomies}.
+ * @param error Error, if any
+ * @param [response] ImportTaxonomiesResponse
+ */
+ type ImportTaxonomiesCallback = (error: (Error|null), response?: google.cloud.datacatalog.v1.ImportTaxonomiesResponse) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.datacatalog.v1.PolicyTagManagerSerialization|exportTaxonomies}.
+ * @param error Error, if any
+ * @param [response] ExportTaxonomiesResponse
+ */
+ type ExportTaxonomiesCallback = (error: (Error|null), response?: google.cloud.datacatalog.v1.ExportTaxonomiesResponse) => void;
+ }
+
+ /** Properties of a SerializedTaxonomy. */
+ interface ISerializedTaxonomy {
+
+ /** SerializedTaxonomy displayName */
+ displayName?: (string|null);
+
+ /** SerializedTaxonomy description */
+ description?: (string|null);
+
+ /** SerializedTaxonomy policyTags */
+ policyTags?: (google.cloud.datacatalog.v1.ISerializedPolicyTag[]|null);
+
+ /** SerializedTaxonomy activatedPolicyTypes */
+ activatedPolicyTypes?: (google.cloud.datacatalog.v1.Taxonomy.PolicyType[]|null);
+ }
+
+ /** Represents a SerializedTaxonomy. */
+ class SerializedTaxonomy implements ISerializedTaxonomy {
+
+ /**
+ * Constructs a new SerializedTaxonomy.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.datacatalog.v1.ISerializedTaxonomy);
+
+ /** SerializedTaxonomy displayName. */
+ public displayName: string;
+
+ /** SerializedTaxonomy description. */
+ public description: string;
+
+ /** SerializedTaxonomy policyTags. */
+ public policyTags: google.cloud.datacatalog.v1.ISerializedPolicyTag[];
+
+ /** SerializedTaxonomy activatedPolicyTypes. */
+ public activatedPolicyTypes: google.cloud.datacatalog.v1.Taxonomy.PolicyType[];
+
+ /**
+ * Creates a new SerializedTaxonomy instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns SerializedTaxonomy instance
+ */
+ public static create(properties?: google.cloud.datacatalog.v1.ISerializedTaxonomy): google.cloud.datacatalog.v1.SerializedTaxonomy;
+
+ /**
+ * Encodes the specified SerializedTaxonomy message. Does not implicitly {@link google.cloud.datacatalog.v1.SerializedTaxonomy.verify|verify} messages.
+ * @param message SerializedTaxonomy message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.datacatalog.v1.ISerializedTaxonomy, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified SerializedTaxonomy message, length delimited. Does not implicitly {@link google.cloud.datacatalog.v1.SerializedTaxonomy.verify|verify} messages.
+ * @param message SerializedTaxonomy message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.datacatalog.v1.ISerializedTaxonomy, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a SerializedTaxonomy message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns SerializedTaxonomy
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.datacatalog.v1.SerializedTaxonomy;
+
+ /**
+ * Decodes a SerializedTaxonomy message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns SerializedTaxonomy
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.datacatalog.v1.SerializedTaxonomy;
+
+ /**
+ * Verifies a SerializedTaxonomy message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a SerializedTaxonomy message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns SerializedTaxonomy
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.datacatalog.v1.SerializedTaxonomy;
+
+ /**
+ * Creates a plain object from a SerializedTaxonomy message. Also converts values to other types if specified.
+ * @param message SerializedTaxonomy
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.datacatalog.v1.SerializedTaxonomy, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this SerializedTaxonomy to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for SerializedTaxonomy
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a SerializedPolicyTag. */
+ interface ISerializedPolicyTag {
+
+ /** SerializedPolicyTag policyTag */
+ policyTag?: (string|null);
+
+ /** SerializedPolicyTag displayName */
+ displayName?: (string|null);
+
+ /** SerializedPolicyTag description */
+ description?: (string|null);
+
+ /** SerializedPolicyTag childPolicyTags */
+ childPolicyTags?: (google.cloud.datacatalog.v1.ISerializedPolicyTag[]|null);
+ }
+
+ /** Represents a SerializedPolicyTag. */
+ class SerializedPolicyTag implements ISerializedPolicyTag {
+
+ /**
+ * Constructs a new SerializedPolicyTag.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.datacatalog.v1.ISerializedPolicyTag);
+
+ /** SerializedPolicyTag policyTag. */
+ public policyTag: string;
+
+ /** SerializedPolicyTag displayName. */
+ public displayName: string;
+
+ /** SerializedPolicyTag description. */
+ public description: string;
+
+ /** SerializedPolicyTag childPolicyTags. */
+ public childPolicyTags: google.cloud.datacatalog.v1.ISerializedPolicyTag[];
+
+ /**
+ * Creates a new SerializedPolicyTag instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns SerializedPolicyTag instance
+ */
+ public static create(properties?: google.cloud.datacatalog.v1.ISerializedPolicyTag): google.cloud.datacatalog.v1.SerializedPolicyTag;
+
+ /**
+ * Encodes the specified SerializedPolicyTag message. Does not implicitly {@link google.cloud.datacatalog.v1.SerializedPolicyTag.verify|verify} messages.
+ * @param message SerializedPolicyTag message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.datacatalog.v1.ISerializedPolicyTag, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified SerializedPolicyTag message, length delimited. Does not implicitly {@link google.cloud.datacatalog.v1.SerializedPolicyTag.verify|verify} messages.
+ * @param message SerializedPolicyTag message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.datacatalog.v1.ISerializedPolicyTag, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a SerializedPolicyTag message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns SerializedPolicyTag
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.datacatalog.v1.SerializedPolicyTag;
+
+ /**
+ * Decodes a SerializedPolicyTag message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns SerializedPolicyTag
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.datacatalog.v1.SerializedPolicyTag;
+
+ /**
+ * Verifies a SerializedPolicyTag message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a SerializedPolicyTag message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns SerializedPolicyTag
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.datacatalog.v1.SerializedPolicyTag;
+
+ /**
+ * Creates a plain object from a SerializedPolicyTag message. Also converts values to other types if specified.
+ * @param message SerializedPolicyTag
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.datacatalog.v1.SerializedPolicyTag, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this SerializedPolicyTag to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for SerializedPolicyTag
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a ReplaceTaxonomyRequest. */
+ interface IReplaceTaxonomyRequest {
+
+ /** ReplaceTaxonomyRequest name */
+ name?: (string|null);
+
+ /** ReplaceTaxonomyRequest serializedTaxonomy */
+ serializedTaxonomy?: (google.cloud.datacatalog.v1.ISerializedTaxonomy|null);
+ }
+
+ /** Represents a ReplaceTaxonomyRequest. */
+ class ReplaceTaxonomyRequest implements IReplaceTaxonomyRequest {
+
+ /**
+ * Constructs a new ReplaceTaxonomyRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.datacatalog.v1.IReplaceTaxonomyRequest);
+
+ /** ReplaceTaxonomyRequest name. */
+ public name: string;
+
+ /** ReplaceTaxonomyRequest serializedTaxonomy. */
+ public serializedTaxonomy?: (google.cloud.datacatalog.v1.ISerializedTaxonomy|null);
+
+ /**
+ * Creates a new ReplaceTaxonomyRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ReplaceTaxonomyRequest instance
+ */
+ public static create(properties?: google.cloud.datacatalog.v1.IReplaceTaxonomyRequest): google.cloud.datacatalog.v1.ReplaceTaxonomyRequest;
+
+ /**
+ * Encodes the specified ReplaceTaxonomyRequest message. Does not implicitly {@link google.cloud.datacatalog.v1.ReplaceTaxonomyRequest.verify|verify} messages.
+ * @param message ReplaceTaxonomyRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.datacatalog.v1.IReplaceTaxonomyRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ReplaceTaxonomyRequest message, length delimited. Does not implicitly {@link google.cloud.datacatalog.v1.ReplaceTaxonomyRequest.verify|verify} messages.
+ * @param message ReplaceTaxonomyRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.datacatalog.v1.IReplaceTaxonomyRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ReplaceTaxonomyRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ReplaceTaxonomyRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.datacatalog.v1.ReplaceTaxonomyRequest;
+
+ /**
+ * Decodes a ReplaceTaxonomyRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ReplaceTaxonomyRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.datacatalog.v1.ReplaceTaxonomyRequest;
+
+ /**
+ * Verifies a ReplaceTaxonomyRequest message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a ReplaceTaxonomyRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ReplaceTaxonomyRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.datacatalog.v1.ReplaceTaxonomyRequest;
+
+ /**
+ * Creates a plain object from a ReplaceTaxonomyRequest message. Also converts values to other types if specified.
+ * @param message ReplaceTaxonomyRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.datacatalog.v1.ReplaceTaxonomyRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ReplaceTaxonomyRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ReplaceTaxonomyRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of an ImportTaxonomiesRequest. */
+ interface IImportTaxonomiesRequest {
+
+ /** ImportTaxonomiesRequest parent */
+ parent?: (string|null);
+
+ /** ImportTaxonomiesRequest inlineSource */
+ inlineSource?: (google.cloud.datacatalog.v1.IInlineSource|null);
+
+ /** ImportTaxonomiesRequest crossRegionalSource */
+ crossRegionalSource?: (google.cloud.datacatalog.v1.ICrossRegionalSource|null);
+ }
+
+ /** Represents an ImportTaxonomiesRequest. */
+ class ImportTaxonomiesRequest implements IImportTaxonomiesRequest {
+
+ /**
+ * Constructs a new ImportTaxonomiesRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.datacatalog.v1.IImportTaxonomiesRequest);
+
+ /** ImportTaxonomiesRequest parent. */
+ public parent: string;
+
+ /** ImportTaxonomiesRequest inlineSource. */
+ public inlineSource?: (google.cloud.datacatalog.v1.IInlineSource|null);
+
+ /** ImportTaxonomiesRequest crossRegionalSource. */
+ public crossRegionalSource?: (google.cloud.datacatalog.v1.ICrossRegionalSource|null);
+
+ /** ImportTaxonomiesRequest source. */
+ public source?: ("inlineSource"|"crossRegionalSource");
+
+ /**
+ * Creates a new ImportTaxonomiesRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ImportTaxonomiesRequest instance
+ */
+ public static create(properties?: google.cloud.datacatalog.v1.IImportTaxonomiesRequest): google.cloud.datacatalog.v1.ImportTaxonomiesRequest;
+
+ /**
+ * Encodes the specified ImportTaxonomiesRequest message. Does not implicitly {@link google.cloud.datacatalog.v1.ImportTaxonomiesRequest.verify|verify} messages.
+ * @param message ImportTaxonomiesRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.datacatalog.v1.IImportTaxonomiesRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ImportTaxonomiesRequest message, length delimited. Does not implicitly {@link google.cloud.datacatalog.v1.ImportTaxonomiesRequest.verify|verify} messages.
+ * @param message ImportTaxonomiesRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.datacatalog.v1.IImportTaxonomiesRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an ImportTaxonomiesRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ImportTaxonomiesRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.datacatalog.v1.ImportTaxonomiesRequest;
+
+ /**
+ * Decodes an ImportTaxonomiesRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ImportTaxonomiesRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.datacatalog.v1.ImportTaxonomiesRequest;
+
+ /**
+ * Verifies an ImportTaxonomiesRequest message.
+ * @param message Plain 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 ImportTaxonomiesRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ImportTaxonomiesRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.datacatalog.v1.ImportTaxonomiesRequest;
+
+ /**
+ * Creates a plain object from an ImportTaxonomiesRequest message. Also converts values to other types if specified.
+ * @param message ImportTaxonomiesRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.datacatalog.v1.ImportTaxonomiesRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ImportTaxonomiesRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ImportTaxonomiesRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of an InlineSource. */
+ interface IInlineSource {
+
+ /** InlineSource taxonomies */
+ taxonomies?: (google.cloud.datacatalog.v1.ISerializedTaxonomy[]|null);
+ }
+
+ /** Represents an InlineSource. */
+ class InlineSource implements IInlineSource {
+
+ /**
+ * Constructs a new InlineSource.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.datacatalog.v1.IInlineSource);
+
+ /** InlineSource taxonomies. */
+ public taxonomies: google.cloud.datacatalog.v1.ISerializedTaxonomy[];
+
+ /**
+ * Creates a new InlineSource instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns InlineSource instance
+ */
+ public static create(properties?: google.cloud.datacatalog.v1.IInlineSource): google.cloud.datacatalog.v1.InlineSource;
+
+ /**
+ * Encodes the specified InlineSource message. Does not implicitly {@link google.cloud.datacatalog.v1.InlineSource.verify|verify} messages.
+ * @param message InlineSource message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.datacatalog.v1.IInlineSource, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified InlineSource message, length delimited. Does not implicitly {@link google.cloud.datacatalog.v1.InlineSource.verify|verify} messages.
+ * @param message InlineSource message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.datacatalog.v1.IInlineSource, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an InlineSource message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns InlineSource
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.datacatalog.v1.InlineSource;
+
+ /**
+ * Decodes an InlineSource message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns InlineSource
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.datacatalog.v1.InlineSource;
+
+ /**
+ * Verifies an InlineSource message.
+ * @param message Plain 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 InlineSource message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns InlineSource
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.datacatalog.v1.InlineSource;
+
+ /**
+ * Creates a plain object from an InlineSource message. Also converts values to other types if specified.
+ * @param message InlineSource
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.datacatalog.v1.InlineSource, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this InlineSource to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for InlineSource
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a CrossRegionalSource. */
+ interface ICrossRegionalSource {
+
+ /** CrossRegionalSource taxonomy */
+ taxonomy?: (string|null);
+ }
+
+ /** Represents a CrossRegionalSource. */
+ class CrossRegionalSource implements ICrossRegionalSource {
+
+ /**
+ * Constructs a new CrossRegionalSource.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.datacatalog.v1.ICrossRegionalSource);
+
+ /** CrossRegionalSource taxonomy. */
+ public taxonomy: string;
+
+ /**
+ * Creates a new CrossRegionalSource instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns CrossRegionalSource instance
+ */
+ public static create(properties?: google.cloud.datacatalog.v1.ICrossRegionalSource): google.cloud.datacatalog.v1.CrossRegionalSource;
+
+ /**
+ * Encodes the specified CrossRegionalSource message. Does not implicitly {@link google.cloud.datacatalog.v1.CrossRegionalSource.verify|verify} messages.
+ * @param message CrossRegionalSource message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.datacatalog.v1.ICrossRegionalSource, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified CrossRegionalSource message, length delimited. Does not implicitly {@link google.cloud.datacatalog.v1.CrossRegionalSource.verify|verify} messages.
+ * @param message CrossRegionalSource message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.datacatalog.v1.ICrossRegionalSource, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a CrossRegionalSource message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns CrossRegionalSource
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.datacatalog.v1.CrossRegionalSource;
+
+ /**
+ * Decodes a CrossRegionalSource message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns CrossRegionalSource
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.datacatalog.v1.CrossRegionalSource;
+
+ /**
+ * Verifies a CrossRegionalSource message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a CrossRegionalSource message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns CrossRegionalSource
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.datacatalog.v1.CrossRegionalSource;
+
+ /**
+ * Creates a plain object from a CrossRegionalSource message. Also converts values to other types if specified.
+ * @param message CrossRegionalSource
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.datacatalog.v1.CrossRegionalSource, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this CrossRegionalSource to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for CrossRegionalSource
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of an ImportTaxonomiesResponse. */
+ interface IImportTaxonomiesResponse {
+
+ /** ImportTaxonomiesResponse taxonomies */
+ taxonomies?: (google.cloud.datacatalog.v1.ITaxonomy[]|null);
+ }
+
+ /** Represents an ImportTaxonomiesResponse. */
+ class ImportTaxonomiesResponse implements IImportTaxonomiesResponse {
+
+ /**
+ * Constructs a new ImportTaxonomiesResponse.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.datacatalog.v1.IImportTaxonomiesResponse);
+
+ /** ImportTaxonomiesResponse taxonomies. */
+ public taxonomies: google.cloud.datacatalog.v1.ITaxonomy[];
+
+ /**
+ * Creates a new ImportTaxonomiesResponse instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ImportTaxonomiesResponse instance
+ */
+ public static create(properties?: google.cloud.datacatalog.v1.IImportTaxonomiesResponse): google.cloud.datacatalog.v1.ImportTaxonomiesResponse;
+
+ /**
+ * Encodes the specified ImportTaxonomiesResponse message. Does not implicitly {@link google.cloud.datacatalog.v1.ImportTaxonomiesResponse.verify|verify} messages.
+ * @param message ImportTaxonomiesResponse message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.datacatalog.v1.IImportTaxonomiesResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ImportTaxonomiesResponse message, length delimited. Does not implicitly {@link google.cloud.datacatalog.v1.ImportTaxonomiesResponse.verify|verify} messages.
+ * @param message ImportTaxonomiesResponse message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.datacatalog.v1.IImportTaxonomiesResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an ImportTaxonomiesResponse message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ImportTaxonomiesResponse
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.datacatalog.v1.ImportTaxonomiesResponse;
+
+ /**
+ * Decodes an ImportTaxonomiesResponse message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ImportTaxonomiesResponse
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.datacatalog.v1.ImportTaxonomiesResponse;
+
+ /**
+ * Verifies an ImportTaxonomiesResponse message.
+ * @param message Plain 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 ImportTaxonomiesResponse message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ImportTaxonomiesResponse
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.datacatalog.v1.ImportTaxonomiesResponse;
+
+ /**
+ * Creates a plain object from an ImportTaxonomiesResponse message. Also converts values to other types if specified.
+ * @param message ImportTaxonomiesResponse
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.datacatalog.v1.ImportTaxonomiesResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ImportTaxonomiesResponse to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ImportTaxonomiesResponse
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of an ExportTaxonomiesRequest. */
+ interface IExportTaxonomiesRequest {
+
+ /** ExportTaxonomiesRequest parent */
+ parent?: (string|null);
+
+ /** ExportTaxonomiesRequest taxonomies */
+ taxonomies?: (string[]|null);
+
+ /** ExportTaxonomiesRequest serializedTaxonomies */
+ serializedTaxonomies?: (boolean|null);
+ }
+
+ /** Represents an ExportTaxonomiesRequest. */
+ class ExportTaxonomiesRequest implements IExportTaxonomiesRequest {
+
+ /**
+ * Constructs a new ExportTaxonomiesRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.datacatalog.v1.IExportTaxonomiesRequest);
+
+ /** ExportTaxonomiesRequest parent. */
+ public parent: string;
+
+ /** ExportTaxonomiesRequest taxonomies. */
+ public taxonomies: string[];
+
+ /** ExportTaxonomiesRequest serializedTaxonomies. */
+ public serializedTaxonomies?: (boolean|null);
+
+ /** ExportTaxonomiesRequest destination. */
+ public destination?: "serializedTaxonomies";
+
+ /**
+ * Creates a new ExportTaxonomiesRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ExportTaxonomiesRequest instance
+ */
+ public static create(properties?: google.cloud.datacatalog.v1.IExportTaxonomiesRequest): google.cloud.datacatalog.v1.ExportTaxonomiesRequest;
+
+ /**
+ * Encodes the specified ExportTaxonomiesRequest message. Does not implicitly {@link google.cloud.datacatalog.v1.ExportTaxonomiesRequest.verify|verify} messages.
+ * @param message ExportTaxonomiesRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.datacatalog.v1.IExportTaxonomiesRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ExportTaxonomiesRequest message, length delimited. Does not implicitly {@link google.cloud.datacatalog.v1.ExportTaxonomiesRequest.verify|verify} messages.
+ * @param message ExportTaxonomiesRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.datacatalog.v1.IExportTaxonomiesRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an ExportTaxonomiesRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ExportTaxonomiesRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.datacatalog.v1.ExportTaxonomiesRequest;
+
+ /**
+ * Decodes an ExportTaxonomiesRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ExportTaxonomiesRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.datacatalog.v1.ExportTaxonomiesRequest;
+
+ /**
+ * Verifies an ExportTaxonomiesRequest message.
+ * @param message Plain 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 ExportTaxonomiesRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ExportTaxonomiesRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.datacatalog.v1.ExportTaxonomiesRequest;
+
+ /**
+ * Creates a plain object from an ExportTaxonomiesRequest message. Also converts values to other types if specified.
+ * @param message ExportTaxonomiesRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.datacatalog.v1.ExportTaxonomiesRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ExportTaxonomiesRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ExportTaxonomiesRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of an ExportTaxonomiesResponse. */
+ interface IExportTaxonomiesResponse {
+
+ /** ExportTaxonomiesResponse taxonomies */
+ taxonomies?: (google.cloud.datacatalog.v1.ISerializedTaxonomy[]|null);
+ }
+
+ /** Represents an ExportTaxonomiesResponse. */
+ class ExportTaxonomiesResponse implements IExportTaxonomiesResponse {
+
+ /**
+ * Constructs a new ExportTaxonomiesResponse.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.datacatalog.v1.IExportTaxonomiesResponse);
+
+ /** ExportTaxonomiesResponse taxonomies. */
+ public taxonomies: google.cloud.datacatalog.v1.ISerializedTaxonomy[];
+
+ /**
+ * Creates a new ExportTaxonomiesResponse instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ExportTaxonomiesResponse instance
+ */
+ public static create(properties?: google.cloud.datacatalog.v1.IExportTaxonomiesResponse): google.cloud.datacatalog.v1.ExportTaxonomiesResponse;
+
+ /**
+ * Encodes the specified ExportTaxonomiesResponse message. Does not implicitly {@link google.cloud.datacatalog.v1.ExportTaxonomiesResponse.verify|verify} messages.
+ * @param message ExportTaxonomiesResponse message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.datacatalog.v1.IExportTaxonomiesResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ExportTaxonomiesResponse message, length delimited. Does not implicitly {@link google.cloud.datacatalog.v1.ExportTaxonomiesResponse.verify|verify} messages.
+ * @param message ExportTaxonomiesResponse message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.datacatalog.v1.IExportTaxonomiesResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an ExportTaxonomiesResponse message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ExportTaxonomiesResponse
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.datacatalog.v1.ExportTaxonomiesResponse;
+
+ /**
+ * Decodes an ExportTaxonomiesResponse message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ExportTaxonomiesResponse
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.datacatalog.v1.ExportTaxonomiesResponse;
+
+ /**
+ * Verifies an ExportTaxonomiesResponse message.
+ * @param message Plain 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 ExportTaxonomiesResponse message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ExportTaxonomiesResponse
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.datacatalog.v1.ExportTaxonomiesResponse;
+
+ /**
+ * Creates a plain object from an ExportTaxonomiesResponse message. Also converts values to other types if specified.
+ * @param message ExportTaxonomiesResponse
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.datacatalog.v1.ExportTaxonomiesResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ExportTaxonomiesResponse to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ExportTaxonomiesResponse
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+ }
+
+ /** Namespace v1beta1. */
+ namespace v1beta1 {
+
+ /** IntegratedSystem enum. */
+ enum IntegratedSystem {
+ INTEGRATED_SYSTEM_UNSPECIFIED = 0,
+ BIGQUERY = 1,
+ CLOUD_PUBSUB = 2
+ }
+
+ /** Represents a DataCatalog */
+ class DataCatalog extends $protobuf.rpc.Service {
+
+ /**
+ * Constructs a new DataCatalog 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 DataCatalog 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): DataCatalog;
+
+ /**
+ * Calls SearchCatalog.
+ * @param request SearchCatalogRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and SearchCatalogResponse
+ */
+ public searchCatalog(request: google.cloud.datacatalog.v1beta1.ISearchCatalogRequest, callback: google.cloud.datacatalog.v1beta1.DataCatalog.SearchCatalogCallback): void;
+
+ /**
+ * Calls SearchCatalog.
+ * @param request SearchCatalogRequest message or plain object
+ * @returns Promise
+ */
+ public searchCatalog(request: google.cloud.datacatalog.v1beta1.ISearchCatalogRequest): Promise;
+
+ /**
+ * Calls CreateEntryGroup.
+ * @param request CreateEntryGroupRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and EntryGroup
+ */
+ public createEntryGroup(request: google.cloud.datacatalog.v1beta1.ICreateEntryGroupRequest, callback: google.cloud.datacatalog.v1beta1.DataCatalog.CreateEntryGroupCallback): void;
+
+ /**
+ * Calls CreateEntryGroup.
+ * @param request CreateEntryGroupRequest message or plain object
+ * @returns Promise
+ */
+ public createEntryGroup(request: google.cloud.datacatalog.v1beta1.ICreateEntryGroupRequest): Promise;
+
+ /**
+ * Calls UpdateEntryGroup.
+ * @param request UpdateEntryGroupRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and EntryGroup
+ */
+ public updateEntryGroup(request: google.cloud.datacatalog.v1beta1.IUpdateEntryGroupRequest, callback: google.cloud.datacatalog.v1beta1.DataCatalog.UpdateEntryGroupCallback): void;
+
+ /**
+ * Calls UpdateEntryGroup.
+ * @param request UpdateEntryGroupRequest message or plain object
+ * @returns Promise
+ */
+ public updateEntryGroup(request: google.cloud.datacatalog.v1beta1.IUpdateEntryGroupRequest): Promise;
+
+ /**
+ * Calls GetEntryGroup.
+ * @param request GetEntryGroupRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and EntryGroup
+ */
+ public getEntryGroup(request: google.cloud.datacatalog.v1beta1.IGetEntryGroupRequest, callback: google.cloud.datacatalog.v1beta1.DataCatalog.GetEntryGroupCallback): void;
+
+ /**
+ * Calls GetEntryGroup.
+ * @param request GetEntryGroupRequest message or plain object
+ * @returns Promise
+ */
+ public getEntryGroup(request: google.cloud.datacatalog.v1beta1.IGetEntryGroupRequest): Promise;
+
+ /**
+ * Calls DeleteEntryGroup.
+ * @param request DeleteEntryGroupRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and Empty
+ */
+ public deleteEntryGroup(request: google.cloud.datacatalog.v1beta1.IDeleteEntryGroupRequest, callback: google.cloud.datacatalog.v1beta1.DataCatalog.DeleteEntryGroupCallback): void;
+
+ /**
+ * Calls DeleteEntryGroup.
+ * @param request DeleteEntryGroupRequest message or plain object
+ * @returns Promise
+ */
+ public deleteEntryGroup(request: google.cloud.datacatalog.v1beta1.IDeleteEntryGroupRequest): Promise;
+
+ /**
+ * Calls ListEntryGroups.
+ * @param request ListEntryGroupsRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and ListEntryGroupsResponse
+ */
+ public listEntryGroups(request: google.cloud.datacatalog.v1beta1.IListEntryGroupsRequest, callback: google.cloud.datacatalog.v1beta1.DataCatalog.ListEntryGroupsCallback): void;
+
+ /**
+ * Calls ListEntryGroups.
+ * @param request ListEntryGroupsRequest message or plain object
+ * @returns Promise
+ */
+ public listEntryGroups(request: google.cloud.datacatalog.v1beta1.IListEntryGroupsRequest): Promise;
+
+ /**
+ * Calls CreateEntry.
+ * @param request CreateEntryRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and Entry
+ */
+ public createEntry(request: google.cloud.datacatalog.v1beta1.ICreateEntryRequest, callback: google.cloud.datacatalog.v1beta1.DataCatalog.CreateEntryCallback): void;
+
+ /**
+ * Calls CreateEntry.
+ * @param request CreateEntryRequest message or plain object
+ * @returns Promise
+ */
+ public createEntry(request: google.cloud.datacatalog.v1beta1.ICreateEntryRequest): Promise;
+
+ /**
+ * Calls UpdateEntry.
+ * @param request UpdateEntryRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and Entry
+ */
+ public updateEntry(request: google.cloud.datacatalog.v1beta1.IUpdateEntryRequest, callback: google.cloud.datacatalog.v1beta1.DataCatalog.UpdateEntryCallback): void;
+
+ /**
+ * Calls UpdateEntry.
+ * @param request UpdateEntryRequest message or plain object
+ * @returns Promise
+ */
+ public updateEntry(request: google.cloud.datacatalog.v1beta1.IUpdateEntryRequest): Promise;
+
+ /**
+ * Calls DeleteEntry.
+ * @param request DeleteEntryRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and Empty
+ */
+ public deleteEntry(request: google.cloud.datacatalog.v1beta1.IDeleteEntryRequest, callback: google.cloud.datacatalog.v1beta1.DataCatalog.DeleteEntryCallback): void;
+
+ /**
+ * Calls DeleteEntry.
+ * @param request DeleteEntryRequest message or plain object
+ * @returns Promise
+ */
+ public deleteEntry(request: google.cloud.datacatalog.v1beta1.IDeleteEntryRequest): Promise;
+
+ /**
+ * Calls GetEntry.
+ * @param request GetEntryRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and Entry
+ */
+ public getEntry(request: google.cloud.datacatalog.v1beta1.IGetEntryRequest, callback: google.cloud.datacatalog.v1beta1.DataCatalog.GetEntryCallback): void;
+
+ /**
+ * Calls GetEntry.
+ * @param request GetEntryRequest message or plain object
+ * @returns Promise
+ */
+ public getEntry(request: google.cloud.datacatalog.v1beta1.IGetEntryRequest): Promise;
+
+ /**
+ * Calls LookupEntry.
+ * @param request LookupEntryRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and Entry
+ */
+ public lookupEntry(request: google.cloud.datacatalog.v1beta1.ILookupEntryRequest, callback: google.cloud.datacatalog.v1beta1.DataCatalog.LookupEntryCallback): void;
+
+ /**
+ * Calls LookupEntry.
+ * @param request LookupEntryRequest message or plain object
+ * @returns Promise
+ */
+ public lookupEntry(request: google.cloud.datacatalog.v1beta1.ILookupEntryRequest): Promise;
+
+ /**
+ * Calls ListEntries.
+ * @param request ListEntriesRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and ListEntriesResponse
+ */
+ public listEntries(request: google.cloud.datacatalog.v1beta1.IListEntriesRequest, callback: google.cloud.datacatalog.v1beta1.DataCatalog.ListEntriesCallback): void;
+
+ /**
+ * Calls ListEntries.
+ * @param request ListEntriesRequest message or plain object
+ * @returns Promise
+ */
+ public listEntries(request: google.cloud.datacatalog.v1beta1.IListEntriesRequest): Promise;
+
+ /**
+ * Calls CreateTagTemplate.
+ * @param request CreateTagTemplateRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and TagTemplate
+ */
+ public createTagTemplate(request: google.cloud.datacatalog.v1beta1.ICreateTagTemplateRequest, callback: google.cloud.datacatalog.v1beta1.DataCatalog.CreateTagTemplateCallback): void;
+
+ /**
+ * Calls CreateTagTemplate.
+ * @param request CreateTagTemplateRequest message or plain object
+ * @returns Promise
+ */
+ public createTagTemplate(request: google.cloud.datacatalog.v1beta1.ICreateTagTemplateRequest): Promise;
+
+ /**
+ * Calls GetTagTemplate.
+ * @param request GetTagTemplateRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and TagTemplate
+ */
+ public getTagTemplate(request: google.cloud.datacatalog.v1beta1.IGetTagTemplateRequest, callback: google.cloud.datacatalog.v1beta1.DataCatalog.GetTagTemplateCallback): void;
+
+ /**
+ * Calls GetTagTemplate.
+ * @param request GetTagTemplateRequest message or plain object
+ * @returns Promise
+ */
+ public getTagTemplate(request: google.cloud.datacatalog.v1beta1.IGetTagTemplateRequest): Promise;
+
+ /**
+ * Calls UpdateTagTemplate.
+ * @param request UpdateTagTemplateRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and TagTemplate
+ */
+ public updateTagTemplate(request: google.cloud.datacatalog.v1beta1.IUpdateTagTemplateRequest, callback: google.cloud.datacatalog.v1beta1.DataCatalog.UpdateTagTemplateCallback): void;
+
+ /**
+ * Calls UpdateTagTemplate.
+ * @param request UpdateTagTemplateRequest message or plain object
+ * @returns Promise
+ */
+ public updateTagTemplate(request: google.cloud.datacatalog.v1beta1.IUpdateTagTemplateRequest): Promise;
+
+ /**
+ * Calls DeleteTagTemplate.
+ * @param request DeleteTagTemplateRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and Empty
+ */
+ public deleteTagTemplate(request: google.cloud.datacatalog.v1beta1.IDeleteTagTemplateRequest, callback: google.cloud.datacatalog.v1beta1.DataCatalog.DeleteTagTemplateCallback): void;
+
+ /**
+ * Calls DeleteTagTemplate.
+ * @param request DeleteTagTemplateRequest message or plain object
+ * @returns Promise
+ */
+ public deleteTagTemplate(request: google.cloud.datacatalog.v1beta1.IDeleteTagTemplateRequest): Promise;
+
+ /**
+ * Calls CreateTagTemplateField.
+ * @param request CreateTagTemplateFieldRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and TagTemplateField
+ */
+ public createTagTemplateField(request: google.cloud.datacatalog.v1beta1.ICreateTagTemplateFieldRequest, callback: google.cloud.datacatalog.v1beta1.DataCatalog.CreateTagTemplateFieldCallback): void;
+
+ /**
+ * Calls CreateTagTemplateField.
+ * @param request CreateTagTemplateFieldRequest message or plain object
+ * @returns Promise
+ */
+ public createTagTemplateField(request: google.cloud.datacatalog.v1beta1.ICreateTagTemplateFieldRequest): Promise;
+
+ /**
+ * Calls UpdateTagTemplateField.
+ * @param request UpdateTagTemplateFieldRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and TagTemplateField
+ */
+ public updateTagTemplateField(request: google.cloud.datacatalog.v1beta1.IUpdateTagTemplateFieldRequest, callback: google.cloud.datacatalog.v1beta1.DataCatalog.UpdateTagTemplateFieldCallback): void;
+
+ /**
+ * Calls UpdateTagTemplateField.
+ * @param request UpdateTagTemplateFieldRequest message or plain object
+ * @returns Promise
+ */
+ public updateTagTemplateField(request: google.cloud.datacatalog.v1beta1.IUpdateTagTemplateFieldRequest): Promise;
+
+ /**
+ * Calls RenameTagTemplateField.
+ * @param request RenameTagTemplateFieldRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and TagTemplateField
+ */
+ public renameTagTemplateField(request: google.cloud.datacatalog.v1beta1.IRenameTagTemplateFieldRequest, callback: google.cloud.datacatalog.v1beta1.DataCatalog.RenameTagTemplateFieldCallback): void;
+
+ /**
+ * Calls RenameTagTemplateField.
+ * @param request RenameTagTemplateFieldRequest message or plain object
+ * @returns Promise
+ */
+ public renameTagTemplateField(request: google.cloud.datacatalog.v1beta1.IRenameTagTemplateFieldRequest): Promise;
+
+ /**
+ * Calls DeleteTagTemplateField.
+ * @param request DeleteTagTemplateFieldRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and Empty
+ */
+ public deleteTagTemplateField(request: google.cloud.datacatalog.v1beta1.IDeleteTagTemplateFieldRequest, callback: google.cloud.datacatalog.v1beta1.DataCatalog.DeleteTagTemplateFieldCallback): void;
+
+ /**
+ * Calls DeleteTagTemplateField.
+ * @param request DeleteTagTemplateFieldRequest message or plain object
+ * @returns Promise
+ */
+ public deleteTagTemplateField(request: google.cloud.datacatalog.v1beta1.IDeleteTagTemplateFieldRequest): Promise;
+
+ /**
+ * Calls CreateTag.
+ * @param request CreateTagRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and Tag
+ */
+ public createTag(request: google.cloud.datacatalog.v1beta1.ICreateTagRequest, callback: google.cloud.datacatalog.v1beta1.DataCatalog.CreateTagCallback): void;
+
+ /**
+ * Calls CreateTag.
+ * @param request CreateTagRequest message or plain object
+ * @returns Promise
+ */
+ public createTag(request: google.cloud.datacatalog.v1beta1.ICreateTagRequest): Promise;
+
+ /**
+ * Calls UpdateTag.
+ * @param request UpdateTagRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and Tag
+ */
+ public updateTag(request: google.cloud.datacatalog.v1beta1.IUpdateTagRequest, callback: google.cloud.datacatalog.v1beta1.DataCatalog.UpdateTagCallback): void;
+
+ /**
+ * Calls UpdateTag.
+ * @param request UpdateTagRequest message or plain object
+ * @returns Promise
+ */
+ public updateTag(request: google.cloud.datacatalog.v1beta1.IUpdateTagRequest): Promise;
+
+ /**
+ * Calls DeleteTag.
+ * @param request DeleteTagRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and Empty
+ */
+ public deleteTag(request: google.cloud.datacatalog.v1beta1.IDeleteTagRequest, callback: google.cloud.datacatalog.v1beta1.DataCatalog.DeleteTagCallback): void;
+
+ /**
+ * Calls DeleteTag.
+ * @param request DeleteTagRequest message or plain object
+ * @returns Promise
+ */
+ public deleteTag(request: google.cloud.datacatalog.v1beta1.IDeleteTagRequest): Promise;
+
+ /**
+ * Calls ListTags.
+ * @param request ListTagsRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and ListTagsResponse
+ */
+ public listTags(request: google.cloud.datacatalog.v1beta1.IListTagsRequest, callback: google.cloud.datacatalog.v1beta1.DataCatalog.ListTagsCallback): void;
+
+ /**
+ * Calls ListTags.
+ * @param request ListTagsRequest message or plain object
+ * @returns Promise
+ */
+ public listTags(request: google.cloud.datacatalog.v1beta1.IListTagsRequest): Promise;
+
+ /**
+ * Calls SetIamPolicy.
+ * @param request SetIamPolicyRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and Policy
+ */
+ public setIamPolicy(request: google.iam.v1.ISetIamPolicyRequest, callback: google.cloud.datacatalog.v1beta1.DataCatalog.SetIamPolicyCallback): void;
+
+ /**
+ * Calls SetIamPolicy.
+ * @param request SetIamPolicyRequest message or plain object
+ * @returns Promise
+ */
+ public setIamPolicy(request: google.iam.v1.ISetIamPolicyRequest): Promise;
+
+ /**
+ * Calls GetIamPolicy.
+ * @param request GetIamPolicyRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and Policy
+ */
+ public getIamPolicy(request: google.iam.v1.IGetIamPolicyRequest, callback: google.cloud.datacatalog.v1beta1.DataCatalog.GetIamPolicyCallback): void;
+
+ /**
+ * Calls GetIamPolicy.
+ * @param request GetIamPolicyRequest message or plain object
+ * @returns Promise
+ */
+ public getIamPolicy(request: google.iam.v1.IGetIamPolicyRequest): Promise;
+
+ /**
+ * Calls TestIamPermissions.
+ * @param request TestIamPermissionsRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and TestIamPermissionsResponse
+ */
+ public testIamPermissions(request: google.iam.v1.ITestIamPermissionsRequest, callback: google.cloud.datacatalog.v1beta1.DataCatalog.TestIamPermissionsCallback): void;
+
+ /**
+ * Calls TestIamPermissions.
+ * @param request TestIamPermissionsRequest message or plain object
+ * @returns Promise
+ */
+ public testIamPermissions(request: google.iam.v1.ITestIamPermissionsRequest): Promise;
+ }
+
+ namespace DataCatalog {
+
+ /**
+ * Callback as used by {@link google.cloud.datacatalog.v1beta1.DataCatalog|searchCatalog}.
+ * @param error Error, if any
+ * @param [response] SearchCatalogResponse
+ */
+ type SearchCatalogCallback = (error: (Error|null), response?: google.cloud.datacatalog.v1beta1.SearchCatalogResponse) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.datacatalog.v1beta1.DataCatalog|createEntryGroup}.
+ * @param error Error, if any
+ * @param [response] EntryGroup
+ */
+ type CreateEntryGroupCallback = (error: (Error|null), response?: google.cloud.datacatalog.v1beta1.EntryGroup) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.datacatalog.v1beta1.DataCatalog|updateEntryGroup}.
+ * @param error Error, if any
+ * @param [response] EntryGroup
+ */
+ type UpdateEntryGroupCallback = (error: (Error|null), response?: google.cloud.datacatalog.v1beta1.EntryGroup) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.datacatalog.v1beta1.DataCatalog|getEntryGroup}.
+ * @param error Error, if any
+ * @param [response] EntryGroup
+ */
+ type GetEntryGroupCallback = (error: (Error|null), response?: google.cloud.datacatalog.v1beta1.EntryGroup) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.datacatalog.v1beta1.DataCatalog|deleteEntryGroup}.
+ * @param error Error, if any
+ * @param [response] Empty
+ */
+ type DeleteEntryGroupCallback = (error: (Error|null), response?: google.protobuf.Empty) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.datacatalog.v1beta1.DataCatalog|listEntryGroups}.
+ * @param error Error, if any
+ * @param [response] ListEntryGroupsResponse
+ */
+ type ListEntryGroupsCallback = (error: (Error|null), response?: google.cloud.datacatalog.v1beta1.ListEntryGroupsResponse) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.datacatalog.v1beta1.DataCatalog|createEntry}.
+ * @param error Error, if any
+ * @param [response] Entry
+ */
+ type CreateEntryCallback = (error: (Error|null), response?: google.cloud.datacatalog.v1beta1.Entry) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.datacatalog.v1beta1.DataCatalog|updateEntry}.
+ * @param error Error, if any
+ * @param [response] Entry
+ */
+ type UpdateEntryCallback = (error: (Error|null), response?: google.cloud.datacatalog.v1beta1.Entry) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.datacatalog.v1beta1.DataCatalog|deleteEntry}.
+ * @param error Error, if any
+ * @param [response] Empty
+ */
+ type DeleteEntryCallback = (error: (Error|null), response?: google.protobuf.Empty) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.datacatalog.v1beta1.DataCatalog|getEntry}.
+ * @param error Error, if any
+ * @param [response] Entry
+ */
+ type GetEntryCallback = (error: (Error|null), response?: google.cloud.datacatalog.v1beta1.Entry) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.datacatalog.v1beta1.DataCatalog|lookupEntry}.
+ * @param error Error, if any
+ * @param [response] Entry
+ */
+ type LookupEntryCallback = (error: (Error|null), response?: google.cloud.datacatalog.v1beta1.Entry) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.datacatalog.v1beta1.DataCatalog|listEntries}.
+ * @param error Error, if any
+ * @param [response] ListEntriesResponse
+ */
+ type ListEntriesCallback = (error: (Error|null), response?: google.cloud.datacatalog.v1beta1.ListEntriesResponse) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.datacatalog.v1beta1.DataCatalog|createTagTemplate}.
+ * @param error Error, if any
+ * @param [response] TagTemplate
+ */
+ type CreateTagTemplateCallback = (error: (Error|null), response?: google.cloud.datacatalog.v1beta1.TagTemplate) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.datacatalog.v1beta1.DataCatalog|getTagTemplate}.
+ * @param error Error, if any
+ * @param [response] TagTemplate
+ */
+ type GetTagTemplateCallback = (error: (Error|null), response?: google.cloud.datacatalog.v1beta1.TagTemplate) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.datacatalog.v1beta1.DataCatalog|updateTagTemplate}.
+ * @param error Error, if any
+ * @param [response] TagTemplate
+ */
+ type UpdateTagTemplateCallback = (error: (Error|null), response?: google.cloud.datacatalog.v1beta1.TagTemplate) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.datacatalog.v1beta1.DataCatalog|deleteTagTemplate}.
+ * @param error Error, if any
+ * @param [response] Empty
+ */
+ type DeleteTagTemplateCallback = (error: (Error|null), response?: google.protobuf.Empty) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.datacatalog.v1beta1.DataCatalog|createTagTemplateField}.
+ * @param error Error, if any
+ * @param [response] TagTemplateField
+ */
+ type CreateTagTemplateFieldCallback = (error: (Error|null), response?: google.cloud.datacatalog.v1beta1.TagTemplateField) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.datacatalog.v1beta1.DataCatalog|updateTagTemplateField}.
+ * @param error Error, if any
+ * @param [response] TagTemplateField
+ */
+ type UpdateTagTemplateFieldCallback = (error: (Error|null), response?: google.cloud.datacatalog.v1beta1.TagTemplateField) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.datacatalog.v1beta1.DataCatalog|renameTagTemplateField}.
+ * @param error Error, if any
+ * @param [response] TagTemplateField
+ */
+ type RenameTagTemplateFieldCallback = (error: (Error|null), response?: google.cloud.datacatalog.v1beta1.TagTemplateField) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.datacatalog.v1beta1.DataCatalog|deleteTagTemplateField}.
+ * @param error Error, if any
+ * @param [response] Empty
+ */
+ type DeleteTagTemplateFieldCallback = (error: (Error|null), response?: google.protobuf.Empty) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.datacatalog.v1beta1.DataCatalog|createTag}.
+ * @param error Error, if any
+ * @param [response] Tag
+ */
+ type CreateTagCallback = (error: (Error|null), response?: google.cloud.datacatalog.v1beta1.Tag) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.datacatalog.v1beta1.DataCatalog|updateTag}.
+ * @param error Error, if any
+ * @param [response] Tag
+ */
+ type UpdateTagCallback = (error: (Error|null), response?: google.cloud.datacatalog.v1beta1.Tag) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.datacatalog.v1beta1.DataCatalog|deleteTag}.
+ * @param error Error, if any
+ * @param [response] Empty
+ */
+ type DeleteTagCallback = (error: (Error|null), response?: google.protobuf.Empty) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.datacatalog.v1beta1.DataCatalog|listTags}.
+ * @param error Error, if any
+ * @param [response] ListTagsResponse
+ */
+ type ListTagsCallback = (error: (Error|null), response?: google.cloud.datacatalog.v1beta1.ListTagsResponse) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.datacatalog.v1beta1.DataCatalog|setIamPolicy}.
+ * @param error Error, if any
+ * @param [response] Policy
+ */
+ type SetIamPolicyCallback = (error: (Error|null), response?: google.iam.v1.Policy) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.datacatalog.v1beta1.DataCatalog|getIamPolicy}.
+ * @param error Error, if any
+ * @param [response] Policy
+ */
+ type GetIamPolicyCallback = (error: (Error|null), response?: google.iam.v1.Policy) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.datacatalog.v1beta1.DataCatalog|testIamPermissions}.
+ * @param error Error, if any
+ * @param [response] TestIamPermissionsResponse
+ */
+ type TestIamPermissionsCallback = (error: (Error|null), response?: google.iam.v1.TestIamPermissionsResponse) => void;
+ }
+
+ /** Properties of a SearchCatalogRequest. */
+ interface ISearchCatalogRequest {
+
+ /** SearchCatalogRequest scope */
+ scope?: (google.cloud.datacatalog.v1beta1.SearchCatalogRequest.IScope|null);
+
+ /** SearchCatalogRequest query */
+ query?: (string|null);
+
+ /** SearchCatalogRequest pageSize */
+ pageSize?: (number|null);
+
+ /** SearchCatalogRequest pageToken */
+ pageToken?: (string|null);
+
+ /** SearchCatalogRequest orderBy */
+ orderBy?: (string|null);
+ }
+
+ /** Represents a SearchCatalogRequest. */
+ class SearchCatalogRequest implements ISearchCatalogRequest {
+
+ /**
+ * Constructs a new SearchCatalogRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.datacatalog.v1beta1.ISearchCatalogRequest);
+
+ /** SearchCatalogRequest scope. */
+ public scope?: (google.cloud.datacatalog.v1beta1.SearchCatalogRequest.IScope|null);
+
+ /** SearchCatalogRequest query. */
+ public query: string;
+
+ /** SearchCatalogRequest pageSize. */
+ public pageSize: number;
+
+ /** SearchCatalogRequest pageToken. */
+ public pageToken: string;
+
+ /** SearchCatalogRequest orderBy. */
+ public orderBy: string;
+
+ /**
+ * Creates a new SearchCatalogRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns SearchCatalogRequest instance
+ */
+ public static create(properties?: google.cloud.datacatalog.v1beta1.ISearchCatalogRequest): google.cloud.datacatalog.v1beta1.SearchCatalogRequest;
+
+ /**
+ * Encodes the specified SearchCatalogRequest message. Does not implicitly {@link google.cloud.datacatalog.v1beta1.SearchCatalogRequest.verify|verify} messages.
+ * @param message SearchCatalogRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.datacatalog.v1beta1.ISearchCatalogRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified SearchCatalogRequest message, length delimited. Does not implicitly {@link google.cloud.datacatalog.v1beta1.SearchCatalogRequest.verify|verify} messages.
+ * @param message SearchCatalogRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.datacatalog.v1beta1.ISearchCatalogRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a SearchCatalogRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns SearchCatalogRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.datacatalog.v1beta1.SearchCatalogRequest;
+
+ /**
+ * Decodes a SearchCatalogRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns SearchCatalogRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.datacatalog.v1beta1.SearchCatalogRequest;
+
+ /**
+ * Verifies a SearchCatalogRequest message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a SearchCatalogRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns SearchCatalogRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.datacatalog.v1beta1.SearchCatalogRequest;
+
+ /**
+ * Creates a plain object from a SearchCatalogRequest message. Also converts values to other types if specified.
+ * @param message SearchCatalogRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.datacatalog.v1beta1.SearchCatalogRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this SearchCatalogRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for SearchCatalogRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace SearchCatalogRequest {
+
+ /** Properties of a Scope. */
+ interface IScope {
+
+ /** Scope includeOrgIds */
+ includeOrgIds?: (string[]|null);
+
+ /** Scope includeProjectIds */
+ includeProjectIds?: (string[]|null);
+
+ /** Scope includeGcpPublicDatasets */
+ includeGcpPublicDatasets?: (boolean|null);
+ }
+
+ /** Represents a Scope. */
+ class Scope implements IScope {
+
+ /**
+ * Constructs a new Scope.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.datacatalog.v1beta1.SearchCatalogRequest.IScope);
+
+ /** Scope includeOrgIds. */
+ public includeOrgIds: string[];
+
+ /** Scope includeProjectIds. */
+ public includeProjectIds: string[];
+
+ /** Scope includeGcpPublicDatasets. */
+ public includeGcpPublicDatasets: boolean;
+
+ /**
+ * Creates a new Scope instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns Scope instance
+ */
+ public static create(properties?: google.cloud.datacatalog.v1beta1.SearchCatalogRequest.IScope): google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope;
+
+ /**
+ * Encodes the specified Scope message. Does not implicitly {@link google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope.verify|verify} messages.
+ * @param message Scope message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.datacatalog.v1beta1.SearchCatalogRequest.IScope, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified Scope message, length delimited. Does not implicitly {@link google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope.verify|verify} messages.
+ * @param message Scope message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.datacatalog.v1beta1.SearchCatalogRequest.IScope, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a Scope message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns Scope
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope;
+
+ /**
+ * Decodes a Scope message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns Scope
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope;
+
+ /**
+ * Verifies a Scope message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a Scope message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns Scope
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope;
+
+ /**
+ * Creates a plain object from a Scope message. Also converts values to other types if specified.
+ * @param message Scope
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this Scope to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for Scope
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+ }
+
+ /** Properties of a SearchCatalogResponse. */
+ interface ISearchCatalogResponse {
+
+ /** SearchCatalogResponse results */
+ results?: (google.cloud.datacatalog.v1beta1.ISearchCatalogResult[]|null);
+
+ /** SearchCatalogResponse nextPageToken */
+ nextPageToken?: (string|null);
+ }
+
+ /** Represents a SearchCatalogResponse. */
+ class SearchCatalogResponse implements ISearchCatalogResponse {
+
+ /**
+ * Constructs a new SearchCatalogResponse.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.datacatalog.v1beta1.ISearchCatalogResponse);
+
+ /** SearchCatalogResponse results. */
+ public results: google.cloud.datacatalog.v1beta1.ISearchCatalogResult[];
+
+ /** SearchCatalogResponse nextPageToken. */
+ public nextPageToken: string;
+
+ /**
+ * Creates a new SearchCatalogResponse instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns SearchCatalogResponse instance
+ */
+ public static create(properties?: google.cloud.datacatalog.v1beta1.ISearchCatalogResponse): google.cloud.datacatalog.v1beta1.SearchCatalogResponse;
+
+ /**
+ * Encodes the specified SearchCatalogResponse message. Does not implicitly {@link google.cloud.datacatalog.v1beta1.SearchCatalogResponse.verify|verify} messages.
+ * @param message SearchCatalogResponse message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.datacatalog.v1beta1.ISearchCatalogResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified SearchCatalogResponse message, length delimited. Does not implicitly {@link google.cloud.datacatalog.v1beta1.SearchCatalogResponse.verify|verify} messages.
+ * @param message SearchCatalogResponse message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.datacatalog.v1beta1.ISearchCatalogResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a SearchCatalogResponse message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns SearchCatalogResponse
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.datacatalog.v1beta1.SearchCatalogResponse;
+
+ /**
+ * Decodes a SearchCatalogResponse message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns SearchCatalogResponse
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.datacatalog.v1beta1.SearchCatalogResponse;
+
+ /**
+ * Verifies a SearchCatalogResponse message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a SearchCatalogResponse message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns SearchCatalogResponse
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.datacatalog.v1beta1.SearchCatalogResponse;
+
+ /**
+ * Creates a plain object from a SearchCatalogResponse message. Also converts values to other types if specified.
+ * @param message SearchCatalogResponse
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.datacatalog.v1beta1.SearchCatalogResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this SearchCatalogResponse to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for SearchCatalogResponse
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a CreateEntryGroupRequest. */
+ interface ICreateEntryGroupRequest {
+
+ /** CreateEntryGroupRequest parent */
+ parent?: (string|null);
+
+ /** CreateEntryGroupRequest entryGroupId */
+ entryGroupId?: (string|null);
+
+ /** CreateEntryGroupRequest entryGroup */
+ entryGroup?: (google.cloud.datacatalog.v1beta1.IEntryGroup|null);
+ }
+
+ /** Represents a CreateEntryGroupRequest. */
+ class CreateEntryGroupRequest implements ICreateEntryGroupRequest {
+
+ /**
+ * Constructs a new CreateEntryGroupRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.datacatalog.v1beta1.ICreateEntryGroupRequest);
+
+ /** CreateEntryGroupRequest parent. */
+ public parent: string;
+
+ /** CreateEntryGroupRequest entryGroupId. */
+ public entryGroupId: string;
+
+ /** CreateEntryGroupRequest entryGroup. */
+ public entryGroup?: (google.cloud.datacatalog.v1beta1.IEntryGroup|null);
+
+ /**
+ * Creates a new CreateEntryGroupRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns CreateEntryGroupRequest instance
+ */
+ public static create(properties?: google.cloud.datacatalog.v1beta1.ICreateEntryGroupRequest): google.cloud.datacatalog.v1beta1.CreateEntryGroupRequest;
+
+ /**
+ * Encodes the specified CreateEntryGroupRequest message. Does not implicitly {@link google.cloud.datacatalog.v1beta1.CreateEntryGroupRequest.verify|verify} messages.
+ * @param message CreateEntryGroupRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.datacatalog.v1beta1.ICreateEntryGroupRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified CreateEntryGroupRequest message, length delimited. Does not implicitly {@link google.cloud.datacatalog.v1beta1.CreateEntryGroupRequest.verify|verify} messages.
+ * @param message CreateEntryGroupRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.datacatalog.v1beta1.ICreateEntryGroupRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a CreateEntryGroupRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns CreateEntryGroupRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.datacatalog.v1beta1.CreateEntryGroupRequest;
+
+ /**
+ * Decodes a CreateEntryGroupRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns CreateEntryGroupRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.datacatalog.v1beta1.CreateEntryGroupRequest;
+
+ /**
+ * Verifies a CreateEntryGroupRequest message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a CreateEntryGroupRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns CreateEntryGroupRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.datacatalog.v1beta1.CreateEntryGroupRequest;
+
+ /**
+ * Creates a plain object from a CreateEntryGroupRequest message. Also converts values to other types if specified.
+ * @param message CreateEntryGroupRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.datacatalog.v1beta1.CreateEntryGroupRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this CreateEntryGroupRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for CreateEntryGroupRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of an UpdateEntryGroupRequest. */
+ interface IUpdateEntryGroupRequest {
+
+ /** UpdateEntryGroupRequest entryGroup */
+ entryGroup?: (google.cloud.datacatalog.v1beta1.IEntryGroup|null);
+
+ /** UpdateEntryGroupRequest updateMask */
+ updateMask?: (google.protobuf.IFieldMask|null);
+ }
+
+ /** Represents an UpdateEntryGroupRequest. */
+ class UpdateEntryGroupRequest implements IUpdateEntryGroupRequest {
+
+ /**
+ * Constructs a new UpdateEntryGroupRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.datacatalog.v1beta1.IUpdateEntryGroupRequest);
+
+ /** UpdateEntryGroupRequest entryGroup. */
+ public entryGroup?: (google.cloud.datacatalog.v1beta1.IEntryGroup|null);
+
+ /** UpdateEntryGroupRequest updateMask. */
+ public updateMask?: (google.protobuf.IFieldMask|null);
+
+ /**
+ * Creates a new UpdateEntryGroupRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns UpdateEntryGroupRequest instance
+ */
+ public static create(properties?: google.cloud.datacatalog.v1beta1.IUpdateEntryGroupRequest): google.cloud.datacatalog.v1beta1.UpdateEntryGroupRequest;
+
+ /**
+ * Encodes the specified UpdateEntryGroupRequest message. Does not implicitly {@link google.cloud.datacatalog.v1beta1.UpdateEntryGroupRequest.verify|verify} messages.
+ * @param message UpdateEntryGroupRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.datacatalog.v1beta1.IUpdateEntryGroupRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified UpdateEntryGroupRequest message, length delimited. Does not implicitly {@link google.cloud.datacatalog.v1beta1.UpdateEntryGroupRequest.verify|verify} messages.
+ * @param message UpdateEntryGroupRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.datacatalog.v1beta1.IUpdateEntryGroupRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an UpdateEntryGroupRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns UpdateEntryGroupRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.datacatalog.v1beta1.UpdateEntryGroupRequest;
+
+ /**
+ * Decodes an UpdateEntryGroupRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns UpdateEntryGroupRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.datacatalog.v1beta1.UpdateEntryGroupRequest;
+
+ /**
+ * Verifies an UpdateEntryGroupRequest message.
+ * @param message Plain 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 UpdateEntryGroupRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns UpdateEntryGroupRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.datacatalog.v1beta1.UpdateEntryGroupRequest;
+
+ /**
+ * Creates a plain object from an UpdateEntryGroupRequest message. Also converts values to other types if specified.
+ * @param message UpdateEntryGroupRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.datacatalog.v1beta1.UpdateEntryGroupRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this UpdateEntryGroupRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for UpdateEntryGroupRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a GetEntryGroupRequest. */
+ interface IGetEntryGroupRequest {
+
+ /** GetEntryGroupRequest name */
+ name?: (string|null);
+
+ /** GetEntryGroupRequest readMask */
+ readMask?: (google.protobuf.IFieldMask|null);
+ }
+
+ /** Represents a GetEntryGroupRequest. */
+ class GetEntryGroupRequest implements IGetEntryGroupRequest {
+
+ /**
+ * Constructs a new GetEntryGroupRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.datacatalog.v1beta1.IGetEntryGroupRequest);
+
+ /** GetEntryGroupRequest name. */
+ public name: string;
+
+ /** GetEntryGroupRequest readMask. */
+ public readMask?: (google.protobuf.IFieldMask|null);
+
+ /**
+ * Creates a new GetEntryGroupRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns GetEntryGroupRequest instance
+ */
+ public static create(properties?: google.cloud.datacatalog.v1beta1.IGetEntryGroupRequest): google.cloud.datacatalog.v1beta1.GetEntryGroupRequest;
+
+ /**
+ * Encodes the specified GetEntryGroupRequest message. Does not implicitly {@link google.cloud.datacatalog.v1beta1.GetEntryGroupRequest.verify|verify} messages.
+ * @param message GetEntryGroupRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.datacatalog.v1beta1.IGetEntryGroupRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified GetEntryGroupRequest message, length delimited. Does not implicitly {@link google.cloud.datacatalog.v1beta1.GetEntryGroupRequest.verify|verify} messages.
+ * @param message GetEntryGroupRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.datacatalog.v1beta1.IGetEntryGroupRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a GetEntryGroupRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns GetEntryGroupRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.datacatalog.v1beta1.GetEntryGroupRequest;
+
+ /**
+ * Decodes a GetEntryGroupRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns GetEntryGroupRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.datacatalog.v1beta1.GetEntryGroupRequest;
+
+ /**
+ * Verifies a GetEntryGroupRequest message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a GetEntryGroupRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns GetEntryGroupRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.datacatalog.v1beta1.GetEntryGroupRequest;
+
+ /**
+ * Creates a plain object from a GetEntryGroupRequest message. Also converts values to other types if specified.
+ * @param message GetEntryGroupRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.datacatalog.v1beta1.GetEntryGroupRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this GetEntryGroupRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for GetEntryGroupRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a DeleteEntryGroupRequest. */
+ interface IDeleteEntryGroupRequest {
+
+ /** DeleteEntryGroupRequest name */
+ name?: (string|null);
+
+ /** DeleteEntryGroupRequest force */
+ force?: (boolean|null);
+ }
+
+ /** Represents a DeleteEntryGroupRequest. */
+ class DeleteEntryGroupRequest implements IDeleteEntryGroupRequest {
+
+ /**
+ * Constructs a new DeleteEntryGroupRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.datacatalog.v1beta1.IDeleteEntryGroupRequest);
+
+ /** DeleteEntryGroupRequest name. */
+ public name: string;
+
+ /** DeleteEntryGroupRequest force. */
+ public force: boolean;
+
+ /**
+ * Creates a new DeleteEntryGroupRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns DeleteEntryGroupRequest instance
+ */
+ public static create(properties?: google.cloud.datacatalog.v1beta1.IDeleteEntryGroupRequest): google.cloud.datacatalog.v1beta1.DeleteEntryGroupRequest;
+
+ /**
+ * Encodes the specified DeleteEntryGroupRequest message. Does not implicitly {@link google.cloud.datacatalog.v1beta1.DeleteEntryGroupRequest.verify|verify} messages.
+ * @param message DeleteEntryGroupRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.datacatalog.v1beta1.IDeleteEntryGroupRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified DeleteEntryGroupRequest message, length delimited. Does not implicitly {@link google.cloud.datacatalog.v1beta1.DeleteEntryGroupRequest.verify|verify} messages.
+ * @param message DeleteEntryGroupRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.datacatalog.v1beta1.IDeleteEntryGroupRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a DeleteEntryGroupRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns DeleteEntryGroupRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.datacatalog.v1beta1.DeleteEntryGroupRequest;
+
+ /**
+ * Decodes a DeleteEntryGroupRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns DeleteEntryGroupRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.datacatalog.v1beta1.DeleteEntryGroupRequest;
+
+ /**
+ * Verifies a DeleteEntryGroupRequest message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a DeleteEntryGroupRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns DeleteEntryGroupRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.datacatalog.v1beta1.DeleteEntryGroupRequest;
+
+ /**
+ * Creates a plain object from a DeleteEntryGroupRequest message. Also converts values to other types if specified.
+ * @param message DeleteEntryGroupRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.datacatalog.v1beta1.DeleteEntryGroupRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this DeleteEntryGroupRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for DeleteEntryGroupRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a ListEntryGroupsRequest. */
+ interface IListEntryGroupsRequest {
+
+ /** ListEntryGroupsRequest parent */
+ parent?: (string|null);
+
+ /** ListEntryGroupsRequest pageSize */
+ pageSize?: (number|null);
+
+ /** ListEntryGroupsRequest pageToken */
+ pageToken?: (string|null);
+ }
+
+ /** Represents a ListEntryGroupsRequest. */
+ class ListEntryGroupsRequest implements IListEntryGroupsRequest {
+
+ /**
+ * Constructs a new ListEntryGroupsRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.datacatalog.v1beta1.IListEntryGroupsRequest);
+
+ /** ListEntryGroupsRequest parent. */
+ public parent: string;
+
+ /** ListEntryGroupsRequest pageSize. */
+ public pageSize: number;
+
+ /** ListEntryGroupsRequest pageToken. */
+ public pageToken: string;
+
+ /**
+ * Creates a new ListEntryGroupsRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ListEntryGroupsRequest instance
+ */
+ public static create(properties?: google.cloud.datacatalog.v1beta1.IListEntryGroupsRequest): google.cloud.datacatalog.v1beta1.ListEntryGroupsRequest;
+
+ /**
+ * Encodes the specified ListEntryGroupsRequest message. Does not implicitly {@link google.cloud.datacatalog.v1beta1.ListEntryGroupsRequest.verify|verify} messages.
+ * @param message ListEntryGroupsRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.datacatalog.v1beta1.IListEntryGroupsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ListEntryGroupsRequest message, length delimited. Does not implicitly {@link google.cloud.datacatalog.v1beta1.ListEntryGroupsRequest.verify|verify} messages.
+ * @param message ListEntryGroupsRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.datacatalog.v1beta1.IListEntryGroupsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ListEntryGroupsRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ListEntryGroupsRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.datacatalog.v1beta1.ListEntryGroupsRequest;
+
+ /**
+ * Decodes a ListEntryGroupsRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ListEntryGroupsRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.datacatalog.v1beta1.ListEntryGroupsRequest;
+
+ /**
+ * Verifies a ListEntryGroupsRequest message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a ListEntryGroupsRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ListEntryGroupsRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.datacatalog.v1beta1.ListEntryGroupsRequest;
+
+ /**
+ * Creates a plain object from a ListEntryGroupsRequest message. Also converts values to other types if specified.
+ * @param message ListEntryGroupsRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.datacatalog.v1beta1.ListEntryGroupsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ListEntryGroupsRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ListEntryGroupsRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a ListEntryGroupsResponse. */
+ interface IListEntryGroupsResponse {
+
+ /** ListEntryGroupsResponse entryGroups */
+ entryGroups?: (google.cloud.datacatalog.v1beta1.IEntryGroup[]|null);
+
+ /** ListEntryGroupsResponse nextPageToken */
+ nextPageToken?: (string|null);
+ }
+
+ /** Represents a ListEntryGroupsResponse. */
+ class ListEntryGroupsResponse implements IListEntryGroupsResponse {
+
+ /**
+ * Constructs a new ListEntryGroupsResponse.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.datacatalog.v1beta1.IListEntryGroupsResponse);
+
+ /** ListEntryGroupsResponse entryGroups. */
+ public entryGroups: google.cloud.datacatalog.v1beta1.IEntryGroup[];
+
+ /** ListEntryGroupsResponse nextPageToken. */
+ public nextPageToken: string;
+
+ /**
+ * Creates a new ListEntryGroupsResponse instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ListEntryGroupsResponse instance
+ */
+ public static create(properties?: google.cloud.datacatalog.v1beta1.IListEntryGroupsResponse): google.cloud.datacatalog.v1beta1.ListEntryGroupsResponse;
+
+ /**
+ * Encodes the specified ListEntryGroupsResponse message. Does not implicitly {@link google.cloud.datacatalog.v1beta1.ListEntryGroupsResponse.verify|verify} messages.
+ * @param message ListEntryGroupsResponse message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.datacatalog.v1beta1.IListEntryGroupsResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ListEntryGroupsResponse message, length delimited. Does not implicitly {@link google.cloud.datacatalog.v1beta1.ListEntryGroupsResponse.verify|verify} messages.
+ * @param message ListEntryGroupsResponse message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.datacatalog.v1beta1.IListEntryGroupsResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ListEntryGroupsResponse message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ListEntryGroupsResponse
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.datacatalog.v1beta1.ListEntryGroupsResponse;
+
+ /**
+ * Decodes a ListEntryGroupsResponse message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ListEntryGroupsResponse
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.datacatalog.v1beta1.ListEntryGroupsResponse;
+
+ /**
+ * Verifies a ListEntryGroupsResponse message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a ListEntryGroupsResponse message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ListEntryGroupsResponse
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.datacatalog.v1beta1.ListEntryGroupsResponse;
+
+ /**
+ * Creates a plain object from a ListEntryGroupsResponse message. Also converts values to other types if specified.
+ * @param message ListEntryGroupsResponse
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.datacatalog.v1beta1.ListEntryGroupsResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ListEntryGroupsResponse to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ListEntryGroupsResponse
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a CreateEntryRequest. */
+ interface ICreateEntryRequest {
+
+ /** CreateEntryRequest parent */
+ parent?: (string|null);
+
+ /** CreateEntryRequest entryId */
+ entryId?: (string|null);
+
+ /** CreateEntryRequest entry */
+ entry?: (google.cloud.datacatalog.v1beta1.IEntry|null);
+ }
+
+ /** Represents a CreateEntryRequest. */
+ class CreateEntryRequest implements ICreateEntryRequest {
+
+ /**
+ * Constructs a new CreateEntryRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.datacatalog.v1beta1.ICreateEntryRequest);
+
+ /** CreateEntryRequest parent. */
+ public parent: string;
+
+ /** CreateEntryRequest entryId. */
+ public entryId: string;
+
+ /** CreateEntryRequest entry. */
+ public entry?: (google.cloud.datacatalog.v1beta1.IEntry|null);
+
+ /**
+ * Creates a new CreateEntryRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns CreateEntryRequest instance
+ */
+ public static create(properties?: google.cloud.datacatalog.v1beta1.ICreateEntryRequest): google.cloud.datacatalog.v1beta1.CreateEntryRequest;
+
+ /**
+ * Encodes the specified CreateEntryRequest message. Does not implicitly {@link google.cloud.datacatalog.v1beta1.CreateEntryRequest.verify|verify} messages.
+ * @param message CreateEntryRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.datacatalog.v1beta1.ICreateEntryRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified CreateEntryRequest message, length delimited. Does not implicitly {@link google.cloud.datacatalog.v1beta1.CreateEntryRequest.verify|verify} messages.
+ * @param message CreateEntryRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.datacatalog.v1beta1.ICreateEntryRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a CreateEntryRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns CreateEntryRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.datacatalog.v1beta1.CreateEntryRequest;
+
+ /**
+ * Decodes a CreateEntryRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns CreateEntryRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.datacatalog.v1beta1.CreateEntryRequest;
+
+ /**
+ * Verifies a CreateEntryRequest message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a CreateEntryRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns CreateEntryRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.datacatalog.v1beta1.CreateEntryRequest;
+
+ /**
+ * Creates a plain object from a CreateEntryRequest message. Also converts values to other types if specified.
+ * @param message CreateEntryRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.datacatalog.v1beta1.CreateEntryRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this CreateEntryRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for CreateEntryRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of an UpdateEntryRequest. */
+ interface IUpdateEntryRequest {
+
+ /** UpdateEntryRequest entry */
+ entry?: (google.cloud.datacatalog.v1beta1.IEntry|null);
+
+ /** UpdateEntryRequest updateMask */
+ updateMask?: (google.protobuf.IFieldMask|null);
+ }
+
+ /** Represents an UpdateEntryRequest. */
+ class UpdateEntryRequest implements IUpdateEntryRequest {
+
+ /**
+ * Constructs a new UpdateEntryRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.datacatalog.v1beta1.IUpdateEntryRequest);
+
+ /** UpdateEntryRequest entry. */
+ public entry?: (google.cloud.datacatalog.v1beta1.IEntry|null);
+
+ /** UpdateEntryRequest updateMask. */
+ public updateMask?: (google.protobuf.IFieldMask|null);
+
+ /**
+ * Creates a new UpdateEntryRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns UpdateEntryRequest instance
+ */
+ public static create(properties?: google.cloud.datacatalog.v1beta1.IUpdateEntryRequest): google.cloud.datacatalog.v1beta1.UpdateEntryRequest;
+
+ /**
+ * Encodes the specified UpdateEntryRequest message. Does not implicitly {@link google.cloud.datacatalog.v1beta1.UpdateEntryRequest.verify|verify} messages.
+ * @param message UpdateEntryRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.datacatalog.v1beta1.IUpdateEntryRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified UpdateEntryRequest message, length delimited. Does not implicitly {@link google.cloud.datacatalog.v1beta1.UpdateEntryRequest.verify|verify} messages.
+ * @param message UpdateEntryRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.datacatalog.v1beta1.IUpdateEntryRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an UpdateEntryRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns UpdateEntryRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.datacatalog.v1beta1.UpdateEntryRequest;
+
+ /**
+ * Decodes an UpdateEntryRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns UpdateEntryRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.datacatalog.v1beta1.UpdateEntryRequest;
+
+ /**
+ * Verifies an UpdateEntryRequest message.
+ * @param message Plain 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 UpdateEntryRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns UpdateEntryRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.datacatalog.v1beta1.UpdateEntryRequest;
+
+ /**
+ * Creates a plain object from an UpdateEntryRequest message. Also converts values to other types if specified.
+ * @param message UpdateEntryRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.datacatalog.v1beta1.UpdateEntryRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this UpdateEntryRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for UpdateEntryRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a DeleteEntryRequest. */
+ interface IDeleteEntryRequest {
+
+ /** DeleteEntryRequest name */
+ name?: (string|null);
+ }
+
+ /** Represents a DeleteEntryRequest. */
+ class DeleteEntryRequest implements IDeleteEntryRequest {
+
+ /**
+ * Constructs a new DeleteEntryRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.datacatalog.v1beta1.IDeleteEntryRequest);
+
+ /** DeleteEntryRequest name. */
+ public name: string;
+
+ /**
+ * Creates a new DeleteEntryRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns DeleteEntryRequest instance
+ */
+ public static create(properties?: google.cloud.datacatalog.v1beta1.IDeleteEntryRequest): google.cloud.datacatalog.v1beta1.DeleteEntryRequest;
+
+ /**
+ * Encodes the specified DeleteEntryRequest message. Does not implicitly {@link google.cloud.datacatalog.v1beta1.DeleteEntryRequest.verify|verify} messages.
+ * @param message DeleteEntryRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.datacatalog.v1beta1.IDeleteEntryRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified DeleteEntryRequest message, length delimited. Does not implicitly {@link google.cloud.datacatalog.v1beta1.DeleteEntryRequest.verify|verify} messages.
+ * @param message DeleteEntryRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.datacatalog.v1beta1.IDeleteEntryRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a DeleteEntryRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns DeleteEntryRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.datacatalog.v1beta1.DeleteEntryRequest;
+
+ /**
+ * Decodes a DeleteEntryRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns DeleteEntryRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.datacatalog.v1beta1.DeleteEntryRequest;
+
+ /**
+ * Verifies a DeleteEntryRequest message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a DeleteEntryRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns DeleteEntryRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.datacatalog.v1beta1.DeleteEntryRequest;
+
+ /**
+ * Creates a plain object from a DeleteEntryRequest message. Also converts values to other types if specified.
+ * @param message DeleteEntryRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.datacatalog.v1beta1.DeleteEntryRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this DeleteEntryRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for DeleteEntryRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a GetEntryRequest. */
+ interface IGetEntryRequest {
+
+ /** GetEntryRequest name */
+ name?: (string|null);
+ }
+
+ /** Represents a GetEntryRequest. */
+ class GetEntryRequest implements IGetEntryRequest {
+
+ /**
+ * Constructs a new GetEntryRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.datacatalog.v1beta1.IGetEntryRequest);
+
+ /** GetEntryRequest name. */
+ public name: string;
+
+ /**
+ * Creates a new GetEntryRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns GetEntryRequest instance
+ */
+ public static create(properties?: google.cloud.datacatalog.v1beta1.IGetEntryRequest): google.cloud.datacatalog.v1beta1.GetEntryRequest;
+
+ /**
+ * Encodes the specified GetEntryRequest message. Does not implicitly {@link google.cloud.datacatalog.v1beta1.GetEntryRequest.verify|verify} messages.
+ * @param message GetEntryRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.datacatalog.v1beta1.IGetEntryRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified GetEntryRequest message, length delimited. Does not implicitly {@link google.cloud.datacatalog.v1beta1.GetEntryRequest.verify|verify} messages.
+ * @param message GetEntryRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.datacatalog.v1beta1.IGetEntryRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a GetEntryRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns GetEntryRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.datacatalog.v1beta1.GetEntryRequest;
+
+ /**
+ * Decodes a GetEntryRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns GetEntryRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.datacatalog.v1beta1.GetEntryRequest;
+
+ /**
+ * Verifies a GetEntryRequest message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a GetEntryRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns GetEntryRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.datacatalog.v1beta1.GetEntryRequest;
+
+ /**
+ * Creates a plain object from a GetEntryRequest message. Also converts values to other types if specified.
+ * @param message GetEntryRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.datacatalog.v1beta1.GetEntryRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this GetEntryRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for GetEntryRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a LookupEntryRequest. */
+ interface ILookupEntryRequest {
+
+ /** LookupEntryRequest linkedResource */
+ linkedResource?: (string|null);
+
+ /** LookupEntryRequest sqlResource */
+ sqlResource?: (string|null);
+ }
+
+ /** Represents a LookupEntryRequest. */
+ class LookupEntryRequest implements ILookupEntryRequest {
+
+ /**
+ * Constructs a new LookupEntryRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.datacatalog.v1beta1.ILookupEntryRequest);
+
+ /** LookupEntryRequest linkedResource. */
+ public linkedResource?: (string|null);
+
+ /** LookupEntryRequest sqlResource. */
+ public sqlResource?: (string|null);
+
+ /** LookupEntryRequest targetName. */
+ public targetName?: ("linkedResource"|"sqlResource");
+
+ /**
+ * Creates a new LookupEntryRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns LookupEntryRequest instance
+ */
+ public static create(properties?: google.cloud.datacatalog.v1beta1.ILookupEntryRequest): google.cloud.datacatalog.v1beta1.LookupEntryRequest;
+
+ /**
+ * Encodes the specified LookupEntryRequest message. Does not implicitly {@link google.cloud.datacatalog.v1beta1.LookupEntryRequest.verify|verify} messages.
+ * @param message LookupEntryRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.datacatalog.v1beta1.ILookupEntryRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified LookupEntryRequest message, length delimited. Does not implicitly {@link google.cloud.datacatalog.v1beta1.LookupEntryRequest.verify|verify} messages.
+ * @param message LookupEntryRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.datacatalog.v1beta1.ILookupEntryRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a LookupEntryRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns LookupEntryRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.datacatalog.v1beta1.LookupEntryRequest;
+
+ /**
+ * Decodes a LookupEntryRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns LookupEntryRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.datacatalog.v1beta1.LookupEntryRequest;
+
+ /**
+ * Verifies a LookupEntryRequest message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a LookupEntryRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns LookupEntryRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.datacatalog.v1beta1.LookupEntryRequest;
+
+ /**
+ * Creates a plain object from a LookupEntryRequest message. Also converts values to other types if specified.
+ * @param message LookupEntryRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.datacatalog.v1beta1.LookupEntryRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this LookupEntryRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for LookupEntryRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of an Entry. */
+ interface IEntry {
+
+ /** Entry name */
+ name?: (string|null);
+
+ /** Entry linkedResource */
+ linkedResource?: (string|null);
+
+ /** Entry type */
+ type?: (google.cloud.datacatalog.v1beta1.EntryType|keyof typeof google.cloud.datacatalog.v1beta1.EntryType|null);
+
+ /** Entry userSpecifiedType */
+ userSpecifiedType?: (string|null);
+
+ /** Entry integratedSystem */
+ integratedSystem?: (google.cloud.datacatalog.v1beta1.IntegratedSystem|keyof typeof google.cloud.datacatalog.v1beta1.IntegratedSystem|null);
+
+ /** Entry userSpecifiedSystem */
+ userSpecifiedSystem?: (string|null);
+
+ /** Entry gcsFilesetSpec */
+ gcsFilesetSpec?: (google.cloud.datacatalog.v1beta1.IGcsFilesetSpec|null);
+
+ /** Entry bigqueryTableSpec */
+ bigqueryTableSpec?: (google.cloud.datacatalog.v1beta1.IBigQueryTableSpec|null);
+
+ /** Entry bigqueryDateShardedSpec */
+ bigqueryDateShardedSpec?: (google.cloud.datacatalog.v1beta1.IBigQueryDateShardedSpec|null);
+
+ /** Entry displayName */
+ displayName?: (string|null);
+
+ /** Entry description */
+ description?: (string|null);
+
+ /** Entry schema */
+ schema?: (google.cloud.datacatalog.v1beta1.ISchema|null);
+
+ /** Entry sourceSystemTimestamps */
+ sourceSystemTimestamps?: (google.cloud.datacatalog.v1beta1.ISystemTimestamps|null);
+ }
+
+ /** Represents an Entry. */
+ class Entry implements IEntry {
+
+ /**
+ * Constructs a new Entry.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.datacatalog.v1beta1.IEntry);
+
+ /** Entry name. */
+ public name: string;
+
+ /** Entry linkedResource. */
+ public linkedResource: string;
+
+ /** Entry type. */
+ public type?: (google.cloud.datacatalog.v1beta1.EntryType|keyof typeof google.cloud.datacatalog.v1beta1.EntryType|null);
+
+ /** Entry userSpecifiedType. */
+ public userSpecifiedType?: (string|null);
+
+ /** Entry integratedSystem. */
+ public integratedSystem?: (google.cloud.datacatalog.v1beta1.IntegratedSystem|keyof typeof google.cloud.datacatalog.v1beta1.IntegratedSystem|null);
+
+ /** Entry userSpecifiedSystem. */
+ public userSpecifiedSystem?: (string|null);
+
+ /** Entry gcsFilesetSpec. */
+ public gcsFilesetSpec?: (google.cloud.datacatalog.v1beta1.IGcsFilesetSpec|null);
+
+ /** Entry bigqueryTableSpec. */
+ public bigqueryTableSpec?: (google.cloud.datacatalog.v1beta1.IBigQueryTableSpec|null);
+
+ /** Entry bigqueryDateShardedSpec. */
+ public bigqueryDateShardedSpec?: (google.cloud.datacatalog.v1beta1.IBigQueryDateShardedSpec|null);
+
+ /** Entry displayName. */
+ public displayName: string;
+
+ /** Entry description. */
+ public description: string;
+
+ /** Entry schema. */
+ public schema?: (google.cloud.datacatalog.v1beta1.ISchema|null);
+
+ /** Entry sourceSystemTimestamps. */
+ public sourceSystemTimestamps?: (google.cloud.datacatalog.v1beta1.ISystemTimestamps|null);
+
+ /** Entry entryType. */
+ public entryType?: ("type"|"userSpecifiedType");
+
+ /** Entry system. */
+ public system?: ("integratedSystem"|"userSpecifiedSystem");
+
+ /** Entry typeSpec. */
+ public typeSpec?: ("gcsFilesetSpec"|"bigqueryTableSpec"|"bigqueryDateShardedSpec");
+
+ /**
+ * Creates a new Entry instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns Entry instance
+ */
+ public static create(properties?: google.cloud.datacatalog.v1beta1.IEntry): google.cloud.datacatalog.v1beta1.Entry;
+
+ /**
+ * Encodes the specified Entry message. Does not implicitly {@link google.cloud.datacatalog.v1beta1.Entry.verify|verify} messages.
+ * @param message Entry message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.datacatalog.v1beta1.IEntry, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified Entry message, length delimited. Does not implicitly {@link google.cloud.datacatalog.v1beta1.Entry.verify|verify} messages.
+ * @param message Entry message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.datacatalog.v1beta1.IEntry, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an Entry message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns Entry
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.datacatalog.v1beta1.Entry;
+
+ /**
+ * Decodes an Entry message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns Entry
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.datacatalog.v1beta1.Entry;
+
+ /**
+ * Verifies an Entry message.
+ * @param message Plain 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 Entry message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns Entry
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.datacatalog.v1beta1.Entry;
+
+ /**
+ * Creates a plain object from an Entry message. Also converts values to other types if specified.
+ * @param message Entry
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.datacatalog.v1beta1.Entry, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this Entry to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for Entry
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of an EntryGroup. */
+ interface IEntryGroup {
+
+ /** EntryGroup name */
+ name?: (string|null);
+
+ /** EntryGroup displayName */
+ displayName?: (string|null);
+
+ /** EntryGroup description */
+ description?: (string|null);
+
+ /** EntryGroup dataCatalogTimestamps */
+ dataCatalogTimestamps?: (google.cloud.datacatalog.v1beta1.ISystemTimestamps|null);
+ }
+
+ /** Represents an EntryGroup. */
+ class EntryGroup implements IEntryGroup {
+
+ /**
+ * Constructs a new EntryGroup.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.datacatalog.v1beta1.IEntryGroup);
+
+ /** EntryGroup name. */
+ public name: string;
+
+ /** EntryGroup displayName. */
+ public displayName: string;
+
+ /** EntryGroup description. */
+ public description: string;
+
+ /** EntryGroup dataCatalogTimestamps. */
+ public dataCatalogTimestamps?: (google.cloud.datacatalog.v1beta1.ISystemTimestamps|null);
+
+ /**
+ * Creates a new EntryGroup instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns EntryGroup instance
+ */
+ public static create(properties?: google.cloud.datacatalog.v1beta1.IEntryGroup): google.cloud.datacatalog.v1beta1.EntryGroup;
+
+ /**
+ * Encodes the specified EntryGroup message. Does not implicitly {@link google.cloud.datacatalog.v1beta1.EntryGroup.verify|verify} messages.
+ * @param message EntryGroup message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.datacatalog.v1beta1.IEntryGroup, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified EntryGroup message, length delimited. Does not implicitly {@link google.cloud.datacatalog.v1beta1.EntryGroup.verify|verify} messages.
+ * @param message EntryGroup message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.datacatalog.v1beta1.IEntryGroup, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an EntryGroup message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns EntryGroup
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.datacatalog.v1beta1.EntryGroup;
+
+ /**
+ * Decodes an EntryGroup message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns EntryGroup
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.datacatalog.v1beta1.EntryGroup;
+
+ /**
+ * Verifies an EntryGroup message.
+ * @param message Plain 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 EntryGroup message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns EntryGroup
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.datacatalog.v1beta1.EntryGroup;
+
+ /**
+ * Creates a plain object from an EntryGroup message. Also converts values to other types if specified.
+ * @param message EntryGroup
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.datacatalog.v1beta1.EntryGroup, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this EntryGroup to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for EntryGroup
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a CreateTagTemplateRequest. */
+ interface ICreateTagTemplateRequest {
+
+ /** CreateTagTemplateRequest parent */
+ parent?: (string|null);
+
+ /** CreateTagTemplateRequest tagTemplateId */
+ tagTemplateId?: (string|null);
+
+ /** CreateTagTemplateRequest tagTemplate */
+ tagTemplate?: (google.cloud.datacatalog.v1beta1.ITagTemplate|null);
+ }
+
+ /** Represents a CreateTagTemplateRequest. */
+ class CreateTagTemplateRequest implements ICreateTagTemplateRequest {
+
+ /**
+ * Constructs a new CreateTagTemplateRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.datacatalog.v1beta1.ICreateTagTemplateRequest);
+
+ /** CreateTagTemplateRequest parent. */
+ public parent: string;
+
+ /** CreateTagTemplateRequest tagTemplateId. */
+ public tagTemplateId: string;
+
+ /** CreateTagTemplateRequest tagTemplate. */
+ public tagTemplate?: (google.cloud.datacatalog.v1beta1.ITagTemplate|null);
+
+ /**
+ * Creates a new CreateTagTemplateRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns CreateTagTemplateRequest instance
+ */
+ public static create(properties?: google.cloud.datacatalog.v1beta1.ICreateTagTemplateRequest): google.cloud.datacatalog.v1beta1.CreateTagTemplateRequest;
+
+ /**
+ * Encodes the specified CreateTagTemplateRequest message. Does not implicitly {@link google.cloud.datacatalog.v1beta1.CreateTagTemplateRequest.verify|verify} messages.
+ * @param message CreateTagTemplateRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.datacatalog.v1beta1.ICreateTagTemplateRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified CreateTagTemplateRequest message, length delimited. Does not implicitly {@link google.cloud.datacatalog.v1beta1.CreateTagTemplateRequest.verify|verify} messages.
+ * @param message CreateTagTemplateRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.datacatalog.v1beta1.ICreateTagTemplateRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a CreateTagTemplateRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns CreateTagTemplateRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.datacatalog.v1beta1.CreateTagTemplateRequest;
+
+ /**
+ * Decodes a CreateTagTemplateRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns CreateTagTemplateRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.datacatalog.v1beta1.CreateTagTemplateRequest;
+
+ /**
+ * Verifies a CreateTagTemplateRequest message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a CreateTagTemplateRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns CreateTagTemplateRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.datacatalog.v1beta1.CreateTagTemplateRequest;
+
+ /**
+ * Creates a plain object from a CreateTagTemplateRequest message. Also converts values to other types if specified.
+ * @param message CreateTagTemplateRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.datacatalog.v1beta1.CreateTagTemplateRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this CreateTagTemplateRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for CreateTagTemplateRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a GetTagTemplateRequest. */
+ interface IGetTagTemplateRequest {
+
+ /** GetTagTemplateRequest name */
+ name?: (string|null);
+ }
+
+ /** Represents a GetTagTemplateRequest. */
+ class GetTagTemplateRequest implements IGetTagTemplateRequest {
+
+ /**
+ * Constructs a new GetTagTemplateRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.datacatalog.v1beta1.IGetTagTemplateRequest);
+
+ /** GetTagTemplateRequest name. */
+ public name: string;
+
+ /**
+ * Creates a new GetTagTemplateRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns GetTagTemplateRequest instance
+ */
+ public static create(properties?: google.cloud.datacatalog.v1beta1.IGetTagTemplateRequest): google.cloud.datacatalog.v1beta1.GetTagTemplateRequest;
+
+ /**
+ * Encodes the specified GetTagTemplateRequest message. Does not implicitly {@link google.cloud.datacatalog.v1beta1.GetTagTemplateRequest.verify|verify} messages.
+ * @param message GetTagTemplateRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.datacatalog.v1beta1.IGetTagTemplateRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified GetTagTemplateRequest message, length delimited. Does not implicitly {@link google.cloud.datacatalog.v1beta1.GetTagTemplateRequest.verify|verify} messages.
+ * @param message GetTagTemplateRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.datacatalog.v1beta1.IGetTagTemplateRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a GetTagTemplateRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns GetTagTemplateRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.datacatalog.v1beta1.GetTagTemplateRequest;
+
+ /**
+ * Decodes a GetTagTemplateRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns GetTagTemplateRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.datacatalog.v1beta1.GetTagTemplateRequest;
+
+ /**
+ * Verifies a GetTagTemplateRequest message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a GetTagTemplateRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns GetTagTemplateRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.datacatalog.v1beta1.GetTagTemplateRequest;
+
+ /**
+ * Creates a plain object from a GetTagTemplateRequest message. Also converts values to other types if specified.
+ * @param message GetTagTemplateRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.datacatalog.v1beta1.GetTagTemplateRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this GetTagTemplateRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for GetTagTemplateRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of an UpdateTagTemplateRequest. */
+ interface IUpdateTagTemplateRequest {
+
+ /** UpdateTagTemplateRequest tagTemplate */
+ tagTemplate?: (google.cloud.datacatalog.v1beta1.ITagTemplate|null);
+
+ /** UpdateTagTemplateRequest updateMask */
+ updateMask?: (google.protobuf.IFieldMask|null);
+ }
+
+ /** Represents an UpdateTagTemplateRequest. */
+ class UpdateTagTemplateRequest implements IUpdateTagTemplateRequest {
+
+ /**
+ * Constructs a new UpdateTagTemplateRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.datacatalog.v1beta1.IUpdateTagTemplateRequest);
+
+ /** UpdateTagTemplateRequest tagTemplate. */
+ public tagTemplate?: (google.cloud.datacatalog.v1beta1.ITagTemplate|null);
+
+ /** UpdateTagTemplateRequest updateMask. */
+ public updateMask?: (google.protobuf.IFieldMask|null);
+
+ /**
+ * Creates a new UpdateTagTemplateRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns UpdateTagTemplateRequest instance
+ */
+ public static create(properties?: google.cloud.datacatalog.v1beta1.IUpdateTagTemplateRequest): google.cloud.datacatalog.v1beta1.UpdateTagTemplateRequest;
+
+ /**
+ * Encodes the specified UpdateTagTemplateRequest message. Does not implicitly {@link google.cloud.datacatalog.v1beta1.UpdateTagTemplateRequest.verify|verify} messages.
+ * @param message UpdateTagTemplateRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.datacatalog.v1beta1.IUpdateTagTemplateRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified UpdateTagTemplateRequest message, length delimited. Does not implicitly {@link google.cloud.datacatalog.v1beta1.UpdateTagTemplateRequest.verify|verify} messages.
+ * @param message UpdateTagTemplateRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.datacatalog.v1beta1.IUpdateTagTemplateRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an UpdateTagTemplateRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns UpdateTagTemplateRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.datacatalog.v1beta1.UpdateTagTemplateRequest;
+
+ /**
+ * Decodes an UpdateTagTemplateRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns UpdateTagTemplateRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.datacatalog.v1beta1.UpdateTagTemplateRequest;
+
+ /**
+ * Verifies an UpdateTagTemplateRequest message.
+ * @param message Plain 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 UpdateTagTemplateRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns UpdateTagTemplateRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.datacatalog.v1beta1.UpdateTagTemplateRequest;
+
+ /**
+ * Creates a plain object from an UpdateTagTemplateRequest message. Also converts values to other types if specified.
+ * @param message UpdateTagTemplateRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.datacatalog.v1beta1.UpdateTagTemplateRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this UpdateTagTemplateRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for UpdateTagTemplateRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a DeleteTagTemplateRequest. */
+ interface IDeleteTagTemplateRequest {
+
+ /** DeleteTagTemplateRequest name */
+ name?: (string|null);
+
+ /** DeleteTagTemplateRequest force */
+ force?: (boolean|null);
+ }
+
+ /** Represents a DeleteTagTemplateRequest. */
+ class DeleteTagTemplateRequest implements IDeleteTagTemplateRequest {
+
+ /**
+ * Constructs a new DeleteTagTemplateRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.datacatalog.v1beta1.IDeleteTagTemplateRequest);
+
+ /** DeleteTagTemplateRequest name. */
+ public name: string;
+
+ /** DeleteTagTemplateRequest force. */
+ public force: boolean;
+
+ /**
+ * Creates a new DeleteTagTemplateRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns DeleteTagTemplateRequest instance
+ */
+ public static create(properties?: google.cloud.datacatalog.v1beta1.IDeleteTagTemplateRequest): google.cloud.datacatalog.v1beta1.DeleteTagTemplateRequest;
+
+ /**
+ * Encodes the specified DeleteTagTemplateRequest message. Does not implicitly {@link google.cloud.datacatalog.v1beta1.DeleteTagTemplateRequest.verify|verify} messages.
+ * @param message DeleteTagTemplateRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.datacatalog.v1beta1.IDeleteTagTemplateRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified DeleteTagTemplateRequest message, length delimited. Does not implicitly {@link google.cloud.datacatalog.v1beta1.DeleteTagTemplateRequest.verify|verify} messages.
+ * @param message DeleteTagTemplateRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.datacatalog.v1beta1.IDeleteTagTemplateRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a DeleteTagTemplateRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns DeleteTagTemplateRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.datacatalog.v1beta1.DeleteTagTemplateRequest;
+
+ /**
+ * Decodes a DeleteTagTemplateRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns DeleteTagTemplateRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.datacatalog.v1beta1.DeleteTagTemplateRequest;
+
+ /**
+ * Verifies a DeleteTagTemplateRequest message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a DeleteTagTemplateRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns DeleteTagTemplateRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.datacatalog.v1beta1.DeleteTagTemplateRequest;
+
+ /**
+ * Creates a plain object from a DeleteTagTemplateRequest message. Also converts values to other types if specified.
+ * @param message DeleteTagTemplateRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.datacatalog.v1beta1.DeleteTagTemplateRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this DeleteTagTemplateRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for DeleteTagTemplateRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a CreateTagRequest. */
+ interface ICreateTagRequest {
+
+ /** CreateTagRequest parent */
+ parent?: (string|null);
+
+ /** CreateTagRequest tag */
+ tag?: (google.cloud.datacatalog.v1beta1.ITag|null);
+ }
+
+ /** Represents a CreateTagRequest. */
+ class CreateTagRequest implements ICreateTagRequest {
+
+ /**
+ * Constructs a new CreateTagRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.datacatalog.v1beta1.ICreateTagRequest);
+
+ /** CreateTagRequest parent. */
+ public parent: string;
+
+ /** CreateTagRequest tag. */
+ public tag?: (google.cloud.datacatalog.v1beta1.ITag|null);
+
+ /**
+ * Creates a new CreateTagRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns CreateTagRequest instance
+ */
+ public static create(properties?: google.cloud.datacatalog.v1beta1.ICreateTagRequest): google.cloud.datacatalog.v1beta1.CreateTagRequest;
+
+ /**
+ * Encodes the specified CreateTagRequest message. Does not implicitly {@link google.cloud.datacatalog.v1beta1.CreateTagRequest.verify|verify} messages.
+ * @param message CreateTagRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.datacatalog.v1beta1.ICreateTagRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified CreateTagRequest message, length delimited. Does not implicitly {@link google.cloud.datacatalog.v1beta1.CreateTagRequest.verify|verify} messages.
+ * @param message CreateTagRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.datacatalog.v1beta1.ICreateTagRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a CreateTagRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns CreateTagRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.datacatalog.v1beta1.CreateTagRequest;
+
+ /**
+ * Decodes a CreateTagRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns CreateTagRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.datacatalog.v1beta1.CreateTagRequest;
+
+ /**
+ * Verifies a CreateTagRequest message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a CreateTagRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns CreateTagRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.datacatalog.v1beta1.CreateTagRequest;
+
+ /**
+ * Creates a plain object from a CreateTagRequest message. Also converts values to other types if specified.
+ * @param message CreateTagRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.datacatalog.v1beta1.CreateTagRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this CreateTagRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for CreateTagRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of an UpdateTagRequest. */
+ interface IUpdateTagRequest {
+
+ /** UpdateTagRequest tag */
+ tag?: (google.cloud.datacatalog.v1beta1.ITag|null);
+
+ /** UpdateTagRequest updateMask */
+ updateMask?: (google.protobuf.IFieldMask|null);
+ }
+
+ /** Represents an UpdateTagRequest. */
+ class UpdateTagRequest implements IUpdateTagRequest {
+
+ /**
+ * Constructs a new UpdateTagRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.datacatalog.v1beta1.IUpdateTagRequest);
+
+ /** UpdateTagRequest tag. */
+ public tag?: (google.cloud.datacatalog.v1beta1.ITag|null);
+
+ /** UpdateTagRequest updateMask. */
+ public updateMask?: (google.protobuf.IFieldMask|null);
+
+ /**
+ * Creates a new UpdateTagRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns UpdateTagRequest instance
+ */
+ public static create(properties?: google.cloud.datacatalog.v1beta1.IUpdateTagRequest): google.cloud.datacatalog.v1beta1.UpdateTagRequest;
+
+ /**
+ * Encodes the specified UpdateTagRequest message. Does not implicitly {@link google.cloud.datacatalog.v1beta1.UpdateTagRequest.verify|verify} messages.
+ * @param message UpdateTagRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.datacatalog.v1beta1.IUpdateTagRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified UpdateTagRequest message, length delimited. Does not implicitly {@link google.cloud.datacatalog.v1beta1.UpdateTagRequest.verify|verify} messages.
+ * @param message UpdateTagRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.datacatalog.v1beta1.IUpdateTagRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an UpdateTagRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns UpdateTagRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.datacatalog.v1beta1.UpdateTagRequest;
+
+ /**
+ * Decodes an UpdateTagRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns UpdateTagRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.datacatalog.v1beta1.UpdateTagRequest;
+
+ /**
+ * Verifies an UpdateTagRequest message.
+ * @param message Plain 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 UpdateTagRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns UpdateTagRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.datacatalog.v1beta1.UpdateTagRequest;
+
+ /**
+ * Creates a plain object from an UpdateTagRequest message. Also converts values to other types if specified.
+ * @param message UpdateTagRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.datacatalog.v1beta1.UpdateTagRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this UpdateTagRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for UpdateTagRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a DeleteTagRequest. */
+ interface IDeleteTagRequest {
+
+ /** DeleteTagRequest name */
+ name?: (string|null);
+ }
+
+ /** Represents a DeleteTagRequest. */
+ class DeleteTagRequest implements IDeleteTagRequest {
+
+ /**
+ * Constructs a new DeleteTagRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.datacatalog.v1beta1.IDeleteTagRequest);
+
+ /** DeleteTagRequest name. */
+ public name: string;
+
+ /**
+ * Creates a new DeleteTagRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns DeleteTagRequest instance
+ */
+ public static create(properties?: google.cloud.datacatalog.v1beta1.IDeleteTagRequest): google.cloud.datacatalog.v1beta1.DeleteTagRequest;
+
+ /**
+ * Encodes the specified DeleteTagRequest message. Does not implicitly {@link google.cloud.datacatalog.v1beta1.DeleteTagRequest.verify|verify} messages.
+ * @param message DeleteTagRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.datacatalog.v1beta1.IDeleteTagRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified DeleteTagRequest message, length delimited. Does not implicitly {@link google.cloud.datacatalog.v1beta1.DeleteTagRequest.verify|verify} messages.
+ * @param message DeleteTagRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.datacatalog.v1beta1.IDeleteTagRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a DeleteTagRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns DeleteTagRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.datacatalog.v1beta1.DeleteTagRequest;
+
+ /**
+ * Decodes a DeleteTagRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns DeleteTagRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.datacatalog.v1beta1.DeleteTagRequest;
+
+ /**
+ * Verifies a DeleteTagRequest message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a DeleteTagRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns DeleteTagRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.datacatalog.v1beta1.DeleteTagRequest;
+
+ /**
+ * Creates a plain object from a DeleteTagRequest message. Also converts values to other types if specified.
+ * @param message DeleteTagRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.datacatalog.v1beta1.DeleteTagRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this DeleteTagRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for DeleteTagRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a CreateTagTemplateFieldRequest. */
+ interface ICreateTagTemplateFieldRequest {
+
+ /** CreateTagTemplateFieldRequest parent */
+ parent?: (string|null);
+
+ /** CreateTagTemplateFieldRequest tagTemplateFieldId */
+ tagTemplateFieldId?: (string|null);
+
+ /** CreateTagTemplateFieldRequest tagTemplateField */
+ tagTemplateField?: (google.cloud.datacatalog.v1beta1.ITagTemplateField|null);
+ }
+
+ /** Represents a CreateTagTemplateFieldRequest. */
+ class CreateTagTemplateFieldRequest implements ICreateTagTemplateFieldRequest {
+
+ /**
+ * Constructs a new CreateTagTemplateFieldRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.datacatalog.v1beta1.ICreateTagTemplateFieldRequest);
+
+ /** CreateTagTemplateFieldRequest parent. */
+ public parent: string;
+
+ /** CreateTagTemplateFieldRequest tagTemplateFieldId. */
+ public tagTemplateFieldId: string;
+
+ /** CreateTagTemplateFieldRequest tagTemplateField. */
+ public tagTemplateField?: (google.cloud.datacatalog.v1beta1.ITagTemplateField|null);
+
+ /**
+ * Creates a new CreateTagTemplateFieldRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns CreateTagTemplateFieldRequest instance
+ */
+ public static create(properties?: google.cloud.datacatalog.v1beta1.ICreateTagTemplateFieldRequest): google.cloud.datacatalog.v1beta1.CreateTagTemplateFieldRequest;
+
+ /**
+ * Encodes the specified CreateTagTemplateFieldRequest message. Does not implicitly {@link google.cloud.datacatalog.v1beta1.CreateTagTemplateFieldRequest.verify|verify} messages.
+ * @param message CreateTagTemplateFieldRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.datacatalog.v1beta1.ICreateTagTemplateFieldRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified CreateTagTemplateFieldRequest message, length delimited. Does not implicitly {@link google.cloud.datacatalog.v1beta1.CreateTagTemplateFieldRequest.verify|verify} messages.
+ * @param message CreateTagTemplateFieldRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.datacatalog.v1beta1.ICreateTagTemplateFieldRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a CreateTagTemplateFieldRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns CreateTagTemplateFieldRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.datacatalog.v1beta1.CreateTagTemplateFieldRequest;
+
+ /**
+ * Decodes a CreateTagTemplateFieldRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns CreateTagTemplateFieldRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.datacatalog.v1beta1.CreateTagTemplateFieldRequest;
+
+ /**
+ * Verifies a CreateTagTemplateFieldRequest message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a CreateTagTemplateFieldRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns CreateTagTemplateFieldRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.datacatalog.v1beta1.CreateTagTemplateFieldRequest;
+
+ /**
+ * Creates a plain object from a CreateTagTemplateFieldRequest message. Also converts values to other types if specified.
+ * @param message CreateTagTemplateFieldRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.datacatalog.v1beta1.CreateTagTemplateFieldRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this CreateTagTemplateFieldRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for CreateTagTemplateFieldRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of an UpdateTagTemplateFieldRequest. */
+ interface IUpdateTagTemplateFieldRequest {
+
+ /** UpdateTagTemplateFieldRequest name */
+ name?: (string|null);
+
+ /** UpdateTagTemplateFieldRequest tagTemplateField */
+ tagTemplateField?: (google.cloud.datacatalog.v1beta1.ITagTemplateField|null);
+
+ /** UpdateTagTemplateFieldRequest updateMask */
+ updateMask?: (google.protobuf.IFieldMask|null);
+ }
+
+ /** Represents an UpdateTagTemplateFieldRequest. */
+ class UpdateTagTemplateFieldRequest implements IUpdateTagTemplateFieldRequest {
+
+ /**
+ * Constructs a new UpdateTagTemplateFieldRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.datacatalog.v1beta1.IUpdateTagTemplateFieldRequest);
+
+ /** UpdateTagTemplateFieldRequest name. */
+ public name: string;
+
+ /** UpdateTagTemplateFieldRequest tagTemplateField. */
+ public tagTemplateField?: (google.cloud.datacatalog.v1beta1.ITagTemplateField|null);
+
+ /** UpdateTagTemplateFieldRequest updateMask. */
+ public updateMask?: (google.protobuf.IFieldMask|null);
+
+ /**
+ * Creates a new UpdateTagTemplateFieldRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns UpdateTagTemplateFieldRequest instance
+ */
+ public static create(properties?: google.cloud.datacatalog.v1beta1.IUpdateTagTemplateFieldRequest): google.cloud.datacatalog.v1beta1.UpdateTagTemplateFieldRequest;
+
+ /**
+ * Encodes the specified UpdateTagTemplateFieldRequest message. Does not implicitly {@link google.cloud.datacatalog.v1beta1.UpdateTagTemplateFieldRequest.verify|verify} messages.
+ * @param message UpdateTagTemplateFieldRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.datacatalog.v1beta1.IUpdateTagTemplateFieldRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified UpdateTagTemplateFieldRequest message, length delimited. Does not implicitly {@link google.cloud.datacatalog.v1beta1.UpdateTagTemplateFieldRequest.verify|verify} messages.
+ * @param message UpdateTagTemplateFieldRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.datacatalog.v1beta1.IUpdateTagTemplateFieldRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an UpdateTagTemplateFieldRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns UpdateTagTemplateFieldRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.datacatalog.v1beta1.UpdateTagTemplateFieldRequest;
+
+ /**
+ * Decodes an UpdateTagTemplateFieldRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns UpdateTagTemplateFieldRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.datacatalog.v1beta1.UpdateTagTemplateFieldRequest;
+
+ /**
+ * Verifies an UpdateTagTemplateFieldRequest message.
+ * @param message Plain 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 UpdateTagTemplateFieldRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns UpdateTagTemplateFieldRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.datacatalog.v1beta1.UpdateTagTemplateFieldRequest;
+
+ /**
+ * Creates a plain object from an UpdateTagTemplateFieldRequest message. Also converts values to other types if specified.
+ * @param message UpdateTagTemplateFieldRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.datacatalog.v1beta1.UpdateTagTemplateFieldRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this UpdateTagTemplateFieldRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for UpdateTagTemplateFieldRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a RenameTagTemplateFieldRequest. */
+ interface IRenameTagTemplateFieldRequest {
+
+ /** RenameTagTemplateFieldRequest name */
+ name?: (string|null);
+
+ /** RenameTagTemplateFieldRequest newTagTemplateFieldId */
+ newTagTemplateFieldId?: (string|null);
+ }
+
+ /** Represents a RenameTagTemplateFieldRequest. */
+ class RenameTagTemplateFieldRequest implements IRenameTagTemplateFieldRequest {
+
+ /**
+ * Constructs a new RenameTagTemplateFieldRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.datacatalog.v1beta1.IRenameTagTemplateFieldRequest);
+
+ /** RenameTagTemplateFieldRequest name. */
+ public name: string;
+
+ /** RenameTagTemplateFieldRequest newTagTemplateFieldId. */
+ public newTagTemplateFieldId: string;
+
+ /**
+ * Creates a new RenameTagTemplateFieldRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns RenameTagTemplateFieldRequest instance
+ */
+ public static create(properties?: google.cloud.datacatalog.v1beta1.IRenameTagTemplateFieldRequest): google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldRequest;
+
+ /**
+ * Encodes the specified RenameTagTemplateFieldRequest message. Does not implicitly {@link google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldRequest.verify|verify} messages.
+ * @param message RenameTagTemplateFieldRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.datacatalog.v1beta1.IRenameTagTemplateFieldRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified RenameTagTemplateFieldRequest message, length delimited. Does not implicitly {@link google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldRequest.verify|verify} messages.
+ * @param message RenameTagTemplateFieldRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.datacatalog.v1beta1.IRenameTagTemplateFieldRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a RenameTagTemplateFieldRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns RenameTagTemplateFieldRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldRequest;
+
+ /**
+ * Decodes a RenameTagTemplateFieldRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns RenameTagTemplateFieldRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldRequest;
+
+ /**
+ * Verifies a RenameTagTemplateFieldRequest message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a RenameTagTemplateFieldRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns RenameTagTemplateFieldRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldRequest;
+
+ /**
+ * Creates a plain object from a RenameTagTemplateFieldRequest message. Also converts values to other types if specified.
+ * @param message RenameTagTemplateFieldRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this RenameTagTemplateFieldRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for RenameTagTemplateFieldRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a DeleteTagTemplateFieldRequest. */
+ interface IDeleteTagTemplateFieldRequest {
+
+ /** DeleteTagTemplateFieldRequest name */
+ name?: (string|null);
+
+ /** DeleteTagTemplateFieldRequest force */
+ force?: (boolean|null);
+ }
+
+ /** Represents a DeleteTagTemplateFieldRequest. */
+ class DeleteTagTemplateFieldRequest implements IDeleteTagTemplateFieldRequest {
+
+ /**
+ * Constructs a new DeleteTagTemplateFieldRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.datacatalog.v1beta1.IDeleteTagTemplateFieldRequest);
+
+ /** DeleteTagTemplateFieldRequest name. */
+ public name: string;
+
+ /** DeleteTagTemplateFieldRequest force. */
+ public force: boolean;
+
+ /**
+ * Creates a new DeleteTagTemplateFieldRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns DeleteTagTemplateFieldRequest instance
+ */
+ public static create(properties?: google.cloud.datacatalog.v1beta1.IDeleteTagTemplateFieldRequest): google.cloud.datacatalog.v1beta1.DeleteTagTemplateFieldRequest;
+
+ /**
+ * Encodes the specified DeleteTagTemplateFieldRequest message. Does not implicitly {@link google.cloud.datacatalog.v1beta1.DeleteTagTemplateFieldRequest.verify|verify} messages.
+ * @param message DeleteTagTemplateFieldRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.datacatalog.v1beta1.IDeleteTagTemplateFieldRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified DeleteTagTemplateFieldRequest message, length delimited. Does not implicitly {@link google.cloud.datacatalog.v1beta1.DeleteTagTemplateFieldRequest.verify|verify} messages.
+ * @param message DeleteTagTemplateFieldRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.datacatalog.v1beta1.IDeleteTagTemplateFieldRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a DeleteTagTemplateFieldRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns DeleteTagTemplateFieldRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.datacatalog.v1beta1.DeleteTagTemplateFieldRequest;
+
+ /**
+ * Decodes a DeleteTagTemplateFieldRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns DeleteTagTemplateFieldRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.datacatalog.v1beta1.DeleteTagTemplateFieldRequest;
+
+ /**
+ * Verifies a DeleteTagTemplateFieldRequest message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a DeleteTagTemplateFieldRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns DeleteTagTemplateFieldRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.datacatalog.v1beta1.DeleteTagTemplateFieldRequest;
+
+ /**
+ * Creates a plain object from a DeleteTagTemplateFieldRequest message. Also converts values to other types if specified.
+ * @param message DeleteTagTemplateFieldRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.datacatalog.v1beta1.DeleteTagTemplateFieldRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this DeleteTagTemplateFieldRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for DeleteTagTemplateFieldRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a ListTagsRequest. */
+ interface IListTagsRequest {
+
+ /** ListTagsRequest parent */
+ parent?: (string|null);
+
+ /** ListTagsRequest pageSize */
+ pageSize?: (number|null);
+
+ /** ListTagsRequest pageToken */
+ pageToken?: (string|null);
+ }
+
+ /** Represents a ListTagsRequest. */
+ class ListTagsRequest implements IListTagsRequest {
+
+ /**
+ * Constructs a new ListTagsRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.datacatalog.v1beta1.IListTagsRequest);
+
+ /** ListTagsRequest parent. */
+ public parent: string;
+
+ /** ListTagsRequest pageSize. */
+ public pageSize: number;
+
+ /** ListTagsRequest pageToken. */
+ public pageToken: string;
+
+ /**
+ * Creates a new ListTagsRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ListTagsRequest instance
+ */
+ public static create(properties?: google.cloud.datacatalog.v1beta1.IListTagsRequest): google.cloud.datacatalog.v1beta1.ListTagsRequest;
+
+ /**
+ * Encodes the specified ListTagsRequest message. Does not implicitly {@link google.cloud.datacatalog.v1beta1.ListTagsRequest.verify|verify} messages.
+ * @param message ListTagsRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.datacatalog.v1beta1.IListTagsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ListTagsRequest message, length delimited. Does not implicitly {@link google.cloud.datacatalog.v1beta1.ListTagsRequest.verify|verify} messages.
+ * @param message ListTagsRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.datacatalog.v1beta1.IListTagsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ListTagsRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ListTagsRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.datacatalog.v1beta1.ListTagsRequest;
+
+ /**
+ * Decodes a ListTagsRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ListTagsRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.datacatalog.v1beta1.ListTagsRequest;
+
+ /**
+ * Verifies a ListTagsRequest message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a ListTagsRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ListTagsRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.datacatalog.v1beta1.ListTagsRequest;
+
+ /**
+ * Creates a plain object from a ListTagsRequest message. Also converts values to other types if specified.
+ * @param message ListTagsRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.datacatalog.v1beta1.ListTagsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ListTagsRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ListTagsRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a ListTagsResponse. */
+ interface IListTagsResponse {
+
+ /** ListTagsResponse tags */
+ tags?: (google.cloud.datacatalog.v1beta1.ITag[]|null);
+
+ /** ListTagsResponse nextPageToken */
+ nextPageToken?: (string|null);
+ }
+
+ /** Represents a ListTagsResponse. */
+ class ListTagsResponse implements IListTagsResponse {
+
+ /**
+ * Constructs a new ListTagsResponse.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.datacatalog.v1beta1.IListTagsResponse);
+
+ /** ListTagsResponse tags. */
+ public tags: google.cloud.datacatalog.v1beta1.ITag[];
+
+ /** ListTagsResponse nextPageToken. */
+ public nextPageToken: string;
+
+ /**
+ * Creates a new ListTagsResponse instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ListTagsResponse instance
+ */
+ public static create(properties?: google.cloud.datacatalog.v1beta1.IListTagsResponse): google.cloud.datacatalog.v1beta1.ListTagsResponse;
+
+ /**
+ * Encodes the specified ListTagsResponse message. Does not implicitly {@link google.cloud.datacatalog.v1beta1.ListTagsResponse.verify|verify} messages.
+ * @param message ListTagsResponse message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.datacatalog.v1beta1.IListTagsResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ListTagsResponse message, length delimited. Does not implicitly {@link google.cloud.datacatalog.v1beta1.ListTagsResponse.verify|verify} messages.
+ * @param message ListTagsResponse message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.datacatalog.v1beta1.IListTagsResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ListTagsResponse message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ListTagsResponse
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.datacatalog.v1beta1.ListTagsResponse;
+
+ /**
+ * Decodes a ListTagsResponse message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ListTagsResponse
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.datacatalog.v1beta1.ListTagsResponse;
+
+ /**
+ * Verifies a ListTagsResponse message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a ListTagsResponse message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ListTagsResponse
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.datacatalog.v1beta1.ListTagsResponse;
+
+ /**
+ * Creates a plain object from a ListTagsResponse message. Also converts values to other types if specified.
+ * @param message ListTagsResponse
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.datacatalog.v1beta1.ListTagsResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ListTagsResponse to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ListTagsResponse
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a ListEntriesRequest. */
+ interface IListEntriesRequest {
+
+ /** ListEntriesRequest parent */
+ parent?: (string|null);
+
+ /** ListEntriesRequest pageSize */
+ pageSize?: (number|null);
+
+ /** ListEntriesRequest pageToken */
+ pageToken?: (string|null);
+
+ /** ListEntriesRequest readMask */
+ readMask?: (google.protobuf.IFieldMask|null);
+ }
+
+ /** Represents a ListEntriesRequest. */
+ class ListEntriesRequest implements IListEntriesRequest {
+
+ /**
+ * Constructs a new ListEntriesRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.datacatalog.v1beta1.IListEntriesRequest);
+
+ /** ListEntriesRequest parent. */
+ public parent: string;
+
+ /** ListEntriesRequest pageSize. */
+ public pageSize: number;
+
+ /** ListEntriesRequest pageToken. */
+ public pageToken: string;
+
+ /** ListEntriesRequest readMask. */
+ public readMask?: (google.protobuf.IFieldMask|null);
+
+ /**
+ * Creates a new ListEntriesRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ListEntriesRequest instance
+ */
+ public static create(properties?: google.cloud.datacatalog.v1beta1.IListEntriesRequest): google.cloud.datacatalog.v1beta1.ListEntriesRequest;
+
+ /**
+ * Encodes the specified ListEntriesRequest message. Does not implicitly {@link google.cloud.datacatalog.v1beta1.ListEntriesRequest.verify|verify} messages.
+ * @param message ListEntriesRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.datacatalog.v1beta1.IListEntriesRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ListEntriesRequest message, length delimited. Does not implicitly {@link google.cloud.datacatalog.v1beta1.ListEntriesRequest.verify|verify} messages.
+ * @param message ListEntriesRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.datacatalog.v1beta1.IListEntriesRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ListEntriesRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ListEntriesRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.datacatalog.v1beta1.ListEntriesRequest;
+
+ /**
+ * Decodes a ListEntriesRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ListEntriesRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.datacatalog.v1beta1.ListEntriesRequest;
+
+ /**
+ * Verifies a ListEntriesRequest message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a ListEntriesRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ListEntriesRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.datacatalog.v1beta1.ListEntriesRequest;
+
+ /**
+ * Creates a plain object from a ListEntriesRequest message. Also converts values to other types if specified.
+ * @param message ListEntriesRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.datacatalog.v1beta1.ListEntriesRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ListEntriesRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ListEntriesRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a ListEntriesResponse. */
+ interface IListEntriesResponse {
+
+ /** ListEntriesResponse entries */
+ entries?: (google.cloud.datacatalog.v1beta1.IEntry[]|null);
+
+ /** ListEntriesResponse nextPageToken */
+ nextPageToken?: (string|null);
+ }
+
+ /** Represents a ListEntriesResponse. */
+ class ListEntriesResponse implements IListEntriesResponse {
+
+ /**
+ * Constructs a new ListEntriesResponse.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.datacatalog.v1beta1.IListEntriesResponse);
+
+ /** ListEntriesResponse entries. */
+ public entries: google.cloud.datacatalog.v1beta1.IEntry[];
+
+ /** ListEntriesResponse nextPageToken. */
+ public nextPageToken: string;
+
+ /**
+ * Creates a new ListEntriesResponse instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ListEntriesResponse instance
+ */
+ public static create(properties?: google.cloud.datacatalog.v1beta1.IListEntriesResponse): google.cloud.datacatalog.v1beta1.ListEntriesResponse;
+
+ /**
+ * Encodes the specified ListEntriesResponse message. Does not implicitly {@link google.cloud.datacatalog.v1beta1.ListEntriesResponse.verify|verify} messages.
+ * @param message ListEntriesResponse message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.datacatalog.v1beta1.IListEntriesResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ListEntriesResponse message, length delimited. Does not implicitly {@link google.cloud.datacatalog.v1beta1.ListEntriesResponse.verify|verify} messages.
+ * @param message ListEntriesResponse message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.datacatalog.v1beta1.IListEntriesResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ListEntriesResponse message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ListEntriesResponse
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.datacatalog.v1beta1.ListEntriesResponse;
+
+ /**
+ * Decodes a ListEntriesResponse message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ListEntriesResponse
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.datacatalog.v1beta1.ListEntriesResponse;
+
+ /**
+ * Verifies a ListEntriesResponse message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a ListEntriesResponse message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ListEntriesResponse
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.datacatalog.v1beta1.ListEntriesResponse;
+
+ /**
+ * Creates a plain object from a ListEntriesResponse message. Also converts values to other types if specified.
+ * @param message ListEntriesResponse
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.datacatalog.v1beta1.ListEntriesResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ListEntriesResponse to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ListEntriesResponse
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** EntryType enum. */
+ enum EntryType {
+ ENTRY_TYPE_UNSPECIFIED = 0,
+ TABLE = 2,
+ MODEL = 5,
+ DATA_STREAM = 3,
+ FILESET = 4
+ }
+
+ /** Properties of a GcsFilesetSpec. */
+ interface IGcsFilesetSpec {
+
+ /** GcsFilesetSpec filePatterns */
+ filePatterns?: (string[]|null);
+
+ /** GcsFilesetSpec sampleGcsFileSpecs */
+ sampleGcsFileSpecs?: (google.cloud.datacatalog.v1beta1.IGcsFileSpec[]|null);
+ }
+
+ /** Represents a GcsFilesetSpec. */
+ class GcsFilesetSpec implements IGcsFilesetSpec {
+
+ /**
+ * Constructs a new GcsFilesetSpec.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.datacatalog.v1beta1.IGcsFilesetSpec);
+
+ /** GcsFilesetSpec filePatterns. */
+ public filePatterns: string[];
+
+ /** GcsFilesetSpec sampleGcsFileSpecs. */
+ public sampleGcsFileSpecs: google.cloud.datacatalog.v1beta1.IGcsFileSpec[];
+
+ /**
+ * Creates a new GcsFilesetSpec instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns GcsFilesetSpec instance
+ */
+ public static create(properties?: google.cloud.datacatalog.v1beta1.IGcsFilesetSpec): google.cloud.datacatalog.v1beta1.GcsFilesetSpec;
+
+ /**
+ * Encodes the specified GcsFilesetSpec message. Does not implicitly {@link google.cloud.datacatalog.v1beta1.GcsFilesetSpec.verify|verify} messages.
+ * @param message GcsFilesetSpec message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.datacatalog.v1beta1.IGcsFilesetSpec, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified GcsFilesetSpec message, length delimited. Does not implicitly {@link google.cloud.datacatalog.v1beta1.GcsFilesetSpec.verify|verify} messages.
+ * @param message GcsFilesetSpec message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.datacatalog.v1beta1.IGcsFilesetSpec, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a GcsFilesetSpec message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns GcsFilesetSpec
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.datacatalog.v1beta1.GcsFilesetSpec;
+
+ /**
+ * Decodes a GcsFilesetSpec message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns GcsFilesetSpec
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.datacatalog.v1beta1.GcsFilesetSpec;
+
+ /**
+ * Verifies a GcsFilesetSpec message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a GcsFilesetSpec message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns GcsFilesetSpec
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.datacatalog.v1beta1.GcsFilesetSpec;
+
+ /**
+ * Creates a plain object from a GcsFilesetSpec message. Also converts values to other types if specified.
+ * @param message GcsFilesetSpec
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.datacatalog.v1beta1.GcsFilesetSpec, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this GcsFilesetSpec to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for GcsFilesetSpec
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a GcsFileSpec. */
+ interface IGcsFileSpec {
+
+ /** GcsFileSpec filePath */
+ filePath?: (string|null);
+
+ /** GcsFileSpec gcsTimestamps */
+ gcsTimestamps?: (google.cloud.datacatalog.v1beta1.ISystemTimestamps|null);
+
+ /** GcsFileSpec sizeBytes */
+ sizeBytes?: (number|Long|string|null);
+ }
+
+ /** Represents a GcsFileSpec. */
+ class GcsFileSpec implements IGcsFileSpec {
+
+ /**
+ * Constructs a new GcsFileSpec.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.datacatalog.v1beta1.IGcsFileSpec);
+
+ /** GcsFileSpec filePath. */
+ public filePath: string;
+
+ /** GcsFileSpec gcsTimestamps. */
+ public gcsTimestamps?: (google.cloud.datacatalog.v1beta1.ISystemTimestamps|null);
+
+ /** GcsFileSpec sizeBytes. */
+ public sizeBytes: (number|Long|string);
+
+ /**
+ * Creates a new GcsFileSpec instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns GcsFileSpec instance
+ */
+ public static create(properties?: google.cloud.datacatalog.v1beta1.IGcsFileSpec): google.cloud.datacatalog.v1beta1.GcsFileSpec;
+
+ /**
+ * Encodes the specified GcsFileSpec message. Does not implicitly {@link google.cloud.datacatalog.v1beta1.GcsFileSpec.verify|verify} messages.
+ * @param message GcsFileSpec message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.datacatalog.v1beta1.IGcsFileSpec, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified GcsFileSpec message, length delimited. Does not implicitly {@link google.cloud.datacatalog.v1beta1.GcsFileSpec.verify|verify} messages.
+ * @param message GcsFileSpec message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.datacatalog.v1beta1.IGcsFileSpec, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a GcsFileSpec message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns GcsFileSpec
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.datacatalog.v1beta1.GcsFileSpec;
+
+ /**
+ * Decodes a GcsFileSpec message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns GcsFileSpec
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.datacatalog.v1beta1.GcsFileSpec;
+
+ /**
+ * Verifies a GcsFileSpec message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a GcsFileSpec message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns GcsFileSpec
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.datacatalog.v1beta1.GcsFileSpec;
+
+ /**
+ * Creates a plain object from a GcsFileSpec message. Also converts values to other types if specified.
+ * @param message GcsFileSpec
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.datacatalog.v1beta1.GcsFileSpec, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this GcsFileSpec to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for GcsFileSpec
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a SystemTimestamps. */
+ interface ISystemTimestamps {
+
+ /** SystemTimestamps createTime */
+ createTime?: (google.protobuf.ITimestamp|null);
+
+ /** SystemTimestamps updateTime */
+ updateTime?: (google.protobuf.ITimestamp|null);
+
+ /** SystemTimestamps expireTime */
+ expireTime?: (google.protobuf.ITimestamp|null);
+ }
+
+ /** Represents a SystemTimestamps. */
+ class SystemTimestamps implements ISystemTimestamps {
+
+ /**
+ * Constructs a new SystemTimestamps.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.datacatalog.v1beta1.ISystemTimestamps);
+
+ /** SystemTimestamps createTime. */
+ public createTime?: (google.protobuf.ITimestamp|null);
+
+ /** SystemTimestamps updateTime. */
+ public updateTime?: (google.protobuf.ITimestamp|null);
+
+ /** SystemTimestamps expireTime. */
+ public expireTime?: (google.protobuf.ITimestamp|null);
+
+ /**
+ * Creates a new SystemTimestamps instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns SystemTimestamps instance
+ */
+ public static create(properties?: google.cloud.datacatalog.v1beta1.ISystemTimestamps): google.cloud.datacatalog.v1beta1.SystemTimestamps;
+
+ /**
+ * Encodes the specified SystemTimestamps message. Does not implicitly {@link google.cloud.datacatalog.v1beta1.SystemTimestamps.verify|verify} messages.
+ * @param message SystemTimestamps message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.datacatalog.v1beta1.ISystemTimestamps, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified SystemTimestamps message, length delimited. Does not implicitly {@link google.cloud.datacatalog.v1beta1.SystemTimestamps.verify|verify} messages.
+ * @param message SystemTimestamps message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.datacatalog.v1beta1.ISystemTimestamps, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a SystemTimestamps message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns SystemTimestamps
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.datacatalog.v1beta1.SystemTimestamps;
+
+ /**
+ * Decodes a SystemTimestamps message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns SystemTimestamps
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.datacatalog.v1beta1.SystemTimestamps;
+
+ /**
+ * Verifies a SystemTimestamps message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a SystemTimestamps message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns SystemTimestamps
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.datacatalog.v1beta1.SystemTimestamps;
+
+ /**
+ * Creates a plain object from a SystemTimestamps message. Also converts values to other types if specified.
+ * @param message SystemTimestamps
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.datacatalog.v1beta1.SystemTimestamps, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this SystemTimestamps to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for SystemTimestamps
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a Schema. */
+ interface ISchema {
+
+ /** Schema columns */
+ columns?: (google.cloud.datacatalog.v1beta1.IColumnSchema[]|null);
+ }
+
+ /** Represents a Schema. */
+ class Schema implements ISchema {
+
+ /**
+ * Constructs a new Schema.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.datacatalog.v1beta1.ISchema);
+
+ /** Schema columns. */
+ public columns: google.cloud.datacatalog.v1beta1.IColumnSchema[];
+
+ /**
+ * Creates a new Schema instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns Schema instance
+ */
+ public static create(properties?: google.cloud.datacatalog.v1beta1.ISchema): google.cloud.datacatalog.v1beta1.Schema;
+
+ /**
+ * Encodes the specified Schema message. Does not implicitly {@link google.cloud.datacatalog.v1beta1.Schema.verify|verify} messages.
+ * @param message Schema message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.datacatalog.v1beta1.ISchema, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified Schema message, length delimited. Does not implicitly {@link google.cloud.datacatalog.v1beta1.Schema.verify|verify} messages.
+ * @param message Schema message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.datacatalog.v1beta1.ISchema, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a Schema message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns Schema
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.datacatalog.v1beta1.Schema;
+
+ /**
+ * Decodes a Schema message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns Schema
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.datacatalog.v1beta1.Schema;
+
+ /**
+ * Verifies a Schema message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a Schema message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns Schema
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.datacatalog.v1beta1.Schema;
+
+ /**
+ * Creates a plain object from a Schema message. Also converts values to other types if specified.
+ * @param message Schema
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.datacatalog.v1beta1.Schema, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this Schema to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for Schema
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a ColumnSchema. */
+ interface IColumnSchema {
+
+ /** ColumnSchema column */
+ column?: (string|null);
+
+ /** ColumnSchema type */
+ type?: (string|null);
+
+ /** ColumnSchema description */
+ description?: (string|null);
+
+ /** ColumnSchema mode */
+ mode?: (string|null);
+
+ /** ColumnSchema subcolumns */
+ subcolumns?: (google.cloud.datacatalog.v1beta1.IColumnSchema[]|null);
+ }
+
+ /** Represents a ColumnSchema. */
+ class ColumnSchema implements IColumnSchema {
+
+ /**
+ * Constructs a new ColumnSchema.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.datacatalog.v1beta1.IColumnSchema);
+
+ /** ColumnSchema column. */
+ public column: string;
+
+ /** ColumnSchema type. */
+ public type: string;
+
+ /** ColumnSchema description. */
+ public description: string;
+
+ /** ColumnSchema mode. */
+ public mode: string;
+
+ /** ColumnSchema subcolumns. */
+ public subcolumns: google.cloud.datacatalog.v1beta1.IColumnSchema[];
+
+ /**
+ * Creates a new ColumnSchema instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ColumnSchema instance
+ */
+ public static create(properties?: google.cloud.datacatalog.v1beta1.IColumnSchema): google.cloud.datacatalog.v1beta1.ColumnSchema;
+
+ /**
+ * Encodes the specified ColumnSchema message. Does not implicitly {@link google.cloud.datacatalog.v1beta1.ColumnSchema.verify|verify} messages.
+ * @param message ColumnSchema message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.datacatalog.v1beta1.IColumnSchema, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ColumnSchema message, length delimited. Does not implicitly {@link google.cloud.datacatalog.v1beta1.ColumnSchema.verify|verify} messages.
+ * @param message ColumnSchema message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.datacatalog.v1beta1.IColumnSchema, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ColumnSchema message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ColumnSchema
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.datacatalog.v1beta1.ColumnSchema;
+
+ /**
+ * Decodes a ColumnSchema message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ColumnSchema
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.datacatalog.v1beta1.ColumnSchema;
+
+ /**
+ * Verifies a ColumnSchema message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a ColumnSchema message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ColumnSchema
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.datacatalog.v1beta1.ColumnSchema;
+
+ /**
+ * Creates a plain object from a ColumnSchema message. Also converts values to other types if specified.
+ * @param message ColumnSchema
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.datacatalog.v1beta1.ColumnSchema, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ColumnSchema to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ColumnSchema
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a SearchCatalogResult. */
+ interface ISearchCatalogResult {
+
+ /** SearchCatalogResult searchResultType */
+ searchResultType?: (google.cloud.datacatalog.v1beta1.SearchResultType|keyof typeof google.cloud.datacatalog.v1beta1.SearchResultType|null);
+
+ /** SearchCatalogResult searchResultSubtype */
+ searchResultSubtype?: (string|null);
+
+ /** SearchCatalogResult relativeResourceName */
+ relativeResourceName?: (string|null);
+
+ /** SearchCatalogResult linkedResource */
+ linkedResource?: (string|null);
+ }
+
+ /** Represents a SearchCatalogResult. */
+ class SearchCatalogResult implements ISearchCatalogResult {
+
+ /**
+ * Constructs a new SearchCatalogResult.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.datacatalog.v1beta1.ISearchCatalogResult);
+
+ /** SearchCatalogResult searchResultType. */
+ public searchResultType: (google.cloud.datacatalog.v1beta1.SearchResultType|keyof typeof google.cloud.datacatalog.v1beta1.SearchResultType);
+
+ /** SearchCatalogResult searchResultSubtype. */
+ public searchResultSubtype: string;
+
+ /** SearchCatalogResult relativeResourceName. */
+ public relativeResourceName: string;
+
+ /** SearchCatalogResult linkedResource. */
+ public linkedResource: string;
+
+ /**
+ * Creates a new SearchCatalogResult instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns SearchCatalogResult instance
+ */
+ public static create(properties?: google.cloud.datacatalog.v1beta1.ISearchCatalogResult): google.cloud.datacatalog.v1beta1.SearchCatalogResult;
+
+ /**
+ * Encodes the specified SearchCatalogResult message. Does not implicitly {@link google.cloud.datacatalog.v1beta1.SearchCatalogResult.verify|verify} messages.
+ * @param message SearchCatalogResult message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.datacatalog.v1beta1.ISearchCatalogResult, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified SearchCatalogResult message, length delimited. Does not implicitly {@link google.cloud.datacatalog.v1beta1.SearchCatalogResult.verify|verify} messages.
+ * @param message SearchCatalogResult message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.datacatalog.v1beta1.ISearchCatalogResult, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a SearchCatalogResult message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns SearchCatalogResult
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.datacatalog.v1beta1.SearchCatalogResult;
+
+ /**
+ * Decodes a SearchCatalogResult message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns SearchCatalogResult
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.datacatalog.v1beta1.SearchCatalogResult;
+
+ /**
+ * Verifies a SearchCatalogResult message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a SearchCatalogResult message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns SearchCatalogResult
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.datacatalog.v1beta1.SearchCatalogResult;
+
+ /**
+ * Creates a plain object from a SearchCatalogResult message. Also converts values to other types if specified.
+ * @param message SearchCatalogResult
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.datacatalog.v1beta1.SearchCatalogResult, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this SearchCatalogResult to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for SearchCatalogResult
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** SearchResultType enum. */
+ enum SearchResultType {
+ SEARCH_RESULT_TYPE_UNSPECIFIED = 0,
+ ENTRY = 1,
+ TAG_TEMPLATE = 2,
+ ENTRY_GROUP = 3
+ }
+
+ /** Properties of a BigQueryTableSpec. */
+ interface IBigQueryTableSpec {
+
+ /** BigQueryTableSpec tableSourceType */
+ tableSourceType?: (google.cloud.datacatalog.v1beta1.TableSourceType|keyof typeof google.cloud.datacatalog.v1beta1.TableSourceType|null);
+
+ /** BigQueryTableSpec viewSpec */
+ viewSpec?: (google.cloud.datacatalog.v1beta1.IViewSpec|null);
+
+ /** BigQueryTableSpec tableSpec */
+ tableSpec?: (google.cloud.datacatalog.v1beta1.ITableSpec|null);
+ }
+
+ /** Represents a BigQueryTableSpec. */
+ class BigQueryTableSpec implements IBigQueryTableSpec {
+
+ /**
+ * Constructs a new BigQueryTableSpec.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.datacatalog.v1beta1.IBigQueryTableSpec);
+
+ /** BigQueryTableSpec tableSourceType. */
+ public tableSourceType: (google.cloud.datacatalog.v1beta1.TableSourceType|keyof typeof google.cloud.datacatalog.v1beta1.TableSourceType);
+
+ /** BigQueryTableSpec viewSpec. */
+ public viewSpec?: (google.cloud.datacatalog.v1beta1.IViewSpec|null);
+
+ /** BigQueryTableSpec tableSpec. */
+ public tableSpec?: (google.cloud.datacatalog.v1beta1.ITableSpec|null);
+
+ /** BigQueryTableSpec typeSpec. */
+ public typeSpec?: ("viewSpec"|"tableSpec");
+
+ /**
+ * Creates a new BigQueryTableSpec instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns BigQueryTableSpec instance
+ */
+ public static create(properties?: google.cloud.datacatalog.v1beta1.IBigQueryTableSpec): google.cloud.datacatalog.v1beta1.BigQueryTableSpec;
+
+ /**
+ * Encodes the specified BigQueryTableSpec message. Does not implicitly {@link google.cloud.datacatalog.v1beta1.BigQueryTableSpec.verify|verify} messages.
+ * @param message BigQueryTableSpec message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.datacatalog.v1beta1.IBigQueryTableSpec, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified BigQueryTableSpec message, length delimited. Does not implicitly {@link google.cloud.datacatalog.v1beta1.BigQueryTableSpec.verify|verify} messages.
+ * @param message BigQueryTableSpec message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.datacatalog.v1beta1.IBigQueryTableSpec, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a BigQueryTableSpec message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns BigQueryTableSpec
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.datacatalog.v1beta1.BigQueryTableSpec;
+
+ /**
+ * Decodes a BigQueryTableSpec message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns BigQueryTableSpec
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.datacatalog.v1beta1.BigQueryTableSpec;
+
+ /**
+ * Verifies a BigQueryTableSpec message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a BigQueryTableSpec message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns BigQueryTableSpec
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.datacatalog.v1beta1.BigQueryTableSpec;
+
+ /**
+ * Creates a plain object from a BigQueryTableSpec message. Also converts values to other types if specified.
+ * @param message BigQueryTableSpec
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.datacatalog.v1beta1.BigQueryTableSpec, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this BigQueryTableSpec to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for BigQueryTableSpec
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** TableSourceType enum. */
+ enum TableSourceType {
+ TABLE_SOURCE_TYPE_UNSPECIFIED = 0,
+ BIGQUERY_VIEW = 2,
+ BIGQUERY_TABLE = 5
+ }
+
+ /** Properties of a ViewSpec. */
+ interface IViewSpec {
+
+ /** ViewSpec viewQuery */
+ viewQuery?: (string|null);
+ }
+
+ /** Represents a ViewSpec. */
+ class ViewSpec implements IViewSpec {
+
+ /**
+ * Constructs a new ViewSpec.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.datacatalog.v1beta1.IViewSpec);
+
+ /** ViewSpec viewQuery. */
+ public viewQuery: string;
+
+ /**
+ * Creates a new ViewSpec instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ViewSpec instance
+ */
+ public static create(properties?: google.cloud.datacatalog.v1beta1.IViewSpec): google.cloud.datacatalog.v1beta1.ViewSpec;
+
+ /**
+ * Encodes the specified ViewSpec message. Does not implicitly {@link google.cloud.datacatalog.v1beta1.ViewSpec.verify|verify} messages.
+ * @param message ViewSpec message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.datacatalog.v1beta1.IViewSpec, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ViewSpec message, length delimited. Does not implicitly {@link google.cloud.datacatalog.v1beta1.ViewSpec.verify|verify} messages.
+ * @param message ViewSpec message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.datacatalog.v1beta1.IViewSpec, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ViewSpec message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ViewSpec
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.datacatalog.v1beta1.ViewSpec;
+
+ /**
+ * Decodes a ViewSpec message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ViewSpec
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.datacatalog.v1beta1.ViewSpec;
+
+ /**
+ * Verifies a ViewSpec message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a ViewSpec message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ViewSpec
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.datacatalog.v1beta1.ViewSpec;
+
+ /**
+ * Creates a plain object from a ViewSpec message. Also converts values to other types if specified.
+ * @param message ViewSpec
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.datacatalog.v1beta1.ViewSpec, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ViewSpec to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ViewSpec
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a TableSpec. */
+ interface ITableSpec {
+
+ /** TableSpec groupedEntry */
+ groupedEntry?: (string|null);
+ }
+
+ /** Represents a TableSpec. */
+ class TableSpec implements ITableSpec {
+
+ /**
+ * Constructs a new TableSpec.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.datacatalog.v1beta1.ITableSpec);
+
+ /** TableSpec groupedEntry. */
+ public groupedEntry: string;
+
+ /**
+ * Creates a new TableSpec instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns TableSpec instance
+ */
+ public static create(properties?: google.cloud.datacatalog.v1beta1.ITableSpec): google.cloud.datacatalog.v1beta1.TableSpec;
+
+ /**
+ * Encodes the specified TableSpec message. Does not implicitly {@link google.cloud.datacatalog.v1beta1.TableSpec.verify|verify} messages.
+ * @param message TableSpec message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.datacatalog.v1beta1.ITableSpec, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified TableSpec message, length delimited. Does not implicitly {@link google.cloud.datacatalog.v1beta1.TableSpec.verify|verify} messages.
+ * @param message TableSpec message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.datacatalog.v1beta1.ITableSpec, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a TableSpec message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns TableSpec
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.datacatalog.v1beta1.TableSpec;
+
+ /**
+ * Decodes a TableSpec message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns TableSpec
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.datacatalog.v1beta1.TableSpec;
+
+ /**
+ * Verifies a TableSpec message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a TableSpec message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns TableSpec
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.datacatalog.v1beta1.TableSpec;
+
+ /**
+ * Creates a plain object from a TableSpec message. Also converts values to other types if specified.
+ * @param message TableSpec
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.datacatalog.v1beta1.TableSpec, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this TableSpec to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for TableSpec
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a BigQueryDateShardedSpec. */
+ interface IBigQueryDateShardedSpec {
+
+ /** BigQueryDateShardedSpec dataset */
+ dataset?: (string|null);
+
+ /** BigQueryDateShardedSpec tablePrefix */
+ tablePrefix?: (string|null);
+
+ /** BigQueryDateShardedSpec shardCount */
+ shardCount?: (number|Long|string|null);
+ }
+
+ /** Represents a BigQueryDateShardedSpec. */
+ class BigQueryDateShardedSpec implements IBigQueryDateShardedSpec {
+
+ /**
+ * Constructs a new BigQueryDateShardedSpec.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.datacatalog.v1beta1.IBigQueryDateShardedSpec);
+
+ /** BigQueryDateShardedSpec dataset. */
+ public dataset: string;
+
+ /** BigQueryDateShardedSpec tablePrefix. */
+ public tablePrefix: string;
+
+ /** BigQueryDateShardedSpec shardCount. */
+ public shardCount: (number|Long|string);
+
+ /**
+ * Creates a new BigQueryDateShardedSpec instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns BigQueryDateShardedSpec instance
+ */
+ public static create(properties?: google.cloud.datacatalog.v1beta1.IBigQueryDateShardedSpec): google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec;
+
+ /**
+ * Encodes the specified BigQueryDateShardedSpec message. Does not implicitly {@link google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec.verify|verify} messages.
+ * @param message BigQueryDateShardedSpec message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.datacatalog.v1beta1.IBigQueryDateShardedSpec, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified BigQueryDateShardedSpec message, length delimited. Does not implicitly {@link google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec.verify|verify} messages.
+ * @param message BigQueryDateShardedSpec message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.datacatalog.v1beta1.IBigQueryDateShardedSpec, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a BigQueryDateShardedSpec message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns BigQueryDateShardedSpec
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec;
+
+ /**
+ * Decodes a BigQueryDateShardedSpec message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns BigQueryDateShardedSpec
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec;
+
+ /**
+ * Verifies a BigQueryDateShardedSpec message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a BigQueryDateShardedSpec message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns BigQueryDateShardedSpec
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec;
+
+ /**
+ * Creates a plain object from a BigQueryDateShardedSpec message. Also converts values to other types if specified.
+ * @param message BigQueryDateShardedSpec
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this BigQueryDateShardedSpec to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for BigQueryDateShardedSpec
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a Tag. */
+ interface ITag {
+
+ /** Tag name */
+ name?: (string|null);
+
+ /** Tag template */
+ template?: (string|null);
+
+ /** Tag templateDisplayName */
+ templateDisplayName?: (string|null);
+
+ /** Tag column */
+ column?: (string|null);
+
+ /** Tag fields */
+ fields?: ({ [k: string]: google.cloud.datacatalog.v1beta1.ITagField }|null);
+ }
+
+ /** Represents a Tag. */
+ class Tag implements ITag {
+
+ /**
+ * Constructs a new Tag.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.datacatalog.v1beta1.ITag);
+
+ /** Tag name. */
+ public name: string;
+
+ /** Tag template. */
+ public template: string;
+
+ /** Tag templateDisplayName. */
+ public templateDisplayName: string;
+
+ /** Tag column. */
+ public column?: (string|null);
+
+ /** Tag fields. */
+ public fields: { [k: string]: google.cloud.datacatalog.v1beta1.ITagField };
+
+ /** Tag scope. */
+ public scope?: "column";
+
+ /**
+ * Creates a new Tag instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns Tag instance
+ */
+ public static create(properties?: google.cloud.datacatalog.v1beta1.ITag): google.cloud.datacatalog.v1beta1.Tag;
+
+ /**
+ * Encodes the specified Tag message. Does not implicitly {@link google.cloud.datacatalog.v1beta1.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.cloud.datacatalog.v1beta1.ITag, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified Tag message, length delimited. Does not implicitly {@link google.cloud.datacatalog.v1beta1.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.cloud.datacatalog.v1beta1.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.cloud.datacatalog.v1beta1.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.cloud.datacatalog.v1beta1.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.cloud.datacatalog.v1beta1.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.cloud.datacatalog.v1beta1.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 TagField. */
+ interface ITagField {
+
+ /** TagField displayName */
+ displayName?: (string|null);
+
+ /** TagField doubleValue */
+ doubleValue?: (number|null);
+
+ /** TagField stringValue */
+ stringValue?: (string|null);
+
+ /** TagField boolValue */
+ boolValue?: (boolean|null);
+
+ /** TagField timestampValue */
+ timestampValue?: (google.protobuf.ITimestamp|null);
+
+ /** TagField enumValue */
+ enumValue?: (google.cloud.datacatalog.v1beta1.TagField.IEnumValue|null);
+
+ /** TagField order */
+ order?: (number|null);
+ }
+
+ /** Represents a TagField. */
+ class TagField implements ITagField {
+
+ /**
+ * Constructs a new TagField.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.datacatalog.v1beta1.ITagField);
+
+ /** TagField displayName. */
+ public displayName: string;
+
+ /** TagField doubleValue. */
+ public doubleValue?: (number|null);
+
+ /** TagField stringValue. */
+ public stringValue?: (string|null);
+
+ /** TagField boolValue. */
+ public boolValue?: (boolean|null);
+
+ /** TagField timestampValue. */
+ public timestampValue?: (google.protobuf.ITimestamp|null);
+
+ /** TagField enumValue. */
+ public enumValue?: (google.cloud.datacatalog.v1beta1.TagField.IEnumValue|null);
+
+ /** TagField order. */
+ public order: number;
+
+ /** TagField kind. */
+ public kind?: ("doubleValue"|"stringValue"|"boolValue"|"timestampValue"|"enumValue");
+
+ /**
+ * Creates a new TagField instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns TagField instance
+ */
+ public static create(properties?: google.cloud.datacatalog.v1beta1.ITagField): google.cloud.datacatalog.v1beta1.TagField;
+
+ /**
+ * Encodes the specified TagField message. Does not implicitly {@link google.cloud.datacatalog.v1beta1.TagField.verify|verify} messages.
+ * @param message TagField message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.datacatalog.v1beta1.ITagField, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified TagField message, length delimited. Does not implicitly {@link google.cloud.datacatalog.v1beta1.TagField.verify|verify} messages.
+ * @param message TagField message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.datacatalog.v1beta1.ITagField, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a TagField message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns TagField
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.datacatalog.v1beta1.TagField;
+
+ /**
+ * Decodes a TagField message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns TagField
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.datacatalog.v1beta1.TagField;
+
+ /**
+ * Verifies a TagField message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a TagField message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns TagField
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.datacatalog.v1beta1.TagField;
+
+ /**
+ * Creates a plain object from a TagField message. Also converts values to other types if specified.
+ * @param message TagField
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.datacatalog.v1beta1.TagField, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this TagField to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for TagField
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace TagField {
+
+ /** Properties of an EnumValue. */
+ interface IEnumValue {
+
+ /** EnumValue displayName */
+ displayName?: (string|null);
+ }
+
+ /** Represents an EnumValue. */
+ class EnumValue implements IEnumValue {
+
+ /**
+ * Constructs a new EnumValue.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.datacatalog.v1beta1.TagField.IEnumValue);
+
+ /** EnumValue displayName. */
+ public displayName: string;
+
+ /**
+ * Creates a new EnumValue instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns EnumValue instance
+ */
+ public static create(properties?: google.cloud.datacatalog.v1beta1.TagField.IEnumValue): google.cloud.datacatalog.v1beta1.TagField.EnumValue;
+
+ /**
+ * Encodes the specified EnumValue message. Does not implicitly {@link google.cloud.datacatalog.v1beta1.TagField.EnumValue.verify|verify} messages.
+ * @param message EnumValue message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.datacatalog.v1beta1.TagField.IEnumValue, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified EnumValue message, length delimited. Does not implicitly {@link google.cloud.datacatalog.v1beta1.TagField.EnumValue.verify|verify} messages.
+ * @param message EnumValue message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.datacatalog.v1beta1.TagField.IEnumValue, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an EnumValue message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns EnumValue
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.datacatalog.v1beta1.TagField.EnumValue;
+
+ /**
+ * Decodes an EnumValue message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns EnumValue
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.datacatalog.v1beta1.TagField.EnumValue;
+
+ /**
+ * Verifies an EnumValue message.
+ * @param message Plain 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 EnumValue message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns EnumValue
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.datacatalog.v1beta1.TagField.EnumValue;
+
+ /**
+ * Creates a plain object from an EnumValue message. Also converts values to other types if specified.
+ * @param message EnumValue
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.datacatalog.v1beta1.TagField.EnumValue, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this EnumValue to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for EnumValue
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+ }
+
+ /** Properties of a TagTemplate. */
+ interface ITagTemplate {
+
+ /** TagTemplate name */
+ name?: (string|null);
+
+ /** TagTemplate displayName */
+ displayName?: (string|null);
+
+ /** TagTemplate fields */
+ fields?: ({ [k: string]: google.cloud.datacatalog.v1beta1.ITagTemplateField }|null);
+ }
+
+ /** Represents a TagTemplate. */
+ class TagTemplate implements ITagTemplate {
+
+ /**
+ * Constructs a new TagTemplate.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.datacatalog.v1beta1.ITagTemplate);
+
+ /** TagTemplate name. */
+ public name: string;
+
+ /** TagTemplate displayName. */
+ public displayName: string;
+
+ /** TagTemplate fields. */
+ public fields: { [k: string]: google.cloud.datacatalog.v1beta1.ITagTemplateField };
+
+ /**
+ * Creates a new TagTemplate instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns TagTemplate instance
+ */
+ public static create(properties?: google.cloud.datacatalog.v1beta1.ITagTemplate): google.cloud.datacatalog.v1beta1.TagTemplate;
+
+ /**
+ * Encodes the specified TagTemplate message. Does not implicitly {@link google.cloud.datacatalog.v1beta1.TagTemplate.verify|verify} messages.
+ * @param message TagTemplate message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.datacatalog.v1beta1.ITagTemplate, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified TagTemplate message, length delimited. Does not implicitly {@link google.cloud.datacatalog.v1beta1.TagTemplate.verify|verify} messages.
+ * @param message TagTemplate message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.datacatalog.v1beta1.ITagTemplate, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a TagTemplate message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns TagTemplate
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.datacatalog.v1beta1.TagTemplate;
+
+ /**
+ * Decodes a TagTemplate message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns TagTemplate
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.datacatalog.v1beta1.TagTemplate;
+
+ /**
+ * Verifies a TagTemplate message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a TagTemplate message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns TagTemplate
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.datacatalog.v1beta1.TagTemplate;
+
+ /**
+ * Creates a plain object from a TagTemplate message. Also converts values to other types if specified.
+ * @param message TagTemplate
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.datacatalog.v1beta1.TagTemplate, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this TagTemplate to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for TagTemplate
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a TagTemplateField. */
+ interface ITagTemplateField {
+
+ /** TagTemplateField name */
+ name?: (string|null);
+
+ /** TagTemplateField displayName */
+ displayName?: (string|null);
+
+ /** TagTemplateField type */
+ type?: (google.cloud.datacatalog.v1beta1.IFieldType|null);
+
+ /** TagTemplateField isRequired */
+ isRequired?: (boolean|null);
+
+ /** TagTemplateField order */
+ order?: (number|null);
+ }
+
+ /** Represents a TagTemplateField. */
+ class TagTemplateField implements ITagTemplateField {
+
+ /**
+ * Constructs a new TagTemplateField.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.datacatalog.v1beta1.ITagTemplateField);
+
+ /** TagTemplateField name. */
+ public name: string;
+
+ /** TagTemplateField displayName. */
+ public displayName: string;
+
+ /** TagTemplateField type. */
+ public type?: (google.cloud.datacatalog.v1beta1.IFieldType|null);
+
+ /** TagTemplateField isRequired. */
+ public isRequired: boolean;
+
+ /** TagTemplateField order. */
+ public order: number;
+
+ /**
+ * Creates a new TagTemplateField instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns TagTemplateField instance
+ */
+ public static create(properties?: google.cloud.datacatalog.v1beta1.ITagTemplateField): google.cloud.datacatalog.v1beta1.TagTemplateField;
+
+ /**
+ * Encodes the specified TagTemplateField message. Does not implicitly {@link google.cloud.datacatalog.v1beta1.TagTemplateField.verify|verify} messages.
+ * @param message TagTemplateField message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.datacatalog.v1beta1.ITagTemplateField, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified TagTemplateField message, length delimited. Does not implicitly {@link google.cloud.datacatalog.v1beta1.TagTemplateField.verify|verify} messages.
+ * @param message TagTemplateField message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.datacatalog.v1beta1.ITagTemplateField, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a TagTemplateField message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns TagTemplateField
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.datacatalog.v1beta1.TagTemplateField;
+
+ /**
+ * Decodes a TagTemplateField message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns TagTemplateField
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.datacatalog.v1beta1.TagTemplateField;
+
+ /**
+ * Verifies a TagTemplateField message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a TagTemplateField message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns TagTemplateField
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.datacatalog.v1beta1.TagTemplateField;
+
+ /**
+ * Creates a plain object from a TagTemplateField message. Also converts values to other types if specified.
+ * @param message TagTemplateField
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.datacatalog.v1beta1.TagTemplateField, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this TagTemplateField to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for TagTemplateField
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a FieldType. */
+ interface IFieldType {
+
+ /** FieldType primitiveType */
+ primitiveType?: (google.cloud.datacatalog.v1beta1.FieldType.PrimitiveType|keyof typeof google.cloud.datacatalog.v1beta1.FieldType.PrimitiveType|null);
+
+ /** FieldType enumType */
+ enumType?: (google.cloud.datacatalog.v1beta1.FieldType.IEnumType|null);
+ }
+
+ /** Represents a FieldType. */
+ class FieldType implements IFieldType {
+
+ /**
+ * Constructs a new FieldType.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.datacatalog.v1beta1.IFieldType);
+
+ /** FieldType primitiveType. */
+ public primitiveType?: (google.cloud.datacatalog.v1beta1.FieldType.PrimitiveType|keyof typeof google.cloud.datacatalog.v1beta1.FieldType.PrimitiveType|null);
+
+ /** FieldType enumType. */
+ public enumType?: (google.cloud.datacatalog.v1beta1.FieldType.IEnumType|null);
+
+ /** FieldType typeDecl. */
+ public typeDecl?: ("primitiveType"|"enumType");
+
+ /**
+ * Creates a new FieldType instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns FieldType instance
+ */
+ public static create(properties?: google.cloud.datacatalog.v1beta1.IFieldType): google.cloud.datacatalog.v1beta1.FieldType;
+
+ /**
+ * Encodes the specified FieldType message. Does not implicitly {@link google.cloud.datacatalog.v1beta1.FieldType.verify|verify} messages.
+ * @param message FieldType message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.datacatalog.v1beta1.IFieldType, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified FieldType message, length delimited. Does not implicitly {@link google.cloud.datacatalog.v1beta1.FieldType.verify|verify} messages.
+ * @param message FieldType message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.datacatalog.v1beta1.IFieldType, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a FieldType message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns FieldType
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.datacatalog.v1beta1.FieldType;
+
+ /**
+ * Decodes a FieldType message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns FieldType
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.datacatalog.v1beta1.FieldType;
+
+ /**
+ * Verifies a FieldType message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a FieldType message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns FieldType
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.datacatalog.v1beta1.FieldType;
+
+ /**
+ * Creates a plain object from a FieldType message. Also converts values to other types if specified.
+ * @param message FieldType
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.datacatalog.v1beta1.FieldType, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this FieldType to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for FieldType
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace FieldType {
+
+ /** Properties of an EnumType. */
+ interface IEnumType {
+
+ /** EnumType allowedValues */
+ allowedValues?: (google.cloud.datacatalog.v1beta1.FieldType.EnumType.IEnumValue[]|null);
+ }
+
+ /** Represents an EnumType. */
+ class EnumType implements IEnumType {
+
+ /**
+ * Constructs a new EnumType.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.datacatalog.v1beta1.FieldType.IEnumType);
+
+ /** EnumType allowedValues. */
+ public allowedValues: google.cloud.datacatalog.v1beta1.FieldType.EnumType.IEnumValue[];
+
+ /**
+ * Creates a new EnumType instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns EnumType instance
+ */
+ public static create(properties?: google.cloud.datacatalog.v1beta1.FieldType.IEnumType): google.cloud.datacatalog.v1beta1.FieldType.EnumType;
+
+ /**
+ * Encodes the specified EnumType message. Does not implicitly {@link google.cloud.datacatalog.v1beta1.FieldType.EnumType.verify|verify} messages.
+ * @param message EnumType message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.datacatalog.v1beta1.FieldType.IEnumType, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified EnumType message, length delimited. Does not implicitly {@link google.cloud.datacatalog.v1beta1.FieldType.EnumType.verify|verify} messages.
+ * @param message EnumType message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.datacatalog.v1beta1.FieldType.IEnumType, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an EnumType message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns EnumType
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.datacatalog.v1beta1.FieldType.EnumType;
+
+ /**
+ * Decodes an EnumType message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns EnumType
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.datacatalog.v1beta1.FieldType.EnumType;
+
+ /**
+ * Verifies an EnumType message.
+ * @param message Plain 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 EnumType message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns EnumType
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.datacatalog.v1beta1.FieldType.EnumType;
+
+ /**
+ * Creates a plain object from an EnumType message. Also converts values to other types if specified.
+ * @param message EnumType
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.datacatalog.v1beta1.FieldType.EnumType, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this EnumType to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for EnumType
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace EnumType {
+
+ /** Properties of an EnumValue. */
+ interface IEnumValue {
+
+ /** EnumValue displayName */
+ displayName?: (string|null);
+ }
+
+ /** Represents an EnumValue. */
+ class EnumValue implements IEnumValue {
+
+ /**
+ * Constructs a new EnumValue.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.datacatalog.v1beta1.FieldType.EnumType.IEnumValue);
+
+ /** EnumValue displayName. */
+ public displayName: string;
+
+ /**
+ * Creates a new EnumValue instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns EnumValue instance
+ */
+ public static create(properties?: google.cloud.datacatalog.v1beta1.FieldType.EnumType.IEnumValue): google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue;
+
+ /**
+ * Encodes the specified EnumValue message. Does not implicitly {@link google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue.verify|verify} messages.
+ * @param message EnumValue message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.datacatalog.v1beta1.FieldType.EnumType.IEnumValue, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified EnumValue message, length delimited. Does not implicitly {@link google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue.verify|verify} messages.
+ * @param message EnumValue message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.datacatalog.v1beta1.FieldType.EnumType.IEnumValue, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an EnumValue message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns EnumValue
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue;
+
+ /**
+ * Decodes an EnumValue message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns EnumValue
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue;
+
+ /**
+ * Verifies an EnumValue message.
+ * @param message Plain 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 EnumValue message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns EnumValue
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue;
+
+ /**
+ * Creates a plain object from an EnumValue message. Also converts values to other types if specified.
+ * @param message EnumValue
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this EnumValue to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for EnumValue
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+ }
+
+ /** PrimitiveType enum. */
+ enum PrimitiveType {
+ PRIMITIVE_TYPE_UNSPECIFIED = 0,
+ DOUBLE = 1,
+ STRING = 2,
+ BOOL = 3,
+ TIMESTAMP = 4
+ }
+ }
+
+ /** Represents a PolicyTagManager */
+ class PolicyTagManager extends $protobuf.rpc.Service {
+
+ /**
+ * Constructs a new PolicyTagManager 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 PolicyTagManager 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): PolicyTagManager;
+
+ /**
+ * Calls CreateTaxonomy.
+ * @param request CreateTaxonomyRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and Taxonomy
+ */
+ public createTaxonomy(request: google.cloud.datacatalog.v1beta1.ICreateTaxonomyRequest, callback: google.cloud.datacatalog.v1beta1.PolicyTagManager.CreateTaxonomyCallback): void;
+
+ /**
+ * Calls CreateTaxonomy.
+ * @param request CreateTaxonomyRequest message or plain object
+ * @returns Promise
+ */
+ public createTaxonomy(request: google.cloud.datacatalog.v1beta1.ICreateTaxonomyRequest): Promise;
+
+ /**
+ * Calls DeleteTaxonomy.
+ * @param request DeleteTaxonomyRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and Empty
+ */
+ public deleteTaxonomy(request: google.cloud.datacatalog.v1beta1.IDeleteTaxonomyRequest, callback: google.cloud.datacatalog.v1beta1.PolicyTagManager.DeleteTaxonomyCallback): void;
+
+ /**
+ * Calls DeleteTaxonomy.
+ * @param request DeleteTaxonomyRequest message or plain object
+ * @returns Promise
+ */
+ public deleteTaxonomy(request: google.cloud.datacatalog.v1beta1.IDeleteTaxonomyRequest): Promise;
+
+ /**
+ * Calls UpdateTaxonomy.
+ * @param request UpdateTaxonomyRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and Taxonomy
+ */
+ public updateTaxonomy(request: google.cloud.datacatalog.v1beta1.IUpdateTaxonomyRequest, callback: google.cloud.datacatalog.v1beta1.PolicyTagManager.UpdateTaxonomyCallback): void;
+
+ /**
+ * Calls UpdateTaxonomy.
+ * @param request UpdateTaxonomyRequest message or plain object
+ * @returns Promise
+ */
+ public updateTaxonomy(request: google.cloud.datacatalog.v1beta1.IUpdateTaxonomyRequest): Promise;
+
+ /**
+ * Calls ListTaxonomies.
+ * @param request ListTaxonomiesRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and ListTaxonomiesResponse
+ */
+ public listTaxonomies(request: google.cloud.datacatalog.v1beta1.IListTaxonomiesRequest, callback: google.cloud.datacatalog.v1beta1.PolicyTagManager.ListTaxonomiesCallback): void;
+
+ /**
+ * Calls ListTaxonomies.
+ * @param request ListTaxonomiesRequest message or plain object
+ * @returns Promise
+ */
+ public listTaxonomies(request: google.cloud.datacatalog.v1beta1.IListTaxonomiesRequest): Promise;
+
+ /**
+ * Calls GetTaxonomy.
+ * @param request GetTaxonomyRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and Taxonomy
+ */
+ public getTaxonomy(request: google.cloud.datacatalog.v1beta1.IGetTaxonomyRequest, callback: google.cloud.datacatalog.v1beta1.PolicyTagManager.GetTaxonomyCallback): void;
+
+ /**
+ * Calls GetTaxonomy.
+ * @param request GetTaxonomyRequest message or plain object
+ * @returns Promise
+ */
+ public getTaxonomy(request: google.cloud.datacatalog.v1beta1.IGetTaxonomyRequest): Promise;
+
+ /**
+ * Calls CreatePolicyTag.
+ * @param request CreatePolicyTagRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and PolicyTag
+ */
+ public createPolicyTag(request: google.cloud.datacatalog.v1beta1.ICreatePolicyTagRequest, callback: google.cloud.datacatalog.v1beta1.PolicyTagManager.CreatePolicyTagCallback): void;
+
+ /**
+ * Calls CreatePolicyTag.
+ * @param request CreatePolicyTagRequest message or plain object
+ * @returns Promise
+ */
+ public createPolicyTag(request: google.cloud.datacatalog.v1beta1.ICreatePolicyTagRequest): Promise;
+
+ /**
+ * Calls DeletePolicyTag.
+ * @param request DeletePolicyTagRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and Empty
+ */
+ public deletePolicyTag(request: google.cloud.datacatalog.v1beta1.IDeletePolicyTagRequest, callback: google.cloud.datacatalog.v1beta1.PolicyTagManager.DeletePolicyTagCallback): void;
+
+ /**
+ * Calls DeletePolicyTag.
+ * @param request DeletePolicyTagRequest message or plain object
+ * @returns Promise
+ */
+ public deletePolicyTag(request: google.cloud.datacatalog.v1beta1.IDeletePolicyTagRequest): Promise;
+
+ /**
+ * Calls UpdatePolicyTag.
+ * @param request UpdatePolicyTagRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and PolicyTag
+ */
+ public updatePolicyTag(request: google.cloud.datacatalog.v1beta1.IUpdatePolicyTagRequest, callback: google.cloud.datacatalog.v1beta1.PolicyTagManager.UpdatePolicyTagCallback): void;
+
+ /**
+ * Calls UpdatePolicyTag.
+ * @param request UpdatePolicyTagRequest message or plain object
+ * @returns Promise
+ */
+ public updatePolicyTag(request: google.cloud.datacatalog.v1beta1.IUpdatePolicyTagRequest): Promise;
+
+ /**
+ * Calls ListPolicyTags.
+ * @param request ListPolicyTagsRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and ListPolicyTagsResponse
+ */
+ public listPolicyTags(request: google.cloud.datacatalog.v1beta1.IListPolicyTagsRequest, callback: google.cloud.datacatalog.v1beta1.PolicyTagManager.ListPolicyTagsCallback): void;
+
+ /**
+ * Calls ListPolicyTags.
+ * @param request ListPolicyTagsRequest message or plain object
+ * @returns Promise
+ */
+ public listPolicyTags(request: google.cloud.datacatalog.v1beta1.IListPolicyTagsRequest): Promise;
+
+ /**
+ * Calls GetPolicyTag.
+ * @param request GetPolicyTagRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and PolicyTag
+ */
+ public getPolicyTag(request: google.cloud.datacatalog.v1beta1.IGetPolicyTagRequest, callback: google.cloud.datacatalog.v1beta1.PolicyTagManager.GetPolicyTagCallback): void;
+
+ /**
+ * Calls GetPolicyTag.
+ * @param request GetPolicyTagRequest message or plain object
+ * @returns Promise
+ */
+ public getPolicyTag(request: google.cloud.datacatalog.v1beta1.IGetPolicyTagRequest): Promise;
+
+ /**
+ * Calls GetIamPolicy.
+ * @param request GetIamPolicyRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and Policy
+ */
+ public getIamPolicy(request: google.iam.v1.IGetIamPolicyRequest, callback: google.cloud.datacatalog.v1beta1.PolicyTagManager.GetIamPolicyCallback): void;
+
+ /**
+ * Calls GetIamPolicy.
+ * @param request GetIamPolicyRequest message or plain object
+ * @returns Promise
+ */
+ public getIamPolicy(request: google.iam.v1.IGetIamPolicyRequest): Promise;
+
+ /**
+ * Calls SetIamPolicy.
+ * @param request SetIamPolicyRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and Policy
+ */
+ public setIamPolicy(request: google.iam.v1.ISetIamPolicyRequest, callback: google.cloud.datacatalog.v1beta1.PolicyTagManager.SetIamPolicyCallback): void;
+
+ /**
+ * Calls SetIamPolicy.
+ * @param request SetIamPolicyRequest message or plain object
+ * @returns Promise
+ */
+ public setIamPolicy(request: google.iam.v1.ISetIamPolicyRequest): Promise;
+
+ /**
+ * Calls TestIamPermissions.
+ * @param request TestIamPermissionsRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and TestIamPermissionsResponse
+ */
+ public testIamPermissions(request: google.iam.v1.ITestIamPermissionsRequest, callback: google.cloud.datacatalog.v1beta1.PolicyTagManager.TestIamPermissionsCallback): void;
+
+ /**
+ * Calls TestIamPermissions.
+ * @param request TestIamPermissionsRequest message or plain object
+ * @returns Promise
+ */
+ public testIamPermissions(request: google.iam.v1.ITestIamPermissionsRequest): Promise;
+ }
+
+ namespace PolicyTagManager {
+
+ /**
+ * Callback as used by {@link google.cloud.datacatalog.v1beta1.PolicyTagManager|createTaxonomy}.
+ * @param error Error, if any
+ * @param [response] Taxonomy
+ */
+ type CreateTaxonomyCallback = (error: (Error|null), response?: google.cloud.datacatalog.v1beta1.Taxonomy) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.datacatalog.v1beta1.PolicyTagManager|deleteTaxonomy}.
+ * @param error Error, if any
+ * @param [response] Empty
+ */
+ type DeleteTaxonomyCallback = (error: (Error|null), response?: google.protobuf.Empty) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.datacatalog.v1beta1.PolicyTagManager|updateTaxonomy}.
+ * @param error Error, if any
+ * @param [response] Taxonomy
+ */
+ type UpdateTaxonomyCallback = (error: (Error|null), response?: google.cloud.datacatalog.v1beta1.Taxonomy) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.datacatalog.v1beta1.PolicyTagManager|listTaxonomies}.
+ * @param error Error, if any
+ * @param [response] ListTaxonomiesResponse
+ */
+ type ListTaxonomiesCallback = (error: (Error|null), response?: google.cloud.datacatalog.v1beta1.ListTaxonomiesResponse) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.datacatalog.v1beta1.PolicyTagManager|getTaxonomy}.
+ * @param error Error, if any
+ * @param [response] Taxonomy
+ */
+ type GetTaxonomyCallback = (error: (Error|null), response?: google.cloud.datacatalog.v1beta1.Taxonomy) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.datacatalog.v1beta1.PolicyTagManager|createPolicyTag}.
+ * @param error Error, if any
+ * @param [response] PolicyTag
+ */
+ type CreatePolicyTagCallback = (error: (Error|null), response?: google.cloud.datacatalog.v1beta1.PolicyTag) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.datacatalog.v1beta1.PolicyTagManager|deletePolicyTag}.
+ * @param error Error, if any
+ * @param [response] Empty
+ */
+ type DeletePolicyTagCallback = (error: (Error|null), response?: google.protobuf.Empty) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.datacatalog.v1beta1.PolicyTagManager|updatePolicyTag}.
+ * @param error Error, if any
+ * @param [response] PolicyTag
+ */
+ type UpdatePolicyTagCallback = (error: (Error|null), response?: google.cloud.datacatalog.v1beta1.PolicyTag) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.datacatalog.v1beta1.PolicyTagManager|listPolicyTags}.
+ * @param error Error, if any
+ * @param [response] ListPolicyTagsResponse
+ */
+ type ListPolicyTagsCallback = (error: (Error|null), response?: google.cloud.datacatalog.v1beta1.ListPolicyTagsResponse) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.datacatalog.v1beta1.PolicyTagManager|getPolicyTag}.
+ * @param error Error, if any
+ * @param [response] PolicyTag
+ */
+ type GetPolicyTagCallback = (error: (Error|null), response?: google.cloud.datacatalog.v1beta1.PolicyTag) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.datacatalog.v1beta1.PolicyTagManager|getIamPolicy}.
+ * @param error Error, if any
+ * @param [response] Policy
+ */
+ type GetIamPolicyCallback = (error: (Error|null), response?: google.iam.v1.Policy) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.datacatalog.v1beta1.PolicyTagManager|setIamPolicy}.
+ * @param error Error, if any
+ * @param [response] Policy
+ */
+ type SetIamPolicyCallback = (error: (Error|null), response?: google.iam.v1.Policy) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.datacatalog.v1beta1.PolicyTagManager|testIamPermissions}.
+ * @param error Error, if any
+ * @param [response] TestIamPermissionsResponse
+ */
+ type TestIamPermissionsCallback = (error: (Error|null), response?: google.iam.v1.TestIamPermissionsResponse) => void;
+ }
+
+ /** Properties of a Taxonomy. */
+ interface ITaxonomy {
+
+ /** Taxonomy name */
+ name?: (string|null);
+
+ /** Taxonomy displayName */
+ displayName?: (string|null);
+
+ /** Taxonomy description */
+ description?: (string|null);
+
+ /** Taxonomy activatedPolicyTypes */
+ activatedPolicyTypes?: (google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType[]|null);
+ }
+
+ /** Represents a Taxonomy. */
+ class Taxonomy implements ITaxonomy {
+
+ /**
+ * Constructs a new Taxonomy.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.datacatalog.v1beta1.ITaxonomy);
+
+ /** Taxonomy name. */
+ public name: string;
+
+ /** Taxonomy displayName. */
+ public displayName: string;
+
+ /** Taxonomy description. */
+ public description: string;
+
+ /** Taxonomy activatedPolicyTypes. */
+ public activatedPolicyTypes: google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType[];
+
+ /**
+ * Creates a new Taxonomy instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns Taxonomy instance
+ */
+ public static create(properties?: google.cloud.datacatalog.v1beta1.ITaxonomy): google.cloud.datacatalog.v1beta1.Taxonomy;
+
+ /**
+ * Encodes the specified Taxonomy message. Does not implicitly {@link google.cloud.datacatalog.v1beta1.Taxonomy.verify|verify} messages.
+ * @param message Taxonomy message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.datacatalog.v1beta1.ITaxonomy, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified Taxonomy message, length delimited. Does not implicitly {@link google.cloud.datacatalog.v1beta1.Taxonomy.verify|verify} messages.
+ * @param message Taxonomy message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.datacatalog.v1beta1.ITaxonomy, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a Taxonomy message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns Taxonomy
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.datacatalog.v1beta1.Taxonomy;
+
+ /**
+ * Decodes a Taxonomy message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns Taxonomy
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.datacatalog.v1beta1.Taxonomy;
+
+ /**
+ * Verifies a Taxonomy message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a Taxonomy message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns Taxonomy
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.datacatalog.v1beta1.Taxonomy;
+
+ /**
+ * Creates a plain object from a Taxonomy message. Also converts values to other types if specified.
+ * @param message Taxonomy
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.datacatalog.v1beta1.Taxonomy, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this Taxonomy to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for Taxonomy
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace Taxonomy {
+
+ /** PolicyType enum. */
+ enum PolicyType {
+ POLICY_TYPE_UNSPECIFIED = 0,
+ FINE_GRAINED_ACCESS_CONTROL = 1
+ }
+ }
+
+ /** Properties of a PolicyTag. */
+ interface IPolicyTag {
+
+ /** PolicyTag name */
+ name?: (string|null);
+
+ /** PolicyTag displayName */
+ displayName?: (string|null);
+
+ /** PolicyTag description */
+ description?: (string|null);
+
+ /** PolicyTag parentPolicyTag */
+ parentPolicyTag?: (string|null);
+
+ /** PolicyTag childPolicyTags */
+ childPolicyTags?: (string[]|null);
+ }
+
+ /** Represents a PolicyTag. */
+ class PolicyTag implements IPolicyTag {
+
+ /**
+ * Constructs a new PolicyTag.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.datacatalog.v1beta1.IPolicyTag);
+
+ /** PolicyTag name. */
+ public name: string;
+
+ /** PolicyTag displayName. */
+ public displayName: string;
+
+ /** PolicyTag description. */
+ public description: string;
+
+ /** PolicyTag parentPolicyTag. */
+ public parentPolicyTag: string;
+
+ /** PolicyTag childPolicyTags. */
+ public childPolicyTags: string[];
+
+ /**
+ * Creates a new PolicyTag instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns PolicyTag instance
+ */
+ public static create(properties?: google.cloud.datacatalog.v1beta1.IPolicyTag): google.cloud.datacatalog.v1beta1.PolicyTag;
+
+ /**
+ * Encodes the specified PolicyTag message. Does not implicitly {@link google.cloud.datacatalog.v1beta1.PolicyTag.verify|verify} messages.
+ * @param message PolicyTag message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.datacatalog.v1beta1.IPolicyTag, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified PolicyTag message, length delimited. Does not implicitly {@link google.cloud.datacatalog.v1beta1.PolicyTag.verify|verify} messages.
+ * @param message PolicyTag message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.datacatalog.v1beta1.IPolicyTag, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a PolicyTag message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns PolicyTag
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.datacatalog.v1beta1.PolicyTag;
+
+ /**
+ * Decodes a PolicyTag message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns PolicyTag
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.datacatalog.v1beta1.PolicyTag;
+
+ /**
+ * Verifies a PolicyTag message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a PolicyTag message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns PolicyTag
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.datacatalog.v1beta1.PolicyTag;
+
+ /**
+ * Creates a plain object from a PolicyTag message. Also converts values to other types if specified.
+ * @param message PolicyTag
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.datacatalog.v1beta1.PolicyTag, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this PolicyTag to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for PolicyTag
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a CreateTaxonomyRequest. */
+ interface ICreateTaxonomyRequest {
+
+ /** CreateTaxonomyRequest parent */
+ parent?: (string|null);
+
+ /** CreateTaxonomyRequest taxonomy */
+ taxonomy?: (google.cloud.datacatalog.v1beta1.ITaxonomy|null);
+ }
+
+ /** Represents a CreateTaxonomyRequest. */
+ class CreateTaxonomyRequest implements ICreateTaxonomyRequest {
+
+ /**
+ * Constructs a new CreateTaxonomyRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.datacatalog.v1beta1.ICreateTaxonomyRequest);
+
+ /** CreateTaxonomyRequest parent. */
+ public parent: string;
+
+ /** CreateTaxonomyRequest taxonomy. */
+ public taxonomy?: (google.cloud.datacatalog.v1beta1.ITaxonomy|null);
+
+ /**
+ * Creates a new CreateTaxonomyRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns CreateTaxonomyRequest instance
+ */
+ public static create(properties?: google.cloud.datacatalog.v1beta1.ICreateTaxonomyRequest): google.cloud.datacatalog.v1beta1.CreateTaxonomyRequest;
+
+ /**
+ * Encodes the specified CreateTaxonomyRequest message. Does not implicitly {@link google.cloud.datacatalog.v1beta1.CreateTaxonomyRequest.verify|verify} messages.
+ * @param message CreateTaxonomyRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.datacatalog.v1beta1.ICreateTaxonomyRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified CreateTaxonomyRequest message, length delimited. Does not implicitly {@link google.cloud.datacatalog.v1beta1.CreateTaxonomyRequest.verify|verify} messages.
+ * @param message CreateTaxonomyRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.datacatalog.v1beta1.ICreateTaxonomyRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a CreateTaxonomyRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns CreateTaxonomyRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.datacatalog.v1beta1.CreateTaxonomyRequest;
+
+ /**
+ * Decodes a CreateTaxonomyRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns CreateTaxonomyRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.datacatalog.v1beta1.CreateTaxonomyRequest;
+
+ /**
+ * Verifies a CreateTaxonomyRequest message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a CreateTaxonomyRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns CreateTaxonomyRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.datacatalog.v1beta1.CreateTaxonomyRequest;
+
+ /**
+ * Creates a plain object from a CreateTaxonomyRequest message. Also converts values to other types if specified.
+ * @param message CreateTaxonomyRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.datacatalog.v1beta1.CreateTaxonomyRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this CreateTaxonomyRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for CreateTaxonomyRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a DeleteTaxonomyRequest. */
+ interface IDeleteTaxonomyRequest {
+
+ /** DeleteTaxonomyRequest name */
+ name?: (string|null);
+ }
+
+ /** Represents a DeleteTaxonomyRequest. */
+ class DeleteTaxonomyRequest implements IDeleteTaxonomyRequest {
+
+ /**
+ * Constructs a new DeleteTaxonomyRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.datacatalog.v1beta1.IDeleteTaxonomyRequest);
+
+ /** DeleteTaxonomyRequest name. */
+ public name: string;
+
+ /**
+ * Creates a new DeleteTaxonomyRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns DeleteTaxonomyRequest instance
+ */
+ public static create(properties?: google.cloud.datacatalog.v1beta1.IDeleteTaxonomyRequest): google.cloud.datacatalog.v1beta1.DeleteTaxonomyRequest;
+
+ /**
+ * Encodes the specified DeleteTaxonomyRequest message. Does not implicitly {@link google.cloud.datacatalog.v1beta1.DeleteTaxonomyRequest.verify|verify} messages.
+ * @param message DeleteTaxonomyRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.datacatalog.v1beta1.IDeleteTaxonomyRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified DeleteTaxonomyRequest message, length delimited. Does not implicitly {@link google.cloud.datacatalog.v1beta1.DeleteTaxonomyRequest.verify|verify} messages.
+ * @param message DeleteTaxonomyRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.datacatalog.v1beta1.IDeleteTaxonomyRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a DeleteTaxonomyRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns DeleteTaxonomyRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.datacatalog.v1beta1.DeleteTaxonomyRequest;
+
+ /**
+ * Decodes a DeleteTaxonomyRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns DeleteTaxonomyRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.datacatalog.v1beta1.DeleteTaxonomyRequest;
+
+ /**
+ * Verifies a DeleteTaxonomyRequest message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a DeleteTaxonomyRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns DeleteTaxonomyRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.datacatalog.v1beta1.DeleteTaxonomyRequest;
+
+ /**
+ * Creates a plain object from a DeleteTaxonomyRequest message. Also converts values to other types if specified.
+ * @param message DeleteTaxonomyRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.datacatalog.v1beta1.DeleteTaxonomyRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this DeleteTaxonomyRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for DeleteTaxonomyRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of an UpdateTaxonomyRequest. */
+ interface IUpdateTaxonomyRequest {
+
+ /** UpdateTaxonomyRequest taxonomy */
+ taxonomy?: (google.cloud.datacatalog.v1beta1.ITaxonomy|null);
+
+ /** UpdateTaxonomyRequest updateMask */
+ updateMask?: (google.protobuf.IFieldMask|null);
+ }
+
+ /** Represents an UpdateTaxonomyRequest. */
+ class UpdateTaxonomyRequest implements IUpdateTaxonomyRequest {
+
+ /**
+ * Constructs a new UpdateTaxonomyRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.datacatalog.v1beta1.IUpdateTaxonomyRequest);
+
+ /** UpdateTaxonomyRequest taxonomy. */
+ public taxonomy?: (google.cloud.datacatalog.v1beta1.ITaxonomy|null);
+
+ /** UpdateTaxonomyRequest updateMask. */
+ public updateMask?: (google.protobuf.IFieldMask|null);
+
+ /**
+ * Creates a new UpdateTaxonomyRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns UpdateTaxonomyRequest instance
+ */
+ public static create(properties?: google.cloud.datacatalog.v1beta1.IUpdateTaxonomyRequest): google.cloud.datacatalog.v1beta1.UpdateTaxonomyRequest;
+
+ /**
+ * Encodes the specified UpdateTaxonomyRequest message. Does not implicitly {@link google.cloud.datacatalog.v1beta1.UpdateTaxonomyRequest.verify|verify} messages.
+ * @param message UpdateTaxonomyRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.datacatalog.v1beta1.IUpdateTaxonomyRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified UpdateTaxonomyRequest message, length delimited. Does not implicitly {@link google.cloud.datacatalog.v1beta1.UpdateTaxonomyRequest.verify|verify} messages.
+ * @param message UpdateTaxonomyRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.datacatalog.v1beta1.IUpdateTaxonomyRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an UpdateTaxonomyRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns UpdateTaxonomyRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.datacatalog.v1beta1.UpdateTaxonomyRequest;
+
+ /**
+ * Decodes an UpdateTaxonomyRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns UpdateTaxonomyRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.datacatalog.v1beta1.UpdateTaxonomyRequest;
+
+ /**
+ * Verifies an UpdateTaxonomyRequest message.
+ * @param message Plain 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 UpdateTaxonomyRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns UpdateTaxonomyRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.datacatalog.v1beta1.UpdateTaxonomyRequest;
+
+ /**
+ * Creates a plain object from an UpdateTaxonomyRequest message. Also converts values to other types if specified.
+ * @param message UpdateTaxonomyRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.datacatalog.v1beta1.UpdateTaxonomyRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this UpdateTaxonomyRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for UpdateTaxonomyRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a ListTaxonomiesRequest. */
+ interface IListTaxonomiesRequest {
+
+ /** ListTaxonomiesRequest parent */
+ parent?: (string|null);
+
+ /** ListTaxonomiesRequest pageSize */
+ pageSize?: (number|null);
+
+ /** ListTaxonomiesRequest pageToken */
+ pageToken?: (string|null);
+ }
+
+ /** Represents a ListTaxonomiesRequest. */
+ class ListTaxonomiesRequest implements IListTaxonomiesRequest {
+
+ /**
+ * Constructs a new ListTaxonomiesRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.datacatalog.v1beta1.IListTaxonomiesRequest);
+
+ /** ListTaxonomiesRequest parent. */
+ public parent: string;
+
+ /** ListTaxonomiesRequest pageSize. */
+ public pageSize: number;
+
+ /** ListTaxonomiesRequest pageToken. */
+ public pageToken: string;
+
+ /**
+ * Creates a new ListTaxonomiesRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ListTaxonomiesRequest instance
+ */
+ public static create(properties?: google.cloud.datacatalog.v1beta1.IListTaxonomiesRequest): google.cloud.datacatalog.v1beta1.ListTaxonomiesRequest;
+
+ /**
+ * Encodes the specified ListTaxonomiesRequest message. Does not implicitly {@link google.cloud.datacatalog.v1beta1.ListTaxonomiesRequest.verify|verify} messages.
+ * @param message ListTaxonomiesRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.datacatalog.v1beta1.IListTaxonomiesRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ListTaxonomiesRequest message, length delimited. Does not implicitly {@link google.cloud.datacatalog.v1beta1.ListTaxonomiesRequest.verify|verify} messages.
+ * @param message ListTaxonomiesRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.datacatalog.v1beta1.IListTaxonomiesRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ListTaxonomiesRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ListTaxonomiesRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.datacatalog.v1beta1.ListTaxonomiesRequest;
+
+ /**
+ * Decodes a ListTaxonomiesRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ListTaxonomiesRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.datacatalog.v1beta1.ListTaxonomiesRequest;
+
+ /**
+ * Verifies a ListTaxonomiesRequest message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a ListTaxonomiesRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ListTaxonomiesRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.datacatalog.v1beta1.ListTaxonomiesRequest;
+
+ /**
+ * Creates a plain object from a ListTaxonomiesRequest message. Also converts values to other types if specified.
+ * @param message ListTaxonomiesRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.datacatalog.v1beta1.ListTaxonomiesRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ListTaxonomiesRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ListTaxonomiesRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a ListTaxonomiesResponse. */
+ interface IListTaxonomiesResponse {
+
+ /** ListTaxonomiesResponse taxonomies */
+ taxonomies?: (google.cloud.datacatalog.v1beta1.ITaxonomy[]|null);
+
+ /** ListTaxonomiesResponse nextPageToken */
+ nextPageToken?: (string|null);
+ }
+
+ /** Represents a ListTaxonomiesResponse. */
+ class ListTaxonomiesResponse implements IListTaxonomiesResponse {
+
+ /**
+ * Constructs a new ListTaxonomiesResponse.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.datacatalog.v1beta1.IListTaxonomiesResponse);
+
+ /** ListTaxonomiesResponse taxonomies. */
+ public taxonomies: google.cloud.datacatalog.v1beta1.ITaxonomy[];
+
+ /** ListTaxonomiesResponse nextPageToken. */
+ public nextPageToken: string;
+
+ /**
+ * Creates a new ListTaxonomiesResponse instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ListTaxonomiesResponse instance
+ */
+ public static create(properties?: google.cloud.datacatalog.v1beta1.IListTaxonomiesResponse): google.cloud.datacatalog.v1beta1.ListTaxonomiesResponse;
+
+ /**
+ * Encodes the specified ListTaxonomiesResponse message. Does not implicitly {@link google.cloud.datacatalog.v1beta1.ListTaxonomiesResponse.verify|verify} messages.
+ * @param message ListTaxonomiesResponse message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.datacatalog.v1beta1.IListTaxonomiesResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ListTaxonomiesResponse message, length delimited. Does not implicitly {@link google.cloud.datacatalog.v1beta1.ListTaxonomiesResponse.verify|verify} messages.
+ * @param message ListTaxonomiesResponse message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.datacatalog.v1beta1.IListTaxonomiesResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ListTaxonomiesResponse message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ListTaxonomiesResponse
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.datacatalog.v1beta1.ListTaxonomiesResponse;
+
+ /**
+ * Decodes a ListTaxonomiesResponse message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ListTaxonomiesResponse
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.datacatalog.v1beta1.ListTaxonomiesResponse;
+
+ /**
+ * Verifies a ListTaxonomiesResponse message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a ListTaxonomiesResponse message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ListTaxonomiesResponse
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.datacatalog.v1beta1.ListTaxonomiesResponse;
+
+ /**
+ * Creates a plain object from a ListTaxonomiesResponse message. Also converts values to other types if specified.
+ * @param message ListTaxonomiesResponse
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.datacatalog.v1beta1.ListTaxonomiesResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ListTaxonomiesResponse to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ListTaxonomiesResponse
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a GetTaxonomyRequest. */
+ interface IGetTaxonomyRequest {
+
+ /** GetTaxonomyRequest name */
+ name?: (string|null);
+ }
+
+ /** Represents a GetTaxonomyRequest. */
+ class GetTaxonomyRequest implements IGetTaxonomyRequest {
+
+ /**
+ * Constructs a new GetTaxonomyRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.datacatalog.v1beta1.IGetTaxonomyRequest);
+
+ /** GetTaxonomyRequest name. */
+ public name: string;
+
+ /**
+ * Creates a new GetTaxonomyRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns GetTaxonomyRequest instance
+ */
+ public static create(properties?: google.cloud.datacatalog.v1beta1.IGetTaxonomyRequest): google.cloud.datacatalog.v1beta1.GetTaxonomyRequest;
+
+ /**
+ * Encodes the specified GetTaxonomyRequest message. Does not implicitly {@link google.cloud.datacatalog.v1beta1.GetTaxonomyRequest.verify|verify} messages.
+ * @param message GetTaxonomyRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.datacatalog.v1beta1.IGetTaxonomyRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified GetTaxonomyRequest message, length delimited. Does not implicitly {@link google.cloud.datacatalog.v1beta1.GetTaxonomyRequest.verify|verify} messages.
+ * @param message GetTaxonomyRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.datacatalog.v1beta1.IGetTaxonomyRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a GetTaxonomyRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns GetTaxonomyRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.datacatalog.v1beta1.GetTaxonomyRequest;
+
+ /**
+ * Decodes a GetTaxonomyRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns GetTaxonomyRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.datacatalog.v1beta1.GetTaxonomyRequest;
+
+ /**
+ * Verifies a GetTaxonomyRequest message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a GetTaxonomyRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns GetTaxonomyRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.datacatalog.v1beta1.GetTaxonomyRequest;
+
+ /**
+ * Creates a plain object from a GetTaxonomyRequest message. Also converts values to other types if specified.
+ * @param message GetTaxonomyRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.datacatalog.v1beta1.GetTaxonomyRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this GetTaxonomyRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for GetTaxonomyRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a CreatePolicyTagRequest. */
+ interface ICreatePolicyTagRequest {
+
+ /** CreatePolicyTagRequest parent */
+ parent?: (string|null);
+
+ /** CreatePolicyTagRequest policyTag */
+ policyTag?: (google.cloud.datacatalog.v1beta1.IPolicyTag|null);
+ }
+
+ /** Represents a CreatePolicyTagRequest. */
+ class CreatePolicyTagRequest implements ICreatePolicyTagRequest {
+
+ /**
+ * Constructs a new CreatePolicyTagRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.datacatalog.v1beta1.ICreatePolicyTagRequest);
+
+ /** CreatePolicyTagRequest parent. */
+ public parent: string;
+
+ /** CreatePolicyTagRequest policyTag. */
+ public policyTag?: (google.cloud.datacatalog.v1beta1.IPolicyTag|null);
+
+ /**
+ * Creates a new CreatePolicyTagRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns CreatePolicyTagRequest instance
+ */
+ public static create(properties?: google.cloud.datacatalog.v1beta1.ICreatePolicyTagRequest): google.cloud.datacatalog.v1beta1.CreatePolicyTagRequest;
+
+ /**
+ * Encodes the specified CreatePolicyTagRequest message. Does not implicitly {@link google.cloud.datacatalog.v1beta1.CreatePolicyTagRequest.verify|verify} messages.
+ * @param message CreatePolicyTagRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.datacatalog.v1beta1.ICreatePolicyTagRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified CreatePolicyTagRequest message, length delimited. Does not implicitly {@link google.cloud.datacatalog.v1beta1.CreatePolicyTagRequest.verify|verify} messages.
+ * @param message CreatePolicyTagRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.datacatalog.v1beta1.ICreatePolicyTagRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a CreatePolicyTagRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns CreatePolicyTagRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.datacatalog.v1beta1.CreatePolicyTagRequest;
+
+ /**
+ * Decodes a CreatePolicyTagRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns CreatePolicyTagRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.datacatalog.v1beta1.CreatePolicyTagRequest;
+
+ /**
+ * Verifies a CreatePolicyTagRequest message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a CreatePolicyTagRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns CreatePolicyTagRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.datacatalog.v1beta1.CreatePolicyTagRequest;
+
+ /**
+ * Creates a plain object from a CreatePolicyTagRequest message. Also converts values to other types if specified.
+ * @param message CreatePolicyTagRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.datacatalog.v1beta1.CreatePolicyTagRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this CreatePolicyTagRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for CreatePolicyTagRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a DeletePolicyTagRequest. */
+ interface IDeletePolicyTagRequest {
+
+ /** DeletePolicyTagRequest name */
+ name?: (string|null);
+ }
+
+ /** Represents a DeletePolicyTagRequest. */
+ class DeletePolicyTagRequest implements IDeletePolicyTagRequest {
+
+ /**
+ * Constructs a new DeletePolicyTagRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.datacatalog.v1beta1.IDeletePolicyTagRequest);
+
+ /** DeletePolicyTagRequest name. */
+ public name: string;
+
+ /**
+ * Creates a new DeletePolicyTagRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns DeletePolicyTagRequest instance
+ */
+ public static create(properties?: google.cloud.datacatalog.v1beta1.IDeletePolicyTagRequest): google.cloud.datacatalog.v1beta1.DeletePolicyTagRequest;
+
+ /**
+ * Encodes the specified DeletePolicyTagRequest message. Does not implicitly {@link google.cloud.datacatalog.v1beta1.DeletePolicyTagRequest.verify|verify} messages.
+ * @param message DeletePolicyTagRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.datacatalog.v1beta1.IDeletePolicyTagRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified DeletePolicyTagRequest message, length delimited. Does not implicitly {@link google.cloud.datacatalog.v1beta1.DeletePolicyTagRequest.verify|verify} messages.
+ * @param message DeletePolicyTagRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.datacatalog.v1beta1.IDeletePolicyTagRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a DeletePolicyTagRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns DeletePolicyTagRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.datacatalog.v1beta1.DeletePolicyTagRequest;
+
+ /**
+ * Decodes a DeletePolicyTagRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns DeletePolicyTagRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.datacatalog.v1beta1.DeletePolicyTagRequest;
+
+ /**
+ * Verifies a DeletePolicyTagRequest message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a DeletePolicyTagRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns DeletePolicyTagRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.datacatalog.v1beta1.DeletePolicyTagRequest;
+
+ /**
+ * Creates a plain object from a DeletePolicyTagRequest message. Also converts values to other types if specified.
+ * @param message DeletePolicyTagRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.datacatalog.v1beta1.DeletePolicyTagRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this DeletePolicyTagRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for DeletePolicyTagRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of an UpdatePolicyTagRequest. */
+ interface IUpdatePolicyTagRequest {
+
+ /** UpdatePolicyTagRequest policyTag */
+ policyTag?: (google.cloud.datacatalog.v1beta1.IPolicyTag|null);
+
+ /** UpdatePolicyTagRequest updateMask */
+ updateMask?: (google.protobuf.IFieldMask|null);
+ }
+
+ /** Represents an UpdatePolicyTagRequest. */
+ class UpdatePolicyTagRequest implements IUpdatePolicyTagRequest {
+
+ /**
+ * Constructs a new UpdatePolicyTagRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.datacatalog.v1beta1.IUpdatePolicyTagRequest);
+
+ /** UpdatePolicyTagRequest policyTag. */
+ public policyTag?: (google.cloud.datacatalog.v1beta1.IPolicyTag|null);
+
+ /** UpdatePolicyTagRequest updateMask. */
+ public updateMask?: (google.protobuf.IFieldMask|null);
+
+ /**
+ * Creates a new UpdatePolicyTagRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns UpdatePolicyTagRequest instance
+ */
+ public static create(properties?: google.cloud.datacatalog.v1beta1.IUpdatePolicyTagRequest): google.cloud.datacatalog.v1beta1.UpdatePolicyTagRequest;
+
+ /**
+ * Encodes the specified UpdatePolicyTagRequest message. Does not implicitly {@link google.cloud.datacatalog.v1beta1.UpdatePolicyTagRequest.verify|verify} messages.
+ * @param message UpdatePolicyTagRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.datacatalog.v1beta1.IUpdatePolicyTagRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified UpdatePolicyTagRequest message, length delimited. Does not implicitly {@link google.cloud.datacatalog.v1beta1.UpdatePolicyTagRequest.verify|verify} messages.
+ * @param message UpdatePolicyTagRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.datacatalog.v1beta1.IUpdatePolicyTagRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an UpdatePolicyTagRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns UpdatePolicyTagRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.datacatalog.v1beta1.UpdatePolicyTagRequest;
+
+ /**
+ * Decodes an UpdatePolicyTagRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns UpdatePolicyTagRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.datacatalog.v1beta1.UpdatePolicyTagRequest;
+
+ /**
+ * Verifies an UpdatePolicyTagRequest message.
+ * @param message Plain 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 UpdatePolicyTagRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns UpdatePolicyTagRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.datacatalog.v1beta1.UpdatePolicyTagRequest;
+
+ /**
+ * Creates a plain object from an UpdatePolicyTagRequest message. Also converts values to other types if specified.
+ * @param message UpdatePolicyTagRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.datacatalog.v1beta1.UpdatePolicyTagRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this UpdatePolicyTagRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for UpdatePolicyTagRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a ListPolicyTagsRequest. */
+ interface IListPolicyTagsRequest {
+
+ /** ListPolicyTagsRequest parent */
+ parent?: (string|null);
+
+ /** ListPolicyTagsRequest pageSize */
+ pageSize?: (number|null);
+
+ /** ListPolicyTagsRequest pageToken */
+ pageToken?: (string|null);
+ }
+
+ /** Represents a ListPolicyTagsRequest. */
+ class ListPolicyTagsRequest implements IListPolicyTagsRequest {
+
+ /**
+ * Constructs a new ListPolicyTagsRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.datacatalog.v1beta1.IListPolicyTagsRequest);
+
+ /** ListPolicyTagsRequest parent. */
+ public parent: string;
+
+ /** ListPolicyTagsRequest pageSize. */
+ public pageSize: number;
+
+ /** ListPolicyTagsRequest pageToken. */
+ public pageToken: string;
+
+ /**
+ * Creates a new ListPolicyTagsRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ListPolicyTagsRequest instance
+ */
+ public static create(properties?: google.cloud.datacatalog.v1beta1.IListPolicyTagsRequest): google.cloud.datacatalog.v1beta1.ListPolicyTagsRequest;
+
+ /**
+ * Encodes the specified ListPolicyTagsRequest message. Does not implicitly {@link google.cloud.datacatalog.v1beta1.ListPolicyTagsRequest.verify|verify} messages.
+ * @param message ListPolicyTagsRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.datacatalog.v1beta1.IListPolicyTagsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ListPolicyTagsRequest message, length delimited. Does not implicitly {@link google.cloud.datacatalog.v1beta1.ListPolicyTagsRequest.verify|verify} messages.
+ * @param message ListPolicyTagsRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.datacatalog.v1beta1.IListPolicyTagsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ListPolicyTagsRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ListPolicyTagsRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.datacatalog.v1beta1.ListPolicyTagsRequest;
+
+ /**
+ * Decodes a ListPolicyTagsRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ListPolicyTagsRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.datacatalog.v1beta1.ListPolicyTagsRequest;
+
+ /**
+ * Verifies a ListPolicyTagsRequest message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a ListPolicyTagsRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ListPolicyTagsRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.datacatalog.v1beta1.ListPolicyTagsRequest;
+
+ /**
+ * Creates a plain object from a ListPolicyTagsRequest message. Also converts values to other types if specified.
+ * @param message ListPolicyTagsRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.datacatalog.v1beta1.ListPolicyTagsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ListPolicyTagsRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ListPolicyTagsRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a ListPolicyTagsResponse. */
+ interface IListPolicyTagsResponse {
+
+ /** ListPolicyTagsResponse policyTags */
+ policyTags?: (google.cloud.datacatalog.v1beta1.IPolicyTag[]|null);
+
+ /** ListPolicyTagsResponse nextPageToken */
+ nextPageToken?: (string|null);
+ }
+
+ /** Represents a ListPolicyTagsResponse. */
+ class ListPolicyTagsResponse implements IListPolicyTagsResponse {
+
+ /**
+ * Constructs a new ListPolicyTagsResponse.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.datacatalog.v1beta1.IListPolicyTagsResponse);
+
+ /** ListPolicyTagsResponse policyTags. */
+ public policyTags: google.cloud.datacatalog.v1beta1.IPolicyTag[];
+
+ /** ListPolicyTagsResponse nextPageToken. */
+ public nextPageToken: string;
+
+ /**
+ * Creates a new ListPolicyTagsResponse instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ListPolicyTagsResponse instance
+ */
+ public static create(properties?: google.cloud.datacatalog.v1beta1.IListPolicyTagsResponse): google.cloud.datacatalog.v1beta1.ListPolicyTagsResponse;
+
+ /**
+ * Encodes the specified ListPolicyTagsResponse message. Does not implicitly {@link google.cloud.datacatalog.v1beta1.ListPolicyTagsResponse.verify|verify} messages.
+ * @param message ListPolicyTagsResponse message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.datacatalog.v1beta1.IListPolicyTagsResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ListPolicyTagsResponse message, length delimited. Does not implicitly {@link google.cloud.datacatalog.v1beta1.ListPolicyTagsResponse.verify|verify} messages.
+ * @param message ListPolicyTagsResponse message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.datacatalog.v1beta1.IListPolicyTagsResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ListPolicyTagsResponse message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ListPolicyTagsResponse
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.datacatalog.v1beta1.ListPolicyTagsResponse;
+
+ /**
+ * Decodes a ListPolicyTagsResponse message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ListPolicyTagsResponse
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.datacatalog.v1beta1.ListPolicyTagsResponse;
+
+ /**
+ * Verifies a ListPolicyTagsResponse message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a ListPolicyTagsResponse message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ListPolicyTagsResponse
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.datacatalog.v1beta1.ListPolicyTagsResponse;
+
+ /**
+ * Creates a plain object from a ListPolicyTagsResponse message. Also converts values to other types if specified.
+ * @param message ListPolicyTagsResponse
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.datacatalog.v1beta1.ListPolicyTagsResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ListPolicyTagsResponse to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ListPolicyTagsResponse
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a GetPolicyTagRequest. */
+ interface IGetPolicyTagRequest {
+
+ /** GetPolicyTagRequest name */
+ name?: (string|null);
+ }
+
+ /** Represents a GetPolicyTagRequest. */
+ class GetPolicyTagRequest implements IGetPolicyTagRequest {
+
+ /**
+ * Constructs a new GetPolicyTagRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.datacatalog.v1beta1.IGetPolicyTagRequest);
+
+ /** GetPolicyTagRequest name. */
+ public name: string;
+
+ /**
+ * Creates a new GetPolicyTagRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns GetPolicyTagRequest instance
+ */
+ public static create(properties?: google.cloud.datacatalog.v1beta1.IGetPolicyTagRequest): google.cloud.datacatalog.v1beta1.GetPolicyTagRequest;
+
+ /**
+ * Encodes the specified GetPolicyTagRequest message. Does not implicitly {@link google.cloud.datacatalog.v1beta1.GetPolicyTagRequest.verify|verify} messages.
+ * @param message GetPolicyTagRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.datacatalog.v1beta1.IGetPolicyTagRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified GetPolicyTagRequest message, length delimited. Does not implicitly {@link google.cloud.datacatalog.v1beta1.GetPolicyTagRequest.verify|verify} messages.
+ * @param message GetPolicyTagRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.datacatalog.v1beta1.IGetPolicyTagRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a GetPolicyTagRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns GetPolicyTagRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.datacatalog.v1beta1.GetPolicyTagRequest;
+
+ /**
+ * Decodes a GetPolicyTagRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns GetPolicyTagRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.datacatalog.v1beta1.GetPolicyTagRequest;
+
+ /**
+ * Verifies a GetPolicyTagRequest message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a GetPolicyTagRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns GetPolicyTagRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.datacatalog.v1beta1.GetPolicyTagRequest;
+
+ /**
+ * Creates a plain object from a GetPolicyTagRequest message. Also converts values to other types if specified.
+ * @param message GetPolicyTagRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.datacatalog.v1beta1.GetPolicyTagRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this GetPolicyTagRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for GetPolicyTagRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Represents a PolicyTagManagerSerialization */
+ class PolicyTagManagerSerialization extends $protobuf.rpc.Service {
+
+ /**
+ * Constructs a new PolicyTagManagerSerialization 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 PolicyTagManagerSerialization 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): PolicyTagManagerSerialization;
+
+ /**
+ * Calls ImportTaxonomies.
+ * @param request ImportTaxonomiesRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and ImportTaxonomiesResponse
+ */
+ public importTaxonomies(request: google.cloud.datacatalog.v1beta1.IImportTaxonomiesRequest, callback: google.cloud.datacatalog.v1beta1.PolicyTagManagerSerialization.ImportTaxonomiesCallback): void;
+
+ /**
+ * Calls ImportTaxonomies.
+ * @param request ImportTaxonomiesRequest message or plain object
+ * @returns Promise
+ */
+ public importTaxonomies(request: google.cloud.datacatalog.v1beta1.IImportTaxonomiesRequest): Promise;
+
+ /**
+ * Calls ExportTaxonomies.
+ * @param request ExportTaxonomiesRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and ExportTaxonomiesResponse
+ */
+ public exportTaxonomies(request: google.cloud.datacatalog.v1beta1.IExportTaxonomiesRequest, callback: google.cloud.datacatalog.v1beta1.PolicyTagManagerSerialization.ExportTaxonomiesCallback): void;
+
+ /**
+ * Calls ExportTaxonomies.
+ * @param request ExportTaxonomiesRequest message or plain object
+ * @returns Promise
+ */
+ public exportTaxonomies(request: google.cloud.datacatalog.v1beta1.IExportTaxonomiesRequest): Promise;
+ }
+
+ namespace PolicyTagManagerSerialization {
+
+ /**
+ * Callback as used by {@link google.cloud.datacatalog.v1beta1.PolicyTagManagerSerialization|importTaxonomies}.
+ * @param error Error, if any
+ * @param [response] ImportTaxonomiesResponse
+ */
+ type ImportTaxonomiesCallback = (error: (Error|null), response?: google.cloud.datacatalog.v1beta1.ImportTaxonomiesResponse) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.datacatalog.v1beta1.PolicyTagManagerSerialization|exportTaxonomies}.
+ * @param error Error, if any
+ * @param [response] ExportTaxonomiesResponse
+ */
+ type ExportTaxonomiesCallback = (error: (Error|null), response?: google.cloud.datacatalog.v1beta1.ExportTaxonomiesResponse) => void;
+ }
+
+ /** Properties of a SerializedTaxonomy. */
+ interface ISerializedTaxonomy {
+
+ /** SerializedTaxonomy displayName */
+ displayName?: (string|null);
+
+ /** SerializedTaxonomy description */
+ description?: (string|null);
+
+ /** SerializedTaxonomy policyTags */
+ policyTags?: (google.cloud.datacatalog.v1beta1.ISerializedPolicyTag[]|null);
+ }
+
+ /** Represents a SerializedTaxonomy. */
+ class SerializedTaxonomy implements ISerializedTaxonomy {
+
+ /**
+ * Constructs a new SerializedTaxonomy.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.datacatalog.v1beta1.ISerializedTaxonomy);
+
+ /** SerializedTaxonomy displayName. */
+ public displayName: string;
+
+ /** SerializedTaxonomy description. */
+ public description: string;
+
+ /** SerializedTaxonomy policyTags. */
+ public policyTags: google.cloud.datacatalog.v1beta1.ISerializedPolicyTag[];
+
+ /**
+ * Creates a new SerializedTaxonomy instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns SerializedTaxonomy instance
+ */
+ public static create(properties?: google.cloud.datacatalog.v1beta1.ISerializedTaxonomy): google.cloud.datacatalog.v1beta1.SerializedTaxonomy;
+
+ /**
+ * Encodes the specified SerializedTaxonomy message. Does not implicitly {@link google.cloud.datacatalog.v1beta1.SerializedTaxonomy.verify|verify} messages.
+ * @param message SerializedTaxonomy message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.datacatalog.v1beta1.ISerializedTaxonomy, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified SerializedTaxonomy message, length delimited. Does not implicitly {@link google.cloud.datacatalog.v1beta1.SerializedTaxonomy.verify|verify} messages.
+ * @param message SerializedTaxonomy message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.datacatalog.v1beta1.ISerializedTaxonomy, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a SerializedTaxonomy message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns SerializedTaxonomy
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.datacatalog.v1beta1.SerializedTaxonomy;
+
+ /**
+ * Decodes a SerializedTaxonomy message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns SerializedTaxonomy
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.datacatalog.v1beta1.SerializedTaxonomy;
+
+ /**
+ * Verifies a SerializedTaxonomy message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a SerializedTaxonomy message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns SerializedTaxonomy
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.datacatalog.v1beta1.SerializedTaxonomy;
+
+ /**
+ * Creates a plain object from a SerializedTaxonomy message. Also converts values to other types if specified.
+ * @param message SerializedTaxonomy
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.datacatalog.v1beta1.SerializedTaxonomy, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this SerializedTaxonomy to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for SerializedTaxonomy
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a SerializedPolicyTag. */
+ interface ISerializedPolicyTag {
+
+ /** SerializedPolicyTag displayName */
+ displayName?: (string|null);
+
+ /** SerializedPolicyTag description */
+ description?: (string|null);
+
+ /** SerializedPolicyTag childPolicyTags */
+ childPolicyTags?: (google.cloud.datacatalog.v1beta1.ISerializedPolicyTag[]|null);
+ }
+
+ /** Represents a SerializedPolicyTag. */
+ class SerializedPolicyTag implements ISerializedPolicyTag {
+
+ /**
+ * Constructs a new SerializedPolicyTag.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.datacatalog.v1beta1.ISerializedPolicyTag);
+
+ /** SerializedPolicyTag displayName. */
+ public displayName: string;
+
+ /** SerializedPolicyTag description. */
+ public description: string;
+
+ /** SerializedPolicyTag childPolicyTags. */
+ public childPolicyTags: google.cloud.datacatalog.v1beta1.ISerializedPolicyTag[];
+
+ /**
+ * Creates a new SerializedPolicyTag instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns SerializedPolicyTag instance
+ */
+ public static create(properties?: google.cloud.datacatalog.v1beta1.ISerializedPolicyTag): google.cloud.datacatalog.v1beta1.SerializedPolicyTag;
+
+ /**
+ * Encodes the specified SerializedPolicyTag message. Does not implicitly {@link google.cloud.datacatalog.v1beta1.SerializedPolicyTag.verify|verify} messages.
+ * @param message SerializedPolicyTag message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.datacatalog.v1beta1.ISerializedPolicyTag, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified SerializedPolicyTag message, length delimited. Does not implicitly {@link google.cloud.datacatalog.v1beta1.SerializedPolicyTag.verify|verify} messages.
+ * @param message SerializedPolicyTag message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.datacatalog.v1beta1.ISerializedPolicyTag, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a SerializedPolicyTag message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns SerializedPolicyTag
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.datacatalog.v1beta1.SerializedPolicyTag;
+
+ /**
+ * Decodes a SerializedPolicyTag message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns SerializedPolicyTag
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.datacatalog.v1beta1.SerializedPolicyTag;
+
+ /**
+ * Verifies a SerializedPolicyTag message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a SerializedPolicyTag message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns SerializedPolicyTag
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.datacatalog.v1beta1.SerializedPolicyTag;
+
+ /**
+ * Creates a plain object from a SerializedPolicyTag message. Also converts values to other types if specified.
+ * @param message SerializedPolicyTag
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.datacatalog.v1beta1.SerializedPolicyTag, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this SerializedPolicyTag to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for SerializedPolicyTag
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of an ImportTaxonomiesRequest. */
+ interface IImportTaxonomiesRequest {
+
+ /** ImportTaxonomiesRequest parent */
+ parent?: (string|null);
+
+ /** ImportTaxonomiesRequest inlineSource */
+ inlineSource?: (google.cloud.datacatalog.v1beta1.IInlineSource|null);
+ }
+
+ /** Represents an ImportTaxonomiesRequest. */
+ class ImportTaxonomiesRequest implements IImportTaxonomiesRequest {
+
+ /**
+ * Constructs a new ImportTaxonomiesRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.datacatalog.v1beta1.IImportTaxonomiesRequest);
+
+ /** ImportTaxonomiesRequest parent. */
+ public parent: string;
+
+ /** ImportTaxonomiesRequest inlineSource. */
+ public inlineSource?: (google.cloud.datacatalog.v1beta1.IInlineSource|null);
+
+ /** ImportTaxonomiesRequest source. */
+ public source?: "inlineSource";
+
+ /**
+ * Creates a new ImportTaxonomiesRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ImportTaxonomiesRequest instance
+ */
+ public static create(properties?: google.cloud.datacatalog.v1beta1.IImportTaxonomiesRequest): google.cloud.datacatalog.v1beta1.ImportTaxonomiesRequest;
+
+ /**
+ * Encodes the specified ImportTaxonomiesRequest message. Does not implicitly {@link google.cloud.datacatalog.v1beta1.ImportTaxonomiesRequest.verify|verify} messages.
+ * @param message ImportTaxonomiesRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.datacatalog.v1beta1.IImportTaxonomiesRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ImportTaxonomiesRequest message, length delimited. Does not implicitly {@link google.cloud.datacatalog.v1beta1.ImportTaxonomiesRequest.verify|verify} messages.
+ * @param message ImportTaxonomiesRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.datacatalog.v1beta1.IImportTaxonomiesRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an ImportTaxonomiesRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ImportTaxonomiesRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.datacatalog.v1beta1.ImportTaxonomiesRequest;
+
+ /**
+ * Decodes an ImportTaxonomiesRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ImportTaxonomiesRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.datacatalog.v1beta1.ImportTaxonomiesRequest;
+
+ /**
+ * Verifies an ImportTaxonomiesRequest message.
+ * @param message Plain 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 ImportTaxonomiesRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ImportTaxonomiesRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.datacatalog.v1beta1.ImportTaxonomiesRequest;
+
+ /**
+ * Creates a plain object from an ImportTaxonomiesRequest message. Also converts values to other types if specified.
+ * @param message ImportTaxonomiesRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.datacatalog.v1beta1.ImportTaxonomiesRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ImportTaxonomiesRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ImportTaxonomiesRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of an InlineSource. */
+ interface IInlineSource {
+
+ /** InlineSource taxonomies */
+ taxonomies?: (google.cloud.datacatalog.v1beta1.ISerializedTaxonomy[]|null);
+ }
+
+ /** Represents an InlineSource. */
+ class InlineSource implements IInlineSource {
+
+ /**
+ * Constructs a new InlineSource.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.datacatalog.v1beta1.IInlineSource);
+
+ /** InlineSource taxonomies. */
+ public taxonomies: google.cloud.datacatalog.v1beta1.ISerializedTaxonomy[];
+
+ /**
+ * Creates a new InlineSource instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns InlineSource instance
+ */
+ public static create(properties?: google.cloud.datacatalog.v1beta1.IInlineSource): google.cloud.datacatalog.v1beta1.InlineSource;
+
+ /**
+ * Encodes the specified InlineSource message. Does not implicitly {@link google.cloud.datacatalog.v1beta1.InlineSource.verify|verify} messages.
+ * @param message InlineSource message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.datacatalog.v1beta1.IInlineSource, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified InlineSource message, length delimited. Does not implicitly {@link google.cloud.datacatalog.v1beta1.InlineSource.verify|verify} messages.
+ * @param message InlineSource message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.datacatalog.v1beta1.IInlineSource, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an InlineSource message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns InlineSource
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.datacatalog.v1beta1.InlineSource;
+
+ /**
+ * Decodes an InlineSource message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns InlineSource
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.datacatalog.v1beta1.InlineSource;
+
+ /**
+ * Verifies an InlineSource message.
+ * @param message Plain 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 InlineSource message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns InlineSource
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.datacatalog.v1beta1.InlineSource;
+
+ /**
+ * Creates a plain object from an InlineSource message. Also converts values to other types if specified.
+ * @param message InlineSource
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.datacatalog.v1beta1.InlineSource, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this InlineSource to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for InlineSource
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of an ImportTaxonomiesResponse. */
+ interface IImportTaxonomiesResponse {
+
+ /** ImportTaxonomiesResponse taxonomies */
+ taxonomies?: (google.cloud.datacatalog.v1beta1.ITaxonomy[]|null);
+ }
+
+ /** Represents an ImportTaxonomiesResponse. */
+ class ImportTaxonomiesResponse implements IImportTaxonomiesResponse {
+
+ /**
+ * Constructs a new ImportTaxonomiesResponse.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.datacatalog.v1beta1.IImportTaxonomiesResponse);
+
+ /** ImportTaxonomiesResponse taxonomies. */
+ public taxonomies: google.cloud.datacatalog.v1beta1.ITaxonomy[];
+
+ /**
+ * Creates a new ImportTaxonomiesResponse instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ImportTaxonomiesResponse instance
+ */
+ public static create(properties?: google.cloud.datacatalog.v1beta1.IImportTaxonomiesResponse): google.cloud.datacatalog.v1beta1.ImportTaxonomiesResponse;
+
+ /**
+ * Encodes the specified ImportTaxonomiesResponse message. Does not implicitly {@link google.cloud.datacatalog.v1beta1.ImportTaxonomiesResponse.verify|verify} messages.
+ * @param message ImportTaxonomiesResponse message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.datacatalog.v1beta1.IImportTaxonomiesResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ImportTaxonomiesResponse message, length delimited. Does not implicitly {@link google.cloud.datacatalog.v1beta1.ImportTaxonomiesResponse.verify|verify} messages.
+ * @param message ImportTaxonomiesResponse message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.datacatalog.v1beta1.IImportTaxonomiesResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an ImportTaxonomiesResponse message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ImportTaxonomiesResponse
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.datacatalog.v1beta1.ImportTaxonomiesResponse;
+
+ /**
+ * Decodes an ImportTaxonomiesResponse message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ImportTaxonomiesResponse
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.datacatalog.v1beta1.ImportTaxonomiesResponse;
+
+ /**
+ * Verifies an ImportTaxonomiesResponse message.
+ * @param message Plain 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 ImportTaxonomiesResponse message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ImportTaxonomiesResponse
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.datacatalog.v1beta1.ImportTaxonomiesResponse;
+
+ /**
+ * Creates a plain object from an ImportTaxonomiesResponse message. Also converts values to other types if specified.
+ * @param message ImportTaxonomiesResponse
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.datacatalog.v1beta1.ImportTaxonomiesResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ImportTaxonomiesResponse to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ImportTaxonomiesResponse
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of an ExportTaxonomiesRequest. */
+ interface IExportTaxonomiesRequest {
+
+ /** ExportTaxonomiesRequest parent */
+ parent?: (string|null);
+
+ /** ExportTaxonomiesRequest taxonomies */
+ taxonomies?: (string[]|null);
+
+ /** ExportTaxonomiesRequest serializedTaxonomies */
+ serializedTaxonomies?: (boolean|null);
+ }
+
+ /** Represents an ExportTaxonomiesRequest. */
+ class ExportTaxonomiesRequest implements IExportTaxonomiesRequest {
+
+ /**
+ * Constructs a new ExportTaxonomiesRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.datacatalog.v1beta1.IExportTaxonomiesRequest);
+
+ /** ExportTaxonomiesRequest parent. */
+ public parent: string;
+
+ /** ExportTaxonomiesRequest taxonomies. */
+ public taxonomies: string[];
+
+ /** ExportTaxonomiesRequest serializedTaxonomies. */
+ public serializedTaxonomies?: (boolean|null);
+
+ /** ExportTaxonomiesRequest destination. */
+ public destination?: "serializedTaxonomies";
+
+ /**
+ * Creates a new ExportTaxonomiesRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ExportTaxonomiesRequest instance
+ */
+ public static create(properties?: google.cloud.datacatalog.v1beta1.IExportTaxonomiesRequest): google.cloud.datacatalog.v1beta1.ExportTaxonomiesRequest;
+
+ /**
+ * Encodes the specified ExportTaxonomiesRequest message. Does not implicitly {@link google.cloud.datacatalog.v1beta1.ExportTaxonomiesRequest.verify|verify} messages.
+ * @param message ExportTaxonomiesRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.datacatalog.v1beta1.IExportTaxonomiesRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ExportTaxonomiesRequest message, length delimited. Does not implicitly {@link google.cloud.datacatalog.v1beta1.ExportTaxonomiesRequest.verify|verify} messages.
+ * @param message ExportTaxonomiesRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.datacatalog.v1beta1.IExportTaxonomiesRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an ExportTaxonomiesRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ExportTaxonomiesRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.datacatalog.v1beta1.ExportTaxonomiesRequest;
+
+ /**
+ * Decodes an ExportTaxonomiesRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ExportTaxonomiesRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.datacatalog.v1beta1.ExportTaxonomiesRequest;
+
+ /**
+ * Verifies an ExportTaxonomiesRequest message.
+ * @param message Plain 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 ExportTaxonomiesRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ExportTaxonomiesRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.datacatalog.v1beta1.ExportTaxonomiesRequest;
+
+ /**
+ * Creates a plain object from an ExportTaxonomiesRequest message. Also converts values to other types if specified.
+ * @param message ExportTaxonomiesRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.datacatalog.v1beta1.ExportTaxonomiesRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ExportTaxonomiesRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ExportTaxonomiesRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of an ExportTaxonomiesResponse. */
+ interface IExportTaxonomiesResponse {
+
+ /** ExportTaxonomiesResponse taxonomies */
+ taxonomies?: (google.cloud.datacatalog.v1beta1.ISerializedTaxonomy[]|null);
+ }
+
+ /** Represents an ExportTaxonomiesResponse. */
+ class ExportTaxonomiesResponse implements IExportTaxonomiesResponse {
+
+ /**
+ * Constructs a new ExportTaxonomiesResponse.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.datacatalog.v1beta1.IExportTaxonomiesResponse);
+
+ /** ExportTaxonomiesResponse taxonomies. */
+ public taxonomies: google.cloud.datacatalog.v1beta1.ISerializedTaxonomy[];
+
+ /**
+ * Creates a new ExportTaxonomiesResponse instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ExportTaxonomiesResponse instance
+ */
+ public static create(properties?: google.cloud.datacatalog.v1beta1.IExportTaxonomiesResponse): google.cloud.datacatalog.v1beta1.ExportTaxonomiesResponse;
+
+ /**
+ * Encodes the specified ExportTaxonomiesResponse message. Does not implicitly {@link google.cloud.datacatalog.v1beta1.ExportTaxonomiesResponse.verify|verify} messages.
+ * @param message ExportTaxonomiesResponse message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.datacatalog.v1beta1.IExportTaxonomiesResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ExportTaxonomiesResponse message, length delimited. Does not implicitly {@link google.cloud.datacatalog.v1beta1.ExportTaxonomiesResponse.verify|verify} messages.
+ * @param message ExportTaxonomiesResponse message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.datacatalog.v1beta1.IExportTaxonomiesResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an ExportTaxonomiesResponse message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ExportTaxonomiesResponse
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.datacatalog.v1beta1.ExportTaxonomiesResponse;
+
+ /**
+ * Decodes an ExportTaxonomiesResponse message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ExportTaxonomiesResponse
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.datacatalog.v1beta1.ExportTaxonomiesResponse;
+
+ /**
+ * Verifies an ExportTaxonomiesResponse message.
+ * @param message Plain 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 ExportTaxonomiesResponse message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ExportTaxonomiesResponse
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.datacatalog.v1beta1.ExportTaxonomiesResponse;
+
+ /**
+ * Creates a plain object from an ExportTaxonomiesResponse message. Also converts values to other types if specified.
+ * @param message ExportTaxonomiesResponse
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.datacatalog.v1beta1.ExportTaxonomiesResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ExportTaxonomiesResponse to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ExportTaxonomiesResponse
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+ }
+ }
+ }
+
+ /** Namespace api. */
+ namespace api {
+
+ /** FieldBehavior enum. */
+ enum FieldBehavior {
+ FIELD_BEHAVIOR_UNSPECIFIED = 0,
+ OPTIONAL = 1,
+ REQUIRED = 2,
+ OUTPUT_ONLY = 3,
+ INPUT_ONLY = 4,
+ IMMUTABLE = 5,
+ UNORDERED_LIST = 6,
+ NON_EMPTY_DEFAULT = 7
+ }
+
+ /** Properties of a 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 ResourceDescriptor. */
+ interface IResourceDescriptor {
+
+ /** ResourceDescriptor type */
+ type?: (string|null);
+
+ /** ResourceDescriptor pattern */
+ pattern?: (string[]|null);
+
+ /** ResourceDescriptor nameField */
+ nameField?: (string|null);
+
+ /** ResourceDescriptor history */
+ history?: (google.api.ResourceDescriptor.History|keyof typeof google.api.ResourceDescriptor.History|null);
+
+ /** ResourceDescriptor plural */
+ plural?: (string|null);
+
+ /** ResourceDescriptor singular */
+ singular?: (string|null);
+
+ /** ResourceDescriptor style */
+ style?: (google.api.ResourceDescriptor.Style[]|null);
+ }
+
+ /** Represents a ResourceDescriptor. */
+ class ResourceDescriptor implements IResourceDescriptor {
+
+ /**
+ * Constructs a new ResourceDescriptor.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.api.IResourceDescriptor);
+
+ /** ResourceDescriptor type. */
+ public type: string;
+
+ /** ResourceDescriptor pattern. */
+ public pattern: string[];
+
+ /** ResourceDescriptor nameField. */
+ public nameField: string;
+
+ /** ResourceDescriptor history. */
+ public history: (google.api.ResourceDescriptor.History|keyof typeof google.api.ResourceDescriptor.History);
+
+ /** ResourceDescriptor plural. */
+ public plural: string;
+
+ /** ResourceDescriptor singular. */
+ public singular: string;
+
+ /** ResourceDescriptor style. */
+ public style: google.api.ResourceDescriptor.Style[];
+
+ /**
+ * Creates a new ResourceDescriptor instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ResourceDescriptor instance
+ */
+ public static create(properties?: google.api.IResourceDescriptor): google.api.ResourceDescriptor;
+
+ /**
+ * Encodes the specified ResourceDescriptor message. Does not implicitly {@link google.api.ResourceDescriptor.verify|verify} messages.
+ * @param message ResourceDescriptor message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.api.IResourceDescriptor, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ResourceDescriptor message, length delimited. Does not implicitly {@link google.api.ResourceDescriptor.verify|verify} messages.
+ * @param message ResourceDescriptor message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.api.IResourceDescriptor, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ResourceDescriptor message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ResourceDescriptor
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.ResourceDescriptor;
+
+ /**
+ * Decodes a ResourceDescriptor message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ResourceDescriptor
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.ResourceDescriptor;
+
+ /**
+ * Verifies a ResourceDescriptor message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a ResourceDescriptor message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ResourceDescriptor
+ */
+ public static fromObject(object: { [k: string]: any }): google.api.ResourceDescriptor;
+
+ /**
+ * Creates a plain object from a ResourceDescriptor message. Also converts values to other types if specified.
+ * @param message ResourceDescriptor
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.api.ResourceDescriptor, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ResourceDescriptor to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ResourceDescriptor
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace ResourceDescriptor {
+
+ /** History enum. */
+ enum History {
+ HISTORY_UNSPECIFIED = 0,
+ ORIGINALLY_SINGLE_PATTERN = 1,
+ FUTURE_MULTI_PATTERN = 2
+ }
+
+ /** Style enum. */
+ enum Style {
+ STYLE_UNSPECIFIED = 0,
+ DECLARATIVE_FRIENDLY = 1
+ }
+ }
+
+ /** Properties of a ResourceReference. */
+ interface IResourceReference {
+
+ /** ResourceReference type */
+ type?: (string|null);
+
+ /** ResourceReference childType */
+ childType?: (string|null);
+ }
+
+ /** Represents a ResourceReference. */
+ class ResourceReference implements IResourceReference {
+
+ /**
+ * Constructs a new ResourceReference.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.api.IResourceReference);
+
+ /** ResourceReference type. */
+ public type: string;
+
+ /** ResourceReference childType. */
+ public childType: string;
+
+ /**
+ * Creates a new ResourceReference instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ResourceReference instance
+ */
+ public static create(properties?: google.api.IResourceReference): google.api.ResourceReference;
+
+ /**
+ * Encodes the specified ResourceReference message. Does not implicitly {@link google.api.ResourceReference.verify|verify} messages.
+ * @param message ResourceReference message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.api.IResourceReference, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ResourceReference message, length delimited. Does not implicitly {@link google.api.ResourceReference.verify|verify} messages.
+ * @param message ResourceReference message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.api.IResourceReference, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ResourceReference message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ResourceReference
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.ResourceReference;
+
+ /**
+ * Decodes a ResourceReference message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ResourceReference
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.ResourceReference;
+
+ /**
+ * Verifies a ResourceReference message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a ResourceReference message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ResourceReference
+ */
+ public static fromObject(object: { [k: string]: any }): google.api.ResourceReference;
+
+ /**
+ * Creates a plain object from a ResourceReference message. Also converts values to other types if specified.
+ * @param message ResourceReference
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.api.ResourceReference, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ResourceReference to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ResourceReference
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+ }
+
+ /** Namespace protobuf. */
+ namespace protobuf {
+
+ /** Properties of a FileDescriptorSet. */
+ interface IFileDescriptorSet {
+
+ /** FileDescriptorSet file */
+ file?: (google.protobuf.IFileDescriptorProto[]|null);
+ }
+
+ /** Represents a FileDescriptorSet. */
+ class FileDescriptorSet implements IFileDescriptorSet {
+
+ /**
+ * Constructs a new FileDescriptorSet.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.protobuf.IFileDescriptorSet);
+
+ /** FileDescriptorSet file. */
+ public file: google.protobuf.IFileDescriptorProto[];
+
+ /**
+ * Creates a new FileDescriptorSet instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns FileDescriptorSet instance
+ */
+ public static create(properties?: google.protobuf.IFileDescriptorSet): google.protobuf.FileDescriptorSet;
+
+ /**
+ * Encodes the specified FileDescriptorSet message. Does not implicitly {@link google.protobuf.FileDescriptorSet.verify|verify} messages.
+ * @param message FileDescriptorSet message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.protobuf.IFileDescriptorSet, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified FileDescriptorSet message, length delimited. Does not implicitly {@link google.protobuf.FileDescriptorSet.verify|verify} messages.
+ * @param message FileDescriptorSet message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.protobuf.IFileDescriptorSet, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a FileDescriptorSet message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns FileDescriptorSet
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.FileDescriptorSet;
+
+ /**
+ * Decodes a FileDescriptorSet message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns FileDescriptorSet
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.FileDescriptorSet;
+
+ /**
+ * Verifies a FileDescriptorSet message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a FileDescriptorSet message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns FileDescriptorSet
+ */
+ public static fromObject(object: { [k: string]: any }): google.protobuf.FileDescriptorSet;
+
+ /**
+ * Creates a plain object from a FileDescriptorSet message. Also converts values to other types if specified.
+ * @param message FileDescriptorSet
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.protobuf.FileDescriptorSet, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this FileDescriptorSet to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for FileDescriptorSet
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a FileDescriptorProto. */
+ interface IFileDescriptorProto {
+
+ /** FileDescriptorProto name */
+ name?: (string|null);
+
+ /** FileDescriptorProto package */
+ "package"?: (string|null);
+
+ /** FileDescriptorProto dependency */
+ dependency?: (string[]|null);
+
+ /** FileDescriptorProto publicDependency */
+ publicDependency?: (number[]|null);
+
+ /** FileDescriptorProto weakDependency */
+ weakDependency?: (number[]|null);
+
+ /** FileDescriptorProto messageType */
+ messageType?: (google.protobuf.IDescriptorProto[]|null);
+
+ /** FileDescriptorProto enumType */
+ enumType?: (google.protobuf.IEnumDescriptorProto[]|null);
+
+ /** FileDescriptorProto service */
+ service?: (google.protobuf.IServiceDescriptorProto[]|null);
+
+ /** FileDescriptorProto extension */
+ extension?: (google.protobuf.IFieldDescriptorProto[]|null);
+
+ /** FileDescriptorProto options */
+ options?: (google.protobuf.IFileOptions|null);
+
+ /** FileDescriptorProto sourceCodeInfo */
+ sourceCodeInfo?: (google.protobuf.ISourceCodeInfo|null);
+
+ /** FileDescriptorProto syntax */
+ syntax?: (string|null);
+
+ /** FileDescriptorProto edition */
+ edition?: (string|null);
+ }
+
+ /** Represents a FileDescriptorProto. */
+ class FileDescriptorProto implements IFileDescriptorProto {
+
+ /**
+ * Constructs a new FileDescriptorProto.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.protobuf.IFileDescriptorProto);
+
+ /** FileDescriptorProto name. */
+ public name: string;
+
+ /** FileDescriptorProto package. */
+ public package: string;
+
+ /** FileDescriptorProto dependency. */
+ public dependency: string[];
+
+ /** FileDescriptorProto publicDependency. */
+ public publicDependency: number[];
+
+ /** FileDescriptorProto weakDependency. */
+ public weakDependency: number[];
+
+ /** FileDescriptorProto messageType. */
+ public messageType: google.protobuf.IDescriptorProto[];
+
+ /** FileDescriptorProto enumType. */
+ public enumType: google.protobuf.IEnumDescriptorProto[];
+
+ /** FileDescriptorProto service. */
+ public service: google.protobuf.IServiceDescriptorProto[];
+
+ /** FileDescriptorProto extension. */
+ public extension: google.protobuf.IFieldDescriptorProto[];
+
+ /** FileDescriptorProto options. */
+ public options?: (google.protobuf.IFileOptions|null);
+
+ /** FileDescriptorProto sourceCodeInfo. */
+ public sourceCodeInfo?: (google.protobuf.ISourceCodeInfo|null);
+
+ /** FileDescriptorProto syntax. */
+ public syntax: string;
+
+ /** FileDescriptorProto edition. */
+ public edition: string;
+
+ /**
+ * Creates a new FileDescriptorProto instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns FileDescriptorProto instance
+ */
+ public static create(properties?: google.protobuf.IFileDescriptorProto): google.protobuf.FileDescriptorProto;
+
+ /**
+ * Encodes the specified FileDescriptorProto message. Does not implicitly {@link google.protobuf.FileDescriptorProto.verify|verify} messages.
+ * @param message FileDescriptorProto message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.protobuf.IFileDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified FileDescriptorProto message, length delimited. Does not implicitly {@link google.protobuf.FileDescriptorProto.verify|verify} messages.
+ * @param message FileDescriptorProto message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.protobuf.IFileDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a FileDescriptorProto message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns FileDescriptorProto
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.FileDescriptorProto;
+
+ /**
+ * Decodes a FileDescriptorProto message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns FileDescriptorProto
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.FileDescriptorProto;
+
+ /**
+ * Verifies a FileDescriptorProto message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a FileDescriptorProto message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns FileDescriptorProto
+ */
+ public static fromObject(object: { [k: string]: any }): google.protobuf.FileDescriptorProto;
+
+ /**
+ * Creates a plain object from a FileDescriptorProto message. Also converts values to other types if specified.
+ * @param message FileDescriptorProto
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.protobuf.FileDescriptorProto, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this FileDescriptorProto to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for FileDescriptorProto
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a DescriptorProto. */
+ interface IDescriptorProto {
+
+ /** DescriptorProto name */
+ name?: (string|null);
+
+ /** DescriptorProto field */
+ field?: (google.protobuf.IFieldDescriptorProto[]|null);
+
+ /** DescriptorProto extension */
+ extension?: (google.protobuf.IFieldDescriptorProto[]|null);
+
+ /** DescriptorProto nestedType */
+ nestedType?: (google.protobuf.IDescriptorProto[]|null);
+
+ /** DescriptorProto enumType */
+ enumType?: (google.protobuf.IEnumDescriptorProto[]|null);
+
+ /** DescriptorProto extensionRange */
+ extensionRange?: (google.protobuf.DescriptorProto.IExtensionRange[]|null);
+
+ /** DescriptorProto oneofDecl */
+ oneofDecl?: (google.protobuf.IOneofDescriptorProto[]|null);
+
+ /** DescriptorProto options */
+ options?: (google.protobuf.IMessageOptions|null);
+
+ /** DescriptorProto reservedRange */
+ reservedRange?: (google.protobuf.DescriptorProto.IReservedRange[]|null);
+
+ /** DescriptorProto reservedName */
+ reservedName?: (string[]|null);
+ }
+
+ /** Represents a DescriptorProto. */
+ class DescriptorProto implements IDescriptorProto {
+
+ /**
+ * Constructs a new DescriptorProto.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.protobuf.IDescriptorProto);
+
+ /** DescriptorProto name. */
+ public name: string;
+
+ /** DescriptorProto field. */
+ public field: google.protobuf.IFieldDescriptorProto[];
+
+ /** DescriptorProto extension. */
+ public extension: google.protobuf.IFieldDescriptorProto[];
+
+ /** DescriptorProto nestedType. */
+ public nestedType: google.protobuf.IDescriptorProto[];
+
+ /** DescriptorProto enumType. */
+ public enumType: google.protobuf.IEnumDescriptorProto[];
+
+ /** DescriptorProto extensionRange. */
+ public extensionRange: google.protobuf.DescriptorProto.IExtensionRange[];
+
+ /** DescriptorProto oneofDecl. */
+ public oneofDecl: google.protobuf.IOneofDescriptorProto[];
+
+ /** DescriptorProto options. */
+ public options?: (google.protobuf.IMessageOptions|null);
+
+ /** DescriptorProto reservedRange. */
+ public reservedRange: google.protobuf.DescriptorProto.IReservedRange[];
+
+ /** DescriptorProto reservedName. */
+ public reservedName: string[];
+
+ /**
+ * Creates a new DescriptorProto instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns DescriptorProto instance
+ */
+ public static create(properties?: google.protobuf.IDescriptorProto): google.protobuf.DescriptorProto;
+
+ /**
+ * Encodes the specified DescriptorProto message. Does not implicitly {@link google.protobuf.DescriptorProto.verify|verify} messages.
+ * @param message DescriptorProto message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.protobuf.IDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified DescriptorProto message, length delimited. Does not implicitly {@link google.protobuf.DescriptorProto.verify|verify} messages.
+ * @param message DescriptorProto message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.protobuf.IDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a DescriptorProto message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns DescriptorProto
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.DescriptorProto;
+
+ /**
+ * Decodes a DescriptorProto message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns DescriptorProto
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.DescriptorProto;
+
+ /**
+ * Verifies a DescriptorProto message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a DescriptorProto message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns DescriptorProto
+ */
+ public static fromObject(object: { [k: string]: any }): google.protobuf.DescriptorProto;
+
+ /**
+ * Creates a plain object from a DescriptorProto message. Also converts values to other types if specified.
+ * @param message DescriptorProto
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.protobuf.DescriptorProto, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this DescriptorProto to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for DescriptorProto
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace DescriptorProto {
+
+ /** Properties of an ExtensionRange. */
+ interface IExtensionRange {
+
+ /** ExtensionRange start */
+ start?: (number|null);
+
+ /** ExtensionRange end */
+ end?: (number|null);
+
+ /** ExtensionRange options */
+ options?: (google.protobuf.IExtensionRangeOptions|null);
+ }
+
+ /** Represents an ExtensionRange. */
+ class ExtensionRange implements IExtensionRange {
+
+ /**
+ * Constructs a new ExtensionRange.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.protobuf.DescriptorProto.IExtensionRange);
+
+ /** ExtensionRange start. */
+ public start: number;
+
+ /** ExtensionRange end. */
+ public end: number;
+
+ /** ExtensionRange options. */
+ public options?: (google.protobuf.IExtensionRangeOptions|null);
+
+ /**
+ * Creates a new ExtensionRange instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ExtensionRange instance
+ */
+ public static create(properties?: google.protobuf.DescriptorProto.IExtensionRange): google.protobuf.DescriptorProto.ExtensionRange;
+
+ /**
+ * Encodes the specified ExtensionRange message. Does not implicitly {@link google.protobuf.DescriptorProto.ExtensionRange.verify|verify} messages.
+ * @param message ExtensionRange message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.protobuf.DescriptorProto.IExtensionRange, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ExtensionRange message, length delimited. Does not implicitly {@link google.protobuf.DescriptorProto.ExtensionRange.verify|verify} messages.
+ * @param message ExtensionRange message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.protobuf.DescriptorProto.IExtensionRange, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an ExtensionRange message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ExtensionRange
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.DescriptorProto.ExtensionRange;
+
+ /**
+ * Decodes an ExtensionRange message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ExtensionRange
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.DescriptorProto.ExtensionRange;
+
+ /**
+ * Verifies an ExtensionRange message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates an ExtensionRange message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ExtensionRange
+ */
+ public static fromObject(object: { [k: string]: any }): google.protobuf.DescriptorProto.ExtensionRange;
+
+ /**
+ * Creates a plain object from an ExtensionRange message. Also converts values to other types if specified.
+ * @param message ExtensionRange
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.protobuf.DescriptorProto.ExtensionRange, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ExtensionRange to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ExtensionRange
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a ReservedRange. */
+ interface IReservedRange {
+
+ /** ReservedRange start */
+ start?: (number|null);
+
+ /** ReservedRange end */
+ end?: (number|null);
+ }
+
+ /** Represents a ReservedRange. */
+ class ReservedRange implements IReservedRange {
+
+ /**
+ * Constructs a new ReservedRange.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.protobuf.DescriptorProto.IReservedRange);
+
+ /** ReservedRange start. */
+ public start: number;
+
+ /** ReservedRange end. */
+ public end: number;
+
+ /**
+ * Creates a new ReservedRange instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ReservedRange instance
+ */
+ public static create(properties?: google.protobuf.DescriptorProto.IReservedRange): google.protobuf.DescriptorProto.ReservedRange;
+
+ /**
+ * Encodes the specified ReservedRange message. Does not implicitly {@link google.protobuf.DescriptorProto.ReservedRange.verify|verify} messages.
+ * @param message ReservedRange message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.protobuf.DescriptorProto.IReservedRange, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ReservedRange message, length delimited. Does not implicitly {@link google.protobuf.DescriptorProto.ReservedRange.verify|verify} messages.
+ * @param message ReservedRange message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.protobuf.DescriptorProto.IReservedRange, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ReservedRange message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ReservedRange
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.DescriptorProto.ReservedRange;
+
+ /**
+ * Decodes a ReservedRange message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ReservedRange
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.DescriptorProto.ReservedRange;
+
+ /**
+ * Verifies a ReservedRange message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a ReservedRange message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ReservedRange
+ */
+ public static fromObject(object: { [k: string]: any }): google.protobuf.DescriptorProto.ReservedRange;
+
+ /**
+ * Creates a plain object from a ReservedRange message. Also converts values to other types if specified.
+ * @param message ReservedRange
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.protobuf.DescriptorProto.ReservedRange, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ReservedRange to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ReservedRange
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+ }
+
+ /** Properties of an ExtensionRangeOptions. */
+ interface IExtensionRangeOptions {
+
+ /** ExtensionRangeOptions uninterpretedOption */
+ uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null);
+ }
+
+ /** Represents an ExtensionRangeOptions. */
+ class ExtensionRangeOptions implements IExtensionRangeOptions {
+
+ /**
+ * Constructs a new ExtensionRangeOptions.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.protobuf.IExtensionRangeOptions);
+
+ /** ExtensionRangeOptions uninterpretedOption. */
+ public uninterpretedOption: google.protobuf.IUninterpretedOption[];
+
+ /**
+ * Creates a new ExtensionRangeOptions instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ExtensionRangeOptions instance
+ */
+ public static create(properties?: google.protobuf.IExtensionRangeOptions): google.protobuf.ExtensionRangeOptions;
+
+ /**
+ * Encodes the specified ExtensionRangeOptions message. Does not implicitly {@link google.protobuf.ExtensionRangeOptions.verify|verify} messages.
+ * @param message ExtensionRangeOptions message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.protobuf.IExtensionRangeOptions, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ExtensionRangeOptions message, length delimited. Does not implicitly {@link google.protobuf.ExtensionRangeOptions.verify|verify} messages.
+ * @param message ExtensionRangeOptions message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.protobuf.IExtensionRangeOptions, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an ExtensionRangeOptions message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ExtensionRangeOptions
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.ExtensionRangeOptions;
+
+ /**
+ * Decodes an ExtensionRangeOptions message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ExtensionRangeOptions
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.ExtensionRangeOptions;
+
+ /**
+ * Verifies an ExtensionRangeOptions message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates an ExtensionRangeOptions message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ExtensionRangeOptions
+ */
+ public static fromObject(object: { [k: string]: any }): google.protobuf.ExtensionRangeOptions;
+
+ /**
+ * Creates a plain object from an ExtensionRangeOptions message. Also converts values to other types if specified.
+ * @param message ExtensionRangeOptions
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.protobuf.ExtensionRangeOptions, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ExtensionRangeOptions to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ExtensionRangeOptions
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a FieldDescriptorProto. */
+ interface IFieldDescriptorProto {
+
+ /** FieldDescriptorProto name */
+ name?: (string|null);
+
+ /** FieldDescriptorProto number */
+ number?: (number|null);
+
+ /** FieldDescriptorProto label */
+ label?: (google.protobuf.FieldDescriptorProto.Label|keyof typeof google.protobuf.FieldDescriptorProto.Label|null);
+
+ /** FieldDescriptorProto type */
+ type?: (google.protobuf.FieldDescriptorProto.Type|keyof typeof google.protobuf.FieldDescriptorProto.Type|null);
+
+ /** FieldDescriptorProto typeName */
+ typeName?: (string|null);
+
+ /** FieldDescriptorProto extendee */
+ extendee?: (string|null);
+
+ /** FieldDescriptorProto defaultValue */
+ defaultValue?: (string|null);
+
+ /** FieldDescriptorProto oneofIndex */
+ oneofIndex?: (number|null);
+
+ /** FieldDescriptorProto jsonName */
+ jsonName?: (string|null);
+
+ /** FieldDescriptorProto options */
+ options?: (google.protobuf.IFieldOptions|null);
+
+ /** FieldDescriptorProto proto3Optional */
+ proto3Optional?: (boolean|null);
+ }
+
+ /** Represents a FieldDescriptorProto. */
+ class FieldDescriptorProto implements IFieldDescriptorProto {
+
+ /**
+ * Constructs a new FieldDescriptorProto.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.protobuf.IFieldDescriptorProto);
+
+ /** FieldDescriptorProto name. */
+ public name: string;
+
+ /** FieldDescriptorProto number. */
+ public number: number;
+
+ /** FieldDescriptorProto label. */
+ public label: (google.protobuf.FieldDescriptorProto.Label|keyof typeof google.protobuf.FieldDescriptorProto.Label);
+
+ /** FieldDescriptorProto type. */
+ public type: (google.protobuf.FieldDescriptorProto.Type|keyof typeof google.protobuf.FieldDescriptorProto.Type);
+
+ /** FieldDescriptorProto typeName. */
+ public typeName: string;
+
+ /** FieldDescriptorProto extendee. */
+ public extendee: string;
+
+ /** FieldDescriptorProto defaultValue. */
+ public defaultValue: string;
+
+ /** FieldDescriptorProto oneofIndex. */
+ public oneofIndex: number;
+
+ /** FieldDescriptorProto jsonName. */
+ public jsonName: string;
+
+ /** FieldDescriptorProto options. */
+ public options?: (google.protobuf.IFieldOptions|null);
+
+ /** FieldDescriptorProto proto3Optional. */
+ public proto3Optional: boolean;
+
+ /**
+ * Creates a new FieldDescriptorProto instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns FieldDescriptorProto instance
+ */
+ public static create(properties?: google.protobuf.IFieldDescriptorProto): google.protobuf.FieldDescriptorProto;
+
+ /**
+ * Encodes the specified FieldDescriptorProto message. Does not implicitly {@link google.protobuf.FieldDescriptorProto.verify|verify} messages.
+ * @param message FieldDescriptorProto message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.protobuf.IFieldDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified FieldDescriptorProto message, length delimited. Does not implicitly {@link google.protobuf.FieldDescriptorProto.verify|verify} messages.
+ * @param message FieldDescriptorProto message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.protobuf.IFieldDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a FieldDescriptorProto message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns FieldDescriptorProto
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.FieldDescriptorProto;
+
+ /**
+ * Decodes a FieldDescriptorProto message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns FieldDescriptorProto
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.FieldDescriptorProto;
+
+ /**
+ * Verifies a FieldDescriptorProto message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a FieldDescriptorProto message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns FieldDescriptorProto
+ */
+ public static fromObject(object: { [k: string]: any }): google.protobuf.FieldDescriptorProto;
+
+ /**
+ * Creates a plain object from a FieldDescriptorProto message. Also converts values to other types if specified.
+ * @param message FieldDescriptorProto
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.protobuf.FieldDescriptorProto, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this FieldDescriptorProto to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for FieldDescriptorProto
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace FieldDescriptorProto {
+
+ /** Type enum. */
+ enum Type {
+ TYPE_DOUBLE = 1,
+ TYPE_FLOAT = 2,
+ TYPE_INT64 = 3,
+ TYPE_UINT64 = 4,
+ TYPE_INT32 = 5,
+ TYPE_FIXED64 = 6,
+ TYPE_FIXED32 = 7,
+ TYPE_BOOL = 8,
+ TYPE_STRING = 9,
+ TYPE_GROUP = 10,
+ TYPE_MESSAGE = 11,
+ TYPE_BYTES = 12,
+ TYPE_UINT32 = 13,
+ TYPE_ENUM = 14,
+ TYPE_SFIXED32 = 15,
+ TYPE_SFIXED64 = 16,
+ TYPE_SINT32 = 17,
+ TYPE_SINT64 = 18
+ }
+
+ /** Label enum. */
+ enum Label {
+ LABEL_OPTIONAL = 1,
+ LABEL_REQUIRED = 2,
+ LABEL_REPEATED = 3
+ }
+ }
+
+ /** Properties of an OneofDescriptorProto. */
+ interface IOneofDescriptorProto {
+
+ /** OneofDescriptorProto name */
+ name?: (string|null);
+
+ /** OneofDescriptorProto options */
+ options?: (google.protobuf.IOneofOptions|null);
+ }
+
+ /** Represents an OneofDescriptorProto. */
+ class OneofDescriptorProto implements IOneofDescriptorProto {
+
+ /**
+ * Constructs a new OneofDescriptorProto.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.protobuf.IOneofDescriptorProto);
+
+ /** OneofDescriptorProto name. */
+ public name: string;
+
+ /** OneofDescriptorProto options. */
+ public options?: (google.protobuf.IOneofOptions|null);
+
+ /**
+ * Creates a new OneofDescriptorProto instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns OneofDescriptorProto instance
+ */
+ public static create(properties?: google.protobuf.IOneofDescriptorProto): google.protobuf.OneofDescriptorProto;
+
+ /**
+ * Encodes the specified OneofDescriptorProto message. Does not implicitly {@link google.protobuf.OneofDescriptorProto.verify|verify} messages.
+ * @param message OneofDescriptorProto message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.protobuf.IOneofDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified OneofDescriptorProto message, length delimited. Does not implicitly {@link google.protobuf.OneofDescriptorProto.verify|verify} messages.
+ * @param message OneofDescriptorProto message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.protobuf.IOneofDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an OneofDescriptorProto message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns OneofDescriptorProto
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.OneofDescriptorProto;
+
+ /**
+ * Decodes an OneofDescriptorProto message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns OneofDescriptorProto
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.OneofDescriptorProto;
+
+ /**
+ * Verifies an OneofDescriptorProto message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates an OneofDescriptorProto message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns OneofDescriptorProto
+ */
+ public static fromObject(object: { [k: string]: any }): google.protobuf.OneofDescriptorProto;
+
+ /**
+ * Creates a plain object from an OneofDescriptorProto message. Also converts values to other types if specified.
+ * @param message OneofDescriptorProto
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.protobuf.OneofDescriptorProto, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this OneofDescriptorProto to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for OneofDescriptorProto
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of an EnumDescriptorProto. */
+ interface IEnumDescriptorProto {
+
+ /** EnumDescriptorProto name */
+ name?: (string|null);
+
+ /** EnumDescriptorProto value */
+ value?: (google.protobuf.IEnumValueDescriptorProto[]|null);
+
+ /** EnumDescriptorProto options */
+ options?: (google.protobuf.IEnumOptions|null);
+
+ /** EnumDescriptorProto reservedRange */
+ reservedRange?: (google.protobuf.EnumDescriptorProto.IEnumReservedRange[]|null);
+
+ /** EnumDescriptorProto reservedName */
+ reservedName?: (string[]|null);
+ }
+
+ /** Represents an EnumDescriptorProto. */
+ class EnumDescriptorProto implements IEnumDescriptorProto {
+
+ /**
+ * Constructs a new EnumDescriptorProto.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.protobuf.IEnumDescriptorProto);
+
+ /** EnumDescriptorProto name. */
+ public name: string;
+
+ /** EnumDescriptorProto value. */
+ public value: google.protobuf.IEnumValueDescriptorProto[];
+
+ /** EnumDescriptorProto options. */
+ public options?: (google.protobuf.IEnumOptions|null);
+
+ /** EnumDescriptorProto reservedRange. */
+ public reservedRange: google.protobuf.EnumDescriptorProto.IEnumReservedRange[];
+
+ /** EnumDescriptorProto reservedName. */
+ public reservedName: string[];
+
+ /**
+ * Creates a new EnumDescriptorProto instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns EnumDescriptorProto instance
+ */
+ public static create(properties?: google.protobuf.IEnumDescriptorProto): google.protobuf.EnumDescriptorProto;
+
+ /**
+ * Encodes the specified EnumDescriptorProto message. Does not implicitly {@link google.protobuf.EnumDescriptorProto.verify|verify} messages.
+ * @param message EnumDescriptorProto message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.protobuf.IEnumDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified EnumDescriptorProto message, length delimited. Does not implicitly {@link google.protobuf.EnumDescriptorProto.verify|verify} messages.
+ * @param message EnumDescriptorProto message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.protobuf.IEnumDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an EnumDescriptorProto message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns EnumDescriptorProto
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.EnumDescriptorProto;
+
+ /**
+ * Decodes an EnumDescriptorProto message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns EnumDescriptorProto
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.EnumDescriptorProto;
+
+ /**
+ * Verifies an EnumDescriptorProto message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates an EnumDescriptorProto message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns EnumDescriptorProto
+ */
+ public static fromObject(object: { [k: string]: any }): google.protobuf.EnumDescriptorProto;
+
+ /**
+ * Creates a plain object from an EnumDescriptorProto message. Also converts values to other types if specified.
+ * @param message EnumDescriptorProto
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.protobuf.EnumDescriptorProto, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this EnumDescriptorProto to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for EnumDescriptorProto
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace EnumDescriptorProto {
+
+ /** Properties of an EnumReservedRange. */
+ interface IEnumReservedRange {
+
+ /** EnumReservedRange start */
+ start?: (number|null);
+
+ /** EnumReservedRange end */
+ end?: (number|null);
+ }
+
+ /** Represents an EnumReservedRange. */
+ class EnumReservedRange implements IEnumReservedRange {
+
+ /**
+ * Constructs a new EnumReservedRange.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.protobuf.EnumDescriptorProto.IEnumReservedRange);
+
+ /** EnumReservedRange start. */
+ public start: number;
+
+ /** EnumReservedRange end. */
+ public end: number;
+
+ /**
+ * Creates a new EnumReservedRange instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns EnumReservedRange instance
+ */
+ public static create(properties?: google.protobuf.EnumDescriptorProto.IEnumReservedRange): google.protobuf.EnumDescriptorProto.EnumReservedRange;
+
+ /**
+ * Encodes the specified EnumReservedRange message. Does not implicitly {@link google.protobuf.EnumDescriptorProto.EnumReservedRange.verify|verify} messages.
+ * @param message EnumReservedRange message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.protobuf.EnumDescriptorProto.IEnumReservedRange, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified EnumReservedRange message, length delimited. Does not implicitly {@link google.protobuf.EnumDescriptorProto.EnumReservedRange.verify|verify} messages.
+ * @param message EnumReservedRange message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.protobuf.EnumDescriptorProto.IEnumReservedRange, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an EnumReservedRange message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns EnumReservedRange
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.EnumDescriptorProto.EnumReservedRange;
+
+ /**
+ * Decodes an EnumReservedRange message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns EnumReservedRange
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.EnumDescriptorProto.EnumReservedRange;
+
+ /**
+ * Verifies an EnumReservedRange message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates an EnumReservedRange message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns EnumReservedRange
+ */
+ public static fromObject(object: { [k: string]: any }): google.protobuf.EnumDescriptorProto.EnumReservedRange;
+
+ /**
+ * Creates a plain object from an EnumReservedRange message. Also converts values to other types if specified.
+ * @param message EnumReservedRange
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.protobuf.EnumDescriptorProto.EnumReservedRange, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this EnumReservedRange to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for EnumReservedRange
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+ }
+
+ /** Properties of an EnumValueDescriptorProto. */
+ interface IEnumValueDescriptorProto {
+
+ /** EnumValueDescriptorProto name */
+ name?: (string|null);
+
+ /** EnumValueDescriptorProto number */
+ number?: (number|null);
+
+ /** EnumValueDescriptorProto options */
+ options?: (google.protobuf.IEnumValueOptions|null);
+ }
+
+ /** Represents an EnumValueDescriptorProto. */
+ class EnumValueDescriptorProto implements IEnumValueDescriptorProto {
+
+ /**
+ * Constructs a new EnumValueDescriptorProto.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.protobuf.IEnumValueDescriptorProto);
+
+ /** EnumValueDescriptorProto name. */
+ public name: string;
+
+ /** EnumValueDescriptorProto number. */
+ public number: number;
+
+ /** EnumValueDescriptorProto options. */
+ public options?: (google.protobuf.IEnumValueOptions|null);
+
+ /**
+ * Creates a new EnumValueDescriptorProto instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns EnumValueDescriptorProto instance
+ */
+ public static create(properties?: google.protobuf.IEnumValueDescriptorProto): google.protobuf.EnumValueDescriptorProto;
+
+ /**
+ * Encodes the specified EnumValueDescriptorProto message. Does not implicitly {@link google.protobuf.EnumValueDescriptorProto.verify|verify} messages.
+ * @param message EnumValueDescriptorProto message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.protobuf.IEnumValueDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified EnumValueDescriptorProto message, length delimited. Does not implicitly {@link google.protobuf.EnumValueDescriptorProto.verify|verify} messages.
+ * @param message EnumValueDescriptorProto message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.protobuf.IEnumValueDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an EnumValueDescriptorProto message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns EnumValueDescriptorProto
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.EnumValueDescriptorProto;
+
+ /**
+ * Decodes an EnumValueDescriptorProto message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns EnumValueDescriptorProto
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.EnumValueDescriptorProto;
+
+ /**
+ * Verifies an EnumValueDescriptorProto message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates an EnumValueDescriptorProto message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns EnumValueDescriptorProto
+ */
+ public static fromObject(object: { [k: string]: any }): google.protobuf.EnumValueDescriptorProto;
+
+ /**
+ * Creates a plain object from an EnumValueDescriptorProto message. Also converts values to other types if specified.
+ * @param message EnumValueDescriptorProto
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.protobuf.EnumValueDescriptorProto, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this EnumValueDescriptorProto to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for EnumValueDescriptorProto
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a ServiceDescriptorProto. */
+ interface IServiceDescriptorProto {
+
+ /** ServiceDescriptorProto name */
+ name?: (string|null);
+
+ /** ServiceDescriptorProto method */
+ method?: (google.protobuf.IMethodDescriptorProto[]|null);
+
+ /** ServiceDescriptorProto options */
+ options?: (google.protobuf.IServiceOptions|null);
+ }
+
+ /** Represents a ServiceDescriptorProto. */
+ class ServiceDescriptorProto implements IServiceDescriptorProto {
+
+ /**
+ * Constructs a new ServiceDescriptorProto.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.protobuf.IServiceDescriptorProto);
+
+ /** ServiceDescriptorProto name. */
+ public name: string;
+
+ /** ServiceDescriptorProto method. */
+ public method: google.protobuf.IMethodDescriptorProto[];
+
+ /** ServiceDescriptorProto options. */
+ public options?: (google.protobuf.IServiceOptions|null);
+
+ /**
+ * Creates a new ServiceDescriptorProto instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ServiceDescriptorProto instance
+ */
+ public static create(properties?: google.protobuf.IServiceDescriptorProto): google.protobuf.ServiceDescriptorProto;
+
+ /**
+ * Encodes the specified ServiceDescriptorProto message. Does not implicitly {@link google.protobuf.ServiceDescriptorProto.verify|verify} messages.
+ * @param message ServiceDescriptorProto message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.protobuf.IServiceDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ServiceDescriptorProto message, length delimited. Does not implicitly {@link google.protobuf.ServiceDescriptorProto.verify|verify} messages.
+ * @param message ServiceDescriptorProto message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.protobuf.IServiceDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ServiceDescriptorProto message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ServiceDescriptorProto
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.ServiceDescriptorProto;
+
+ /**
+ * Decodes a ServiceDescriptorProto message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ServiceDescriptorProto
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.ServiceDescriptorProto;
+
+ /**
+ * Verifies a ServiceDescriptorProto message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a ServiceDescriptorProto message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ServiceDescriptorProto
+ */
+ public static fromObject(object: { [k: string]: any }): google.protobuf.ServiceDescriptorProto;
+
+ /**
+ * Creates a plain object from a ServiceDescriptorProto message. Also converts values to other types if specified.
+ * @param message ServiceDescriptorProto
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.protobuf.ServiceDescriptorProto, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ServiceDescriptorProto to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ServiceDescriptorProto
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a MethodDescriptorProto. */
+ interface IMethodDescriptorProto {
+
+ /** MethodDescriptorProto name */
+ name?: (string|null);
+
+ /** MethodDescriptorProto inputType */
+ inputType?: (string|null);
+
+ /** MethodDescriptorProto outputType */
+ outputType?: (string|null);
+
+ /** MethodDescriptorProto options */
+ options?: (google.protobuf.IMethodOptions|null);
+
+ /** MethodDescriptorProto clientStreaming */
+ clientStreaming?: (boolean|null);
+
+ /** MethodDescriptorProto serverStreaming */
+ serverStreaming?: (boolean|null);
+ }
+
+ /** Represents a MethodDescriptorProto. */
+ class MethodDescriptorProto implements IMethodDescriptorProto {
+
+ /**
+ * Constructs a new MethodDescriptorProto.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.protobuf.IMethodDescriptorProto);
+
+ /** MethodDescriptorProto name. */
+ public name: string;
+
+ /** MethodDescriptorProto inputType. */
+ public inputType: string;
+
+ /** MethodDescriptorProto outputType. */
+ public outputType: string;
+
+ /** MethodDescriptorProto options. */
+ public options?: (google.protobuf.IMethodOptions|null);
+
+ /** MethodDescriptorProto clientStreaming. */
+ public clientStreaming: boolean;
+
+ /** MethodDescriptorProto serverStreaming. */
+ public serverStreaming: boolean;
+
+ /**
+ * Creates a new MethodDescriptorProto instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns MethodDescriptorProto instance
+ */
+ public static create(properties?: google.protobuf.IMethodDescriptorProto): google.protobuf.MethodDescriptorProto;
+
+ /**
+ * Encodes the specified MethodDescriptorProto message. Does not implicitly {@link google.protobuf.MethodDescriptorProto.verify|verify} messages.
+ * @param message MethodDescriptorProto message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.protobuf.IMethodDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified MethodDescriptorProto message, length delimited. Does not implicitly {@link google.protobuf.MethodDescriptorProto.verify|verify} messages.
+ * @param message MethodDescriptorProto message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.protobuf.IMethodDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a MethodDescriptorProto message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns MethodDescriptorProto
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.MethodDescriptorProto;
+
+ /**
+ * Decodes a MethodDescriptorProto message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns MethodDescriptorProto
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.MethodDescriptorProto;
+
+ /**
+ * Verifies a MethodDescriptorProto message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a MethodDescriptorProto message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns MethodDescriptorProto
+ */
+ public static fromObject(object: { [k: string]: any }): google.protobuf.MethodDescriptorProto;
+
+ /**
+ * Creates a plain object from a MethodDescriptorProto message. Also converts values to other types if specified.
+ * @param message MethodDescriptorProto
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.protobuf.MethodDescriptorProto, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this MethodDescriptorProto to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for MethodDescriptorProto
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a FileOptions. */
+ interface IFileOptions {
+
+ /** FileOptions javaPackage */
+ javaPackage?: (string|null);
+
+ /** FileOptions javaOuterClassname */
+ javaOuterClassname?: (string|null);
+
+ /** FileOptions javaMultipleFiles */
+ javaMultipleFiles?: (boolean|null);
+
+ /** FileOptions javaGenerateEqualsAndHash */
+ javaGenerateEqualsAndHash?: (boolean|null);
+
+ /** FileOptions javaStringCheckUtf8 */
+ javaStringCheckUtf8?: (boolean|null);
+
+ /** FileOptions optimizeFor */
+ optimizeFor?: (google.protobuf.FileOptions.OptimizeMode|keyof typeof google.protobuf.FileOptions.OptimizeMode|null);
+
+ /** FileOptions goPackage */
+ goPackage?: (string|null);
+
+ /** FileOptions ccGenericServices */
+ ccGenericServices?: (boolean|null);
+
+ /** FileOptions javaGenericServices */
+ javaGenericServices?: (boolean|null);
+
+ /** FileOptions pyGenericServices */
+ pyGenericServices?: (boolean|null);
+
+ /** FileOptions phpGenericServices */
+ phpGenericServices?: (boolean|null);
+
+ /** FileOptions deprecated */
+ deprecated?: (boolean|null);
+
+ /** FileOptions ccEnableArenas */
+ ccEnableArenas?: (boolean|null);
+
+ /** FileOptions objcClassPrefix */
+ objcClassPrefix?: (string|null);
+
+ /** FileOptions csharpNamespace */
+ csharpNamespace?: (string|null);
+
+ /** FileOptions swiftPrefix */
+ swiftPrefix?: (string|null);
+
+ /** FileOptions phpClassPrefix */
+ phpClassPrefix?: (string|null);
+
+ /** FileOptions phpNamespace */
+ phpNamespace?: (string|null);
+
+ /** FileOptions phpMetadataNamespace */
+ phpMetadataNamespace?: (string|null);
+
+ /** FileOptions rubyPackage */
+ rubyPackage?: (string|null);
+
+ /** FileOptions uninterpretedOption */
+ uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null);
+
+ /** FileOptions .google.api.resourceDefinition */
+ ".google.api.resourceDefinition"?: (google.api.IResourceDescriptor[]|null);
+ }
+
+ /** Represents a FileOptions. */
+ class FileOptions implements IFileOptions {
+
+ /**
+ * Constructs a new FileOptions.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.protobuf.IFileOptions);
+
+ /** FileOptions javaPackage. */
+ public javaPackage: string;
+
+ /** FileOptions javaOuterClassname. */
+ public javaOuterClassname: string;
+
+ /** FileOptions javaMultipleFiles. */
+ public javaMultipleFiles: boolean;
+
+ /** FileOptions javaGenerateEqualsAndHash. */
+ public javaGenerateEqualsAndHash: boolean;
+
+ /** FileOptions javaStringCheckUtf8. */
+ public javaStringCheckUtf8: boolean;
+
+ /** FileOptions optimizeFor. */
+ public optimizeFor: (google.protobuf.FileOptions.OptimizeMode|keyof typeof google.protobuf.FileOptions.OptimizeMode);
+
+ /** FileOptions goPackage. */
+ public goPackage: string;
+
+ /** FileOptions ccGenericServices. */
+ public ccGenericServices: boolean;
+
+ /** FileOptions javaGenericServices. */
+ public javaGenericServices: boolean;
+
+ /** FileOptions pyGenericServices. */
+ public pyGenericServices: boolean;
+
+ /** FileOptions phpGenericServices. */
+ public phpGenericServices: boolean;
+
+ /** FileOptions deprecated. */
+ public deprecated: boolean;
+
+ /** FileOptions ccEnableArenas. */
+ public ccEnableArenas: boolean;
+
+ /** FileOptions objcClassPrefix. */
+ public objcClassPrefix: string;
+
+ /** FileOptions csharpNamespace. */
+ public csharpNamespace: string;
+
+ /** FileOptions swiftPrefix. */
+ public swiftPrefix: string;
+
+ /** FileOptions phpClassPrefix. */
+ public phpClassPrefix: string;
+
+ /** FileOptions phpNamespace. */
+ public phpNamespace: string;
+
+ /** FileOptions phpMetadataNamespace. */
+ public phpMetadataNamespace: string;
+
+ /** FileOptions rubyPackage. */
+ public rubyPackage: string;
+
+ /** FileOptions uninterpretedOption. */
+ public uninterpretedOption: google.protobuf.IUninterpretedOption[];
+
+ /**
+ * Creates a new FileOptions instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns FileOptions instance
+ */
+ public static create(properties?: google.protobuf.IFileOptions): google.protobuf.FileOptions;
+
+ /**
+ * Encodes the specified FileOptions message. Does not implicitly {@link google.protobuf.FileOptions.verify|verify} messages.
+ * @param message FileOptions message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.protobuf.IFileOptions, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified FileOptions message, length delimited. Does not implicitly {@link google.protobuf.FileOptions.verify|verify} messages.
+ * @param message FileOptions message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.protobuf.IFileOptions, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a FileOptions message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns FileOptions
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.FileOptions;
+
+ /**
+ * Decodes a FileOptions message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns FileOptions
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.FileOptions;
+
+ /**
+ * Verifies a FileOptions message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a FileOptions message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns FileOptions
+ */
+ public static fromObject(object: { [k: string]: any }): google.protobuf.FileOptions;
+
+ /**
+ * Creates a plain object from a FileOptions message. Also converts values to other types if specified.
+ * @param message FileOptions
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.protobuf.FileOptions, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this FileOptions to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for FileOptions
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace FileOptions {
+
+ /** OptimizeMode enum. */
+ enum OptimizeMode {
+ SPEED = 1,
+ CODE_SIZE = 2,
+ LITE_RUNTIME = 3
+ }
+ }
+
+ /** Properties of a MessageOptions. */
+ interface IMessageOptions {
+
+ /** MessageOptions messageSetWireFormat */
+ messageSetWireFormat?: (boolean|null);
+
+ /** MessageOptions noStandardDescriptorAccessor */
+ noStandardDescriptorAccessor?: (boolean|null);
+
+ /** MessageOptions deprecated */
+ deprecated?: (boolean|null);
+
+ /** MessageOptions mapEntry */
+ mapEntry?: (boolean|null);
+
+ /** MessageOptions uninterpretedOption */
+ uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null);
+
+ /** MessageOptions .google.api.resource */
+ ".google.api.resource"?: (google.api.IResourceDescriptor|null);
+ }
+
+ /** Represents a MessageOptions. */
+ class MessageOptions implements IMessageOptions {
+
+ /**
+ * Constructs a new MessageOptions.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.protobuf.IMessageOptions);
+
+ /** MessageOptions messageSetWireFormat. */
+ public messageSetWireFormat: boolean;
+
+ /** MessageOptions noStandardDescriptorAccessor. */
+ public noStandardDescriptorAccessor: boolean;
+
+ /** MessageOptions deprecated. */
+ public deprecated: boolean;
+
+ /** MessageOptions mapEntry. */
+ public mapEntry: boolean;
+
+ /** MessageOptions uninterpretedOption. */
+ public uninterpretedOption: google.protobuf.IUninterpretedOption[];
+
+ /**
+ * Creates a new MessageOptions instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns MessageOptions instance
+ */
+ public static create(properties?: google.protobuf.IMessageOptions): google.protobuf.MessageOptions;
+
+ /**
+ * Encodes the specified MessageOptions message. Does not implicitly {@link google.protobuf.MessageOptions.verify|verify} messages.
+ * @param message MessageOptions message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.protobuf.IMessageOptions, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified MessageOptions message, length delimited. Does not implicitly {@link google.protobuf.MessageOptions.verify|verify} messages.
+ * @param message MessageOptions message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.protobuf.IMessageOptions, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a MessageOptions message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns MessageOptions
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.MessageOptions;
+
+ /**
+ * Decodes a MessageOptions message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns MessageOptions
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.MessageOptions;
+
+ /**
+ * Verifies a MessageOptions message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a MessageOptions message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns MessageOptions
+ */
+ public static fromObject(object: { [k: string]: any }): google.protobuf.MessageOptions;
+
+ /**
+ * Creates a plain object from a MessageOptions message. Also converts values to other types if specified.
+ * @param message MessageOptions
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.protobuf.MessageOptions, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this MessageOptions to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for MessageOptions
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a FieldOptions. */
+ interface IFieldOptions {
+
+ /** FieldOptions ctype */
+ ctype?: (google.protobuf.FieldOptions.CType|keyof typeof google.protobuf.FieldOptions.CType|null);
+
+ /** FieldOptions packed */
+ packed?: (boolean|null);
+
+ /** FieldOptions jstype */
+ jstype?: (google.protobuf.FieldOptions.JSType|keyof typeof google.protobuf.FieldOptions.JSType|null);
+
+ /** FieldOptions lazy */
+ lazy?: (boolean|null);
+
+ /** FieldOptions unverifiedLazy */
+ unverifiedLazy?: (boolean|null);
+
+ /** FieldOptions deprecated */
+ deprecated?: (boolean|null);
+
+ /** FieldOptions weak */
+ weak?: (boolean|null);
+
+ /** FieldOptions uninterpretedOption */
+ uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null);
+
+ /** FieldOptions .google.api.fieldBehavior */
+ ".google.api.fieldBehavior"?: (google.api.FieldBehavior[]|null);
+
+ /** FieldOptions .google.api.resourceReference */
+ ".google.api.resourceReference"?: (google.api.IResourceReference|null);
+ }
+
+ /** Represents a FieldOptions. */
+ class FieldOptions implements IFieldOptions {
+
+ /**
+ * Constructs a new FieldOptions.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.protobuf.IFieldOptions);
+
+ /** FieldOptions ctype. */
+ public ctype: (google.protobuf.FieldOptions.CType|keyof typeof google.protobuf.FieldOptions.CType);
+
+ /** FieldOptions packed. */
+ public packed: boolean;
+
+ /** FieldOptions jstype. */
+ public jstype: (google.protobuf.FieldOptions.JSType|keyof typeof google.protobuf.FieldOptions.JSType);
+
+ /** FieldOptions lazy. */
+ public lazy: boolean;
+
+ /** FieldOptions unverifiedLazy. */
+ public unverifiedLazy: boolean;
+
+ /** FieldOptions deprecated. */
+ public deprecated: boolean;
+
+ /** FieldOptions weak. */
+ public weak: boolean;
+
+ /** FieldOptions uninterpretedOption. */
+ public uninterpretedOption: google.protobuf.IUninterpretedOption[];
+
+ /**
+ * Creates a new FieldOptions instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns FieldOptions instance
+ */
+ public static create(properties?: google.protobuf.IFieldOptions): google.protobuf.FieldOptions;
+
+ /**
+ * Encodes the specified FieldOptions message. Does not implicitly {@link google.protobuf.FieldOptions.verify|verify} messages.
+ * @param message FieldOptions message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.protobuf.IFieldOptions, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified FieldOptions message, length delimited. Does not implicitly {@link google.protobuf.FieldOptions.verify|verify} messages.
+ * @param message FieldOptions message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.protobuf.IFieldOptions, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a FieldOptions message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns FieldOptions
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.FieldOptions;
+
+ /**
+ * Decodes a FieldOptions message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns FieldOptions
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.FieldOptions;
+
+ /**
+ * Verifies a FieldOptions message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a FieldOptions message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns FieldOptions
+ */
+ public static fromObject(object: { [k: string]: any }): google.protobuf.FieldOptions;
+
+ /**
+ * Creates a plain object from a FieldOptions message. Also converts values to other types if specified.
+ * @param message FieldOptions
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.protobuf.FieldOptions, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this FieldOptions to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for FieldOptions
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace FieldOptions {
+
+ /** CType enum. */
+ enum CType {
+ STRING = 0,
+ CORD = 1,
+ STRING_PIECE = 2
+ }
+
+ /** JSType enum. */
+ enum JSType {
+ JS_NORMAL = 0,
+ JS_STRING = 1,
+ JS_NUMBER = 2
+ }
+ }
+
+ /** Properties of an OneofOptions. */
+ interface IOneofOptions {
+
+ /** OneofOptions uninterpretedOption */
+ uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null);
+ }
+
+ /** Represents an OneofOptions. */
+ class OneofOptions implements IOneofOptions {
+
+ /**
+ * Constructs a new OneofOptions.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.protobuf.IOneofOptions);
+
+ /** OneofOptions uninterpretedOption. */
+ public uninterpretedOption: google.protobuf.IUninterpretedOption[];
+
+ /**
+ * Creates a new OneofOptions instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns OneofOptions instance
+ */
+ public static create(properties?: google.protobuf.IOneofOptions): google.protobuf.OneofOptions;
+
+ /**
+ * Encodes the specified OneofOptions message. Does not implicitly {@link google.protobuf.OneofOptions.verify|verify} messages.
+ * @param message OneofOptions message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.protobuf.IOneofOptions, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified OneofOptions message, length delimited. Does not implicitly {@link google.protobuf.OneofOptions.verify|verify} messages.
+ * @param message OneofOptions message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.protobuf.IOneofOptions, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an OneofOptions message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns OneofOptions
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.OneofOptions;
+
+ /**
+ * Decodes an OneofOptions message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns OneofOptions
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.OneofOptions;
+
+ /**
+ * Verifies an OneofOptions message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates an OneofOptions message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns OneofOptions
+ */
+ public static fromObject(object: { [k: string]: any }): google.protobuf.OneofOptions;
+
+ /**
+ * Creates a plain object from an OneofOptions message. Also converts values to other types if specified.
+ * @param message OneofOptions
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.protobuf.OneofOptions, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this OneofOptions to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for OneofOptions
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of an EnumOptions. */
+ interface IEnumOptions {
+
+ /** EnumOptions allowAlias */
+ allowAlias?: (boolean|null);
+
+ /** EnumOptions deprecated */
+ deprecated?: (boolean|null);
+
+ /** EnumOptions uninterpretedOption */
+ uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null);
+ }
+
+ /** Represents an EnumOptions. */
+ class EnumOptions implements IEnumOptions {
+
+ /**
+ * Constructs a new EnumOptions.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.protobuf.IEnumOptions);
+
+ /** EnumOptions allowAlias. */
+ public allowAlias: boolean;
+
+ /** EnumOptions deprecated. */
+ public deprecated: boolean;
+
+ /** EnumOptions uninterpretedOption. */
+ public uninterpretedOption: google.protobuf.IUninterpretedOption[];
+
+ /**
+ * Creates a new EnumOptions instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns EnumOptions instance
+ */
+ public static create(properties?: google.protobuf.IEnumOptions): google.protobuf.EnumOptions;
+
+ /**
+ * Encodes the specified EnumOptions message. Does not implicitly {@link google.protobuf.EnumOptions.verify|verify} messages.
+ * @param message EnumOptions message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.protobuf.IEnumOptions, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified EnumOptions message, length delimited. Does not implicitly {@link google.protobuf.EnumOptions.verify|verify} messages.
+ * @param message EnumOptions message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.protobuf.IEnumOptions, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an EnumOptions message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns EnumOptions
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.EnumOptions;
+
+ /**
+ * Decodes an EnumOptions message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns EnumOptions
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.EnumOptions;
+
+ /**
+ * Verifies an EnumOptions message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates an EnumOptions message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns EnumOptions
+ */
+ public static fromObject(object: { [k: string]: any }): google.protobuf.EnumOptions;
+
+ /**
+ * Creates a plain object from an EnumOptions message. Also converts values to other types if specified.
+ * @param message EnumOptions
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.protobuf.EnumOptions, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this EnumOptions to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for EnumOptions
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of an EnumValueOptions. */
+ interface IEnumValueOptions {
+
+ /** EnumValueOptions deprecated */
+ deprecated?: (boolean|null);
+
+ /** EnumValueOptions uninterpretedOption */
+ uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null);
+ }
+
+ /** Represents an EnumValueOptions. */
+ class EnumValueOptions implements IEnumValueOptions {
+
+ /**
+ * Constructs a new EnumValueOptions.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.protobuf.IEnumValueOptions);
+
+ /** EnumValueOptions deprecated. */
+ public deprecated: boolean;
+
+ /** EnumValueOptions uninterpretedOption. */
+ public uninterpretedOption: google.protobuf.IUninterpretedOption[];
+
+ /**
+ * Creates a new EnumValueOptions instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns EnumValueOptions instance
+ */
+ public static create(properties?: google.protobuf.IEnumValueOptions): google.protobuf.EnumValueOptions;
+
+ /**
+ * Encodes the specified EnumValueOptions message. Does not implicitly {@link google.protobuf.EnumValueOptions.verify|verify} messages.
+ * @param message EnumValueOptions message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.protobuf.IEnumValueOptions, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified EnumValueOptions message, length delimited. Does not implicitly {@link google.protobuf.EnumValueOptions.verify|verify} messages.
+ * @param message EnumValueOptions message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.protobuf.IEnumValueOptions, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an EnumValueOptions message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns EnumValueOptions
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.EnumValueOptions;
+
+ /**
+ * Decodes an EnumValueOptions message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns EnumValueOptions
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.EnumValueOptions;
+
+ /**
+ * Verifies an EnumValueOptions message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates an EnumValueOptions message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns EnumValueOptions
+ */
+ public static fromObject(object: { [k: string]: any }): google.protobuf.EnumValueOptions;
+
+ /**
+ * Creates a plain object from an EnumValueOptions message. Also converts values to other types if specified.
+ * @param message EnumValueOptions
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.protobuf.EnumValueOptions, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this EnumValueOptions to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for EnumValueOptions
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a ServiceOptions. */
+ interface IServiceOptions {
+
+ /** ServiceOptions deprecated */
+ deprecated?: (boolean|null);
+
+ /** ServiceOptions uninterpretedOption */
+ uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null);
+
+ /** ServiceOptions .google.api.defaultHost */
+ ".google.api.defaultHost"?: (string|null);
+
+ /** ServiceOptions .google.api.oauthScopes */
+ ".google.api.oauthScopes"?: (string|null);
+ }
+
+ /** Represents a ServiceOptions. */
+ class ServiceOptions implements IServiceOptions {
+
+ /**
+ * Constructs a new ServiceOptions.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.protobuf.IServiceOptions);
+
+ /** ServiceOptions deprecated. */
+ public deprecated: boolean;
+
+ /** ServiceOptions uninterpretedOption. */
+ public uninterpretedOption: google.protobuf.IUninterpretedOption[];
+
+ /**
+ * Creates a new ServiceOptions instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ServiceOptions instance
+ */
+ public static create(properties?: google.protobuf.IServiceOptions): google.protobuf.ServiceOptions;
+
+ /**
+ * Encodes the specified ServiceOptions message. Does not implicitly {@link google.protobuf.ServiceOptions.verify|verify} messages.
+ * @param message ServiceOptions message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.protobuf.IServiceOptions, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ServiceOptions message, length delimited. Does not implicitly {@link google.protobuf.ServiceOptions.verify|verify} messages.
+ * @param message ServiceOptions message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.protobuf.IServiceOptions, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ServiceOptions message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ServiceOptions
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.ServiceOptions;
+
+ /**
+ * Decodes a ServiceOptions message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ServiceOptions
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.ServiceOptions;
+
+ /**
+ * Verifies a ServiceOptions message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a ServiceOptions message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ServiceOptions
+ */
+ public static fromObject(object: { [k: string]: any }): google.protobuf.ServiceOptions;
+
+ /**
+ * Creates a plain object from a ServiceOptions message. Also converts values to other types if specified.
+ * @param message ServiceOptions
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.protobuf.ServiceOptions, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ServiceOptions to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ServiceOptions
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a MethodOptions. */
+ interface IMethodOptions {
+
+ /** MethodOptions deprecated */
+ deprecated?: (boolean|null);
+
+ /** MethodOptions idempotencyLevel */
+ idempotencyLevel?: (google.protobuf.MethodOptions.IdempotencyLevel|keyof typeof google.protobuf.MethodOptions.IdempotencyLevel|null);
+
+ /** MethodOptions uninterpretedOption */
+ uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null);
+
+ /** MethodOptions .google.api.http */
+ ".google.api.http"?: (google.api.IHttpRule|null);
+
+ /** MethodOptions .google.api.methodSignature */
+ ".google.api.methodSignature"?: (string[]|null);
+ }
+
+ /** Represents a MethodOptions. */
+ class MethodOptions implements IMethodOptions {
+
+ /**
+ * Constructs a new MethodOptions.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.protobuf.IMethodOptions);
+
+ /** MethodOptions deprecated. */
+ public deprecated: boolean;
+
+ /** MethodOptions idempotencyLevel. */
+ public idempotencyLevel: (google.protobuf.MethodOptions.IdempotencyLevel|keyof typeof google.protobuf.MethodOptions.IdempotencyLevel);
+
+ /** MethodOptions uninterpretedOption. */
+ public uninterpretedOption: google.protobuf.IUninterpretedOption[];
+
+ /**
+ * Creates a new MethodOptions instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns MethodOptions instance
+ */
+ public static create(properties?: google.protobuf.IMethodOptions): google.protobuf.MethodOptions;
+
+ /**
+ * Encodes the specified MethodOptions message. Does not implicitly {@link google.protobuf.MethodOptions.verify|verify} messages.
+ * @param message MethodOptions message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.protobuf.IMethodOptions, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified MethodOptions message, length delimited. Does not implicitly {@link google.protobuf.MethodOptions.verify|verify} messages.
+ * @param message MethodOptions message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.protobuf.IMethodOptions, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a MethodOptions message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns MethodOptions
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.MethodOptions;
+
+ /**
+ * Decodes a MethodOptions message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns MethodOptions
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.MethodOptions;
+
+ /**
+ * Verifies a MethodOptions message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a MethodOptions message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns MethodOptions
+ */
+ public static fromObject(object: { [k: string]: any }): google.protobuf.MethodOptions;
+
+ /**
+ * Creates a plain object from a MethodOptions message. Also converts values to other types if specified.
+ * @param message MethodOptions
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.protobuf.MethodOptions, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this MethodOptions to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for MethodOptions
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace MethodOptions {
+
+ /** IdempotencyLevel enum. */
+ enum IdempotencyLevel {
+ IDEMPOTENCY_UNKNOWN = 0,
+ NO_SIDE_EFFECTS = 1,
+ IDEMPOTENT = 2
+ }
+ }
+
+ /** Properties of an UninterpretedOption. */
+ interface IUninterpretedOption {
+
+ /** UninterpretedOption name */
+ name?: (google.protobuf.UninterpretedOption.INamePart[]|null);
+
+ /** UninterpretedOption identifierValue */
+ identifierValue?: (string|null);
+
+ /** UninterpretedOption positiveIntValue */
+ positiveIntValue?: (number|Long|string|null);
+
+ /** UninterpretedOption negativeIntValue */
+ negativeIntValue?: (number|Long|string|null);
+
+ /** UninterpretedOption doubleValue */
+ doubleValue?: (number|null);
+
+ /** UninterpretedOption stringValue */
+ stringValue?: (Uint8Array|string|null);
+
+ /** UninterpretedOption aggregateValue */
+ aggregateValue?: (string|null);
+ }
+
+ /** Represents an UninterpretedOption. */
+ class UninterpretedOption implements IUninterpretedOption {
+
+ /**
+ * Constructs a new UninterpretedOption.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.protobuf.IUninterpretedOption);
+
+ /** UninterpretedOption name. */
+ public name: google.protobuf.UninterpretedOption.INamePart[];
+
+ /** UninterpretedOption identifierValue. */
+ public identifierValue: string;
+
+ /** UninterpretedOption positiveIntValue. */
+ public positiveIntValue: (number|Long|string);
+
+ /** UninterpretedOption negativeIntValue. */
+ public negativeIntValue: (number|Long|string);
+
+ /** UninterpretedOption doubleValue. */
+ public doubleValue: number;
+
+ /** UninterpretedOption stringValue. */
+ public stringValue: (Uint8Array|string);
+
+ /** UninterpretedOption aggregateValue. */
+ public aggregateValue: string;
+
+ /**
+ * Creates a new UninterpretedOption instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns UninterpretedOption instance
+ */
+ public static create(properties?: google.protobuf.IUninterpretedOption): google.protobuf.UninterpretedOption;
+
+ /**
+ * Encodes the specified UninterpretedOption message. Does not implicitly {@link google.protobuf.UninterpretedOption.verify|verify} messages.
+ * @param message UninterpretedOption message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.protobuf.IUninterpretedOption, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified UninterpretedOption message, length delimited. Does not implicitly {@link google.protobuf.UninterpretedOption.verify|verify} messages.
+ * @param message UninterpretedOption message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.protobuf.IUninterpretedOption, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an UninterpretedOption message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns UninterpretedOption
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.UninterpretedOption;
+
+ /**
+ * Decodes an UninterpretedOption message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns UninterpretedOption
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.UninterpretedOption;
+
+ /**
+ * Verifies an UninterpretedOption message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates an UninterpretedOption message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns UninterpretedOption
+ */
+ public static fromObject(object: { [k: string]: any }): google.protobuf.UninterpretedOption;
+
+ /**
+ * Creates a plain object from an UninterpretedOption message. Also converts values to other types if specified.
+ * @param message UninterpretedOption
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.protobuf.UninterpretedOption, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this UninterpretedOption to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for UninterpretedOption
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace UninterpretedOption {
+
+ /** Properties of a NamePart. */
+ interface INamePart {
+
+ /** NamePart namePart */
+ namePart: string;
+
+ /** NamePart isExtension */
+ isExtension: boolean;
+ }
+
+ /** Represents a NamePart. */
+ class NamePart implements INamePart {
+
+ /**
+ * Constructs a new NamePart.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.protobuf.UninterpretedOption.INamePart);
+
+ /** NamePart namePart. */
+ public namePart: string;
+
+ /** NamePart isExtension. */
+ public isExtension: boolean;
+
+ /**
+ * Creates a new NamePart instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns NamePart instance
+ */
+ public static create(properties?: google.protobuf.UninterpretedOption.INamePart): google.protobuf.UninterpretedOption.NamePart;
+
+ /**
+ * Encodes the specified NamePart message. Does not implicitly {@link google.protobuf.UninterpretedOption.NamePart.verify|verify} messages.
+ * @param message NamePart message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.protobuf.UninterpretedOption.INamePart, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified NamePart message, length delimited. Does not implicitly {@link google.protobuf.UninterpretedOption.NamePart.verify|verify} messages.
+ * @param message NamePart message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.protobuf.UninterpretedOption.INamePart, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a NamePart message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns NamePart
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.UninterpretedOption.NamePart;
+
+ /**
+ * Decodes a NamePart message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns NamePart
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.UninterpretedOption.NamePart;
+
+ /**
+ * Verifies a NamePart message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a NamePart message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns NamePart
+ */
+ public static fromObject(object: { [k: string]: any }): google.protobuf.UninterpretedOption.NamePart;
+
+ /**
+ * Creates a plain object from a NamePart message. Also converts values to other types if specified.
+ * @param message NamePart
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.protobuf.UninterpretedOption.NamePart, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this NamePart to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for NamePart
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+ }
+
+ /** Properties of a SourceCodeInfo. */
+ interface ISourceCodeInfo {
+
+ /** SourceCodeInfo location */
+ location?: (google.protobuf.SourceCodeInfo.ILocation[]|null);
+ }
+
+ /** Represents a SourceCodeInfo. */
+ class SourceCodeInfo implements ISourceCodeInfo {
+
+ /**
+ * Constructs a new SourceCodeInfo.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.protobuf.ISourceCodeInfo);
+
+ /** SourceCodeInfo location. */
+ public location: google.protobuf.SourceCodeInfo.ILocation[];
+
+ /**
+ * Creates a new SourceCodeInfo instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns SourceCodeInfo instance
+ */
+ public static create(properties?: google.protobuf.ISourceCodeInfo): google.protobuf.SourceCodeInfo;
+
+ /**
+ * Encodes the specified SourceCodeInfo message. Does not implicitly {@link google.protobuf.SourceCodeInfo.verify|verify} messages.
+ * @param message SourceCodeInfo message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.protobuf.ISourceCodeInfo, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified SourceCodeInfo message, length delimited. Does not implicitly {@link google.protobuf.SourceCodeInfo.verify|verify} messages.
+ * @param message SourceCodeInfo message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.protobuf.ISourceCodeInfo, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a SourceCodeInfo message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns SourceCodeInfo
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.SourceCodeInfo;
+
+ /**
+ * Decodes a SourceCodeInfo message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns SourceCodeInfo
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.SourceCodeInfo;
+
+ /**
+ * Verifies a SourceCodeInfo message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a SourceCodeInfo message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns SourceCodeInfo
+ */
+ public static fromObject(object: { [k: string]: any }): google.protobuf.SourceCodeInfo;
+
+ /**
+ * Creates a plain object from a SourceCodeInfo message. Also converts values to other types if specified.
+ * @param message SourceCodeInfo
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.protobuf.SourceCodeInfo, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this SourceCodeInfo to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for SourceCodeInfo
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace SourceCodeInfo {
+
+ /** Properties of a Location. */
+ interface ILocation {
+
+ /** Location path */
+ path?: (number[]|null);
+
+ /** Location span */
+ span?: (number[]|null);
+
+ /** Location leadingComments */
+ leadingComments?: (string|null);
+
+ /** Location trailingComments */
+ trailingComments?: (string|null);
+
+ /** Location leadingDetachedComments */
+ leadingDetachedComments?: (string[]|null);
+ }
+
+ /** Represents a Location. */
+ class Location implements ILocation {
+
+ /**
+ * Constructs a new Location.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.protobuf.SourceCodeInfo.ILocation);
+
+ /** Location path. */
+ public path: number[];
+
+ /** Location span. */
+ public span: number[];
+
+ /** Location leadingComments. */
+ public leadingComments: string;
+
+ /** Location trailingComments. */
+ public trailingComments: string;
+
+ /** Location leadingDetachedComments. */
+ public leadingDetachedComments: string[];
+
+ /**
+ * Creates a new Location instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns Location instance
+ */
+ public static create(properties?: google.protobuf.SourceCodeInfo.ILocation): google.protobuf.SourceCodeInfo.Location;
+
+ /**
+ * Encodes the specified Location message. Does not implicitly {@link google.protobuf.SourceCodeInfo.Location.verify|verify} messages.
+ * @param message Location message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.protobuf.SourceCodeInfo.ILocation, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified Location message, length delimited. Does not implicitly {@link google.protobuf.SourceCodeInfo.Location.verify|verify} messages.
+ * @param message Location message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.protobuf.SourceCodeInfo.ILocation, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a Location message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns Location
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.SourceCodeInfo.Location;
+
+ /**
+ * Decodes a Location message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns Location
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.SourceCodeInfo.Location;
+
+ /**
+ * Verifies a Location message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a Location message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns Location
+ */
+ public static fromObject(object: { [k: string]: any }): google.protobuf.SourceCodeInfo.Location;
+
+ /**
+ * Creates a plain object from a Location message. Also converts values to other types if specified.
+ * @param message Location
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.protobuf.SourceCodeInfo.Location, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this Location to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for Location
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+ }
+
+ /** Properties of a GeneratedCodeInfo. */
+ interface IGeneratedCodeInfo {
+
+ /** GeneratedCodeInfo annotation */
+ annotation?: (google.protobuf.GeneratedCodeInfo.IAnnotation[]|null);
+ }
+
+ /** Represents a GeneratedCodeInfo. */
+ class GeneratedCodeInfo implements IGeneratedCodeInfo {
+
+ /**
+ * Constructs a new GeneratedCodeInfo.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.protobuf.IGeneratedCodeInfo);
+
+ /** GeneratedCodeInfo annotation. */
+ public annotation: google.protobuf.GeneratedCodeInfo.IAnnotation[];
+
+ /**
+ * Creates a new GeneratedCodeInfo instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns GeneratedCodeInfo instance
+ */
+ public static create(properties?: google.protobuf.IGeneratedCodeInfo): google.protobuf.GeneratedCodeInfo;
+
+ /**
+ * Encodes the specified GeneratedCodeInfo message. Does not implicitly {@link google.protobuf.GeneratedCodeInfo.verify|verify} messages.
+ * @param message GeneratedCodeInfo message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.protobuf.IGeneratedCodeInfo, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified GeneratedCodeInfo message, length delimited. Does not implicitly {@link google.protobuf.GeneratedCodeInfo.verify|verify} messages.
+ * @param message GeneratedCodeInfo message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.protobuf.IGeneratedCodeInfo, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a GeneratedCodeInfo message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns GeneratedCodeInfo
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.GeneratedCodeInfo;
+
+ /**
+ * Decodes a GeneratedCodeInfo message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns GeneratedCodeInfo
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.GeneratedCodeInfo;
+
+ /**
+ * Verifies a GeneratedCodeInfo message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a GeneratedCodeInfo message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns GeneratedCodeInfo
+ */
+ public static fromObject(object: { [k: string]: any }): google.protobuf.GeneratedCodeInfo;
+
+ /**
+ * Creates a plain object from a GeneratedCodeInfo message. Also converts values to other types if specified.
+ * @param message GeneratedCodeInfo
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.protobuf.GeneratedCodeInfo, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this GeneratedCodeInfo to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for GeneratedCodeInfo
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace GeneratedCodeInfo {
+
+ /** Properties of an Annotation. */
+ interface IAnnotation {
+
+ /** Annotation path */
+ path?: (number[]|null);
+
+ /** Annotation sourceFile */
+ sourceFile?: (string|null);
+
+ /** Annotation begin */
+ begin?: (number|null);
+
+ /** Annotation end */
+ end?: (number|null);
+
+ /** Annotation semantic */
+ semantic?: (google.protobuf.GeneratedCodeInfo.Annotation.Semantic|keyof typeof google.protobuf.GeneratedCodeInfo.Annotation.Semantic|null);
+ }
+
+ /** Represents an Annotation. */
+ class Annotation implements IAnnotation {
+
+ /**
+ * Constructs a new Annotation.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.protobuf.GeneratedCodeInfo.IAnnotation);
+
+ /** Annotation path. */
+ public path: number[];
+
+ /** Annotation sourceFile. */
+ public sourceFile: string;
+
+ /** Annotation begin. */
+ public begin: number;
+
+ /** Annotation end. */
+ public end: number;
+
+ /** Annotation semantic. */
+ public semantic: (google.protobuf.GeneratedCodeInfo.Annotation.Semantic|keyof typeof google.protobuf.GeneratedCodeInfo.Annotation.Semantic);
+
+ /**
+ * Creates a new Annotation instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns Annotation instance
+ */
+ public static create(properties?: google.protobuf.GeneratedCodeInfo.IAnnotation): google.protobuf.GeneratedCodeInfo.Annotation;
+
+ /**
+ * Encodes the specified Annotation message. Does not implicitly {@link google.protobuf.GeneratedCodeInfo.Annotation.verify|verify} messages.
+ * @param message Annotation message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.protobuf.GeneratedCodeInfo.IAnnotation, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified Annotation message, length delimited. Does not implicitly {@link google.protobuf.GeneratedCodeInfo.Annotation.verify|verify} messages.
+ * @param message Annotation message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.protobuf.GeneratedCodeInfo.IAnnotation, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an Annotation message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns Annotation
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.GeneratedCodeInfo.Annotation;
+
+ /**
+ * Decodes an Annotation message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns Annotation
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.GeneratedCodeInfo.Annotation;
+
+ /**
+ * Verifies an Annotation message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates an Annotation message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns Annotation
+ */
+ public static fromObject(object: { [k: string]: any }): google.protobuf.GeneratedCodeInfo.Annotation;
+
+ /**
+ * Creates a plain object from an Annotation message. Also converts values to other types if specified.
+ * @param message Annotation
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.protobuf.GeneratedCodeInfo.Annotation, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this Annotation to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for Annotation
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace Annotation {
+
+ /** Semantic enum. */
+ enum Semantic {
+ NONE = 0,
+ SET = 1,
+ ALIAS = 2
+ }
+ }
+ }
+
+ /** Properties of a Timestamp. */
+ interface ITimestamp {
+
+ /** Timestamp seconds */
+ seconds?: (number|Long|string|null);
+
+ /** Timestamp nanos */
+ nanos?: (number|null);
+ }
+
+ /** Represents a Timestamp. */
+ class Timestamp implements ITimestamp {
+
+ /**
+ * Constructs a new Timestamp.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.protobuf.ITimestamp);
+
+ /** Timestamp seconds. */
+ public seconds: (number|Long|string);
+
+ /** Timestamp nanos. */
+ public nanos: number;
+
+ /**
+ * Creates a new Timestamp instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns Timestamp instance
+ */
+ public static create(properties?: google.protobuf.ITimestamp): google.protobuf.Timestamp;
+
+ /**
+ * Encodes the specified Timestamp message. Does not implicitly {@link google.protobuf.Timestamp.verify|verify} messages.
+ * @param message Timestamp message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.protobuf.ITimestamp, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified Timestamp message, length delimited. Does not implicitly {@link google.protobuf.Timestamp.verify|verify} messages.
+ * @param message Timestamp message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.protobuf.ITimestamp, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a Timestamp message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns Timestamp
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.Timestamp;
+
+ /**
+ * Decodes a Timestamp message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns Timestamp
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.Timestamp;
+
+ /**
+ * Verifies a Timestamp message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a Timestamp message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns Timestamp
+ */
+ public static fromObject(object: { [k: string]: any }): google.protobuf.Timestamp;
+
+ /**
+ * Creates a plain object from a Timestamp message. Also converts values to other types if specified.
+ * @param message Timestamp
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.protobuf.Timestamp, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this Timestamp to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for Timestamp
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a FieldMask. */
+ interface IFieldMask {
+
+ /** FieldMask paths */
+ paths?: (string[]|null);
+ }
+
+ /** Represents a FieldMask. */
+ class FieldMask implements IFieldMask {
+
+ /**
+ * Constructs a new FieldMask.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.protobuf.IFieldMask);
+
+ /** FieldMask paths. */
+ public paths: string[];
+
+ /**
+ * Creates a new FieldMask instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns FieldMask instance
+ */
+ public static create(properties?: google.protobuf.IFieldMask): google.protobuf.FieldMask;
+
+ /**
+ * Encodes the specified FieldMask message. Does not implicitly {@link google.protobuf.FieldMask.verify|verify} messages.
+ * @param message FieldMask message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.protobuf.IFieldMask, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified FieldMask message, length delimited. Does not implicitly {@link google.protobuf.FieldMask.verify|verify} messages.
+ * @param message FieldMask message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.protobuf.IFieldMask, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a FieldMask message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns FieldMask
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.FieldMask;
+
+ /**
+ * Decodes a FieldMask message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns FieldMask
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.FieldMask;
+
+ /**
+ * Verifies a FieldMask message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a FieldMask message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns FieldMask
+ */
+ public static fromObject(object: { [k: string]: any }): google.protobuf.FieldMask;
+
+ /**
+ * Creates a plain object from a FieldMask message. Also converts values to other types if specified.
+ * @param message FieldMask
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.protobuf.FieldMask, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this FieldMask to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for FieldMask
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of an Empty. */
+ interface IEmpty {
+ }
+
+ /** Represents an Empty. */
+ class Empty implements IEmpty {
+
+ /**
+ * Constructs a new Empty.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.protobuf.IEmpty);
+
+ /**
+ * Creates a new Empty instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns Empty instance
+ */
+ public static create(properties?: google.protobuf.IEmpty): google.protobuf.Empty;
+
+ /**
+ * Encodes the specified Empty message. Does not implicitly {@link google.protobuf.Empty.verify|verify} messages.
+ * @param message Empty message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.protobuf.IEmpty, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified Empty message, length delimited. Does not implicitly {@link google.protobuf.Empty.verify|verify} messages.
+ * @param message Empty message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.protobuf.IEmpty, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an Empty message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns Empty
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.Empty;
+
+ /**
+ * Decodes an Empty message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns Empty
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.Empty;
+
+ /**
+ * Verifies an Empty message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates an Empty message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns Empty
+ */
+ public static fromObject(object: { [k: string]: any }): google.protobuf.Empty;
+
+ /**
+ * Creates a plain object from an Empty message. Also converts values to other types if specified.
+ * @param message Empty
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.protobuf.Empty, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this Empty to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for Empty
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+ }
+
+ /** Namespace iam. */
+ namespace iam {
+
+ /** Namespace v1. */
+ namespace v1 {
+
+ /** Represents a IAMPolicy */
+ class IAMPolicy extends $protobuf.rpc.Service {
+
+ /**
+ * Constructs a new IAMPolicy service.
+ * @param rpcImpl RPC implementation
+ * @param [requestDelimited=false] Whether requests are length-delimited
+ * @param [responseDelimited=false] Whether responses are length-delimited
+ */
+ constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);
+
+ /**
+ * Creates new IAMPolicy service using the specified rpc implementation.
+ * @param rpcImpl RPC implementation
+ * @param [requestDelimited=false] Whether requests are length-delimited
+ * @param [responseDelimited=false] Whether responses are length-delimited
+ * @returns RPC service. Useful where requests and/or responses are streamed.
+ */
+ public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): IAMPolicy;
+
+ /**
+ * Calls SetIamPolicy.
+ * @param request SetIamPolicyRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and Policy
+ */
+ public setIamPolicy(request: google.iam.v1.ISetIamPolicyRequest, callback: google.iam.v1.IAMPolicy.SetIamPolicyCallback): void;
+
+ /**
+ * Calls SetIamPolicy.
+ * @param request SetIamPolicyRequest message or plain object
+ * @returns Promise
+ */
+ public setIamPolicy(request: google.iam.v1.ISetIamPolicyRequest): Promise;
+
+ /**
+ * Calls GetIamPolicy.
+ * @param request GetIamPolicyRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and Policy
+ */
+ public getIamPolicy(request: google.iam.v1.IGetIamPolicyRequest, callback: google.iam.v1.IAMPolicy.GetIamPolicyCallback): void;
+
+ /**
+ * Calls GetIamPolicy.
+ * @param request GetIamPolicyRequest message or plain object
+ * @returns Promise
+ */
+ public getIamPolicy(request: google.iam.v1.IGetIamPolicyRequest): Promise;
+
+ /**
+ * Calls TestIamPermissions.
+ * @param request TestIamPermissionsRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and TestIamPermissionsResponse
+ */
+ public testIamPermissions(request: google.iam.v1.ITestIamPermissionsRequest, callback: google.iam.v1.IAMPolicy.TestIamPermissionsCallback): void;
+
+ /**
+ * Calls TestIamPermissions.
+ * @param request TestIamPermissionsRequest message or plain object
+ * @returns Promise
+ */
+ public testIamPermissions(request: google.iam.v1.ITestIamPermissionsRequest): Promise;
+ }
+
+ namespace IAMPolicy {
+
+ /**
+ * Callback as used by {@link google.iam.v1.IAMPolicy|setIamPolicy}.
+ * @param error Error, if any
+ * @param [response] Policy
+ */
+ type SetIamPolicyCallback = (error: (Error|null), response?: google.iam.v1.Policy) => void;
+
+ /**
+ * Callback as used by {@link google.iam.v1.IAMPolicy|getIamPolicy}.
+ * @param error Error, if any
+ * @param [response] Policy
+ */
+ type GetIamPolicyCallback = (error: (Error|null), response?: google.iam.v1.Policy) => void;
+
+ /**
+ * Callback as used by {@link google.iam.v1.IAMPolicy|testIamPermissions}.
+ * @param error Error, if any
+ * @param [response] TestIamPermissionsResponse
+ */
+ type TestIamPermissionsCallback = (error: (Error|null), response?: google.iam.v1.TestIamPermissionsResponse) => void;
+ }
+
+ /** Properties of a SetIamPolicyRequest. */
+ interface ISetIamPolicyRequest {
+
+ /** SetIamPolicyRequest resource */
+ resource?: (string|null);
+
+ /** SetIamPolicyRequest policy */
+ policy?: (google.iam.v1.IPolicy|null);
+
+ /** SetIamPolicyRequest updateMask */
+ updateMask?: (google.protobuf.IFieldMask|null);
+ }
+
+ /** Represents a SetIamPolicyRequest. */
+ class SetIamPolicyRequest implements ISetIamPolicyRequest {
+
+ /**
+ * Constructs a new SetIamPolicyRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.iam.v1.ISetIamPolicyRequest);
+
+ /** SetIamPolicyRequest resource. */
+ public resource: string;
+
+ /** SetIamPolicyRequest policy. */
+ public policy?: (google.iam.v1.IPolicy|null);
+
+ /** SetIamPolicyRequest updateMask. */
+ public updateMask?: (google.protobuf.IFieldMask|null);
+
+ /**
+ * Creates a new SetIamPolicyRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns SetIamPolicyRequest instance
+ */
+ public static create(properties?: google.iam.v1.ISetIamPolicyRequest): google.iam.v1.SetIamPolicyRequest;
+
+ /**
+ * Encodes the specified SetIamPolicyRequest message. Does not implicitly {@link google.iam.v1.SetIamPolicyRequest.verify|verify} messages.
+ * @param message SetIamPolicyRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.iam.v1.ISetIamPolicyRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified SetIamPolicyRequest message, length delimited. Does not implicitly {@link google.iam.v1.SetIamPolicyRequest.verify|verify} messages.
+ * @param message SetIamPolicyRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.iam.v1.ISetIamPolicyRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a SetIamPolicyRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns SetIamPolicyRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.iam.v1.SetIamPolicyRequest;
+
+ /**
+ * Decodes a SetIamPolicyRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns SetIamPolicyRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.iam.v1.SetIamPolicyRequest;
+
+ /**
+ * Verifies a SetIamPolicyRequest message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a SetIamPolicyRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns SetIamPolicyRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.iam.v1.SetIamPolicyRequest;
+
+ /**
+ * Creates a plain object from a SetIamPolicyRequest message. Also converts values to other types if specified.
+ * @param message SetIamPolicyRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.iam.v1.SetIamPolicyRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this SetIamPolicyRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for SetIamPolicyRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a GetIamPolicyRequest. */
+ interface IGetIamPolicyRequest {
+
+ /** GetIamPolicyRequest resource */
+ resource?: (string|null);
+
+ /** GetIamPolicyRequest options */
+ options?: (google.iam.v1.IGetPolicyOptions|null);
+ }
+
+ /** Represents a GetIamPolicyRequest. */
+ class GetIamPolicyRequest implements IGetIamPolicyRequest {
+
+ /**
+ * Constructs a new GetIamPolicyRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.iam.v1.IGetIamPolicyRequest);
+
+ /** GetIamPolicyRequest resource. */
+ public resource: string;
+
+ /** GetIamPolicyRequest options. */
+ public options?: (google.iam.v1.IGetPolicyOptions|null);
+
+ /**
+ * Creates a new GetIamPolicyRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns GetIamPolicyRequest instance
+ */
+ public static create(properties?: google.iam.v1.IGetIamPolicyRequest): google.iam.v1.GetIamPolicyRequest;
+
+ /**
+ * Encodes the specified GetIamPolicyRequest message. Does not implicitly {@link google.iam.v1.GetIamPolicyRequest.verify|verify} messages.
+ * @param message GetIamPolicyRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.iam.v1.IGetIamPolicyRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified GetIamPolicyRequest message, length delimited. Does not implicitly {@link google.iam.v1.GetIamPolicyRequest.verify|verify} messages.
+ * @param message GetIamPolicyRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.iam.v1.IGetIamPolicyRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a GetIamPolicyRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns GetIamPolicyRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.iam.v1.GetIamPolicyRequest;
+
+ /**
+ * Decodes a GetIamPolicyRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns GetIamPolicyRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.iam.v1.GetIamPolicyRequest;
+
+ /**
+ * Verifies a GetIamPolicyRequest message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a GetIamPolicyRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns GetIamPolicyRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.iam.v1.GetIamPolicyRequest;
+
+ /**
+ * Creates a plain object from a GetIamPolicyRequest message. Also converts values to other types if specified.
+ * @param message GetIamPolicyRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.iam.v1.GetIamPolicyRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this GetIamPolicyRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for GetIamPolicyRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a TestIamPermissionsRequest. */
+ interface ITestIamPermissionsRequest {
+
+ /** TestIamPermissionsRequest resource */
+ resource?: (string|null);
+
+ /** TestIamPermissionsRequest permissions */
+ permissions?: (string[]|null);
+ }
+
+ /** Represents a TestIamPermissionsRequest. */
+ class TestIamPermissionsRequest implements ITestIamPermissionsRequest {
+
+ /**
+ * Constructs a new TestIamPermissionsRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.iam.v1.ITestIamPermissionsRequest);
+
+ /** TestIamPermissionsRequest resource. */
+ public resource: string;
+
+ /** TestIamPermissionsRequest permissions. */
+ public permissions: string[];
+
+ /**
+ * Creates a new TestIamPermissionsRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns TestIamPermissionsRequest instance
+ */
+ public static create(properties?: google.iam.v1.ITestIamPermissionsRequest): google.iam.v1.TestIamPermissionsRequest;
+
+ /**
+ * Encodes the specified TestIamPermissionsRequest message. Does not implicitly {@link google.iam.v1.TestIamPermissionsRequest.verify|verify} messages.
+ * @param message TestIamPermissionsRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.iam.v1.ITestIamPermissionsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified TestIamPermissionsRequest message, length delimited. Does not implicitly {@link google.iam.v1.TestIamPermissionsRequest.verify|verify} messages.
+ * @param message TestIamPermissionsRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.iam.v1.ITestIamPermissionsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a TestIamPermissionsRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns TestIamPermissionsRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.iam.v1.TestIamPermissionsRequest;
+
+ /**
+ * Decodes a TestIamPermissionsRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns TestIamPermissionsRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.iam.v1.TestIamPermissionsRequest;
+
+ /**
+ * Verifies a TestIamPermissionsRequest message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a TestIamPermissionsRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns TestIamPermissionsRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.iam.v1.TestIamPermissionsRequest;
+
+ /**
+ * Creates a plain object from a TestIamPermissionsRequest message. Also converts values to other types if specified.
+ * @param message TestIamPermissionsRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.iam.v1.TestIamPermissionsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this TestIamPermissionsRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for TestIamPermissionsRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a TestIamPermissionsResponse. */
+ interface ITestIamPermissionsResponse {
+
+ /** TestIamPermissionsResponse permissions */
+ permissions?: (string[]|null);
+ }
+
+ /** Represents a TestIamPermissionsResponse. */
+ class TestIamPermissionsResponse implements ITestIamPermissionsResponse {
+
+ /**
+ * Constructs a new TestIamPermissionsResponse.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.iam.v1.ITestIamPermissionsResponse);
+
+ /** TestIamPermissionsResponse permissions. */
+ public permissions: string[];
+
+ /**
+ * Creates a new TestIamPermissionsResponse instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns TestIamPermissionsResponse instance
+ */
+ public static create(properties?: google.iam.v1.ITestIamPermissionsResponse): google.iam.v1.TestIamPermissionsResponse;
+
+ /**
+ * Encodes the specified TestIamPermissionsResponse message. Does not implicitly {@link google.iam.v1.TestIamPermissionsResponse.verify|verify} messages.
+ * @param message TestIamPermissionsResponse message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.iam.v1.ITestIamPermissionsResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified TestIamPermissionsResponse message, length delimited. Does not implicitly {@link google.iam.v1.TestIamPermissionsResponse.verify|verify} messages.
+ * @param message TestIamPermissionsResponse message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.iam.v1.ITestIamPermissionsResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a TestIamPermissionsResponse message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns TestIamPermissionsResponse
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.iam.v1.TestIamPermissionsResponse;
+
+ /**
+ * Decodes a TestIamPermissionsResponse message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns TestIamPermissionsResponse
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.iam.v1.TestIamPermissionsResponse;
+
+ /**
+ * Verifies a TestIamPermissionsResponse message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a TestIamPermissionsResponse message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns TestIamPermissionsResponse
+ */
+ public static fromObject(object: { [k: string]: any }): google.iam.v1.TestIamPermissionsResponse;
+
+ /**
+ * Creates a plain object from a TestIamPermissionsResponse message. Also converts values to other types if specified.
+ * @param message TestIamPermissionsResponse
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.iam.v1.TestIamPermissionsResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this TestIamPermissionsResponse to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for TestIamPermissionsResponse
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a GetPolicyOptions. */
+ interface IGetPolicyOptions {
+
+ /** GetPolicyOptions requestedPolicyVersion */
+ requestedPolicyVersion?: (number|null);
+ }
+
+ /** Represents a GetPolicyOptions. */
+ class GetPolicyOptions implements IGetPolicyOptions {
+
+ /**
+ * Constructs a new GetPolicyOptions.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.iam.v1.IGetPolicyOptions);
+
+ /** GetPolicyOptions requestedPolicyVersion. */
+ public requestedPolicyVersion: number;
+
+ /**
+ * Creates a new GetPolicyOptions instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns GetPolicyOptions instance
+ */
+ public static create(properties?: google.iam.v1.IGetPolicyOptions): google.iam.v1.GetPolicyOptions;
+
+ /**
+ * Encodes the specified GetPolicyOptions message. Does not implicitly {@link google.iam.v1.GetPolicyOptions.verify|verify} messages.
+ * @param message GetPolicyOptions message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.iam.v1.IGetPolicyOptions, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified GetPolicyOptions message, length delimited. Does not implicitly {@link google.iam.v1.GetPolicyOptions.verify|verify} messages.
+ * @param message GetPolicyOptions message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.iam.v1.IGetPolicyOptions, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a GetPolicyOptions message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns GetPolicyOptions
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.iam.v1.GetPolicyOptions;
+
+ /**
+ * Decodes a GetPolicyOptions message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns GetPolicyOptions
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.iam.v1.GetPolicyOptions;
+
+ /**
+ * Verifies a GetPolicyOptions message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a GetPolicyOptions message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns GetPolicyOptions
+ */
+ public static fromObject(object: { [k: string]: any }): google.iam.v1.GetPolicyOptions;
+
+ /**
+ * Creates a plain object from a GetPolicyOptions message. Also converts values to other types if specified.
+ * @param message GetPolicyOptions
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.iam.v1.GetPolicyOptions, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this GetPolicyOptions to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for GetPolicyOptions
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a Policy. */
+ interface IPolicy {
+
+ /** Policy version */
+ version?: (number|null);
+
+ /** Policy bindings */
+ bindings?: (google.iam.v1.IBinding[]|null);
+
+ /** Policy auditConfigs */
+ auditConfigs?: (google.iam.v1.IAuditConfig[]|null);
+
+ /** Policy etag */
+ etag?: (Uint8Array|string|null);
+ }
+
+ /** Represents a Policy. */
+ class Policy implements IPolicy {
+
+ /**
+ * Constructs a new Policy.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.iam.v1.IPolicy);
+
+ /** Policy version. */
+ public version: number;
+
+ /** Policy bindings. */
+ public bindings: google.iam.v1.IBinding[];
+
+ /** Policy auditConfigs. */
+ public auditConfigs: google.iam.v1.IAuditConfig[];
+
+ /** Policy etag. */
+ public etag: (Uint8Array|string);
+
+ /**
+ * Creates a new Policy instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns Policy instance
+ */
+ public static create(properties?: google.iam.v1.IPolicy): google.iam.v1.Policy;
+
+ /**
+ * Encodes the specified Policy message. Does not implicitly {@link google.iam.v1.Policy.verify|verify} messages.
+ * @param message Policy message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.iam.v1.IPolicy, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified Policy message, length delimited. Does not implicitly {@link google.iam.v1.Policy.verify|verify} messages.
+ * @param message Policy message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.iam.v1.IPolicy, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a Policy message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns Policy
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.iam.v1.Policy;
+
+ /**
+ * Decodes a Policy message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns Policy
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.iam.v1.Policy;
+
+ /**
+ * Verifies a Policy message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a Policy message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns Policy
+ */
+ public static fromObject(object: { [k: string]: any }): google.iam.v1.Policy;
+
+ /**
+ * Creates a plain object from a Policy message. Also converts values to other types if specified.
+ * @param message Policy
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.iam.v1.Policy, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this Policy to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for Policy
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a Binding. */
+ interface IBinding {
+
+ /** Binding role */
+ role?: (string|null);
+
+ /** Binding members */
+ members?: (string[]|null);
+
+ /** Binding condition */
+ condition?: (google.type.IExpr|null);
+ }
+
+ /** Represents a Binding. */
+ class Binding implements IBinding {
+
+ /**
+ * Constructs a new Binding.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.iam.v1.IBinding);
+
+ /** Binding role. */
+ public role: string;
+
+ /** Binding members. */
+ public members: string[];
+
+ /** Binding condition. */
+ public condition?: (google.type.IExpr|null);
+
+ /**
+ * Creates a new Binding instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns Binding instance
+ */
+ public static create(properties?: google.iam.v1.IBinding): google.iam.v1.Binding;
+
+ /**
+ * Encodes the specified Binding message. Does not implicitly {@link google.iam.v1.Binding.verify|verify} messages.
+ * @param message Binding message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.iam.v1.IBinding, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified Binding message, length delimited. Does not implicitly {@link google.iam.v1.Binding.verify|verify} messages.
+ * @param message Binding message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.iam.v1.IBinding, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a Binding message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns Binding
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.iam.v1.Binding;
+
+ /**
+ * Decodes a Binding message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns Binding
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.iam.v1.Binding;
+
+ /**
+ * Verifies a Binding message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a Binding message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns Binding
+ */
+ public static fromObject(object: { [k: string]: any }): google.iam.v1.Binding;
+
+ /**
+ * Creates a plain object from a Binding message. Also converts values to other types if specified.
+ * @param message Binding
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.iam.v1.Binding, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this Binding to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for Binding
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of an AuditConfig. */
+ interface IAuditConfig {
+
+ /** AuditConfig service */
+ service?: (string|null);
+
+ /** AuditConfig auditLogConfigs */
+ auditLogConfigs?: (google.iam.v1.IAuditLogConfig[]|null);
+ }
+
+ /** Represents an AuditConfig. */
+ class AuditConfig implements IAuditConfig {
+
+ /**
+ * Constructs a new AuditConfig.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.iam.v1.IAuditConfig);
+
+ /** AuditConfig service. */
+ public service: string;
+
+ /** AuditConfig auditLogConfigs. */
+ public auditLogConfigs: google.iam.v1.IAuditLogConfig[];
+
+ /**
+ * Creates a new AuditConfig instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns AuditConfig instance
+ */
+ public static create(properties?: google.iam.v1.IAuditConfig): google.iam.v1.AuditConfig;
+
+ /**
+ * Encodes the specified AuditConfig message. Does not implicitly {@link google.iam.v1.AuditConfig.verify|verify} messages.
+ * @param message AuditConfig message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.iam.v1.IAuditConfig, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified AuditConfig message, length delimited. Does not implicitly {@link google.iam.v1.AuditConfig.verify|verify} messages.
+ * @param message AuditConfig message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.iam.v1.IAuditConfig, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an AuditConfig message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns AuditConfig
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.iam.v1.AuditConfig;
+
+ /**
+ * Decodes an AuditConfig message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns AuditConfig
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.iam.v1.AuditConfig;
+
+ /**
+ * Verifies an AuditConfig message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates an AuditConfig message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns AuditConfig
+ */
+ public static fromObject(object: { [k: string]: any }): google.iam.v1.AuditConfig;
+
+ /**
+ * Creates a plain object from an AuditConfig message. Also converts values to other types if specified.
+ * @param message AuditConfig
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.iam.v1.AuditConfig, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this AuditConfig to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for AuditConfig
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of an AuditLogConfig. */
+ interface IAuditLogConfig {
+
+ /** AuditLogConfig logType */
+ logType?: (google.iam.v1.AuditLogConfig.LogType|keyof typeof google.iam.v1.AuditLogConfig.LogType|null);
+
+ /** AuditLogConfig exemptedMembers */
+ exemptedMembers?: (string[]|null);
+ }
+
+ /** Represents an AuditLogConfig. */
+ class AuditLogConfig implements IAuditLogConfig {
+
+ /**
+ * Constructs a new AuditLogConfig.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.iam.v1.IAuditLogConfig);
+
+ /** AuditLogConfig logType. */
+ public logType: (google.iam.v1.AuditLogConfig.LogType|keyof typeof google.iam.v1.AuditLogConfig.LogType);
+
+ /** AuditLogConfig exemptedMembers. */
+ public exemptedMembers: string[];
+
+ /**
+ * Creates a new AuditLogConfig instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns AuditLogConfig instance
+ */
+ public static create(properties?: google.iam.v1.IAuditLogConfig): google.iam.v1.AuditLogConfig;
+
+ /**
+ * Encodes the specified AuditLogConfig message. Does not implicitly {@link google.iam.v1.AuditLogConfig.verify|verify} messages.
+ * @param message AuditLogConfig message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.iam.v1.IAuditLogConfig, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified AuditLogConfig message, length delimited. Does not implicitly {@link google.iam.v1.AuditLogConfig.verify|verify} messages.
+ * @param message AuditLogConfig message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.iam.v1.IAuditLogConfig, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an AuditLogConfig message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns AuditLogConfig
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.iam.v1.AuditLogConfig;
+
+ /**
+ * Decodes an AuditLogConfig message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns AuditLogConfig
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.iam.v1.AuditLogConfig;
+
+ /**
+ * Verifies an AuditLogConfig message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates an AuditLogConfig message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns AuditLogConfig
+ */
+ public static fromObject(object: { [k: string]: any }): google.iam.v1.AuditLogConfig;
+
+ /**
+ * Creates a plain object from an AuditLogConfig message. Also converts values to other types if specified.
+ * @param message AuditLogConfig
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.iam.v1.AuditLogConfig, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this AuditLogConfig to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for AuditLogConfig
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace AuditLogConfig {
+
+ /** LogType enum. */
+ enum LogType {
+ LOG_TYPE_UNSPECIFIED = 0,
+ ADMIN_READ = 1,
+ DATA_WRITE = 2,
+ DATA_READ = 3
+ }
+ }
+
+ /** Properties of a PolicyDelta. */
+ interface IPolicyDelta {
+
+ /** PolicyDelta bindingDeltas */
+ bindingDeltas?: (google.iam.v1.IBindingDelta[]|null);
+
+ /** PolicyDelta auditConfigDeltas */
+ auditConfigDeltas?: (google.iam.v1.IAuditConfigDelta[]|null);
+ }
+
+ /** Represents a PolicyDelta. */
+ class PolicyDelta implements IPolicyDelta {
+
+ /**
+ * Constructs a new PolicyDelta.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.iam.v1.IPolicyDelta);
+
+ /** PolicyDelta bindingDeltas. */
+ public bindingDeltas: google.iam.v1.IBindingDelta[];
+
+ /** PolicyDelta auditConfigDeltas. */
+ public auditConfigDeltas: google.iam.v1.IAuditConfigDelta[];
+
+ /**
+ * Creates a new PolicyDelta instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns PolicyDelta instance
+ */
+ public static create(properties?: google.iam.v1.IPolicyDelta): google.iam.v1.PolicyDelta;
+
+ /**
+ * Encodes the specified PolicyDelta message. Does not implicitly {@link google.iam.v1.PolicyDelta.verify|verify} messages.
+ * @param message PolicyDelta message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.iam.v1.IPolicyDelta, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified PolicyDelta message, length delimited. Does not implicitly {@link google.iam.v1.PolicyDelta.verify|verify} messages.
+ * @param message PolicyDelta message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.iam.v1.IPolicyDelta, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a PolicyDelta message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns PolicyDelta
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.iam.v1.PolicyDelta;
+
+ /**
+ * Decodes a PolicyDelta message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns PolicyDelta
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.iam.v1.PolicyDelta;
+
+ /**
+ * Verifies a PolicyDelta message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a PolicyDelta message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns PolicyDelta
+ */
+ public static fromObject(object: { [k: string]: any }): google.iam.v1.PolicyDelta;
+
+ /**
+ * Creates a plain object from a PolicyDelta message. Also converts values to other types if specified.
+ * @param message PolicyDelta
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.iam.v1.PolicyDelta, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this PolicyDelta to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for PolicyDelta
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a BindingDelta. */
+ interface IBindingDelta {
+
+ /** BindingDelta action */
+ action?: (google.iam.v1.BindingDelta.Action|keyof typeof google.iam.v1.BindingDelta.Action|null);
+
+ /** BindingDelta role */
+ role?: (string|null);
+
+ /** BindingDelta member */
+ member?: (string|null);
+
+ /** BindingDelta condition */
+ condition?: (google.type.IExpr|null);
+ }
+
+ /** Represents a BindingDelta. */
+ class BindingDelta implements IBindingDelta {
+
+ /**
+ * Constructs a new BindingDelta.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.iam.v1.IBindingDelta);
+
+ /** BindingDelta action. */
+ public action: (google.iam.v1.BindingDelta.Action|keyof typeof google.iam.v1.BindingDelta.Action);
+
+ /** BindingDelta role. */
+ public role: string;
+
+ /** BindingDelta member. */
+ public member: string;
+
+ /** BindingDelta condition. */
+ public condition?: (google.type.IExpr|null);
+
+ /**
+ * Creates a new BindingDelta instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns BindingDelta instance
+ */
+ public static create(properties?: google.iam.v1.IBindingDelta): google.iam.v1.BindingDelta;
+
+ /**
+ * Encodes the specified BindingDelta message. Does not implicitly {@link google.iam.v1.BindingDelta.verify|verify} messages.
+ * @param message BindingDelta message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.iam.v1.IBindingDelta, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified BindingDelta message, length delimited. Does not implicitly {@link google.iam.v1.BindingDelta.verify|verify} messages.
+ * @param message BindingDelta message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.iam.v1.IBindingDelta, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a BindingDelta message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns BindingDelta
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.iam.v1.BindingDelta;
+
+ /**
+ * Decodes a BindingDelta message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns BindingDelta
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.iam.v1.BindingDelta;
+
+ /**
+ * Verifies a BindingDelta message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a BindingDelta message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns BindingDelta
+ */
+ public static fromObject(object: { [k: string]: any }): google.iam.v1.BindingDelta;
+
+ /**
+ * Creates a plain object from a BindingDelta message. Also converts values to other types if specified.
+ * @param message BindingDelta
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.iam.v1.BindingDelta, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this BindingDelta to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for BindingDelta
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace BindingDelta {
+
+ /** Action enum. */
+ enum Action {
+ ACTION_UNSPECIFIED = 0,
+ ADD = 1,
+ REMOVE = 2
+ }
+ }
+
+ /** Properties of an AuditConfigDelta. */
+ interface IAuditConfigDelta {
+
+ /** AuditConfigDelta action */
+ action?: (google.iam.v1.AuditConfigDelta.Action|keyof typeof google.iam.v1.AuditConfigDelta.Action|null);
+
+ /** AuditConfigDelta service */
+ service?: (string|null);
+
+ /** AuditConfigDelta exemptedMember */
+ exemptedMember?: (string|null);
+
+ /** AuditConfigDelta logType */
+ logType?: (string|null);
+ }
+
+ /** Represents an AuditConfigDelta. */
+ class AuditConfigDelta implements IAuditConfigDelta {
+
+ /**
+ * Constructs a new AuditConfigDelta.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.iam.v1.IAuditConfigDelta);
+
+ /** AuditConfigDelta action. */
+ public action: (google.iam.v1.AuditConfigDelta.Action|keyof typeof google.iam.v1.AuditConfigDelta.Action);
+
+ /** AuditConfigDelta service. */
+ public service: string;
+
+ /** AuditConfigDelta exemptedMember. */
+ public exemptedMember: string;
+
+ /** AuditConfigDelta logType. */
+ public logType: string;
+
+ /**
+ * Creates a new AuditConfigDelta instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns AuditConfigDelta instance
+ */
+ public static create(properties?: google.iam.v1.IAuditConfigDelta): google.iam.v1.AuditConfigDelta;
+
+ /**
+ * Encodes the specified AuditConfigDelta message. Does not implicitly {@link google.iam.v1.AuditConfigDelta.verify|verify} messages.
+ * @param message AuditConfigDelta message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.iam.v1.IAuditConfigDelta, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified AuditConfigDelta message, length delimited. Does not implicitly {@link google.iam.v1.AuditConfigDelta.verify|verify} messages.
+ * @param message AuditConfigDelta message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.iam.v1.IAuditConfigDelta, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an AuditConfigDelta message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns AuditConfigDelta
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.iam.v1.AuditConfigDelta;
+
+ /**
+ * Decodes an AuditConfigDelta message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns AuditConfigDelta
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.iam.v1.AuditConfigDelta;
+
+ /**
+ * Verifies an AuditConfigDelta message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates an AuditConfigDelta message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns AuditConfigDelta
+ */
+ public static fromObject(object: { [k: string]: any }): google.iam.v1.AuditConfigDelta;
+
+ /**
+ * Creates a plain object from an AuditConfigDelta message. Also converts values to other types if specified.
+ * @param message AuditConfigDelta
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.iam.v1.AuditConfigDelta, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this AuditConfigDelta to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for AuditConfigDelta
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace AuditConfigDelta {
+
+ /** Action enum. */
+ enum Action {
+ ACTION_UNSPECIFIED = 0,
+ ADD = 1,
+ REMOVE = 2
+ }
+ }
+ }
+ }
+
+ /** Namespace type. */
+ namespace type {
+
+ /** Properties of an Expr. */
+ interface IExpr {
+
+ /** Expr expression */
+ expression?: (string|null);
+
+ /** Expr title */
+ title?: (string|null);
+
+ /** Expr description */
+ description?: (string|null);
+
+ /** Expr location */
+ location?: (string|null);
+ }
+
+ /** Represents an Expr. */
+ class Expr implements IExpr {
+
+ /**
+ * Constructs a new Expr.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.type.IExpr);
+
+ /** Expr expression. */
+ public expression: string;
+
+ /** Expr title. */
+ public title: string;
+
+ /** Expr description. */
+ public description: string;
+
+ /** Expr location. */
+ public location: string;
+
+ /**
+ * Creates a new Expr instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns Expr instance
+ */
+ public static create(properties?: google.type.IExpr): google.type.Expr;
+
+ /**
+ * Encodes the specified Expr message. Does not implicitly {@link google.type.Expr.verify|verify} messages.
+ * @param message Expr message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.type.IExpr, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified Expr message, length delimited. Does not implicitly {@link google.type.Expr.verify|verify} messages.
+ * @param message Expr message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.type.IExpr, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an Expr message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns Expr
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.type.Expr;
+
+ /**
+ * Decodes an Expr message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns Expr
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.type.Expr;
+
+ /**
+ * Verifies an Expr message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates an Expr message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns Expr
+ */
+ public static fromObject(object: { [k: string]: any }): google.type.Expr;
+
+ /**
+ * Creates a plain object from an Expr message. Also converts values to other types if specified.
+ * @param message Expr
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.type.Expr, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this Expr to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for Expr
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+ }
+}
diff --git a/packages/google-cloud-datacatalog/protos/protos.js b/packages/google-cloud-datacatalog/protos/protos.js
new file mode 100644
index 00000000000..cc86d70c3e2
--- /dev/null
+++ b/packages/google-cloud-datacatalog/protos/protos.js
@@ -0,0 +1,64724 @@
+// Copyright 2022 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+/*eslint-disable block-scoped-var, id-length, no-control-regex, no-magic-numbers, no-prototype-builtins, no-redeclare, no-shadow, no-var, sort-vars*/
+(function(global, factory) { /* global define, require, module */
+
+ /* AMD */ if (typeof define === 'function' && define.amd)
+ define(["protobufjs/minimal"], factory);
+
+ /* CommonJS */ else if (typeof require === 'function' && typeof module === 'object' && module && module.exports)
+ module.exports = factory(require("google-gax/build/src/protobuf").protobufMinimal);
+
+})(this, function($protobuf) {
+ "use strict";
+
+ // Common aliases
+ var $Reader = $protobuf.Reader, $Writer = $protobuf.Writer, $util = $protobuf.util;
+
+ // Exported root namespace
+ var $root = $protobuf.roots._google_cloud_datacatalog_protos || ($protobuf.roots._google_cloud_datacatalog_protos = {});
+
+ $root.google = (function() {
+
+ /**
+ * Namespace google.
+ * @exports google
+ * @namespace
+ */
+ var google = {};
+
+ google.cloud = (function() {
+
+ /**
+ * Namespace cloud.
+ * @memberof google
+ * @namespace
+ */
+ var cloud = {};
+
+ cloud.datacatalog = (function() {
+
+ /**
+ * Namespace datacatalog.
+ * @memberof google.cloud
+ * @namespace
+ */
+ var datacatalog = {};
+
+ datacatalog.v1 = (function() {
+
+ /**
+ * Namespace v1.
+ * @memberof google.cloud.datacatalog
+ * @namespace
+ */
+ var v1 = {};
+
+ v1.BigQueryConnectionSpec = (function() {
+
+ /**
+ * Properties of a BigQueryConnectionSpec.
+ * @memberof google.cloud.datacatalog.v1
+ * @interface IBigQueryConnectionSpec
+ * @property {google.cloud.datacatalog.v1.BigQueryConnectionSpec.ConnectionType|null} [connectionType] BigQueryConnectionSpec connectionType
+ * @property {google.cloud.datacatalog.v1.ICloudSqlBigQueryConnectionSpec|null} [cloudSql] BigQueryConnectionSpec cloudSql
+ * @property {boolean|null} [hasCredential] BigQueryConnectionSpec hasCredential
+ */
+
+ /**
+ * Constructs a new BigQueryConnectionSpec.
+ * @memberof google.cloud.datacatalog.v1
+ * @classdesc Represents a BigQueryConnectionSpec.
+ * @implements IBigQueryConnectionSpec
+ * @constructor
+ * @param {google.cloud.datacatalog.v1.IBigQueryConnectionSpec=} [properties] Properties to set
+ */
+ function BigQueryConnectionSpec(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]];
+ }
+
+ /**
+ * BigQueryConnectionSpec connectionType.
+ * @member {google.cloud.datacatalog.v1.BigQueryConnectionSpec.ConnectionType} connectionType
+ * @memberof google.cloud.datacatalog.v1.BigQueryConnectionSpec
+ * @instance
+ */
+ BigQueryConnectionSpec.prototype.connectionType = 0;
+
+ /**
+ * BigQueryConnectionSpec cloudSql.
+ * @member {google.cloud.datacatalog.v1.ICloudSqlBigQueryConnectionSpec|null|undefined} cloudSql
+ * @memberof google.cloud.datacatalog.v1.BigQueryConnectionSpec
+ * @instance
+ */
+ BigQueryConnectionSpec.prototype.cloudSql = null;
+
+ /**
+ * BigQueryConnectionSpec hasCredential.
+ * @member {boolean} hasCredential
+ * @memberof google.cloud.datacatalog.v1.BigQueryConnectionSpec
+ * @instance
+ */
+ BigQueryConnectionSpec.prototype.hasCredential = false;
+
+ // OneOf field names bound to virtual getters and setters
+ var $oneOfFields;
+
+ /**
+ * BigQueryConnectionSpec connectionSpec.
+ * @member {"cloudSql"|undefined} connectionSpec
+ * @memberof google.cloud.datacatalog.v1.BigQueryConnectionSpec
+ * @instance
+ */
+ Object.defineProperty(BigQueryConnectionSpec.prototype, "connectionSpec", {
+ get: $util.oneOfGetter($oneOfFields = ["cloudSql"]),
+ set: $util.oneOfSetter($oneOfFields)
+ });
+
+ /**
+ * Creates a new BigQueryConnectionSpec instance using the specified properties.
+ * @function create
+ * @memberof google.cloud.datacatalog.v1.BigQueryConnectionSpec
+ * @static
+ * @param {google.cloud.datacatalog.v1.IBigQueryConnectionSpec=} [properties] Properties to set
+ * @returns {google.cloud.datacatalog.v1.BigQueryConnectionSpec} BigQueryConnectionSpec instance
+ */
+ BigQueryConnectionSpec.create = function create(properties) {
+ return new BigQueryConnectionSpec(properties);
+ };
+
+ /**
+ * Encodes the specified BigQueryConnectionSpec message. Does not implicitly {@link google.cloud.datacatalog.v1.BigQueryConnectionSpec.verify|verify} messages.
+ * @function encode
+ * @memberof google.cloud.datacatalog.v1.BigQueryConnectionSpec
+ * @static
+ * @param {google.cloud.datacatalog.v1.IBigQueryConnectionSpec} message BigQueryConnectionSpec message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ BigQueryConnectionSpec.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.connectionType != null && Object.hasOwnProperty.call(message, "connectionType"))
+ writer.uint32(/* id 1, wireType 0 =*/8).int32(message.connectionType);
+ if (message.cloudSql != null && Object.hasOwnProperty.call(message, "cloudSql"))
+ $root.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec.encode(message.cloudSql, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
+ if (message.hasCredential != null && Object.hasOwnProperty.call(message, "hasCredential"))
+ writer.uint32(/* id 3, wireType 0 =*/24).bool(message.hasCredential);
+ return writer;
+ };
+
+ /**
+ * Encodes the specified BigQueryConnectionSpec message, length delimited. Does not implicitly {@link google.cloud.datacatalog.v1.BigQueryConnectionSpec.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.cloud.datacatalog.v1.BigQueryConnectionSpec
+ * @static
+ * @param {google.cloud.datacatalog.v1.IBigQueryConnectionSpec} message BigQueryConnectionSpec message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ BigQueryConnectionSpec.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes a BigQueryConnectionSpec message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.cloud.datacatalog.v1.BigQueryConnectionSpec
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.cloud.datacatalog.v1.BigQueryConnectionSpec} BigQueryConnectionSpec
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ BigQueryConnectionSpec.decode = function decode(reader, length) {
+ if (!(reader instanceof $Reader))
+ reader = $Reader.create(reader);
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.datacatalog.v1.BigQueryConnectionSpec();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ switch (tag >>> 3) {
+ case 1: {
+ message.connectionType = reader.int32();
+ break;
+ }
+ case 2: {
+ message.cloudSql = $root.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec.decode(reader, reader.uint32());
+ break;
+ }
+ case 3: {
+ message.hasCredential = reader.bool();
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes a BigQueryConnectionSpec message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.cloud.datacatalog.v1.BigQueryConnectionSpec
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.cloud.datacatalog.v1.BigQueryConnectionSpec} BigQueryConnectionSpec
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ BigQueryConnectionSpec.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies a BigQueryConnectionSpec message.
+ * @function verify
+ * @memberof google.cloud.datacatalog.v1.BigQueryConnectionSpec
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ BigQueryConnectionSpec.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ var properties = {};
+ if (message.connectionType != null && message.hasOwnProperty("connectionType"))
+ switch (message.connectionType) {
+ default:
+ return "connectionType: enum value expected";
+ case 0:
+ case 1:
+ break;
+ }
+ if (message.cloudSql != null && message.hasOwnProperty("cloudSql")) {
+ properties.connectionSpec = 1;
+ {
+ var error = $root.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec.verify(message.cloudSql);
+ if (error)
+ return "cloudSql." + error;
+ }
+ }
+ if (message.hasCredential != null && message.hasOwnProperty("hasCredential"))
+ if (typeof message.hasCredential !== "boolean")
+ return "hasCredential: boolean expected";
+ return null;
+ };
+
+ /**
+ * Creates a BigQueryConnectionSpec message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.cloud.datacatalog.v1.BigQueryConnectionSpec
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.cloud.datacatalog.v1.BigQueryConnectionSpec} BigQueryConnectionSpec
+ */
+ BigQueryConnectionSpec.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.cloud.datacatalog.v1.BigQueryConnectionSpec)
+ return object;
+ var message = new $root.google.cloud.datacatalog.v1.BigQueryConnectionSpec();
+ switch (object.connectionType) {
+ default:
+ if (typeof object.connectionType === "number") {
+ message.connectionType = object.connectionType;
+ break;
+ }
+ break;
+ case "CONNECTION_TYPE_UNSPECIFIED":
+ case 0:
+ message.connectionType = 0;
+ break;
+ case "CLOUD_SQL":
+ case 1:
+ message.connectionType = 1;
+ break;
+ }
+ if (object.cloudSql != null) {
+ if (typeof object.cloudSql !== "object")
+ throw TypeError(".google.cloud.datacatalog.v1.BigQueryConnectionSpec.cloudSql: object expected");
+ message.cloudSql = $root.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec.fromObject(object.cloudSql);
+ }
+ if (object.hasCredential != null)
+ message.hasCredential = Boolean(object.hasCredential);
+ return message;
+ };
+
+ /**
+ * Creates a plain object from a BigQueryConnectionSpec message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.cloud.datacatalog.v1.BigQueryConnectionSpec
+ * @static
+ * @param {google.cloud.datacatalog.v1.BigQueryConnectionSpec} message BigQueryConnectionSpec
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ BigQueryConnectionSpec.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.defaults) {
+ object.connectionType = options.enums === String ? "CONNECTION_TYPE_UNSPECIFIED" : 0;
+ object.hasCredential = false;
+ }
+ if (message.connectionType != null && message.hasOwnProperty("connectionType"))
+ object.connectionType = options.enums === String ? $root.google.cloud.datacatalog.v1.BigQueryConnectionSpec.ConnectionType[message.connectionType] === undefined ? message.connectionType : $root.google.cloud.datacatalog.v1.BigQueryConnectionSpec.ConnectionType[message.connectionType] : message.connectionType;
+ if (message.cloudSql != null && message.hasOwnProperty("cloudSql")) {
+ object.cloudSql = $root.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec.toObject(message.cloudSql, options);
+ if (options.oneofs)
+ object.connectionSpec = "cloudSql";
+ }
+ if (message.hasCredential != null && message.hasOwnProperty("hasCredential"))
+ object.hasCredential = message.hasCredential;
+ return object;
+ };
+
+ /**
+ * Converts this BigQueryConnectionSpec to JSON.
+ * @function toJSON
+ * @memberof google.cloud.datacatalog.v1.BigQueryConnectionSpec
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ BigQueryConnectionSpec.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for BigQueryConnectionSpec
+ * @function getTypeUrl
+ * @memberof google.cloud.datacatalog.v1.BigQueryConnectionSpec
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ BigQueryConnectionSpec.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.cloud.datacatalog.v1.BigQueryConnectionSpec";
+ };
+
+ /**
+ * ConnectionType enum.
+ * @name google.cloud.datacatalog.v1.BigQueryConnectionSpec.ConnectionType
+ * @enum {number}
+ * @property {number} CONNECTION_TYPE_UNSPECIFIED=0 CONNECTION_TYPE_UNSPECIFIED value
+ * @property {number} CLOUD_SQL=1 CLOUD_SQL value
+ */
+ BigQueryConnectionSpec.ConnectionType = (function() {
+ var valuesById = {}, values = Object.create(valuesById);
+ values[valuesById[0] = "CONNECTION_TYPE_UNSPECIFIED"] = 0;
+ values[valuesById[1] = "CLOUD_SQL"] = 1;
+ return values;
+ })();
+
+ return BigQueryConnectionSpec;
+ })();
+
+ v1.CloudSqlBigQueryConnectionSpec = (function() {
+
+ /**
+ * Properties of a CloudSqlBigQueryConnectionSpec.
+ * @memberof google.cloud.datacatalog.v1
+ * @interface ICloudSqlBigQueryConnectionSpec
+ * @property {string|null} [instanceId] CloudSqlBigQueryConnectionSpec instanceId
+ * @property {string|null} [database] CloudSqlBigQueryConnectionSpec database
+ * @property {google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec.DatabaseType|null} [type] CloudSqlBigQueryConnectionSpec type
+ */
+
+ /**
+ * Constructs a new CloudSqlBigQueryConnectionSpec.
+ * @memberof google.cloud.datacatalog.v1
+ * @classdesc Represents a CloudSqlBigQueryConnectionSpec.
+ * @implements ICloudSqlBigQueryConnectionSpec
+ * @constructor
+ * @param {google.cloud.datacatalog.v1.ICloudSqlBigQueryConnectionSpec=} [properties] Properties to set
+ */
+ function CloudSqlBigQueryConnectionSpec(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]];
+ }
+
+ /**
+ * CloudSqlBigQueryConnectionSpec instanceId.
+ * @member {string} instanceId
+ * @memberof google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec
+ * @instance
+ */
+ CloudSqlBigQueryConnectionSpec.prototype.instanceId = "";
+
+ /**
+ * CloudSqlBigQueryConnectionSpec database.
+ * @member {string} database
+ * @memberof google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec
+ * @instance
+ */
+ CloudSqlBigQueryConnectionSpec.prototype.database = "";
+
+ /**
+ * CloudSqlBigQueryConnectionSpec type.
+ * @member {google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec.DatabaseType} type
+ * @memberof google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec
+ * @instance
+ */
+ CloudSqlBigQueryConnectionSpec.prototype.type = 0;
+
+ /**
+ * Creates a new CloudSqlBigQueryConnectionSpec instance using the specified properties.
+ * @function create
+ * @memberof google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec
+ * @static
+ * @param {google.cloud.datacatalog.v1.ICloudSqlBigQueryConnectionSpec=} [properties] Properties to set
+ * @returns {google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec} CloudSqlBigQueryConnectionSpec instance
+ */
+ CloudSqlBigQueryConnectionSpec.create = function create(properties) {
+ return new CloudSqlBigQueryConnectionSpec(properties);
+ };
+
+ /**
+ * Encodes the specified CloudSqlBigQueryConnectionSpec message. Does not implicitly {@link google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec.verify|verify} messages.
+ * @function encode
+ * @memberof google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec
+ * @static
+ * @param {google.cloud.datacatalog.v1.ICloudSqlBigQueryConnectionSpec} message CloudSqlBigQueryConnectionSpec message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ CloudSqlBigQueryConnectionSpec.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.instanceId != null && Object.hasOwnProperty.call(message, "instanceId"))
+ writer.uint32(/* id 1, wireType 2 =*/10).string(message.instanceId);
+ if (message.database != null && Object.hasOwnProperty.call(message, "database"))
+ writer.uint32(/* id 2, wireType 2 =*/18).string(message.database);
+ if (message.type != null && Object.hasOwnProperty.call(message, "type"))
+ writer.uint32(/* id 3, wireType 0 =*/24).int32(message.type);
+ return writer;
+ };
+
+ /**
+ * Encodes the specified CloudSqlBigQueryConnectionSpec message, length delimited. Does not implicitly {@link google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec
+ * @static
+ * @param {google.cloud.datacatalog.v1.ICloudSqlBigQueryConnectionSpec} message CloudSqlBigQueryConnectionSpec message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ CloudSqlBigQueryConnectionSpec.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes a CloudSqlBigQueryConnectionSpec message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec} CloudSqlBigQueryConnectionSpec
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ CloudSqlBigQueryConnectionSpec.decode = function decode(reader, length) {
+ if (!(reader instanceof $Reader))
+ reader = $Reader.create(reader);
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ switch (tag >>> 3) {
+ case 1: {
+ message.instanceId = reader.string();
+ break;
+ }
+ case 2: {
+ message.database = reader.string();
+ break;
+ }
+ case 3: {
+ message.type = reader.int32();
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes a CloudSqlBigQueryConnectionSpec message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec} CloudSqlBigQueryConnectionSpec
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ CloudSqlBigQueryConnectionSpec.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies a CloudSqlBigQueryConnectionSpec message.
+ * @function verify
+ * @memberof google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ CloudSqlBigQueryConnectionSpec.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ if (message.instanceId != null && message.hasOwnProperty("instanceId"))
+ if (!$util.isString(message.instanceId))
+ return "instanceId: string expected";
+ if (message.database != null && message.hasOwnProperty("database"))
+ if (!$util.isString(message.database))
+ return "database: string expected";
+ if (message.type != null && message.hasOwnProperty("type"))
+ switch (message.type) {
+ default:
+ return "type: enum value expected";
+ case 0:
+ case 1:
+ case 2:
+ break;
+ }
+ return null;
+ };
+
+ /**
+ * Creates a CloudSqlBigQueryConnectionSpec message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec} CloudSqlBigQueryConnectionSpec
+ */
+ CloudSqlBigQueryConnectionSpec.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec)
+ return object;
+ var message = new $root.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec();
+ if (object.instanceId != null)
+ message.instanceId = String(object.instanceId);
+ if (object.database != null)
+ message.database = String(object.database);
+ switch (object.type) {
+ default:
+ if (typeof object.type === "number") {
+ message.type = object.type;
+ break;
+ }
+ break;
+ case "DATABASE_TYPE_UNSPECIFIED":
+ case 0:
+ message.type = 0;
+ break;
+ case "POSTGRES":
+ case 1:
+ message.type = 1;
+ break;
+ case "MYSQL":
+ case 2:
+ message.type = 2;
+ break;
+ }
+ return message;
+ };
+
+ /**
+ * Creates a plain object from a CloudSqlBigQueryConnectionSpec message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec
+ * @static
+ * @param {google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec} message CloudSqlBigQueryConnectionSpec
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ CloudSqlBigQueryConnectionSpec.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.defaults) {
+ object.instanceId = "";
+ object.database = "";
+ object.type = options.enums === String ? "DATABASE_TYPE_UNSPECIFIED" : 0;
+ }
+ if (message.instanceId != null && message.hasOwnProperty("instanceId"))
+ object.instanceId = message.instanceId;
+ if (message.database != null && message.hasOwnProperty("database"))
+ object.database = message.database;
+ if (message.type != null && message.hasOwnProperty("type"))
+ object.type = options.enums === String ? $root.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec.DatabaseType[message.type] === undefined ? message.type : $root.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec.DatabaseType[message.type] : message.type;
+ return object;
+ };
+
+ /**
+ * Converts this CloudSqlBigQueryConnectionSpec to JSON.
+ * @function toJSON
+ * @memberof google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ CloudSqlBigQueryConnectionSpec.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for CloudSqlBigQueryConnectionSpec
+ * @function getTypeUrl
+ * @memberof google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ CloudSqlBigQueryConnectionSpec.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec";
+ };
+
+ /**
+ * DatabaseType enum.
+ * @name google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec.DatabaseType
+ * @enum {number}
+ * @property {number} DATABASE_TYPE_UNSPECIFIED=0 DATABASE_TYPE_UNSPECIFIED value
+ * @property {number} POSTGRES=1 POSTGRES value
+ * @property {number} MYSQL=2 MYSQL value
+ */
+ CloudSqlBigQueryConnectionSpec.DatabaseType = (function() {
+ var valuesById = {}, values = Object.create(valuesById);
+ values[valuesById[0] = "DATABASE_TYPE_UNSPECIFIED"] = 0;
+ values[valuesById[1] = "POSTGRES"] = 1;
+ values[valuesById[2] = "MYSQL"] = 2;
+ return values;
+ })();
+
+ return CloudSqlBigQueryConnectionSpec;
+ })();
+
+ v1.BigQueryRoutineSpec = (function() {
+
+ /**
+ * Properties of a BigQueryRoutineSpec.
+ * @memberof google.cloud.datacatalog.v1
+ * @interface IBigQueryRoutineSpec
+ * @property {Array.|null} [importedLibraries] BigQueryRoutineSpec importedLibraries
+ */
+
+ /**
+ * Constructs a new BigQueryRoutineSpec.
+ * @memberof google.cloud.datacatalog.v1
+ * @classdesc Represents a BigQueryRoutineSpec.
+ * @implements IBigQueryRoutineSpec
+ * @constructor
+ * @param {google.cloud.datacatalog.v1.IBigQueryRoutineSpec=} [properties] Properties to set
+ */
+ function BigQueryRoutineSpec(properties) {
+ this.importedLibraries = [];
+ 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]];
+ }
+
+ /**
+ * BigQueryRoutineSpec importedLibraries.
+ * @member {Array.} importedLibraries
+ * @memberof google.cloud.datacatalog.v1.BigQueryRoutineSpec
+ * @instance
+ */
+ BigQueryRoutineSpec.prototype.importedLibraries = $util.emptyArray;
+
+ /**
+ * Creates a new BigQueryRoutineSpec instance using the specified properties.
+ * @function create
+ * @memberof google.cloud.datacatalog.v1.BigQueryRoutineSpec
+ * @static
+ * @param {google.cloud.datacatalog.v1.IBigQueryRoutineSpec=} [properties] Properties to set
+ * @returns {google.cloud.datacatalog.v1.BigQueryRoutineSpec} BigQueryRoutineSpec instance
+ */
+ BigQueryRoutineSpec.create = function create(properties) {
+ return new BigQueryRoutineSpec(properties);
+ };
+
+ /**
+ * Encodes the specified BigQueryRoutineSpec message. Does not implicitly {@link google.cloud.datacatalog.v1.BigQueryRoutineSpec.verify|verify} messages.
+ * @function encode
+ * @memberof google.cloud.datacatalog.v1.BigQueryRoutineSpec
+ * @static
+ * @param {google.cloud.datacatalog.v1.IBigQueryRoutineSpec} message BigQueryRoutineSpec message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ BigQueryRoutineSpec.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.importedLibraries != null && message.importedLibraries.length)
+ for (var i = 0; i < message.importedLibraries.length; ++i)
+ writer.uint32(/* id 1, wireType 2 =*/10).string(message.importedLibraries[i]);
+ return writer;
+ };
+
+ /**
+ * Encodes the specified BigQueryRoutineSpec message, length delimited. Does not implicitly {@link google.cloud.datacatalog.v1.BigQueryRoutineSpec.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.cloud.datacatalog.v1.BigQueryRoutineSpec
+ * @static
+ * @param {google.cloud.datacatalog.v1.IBigQueryRoutineSpec} message BigQueryRoutineSpec message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ BigQueryRoutineSpec.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes a BigQueryRoutineSpec message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.cloud.datacatalog.v1.BigQueryRoutineSpec
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.cloud.datacatalog.v1.BigQueryRoutineSpec} BigQueryRoutineSpec
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ BigQueryRoutineSpec.decode = function decode(reader, length) {
+ if (!(reader instanceof $Reader))
+ reader = $Reader.create(reader);
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.datacatalog.v1.BigQueryRoutineSpec();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ switch (tag >>> 3) {
+ case 1: {
+ if (!(message.importedLibraries && message.importedLibraries.length))
+ message.importedLibraries = [];
+ message.importedLibraries.push(reader.string());
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes a BigQueryRoutineSpec message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.cloud.datacatalog.v1.BigQueryRoutineSpec
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.cloud.datacatalog.v1.BigQueryRoutineSpec} BigQueryRoutineSpec
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ BigQueryRoutineSpec.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies a BigQueryRoutineSpec message.
+ * @function verify
+ * @memberof google.cloud.datacatalog.v1.BigQueryRoutineSpec
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ BigQueryRoutineSpec.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ if (message.importedLibraries != null && message.hasOwnProperty("importedLibraries")) {
+ if (!Array.isArray(message.importedLibraries))
+ return "importedLibraries: array expected";
+ for (var i = 0; i < message.importedLibraries.length; ++i)
+ if (!$util.isString(message.importedLibraries[i]))
+ return "importedLibraries: string[] expected";
+ }
+ return null;
+ };
+
+ /**
+ * Creates a BigQueryRoutineSpec message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.cloud.datacatalog.v1.BigQueryRoutineSpec
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.cloud.datacatalog.v1.BigQueryRoutineSpec} BigQueryRoutineSpec
+ */
+ BigQueryRoutineSpec.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.cloud.datacatalog.v1.BigQueryRoutineSpec)
+ return object;
+ var message = new $root.google.cloud.datacatalog.v1.BigQueryRoutineSpec();
+ if (object.importedLibraries) {
+ if (!Array.isArray(object.importedLibraries))
+ throw TypeError(".google.cloud.datacatalog.v1.BigQueryRoutineSpec.importedLibraries: array expected");
+ message.importedLibraries = [];
+ for (var i = 0; i < object.importedLibraries.length; ++i)
+ message.importedLibraries[i] = String(object.importedLibraries[i]);
+ }
+ return message;
+ };
+
+ /**
+ * Creates a plain object from a BigQueryRoutineSpec message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.cloud.datacatalog.v1.BigQueryRoutineSpec
+ * @static
+ * @param {google.cloud.datacatalog.v1.BigQueryRoutineSpec} message BigQueryRoutineSpec
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ BigQueryRoutineSpec.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.arrays || options.defaults)
+ object.importedLibraries = [];
+ if (message.importedLibraries && message.importedLibraries.length) {
+ object.importedLibraries = [];
+ for (var j = 0; j < message.importedLibraries.length; ++j)
+ object.importedLibraries[j] = message.importedLibraries[j];
+ }
+ return object;
+ };
+
+ /**
+ * Converts this BigQueryRoutineSpec to JSON.
+ * @function toJSON
+ * @memberof google.cloud.datacatalog.v1.BigQueryRoutineSpec
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ BigQueryRoutineSpec.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for BigQueryRoutineSpec
+ * @function getTypeUrl
+ * @memberof google.cloud.datacatalog.v1.BigQueryRoutineSpec
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ BigQueryRoutineSpec.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.cloud.datacatalog.v1.BigQueryRoutineSpec";
+ };
+
+ return BigQueryRoutineSpec;
+ })();
+
+ v1.PersonalDetails = (function() {
+
+ /**
+ * Properties of a PersonalDetails.
+ * @memberof google.cloud.datacatalog.v1
+ * @interface IPersonalDetails
+ * @property {boolean|null} [starred] PersonalDetails starred
+ * @property {google.protobuf.ITimestamp|null} [starTime] PersonalDetails starTime
+ */
+
+ /**
+ * Constructs a new PersonalDetails.
+ * @memberof google.cloud.datacatalog.v1
+ * @classdesc Represents a PersonalDetails.
+ * @implements IPersonalDetails
+ * @constructor
+ * @param {google.cloud.datacatalog.v1.IPersonalDetails=} [properties] Properties to set
+ */
+ function PersonalDetails(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]];
+ }
+
+ /**
+ * PersonalDetails starred.
+ * @member {boolean} starred
+ * @memberof google.cloud.datacatalog.v1.PersonalDetails
+ * @instance
+ */
+ PersonalDetails.prototype.starred = false;
+
+ /**
+ * PersonalDetails starTime.
+ * @member {google.protobuf.ITimestamp|null|undefined} starTime
+ * @memberof google.cloud.datacatalog.v1.PersonalDetails
+ * @instance
+ */
+ PersonalDetails.prototype.starTime = null;
+
+ /**
+ * Creates a new PersonalDetails instance using the specified properties.
+ * @function create
+ * @memberof google.cloud.datacatalog.v1.PersonalDetails
+ * @static
+ * @param {google.cloud.datacatalog.v1.IPersonalDetails=} [properties] Properties to set
+ * @returns {google.cloud.datacatalog.v1.PersonalDetails} PersonalDetails instance
+ */
+ PersonalDetails.create = function create(properties) {
+ return new PersonalDetails(properties);
+ };
+
+ /**
+ * Encodes the specified PersonalDetails message. Does not implicitly {@link google.cloud.datacatalog.v1.PersonalDetails.verify|verify} messages.
+ * @function encode
+ * @memberof google.cloud.datacatalog.v1.PersonalDetails
+ * @static
+ * @param {google.cloud.datacatalog.v1.IPersonalDetails} message PersonalDetails message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ PersonalDetails.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.starred != null && Object.hasOwnProperty.call(message, "starred"))
+ writer.uint32(/* id 1, wireType 0 =*/8).bool(message.starred);
+ if (message.starTime != null && Object.hasOwnProperty.call(message, "starTime"))
+ $root.google.protobuf.Timestamp.encode(message.starTime, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
+ return writer;
+ };
+
+ /**
+ * Encodes the specified PersonalDetails message, length delimited. Does not implicitly {@link google.cloud.datacatalog.v1.PersonalDetails.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.cloud.datacatalog.v1.PersonalDetails
+ * @static
+ * @param {google.cloud.datacatalog.v1.IPersonalDetails} message PersonalDetails message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ PersonalDetails.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes a PersonalDetails message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.cloud.datacatalog.v1.PersonalDetails
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.cloud.datacatalog.v1.PersonalDetails} PersonalDetails
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ PersonalDetails.decode = function decode(reader, length) {
+ if (!(reader instanceof $Reader))
+ reader = $Reader.create(reader);
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.datacatalog.v1.PersonalDetails();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ switch (tag >>> 3) {
+ case 1: {
+ message.starred = reader.bool();
+ break;
+ }
+ case 2: {
+ message.starTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32());
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes a PersonalDetails message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.cloud.datacatalog.v1.PersonalDetails
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.cloud.datacatalog.v1.PersonalDetails} PersonalDetails
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ PersonalDetails.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies a PersonalDetails message.
+ * @function verify
+ * @memberof google.cloud.datacatalog.v1.PersonalDetails
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ PersonalDetails.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ if (message.starred != null && message.hasOwnProperty("starred"))
+ if (typeof message.starred !== "boolean")
+ return "starred: boolean expected";
+ if (message.starTime != null && message.hasOwnProperty("starTime")) {
+ var error = $root.google.protobuf.Timestamp.verify(message.starTime);
+ if (error)
+ return "starTime." + error;
+ }
+ return null;
+ };
+
+ /**
+ * Creates a PersonalDetails message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.cloud.datacatalog.v1.PersonalDetails
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.cloud.datacatalog.v1.PersonalDetails} PersonalDetails
+ */
+ PersonalDetails.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.cloud.datacatalog.v1.PersonalDetails)
+ return object;
+ var message = new $root.google.cloud.datacatalog.v1.PersonalDetails();
+ if (object.starred != null)
+ message.starred = Boolean(object.starred);
+ if (object.starTime != null) {
+ if (typeof object.starTime !== "object")
+ throw TypeError(".google.cloud.datacatalog.v1.PersonalDetails.starTime: object expected");
+ message.starTime = $root.google.protobuf.Timestamp.fromObject(object.starTime);
+ }
+ return message;
+ };
+
+ /**
+ * Creates a plain object from a PersonalDetails message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.cloud.datacatalog.v1.PersonalDetails
+ * @static
+ * @param {google.cloud.datacatalog.v1.PersonalDetails} message PersonalDetails
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ PersonalDetails.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.defaults) {
+ object.starred = false;
+ object.starTime = null;
+ }
+ if (message.starred != null && message.hasOwnProperty("starred"))
+ object.starred = message.starred;
+ if (message.starTime != null && message.hasOwnProperty("starTime"))
+ object.starTime = $root.google.protobuf.Timestamp.toObject(message.starTime, options);
+ return object;
+ };
+
+ /**
+ * Converts this PersonalDetails to JSON.
+ * @function toJSON
+ * @memberof google.cloud.datacatalog.v1.PersonalDetails
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ PersonalDetails.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for PersonalDetails
+ * @function getTypeUrl
+ * @memberof google.cloud.datacatalog.v1.PersonalDetails
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ PersonalDetails.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.cloud.datacatalog.v1.PersonalDetails";
+ };
+
+ return PersonalDetails;
+ })();
+
+ /**
+ * IntegratedSystem enum.
+ * @name google.cloud.datacatalog.v1.IntegratedSystem
+ * @enum {number}
+ * @property {number} INTEGRATED_SYSTEM_UNSPECIFIED=0 INTEGRATED_SYSTEM_UNSPECIFIED value
+ * @property {number} BIGQUERY=1 BIGQUERY value
+ * @property {number} CLOUD_PUBSUB=2 CLOUD_PUBSUB value
+ * @property {number} DATAPROC_METASTORE=3 DATAPROC_METASTORE value
+ * @property {number} DATAPLEX=4 DATAPLEX value
+ */
+ v1.IntegratedSystem = (function() {
+ var valuesById = {}, values = Object.create(valuesById);
+ values[valuesById[0] = "INTEGRATED_SYSTEM_UNSPECIFIED"] = 0;
+ values[valuesById[1] = "BIGQUERY"] = 1;
+ values[valuesById[2] = "CLOUD_PUBSUB"] = 2;
+ values[valuesById[3] = "DATAPROC_METASTORE"] = 3;
+ values[valuesById[4] = "DATAPLEX"] = 4;
+ return values;
+ })();
+
+ v1.DataSource = (function() {
+
+ /**
+ * Properties of a DataSource.
+ * @memberof google.cloud.datacatalog.v1
+ * @interface IDataSource
+ * @property {google.cloud.datacatalog.v1.DataSource.Service|null} [service] DataSource service
+ * @property {string|null} [resource] DataSource resource
+ * @property {string|null} [sourceEntry] DataSource sourceEntry
+ * @property {google.cloud.datacatalog.v1.IStorageProperties|null} [storageProperties] DataSource storageProperties
+ */
+
+ /**
+ * Constructs a new DataSource.
+ * @memberof google.cloud.datacatalog.v1
+ * @classdesc Represents a DataSource.
+ * @implements IDataSource
+ * @constructor
+ * @param {google.cloud.datacatalog.v1.IDataSource=} [properties] Properties to set
+ */
+ function DataSource(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]];
+ }
+
+ /**
+ * DataSource service.
+ * @member {google.cloud.datacatalog.v1.DataSource.Service} service
+ * @memberof google.cloud.datacatalog.v1.DataSource
+ * @instance
+ */
+ DataSource.prototype.service = 0;
+
+ /**
+ * DataSource resource.
+ * @member {string} resource
+ * @memberof google.cloud.datacatalog.v1.DataSource
+ * @instance
+ */
+ DataSource.prototype.resource = "";
+
+ /**
+ * DataSource sourceEntry.
+ * @member {string} sourceEntry
+ * @memberof google.cloud.datacatalog.v1.DataSource
+ * @instance
+ */
+ DataSource.prototype.sourceEntry = "";
+
+ /**
+ * DataSource storageProperties.
+ * @member {google.cloud.datacatalog.v1.IStorageProperties|null|undefined} storageProperties
+ * @memberof google.cloud.datacatalog.v1.DataSource
+ * @instance
+ */
+ DataSource.prototype.storageProperties = null;
+
+ // OneOf field names bound to virtual getters and setters
+ var $oneOfFields;
+
+ /**
+ * DataSource properties.
+ * @member {"storageProperties"|undefined} properties
+ * @memberof google.cloud.datacatalog.v1.DataSource
+ * @instance
+ */
+ Object.defineProperty(DataSource.prototype, "properties", {
+ get: $util.oneOfGetter($oneOfFields = ["storageProperties"]),
+ set: $util.oneOfSetter($oneOfFields)
+ });
+
+ /**
+ * Creates a new DataSource instance using the specified properties.
+ * @function create
+ * @memberof google.cloud.datacatalog.v1.DataSource
+ * @static
+ * @param {google.cloud.datacatalog.v1.IDataSource=} [properties] Properties to set
+ * @returns {google.cloud.datacatalog.v1.DataSource} DataSource instance
+ */
+ DataSource.create = function create(properties) {
+ return new DataSource(properties);
+ };
+
+ /**
+ * Encodes the specified DataSource message. Does not implicitly {@link google.cloud.datacatalog.v1.DataSource.verify|verify} messages.
+ * @function encode
+ * @memberof google.cloud.datacatalog.v1.DataSource
+ * @static
+ * @param {google.cloud.datacatalog.v1.IDataSource} message DataSource message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ DataSource.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.service != null && Object.hasOwnProperty.call(message, "service"))
+ writer.uint32(/* id 1, wireType 0 =*/8).int32(message.service);
+ if (message.resource != null && Object.hasOwnProperty.call(message, "resource"))
+ writer.uint32(/* id 2, wireType 2 =*/18).string(message.resource);
+ if (message.sourceEntry != null && Object.hasOwnProperty.call(message, "sourceEntry"))
+ writer.uint32(/* id 3, wireType 2 =*/26).string(message.sourceEntry);
+ if (message.storageProperties != null && Object.hasOwnProperty.call(message, "storageProperties"))
+ $root.google.cloud.datacatalog.v1.StorageProperties.encode(message.storageProperties, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim();
+ return writer;
+ };
+
+ /**
+ * Encodes the specified DataSource message, length delimited. Does not implicitly {@link google.cloud.datacatalog.v1.DataSource.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.cloud.datacatalog.v1.DataSource
+ * @static
+ * @param {google.cloud.datacatalog.v1.IDataSource} message DataSource message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ DataSource.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes a DataSource message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.cloud.datacatalog.v1.DataSource
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.cloud.datacatalog.v1.DataSource} DataSource
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ DataSource.decode = function decode(reader, length) {
+ if (!(reader instanceof $Reader))
+ reader = $Reader.create(reader);
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.datacatalog.v1.DataSource();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ switch (tag >>> 3) {
+ case 1: {
+ message.service = reader.int32();
+ break;
+ }
+ case 2: {
+ message.resource = reader.string();
+ break;
+ }
+ case 3: {
+ message.sourceEntry = reader.string();
+ break;
+ }
+ case 4: {
+ message.storageProperties = $root.google.cloud.datacatalog.v1.StorageProperties.decode(reader, reader.uint32());
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes a DataSource message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.cloud.datacatalog.v1.DataSource
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.cloud.datacatalog.v1.DataSource} DataSource
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ DataSource.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies a DataSource message.
+ * @function verify
+ * @memberof google.cloud.datacatalog.v1.DataSource
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ DataSource.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ var properties = {};
+ if (message.service != null && message.hasOwnProperty("service"))
+ switch (message.service) {
+ default:
+ return "service: enum value expected";
+ case 0:
+ case 1:
+ case 2:
+ break;
+ }
+ if (message.resource != null && message.hasOwnProperty("resource"))
+ if (!$util.isString(message.resource))
+ return "resource: string expected";
+ if (message.sourceEntry != null && message.hasOwnProperty("sourceEntry"))
+ if (!$util.isString(message.sourceEntry))
+ return "sourceEntry: string expected";
+ if (message.storageProperties != null && message.hasOwnProperty("storageProperties")) {
+ properties.properties = 1;
+ {
+ var error = $root.google.cloud.datacatalog.v1.StorageProperties.verify(message.storageProperties);
+ if (error)
+ return "storageProperties." + error;
+ }
+ }
+ return null;
+ };
+
+ /**
+ * Creates a DataSource message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.cloud.datacatalog.v1.DataSource
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.cloud.datacatalog.v1.DataSource} DataSource
+ */
+ DataSource.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.cloud.datacatalog.v1.DataSource)
+ return object;
+ var message = new $root.google.cloud.datacatalog.v1.DataSource();
+ switch (object.service) {
+ default:
+ if (typeof object.service === "number") {
+ message.service = object.service;
+ break;
+ }
+ break;
+ case "SERVICE_UNSPECIFIED":
+ case 0:
+ message.service = 0;
+ break;
+ case "CLOUD_STORAGE":
+ case 1:
+ message.service = 1;
+ break;
+ case "BIGQUERY":
+ case 2:
+ message.service = 2;
+ break;
+ }
+ if (object.resource != null)
+ message.resource = String(object.resource);
+ if (object.sourceEntry != null)
+ message.sourceEntry = String(object.sourceEntry);
+ if (object.storageProperties != null) {
+ if (typeof object.storageProperties !== "object")
+ throw TypeError(".google.cloud.datacatalog.v1.DataSource.storageProperties: object expected");
+ message.storageProperties = $root.google.cloud.datacatalog.v1.StorageProperties.fromObject(object.storageProperties);
+ }
+ return message;
+ };
+
+ /**
+ * Creates a plain object from a DataSource message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.cloud.datacatalog.v1.DataSource
+ * @static
+ * @param {google.cloud.datacatalog.v1.DataSource} message DataSource
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ DataSource.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.defaults) {
+ object.service = options.enums === String ? "SERVICE_UNSPECIFIED" : 0;
+ object.resource = "";
+ object.sourceEntry = "";
+ }
+ if (message.service != null && message.hasOwnProperty("service"))
+ object.service = options.enums === String ? $root.google.cloud.datacatalog.v1.DataSource.Service[message.service] === undefined ? message.service : $root.google.cloud.datacatalog.v1.DataSource.Service[message.service] : message.service;
+ if (message.resource != null && message.hasOwnProperty("resource"))
+ object.resource = message.resource;
+ if (message.sourceEntry != null && message.hasOwnProperty("sourceEntry"))
+ object.sourceEntry = message.sourceEntry;
+ if (message.storageProperties != null && message.hasOwnProperty("storageProperties")) {
+ object.storageProperties = $root.google.cloud.datacatalog.v1.StorageProperties.toObject(message.storageProperties, options);
+ if (options.oneofs)
+ object.properties = "storageProperties";
+ }
+ return object;
+ };
+
+ /**
+ * Converts this DataSource to JSON.
+ * @function toJSON
+ * @memberof google.cloud.datacatalog.v1.DataSource
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ DataSource.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for DataSource
+ * @function getTypeUrl
+ * @memberof google.cloud.datacatalog.v1.DataSource
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ DataSource.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.cloud.datacatalog.v1.DataSource";
+ };
+
+ /**
+ * Service enum.
+ * @name google.cloud.datacatalog.v1.DataSource.Service
+ * @enum {number}
+ * @property {number} SERVICE_UNSPECIFIED=0 SERVICE_UNSPECIFIED value
+ * @property {number} CLOUD_STORAGE=1 CLOUD_STORAGE value
+ * @property {number} BIGQUERY=2 BIGQUERY value
+ */
+ DataSource.Service = (function() {
+ var valuesById = {}, values = Object.create(valuesById);
+ values[valuesById[0] = "SERVICE_UNSPECIFIED"] = 0;
+ values[valuesById[1] = "CLOUD_STORAGE"] = 1;
+ values[valuesById[2] = "BIGQUERY"] = 2;
+ return values;
+ })();
+
+ return DataSource;
+ })();
+
+ v1.StorageProperties = (function() {
+
+ /**
+ * Properties of a StorageProperties.
+ * @memberof google.cloud.datacatalog.v1
+ * @interface IStorageProperties
+ * @property {Array.|null} [filePattern] StorageProperties filePattern
+ * @property {string|null} [fileType] StorageProperties fileType
+ */
+
+ /**
+ * Constructs a new StorageProperties.
+ * @memberof google.cloud.datacatalog.v1
+ * @classdesc Represents a StorageProperties.
+ * @implements IStorageProperties
+ * @constructor
+ * @param {google.cloud.datacatalog.v1.IStorageProperties=} [properties] Properties to set
+ */
+ function StorageProperties(properties) {
+ this.filePattern = [];
+ 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]];
+ }
+
+ /**
+ * StorageProperties filePattern.
+ * @member {Array.} filePattern
+ * @memberof google.cloud.datacatalog.v1.StorageProperties
+ * @instance
+ */
+ StorageProperties.prototype.filePattern = $util.emptyArray;
+
+ /**
+ * StorageProperties fileType.
+ * @member {string} fileType
+ * @memberof google.cloud.datacatalog.v1.StorageProperties
+ * @instance
+ */
+ StorageProperties.prototype.fileType = "";
+
+ /**
+ * Creates a new StorageProperties instance using the specified properties.
+ * @function create
+ * @memberof google.cloud.datacatalog.v1.StorageProperties
+ * @static
+ * @param {google.cloud.datacatalog.v1.IStorageProperties=} [properties] Properties to set
+ * @returns {google.cloud.datacatalog.v1.StorageProperties} StorageProperties instance
+ */
+ StorageProperties.create = function create(properties) {
+ return new StorageProperties(properties);
+ };
+
+ /**
+ * Encodes the specified StorageProperties message. Does not implicitly {@link google.cloud.datacatalog.v1.StorageProperties.verify|verify} messages.
+ * @function encode
+ * @memberof google.cloud.datacatalog.v1.StorageProperties
+ * @static
+ * @param {google.cloud.datacatalog.v1.IStorageProperties} message StorageProperties message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ StorageProperties.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.filePattern != null && message.filePattern.length)
+ for (var i = 0; i < message.filePattern.length; ++i)
+ writer.uint32(/* id 1, wireType 2 =*/10).string(message.filePattern[i]);
+ if (message.fileType != null && Object.hasOwnProperty.call(message, "fileType"))
+ writer.uint32(/* id 2, wireType 2 =*/18).string(message.fileType);
+ return writer;
+ };
+
+ /**
+ * Encodes the specified StorageProperties message, length delimited. Does not implicitly {@link google.cloud.datacatalog.v1.StorageProperties.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.cloud.datacatalog.v1.StorageProperties
+ * @static
+ * @param {google.cloud.datacatalog.v1.IStorageProperties} message StorageProperties message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ StorageProperties.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes a StorageProperties message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.cloud.datacatalog.v1.StorageProperties
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.cloud.datacatalog.v1.StorageProperties} StorageProperties
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ StorageProperties.decode = function decode(reader, length) {
+ if (!(reader instanceof $Reader))
+ reader = $Reader.create(reader);
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.datacatalog.v1.StorageProperties();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ switch (tag >>> 3) {
+ case 1: {
+ if (!(message.filePattern && message.filePattern.length))
+ message.filePattern = [];
+ message.filePattern.push(reader.string());
+ break;
+ }
+ case 2: {
+ message.fileType = reader.string();
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes a StorageProperties message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.cloud.datacatalog.v1.StorageProperties
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.cloud.datacatalog.v1.StorageProperties} StorageProperties
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ StorageProperties.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies a StorageProperties message.
+ * @function verify
+ * @memberof google.cloud.datacatalog.v1.StorageProperties
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ StorageProperties.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ if (message.filePattern != null && message.hasOwnProperty("filePattern")) {
+ if (!Array.isArray(message.filePattern))
+ return "filePattern: array expected";
+ for (var i = 0; i < message.filePattern.length; ++i)
+ if (!$util.isString(message.filePattern[i]))
+ return "filePattern: string[] expected";
+ }
+ if (message.fileType != null && message.hasOwnProperty("fileType"))
+ if (!$util.isString(message.fileType))
+ return "fileType: string expected";
+ return null;
+ };
+
+ /**
+ * Creates a StorageProperties message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.cloud.datacatalog.v1.StorageProperties
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.cloud.datacatalog.v1.StorageProperties} StorageProperties
+ */
+ StorageProperties.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.cloud.datacatalog.v1.StorageProperties)
+ return object;
+ var message = new $root.google.cloud.datacatalog.v1.StorageProperties();
+ if (object.filePattern) {
+ if (!Array.isArray(object.filePattern))
+ throw TypeError(".google.cloud.datacatalog.v1.StorageProperties.filePattern: array expected");
+ message.filePattern = [];
+ for (var i = 0; i < object.filePattern.length; ++i)
+ message.filePattern[i] = String(object.filePattern[i]);
+ }
+ if (object.fileType != null)
+ message.fileType = String(object.fileType);
+ return message;
+ };
+
+ /**
+ * Creates a plain object from a StorageProperties message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.cloud.datacatalog.v1.StorageProperties
+ * @static
+ * @param {google.cloud.datacatalog.v1.StorageProperties} message StorageProperties
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ StorageProperties.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.arrays || options.defaults)
+ object.filePattern = [];
+ if (options.defaults)
+ object.fileType = "";
+ if (message.filePattern && message.filePattern.length) {
+ object.filePattern = [];
+ for (var j = 0; j < message.filePattern.length; ++j)
+ object.filePattern[j] = message.filePattern[j];
+ }
+ if (message.fileType != null && message.hasOwnProperty("fileType"))
+ object.fileType = message.fileType;
+ return object;
+ };
+
+ /**
+ * Converts this StorageProperties to JSON.
+ * @function toJSON
+ * @memberof google.cloud.datacatalog.v1.StorageProperties
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ StorageProperties.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for StorageProperties
+ * @function getTypeUrl
+ * @memberof google.cloud.datacatalog.v1.StorageProperties
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ StorageProperties.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.cloud.datacatalog.v1.StorageProperties";
+ };
+
+ return StorageProperties;
+ })();
+
+ v1.DataCatalog = (function() {
+
+ /**
+ * Constructs a new DataCatalog service.
+ * @memberof google.cloud.datacatalog.v1
+ * @classdesc Represents a DataCatalog
+ * @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 DataCatalog(rpcImpl, requestDelimited, responseDelimited) {
+ $protobuf.rpc.Service.call(this, rpcImpl, requestDelimited, responseDelimited);
+ }
+
+ (DataCatalog.prototype = Object.create($protobuf.rpc.Service.prototype)).constructor = DataCatalog;
+
+ /**
+ * Creates new DataCatalog service using the specified rpc implementation.
+ * @function create
+ * @memberof google.cloud.datacatalog.v1.DataCatalog
+ * @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 {DataCatalog} RPC service. Useful where requests and/or responses are streamed.
+ */
+ DataCatalog.create = function create(rpcImpl, requestDelimited, responseDelimited) {
+ return new this(rpcImpl, requestDelimited, responseDelimited);
+ };
+
+ /**
+ * Callback as used by {@link google.cloud.datacatalog.v1.DataCatalog|searchCatalog}.
+ * @memberof google.cloud.datacatalog.v1.DataCatalog
+ * @typedef SearchCatalogCallback
+ * @type {function}
+ * @param {Error|null} error Error, if any
+ * @param {google.cloud.datacatalog.v1.SearchCatalogResponse} [response] SearchCatalogResponse
+ */
+
+ /**
+ * Calls SearchCatalog.
+ * @function searchCatalog
+ * @memberof google.cloud.datacatalog.v1.DataCatalog
+ * @instance
+ * @param {google.cloud.datacatalog.v1.ISearchCatalogRequest} request SearchCatalogRequest message or plain object
+ * @param {google.cloud.datacatalog.v1.DataCatalog.SearchCatalogCallback} callback Node-style callback called with the error, if any, and SearchCatalogResponse
+ * @returns {undefined}
+ * @variation 1
+ */
+ Object.defineProperty(DataCatalog.prototype.searchCatalog = function searchCatalog(request, callback) {
+ return this.rpcCall(searchCatalog, $root.google.cloud.datacatalog.v1.SearchCatalogRequest, $root.google.cloud.datacatalog.v1.SearchCatalogResponse, request, callback);
+ }, "name", { value: "SearchCatalog" });
+
+ /**
+ * Calls SearchCatalog.
+ * @function searchCatalog
+ * @memberof google.cloud.datacatalog.v1.DataCatalog
+ * @instance
+ * @param {google.cloud.datacatalog.v1.ISearchCatalogRequest} request SearchCatalogRequest message or plain object
+ * @returns {Promise} Promise
+ * @variation 2
+ */
+
+ /**
+ * Callback as used by {@link google.cloud.datacatalog.v1.DataCatalog|createEntryGroup}.
+ * @memberof google.cloud.datacatalog.v1.DataCatalog
+ * @typedef CreateEntryGroupCallback
+ * @type {function}
+ * @param {Error|null} error Error, if any
+ * @param {google.cloud.datacatalog.v1.EntryGroup} [response] EntryGroup
+ */
+
+ /**
+ * Calls CreateEntryGroup.
+ * @function createEntryGroup
+ * @memberof google.cloud.datacatalog.v1.DataCatalog
+ * @instance
+ * @param {google.cloud.datacatalog.v1.ICreateEntryGroupRequest} request CreateEntryGroupRequest message or plain object
+ * @param {google.cloud.datacatalog.v1.DataCatalog.CreateEntryGroupCallback} callback Node-style callback called with the error, if any, and EntryGroup
+ * @returns {undefined}
+ * @variation 1
+ */
+ Object.defineProperty(DataCatalog.prototype.createEntryGroup = function createEntryGroup(request, callback) {
+ return this.rpcCall(createEntryGroup, $root.google.cloud.datacatalog.v1.CreateEntryGroupRequest, $root.google.cloud.datacatalog.v1.EntryGroup, request, callback);
+ }, "name", { value: "CreateEntryGroup" });
+
+ /**
+ * Calls CreateEntryGroup.
+ * @function createEntryGroup
+ * @memberof google.cloud.datacatalog.v1.DataCatalog
+ * @instance
+ * @param {google.cloud.datacatalog.v1.ICreateEntryGroupRequest} request CreateEntryGroupRequest message or plain object
+ * @returns {Promise} Promise
+ * @variation 2
+ */
+
+ /**
+ * Callback as used by {@link google.cloud.datacatalog.v1.DataCatalog|getEntryGroup}.
+ * @memberof google.cloud.datacatalog.v1.DataCatalog
+ * @typedef GetEntryGroupCallback
+ * @type {function}
+ * @param {Error|null} error Error, if any
+ * @param {google.cloud.datacatalog.v1.EntryGroup} [response] EntryGroup
+ */
+
+ /**
+ * Calls GetEntryGroup.
+ * @function getEntryGroup
+ * @memberof google.cloud.datacatalog.v1.DataCatalog
+ * @instance
+ * @param {google.cloud.datacatalog.v1.IGetEntryGroupRequest} request GetEntryGroupRequest message or plain object
+ * @param {google.cloud.datacatalog.v1.DataCatalog.GetEntryGroupCallback} callback Node-style callback called with the error, if any, and EntryGroup
+ * @returns {undefined}
+ * @variation 1
+ */
+ Object.defineProperty(DataCatalog.prototype.getEntryGroup = function getEntryGroup(request, callback) {
+ return this.rpcCall(getEntryGroup, $root.google.cloud.datacatalog.v1.GetEntryGroupRequest, $root.google.cloud.datacatalog.v1.EntryGroup, request, callback);
+ }, "name", { value: "GetEntryGroup" });
+
+ /**
+ * Calls GetEntryGroup.
+ * @function getEntryGroup
+ * @memberof google.cloud.datacatalog.v1.DataCatalog
+ * @instance
+ * @param {google.cloud.datacatalog.v1.IGetEntryGroupRequest} request GetEntryGroupRequest message or plain object
+ * @returns {Promise} Promise
+ * @variation 2
+ */
+
+ /**
+ * Callback as used by {@link google.cloud.datacatalog.v1.DataCatalog|updateEntryGroup}.
+ * @memberof google.cloud.datacatalog.v1.DataCatalog
+ * @typedef UpdateEntryGroupCallback
+ * @type {function}
+ * @param {Error|null} error Error, if any
+ * @param {google.cloud.datacatalog.v1.EntryGroup} [response] EntryGroup
+ */
+
+ /**
+ * Calls UpdateEntryGroup.
+ * @function updateEntryGroup
+ * @memberof google.cloud.datacatalog.v1.DataCatalog
+ * @instance
+ * @param {google.cloud.datacatalog.v1.IUpdateEntryGroupRequest} request UpdateEntryGroupRequest message or plain object
+ * @param {google.cloud.datacatalog.v1.DataCatalog.UpdateEntryGroupCallback} callback Node-style callback called with the error, if any, and EntryGroup
+ * @returns {undefined}
+ * @variation 1
+ */
+ Object.defineProperty(DataCatalog.prototype.updateEntryGroup = function updateEntryGroup(request, callback) {
+ return this.rpcCall(updateEntryGroup, $root.google.cloud.datacatalog.v1.UpdateEntryGroupRequest, $root.google.cloud.datacatalog.v1.EntryGroup, request, callback);
+ }, "name", { value: "UpdateEntryGroup" });
+
+ /**
+ * Calls UpdateEntryGroup.
+ * @function updateEntryGroup
+ * @memberof google.cloud.datacatalog.v1.DataCatalog
+ * @instance
+ * @param {google.cloud.datacatalog.v1.IUpdateEntryGroupRequest} request UpdateEntryGroupRequest message or plain object
+ * @returns {Promise} Promise
+ * @variation 2
+ */
+
+ /**
+ * Callback as used by {@link google.cloud.datacatalog.v1.DataCatalog|deleteEntryGroup}.
+ * @memberof google.cloud.datacatalog.v1.DataCatalog
+ * @typedef DeleteEntryGroupCallback
+ * @type {function}
+ * @param {Error|null} error Error, if any
+ * @param {google.protobuf.Empty} [response] Empty
+ */
+
+ /**
+ * Calls DeleteEntryGroup.
+ * @function deleteEntryGroup
+ * @memberof google.cloud.datacatalog.v1.DataCatalog
+ * @instance
+ * @param {google.cloud.datacatalog.v1.IDeleteEntryGroupRequest} request DeleteEntryGroupRequest message or plain object
+ * @param {google.cloud.datacatalog.v1.DataCatalog.DeleteEntryGroupCallback} callback Node-style callback called with the error, if any, and Empty
+ * @returns {undefined}
+ * @variation 1
+ */
+ Object.defineProperty(DataCatalog.prototype.deleteEntryGroup = function deleteEntryGroup(request, callback) {
+ return this.rpcCall(deleteEntryGroup, $root.google.cloud.datacatalog.v1.DeleteEntryGroupRequest, $root.google.protobuf.Empty, request, callback);
+ }, "name", { value: "DeleteEntryGroup" });
+
+ /**
+ * Calls DeleteEntryGroup.
+ * @function deleteEntryGroup
+ * @memberof google.cloud.datacatalog.v1.DataCatalog
+ * @instance
+ * @param {google.cloud.datacatalog.v1.IDeleteEntryGroupRequest} request DeleteEntryGroupRequest message or plain object
+ * @returns {Promise} Promise
+ * @variation 2
+ */
+
+ /**
+ * Callback as used by {@link google.cloud.datacatalog.v1.DataCatalog|listEntryGroups}.
+ * @memberof google.cloud.datacatalog.v1.DataCatalog
+ * @typedef ListEntryGroupsCallback
+ * @type {function}
+ * @param {Error|null} error Error, if any
+ * @param {google.cloud.datacatalog.v1.ListEntryGroupsResponse} [response] ListEntryGroupsResponse
+ */
+
+ /**
+ * Calls ListEntryGroups.
+ * @function listEntryGroups
+ * @memberof google.cloud.datacatalog.v1.DataCatalog
+ * @instance
+ * @param {google.cloud.datacatalog.v1.IListEntryGroupsRequest} request ListEntryGroupsRequest message or plain object
+ * @param {google.cloud.datacatalog.v1.DataCatalog.ListEntryGroupsCallback} callback Node-style callback called with the error, if any, and ListEntryGroupsResponse
+ * @returns {undefined}
+ * @variation 1
+ */
+ Object.defineProperty(DataCatalog.prototype.listEntryGroups = function listEntryGroups(request, callback) {
+ return this.rpcCall(listEntryGroups, $root.google.cloud.datacatalog.v1.ListEntryGroupsRequest, $root.google.cloud.datacatalog.v1.ListEntryGroupsResponse, request, callback);
+ }, "name", { value: "ListEntryGroups" });
+
+ /**
+ * Calls ListEntryGroups.
+ * @function listEntryGroups
+ * @memberof google.cloud.datacatalog.v1.DataCatalog
+ * @instance
+ * @param {google.cloud.datacatalog.v1.IListEntryGroupsRequest} request ListEntryGroupsRequest message or plain object
+ * @returns {Promise} Promise
+ * @variation 2
+ */
+
+ /**
+ * Callback as used by {@link google.cloud.datacatalog.v1.DataCatalog|createEntry}.
+ * @memberof google.cloud.datacatalog.v1.DataCatalog
+ * @typedef CreateEntryCallback
+ * @type {function}
+ * @param {Error|null} error Error, if any
+ * @param {google.cloud.datacatalog.v1.Entry} [response] Entry
+ */
+
+ /**
+ * Calls CreateEntry.
+ * @function createEntry
+ * @memberof google.cloud.datacatalog.v1.DataCatalog
+ * @instance
+ * @param {google.cloud.datacatalog.v1.ICreateEntryRequest} request CreateEntryRequest message or plain object
+ * @param {google.cloud.datacatalog.v1.DataCatalog.CreateEntryCallback} callback Node-style callback called with the error, if any, and Entry
+ * @returns {undefined}
+ * @variation 1
+ */
+ Object.defineProperty(DataCatalog.prototype.createEntry = function createEntry(request, callback) {
+ return this.rpcCall(createEntry, $root.google.cloud.datacatalog.v1.CreateEntryRequest, $root.google.cloud.datacatalog.v1.Entry, request, callback);
+ }, "name", { value: "CreateEntry" });
+
+ /**
+ * Calls CreateEntry.
+ * @function createEntry
+ * @memberof google.cloud.datacatalog.v1.DataCatalog
+ * @instance
+ * @param {google.cloud.datacatalog.v1.ICreateEntryRequest} request CreateEntryRequest message or plain object
+ * @returns {Promise} Promise
+ * @variation 2
+ */
+
+ /**
+ * Callback as used by {@link google.cloud.datacatalog.v1.DataCatalog|updateEntry}.
+ * @memberof google.cloud.datacatalog.v1.DataCatalog
+ * @typedef UpdateEntryCallback
+ * @type {function}
+ * @param {Error|null} error Error, if any
+ * @param {google.cloud.datacatalog.v1.Entry} [response] Entry
+ */
+
+ /**
+ * Calls UpdateEntry.
+ * @function updateEntry
+ * @memberof google.cloud.datacatalog.v1.DataCatalog
+ * @instance
+ * @param {google.cloud.datacatalog.v1.IUpdateEntryRequest} request UpdateEntryRequest message or plain object
+ * @param {google.cloud.datacatalog.v1.DataCatalog.UpdateEntryCallback} callback Node-style callback called with the error, if any, and Entry
+ * @returns {undefined}
+ * @variation 1
+ */
+ Object.defineProperty(DataCatalog.prototype.updateEntry = function updateEntry(request, callback) {
+ return this.rpcCall(updateEntry, $root.google.cloud.datacatalog.v1.UpdateEntryRequest, $root.google.cloud.datacatalog.v1.Entry, request, callback);
+ }, "name", { value: "UpdateEntry" });
+
+ /**
+ * Calls UpdateEntry.
+ * @function updateEntry
+ * @memberof google.cloud.datacatalog.v1.DataCatalog
+ * @instance
+ * @param {google.cloud.datacatalog.v1.IUpdateEntryRequest} request UpdateEntryRequest message or plain object
+ * @returns {Promise} Promise
+ * @variation 2
+ */
+
+ /**
+ * Callback as used by {@link google.cloud.datacatalog.v1.DataCatalog|deleteEntry}.
+ * @memberof google.cloud.datacatalog.v1.DataCatalog
+ * @typedef DeleteEntryCallback
+ * @type {function}
+ * @param {Error|null} error Error, if any
+ * @param {google.protobuf.Empty} [response] Empty
+ */
+
+ /**
+ * Calls DeleteEntry.
+ * @function deleteEntry
+ * @memberof google.cloud.datacatalog.v1.DataCatalog
+ * @instance
+ * @param {google.cloud.datacatalog.v1.IDeleteEntryRequest} request DeleteEntryRequest message or plain object
+ * @param {google.cloud.datacatalog.v1.DataCatalog.DeleteEntryCallback} callback Node-style callback called with the error, if any, and Empty
+ * @returns {undefined}
+ * @variation 1
+ */
+ Object.defineProperty(DataCatalog.prototype.deleteEntry = function deleteEntry(request, callback) {
+ return this.rpcCall(deleteEntry, $root.google.cloud.datacatalog.v1.DeleteEntryRequest, $root.google.protobuf.Empty, request, callback);
+ }, "name", { value: "DeleteEntry" });
+
+ /**
+ * Calls DeleteEntry.
+ * @function deleteEntry
+ * @memberof google.cloud.datacatalog.v1.DataCatalog
+ * @instance
+ * @param {google.cloud.datacatalog.v1.IDeleteEntryRequest} request DeleteEntryRequest message or plain object
+ * @returns {Promise} Promise
+ * @variation 2
+ */
+
+ /**
+ * Callback as used by {@link google.cloud.datacatalog.v1.DataCatalog|getEntry}.
+ * @memberof google.cloud.datacatalog.v1.DataCatalog
+ * @typedef GetEntryCallback
+ * @type {function}
+ * @param {Error|null} error Error, if any
+ * @param {google.cloud.datacatalog.v1.Entry} [response] Entry
+ */
+
+ /**
+ * Calls GetEntry.
+ * @function getEntry
+ * @memberof google.cloud.datacatalog.v1.DataCatalog
+ * @instance
+ * @param {google.cloud.datacatalog.v1.IGetEntryRequest} request GetEntryRequest message or plain object
+ * @param {google.cloud.datacatalog.v1.DataCatalog.GetEntryCallback} callback Node-style callback called with the error, if any, and Entry
+ * @returns {undefined}
+ * @variation 1
+ */
+ Object.defineProperty(DataCatalog.prototype.getEntry = function getEntry(request, callback) {
+ return this.rpcCall(getEntry, $root.google.cloud.datacatalog.v1.GetEntryRequest, $root.google.cloud.datacatalog.v1.Entry, request, callback);
+ }, "name", { value: "GetEntry" });
+
+ /**
+ * Calls GetEntry.
+ * @function getEntry
+ * @memberof google.cloud.datacatalog.v1.DataCatalog
+ * @instance
+ * @param {google.cloud.datacatalog.v1.IGetEntryRequest} request GetEntryRequest message or plain object
+ * @returns {Promise} Promise
+ * @variation 2
+ */
+
+ /**
+ * Callback as used by {@link google.cloud.datacatalog.v1.DataCatalog|lookupEntry}.
+ * @memberof google.cloud.datacatalog.v1.DataCatalog
+ * @typedef LookupEntryCallback
+ * @type {function}
+ * @param {Error|null} error Error, if any
+ * @param {google.cloud.datacatalog.v1.Entry} [response] Entry
+ */
+
+ /**
+ * Calls LookupEntry.
+ * @function lookupEntry
+ * @memberof google.cloud.datacatalog.v1.DataCatalog
+ * @instance
+ * @param {google.cloud.datacatalog.v1.ILookupEntryRequest} request LookupEntryRequest message or plain object
+ * @param {google.cloud.datacatalog.v1.DataCatalog.LookupEntryCallback} callback Node-style callback called with the error, if any, and Entry
+ * @returns {undefined}
+ * @variation 1
+ */
+ Object.defineProperty(DataCatalog.prototype.lookupEntry = function lookupEntry(request, callback) {
+ return this.rpcCall(lookupEntry, $root.google.cloud.datacatalog.v1.LookupEntryRequest, $root.google.cloud.datacatalog.v1.Entry, request, callback);
+ }, "name", { value: "LookupEntry" });
+
+ /**
+ * Calls LookupEntry.
+ * @function lookupEntry
+ * @memberof google.cloud.datacatalog.v1.DataCatalog
+ * @instance
+ * @param {google.cloud.datacatalog.v1.ILookupEntryRequest} request LookupEntryRequest message or plain object
+ * @returns {Promise} Promise
+ * @variation 2
+ */
+
+ /**
+ * Callback as used by {@link google.cloud.datacatalog.v1.DataCatalog|listEntries}.
+ * @memberof google.cloud.datacatalog.v1.DataCatalog
+ * @typedef ListEntriesCallback
+ * @type {function}
+ * @param {Error|null} error Error, if any
+ * @param {google.cloud.datacatalog.v1.ListEntriesResponse} [response] ListEntriesResponse
+ */
+
+ /**
+ * Calls ListEntries.
+ * @function listEntries
+ * @memberof google.cloud.datacatalog.v1.DataCatalog
+ * @instance
+ * @param {google.cloud.datacatalog.v1.IListEntriesRequest} request ListEntriesRequest message or plain object
+ * @param {google.cloud.datacatalog.v1.DataCatalog.ListEntriesCallback} callback Node-style callback called with the error, if any, and ListEntriesResponse
+ * @returns {undefined}
+ * @variation 1
+ */
+ Object.defineProperty(DataCatalog.prototype.listEntries = function listEntries(request, callback) {
+ return this.rpcCall(listEntries, $root.google.cloud.datacatalog.v1.ListEntriesRequest, $root.google.cloud.datacatalog.v1.ListEntriesResponse, request, callback);
+ }, "name", { value: "ListEntries" });
+
+ /**
+ * Calls ListEntries.
+ * @function listEntries
+ * @memberof google.cloud.datacatalog.v1.DataCatalog
+ * @instance
+ * @param {google.cloud.datacatalog.v1.IListEntriesRequest} request ListEntriesRequest message or plain object
+ * @returns {Promise} Promise
+ * @variation 2
+ */
+
+ /**
+ * Callback as used by {@link google.cloud.datacatalog.v1.DataCatalog|modifyEntryOverview}.
+ * @memberof google.cloud.datacatalog.v1.DataCatalog
+ * @typedef ModifyEntryOverviewCallback
+ * @type {function}
+ * @param {Error|null} error Error, if any
+ * @param {google.cloud.datacatalog.v1.EntryOverview} [response] EntryOverview
+ */
+
+ /**
+ * Calls ModifyEntryOverview.
+ * @function modifyEntryOverview
+ * @memberof google.cloud.datacatalog.v1.DataCatalog
+ * @instance
+ * @param {google.cloud.datacatalog.v1.IModifyEntryOverviewRequest} request ModifyEntryOverviewRequest message or plain object
+ * @param {google.cloud.datacatalog.v1.DataCatalog.ModifyEntryOverviewCallback} callback Node-style callback called with the error, if any, and EntryOverview
+ * @returns {undefined}
+ * @variation 1
+ */
+ Object.defineProperty(DataCatalog.prototype.modifyEntryOverview = function modifyEntryOverview(request, callback) {
+ return this.rpcCall(modifyEntryOverview, $root.google.cloud.datacatalog.v1.ModifyEntryOverviewRequest, $root.google.cloud.datacatalog.v1.EntryOverview, request, callback);
+ }, "name", { value: "ModifyEntryOverview" });
+
+ /**
+ * Calls ModifyEntryOverview.
+ * @function modifyEntryOverview
+ * @memberof google.cloud.datacatalog.v1.DataCatalog
+ * @instance
+ * @param {google.cloud.datacatalog.v1.IModifyEntryOverviewRequest} request ModifyEntryOverviewRequest message or plain object
+ * @returns {Promise} Promise
+ * @variation 2
+ */
+
+ /**
+ * Callback as used by {@link google.cloud.datacatalog.v1.DataCatalog|modifyEntryContacts}.
+ * @memberof google.cloud.datacatalog.v1.DataCatalog
+ * @typedef ModifyEntryContactsCallback
+ * @type {function}
+ * @param {Error|null} error Error, if any
+ * @param {google.cloud.datacatalog.v1.Contacts} [response] Contacts
+ */
+
+ /**
+ * Calls ModifyEntryContacts.
+ * @function modifyEntryContacts
+ * @memberof google.cloud.datacatalog.v1.DataCatalog
+ * @instance
+ * @param {google.cloud.datacatalog.v1.IModifyEntryContactsRequest} request ModifyEntryContactsRequest message or plain object
+ * @param {google.cloud.datacatalog.v1.DataCatalog.ModifyEntryContactsCallback} callback Node-style callback called with the error, if any, and Contacts
+ * @returns {undefined}
+ * @variation 1
+ */
+ Object.defineProperty(DataCatalog.prototype.modifyEntryContacts = function modifyEntryContacts(request, callback) {
+ return this.rpcCall(modifyEntryContacts, $root.google.cloud.datacatalog.v1.ModifyEntryContactsRequest, $root.google.cloud.datacatalog.v1.Contacts, request, callback);
+ }, "name", { value: "ModifyEntryContacts" });
+
+ /**
+ * Calls ModifyEntryContacts.
+ * @function modifyEntryContacts
+ * @memberof google.cloud.datacatalog.v1.DataCatalog
+ * @instance
+ * @param {google.cloud.datacatalog.v1.IModifyEntryContactsRequest} request ModifyEntryContactsRequest message or plain object
+ * @returns {Promise} Promise
+ * @variation 2
+ */
+
+ /**
+ * Callback as used by {@link google.cloud.datacatalog.v1.DataCatalog|createTagTemplate}.
+ * @memberof google.cloud.datacatalog.v1.DataCatalog
+ * @typedef CreateTagTemplateCallback
+ * @type {function}
+ * @param {Error|null} error Error, if any
+ * @param {google.cloud.datacatalog.v1.TagTemplate} [response] TagTemplate
+ */
+
+ /**
+ * Calls CreateTagTemplate.
+ * @function createTagTemplate
+ * @memberof google.cloud.datacatalog.v1.DataCatalog
+ * @instance
+ * @param {google.cloud.datacatalog.v1.ICreateTagTemplateRequest} request CreateTagTemplateRequest message or plain object
+ * @param {google.cloud.datacatalog.v1.DataCatalog.CreateTagTemplateCallback} callback Node-style callback called with the error, if any, and TagTemplate
+ * @returns {undefined}
+ * @variation 1
+ */
+ Object.defineProperty(DataCatalog.prototype.createTagTemplate = function createTagTemplate(request, callback) {
+ return this.rpcCall(createTagTemplate, $root.google.cloud.datacatalog.v1.CreateTagTemplateRequest, $root.google.cloud.datacatalog.v1.TagTemplate, request, callback);
+ }, "name", { value: "CreateTagTemplate" });
+
+ /**
+ * Calls CreateTagTemplate.
+ * @function createTagTemplate
+ * @memberof google.cloud.datacatalog.v1.DataCatalog
+ * @instance
+ * @param {google.cloud.datacatalog.v1.ICreateTagTemplateRequest} request CreateTagTemplateRequest message or plain object
+ * @returns {Promise} Promise
+ * @variation 2
+ */
+
+ /**
+ * Callback as used by {@link google.cloud.datacatalog.v1.DataCatalog|getTagTemplate}.
+ * @memberof google.cloud.datacatalog.v1.DataCatalog
+ * @typedef GetTagTemplateCallback
+ * @type {function}
+ * @param {Error|null} error Error, if any
+ * @param {google.cloud.datacatalog.v1.TagTemplate} [response] TagTemplate
+ */
+
+ /**
+ * Calls GetTagTemplate.
+ * @function getTagTemplate
+ * @memberof google.cloud.datacatalog.v1.DataCatalog
+ * @instance
+ * @param {google.cloud.datacatalog.v1.IGetTagTemplateRequest} request GetTagTemplateRequest message or plain object
+ * @param {google.cloud.datacatalog.v1.DataCatalog.GetTagTemplateCallback} callback Node-style callback called with the error, if any, and TagTemplate
+ * @returns {undefined}
+ * @variation 1
+ */
+ Object.defineProperty(DataCatalog.prototype.getTagTemplate = function getTagTemplate(request, callback) {
+ return this.rpcCall(getTagTemplate, $root.google.cloud.datacatalog.v1.GetTagTemplateRequest, $root.google.cloud.datacatalog.v1.TagTemplate, request, callback);
+ }, "name", { value: "GetTagTemplate" });
+
+ /**
+ * Calls GetTagTemplate.
+ * @function getTagTemplate
+ * @memberof google.cloud.datacatalog.v1.DataCatalog
+ * @instance
+ * @param {google.cloud.datacatalog.v1.IGetTagTemplateRequest} request GetTagTemplateRequest message or plain object
+ * @returns {Promise} Promise
+ * @variation 2
+ */
+
+ /**
+ * Callback as used by {@link google.cloud.datacatalog.v1.DataCatalog|updateTagTemplate}.
+ * @memberof google.cloud.datacatalog.v1.DataCatalog
+ * @typedef UpdateTagTemplateCallback
+ * @type {function}
+ * @param {Error|null} error Error, if any
+ * @param {google.cloud.datacatalog.v1.TagTemplate} [response] TagTemplate
+ */
+
+ /**
+ * Calls UpdateTagTemplate.
+ * @function updateTagTemplate
+ * @memberof google.cloud.datacatalog.v1.DataCatalog
+ * @instance
+ * @param {google.cloud.datacatalog.v1.IUpdateTagTemplateRequest} request UpdateTagTemplateRequest message or plain object
+ * @param {google.cloud.datacatalog.v1.DataCatalog.UpdateTagTemplateCallback} callback Node-style callback called with the error, if any, and TagTemplate
+ * @returns {undefined}
+ * @variation 1
+ */
+ Object.defineProperty(DataCatalog.prototype.updateTagTemplate = function updateTagTemplate(request, callback) {
+ return this.rpcCall(updateTagTemplate, $root.google.cloud.datacatalog.v1.UpdateTagTemplateRequest, $root.google.cloud.datacatalog.v1.TagTemplate, request, callback);
+ }, "name", { value: "UpdateTagTemplate" });
+
+ /**
+ * Calls UpdateTagTemplate.
+ * @function updateTagTemplate
+ * @memberof google.cloud.datacatalog.v1.DataCatalog
+ * @instance
+ * @param {google.cloud.datacatalog.v1.IUpdateTagTemplateRequest} request UpdateTagTemplateRequest message or plain object
+ * @returns {Promise} Promise
+ * @variation 2
+ */
+
+ /**
+ * Callback as used by {@link google.cloud.datacatalog.v1.DataCatalog|deleteTagTemplate}.
+ * @memberof google.cloud.datacatalog.v1.DataCatalog
+ * @typedef DeleteTagTemplateCallback
+ * @type {function}
+ * @param {Error|null} error Error, if any
+ * @param {google.protobuf.Empty} [response] Empty
+ */
+
+ /**
+ * Calls DeleteTagTemplate.
+ * @function deleteTagTemplate
+ * @memberof google.cloud.datacatalog.v1.DataCatalog
+ * @instance
+ * @param {google.cloud.datacatalog.v1.IDeleteTagTemplateRequest} request DeleteTagTemplateRequest message or plain object
+ * @param {google.cloud.datacatalog.v1.DataCatalog.DeleteTagTemplateCallback} callback Node-style callback called with the error, if any, and Empty
+ * @returns {undefined}
+ * @variation 1
+ */
+ Object.defineProperty(DataCatalog.prototype.deleteTagTemplate = function deleteTagTemplate(request, callback) {
+ return this.rpcCall(deleteTagTemplate, $root.google.cloud.datacatalog.v1.DeleteTagTemplateRequest, $root.google.protobuf.Empty, request, callback);
+ }, "name", { value: "DeleteTagTemplate" });
+
+ /**
+ * Calls DeleteTagTemplate.
+ * @function deleteTagTemplate
+ * @memberof google.cloud.datacatalog.v1.DataCatalog
+ * @instance
+ * @param {google.cloud.datacatalog.v1.IDeleteTagTemplateRequest} request DeleteTagTemplateRequest message or plain object
+ * @returns {Promise} Promise
+ * @variation 2
+ */
+
+ /**
+ * Callback as used by {@link google.cloud.datacatalog.v1.DataCatalog|createTagTemplateField}.
+ * @memberof google.cloud.datacatalog.v1.DataCatalog
+ * @typedef CreateTagTemplateFieldCallback
+ * @type {function}
+ * @param {Error|null} error Error, if any
+ * @param {google.cloud.datacatalog.v1.TagTemplateField} [response] TagTemplateField
+ */
+
+ /**
+ * Calls CreateTagTemplateField.
+ * @function createTagTemplateField
+ * @memberof google.cloud.datacatalog.v1.DataCatalog
+ * @instance
+ * @param {google.cloud.datacatalog.v1.ICreateTagTemplateFieldRequest} request CreateTagTemplateFieldRequest message or plain object
+ * @param {google.cloud.datacatalog.v1.DataCatalog.CreateTagTemplateFieldCallback} callback Node-style callback called with the error, if any, and TagTemplateField
+ * @returns {undefined}
+ * @variation 1
+ */
+ Object.defineProperty(DataCatalog.prototype.createTagTemplateField = function createTagTemplateField(request, callback) {
+ return this.rpcCall(createTagTemplateField, $root.google.cloud.datacatalog.v1.CreateTagTemplateFieldRequest, $root.google.cloud.datacatalog.v1.TagTemplateField, request, callback);
+ }, "name", { value: "CreateTagTemplateField" });
+
+ /**
+ * Calls CreateTagTemplateField.
+ * @function createTagTemplateField
+ * @memberof google.cloud.datacatalog.v1.DataCatalog
+ * @instance
+ * @param {google.cloud.datacatalog.v1.ICreateTagTemplateFieldRequest} request CreateTagTemplateFieldRequest message or plain object
+ * @returns {Promise} Promise
+ * @variation 2
+ */
+
+ /**
+ * Callback as used by {@link google.cloud.datacatalog.v1.DataCatalog|updateTagTemplateField}.
+ * @memberof google.cloud.datacatalog.v1.DataCatalog
+ * @typedef UpdateTagTemplateFieldCallback
+ * @type {function}
+ * @param {Error|null} error Error, if any
+ * @param {google.cloud.datacatalog.v1.TagTemplateField} [response] TagTemplateField
+ */
+
+ /**
+ * Calls UpdateTagTemplateField.
+ * @function updateTagTemplateField
+ * @memberof google.cloud.datacatalog.v1.DataCatalog
+ * @instance
+ * @param {google.cloud.datacatalog.v1.IUpdateTagTemplateFieldRequest} request UpdateTagTemplateFieldRequest message or plain object
+ * @param {google.cloud.datacatalog.v1.DataCatalog.UpdateTagTemplateFieldCallback} callback Node-style callback called with the error, if any, and TagTemplateField
+ * @returns {undefined}
+ * @variation 1
+ */
+ Object.defineProperty(DataCatalog.prototype.updateTagTemplateField = function updateTagTemplateField(request, callback) {
+ return this.rpcCall(updateTagTemplateField, $root.google.cloud.datacatalog.v1.UpdateTagTemplateFieldRequest, $root.google.cloud.datacatalog.v1.TagTemplateField, request, callback);
+ }, "name", { value: "UpdateTagTemplateField" });
+
+ /**
+ * Calls UpdateTagTemplateField.
+ * @function updateTagTemplateField
+ * @memberof google.cloud.datacatalog.v1.DataCatalog
+ * @instance
+ * @param {google.cloud.datacatalog.v1.IUpdateTagTemplateFieldRequest} request UpdateTagTemplateFieldRequest message or plain object
+ * @returns {Promise} Promise
+ * @variation 2
+ */
+
+ /**
+ * Callback as used by {@link google.cloud.datacatalog.v1.DataCatalog|renameTagTemplateField}.
+ * @memberof google.cloud.datacatalog.v1.DataCatalog
+ * @typedef RenameTagTemplateFieldCallback
+ * @type {function}
+ * @param {Error|null} error Error, if any
+ * @param {google.cloud.datacatalog.v1.TagTemplateField} [response] TagTemplateField
+ */
+
+ /**
+ * Calls RenameTagTemplateField.
+ * @function renameTagTemplateField
+ * @memberof google.cloud.datacatalog.v1.DataCatalog
+ * @instance
+ * @param {google.cloud.datacatalog.v1.IRenameTagTemplateFieldRequest} request RenameTagTemplateFieldRequest message or plain object
+ * @param {google.cloud.datacatalog.v1.DataCatalog.RenameTagTemplateFieldCallback} callback Node-style callback called with the error, if any, and TagTemplateField
+ * @returns {undefined}
+ * @variation 1
+ */
+ Object.defineProperty(DataCatalog.prototype.renameTagTemplateField = function renameTagTemplateField(request, callback) {
+ return this.rpcCall(renameTagTemplateField, $root.google.cloud.datacatalog.v1.RenameTagTemplateFieldRequest, $root.google.cloud.datacatalog.v1.TagTemplateField, request, callback);
+ }, "name", { value: "RenameTagTemplateField" });
+
+ /**
+ * Calls RenameTagTemplateField.
+ * @function renameTagTemplateField
+ * @memberof google.cloud.datacatalog.v1.DataCatalog
+ * @instance
+ * @param {google.cloud.datacatalog.v1.IRenameTagTemplateFieldRequest} request RenameTagTemplateFieldRequest message or plain object
+ * @returns {Promise} Promise
+ * @variation 2
+ */
+
+ /**
+ * Callback as used by {@link google.cloud.datacatalog.v1.DataCatalog|renameTagTemplateFieldEnumValue}.
+ * @memberof google.cloud.datacatalog.v1.DataCatalog
+ * @typedef RenameTagTemplateFieldEnumValueCallback
+ * @type {function}
+ * @param {Error|null} error Error, if any
+ * @param {google.cloud.datacatalog.v1.TagTemplateField} [response] TagTemplateField
+ */
+
+ /**
+ * Calls RenameTagTemplateFieldEnumValue.
+ * @function renameTagTemplateFieldEnumValue
+ * @memberof google.cloud.datacatalog.v1.DataCatalog
+ * @instance
+ * @param {google.cloud.datacatalog.v1.IRenameTagTemplateFieldEnumValueRequest} request RenameTagTemplateFieldEnumValueRequest message or plain object
+ * @param {google.cloud.datacatalog.v1.DataCatalog.RenameTagTemplateFieldEnumValueCallback} callback Node-style callback called with the error, if any, and TagTemplateField
+ * @returns {undefined}
+ * @variation 1
+ */
+ Object.defineProperty(DataCatalog.prototype.renameTagTemplateFieldEnumValue = function renameTagTemplateFieldEnumValue(request, callback) {
+ return this.rpcCall(renameTagTemplateFieldEnumValue, $root.google.cloud.datacatalog.v1.RenameTagTemplateFieldEnumValueRequest, $root.google.cloud.datacatalog.v1.TagTemplateField, request, callback);
+ }, "name", { value: "RenameTagTemplateFieldEnumValue" });
+
+ /**
+ * Calls RenameTagTemplateFieldEnumValue.
+ * @function renameTagTemplateFieldEnumValue
+ * @memberof google.cloud.datacatalog.v1.DataCatalog
+ * @instance
+ * @param {google.cloud.datacatalog.v1.IRenameTagTemplateFieldEnumValueRequest} request RenameTagTemplateFieldEnumValueRequest message or plain object
+ * @returns {Promise} Promise
+ * @variation 2
+ */
+
+ /**
+ * Callback as used by {@link google.cloud.datacatalog.v1.DataCatalog|deleteTagTemplateField}.
+ * @memberof google.cloud.datacatalog.v1.DataCatalog
+ * @typedef DeleteTagTemplateFieldCallback
+ * @type {function}
+ * @param {Error|null} error Error, if any
+ * @param {google.protobuf.Empty} [response] Empty
+ */
+
+ /**
+ * Calls DeleteTagTemplateField.
+ * @function deleteTagTemplateField
+ * @memberof google.cloud.datacatalog.v1.DataCatalog
+ * @instance
+ * @param {google.cloud.datacatalog.v1.IDeleteTagTemplateFieldRequest} request DeleteTagTemplateFieldRequest message or plain object
+ * @param {google.cloud.datacatalog.v1.DataCatalog.DeleteTagTemplateFieldCallback} callback Node-style callback called with the error, if any, and Empty
+ * @returns {undefined}
+ * @variation 1
+ */
+ Object.defineProperty(DataCatalog.prototype.deleteTagTemplateField = function deleteTagTemplateField(request, callback) {
+ return this.rpcCall(deleteTagTemplateField, $root.google.cloud.datacatalog.v1.DeleteTagTemplateFieldRequest, $root.google.protobuf.Empty, request, callback);
+ }, "name", { value: "DeleteTagTemplateField" });
+
+ /**
+ * Calls DeleteTagTemplateField.
+ * @function deleteTagTemplateField
+ * @memberof google.cloud.datacatalog.v1.DataCatalog
+ * @instance
+ * @param {google.cloud.datacatalog.v1.IDeleteTagTemplateFieldRequest} request DeleteTagTemplateFieldRequest message or plain object
+ * @returns {Promise} Promise
+ * @variation 2
+ */
+
+ /**
+ * Callback as used by {@link google.cloud.datacatalog.v1.DataCatalog|createTag}.
+ * @memberof google.cloud.datacatalog.v1.DataCatalog
+ * @typedef CreateTagCallback
+ * @type {function}
+ * @param {Error|null} error Error, if any
+ * @param {google.cloud.datacatalog.v1.Tag} [response] Tag
+ */
+
+ /**
+ * Calls CreateTag.
+ * @function createTag
+ * @memberof google.cloud.datacatalog.v1.DataCatalog
+ * @instance
+ * @param {google.cloud.datacatalog.v1.ICreateTagRequest} request CreateTagRequest message or plain object
+ * @param {google.cloud.datacatalog.v1.DataCatalog.CreateTagCallback} callback Node-style callback called with the error, if any, and Tag
+ * @returns {undefined}
+ * @variation 1
+ */
+ Object.defineProperty(DataCatalog.prototype.createTag = function createTag(request, callback) {
+ return this.rpcCall(createTag, $root.google.cloud.datacatalog.v1.CreateTagRequest, $root.google.cloud.datacatalog.v1.Tag, request, callback);
+ }, "name", { value: "CreateTag" });
+
+ /**
+ * Calls CreateTag.
+ * @function createTag
+ * @memberof google.cloud.datacatalog.v1.DataCatalog
+ * @instance
+ * @param {google.cloud.datacatalog.v1.ICreateTagRequest} request CreateTagRequest message or plain object
+ * @returns {Promise} Promise
+ * @variation 2
+ */
+
+ /**
+ * Callback as used by {@link google.cloud.datacatalog.v1.DataCatalog|updateTag}.
+ * @memberof google.cloud.datacatalog.v1.DataCatalog
+ * @typedef UpdateTagCallback
+ * @type {function}
+ * @param {Error|null} error Error, if any
+ * @param {google.cloud.datacatalog.v1.Tag} [response] Tag
+ */
+
+ /**
+ * Calls UpdateTag.
+ * @function updateTag
+ * @memberof google.cloud.datacatalog.v1.DataCatalog
+ * @instance
+ * @param {google.cloud.datacatalog.v1.IUpdateTagRequest} request UpdateTagRequest message or plain object
+ * @param {google.cloud.datacatalog.v1.DataCatalog.UpdateTagCallback} callback Node-style callback called with the error, if any, and Tag
+ * @returns {undefined}
+ * @variation 1
+ */
+ Object.defineProperty(DataCatalog.prototype.updateTag = function updateTag(request, callback) {
+ return this.rpcCall(updateTag, $root.google.cloud.datacatalog.v1.UpdateTagRequest, $root.google.cloud.datacatalog.v1.Tag, request, callback);
+ }, "name", { value: "UpdateTag" });
+
+ /**
+ * Calls UpdateTag.
+ * @function updateTag
+ * @memberof google.cloud.datacatalog.v1.DataCatalog
+ * @instance
+ * @param {google.cloud.datacatalog.v1.IUpdateTagRequest} request UpdateTagRequest message or plain object
+ * @returns {Promise} Promise
+ * @variation 2
+ */
+
+ /**
+ * Callback as used by {@link google.cloud.datacatalog.v1.DataCatalog|deleteTag}.
+ * @memberof google.cloud.datacatalog.v1.DataCatalog
+ * @typedef DeleteTagCallback
+ * @type {function}
+ * @param {Error|null} error Error, if any
+ * @param {google.protobuf.Empty} [response] Empty
+ */
+
+ /**
+ * Calls DeleteTag.
+ * @function deleteTag
+ * @memberof google.cloud.datacatalog.v1.DataCatalog
+ * @instance
+ * @param {google.cloud.datacatalog.v1.IDeleteTagRequest} request DeleteTagRequest message or plain object
+ * @param {google.cloud.datacatalog.v1.DataCatalog.DeleteTagCallback} callback Node-style callback called with the error, if any, and Empty
+ * @returns {undefined}
+ * @variation 1
+ */
+ Object.defineProperty(DataCatalog.prototype.deleteTag = function deleteTag(request, callback) {
+ return this.rpcCall(deleteTag, $root.google.cloud.datacatalog.v1.DeleteTagRequest, $root.google.protobuf.Empty, request, callback);
+ }, "name", { value: "DeleteTag" });
+
+ /**
+ * Calls DeleteTag.
+ * @function deleteTag
+ * @memberof google.cloud.datacatalog.v1.DataCatalog
+ * @instance
+ * @param {google.cloud.datacatalog.v1.IDeleteTagRequest} request DeleteTagRequest message or plain object
+ * @returns {Promise} Promise
+ * @variation 2
+ */
+
+ /**
+ * Callback as used by {@link google.cloud.datacatalog.v1.DataCatalog|listTags}.
+ * @memberof google.cloud.datacatalog.v1.DataCatalog
+ * @typedef ListTagsCallback
+ * @type {function}
+ * @param {Error|null} error Error, if any
+ * @param {google.cloud.datacatalog.v1.ListTagsResponse} [response] ListTagsResponse
+ */
+
+ /**
+ * Calls ListTags.
+ * @function listTags
+ * @memberof google.cloud.datacatalog.v1.DataCatalog
+ * @instance
+ * @param {google.cloud.datacatalog.v1.IListTagsRequest} request ListTagsRequest message or plain object
+ * @param {google.cloud.datacatalog.v1.DataCatalog.ListTagsCallback} callback Node-style callback called with the error, if any, and ListTagsResponse
+ * @returns {undefined}
+ * @variation 1
+ */
+ Object.defineProperty(DataCatalog.prototype.listTags = function listTags(request, callback) {
+ return this.rpcCall(listTags, $root.google.cloud.datacatalog.v1.ListTagsRequest, $root.google.cloud.datacatalog.v1.ListTagsResponse, request, callback);
+ }, "name", { value: "ListTags" });
+
+ /**
+ * Calls ListTags.
+ * @function listTags
+ * @memberof google.cloud.datacatalog.v1.DataCatalog
+ * @instance
+ * @param {google.cloud.datacatalog.v1.IListTagsRequest} request ListTagsRequest message or plain object
+ * @returns {Promise} Promise
+ * @variation 2
+ */
+
+ /**
+ * Callback as used by {@link google.cloud.datacatalog.v1.DataCatalog|starEntry}.
+ * @memberof google.cloud.datacatalog.v1.DataCatalog
+ * @typedef StarEntryCallback
+ * @type {function}
+ * @param {Error|null} error Error, if any
+ * @param {google.cloud.datacatalog.v1.StarEntryResponse} [response] StarEntryResponse
+ */
+
+ /**
+ * Calls StarEntry.
+ * @function starEntry
+ * @memberof google.cloud.datacatalog.v1.DataCatalog
+ * @instance
+ * @param {google.cloud.datacatalog.v1.IStarEntryRequest} request StarEntryRequest message or plain object
+ * @param {google.cloud.datacatalog.v1.DataCatalog.StarEntryCallback} callback Node-style callback called with the error, if any, and StarEntryResponse
+ * @returns {undefined}
+ * @variation 1
+ */
+ Object.defineProperty(DataCatalog.prototype.starEntry = function starEntry(request, callback) {
+ return this.rpcCall(starEntry, $root.google.cloud.datacatalog.v1.StarEntryRequest, $root.google.cloud.datacatalog.v1.StarEntryResponse, request, callback);
+ }, "name", { value: "StarEntry" });
+
+ /**
+ * Calls StarEntry.
+ * @function starEntry
+ * @memberof google.cloud.datacatalog.v1.DataCatalog
+ * @instance
+ * @param {google.cloud.datacatalog.v1.IStarEntryRequest} request StarEntryRequest message or plain object
+ * @returns {Promise} Promise
+ * @variation 2
+ */
+
+ /**
+ * Callback as used by {@link google.cloud.datacatalog.v1.DataCatalog|unstarEntry}.
+ * @memberof google.cloud.datacatalog.v1.DataCatalog
+ * @typedef UnstarEntryCallback
+ * @type {function}
+ * @param {Error|null} error Error, if any
+ * @param {google.cloud.datacatalog.v1.UnstarEntryResponse} [response] UnstarEntryResponse
+ */
+
+ /**
+ * Calls UnstarEntry.
+ * @function unstarEntry
+ * @memberof google.cloud.datacatalog.v1.DataCatalog
+ * @instance
+ * @param {google.cloud.datacatalog.v1.IUnstarEntryRequest} request UnstarEntryRequest message or plain object
+ * @param {google.cloud.datacatalog.v1.DataCatalog.UnstarEntryCallback} callback Node-style callback called with the error, if any, and UnstarEntryResponse
+ * @returns {undefined}
+ * @variation 1
+ */
+ Object.defineProperty(DataCatalog.prototype.unstarEntry = function unstarEntry(request, callback) {
+ return this.rpcCall(unstarEntry, $root.google.cloud.datacatalog.v1.UnstarEntryRequest, $root.google.cloud.datacatalog.v1.UnstarEntryResponse, request, callback);
+ }, "name", { value: "UnstarEntry" });
+
+ /**
+ * Calls UnstarEntry.
+ * @function unstarEntry
+ * @memberof google.cloud.datacatalog.v1.DataCatalog
+ * @instance
+ * @param {google.cloud.datacatalog.v1.IUnstarEntryRequest} request UnstarEntryRequest message or plain object
+ * @returns {Promise} Promise
+ * @variation 2
+ */
+
+ /**
+ * Callback as used by {@link google.cloud.datacatalog.v1.DataCatalog|setIamPolicy}.
+ * @memberof google.cloud.datacatalog.v1.DataCatalog
+ * @typedef SetIamPolicyCallback
+ * @type {function}
+ * @param {Error|null} error Error, if any
+ * @param {google.iam.v1.Policy} [response] Policy
+ */
+
+ /**
+ * Calls SetIamPolicy.
+ * @function setIamPolicy
+ * @memberof google.cloud.datacatalog.v1.DataCatalog
+ * @instance
+ * @param {google.iam.v1.ISetIamPolicyRequest} request SetIamPolicyRequest message or plain object
+ * @param {google.cloud.datacatalog.v1.DataCatalog.SetIamPolicyCallback} callback Node-style callback called with the error, if any, and Policy
+ * @returns {undefined}
+ * @variation 1
+ */
+ Object.defineProperty(DataCatalog.prototype.setIamPolicy = function setIamPolicy(request, callback) {
+ return this.rpcCall(setIamPolicy, $root.google.iam.v1.SetIamPolicyRequest, $root.google.iam.v1.Policy, request, callback);
+ }, "name", { value: "SetIamPolicy" });
+
+ /**
+ * Calls SetIamPolicy.
+ * @function setIamPolicy
+ * @memberof google.cloud.datacatalog.v1.DataCatalog
+ * @instance
+ * @param {google.iam.v1.ISetIamPolicyRequest} request SetIamPolicyRequest message or plain object
+ * @returns {Promise} Promise
+ * @variation 2
+ */
+
+ /**
+ * Callback as used by {@link google.cloud.datacatalog.v1.DataCatalog|getIamPolicy}.
+ * @memberof google.cloud.datacatalog.v1.DataCatalog
+ * @typedef GetIamPolicyCallback
+ * @type {function}
+ * @param {Error|null} error Error, if any
+ * @param {google.iam.v1.Policy} [response] Policy
+ */
+
+ /**
+ * Calls GetIamPolicy.
+ * @function getIamPolicy
+ * @memberof google.cloud.datacatalog.v1.DataCatalog
+ * @instance
+ * @param {google.iam.v1.IGetIamPolicyRequest} request GetIamPolicyRequest message or plain object
+ * @param {google.cloud.datacatalog.v1.DataCatalog.GetIamPolicyCallback} callback Node-style callback called with the error, if any, and Policy
+ * @returns {undefined}
+ * @variation 1
+ */
+ Object.defineProperty(DataCatalog.prototype.getIamPolicy = function getIamPolicy(request, callback) {
+ return this.rpcCall(getIamPolicy, $root.google.iam.v1.GetIamPolicyRequest, $root.google.iam.v1.Policy, request, callback);
+ }, "name", { value: "GetIamPolicy" });
+
+ /**
+ * Calls GetIamPolicy.
+ * @function getIamPolicy
+ * @memberof google.cloud.datacatalog.v1.DataCatalog
+ * @instance
+ * @param {google.iam.v1.IGetIamPolicyRequest} request GetIamPolicyRequest message or plain object
+ * @returns {Promise} Promise
+ * @variation 2
+ */
+
+ /**
+ * Callback as used by {@link google.cloud.datacatalog.v1.DataCatalog|testIamPermissions}.
+ * @memberof google.cloud.datacatalog.v1.DataCatalog
+ * @typedef TestIamPermissionsCallback
+ * @type {function}
+ * @param {Error|null} error Error, if any
+ * @param {google.iam.v1.TestIamPermissionsResponse} [response] TestIamPermissionsResponse
+ */
+
+ /**
+ * Calls TestIamPermissions.
+ * @function testIamPermissions
+ * @memberof google.cloud.datacatalog.v1.DataCatalog
+ * @instance
+ * @param {google.iam.v1.ITestIamPermissionsRequest} request TestIamPermissionsRequest message or plain object
+ * @param {google.cloud.datacatalog.v1.DataCatalog.TestIamPermissionsCallback} callback Node-style callback called with the error, if any, and TestIamPermissionsResponse
+ * @returns {undefined}
+ * @variation 1
+ */
+ Object.defineProperty(DataCatalog.prototype.testIamPermissions = function testIamPermissions(request, callback) {
+ return this.rpcCall(testIamPermissions, $root.google.iam.v1.TestIamPermissionsRequest, $root.google.iam.v1.TestIamPermissionsResponse, request, callback);
+ }, "name", { value: "TestIamPermissions" });
+
+ /**
+ * Calls TestIamPermissions.
+ * @function testIamPermissions
+ * @memberof google.cloud.datacatalog.v1.DataCatalog
+ * @instance
+ * @param {google.iam.v1.ITestIamPermissionsRequest} request TestIamPermissionsRequest message or plain object
+ * @returns {Promise} Promise
+ * @variation 2
+ */
+
+ return DataCatalog;
+ })();
+
+ v1.SearchCatalogRequest = (function() {
+
+ /**
+ * Properties of a SearchCatalogRequest.
+ * @memberof google.cloud.datacatalog.v1
+ * @interface ISearchCatalogRequest
+ * @property {google.cloud.datacatalog.v1.SearchCatalogRequest.IScope|null} [scope] SearchCatalogRequest scope
+ * @property {string|null} [query] SearchCatalogRequest query
+ * @property {number|null} [pageSize] SearchCatalogRequest pageSize
+ * @property {string|null} [pageToken] SearchCatalogRequest pageToken
+ * @property {string|null} [orderBy] SearchCatalogRequest orderBy
+ */
+
+ /**
+ * Constructs a new SearchCatalogRequest.
+ * @memberof google.cloud.datacatalog.v1
+ * @classdesc Represents a SearchCatalogRequest.
+ * @implements ISearchCatalogRequest
+ * @constructor
+ * @param {google.cloud.datacatalog.v1.ISearchCatalogRequest=} [properties] Properties to set
+ */
+ function SearchCatalogRequest(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]];
+ }
+
+ /**
+ * SearchCatalogRequest scope.
+ * @member {google.cloud.datacatalog.v1.SearchCatalogRequest.IScope|null|undefined} scope
+ * @memberof google.cloud.datacatalog.v1.SearchCatalogRequest
+ * @instance
+ */
+ SearchCatalogRequest.prototype.scope = null;
+
+ /**
+ * SearchCatalogRequest query.
+ * @member {string} query
+ * @memberof google.cloud.datacatalog.v1.SearchCatalogRequest
+ * @instance
+ */
+ SearchCatalogRequest.prototype.query = "";
+
+ /**
+ * SearchCatalogRequest pageSize.
+ * @member {number} pageSize
+ * @memberof google.cloud.datacatalog.v1.SearchCatalogRequest
+ * @instance
+ */
+ SearchCatalogRequest.prototype.pageSize = 0;
+
+ /**
+ * SearchCatalogRequest pageToken.
+ * @member {string} pageToken
+ * @memberof google.cloud.datacatalog.v1.SearchCatalogRequest
+ * @instance
+ */
+ SearchCatalogRequest.prototype.pageToken = "";
+
+ /**
+ * SearchCatalogRequest orderBy.
+ * @member {string} orderBy
+ * @memberof google.cloud.datacatalog.v1.SearchCatalogRequest
+ * @instance
+ */
+ SearchCatalogRequest.prototype.orderBy = "";
+
+ /**
+ * Creates a new SearchCatalogRequest instance using the specified properties.
+ * @function create
+ * @memberof google.cloud.datacatalog.v1.SearchCatalogRequest
+ * @static
+ * @param {google.cloud.datacatalog.v1.ISearchCatalogRequest=} [properties] Properties to set
+ * @returns {google.cloud.datacatalog.v1.SearchCatalogRequest} SearchCatalogRequest instance
+ */
+ SearchCatalogRequest.create = function create(properties) {
+ return new SearchCatalogRequest(properties);
+ };
+
+ /**
+ * Encodes the specified SearchCatalogRequest message. Does not implicitly {@link google.cloud.datacatalog.v1.SearchCatalogRequest.verify|verify} messages.
+ * @function encode
+ * @memberof google.cloud.datacatalog.v1.SearchCatalogRequest
+ * @static
+ * @param {google.cloud.datacatalog.v1.ISearchCatalogRequest} message SearchCatalogRequest message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ SearchCatalogRequest.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.query != null && Object.hasOwnProperty.call(message, "query"))
+ writer.uint32(/* id 1, wireType 2 =*/10).string(message.query);
+ if (message.pageSize != null && Object.hasOwnProperty.call(message, "pageSize"))
+ writer.uint32(/* id 2, wireType 0 =*/16).int32(message.pageSize);
+ if (message.pageToken != null && Object.hasOwnProperty.call(message, "pageToken"))
+ writer.uint32(/* id 3, wireType 2 =*/26).string(message.pageToken);
+ if (message.orderBy != null && Object.hasOwnProperty.call(message, "orderBy"))
+ writer.uint32(/* id 5, wireType 2 =*/42).string(message.orderBy);
+ if (message.scope != null && Object.hasOwnProperty.call(message, "scope"))
+ $root.google.cloud.datacatalog.v1.SearchCatalogRequest.Scope.encode(message.scope, writer.uint32(/* id 6, wireType 2 =*/50).fork()).ldelim();
+ return writer;
+ };
+
+ /**
+ * Encodes the specified SearchCatalogRequest message, length delimited. Does not implicitly {@link google.cloud.datacatalog.v1.SearchCatalogRequest.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.cloud.datacatalog.v1.SearchCatalogRequest
+ * @static
+ * @param {google.cloud.datacatalog.v1.ISearchCatalogRequest} message SearchCatalogRequest message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ SearchCatalogRequest.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes a SearchCatalogRequest message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.cloud.datacatalog.v1.SearchCatalogRequest
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.cloud.datacatalog.v1.SearchCatalogRequest} SearchCatalogRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ SearchCatalogRequest.decode = function decode(reader, length) {
+ if (!(reader instanceof $Reader))
+ reader = $Reader.create(reader);
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.datacatalog.v1.SearchCatalogRequest();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ switch (tag >>> 3) {
+ case 6: {
+ message.scope = $root.google.cloud.datacatalog.v1.SearchCatalogRequest.Scope.decode(reader, reader.uint32());
+ break;
+ }
+ case 1: {
+ message.query = reader.string();
+ break;
+ }
+ case 2: {
+ message.pageSize = reader.int32();
+ break;
+ }
+ case 3: {
+ message.pageToken = reader.string();
+ break;
+ }
+ case 5: {
+ message.orderBy = reader.string();
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes a SearchCatalogRequest message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.cloud.datacatalog.v1.SearchCatalogRequest
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.cloud.datacatalog.v1.SearchCatalogRequest} SearchCatalogRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ SearchCatalogRequest.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies a SearchCatalogRequest message.
+ * @function verify
+ * @memberof google.cloud.datacatalog.v1.SearchCatalogRequest
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ SearchCatalogRequest.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ if (message.scope != null && message.hasOwnProperty("scope")) {
+ var error = $root.google.cloud.datacatalog.v1.SearchCatalogRequest.Scope.verify(message.scope);
+ if (error)
+ return "scope." + error;
+ }
+ if (message.query != null && message.hasOwnProperty("query"))
+ if (!$util.isString(message.query))
+ return "query: string expected";
+ if (message.pageSize != null && message.hasOwnProperty("pageSize"))
+ if (!$util.isInteger(message.pageSize))
+ return "pageSize: integer expected";
+ if (message.pageToken != null && message.hasOwnProperty("pageToken"))
+ if (!$util.isString(message.pageToken))
+ return "pageToken: string expected";
+ if (message.orderBy != null && message.hasOwnProperty("orderBy"))
+ if (!$util.isString(message.orderBy))
+ return "orderBy: string expected";
+ return null;
+ };
+
+ /**
+ * Creates a SearchCatalogRequest message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.cloud.datacatalog.v1.SearchCatalogRequest
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.cloud.datacatalog.v1.SearchCatalogRequest} SearchCatalogRequest
+ */
+ SearchCatalogRequest.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.cloud.datacatalog.v1.SearchCatalogRequest)
+ return object;
+ var message = new $root.google.cloud.datacatalog.v1.SearchCatalogRequest();
+ if (object.scope != null) {
+ if (typeof object.scope !== "object")
+ throw TypeError(".google.cloud.datacatalog.v1.SearchCatalogRequest.scope: object expected");
+ message.scope = $root.google.cloud.datacatalog.v1.SearchCatalogRequest.Scope.fromObject(object.scope);
+ }
+ if (object.query != null)
+ message.query = String(object.query);
+ if (object.pageSize != null)
+ message.pageSize = object.pageSize | 0;
+ if (object.pageToken != null)
+ message.pageToken = String(object.pageToken);
+ if (object.orderBy != null)
+ message.orderBy = String(object.orderBy);
+ return message;
+ };
+
+ /**
+ * Creates a plain object from a SearchCatalogRequest message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.cloud.datacatalog.v1.SearchCatalogRequest
+ * @static
+ * @param {google.cloud.datacatalog.v1.SearchCatalogRequest} message SearchCatalogRequest
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ SearchCatalogRequest.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.defaults) {
+ object.query = "";
+ object.pageSize = 0;
+ object.pageToken = "";
+ object.orderBy = "";
+ object.scope = null;
+ }
+ if (message.query != null && message.hasOwnProperty("query"))
+ object.query = message.query;
+ if (message.pageSize != null && message.hasOwnProperty("pageSize"))
+ object.pageSize = message.pageSize;
+ if (message.pageToken != null && message.hasOwnProperty("pageToken"))
+ object.pageToken = message.pageToken;
+ if (message.orderBy != null && message.hasOwnProperty("orderBy"))
+ object.orderBy = message.orderBy;
+ if (message.scope != null && message.hasOwnProperty("scope"))
+ object.scope = $root.google.cloud.datacatalog.v1.SearchCatalogRequest.Scope.toObject(message.scope, options);
+ return object;
+ };
+
+ /**
+ * Converts this SearchCatalogRequest to JSON.
+ * @function toJSON
+ * @memberof google.cloud.datacatalog.v1.SearchCatalogRequest
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ SearchCatalogRequest.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for SearchCatalogRequest
+ * @function getTypeUrl
+ * @memberof google.cloud.datacatalog.v1.SearchCatalogRequest
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ SearchCatalogRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.cloud.datacatalog.v1.SearchCatalogRequest";
+ };
+
+ SearchCatalogRequest.Scope = (function() {
+
+ /**
+ * Properties of a Scope.
+ * @memberof google.cloud.datacatalog.v1.SearchCatalogRequest
+ * @interface IScope
+ * @property {Array.|null} [includeOrgIds] Scope includeOrgIds
+ * @property {Array.|null} [includeProjectIds] Scope includeProjectIds
+ * @property {boolean|null} [includeGcpPublicDatasets] Scope includeGcpPublicDatasets
+ * @property {Array.|null} [restrictedLocations] Scope restrictedLocations
+ * @property {boolean|null} [starredOnly] Scope starredOnly
+ * @property {boolean|null} [includePublicTagTemplates] Scope includePublicTagTemplates
+ */
+
+ /**
+ * Constructs a new Scope.
+ * @memberof google.cloud.datacatalog.v1.SearchCatalogRequest
+ * @classdesc Represents a Scope.
+ * @implements IScope
+ * @constructor
+ * @param {google.cloud.datacatalog.v1.SearchCatalogRequest.IScope=} [properties] Properties to set
+ */
+ function Scope(properties) {
+ this.includeOrgIds = [];
+ this.includeProjectIds = [];
+ this.restrictedLocations = [];
+ 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]];
+ }
+
+ /**
+ * Scope includeOrgIds.
+ * @member {Array.} includeOrgIds
+ * @memberof google.cloud.datacatalog.v1.SearchCatalogRequest.Scope
+ * @instance
+ */
+ Scope.prototype.includeOrgIds = $util.emptyArray;
+
+ /**
+ * Scope includeProjectIds.
+ * @member {Array.} includeProjectIds
+ * @memberof google.cloud.datacatalog.v1.SearchCatalogRequest.Scope
+ * @instance
+ */
+ Scope.prototype.includeProjectIds = $util.emptyArray;
+
+ /**
+ * Scope includeGcpPublicDatasets.
+ * @member {boolean} includeGcpPublicDatasets
+ * @memberof google.cloud.datacatalog.v1.SearchCatalogRequest.Scope
+ * @instance
+ */
+ Scope.prototype.includeGcpPublicDatasets = false;
+
+ /**
+ * Scope restrictedLocations.
+ * @member {Array.} restrictedLocations
+ * @memberof google.cloud.datacatalog.v1.SearchCatalogRequest.Scope
+ * @instance
+ */
+ Scope.prototype.restrictedLocations = $util.emptyArray;
+
+ /**
+ * Scope starredOnly.
+ * @member {boolean} starredOnly
+ * @memberof google.cloud.datacatalog.v1.SearchCatalogRequest.Scope
+ * @instance
+ */
+ Scope.prototype.starredOnly = false;
+
+ /**
+ * Scope includePublicTagTemplates.
+ * @member {boolean} includePublicTagTemplates
+ * @memberof google.cloud.datacatalog.v1.SearchCatalogRequest.Scope
+ * @instance
+ */
+ Scope.prototype.includePublicTagTemplates = false;
+
+ /**
+ * Creates a new Scope instance using the specified properties.
+ * @function create
+ * @memberof google.cloud.datacatalog.v1.SearchCatalogRequest.Scope
+ * @static
+ * @param {google.cloud.datacatalog.v1.SearchCatalogRequest.IScope=} [properties] Properties to set
+ * @returns {google.cloud.datacatalog.v1.SearchCatalogRequest.Scope} Scope instance
+ */
+ Scope.create = function create(properties) {
+ return new Scope(properties);
+ };
+
+ /**
+ * Encodes the specified Scope message. Does not implicitly {@link google.cloud.datacatalog.v1.SearchCatalogRequest.Scope.verify|verify} messages.
+ * @function encode
+ * @memberof google.cloud.datacatalog.v1.SearchCatalogRequest.Scope
+ * @static
+ * @param {google.cloud.datacatalog.v1.SearchCatalogRequest.IScope} message Scope message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ Scope.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.includeOrgIds != null && message.includeOrgIds.length)
+ for (var i = 0; i < message.includeOrgIds.length; ++i)
+ writer.uint32(/* id 2, wireType 2 =*/18).string(message.includeOrgIds[i]);
+ if (message.includeProjectIds != null && message.includeProjectIds.length)
+ for (var i = 0; i < message.includeProjectIds.length; ++i)
+ writer.uint32(/* id 3, wireType 2 =*/26).string(message.includeProjectIds[i]);
+ if (message.includeGcpPublicDatasets != null && Object.hasOwnProperty.call(message, "includeGcpPublicDatasets"))
+ writer.uint32(/* id 7, wireType 0 =*/56).bool(message.includeGcpPublicDatasets);
+ if (message.restrictedLocations != null && message.restrictedLocations.length)
+ for (var i = 0; i < message.restrictedLocations.length; ++i)
+ writer.uint32(/* id 16, wireType 2 =*/130).string(message.restrictedLocations[i]);
+ if (message.starredOnly != null && Object.hasOwnProperty.call(message, "starredOnly"))
+ writer.uint32(/* id 18, wireType 0 =*/144).bool(message.starredOnly);
+ if (message.includePublicTagTemplates != null && Object.hasOwnProperty.call(message, "includePublicTagTemplates"))
+ writer.uint32(/* id 19, wireType 0 =*/152).bool(message.includePublicTagTemplates);
+ return writer;
+ };
+
+ /**
+ * Encodes the specified Scope message, length delimited. Does not implicitly {@link google.cloud.datacatalog.v1.SearchCatalogRequest.Scope.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.cloud.datacatalog.v1.SearchCatalogRequest.Scope
+ * @static
+ * @param {google.cloud.datacatalog.v1.SearchCatalogRequest.IScope} message Scope message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ Scope.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes a Scope message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.cloud.datacatalog.v1.SearchCatalogRequest.Scope
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.cloud.datacatalog.v1.SearchCatalogRequest.Scope} Scope
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ Scope.decode = function decode(reader, length) {
+ if (!(reader instanceof $Reader))
+ reader = $Reader.create(reader);
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.datacatalog.v1.SearchCatalogRequest.Scope();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ switch (tag >>> 3) {
+ case 2: {
+ if (!(message.includeOrgIds && message.includeOrgIds.length))
+ message.includeOrgIds = [];
+ message.includeOrgIds.push(reader.string());
+ break;
+ }
+ case 3: {
+ if (!(message.includeProjectIds && message.includeProjectIds.length))
+ message.includeProjectIds = [];
+ message.includeProjectIds.push(reader.string());
+ break;
+ }
+ case 7: {
+ message.includeGcpPublicDatasets = reader.bool();
+ break;
+ }
+ case 16: {
+ if (!(message.restrictedLocations && message.restrictedLocations.length))
+ message.restrictedLocations = [];
+ message.restrictedLocations.push(reader.string());
+ break;
+ }
+ case 18: {
+ message.starredOnly = reader.bool();
+ break;
+ }
+ case 19: {
+ message.includePublicTagTemplates = reader.bool();
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes a Scope message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.cloud.datacatalog.v1.SearchCatalogRequest.Scope
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.cloud.datacatalog.v1.SearchCatalogRequest.Scope} Scope
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ Scope.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies a Scope message.
+ * @function verify
+ * @memberof google.cloud.datacatalog.v1.SearchCatalogRequest.Scope
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ Scope.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ if (message.includeOrgIds != null && message.hasOwnProperty("includeOrgIds")) {
+ if (!Array.isArray(message.includeOrgIds))
+ return "includeOrgIds: array expected";
+ for (var i = 0; i < message.includeOrgIds.length; ++i)
+ if (!$util.isString(message.includeOrgIds[i]))
+ return "includeOrgIds: string[] expected";
+ }
+ if (message.includeProjectIds != null && message.hasOwnProperty("includeProjectIds")) {
+ if (!Array.isArray(message.includeProjectIds))
+ return "includeProjectIds: array expected";
+ for (var i = 0; i < message.includeProjectIds.length; ++i)
+ if (!$util.isString(message.includeProjectIds[i]))
+ return "includeProjectIds: string[] expected";
+ }
+ if (message.includeGcpPublicDatasets != null && message.hasOwnProperty("includeGcpPublicDatasets"))
+ if (typeof message.includeGcpPublicDatasets !== "boolean")
+ return "includeGcpPublicDatasets: boolean expected";
+ if (message.restrictedLocations != null && message.hasOwnProperty("restrictedLocations")) {
+ if (!Array.isArray(message.restrictedLocations))
+ return "restrictedLocations: array expected";
+ for (var i = 0; i < message.restrictedLocations.length; ++i)
+ if (!$util.isString(message.restrictedLocations[i]))
+ return "restrictedLocations: string[] expected";
+ }
+ if (message.starredOnly != null && message.hasOwnProperty("starredOnly"))
+ if (typeof message.starredOnly !== "boolean")
+ return "starredOnly: boolean expected";
+ if (message.includePublicTagTemplates != null && message.hasOwnProperty("includePublicTagTemplates"))
+ if (typeof message.includePublicTagTemplates !== "boolean")
+ return "includePublicTagTemplates: boolean expected";
+ return null;
+ };
+
+ /**
+ * Creates a Scope message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.cloud.datacatalog.v1.SearchCatalogRequest.Scope
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.cloud.datacatalog.v1.SearchCatalogRequest.Scope} Scope
+ */
+ Scope.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.cloud.datacatalog.v1.SearchCatalogRequest.Scope)
+ return object;
+ var message = new $root.google.cloud.datacatalog.v1.SearchCatalogRequest.Scope();
+ if (object.includeOrgIds) {
+ if (!Array.isArray(object.includeOrgIds))
+ throw TypeError(".google.cloud.datacatalog.v1.SearchCatalogRequest.Scope.includeOrgIds: array expected");
+ message.includeOrgIds = [];
+ for (var i = 0; i < object.includeOrgIds.length; ++i)
+ message.includeOrgIds[i] = String(object.includeOrgIds[i]);
+ }
+ if (object.includeProjectIds) {
+ if (!Array.isArray(object.includeProjectIds))
+ throw TypeError(".google.cloud.datacatalog.v1.SearchCatalogRequest.Scope.includeProjectIds: array expected");
+ message.includeProjectIds = [];
+ for (var i = 0; i < object.includeProjectIds.length; ++i)
+ message.includeProjectIds[i] = String(object.includeProjectIds[i]);
+ }
+ if (object.includeGcpPublicDatasets != null)
+ message.includeGcpPublicDatasets = Boolean(object.includeGcpPublicDatasets);
+ if (object.restrictedLocations) {
+ if (!Array.isArray(object.restrictedLocations))
+ throw TypeError(".google.cloud.datacatalog.v1.SearchCatalogRequest.Scope.restrictedLocations: array expected");
+ message.restrictedLocations = [];
+ for (var i = 0; i < object.restrictedLocations.length; ++i)
+ message.restrictedLocations[i] = String(object.restrictedLocations[i]);
+ }
+ if (object.starredOnly != null)
+ message.starredOnly = Boolean(object.starredOnly);
+ if (object.includePublicTagTemplates != null)
+ message.includePublicTagTemplates = Boolean(object.includePublicTagTemplates);
+ return message;
+ };
+
+ /**
+ * Creates a plain object from a Scope message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.cloud.datacatalog.v1.SearchCatalogRequest.Scope
+ * @static
+ * @param {google.cloud.datacatalog.v1.SearchCatalogRequest.Scope} message Scope
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ Scope.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.arrays || options.defaults) {
+ object.includeOrgIds = [];
+ object.includeProjectIds = [];
+ object.restrictedLocations = [];
+ }
+ if (options.defaults) {
+ object.includeGcpPublicDatasets = false;
+ object.starredOnly = false;
+ object.includePublicTagTemplates = false;
+ }
+ if (message.includeOrgIds && message.includeOrgIds.length) {
+ object.includeOrgIds = [];
+ for (var j = 0; j < message.includeOrgIds.length; ++j)
+ object.includeOrgIds[j] = message.includeOrgIds[j];
+ }
+ if (message.includeProjectIds && message.includeProjectIds.length) {
+ object.includeProjectIds = [];
+ for (var j = 0; j < message.includeProjectIds.length; ++j)
+ object.includeProjectIds[j] = message.includeProjectIds[j];
+ }
+ if (message.includeGcpPublicDatasets != null && message.hasOwnProperty("includeGcpPublicDatasets"))
+ object.includeGcpPublicDatasets = message.includeGcpPublicDatasets;
+ if (message.restrictedLocations && message.restrictedLocations.length) {
+ object.restrictedLocations = [];
+ for (var j = 0; j < message.restrictedLocations.length; ++j)
+ object.restrictedLocations[j] = message.restrictedLocations[j];
+ }
+ if (message.starredOnly != null && message.hasOwnProperty("starredOnly"))
+ object.starredOnly = message.starredOnly;
+ if (message.includePublicTagTemplates != null && message.hasOwnProperty("includePublicTagTemplates"))
+ object.includePublicTagTemplates = message.includePublicTagTemplates;
+ return object;
+ };
+
+ /**
+ * Converts this Scope to JSON.
+ * @function toJSON
+ * @memberof google.cloud.datacatalog.v1.SearchCatalogRequest.Scope
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ Scope.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for Scope
+ * @function getTypeUrl
+ * @memberof google.cloud.datacatalog.v1.SearchCatalogRequest.Scope
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ Scope.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.cloud.datacatalog.v1.SearchCatalogRequest.Scope";
+ };
+
+ return Scope;
+ })();
+
+ return SearchCatalogRequest;
+ })();
+
+ v1.SearchCatalogResponse = (function() {
+
+ /**
+ * Properties of a SearchCatalogResponse.
+ * @memberof google.cloud.datacatalog.v1
+ * @interface ISearchCatalogResponse
+ * @property {Array.|null} [results] SearchCatalogResponse results
+ * @property {string|null} [nextPageToken] SearchCatalogResponse nextPageToken
+ * @property {Array.|null} [unreachable] SearchCatalogResponse unreachable
+ */
+
+ /**
+ * Constructs a new SearchCatalogResponse.
+ * @memberof google.cloud.datacatalog.v1
+ * @classdesc Represents a SearchCatalogResponse.
+ * @implements ISearchCatalogResponse
+ * @constructor
+ * @param {google.cloud.datacatalog.v1.ISearchCatalogResponse=} [properties] Properties to set
+ */
+ function SearchCatalogResponse(properties) {
+ this.results = [];
+ this.unreachable = [];
+ if (properties)
+ for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+ if (properties[keys[i]] != null)
+ this[keys[i]] = properties[keys[i]];
+ }
+
+ /**
+ * SearchCatalogResponse results.
+ * @member {Array.} results
+ * @memberof google.cloud.datacatalog.v1.SearchCatalogResponse
+ * @instance
+ */
+ SearchCatalogResponse.prototype.results = $util.emptyArray;
+
+ /**
+ * SearchCatalogResponse nextPageToken.
+ * @member {string} nextPageToken
+ * @memberof google.cloud.datacatalog.v1.SearchCatalogResponse
+ * @instance
+ */
+ SearchCatalogResponse.prototype.nextPageToken = "";
+
+ /**
+ * SearchCatalogResponse unreachable.
+ * @member {Array.} unreachable
+ * @memberof google.cloud.datacatalog.v1.SearchCatalogResponse
+ * @instance
+ */
+ SearchCatalogResponse.prototype.unreachable = $util.emptyArray;
+
+ /**
+ * Creates a new SearchCatalogResponse instance using the specified properties.
+ * @function create
+ * @memberof google.cloud.datacatalog.v1.SearchCatalogResponse
+ * @static
+ * @param {google.cloud.datacatalog.v1.ISearchCatalogResponse=} [properties] Properties to set
+ * @returns {google.cloud.datacatalog.v1.SearchCatalogResponse} SearchCatalogResponse instance
+ */
+ SearchCatalogResponse.create = function create(properties) {
+ return new SearchCatalogResponse(properties);
+ };
+
+ /**
+ * Encodes the specified SearchCatalogResponse message. Does not implicitly {@link google.cloud.datacatalog.v1.SearchCatalogResponse.verify|verify} messages.
+ * @function encode
+ * @memberof google.cloud.datacatalog.v1.SearchCatalogResponse
+ * @static
+ * @param {google.cloud.datacatalog.v1.ISearchCatalogResponse} message SearchCatalogResponse message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ SearchCatalogResponse.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.results != null && message.results.length)
+ for (var i = 0; i < message.results.length; ++i)
+ $root.google.cloud.datacatalog.v1.SearchCatalogResult.encode(message.results[i], writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
+ if (message.nextPageToken != null && Object.hasOwnProperty.call(message, "nextPageToken"))
+ writer.uint32(/* id 3, wireType 2 =*/26).string(message.nextPageToken);
+ if (message.unreachable != null && message.unreachable.length)
+ for (var i = 0; i < message.unreachable.length; ++i)
+ writer.uint32(/* id 6, wireType 2 =*/50).string(message.unreachable[i]);
+ return writer;
+ };
+
+ /**
+ * Encodes the specified SearchCatalogResponse message, length delimited. Does not implicitly {@link google.cloud.datacatalog.v1.SearchCatalogResponse.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.cloud.datacatalog.v1.SearchCatalogResponse
+ * @static
+ * @param {google.cloud.datacatalog.v1.ISearchCatalogResponse} message SearchCatalogResponse message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ SearchCatalogResponse.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes a SearchCatalogResponse message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.cloud.datacatalog.v1.SearchCatalogResponse
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.cloud.datacatalog.v1.SearchCatalogResponse} SearchCatalogResponse
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ SearchCatalogResponse.decode = function decode(reader, length) {
+ if (!(reader instanceof $Reader))
+ reader = $Reader.create(reader);
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.datacatalog.v1.SearchCatalogResponse();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ switch (tag >>> 3) {
+ case 1: {
+ if (!(message.results && message.results.length))
+ message.results = [];
+ message.results.push($root.google.cloud.datacatalog.v1.SearchCatalogResult.decode(reader, reader.uint32()));
+ break;
+ }
+ case 3: {
+ message.nextPageToken = reader.string();
+ break;
+ }
+ case 6: {
+ if (!(message.unreachable && message.unreachable.length))
+ message.unreachable = [];
+ message.unreachable.push(reader.string());
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes a SearchCatalogResponse message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.cloud.datacatalog.v1.SearchCatalogResponse
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.cloud.datacatalog.v1.SearchCatalogResponse} SearchCatalogResponse
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ SearchCatalogResponse.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies a SearchCatalogResponse message.
+ * @function verify
+ * @memberof google.cloud.datacatalog.v1.SearchCatalogResponse
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ SearchCatalogResponse.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ if (message.results != null && message.hasOwnProperty("results")) {
+ if (!Array.isArray(message.results))
+ return "results: array expected";
+ for (var i = 0; i < message.results.length; ++i) {
+ var error = $root.google.cloud.datacatalog.v1.SearchCatalogResult.verify(message.results[i]);
+ if (error)
+ return "results." + error;
+ }
+ }
+ if (message.nextPageToken != null && message.hasOwnProperty("nextPageToken"))
+ if (!$util.isString(message.nextPageToken))
+ return "nextPageToken: string expected";
+ if (message.unreachable != null && message.hasOwnProperty("unreachable")) {
+ if (!Array.isArray(message.unreachable))
+ return "unreachable: array expected";
+ for (var i = 0; i < message.unreachable.length; ++i)
+ if (!$util.isString(message.unreachable[i]))
+ return "unreachable: string[] expected";
+ }
+ return null;
+ };
+
+ /**
+ * Creates a SearchCatalogResponse message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.cloud.datacatalog.v1.SearchCatalogResponse
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.cloud.datacatalog.v1.SearchCatalogResponse} SearchCatalogResponse
+ */
+ SearchCatalogResponse.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.cloud.datacatalog.v1.SearchCatalogResponse)
+ return object;
+ var message = new $root.google.cloud.datacatalog.v1.SearchCatalogResponse();
+ if (object.results) {
+ if (!Array.isArray(object.results))
+ throw TypeError(".google.cloud.datacatalog.v1.SearchCatalogResponse.results: array expected");
+ message.results = [];
+ for (var i = 0; i < object.results.length; ++i) {
+ if (typeof object.results[i] !== "object")
+ throw TypeError(".google.cloud.datacatalog.v1.SearchCatalogResponse.results: object expected");
+ message.results[i] = $root.google.cloud.datacatalog.v1.SearchCatalogResult.fromObject(object.results[i]);
+ }
+ }
+ if (object.nextPageToken != null)
+ message.nextPageToken = String(object.nextPageToken);
+ if (object.unreachable) {
+ if (!Array.isArray(object.unreachable))
+ throw TypeError(".google.cloud.datacatalog.v1.SearchCatalogResponse.unreachable: array expected");
+ message.unreachable = [];
+ for (var i = 0; i < object.unreachable.length; ++i)
+ message.unreachable[i] = String(object.unreachable[i]);
+ }
+ return message;
+ };
+
+ /**
+ * Creates a plain object from a SearchCatalogResponse message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.cloud.datacatalog.v1.SearchCatalogResponse
+ * @static
+ * @param {google.cloud.datacatalog.v1.SearchCatalogResponse} message SearchCatalogResponse
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ SearchCatalogResponse.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.arrays || options.defaults) {
+ object.results = [];
+ object.unreachable = [];
+ }
+ if (options.defaults)
+ object.nextPageToken = "";
+ if (message.results && message.results.length) {
+ object.results = [];
+ for (var j = 0; j < message.results.length; ++j)
+ object.results[j] = $root.google.cloud.datacatalog.v1.SearchCatalogResult.toObject(message.results[j], options);
+ }
+ if (message.nextPageToken != null && message.hasOwnProperty("nextPageToken"))
+ object.nextPageToken = message.nextPageToken;
+ if (message.unreachable && message.unreachable.length) {
+ object.unreachable = [];
+ for (var j = 0; j < message.unreachable.length; ++j)
+ object.unreachable[j] = message.unreachable[j];
+ }
+ return object;
+ };
+
+ /**
+ * Converts this SearchCatalogResponse to JSON.
+ * @function toJSON
+ * @memberof google.cloud.datacatalog.v1.SearchCatalogResponse
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ SearchCatalogResponse.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for SearchCatalogResponse
+ * @function getTypeUrl
+ * @memberof google.cloud.datacatalog.v1.SearchCatalogResponse
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ SearchCatalogResponse.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.cloud.datacatalog.v1.SearchCatalogResponse";
+ };
+
+ return SearchCatalogResponse;
+ })();
+
+ v1.CreateEntryGroupRequest = (function() {
+
+ /**
+ * Properties of a CreateEntryGroupRequest.
+ * @memberof google.cloud.datacatalog.v1
+ * @interface ICreateEntryGroupRequest
+ * @property {string|null} [parent] CreateEntryGroupRequest parent
+ * @property {string|null} [entryGroupId] CreateEntryGroupRequest entryGroupId
+ * @property {google.cloud.datacatalog.v1.IEntryGroup|null} [entryGroup] CreateEntryGroupRequest entryGroup
+ */
+
+ /**
+ * Constructs a new CreateEntryGroupRequest.
+ * @memberof google.cloud.datacatalog.v1
+ * @classdesc Represents a CreateEntryGroupRequest.
+ * @implements ICreateEntryGroupRequest
+ * @constructor
+ * @param {google.cloud.datacatalog.v1.ICreateEntryGroupRequest=} [properties] Properties to set
+ */
+ function CreateEntryGroupRequest(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]];
+ }
+
+ /**
+ * CreateEntryGroupRequest parent.
+ * @member {string} parent
+ * @memberof google.cloud.datacatalog.v1.CreateEntryGroupRequest
+ * @instance
+ */
+ CreateEntryGroupRequest.prototype.parent = "";
+
+ /**
+ * CreateEntryGroupRequest entryGroupId.
+ * @member {string} entryGroupId
+ * @memberof google.cloud.datacatalog.v1.CreateEntryGroupRequest
+ * @instance
+ */
+ CreateEntryGroupRequest.prototype.entryGroupId = "";
+
+ /**
+ * CreateEntryGroupRequest entryGroup.
+ * @member {google.cloud.datacatalog.v1.IEntryGroup|null|undefined} entryGroup
+ * @memberof google.cloud.datacatalog.v1.CreateEntryGroupRequest
+ * @instance
+ */
+ CreateEntryGroupRequest.prototype.entryGroup = null;
+
+ /**
+ * Creates a new CreateEntryGroupRequest instance using the specified properties.
+ * @function create
+ * @memberof google.cloud.datacatalog.v1.CreateEntryGroupRequest
+ * @static
+ * @param {google.cloud.datacatalog.v1.ICreateEntryGroupRequest=} [properties] Properties to set
+ * @returns {google.cloud.datacatalog.v1.CreateEntryGroupRequest} CreateEntryGroupRequest instance
+ */
+ CreateEntryGroupRequest.create = function create(properties) {
+ return new CreateEntryGroupRequest(properties);
+ };
+
+ /**
+ * Encodes the specified CreateEntryGroupRequest message. Does not implicitly {@link google.cloud.datacatalog.v1.CreateEntryGroupRequest.verify|verify} messages.
+ * @function encode
+ * @memberof google.cloud.datacatalog.v1.CreateEntryGroupRequest
+ * @static
+ * @param {google.cloud.datacatalog.v1.ICreateEntryGroupRequest} message CreateEntryGroupRequest message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ CreateEntryGroupRequest.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.parent != null && Object.hasOwnProperty.call(message, "parent"))
+ writer.uint32(/* id 1, wireType 2 =*/10).string(message.parent);
+ if (message.entryGroup != null && Object.hasOwnProperty.call(message, "entryGroup"))
+ $root.google.cloud.datacatalog.v1.EntryGroup.encode(message.entryGroup, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
+ if (message.entryGroupId != null && Object.hasOwnProperty.call(message, "entryGroupId"))
+ writer.uint32(/* id 3, wireType 2 =*/26).string(message.entryGroupId);
+ return writer;
+ };
+
+ /**
+ * Encodes the specified CreateEntryGroupRequest message, length delimited. Does not implicitly {@link google.cloud.datacatalog.v1.CreateEntryGroupRequest.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.cloud.datacatalog.v1.CreateEntryGroupRequest
+ * @static
+ * @param {google.cloud.datacatalog.v1.ICreateEntryGroupRequest} message CreateEntryGroupRequest message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ CreateEntryGroupRequest.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes a CreateEntryGroupRequest message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.cloud.datacatalog.v1.CreateEntryGroupRequest
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.cloud.datacatalog.v1.CreateEntryGroupRequest} CreateEntryGroupRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ CreateEntryGroupRequest.decode = function decode(reader, length) {
+ if (!(reader instanceof $Reader))
+ reader = $Reader.create(reader);
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.datacatalog.v1.CreateEntryGroupRequest();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ switch (tag >>> 3) {
+ case 1: {
+ message.parent = reader.string();
+ break;
+ }
+ case 3: {
+ message.entryGroupId = reader.string();
+ break;
+ }
+ case 2: {
+ message.entryGroup = $root.google.cloud.datacatalog.v1.EntryGroup.decode(reader, reader.uint32());
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes a CreateEntryGroupRequest message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.cloud.datacatalog.v1.CreateEntryGroupRequest
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.cloud.datacatalog.v1.CreateEntryGroupRequest} CreateEntryGroupRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ CreateEntryGroupRequest.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies a CreateEntryGroupRequest message.
+ * @function verify
+ * @memberof google.cloud.datacatalog.v1.CreateEntryGroupRequest
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ CreateEntryGroupRequest.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ if (message.parent != null && message.hasOwnProperty("parent"))
+ if (!$util.isString(message.parent))
+ return "parent: string expected";
+ if (message.entryGroupId != null && message.hasOwnProperty("entryGroupId"))
+ if (!$util.isString(message.entryGroupId))
+ return "entryGroupId: string expected";
+ if (message.entryGroup != null && message.hasOwnProperty("entryGroup")) {
+ var error = $root.google.cloud.datacatalog.v1.EntryGroup.verify(message.entryGroup);
+ if (error)
+ return "entryGroup." + error;
+ }
+ return null;
+ };
+
+ /**
+ * Creates a CreateEntryGroupRequest message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.cloud.datacatalog.v1.CreateEntryGroupRequest
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.cloud.datacatalog.v1.CreateEntryGroupRequest} CreateEntryGroupRequest
+ */
+ CreateEntryGroupRequest.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.cloud.datacatalog.v1.CreateEntryGroupRequest)
+ return object;
+ var message = new $root.google.cloud.datacatalog.v1.CreateEntryGroupRequest();
+ if (object.parent != null)
+ message.parent = String(object.parent);
+ if (object.entryGroupId != null)
+ message.entryGroupId = String(object.entryGroupId);
+ if (object.entryGroup != null) {
+ if (typeof object.entryGroup !== "object")
+ throw TypeError(".google.cloud.datacatalog.v1.CreateEntryGroupRequest.entryGroup: object expected");
+ message.entryGroup = $root.google.cloud.datacatalog.v1.EntryGroup.fromObject(object.entryGroup);
+ }
+ return message;
+ };
+
+ /**
+ * Creates a plain object from a CreateEntryGroupRequest message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.cloud.datacatalog.v1.CreateEntryGroupRequest
+ * @static
+ * @param {google.cloud.datacatalog.v1.CreateEntryGroupRequest} message CreateEntryGroupRequest
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ CreateEntryGroupRequest.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.defaults) {
+ object.parent = "";
+ object.entryGroup = null;
+ object.entryGroupId = "";
+ }
+ if (message.parent != null && message.hasOwnProperty("parent"))
+ object.parent = message.parent;
+ if (message.entryGroup != null && message.hasOwnProperty("entryGroup"))
+ object.entryGroup = $root.google.cloud.datacatalog.v1.EntryGroup.toObject(message.entryGroup, options);
+ if (message.entryGroupId != null && message.hasOwnProperty("entryGroupId"))
+ object.entryGroupId = message.entryGroupId;
+ return object;
+ };
+
+ /**
+ * Converts this CreateEntryGroupRequest to JSON.
+ * @function toJSON
+ * @memberof google.cloud.datacatalog.v1.CreateEntryGroupRequest
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ CreateEntryGroupRequest.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for CreateEntryGroupRequest
+ * @function getTypeUrl
+ * @memberof google.cloud.datacatalog.v1.CreateEntryGroupRequest
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ CreateEntryGroupRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.cloud.datacatalog.v1.CreateEntryGroupRequest";
+ };
+
+ return CreateEntryGroupRequest;
+ })();
+
+ v1.UpdateEntryGroupRequest = (function() {
+
+ /**
+ * Properties of an UpdateEntryGroupRequest.
+ * @memberof google.cloud.datacatalog.v1
+ * @interface IUpdateEntryGroupRequest
+ * @property {google.cloud.datacatalog.v1.IEntryGroup|null} [entryGroup] UpdateEntryGroupRequest entryGroup
+ * @property {google.protobuf.IFieldMask|null} [updateMask] UpdateEntryGroupRequest updateMask
+ */
+
+ /**
+ * Constructs a new UpdateEntryGroupRequest.
+ * @memberof google.cloud.datacatalog.v1
+ * @classdesc Represents an UpdateEntryGroupRequest.
+ * @implements IUpdateEntryGroupRequest
+ * @constructor
+ * @param {google.cloud.datacatalog.v1.IUpdateEntryGroupRequest=} [properties] Properties to set
+ */
+ function UpdateEntryGroupRequest(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]];
+ }
+
+ /**
+ * UpdateEntryGroupRequest entryGroup.
+ * @member {google.cloud.datacatalog.v1.IEntryGroup|null|undefined} entryGroup
+ * @memberof google.cloud.datacatalog.v1.UpdateEntryGroupRequest
+ * @instance
+ */
+ UpdateEntryGroupRequest.prototype.entryGroup = null;
+
+ /**
+ * UpdateEntryGroupRequest updateMask.
+ * @member {google.protobuf.IFieldMask|null|undefined} updateMask
+ * @memberof google.cloud.datacatalog.v1.UpdateEntryGroupRequest
+ * @instance
+ */
+ UpdateEntryGroupRequest.prototype.updateMask = null;
+
+ /**
+ * Creates a new UpdateEntryGroupRequest instance using the specified properties.
+ * @function create
+ * @memberof google.cloud.datacatalog.v1.UpdateEntryGroupRequest
+ * @static
+ * @param {google.cloud.datacatalog.v1.IUpdateEntryGroupRequest=} [properties] Properties to set
+ * @returns {google.cloud.datacatalog.v1.UpdateEntryGroupRequest} UpdateEntryGroupRequest instance
+ */
+ UpdateEntryGroupRequest.create = function create(properties) {
+ return new UpdateEntryGroupRequest(properties);
+ };
+
+ /**
+ * Encodes the specified UpdateEntryGroupRequest message. Does not implicitly {@link google.cloud.datacatalog.v1.UpdateEntryGroupRequest.verify|verify} messages.
+ * @function encode
+ * @memberof google.cloud.datacatalog.v1.UpdateEntryGroupRequest
+ * @static
+ * @param {google.cloud.datacatalog.v1.IUpdateEntryGroupRequest} message UpdateEntryGroupRequest message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ UpdateEntryGroupRequest.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.entryGroup != null && Object.hasOwnProperty.call(message, "entryGroup"))
+ $root.google.cloud.datacatalog.v1.EntryGroup.encode(message.entryGroup, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
+ if (message.updateMask != null && Object.hasOwnProperty.call(message, "updateMask"))
+ $root.google.protobuf.FieldMask.encode(message.updateMask, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
+ return writer;
+ };
+
+ /**
+ * Encodes the specified UpdateEntryGroupRequest message, length delimited. Does not implicitly {@link google.cloud.datacatalog.v1.UpdateEntryGroupRequest.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.cloud.datacatalog.v1.UpdateEntryGroupRequest
+ * @static
+ * @param {google.cloud.datacatalog.v1.IUpdateEntryGroupRequest} message UpdateEntryGroupRequest message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ UpdateEntryGroupRequest.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes an UpdateEntryGroupRequest message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.cloud.datacatalog.v1.UpdateEntryGroupRequest
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.cloud.datacatalog.v1.UpdateEntryGroupRequest} UpdateEntryGroupRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ UpdateEntryGroupRequest.decode = function decode(reader, length) {
+ if (!(reader instanceof $Reader))
+ reader = $Reader.create(reader);
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.datacatalog.v1.UpdateEntryGroupRequest();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ switch (tag >>> 3) {
+ case 1: {
+ message.entryGroup = $root.google.cloud.datacatalog.v1.EntryGroup.decode(reader, reader.uint32());
+ break;
+ }
+ case 2: {
+ message.updateMask = $root.google.protobuf.FieldMask.decode(reader, reader.uint32());
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes an UpdateEntryGroupRequest message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.cloud.datacatalog.v1.UpdateEntryGroupRequest
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.cloud.datacatalog.v1.UpdateEntryGroupRequest} UpdateEntryGroupRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ UpdateEntryGroupRequest.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies an UpdateEntryGroupRequest message.
+ * @function verify
+ * @memberof google.cloud.datacatalog.v1.UpdateEntryGroupRequest
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ UpdateEntryGroupRequest.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ if (message.entryGroup != null && message.hasOwnProperty("entryGroup")) {
+ var error = $root.google.cloud.datacatalog.v1.EntryGroup.verify(message.entryGroup);
+ if (error)
+ return "entryGroup." + error;
+ }
+ if (message.updateMask != null && message.hasOwnProperty("updateMask")) {
+ var error = $root.google.protobuf.FieldMask.verify(message.updateMask);
+ if (error)
+ return "updateMask." + error;
+ }
+ return null;
+ };
+
+ /**
+ * Creates an UpdateEntryGroupRequest message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.cloud.datacatalog.v1.UpdateEntryGroupRequest
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.cloud.datacatalog.v1.UpdateEntryGroupRequest} UpdateEntryGroupRequest
+ */
+ UpdateEntryGroupRequest.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.cloud.datacatalog.v1.UpdateEntryGroupRequest)
+ return object;
+ var message = new $root.google.cloud.datacatalog.v1.UpdateEntryGroupRequest();
+ if (object.entryGroup != null) {
+ if (typeof object.entryGroup !== "object")
+ throw TypeError(".google.cloud.datacatalog.v1.UpdateEntryGroupRequest.entryGroup: object expected");
+ message.entryGroup = $root.google.cloud.datacatalog.v1.EntryGroup.fromObject(object.entryGroup);
+ }
+ if (object.updateMask != null) {
+ if (typeof object.updateMask !== "object")
+ throw TypeError(".google.cloud.datacatalog.v1.UpdateEntryGroupRequest.updateMask: object expected");
+ message.updateMask = $root.google.protobuf.FieldMask.fromObject(object.updateMask);
+ }
+ return message;
+ };
+
+ /**
+ * Creates a plain object from an UpdateEntryGroupRequest message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.cloud.datacatalog.v1.UpdateEntryGroupRequest
+ * @static
+ * @param {google.cloud.datacatalog.v1.UpdateEntryGroupRequest} message UpdateEntryGroupRequest
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ UpdateEntryGroupRequest.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.defaults) {
+ object.entryGroup = null;
+ object.updateMask = null;
+ }
+ if (message.entryGroup != null && message.hasOwnProperty("entryGroup"))
+ object.entryGroup = $root.google.cloud.datacatalog.v1.EntryGroup.toObject(message.entryGroup, options);
+ if (message.updateMask != null && message.hasOwnProperty("updateMask"))
+ object.updateMask = $root.google.protobuf.FieldMask.toObject(message.updateMask, options);
+ return object;
+ };
+
+ /**
+ * Converts this UpdateEntryGroupRequest to JSON.
+ * @function toJSON
+ * @memberof google.cloud.datacatalog.v1.UpdateEntryGroupRequest
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ UpdateEntryGroupRequest.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for UpdateEntryGroupRequest
+ * @function getTypeUrl
+ * @memberof google.cloud.datacatalog.v1.UpdateEntryGroupRequest
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ UpdateEntryGroupRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.cloud.datacatalog.v1.UpdateEntryGroupRequest";
+ };
+
+ return UpdateEntryGroupRequest;
+ })();
+
+ v1.GetEntryGroupRequest = (function() {
+
+ /**
+ * Properties of a GetEntryGroupRequest.
+ * @memberof google.cloud.datacatalog.v1
+ * @interface IGetEntryGroupRequest
+ * @property {string|null} [name] GetEntryGroupRequest name
+ * @property {google.protobuf.IFieldMask|null} [readMask] GetEntryGroupRequest readMask
+ */
+
+ /**
+ * Constructs a new GetEntryGroupRequest.
+ * @memberof google.cloud.datacatalog.v1
+ * @classdesc Represents a GetEntryGroupRequest.
+ * @implements IGetEntryGroupRequest
+ * @constructor
+ * @param {google.cloud.datacatalog.v1.IGetEntryGroupRequest=} [properties] Properties to set
+ */
+ function GetEntryGroupRequest(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]];
+ }
+
+ /**
+ * GetEntryGroupRequest name.
+ * @member {string} name
+ * @memberof google.cloud.datacatalog.v1.GetEntryGroupRequest
+ * @instance
+ */
+ GetEntryGroupRequest.prototype.name = "";
+
+ /**
+ * GetEntryGroupRequest readMask.
+ * @member {google.protobuf.IFieldMask|null|undefined} readMask
+ * @memberof google.cloud.datacatalog.v1.GetEntryGroupRequest
+ * @instance
+ */
+ GetEntryGroupRequest.prototype.readMask = null;
+
+ /**
+ * Creates a new GetEntryGroupRequest instance using the specified properties.
+ * @function create
+ * @memberof google.cloud.datacatalog.v1.GetEntryGroupRequest
+ * @static
+ * @param {google.cloud.datacatalog.v1.IGetEntryGroupRequest=} [properties] Properties to set
+ * @returns {google.cloud.datacatalog.v1.GetEntryGroupRequest} GetEntryGroupRequest instance
+ */
+ GetEntryGroupRequest.create = function create(properties) {
+ return new GetEntryGroupRequest(properties);
+ };
+
+ /**
+ * Encodes the specified GetEntryGroupRequest message. Does not implicitly {@link google.cloud.datacatalog.v1.GetEntryGroupRequest.verify|verify} messages.
+ * @function encode
+ * @memberof google.cloud.datacatalog.v1.GetEntryGroupRequest
+ * @static
+ * @param {google.cloud.datacatalog.v1.IGetEntryGroupRequest} message GetEntryGroupRequest message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ GetEntryGroupRequest.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.name != null && Object.hasOwnProperty.call(message, "name"))
+ writer.uint32(/* id 1, wireType 2 =*/10).string(message.name);
+ if (message.readMask != null && Object.hasOwnProperty.call(message, "readMask"))
+ $root.google.protobuf.FieldMask.encode(message.readMask, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
+ return writer;
+ };
+
+ /**
+ * Encodes the specified GetEntryGroupRequest message, length delimited. Does not implicitly {@link google.cloud.datacatalog.v1.GetEntryGroupRequest.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.cloud.datacatalog.v1.GetEntryGroupRequest
+ * @static
+ * @param {google.cloud.datacatalog.v1.IGetEntryGroupRequest} message GetEntryGroupRequest message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ GetEntryGroupRequest.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes a GetEntryGroupRequest message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.cloud.datacatalog.v1.GetEntryGroupRequest
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.cloud.datacatalog.v1.GetEntryGroupRequest} GetEntryGroupRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ GetEntryGroupRequest.decode = function decode(reader, length) {
+ if (!(reader instanceof $Reader))
+ reader = $Reader.create(reader);
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.datacatalog.v1.GetEntryGroupRequest();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ switch (tag >>> 3) {
+ case 1: {
+ message.name = reader.string();
+ break;
+ }
+ case 2: {
+ message.readMask = $root.google.protobuf.FieldMask.decode(reader, reader.uint32());
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes a GetEntryGroupRequest message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.cloud.datacatalog.v1.GetEntryGroupRequest
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.cloud.datacatalog.v1.GetEntryGroupRequest} GetEntryGroupRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ GetEntryGroupRequest.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies a GetEntryGroupRequest message.
+ * @function verify
+ * @memberof google.cloud.datacatalog.v1.GetEntryGroupRequest
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ GetEntryGroupRequest.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.readMask != null && message.hasOwnProperty("readMask")) {
+ var error = $root.google.protobuf.FieldMask.verify(message.readMask);
+ if (error)
+ return "readMask." + error;
+ }
+ return null;
+ };
+
+ /**
+ * Creates a GetEntryGroupRequest message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.cloud.datacatalog.v1.GetEntryGroupRequest
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.cloud.datacatalog.v1.GetEntryGroupRequest} GetEntryGroupRequest
+ */
+ GetEntryGroupRequest.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.cloud.datacatalog.v1.GetEntryGroupRequest)
+ return object;
+ var message = new $root.google.cloud.datacatalog.v1.GetEntryGroupRequest();
+ if (object.name != null)
+ message.name = String(object.name);
+ if (object.readMask != null) {
+ if (typeof object.readMask !== "object")
+ throw TypeError(".google.cloud.datacatalog.v1.GetEntryGroupRequest.readMask: object expected");
+ message.readMask = $root.google.protobuf.FieldMask.fromObject(object.readMask);
+ }
+ return message;
+ };
+
+ /**
+ * Creates a plain object from a GetEntryGroupRequest message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.cloud.datacatalog.v1.GetEntryGroupRequest
+ * @static
+ * @param {google.cloud.datacatalog.v1.GetEntryGroupRequest} message GetEntryGroupRequest
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ GetEntryGroupRequest.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.defaults) {
+ object.name = "";
+ object.readMask = null;
+ }
+ if (message.name != null && message.hasOwnProperty("name"))
+ object.name = message.name;
+ if (message.readMask != null && message.hasOwnProperty("readMask"))
+ object.readMask = $root.google.protobuf.FieldMask.toObject(message.readMask, options);
+ return object;
+ };
+
+ /**
+ * Converts this GetEntryGroupRequest to JSON.
+ * @function toJSON
+ * @memberof google.cloud.datacatalog.v1.GetEntryGroupRequest
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ GetEntryGroupRequest.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for GetEntryGroupRequest
+ * @function getTypeUrl
+ * @memberof google.cloud.datacatalog.v1.GetEntryGroupRequest
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ GetEntryGroupRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.cloud.datacatalog.v1.GetEntryGroupRequest";
+ };
+
+ return GetEntryGroupRequest;
+ })();
+
+ v1.DeleteEntryGroupRequest = (function() {
+
+ /**
+ * Properties of a DeleteEntryGroupRequest.
+ * @memberof google.cloud.datacatalog.v1
+ * @interface IDeleteEntryGroupRequest
+ * @property {string|null} [name] DeleteEntryGroupRequest name
+ * @property {boolean|null} [force] DeleteEntryGroupRequest force
+ */
+
+ /**
+ * Constructs a new DeleteEntryGroupRequest.
+ * @memberof google.cloud.datacatalog.v1
+ * @classdesc Represents a DeleteEntryGroupRequest.
+ * @implements IDeleteEntryGroupRequest
+ * @constructor
+ * @param {google.cloud.datacatalog.v1.IDeleteEntryGroupRequest=} [properties] Properties to set
+ */
+ function DeleteEntryGroupRequest(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]];
+ }
+
+ /**
+ * DeleteEntryGroupRequest name.
+ * @member {string} name
+ * @memberof google.cloud.datacatalog.v1.DeleteEntryGroupRequest
+ * @instance
+ */
+ DeleteEntryGroupRequest.prototype.name = "";
+
+ /**
+ * DeleteEntryGroupRequest force.
+ * @member {boolean} force
+ * @memberof google.cloud.datacatalog.v1.DeleteEntryGroupRequest
+ * @instance
+ */
+ DeleteEntryGroupRequest.prototype.force = false;
+
+ /**
+ * Creates a new DeleteEntryGroupRequest instance using the specified properties.
+ * @function create
+ * @memberof google.cloud.datacatalog.v1.DeleteEntryGroupRequest
+ * @static
+ * @param {google.cloud.datacatalog.v1.IDeleteEntryGroupRequest=} [properties] Properties to set
+ * @returns {google.cloud.datacatalog.v1.DeleteEntryGroupRequest} DeleteEntryGroupRequest instance
+ */
+ DeleteEntryGroupRequest.create = function create(properties) {
+ return new DeleteEntryGroupRequest(properties);
+ };
+
+ /**
+ * Encodes the specified DeleteEntryGroupRequest message. Does not implicitly {@link google.cloud.datacatalog.v1.DeleteEntryGroupRequest.verify|verify} messages.
+ * @function encode
+ * @memberof google.cloud.datacatalog.v1.DeleteEntryGroupRequest
+ * @static
+ * @param {google.cloud.datacatalog.v1.IDeleteEntryGroupRequest} message DeleteEntryGroupRequest message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ DeleteEntryGroupRequest.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.name != null && Object.hasOwnProperty.call(message, "name"))
+ writer.uint32(/* id 1, wireType 2 =*/10).string(message.name);
+ if (message.force != null && Object.hasOwnProperty.call(message, "force"))
+ writer.uint32(/* id 2, wireType 0 =*/16).bool(message.force);
+ return writer;
+ };
+
+ /**
+ * Encodes the specified DeleteEntryGroupRequest message, length delimited. Does not implicitly {@link google.cloud.datacatalog.v1.DeleteEntryGroupRequest.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.cloud.datacatalog.v1.DeleteEntryGroupRequest
+ * @static
+ * @param {google.cloud.datacatalog.v1.IDeleteEntryGroupRequest} message DeleteEntryGroupRequest message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ DeleteEntryGroupRequest.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes a DeleteEntryGroupRequest message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.cloud.datacatalog.v1.DeleteEntryGroupRequest
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.cloud.datacatalog.v1.DeleteEntryGroupRequest} DeleteEntryGroupRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ DeleteEntryGroupRequest.decode = function decode(reader, length) {
+ if (!(reader instanceof $Reader))
+ reader = $Reader.create(reader);
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.datacatalog.v1.DeleteEntryGroupRequest();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ switch (tag >>> 3) {
+ case 1: {
+ message.name = reader.string();
+ break;
+ }
+ case 2: {
+ message.force = reader.bool();
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes a DeleteEntryGroupRequest message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.cloud.datacatalog.v1.DeleteEntryGroupRequest
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.cloud.datacatalog.v1.DeleteEntryGroupRequest} DeleteEntryGroupRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ DeleteEntryGroupRequest.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies a DeleteEntryGroupRequest message.
+ * @function verify
+ * @memberof google.cloud.datacatalog.v1.DeleteEntryGroupRequest
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ DeleteEntryGroupRequest.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.force != null && message.hasOwnProperty("force"))
+ if (typeof message.force !== "boolean")
+ return "force: boolean expected";
+ return null;
+ };
+
+ /**
+ * Creates a DeleteEntryGroupRequest message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.cloud.datacatalog.v1.DeleteEntryGroupRequest
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.cloud.datacatalog.v1.DeleteEntryGroupRequest} DeleteEntryGroupRequest
+ */
+ DeleteEntryGroupRequest.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.cloud.datacatalog.v1.DeleteEntryGroupRequest)
+ return object;
+ var message = new $root.google.cloud.datacatalog.v1.DeleteEntryGroupRequest();
+ if (object.name != null)
+ message.name = String(object.name);
+ if (object.force != null)
+ message.force = Boolean(object.force);
+ return message;
+ };
+
+ /**
+ * Creates a plain object from a DeleteEntryGroupRequest message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.cloud.datacatalog.v1.DeleteEntryGroupRequest
+ * @static
+ * @param {google.cloud.datacatalog.v1.DeleteEntryGroupRequest} message DeleteEntryGroupRequest
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ DeleteEntryGroupRequest.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.defaults) {
+ object.name = "";
+ object.force = false;
+ }
+ if (message.name != null && message.hasOwnProperty("name"))
+ object.name = message.name;
+ if (message.force != null && message.hasOwnProperty("force"))
+ object.force = message.force;
+ return object;
+ };
+
+ /**
+ * Converts this DeleteEntryGroupRequest to JSON.
+ * @function toJSON
+ * @memberof google.cloud.datacatalog.v1.DeleteEntryGroupRequest
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ DeleteEntryGroupRequest.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for DeleteEntryGroupRequest
+ * @function getTypeUrl
+ * @memberof google.cloud.datacatalog.v1.DeleteEntryGroupRequest
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ DeleteEntryGroupRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.cloud.datacatalog.v1.DeleteEntryGroupRequest";
+ };
+
+ return DeleteEntryGroupRequest;
+ })();
+
+ v1.ListEntryGroupsRequest = (function() {
+
+ /**
+ * Properties of a ListEntryGroupsRequest.
+ * @memberof google.cloud.datacatalog.v1
+ * @interface IListEntryGroupsRequest
+ * @property {string|null} [parent] ListEntryGroupsRequest parent
+ * @property {number|null} [pageSize] ListEntryGroupsRequest pageSize
+ * @property {string|null} [pageToken] ListEntryGroupsRequest pageToken
+ */
+
+ /**
+ * Constructs a new ListEntryGroupsRequest.
+ * @memberof google.cloud.datacatalog.v1
+ * @classdesc Represents a ListEntryGroupsRequest.
+ * @implements IListEntryGroupsRequest
+ * @constructor
+ * @param {google.cloud.datacatalog.v1.IListEntryGroupsRequest=} [properties] Properties to set
+ */
+ function ListEntryGroupsRequest(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]];
+ }
+
+ /**
+ * ListEntryGroupsRequest parent.
+ * @member {string} parent
+ * @memberof google.cloud.datacatalog.v1.ListEntryGroupsRequest
+ * @instance
+ */
+ ListEntryGroupsRequest.prototype.parent = "";
+
+ /**
+ * ListEntryGroupsRequest pageSize.
+ * @member {number} pageSize
+ * @memberof google.cloud.datacatalog.v1.ListEntryGroupsRequest
+ * @instance
+ */
+ ListEntryGroupsRequest.prototype.pageSize = 0;
+
+ /**
+ * ListEntryGroupsRequest pageToken.
+ * @member {string} pageToken
+ * @memberof google.cloud.datacatalog.v1.ListEntryGroupsRequest
+ * @instance
+ */
+ ListEntryGroupsRequest.prototype.pageToken = "";
+
+ /**
+ * Creates a new ListEntryGroupsRequest instance using the specified properties.
+ * @function create
+ * @memberof google.cloud.datacatalog.v1.ListEntryGroupsRequest
+ * @static
+ * @param {google.cloud.datacatalog.v1.IListEntryGroupsRequest=} [properties] Properties to set
+ * @returns {google.cloud.datacatalog.v1.ListEntryGroupsRequest} ListEntryGroupsRequest instance
+ */
+ ListEntryGroupsRequest.create = function create(properties) {
+ return new ListEntryGroupsRequest(properties);
+ };
+
+ /**
+ * Encodes the specified ListEntryGroupsRequest message. Does not implicitly {@link google.cloud.datacatalog.v1.ListEntryGroupsRequest.verify|verify} messages.
+ * @function encode
+ * @memberof google.cloud.datacatalog.v1.ListEntryGroupsRequest
+ * @static
+ * @param {google.cloud.datacatalog.v1.IListEntryGroupsRequest} message ListEntryGroupsRequest message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ ListEntryGroupsRequest.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.parent != null && Object.hasOwnProperty.call(message, "parent"))
+ writer.uint32(/* id 1, wireType 2 =*/10).string(message.parent);
+ if (message.pageSize != null && Object.hasOwnProperty.call(message, "pageSize"))
+ writer.uint32(/* id 2, wireType 0 =*/16).int32(message.pageSize);
+ if (message.pageToken != null && Object.hasOwnProperty.call(message, "pageToken"))
+ writer.uint32(/* id 3, wireType 2 =*/26).string(message.pageToken);
+ return writer;
+ };
+
+ /**
+ * Encodes the specified ListEntryGroupsRequest message, length delimited. Does not implicitly {@link google.cloud.datacatalog.v1.ListEntryGroupsRequest.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.cloud.datacatalog.v1.ListEntryGroupsRequest
+ * @static
+ * @param {google.cloud.datacatalog.v1.IListEntryGroupsRequest} message ListEntryGroupsRequest message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ ListEntryGroupsRequest.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes a ListEntryGroupsRequest message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.cloud.datacatalog.v1.ListEntryGroupsRequest
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.cloud.datacatalog.v1.ListEntryGroupsRequest} ListEntryGroupsRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ ListEntryGroupsRequest.decode = function decode(reader, length) {
+ if (!(reader instanceof $Reader))
+ reader = $Reader.create(reader);
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.datacatalog.v1.ListEntryGroupsRequest();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ switch (tag >>> 3) {
+ case 1: {
+ message.parent = reader.string();
+ break;
+ }
+ case 2: {
+ message.pageSize = reader.int32();
+ break;
+ }
+ case 3: {
+ message.pageToken = reader.string();
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes a ListEntryGroupsRequest message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.cloud.datacatalog.v1.ListEntryGroupsRequest
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.cloud.datacatalog.v1.ListEntryGroupsRequest} ListEntryGroupsRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ ListEntryGroupsRequest.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies a ListEntryGroupsRequest message.
+ * @function verify
+ * @memberof google.cloud.datacatalog.v1.ListEntryGroupsRequest
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ ListEntryGroupsRequest.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ if (message.parent != null && message.hasOwnProperty("parent"))
+ if (!$util.isString(message.parent))
+ return "parent: string expected";
+ if (message.pageSize != null && message.hasOwnProperty("pageSize"))
+ if (!$util.isInteger(message.pageSize))
+ return "pageSize: integer expected";
+ if (message.pageToken != null && message.hasOwnProperty("pageToken"))
+ if (!$util.isString(message.pageToken))
+ return "pageToken: string expected";
+ return null;
+ };
+
+ /**
+ * Creates a ListEntryGroupsRequest message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.cloud.datacatalog.v1.ListEntryGroupsRequest
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.cloud.datacatalog.v1.ListEntryGroupsRequest} ListEntryGroupsRequest
+ */
+ ListEntryGroupsRequest.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.cloud.datacatalog.v1.ListEntryGroupsRequest)
+ return object;
+ var message = new $root.google.cloud.datacatalog.v1.ListEntryGroupsRequest();
+ if (object.parent != null)
+ message.parent = String(object.parent);
+ if (object.pageSize != null)
+ message.pageSize = object.pageSize | 0;
+ if (object.pageToken != null)
+ message.pageToken = String(object.pageToken);
+ return message;
+ };
+
+ /**
+ * Creates a plain object from a ListEntryGroupsRequest message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.cloud.datacatalog.v1.ListEntryGroupsRequest
+ * @static
+ * @param {google.cloud.datacatalog.v1.ListEntryGroupsRequest} message ListEntryGroupsRequest
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ ListEntryGroupsRequest.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.defaults) {
+ object.parent = "";
+ object.pageSize = 0;
+ object.pageToken = "";
+ }
+ if (message.parent != null && message.hasOwnProperty("parent"))
+ object.parent = message.parent;
+ if (message.pageSize != null && message.hasOwnProperty("pageSize"))
+ object.pageSize = message.pageSize;
+ if (message.pageToken != null && message.hasOwnProperty("pageToken"))
+ object.pageToken = message.pageToken;
+ return object;
+ };
+
+ /**
+ * Converts this ListEntryGroupsRequest to JSON.
+ * @function toJSON
+ * @memberof google.cloud.datacatalog.v1.ListEntryGroupsRequest
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ ListEntryGroupsRequest.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for ListEntryGroupsRequest
+ * @function getTypeUrl
+ * @memberof google.cloud.datacatalog.v1.ListEntryGroupsRequest
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ ListEntryGroupsRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.cloud.datacatalog.v1.ListEntryGroupsRequest";
+ };
+
+ return ListEntryGroupsRequest;
+ })();
+
+ v1.ListEntryGroupsResponse = (function() {
+
+ /**
+ * Properties of a ListEntryGroupsResponse.
+ * @memberof google.cloud.datacatalog.v1
+ * @interface IListEntryGroupsResponse
+ * @property {Array.|null} [entryGroups] ListEntryGroupsResponse entryGroups
+ * @property {string|null} [nextPageToken] ListEntryGroupsResponse nextPageToken
+ */
+
+ /**
+ * Constructs a new ListEntryGroupsResponse.
+ * @memberof google.cloud.datacatalog.v1
+ * @classdesc Represents a ListEntryGroupsResponse.
+ * @implements IListEntryGroupsResponse
+ * @constructor
+ * @param {google.cloud.datacatalog.v1.IListEntryGroupsResponse=} [properties] Properties to set
+ */
+ function ListEntryGroupsResponse(properties) {
+ this.entryGroups = [];
+ 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]];
+ }
+
+ /**
+ * ListEntryGroupsResponse entryGroups.
+ * @member {Array.} entryGroups
+ * @memberof google.cloud.datacatalog.v1.ListEntryGroupsResponse
+ * @instance
+ */
+ ListEntryGroupsResponse.prototype.entryGroups = $util.emptyArray;
+
+ /**
+ * ListEntryGroupsResponse nextPageToken.
+ * @member {string} nextPageToken
+ * @memberof google.cloud.datacatalog.v1.ListEntryGroupsResponse
+ * @instance
+ */
+ ListEntryGroupsResponse.prototype.nextPageToken = "";
+
+ /**
+ * Creates a new ListEntryGroupsResponse instance using the specified properties.
+ * @function create
+ * @memberof google.cloud.datacatalog.v1.ListEntryGroupsResponse
+ * @static
+ * @param {google.cloud.datacatalog.v1.IListEntryGroupsResponse=} [properties] Properties to set
+ * @returns {google.cloud.datacatalog.v1.ListEntryGroupsResponse} ListEntryGroupsResponse instance
+ */
+ ListEntryGroupsResponse.create = function create(properties) {
+ return new ListEntryGroupsResponse(properties);
+ };
+
+ /**
+ * Encodes the specified ListEntryGroupsResponse message. Does not implicitly {@link google.cloud.datacatalog.v1.ListEntryGroupsResponse.verify|verify} messages.
+ * @function encode
+ * @memberof google.cloud.datacatalog.v1.ListEntryGroupsResponse
+ * @static
+ * @param {google.cloud.datacatalog.v1.IListEntryGroupsResponse} message ListEntryGroupsResponse message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ ListEntryGroupsResponse.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.entryGroups != null && message.entryGroups.length)
+ for (var i = 0; i < message.entryGroups.length; ++i)
+ $root.google.cloud.datacatalog.v1.EntryGroup.encode(message.entryGroups[i], writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
+ if (message.nextPageToken != null && Object.hasOwnProperty.call(message, "nextPageToken"))
+ writer.uint32(/* id 2, wireType 2 =*/18).string(message.nextPageToken);
+ return writer;
+ };
+
+ /**
+ * Encodes the specified ListEntryGroupsResponse message, length delimited. Does not implicitly {@link google.cloud.datacatalog.v1.ListEntryGroupsResponse.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.cloud.datacatalog.v1.ListEntryGroupsResponse
+ * @static
+ * @param {google.cloud.datacatalog.v1.IListEntryGroupsResponse} message ListEntryGroupsResponse message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ ListEntryGroupsResponse.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes a ListEntryGroupsResponse message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.cloud.datacatalog.v1.ListEntryGroupsResponse
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.cloud.datacatalog.v1.ListEntryGroupsResponse} ListEntryGroupsResponse
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ ListEntryGroupsResponse.decode = function decode(reader, length) {
+ if (!(reader instanceof $Reader))
+ reader = $Reader.create(reader);
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.datacatalog.v1.ListEntryGroupsResponse();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ switch (tag >>> 3) {
+ case 1: {
+ if (!(message.entryGroups && message.entryGroups.length))
+ message.entryGroups = [];
+ message.entryGroups.push($root.google.cloud.datacatalog.v1.EntryGroup.decode(reader, reader.uint32()));
+ break;
+ }
+ case 2: {
+ message.nextPageToken = reader.string();
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes a ListEntryGroupsResponse message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.cloud.datacatalog.v1.ListEntryGroupsResponse
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.cloud.datacatalog.v1.ListEntryGroupsResponse} ListEntryGroupsResponse
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ ListEntryGroupsResponse.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies a ListEntryGroupsResponse message.
+ * @function verify
+ * @memberof google.cloud.datacatalog.v1.ListEntryGroupsResponse
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ ListEntryGroupsResponse.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ if (message.entryGroups != null && message.hasOwnProperty("entryGroups")) {
+ if (!Array.isArray(message.entryGroups))
+ return "entryGroups: array expected";
+ for (var i = 0; i < message.entryGroups.length; ++i) {
+ var error = $root.google.cloud.datacatalog.v1.EntryGroup.verify(message.entryGroups[i]);
+ if (error)
+ return "entryGroups." + error;
+ }
+ }
+ if (message.nextPageToken != null && message.hasOwnProperty("nextPageToken"))
+ if (!$util.isString(message.nextPageToken))
+ return "nextPageToken: string expected";
+ return null;
+ };
+
+ /**
+ * Creates a ListEntryGroupsResponse message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.cloud.datacatalog.v1.ListEntryGroupsResponse
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.cloud.datacatalog.v1.ListEntryGroupsResponse} ListEntryGroupsResponse
+ */
+ ListEntryGroupsResponse.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.cloud.datacatalog.v1.ListEntryGroupsResponse)
+ return object;
+ var message = new $root.google.cloud.datacatalog.v1.ListEntryGroupsResponse();
+ if (object.entryGroups) {
+ if (!Array.isArray(object.entryGroups))
+ throw TypeError(".google.cloud.datacatalog.v1.ListEntryGroupsResponse.entryGroups: array expected");
+ message.entryGroups = [];
+ for (var i = 0; i < object.entryGroups.length; ++i) {
+ if (typeof object.entryGroups[i] !== "object")
+ throw TypeError(".google.cloud.datacatalog.v1.ListEntryGroupsResponse.entryGroups: object expected");
+ message.entryGroups[i] = $root.google.cloud.datacatalog.v1.EntryGroup.fromObject(object.entryGroups[i]);
+ }
+ }
+ if (object.nextPageToken != null)
+ message.nextPageToken = String(object.nextPageToken);
+ return message;
+ };
+
+ /**
+ * Creates a plain object from a ListEntryGroupsResponse message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.cloud.datacatalog.v1.ListEntryGroupsResponse
+ * @static
+ * @param {google.cloud.datacatalog.v1.ListEntryGroupsResponse} message ListEntryGroupsResponse
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ ListEntryGroupsResponse.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.arrays || options.defaults)
+ object.entryGroups = [];
+ if (options.defaults)
+ object.nextPageToken = "";
+ if (message.entryGroups && message.entryGroups.length) {
+ object.entryGroups = [];
+ for (var j = 0; j < message.entryGroups.length; ++j)
+ object.entryGroups[j] = $root.google.cloud.datacatalog.v1.EntryGroup.toObject(message.entryGroups[j], options);
+ }
+ if (message.nextPageToken != null && message.hasOwnProperty("nextPageToken"))
+ object.nextPageToken = message.nextPageToken;
+ return object;
+ };
+
+ /**
+ * Converts this ListEntryGroupsResponse to JSON.
+ * @function toJSON
+ * @memberof google.cloud.datacatalog.v1.ListEntryGroupsResponse
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ ListEntryGroupsResponse.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for ListEntryGroupsResponse
+ * @function getTypeUrl
+ * @memberof google.cloud.datacatalog.v1.ListEntryGroupsResponse
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ ListEntryGroupsResponse.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.cloud.datacatalog.v1.ListEntryGroupsResponse";
+ };
+
+ return ListEntryGroupsResponse;
+ })();
+
+ v1.CreateEntryRequest = (function() {
+
+ /**
+ * Properties of a CreateEntryRequest.
+ * @memberof google.cloud.datacatalog.v1
+ * @interface ICreateEntryRequest
+ * @property {string|null} [parent] CreateEntryRequest parent
+ * @property {string|null} [entryId] CreateEntryRequest entryId
+ * @property {google.cloud.datacatalog.v1.IEntry|null} [entry] CreateEntryRequest entry
+ */
+
+ /**
+ * Constructs a new CreateEntryRequest.
+ * @memberof google.cloud.datacatalog.v1
+ * @classdesc Represents a CreateEntryRequest.
+ * @implements ICreateEntryRequest
+ * @constructor
+ * @param {google.cloud.datacatalog.v1.ICreateEntryRequest=} [properties] Properties to set
+ */
+ function CreateEntryRequest(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]];
+ }
+
+ /**
+ * CreateEntryRequest parent.
+ * @member {string} parent
+ * @memberof google.cloud.datacatalog.v1.CreateEntryRequest
+ * @instance
+ */
+ CreateEntryRequest.prototype.parent = "";
+
+ /**
+ * CreateEntryRequest entryId.
+ * @member {string} entryId
+ * @memberof google.cloud.datacatalog.v1.CreateEntryRequest
+ * @instance
+ */
+ CreateEntryRequest.prototype.entryId = "";
+
+ /**
+ * CreateEntryRequest entry.
+ * @member {google.cloud.datacatalog.v1.IEntry|null|undefined} entry
+ * @memberof google.cloud.datacatalog.v1.CreateEntryRequest
+ * @instance
+ */
+ CreateEntryRequest.prototype.entry = null;
+
+ /**
+ * Creates a new CreateEntryRequest instance using the specified properties.
+ * @function create
+ * @memberof google.cloud.datacatalog.v1.CreateEntryRequest
+ * @static
+ * @param {google.cloud.datacatalog.v1.ICreateEntryRequest=} [properties] Properties to set
+ * @returns {google.cloud.datacatalog.v1.CreateEntryRequest} CreateEntryRequest instance
+ */
+ CreateEntryRequest.create = function create(properties) {
+ return new CreateEntryRequest(properties);
+ };
+
+ /**
+ * Encodes the specified CreateEntryRequest message. Does not implicitly {@link google.cloud.datacatalog.v1.CreateEntryRequest.verify|verify} messages.
+ * @function encode
+ * @memberof google.cloud.datacatalog.v1.CreateEntryRequest
+ * @static
+ * @param {google.cloud.datacatalog.v1.ICreateEntryRequest} message CreateEntryRequest message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ CreateEntryRequest.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.parent != null && Object.hasOwnProperty.call(message, "parent"))
+ writer.uint32(/* id 1, wireType 2 =*/10).string(message.parent);
+ if (message.entry != null && Object.hasOwnProperty.call(message, "entry"))
+ $root.google.cloud.datacatalog.v1.Entry.encode(message.entry, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
+ if (message.entryId != null && Object.hasOwnProperty.call(message, "entryId"))
+ writer.uint32(/* id 3, wireType 2 =*/26).string(message.entryId);
+ return writer;
+ };
+
+ /**
+ * Encodes the specified CreateEntryRequest message, length delimited. Does not implicitly {@link google.cloud.datacatalog.v1.CreateEntryRequest.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.cloud.datacatalog.v1.CreateEntryRequest
+ * @static
+ * @param {google.cloud.datacatalog.v1.ICreateEntryRequest} message CreateEntryRequest message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ CreateEntryRequest.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes a CreateEntryRequest message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.cloud.datacatalog.v1.CreateEntryRequest
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.cloud.datacatalog.v1.CreateEntryRequest} CreateEntryRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ CreateEntryRequest.decode = function decode(reader, length) {
+ if (!(reader instanceof $Reader))
+ reader = $Reader.create(reader);
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.datacatalog.v1.CreateEntryRequest();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ switch (tag >>> 3) {
+ case 1: {
+ message.parent = reader.string();
+ break;
+ }
+ case 3: {
+ message.entryId = reader.string();
+ break;
+ }
+ case 2: {
+ message.entry = $root.google.cloud.datacatalog.v1.Entry.decode(reader, reader.uint32());
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes a CreateEntryRequest message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.cloud.datacatalog.v1.CreateEntryRequest
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.cloud.datacatalog.v1.CreateEntryRequest} CreateEntryRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ CreateEntryRequest.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies a CreateEntryRequest message.
+ * @function verify
+ * @memberof google.cloud.datacatalog.v1.CreateEntryRequest
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ CreateEntryRequest.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ if (message.parent != null && message.hasOwnProperty("parent"))
+ if (!$util.isString(message.parent))
+ return "parent: string expected";
+ if (message.entryId != null && message.hasOwnProperty("entryId"))
+ if (!$util.isString(message.entryId))
+ return "entryId: string expected";
+ if (message.entry != null && message.hasOwnProperty("entry")) {
+ var error = $root.google.cloud.datacatalog.v1.Entry.verify(message.entry);
+ if (error)
+ return "entry." + error;
+ }
+ return null;
+ };
+
+ /**
+ * Creates a CreateEntryRequest message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.cloud.datacatalog.v1.CreateEntryRequest
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.cloud.datacatalog.v1.CreateEntryRequest} CreateEntryRequest
+ */
+ CreateEntryRequest.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.cloud.datacatalog.v1.CreateEntryRequest)
+ return object;
+ var message = new $root.google.cloud.datacatalog.v1.CreateEntryRequest();
+ if (object.parent != null)
+ message.parent = String(object.parent);
+ if (object.entryId != null)
+ message.entryId = String(object.entryId);
+ if (object.entry != null) {
+ if (typeof object.entry !== "object")
+ throw TypeError(".google.cloud.datacatalog.v1.CreateEntryRequest.entry: object expected");
+ message.entry = $root.google.cloud.datacatalog.v1.Entry.fromObject(object.entry);
+ }
+ return message;
+ };
+
+ /**
+ * Creates a plain object from a CreateEntryRequest message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.cloud.datacatalog.v1.CreateEntryRequest
+ * @static
+ * @param {google.cloud.datacatalog.v1.CreateEntryRequest} message CreateEntryRequest
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ CreateEntryRequest.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.defaults) {
+ object.parent = "";
+ object.entry = null;
+ object.entryId = "";
+ }
+ if (message.parent != null && message.hasOwnProperty("parent"))
+ object.parent = message.parent;
+ if (message.entry != null && message.hasOwnProperty("entry"))
+ object.entry = $root.google.cloud.datacatalog.v1.Entry.toObject(message.entry, options);
+ if (message.entryId != null && message.hasOwnProperty("entryId"))
+ object.entryId = message.entryId;
+ return object;
+ };
+
+ /**
+ * Converts this CreateEntryRequest to JSON.
+ * @function toJSON
+ * @memberof google.cloud.datacatalog.v1.CreateEntryRequest
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ CreateEntryRequest.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for CreateEntryRequest
+ * @function getTypeUrl
+ * @memberof google.cloud.datacatalog.v1.CreateEntryRequest
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ CreateEntryRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.cloud.datacatalog.v1.CreateEntryRequest";
+ };
+
+ return CreateEntryRequest;
+ })();
+
+ v1.UpdateEntryRequest = (function() {
+
+ /**
+ * Properties of an UpdateEntryRequest.
+ * @memberof google.cloud.datacatalog.v1
+ * @interface IUpdateEntryRequest
+ * @property {google.cloud.datacatalog.v1.IEntry|null} [entry] UpdateEntryRequest entry
+ * @property {google.protobuf.IFieldMask|null} [updateMask] UpdateEntryRequest updateMask
+ */
+
+ /**
+ * Constructs a new UpdateEntryRequest.
+ * @memberof google.cloud.datacatalog.v1
+ * @classdesc Represents an UpdateEntryRequest.
+ * @implements IUpdateEntryRequest
+ * @constructor
+ * @param {google.cloud.datacatalog.v1.IUpdateEntryRequest=} [properties] Properties to set
+ */
+ function UpdateEntryRequest(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]];
+ }
+
+ /**
+ * UpdateEntryRequest entry.
+ * @member {google.cloud.datacatalog.v1.IEntry|null|undefined} entry
+ * @memberof google.cloud.datacatalog.v1.UpdateEntryRequest
+ * @instance
+ */
+ UpdateEntryRequest.prototype.entry = null;
+
+ /**
+ * UpdateEntryRequest updateMask.
+ * @member {google.protobuf.IFieldMask|null|undefined} updateMask
+ * @memberof google.cloud.datacatalog.v1.UpdateEntryRequest
+ * @instance
+ */
+ UpdateEntryRequest.prototype.updateMask = null;
+
+ /**
+ * Creates a new UpdateEntryRequest instance using the specified properties.
+ * @function create
+ * @memberof google.cloud.datacatalog.v1.UpdateEntryRequest
+ * @static
+ * @param {google.cloud.datacatalog.v1.IUpdateEntryRequest=} [properties] Properties to set
+ * @returns {google.cloud.datacatalog.v1.UpdateEntryRequest} UpdateEntryRequest instance
+ */
+ UpdateEntryRequest.create = function create(properties) {
+ return new UpdateEntryRequest(properties);
+ };
+
+ /**
+ * Encodes the specified UpdateEntryRequest message. Does not implicitly {@link google.cloud.datacatalog.v1.UpdateEntryRequest.verify|verify} messages.
+ * @function encode
+ * @memberof google.cloud.datacatalog.v1.UpdateEntryRequest
+ * @static
+ * @param {google.cloud.datacatalog.v1.IUpdateEntryRequest} message UpdateEntryRequest message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ UpdateEntryRequest.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.entry != null && Object.hasOwnProperty.call(message, "entry"))
+ $root.google.cloud.datacatalog.v1.Entry.encode(message.entry, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
+ if (message.updateMask != null && Object.hasOwnProperty.call(message, "updateMask"))
+ $root.google.protobuf.FieldMask.encode(message.updateMask, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
+ return writer;
+ };
+
+ /**
+ * Encodes the specified UpdateEntryRequest message, length delimited. Does not implicitly {@link google.cloud.datacatalog.v1.UpdateEntryRequest.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.cloud.datacatalog.v1.UpdateEntryRequest
+ * @static
+ * @param {google.cloud.datacatalog.v1.IUpdateEntryRequest} message UpdateEntryRequest message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ UpdateEntryRequest.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes an UpdateEntryRequest message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.cloud.datacatalog.v1.UpdateEntryRequest
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.cloud.datacatalog.v1.UpdateEntryRequest} UpdateEntryRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ UpdateEntryRequest.decode = function decode(reader, length) {
+ if (!(reader instanceof $Reader))
+ reader = $Reader.create(reader);
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.datacatalog.v1.UpdateEntryRequest();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ switch (tag >>> 3) {
+ case 1: {
+ message.entry = $root.google.cloud.datacatalog.v1.Entry.decode(reader, reader.uint32());
+ break;
+ }
+ case 2: {
+ message.updateMask = $root.google.protobuf.FieldMask.decode(reader, reader.uint32());
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes an UpdateEntryRequest message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.cloud.datacatalog.v1.UpdateEntryRequest
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.cloud.datacatalog.v1.UpdateEntryRequest} UpdateEntryRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ UpdateEntryRequest.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies an UpdateEntryRequest message.
+ * @function verify
+ * @memberof google.cloud.datacatalog.v1.UpdateEntryRequest
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ UpdateEntryRequest.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ if (message.entry != null && message.hasOwnProperty("entry")) {
+ var error = $root.google.cloud.datacatalog.v1.Entry.verify(message.entry);
+ if (error)
+ return "entry." + error;
+ }
+ if (message.updateMask != null && message.hasOwnProperty("updateMask")) {
+ var error = $root.google.protobuf.FieldMask.verify(message.updateMask);
+ if (error)
+ return "updateMask." + error;
+ }
+ return null;
+ };
+
+ /**
+ * Creates an UpdateEntryRequest message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.cloud.datacatalog.v1.UpdateEntryRequest
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.cloud.datacatalog.v1.UpdateEntryRequest} UpdateEntryRequest
+ */
+ UpdateEntryRequest.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.cloud.datacatalog.v1.UpdateEntryRequest)
+ return object;
+ var message = new $root.google.cloud.datacatalog.v1.UpdateEntryRequest();
+ if (object.entry != null) {
+ if (typeof object.entry !== "object")
+ throw TypeError(".google.cloud.datacatalog.v1.UpdateEntryRequest.entry: object expected");
+ message.entry = $root.google.cloud.datacatalog.v1.Entry.fromObject(object.entry);
+ }
+ if (object.updateMask != null) {
+ if (typeof object.updateMask !== "object")
+ throw TypeError(".google.cloud.datacatalog.v1.UpdateEntryRequest.updateMask: object expected");
+ message.updateMask = $root.google.protobuf.FieldMask.fromObject(object.updateMask);
+ }
+ return message;
+ };
+
+ /**
+ * Creates a plain object from an UpdateEntryRequest message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.cloud.datacatalog.v1.UpdateEntryRequest
+ * @static
+ * @param {google.cloud.datacatalog.v1.UpdateEntryRequest} message UpdateEntryRequest
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ UpdateEntryRequest.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.defaults) {
+ object.entry = null;
+ object.updateMask = null;
+ }
+ if (message.entry != null && message.hasOwnProperty("entry"))
+ object.entry = $root.google.cloud.datacatalog.v1.Entry.toObject(message.entry, options);
+ if (message.updateMask != null && message.hasOwnProperty("updateMask"))
+ object.updateMask = $root.google.protobuf.FieldMask.toObject(message.updateMask, options);
+ return object;
+ };
+
+ /**
+ * Converts this UpdateEntryRequest to JSON.
+ * @function toJSON
+ * @memberof google.cloud.datacatalog.v1.UpdateEntryRequest
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ UpdateEntryRequest.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for UpdateEntryRequest
+ * @function getTypeUrl
+ * @memberof google.cloud.datacatalog.v1.UpdateEntryRequest
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ UpdateEntryRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.cloud.datacatalog.v1.UpdateEntryRequest";
+ };
+
+ return UpdateEntryRequest;
+ })();
+
+ v1.DeleteEntryRequest = (function() {
+
+ /**
+ * Properties of a DeleteEntryRequest.
+ * @memberof google.cloud.datacatalog.v1
+ * @interface IDeleteEntryRequest
+ * @property {string|null} [name] DeleteEntryRequest name
+ */
+
+ /**
+ * Constructs a new DeleteEntryRequest.
+ * @memberof google.cloud.datacatalog.v1
+ * @classdesc Represents a DeleteEntryRequest.
+ * @implements IDeleteEntryRequest
+ * @constructor
+ * @param {google.cloud.datacatalog.v1.IDeleteEntryRequest=} [properties] Properties to set
+ */
+ function DeleteEntryRequest(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]];
+ }
+
+ /**
+ * DeleteEntryRequest name.
+ * @member {string} name
+ * @memberof google.cloud.datacatalog.v1.DeleteEntryRequest
+ * @instance
+ */
+ DeleteEntryRequest.prototype.name = "";
+
+ /**
+ * Creates a new DeleteEntryRequest instance using the specified properties.
+ * @function create
+ * @memberof google.cloud.datacatalog.v1.DeleteEntryRequest
+ * @static
+ * @param {google.cloud.datacatalog.v1.IDeleteEntryRequest=} [properties] Properties to set
+ * @returns {google.cloud.datacatalog.v1.DeleteEntryRequest} DeleteEntryRequest instance
+ */
+ DeleteEntryRequest.create = function create(properties) {
+ return new DeleteEntryRequest(properties);
+ };
+
+ /**
+ * Encodes the specified DeleteEntryRequest message. Does not implicitly {@link google.cloud.datacatalog.v1.DeleteEntryRequest.verify|verify} messages.
+ * @function encode
+ * @memberof google.cloud.datacatalog.v1.DeleteEntryRequest
+ * @static
+ * @param {google.cloud.datacatalog.v1.IDeleteEntryRequest} message DeleteEntryRequest message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ DeleteEntryRequest.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.name != null && Object.hasOwnProperty.call(message, "name"))
+ writer.uint32(/* id 1, wireType 2 =*/10).string(message.name);
+ return writer;
+ };
+
+ /**
+ * Encodes the specified DeleteEntryRequest message, length delimited. Does not implicitly {@link google.cloud.datacatalog.v1.DeleteEntryRequest.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.cloud.datacatalog.v1.DeleteEntryRequest
+ * @static
+ * @param {google.cloud.datacatalog.v1.IDeleteEntryRequest} message DeleteEntryRequest message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ DeleteEntryRequest.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes a DeleteEntryRequest message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.cloud.datacatalog.v1.DeleteEntryRequest
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.cloud.datacatalog.v1.DeleteEntryRequest} DeleteEntryRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ DeleteEntryRequest.decode = function decode(reader, length) {
+ if (!(reader instanceof $Reader))
+ reader = $Reader.create(reader);
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.datacatalog.v1.DeleteEntryRequest();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ switch (tag >>> 3) {
+ case 1: {
+ message.name = reader.string();
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes a DeleteEntryRequest message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.cloud.datacatalog.v1.DeleteEntryRequest
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.cloud.datacatalog.v1.DeleteEntryRequest} DeleteEntryRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ DeleteEntryRequest.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies a DeleteEntryRequest message.
+ * @function verify
+ * @memberof google.cloud.datacatalog.v1.DeleteEntryRequest
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ DeleteEntryRequest.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ if (message.name != null && message.hasOwnProperty("name"))
+ if (!$util.isString(message.name))
+ return "name: string expected";
+ return null;
+ };
+
+ /**
+ * Creates a DeleteEntryRequest message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.cloud.datacatalog.v1.DeleteEntryRequest
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.cloud.datacatalog.v1.DeleteEntryRequest} DeleteEntryRequest
+ */
+ DeleteEntryRequest.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.cloud.datacatalog.v1.DeleteEntryRequest)
+ return object;
+ var message = new $root.google.cloud.datacatalog.v1.DeleteEntryRequest();
+ if (object.name != null)
+ message.name = String(object.name);
+ return message;
+ };
+
+ /**
+ * Creates a plain object from a DeleteEntryRequest message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.cloud.datacatalog.v1.DeleteEntryRequest
+ * @static
+ * @param {google.cloud.datacatalog.v1.DeleteEntryRequest} message DeleteEntryRequest
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ DeleteEntryRequest.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.defaults)
+ object.name = "";
+ if (message.name != null && message.hasOwnProperty("name"))
+ object.name = message.name;
+ return object;
+ };
+
+ /**
+ * Converts this DeleteEntryRequest to JSON.
+ * @function toJSON
+ * @memberof google.cloud.datacatalog.v1.DeleteEntryRequest
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ DeleteEntryRequest.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for DeleteEntryRequest
+ * @function getTypeUrl
+ * @memberof google.cloud.datacatalog.v1.DeleteEntryRequest
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ DeleteEntryRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.cloud.datacatalog.v1.DeleteEntryRequest";
+ };
+
+ return DeleteEntryRequest;
+ })();
+
+ v1.GetEntryRequest = (function() {
+
+ /**
+ * Properties of a GetEntryRequest.
+ * @memberof google.cloud.datacatalog.v1
+ * @interface IGetEntryRequest
+ * @property {string|null} [name] GetEntryRequest name
+ */
+
+ /**
+ * Constructs a new GetEntryRequest.
+ * @memberof google.cloud.datacatalog.v1
+ * @classdesc Represents a GetEntryRequest.
+ * @implements IGetEntryRequest
+ * @constructor
+ * @param {google.cloud.datacatalog.v1.IGetEntryRequest=} [properties] Properties to set
+ */
+ function GetEntryRequest(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]];
+ }
+
+ /**
+ * GetEntryRequest name.
+ * @member {string} name
+ * @memberof google.cloud.datacatalog.v1.GetEntryRequest
+ * @instance
+ */
+ GetEntryRequest.prototype.name = "";
+
+ /**
+ * Creates a new GetEntryRequest instance using the specified properties.
+ * @function create
+ * @memberof google.cloud.datacatalog.v1.GetEntryRequest
+ * @static
+ * @param {google.cloud.datacatalog.v1.IGetEntryRequest=} [properties] Properties to set
+ * @returns {google.cloud.datacatalog.v1.GetEntryRequest} GetEntryRequest instance
+ */
+ GetEntryRequest.create = function create(properties) {
+ return new GetEntryRequest(properties);
+ };
+
+ /**
+ * Encodes the specified GetEntryRequest message. Does not implicitly {@link google.cloud.datacatalog.v1.GetEntryRequest.verify|verify} messages.
+ * @function encode
+ * @memberof google.cloud.datacatalog.v1.GetEntryRequest
+ * @static
+ * @param {google.cloud.datacatalog.v1.IGetEntryRequest} message GetEntryRequest message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ GetEntryRequest.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.name != null && Object.hasOwnProperty.call(message, "name"))
+ writer.uint32(/* id 1, wireType 2 =*/10).string(message.name);
+ return writer;
+ };
+
+ /**
+ * Encodes the specified GetEntryRequest message, length delimited. Does not implicitly {@link google.cloud.datacatalog.v1.GetEntryRequest.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.cloud.datacatalog.v1.GetEntryRequest
+ * @static
+ * @param {google.cloud.datacatalog.v1.IGetEntryRequest} message GetEntryRequest message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ GetEntryRequest.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes a GetEntryRequest message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.cloud.datacatalog.v1.GetEntryRequest
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.cloud.datacatalog.v1.GetEntryRequest} GetEntryRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ GetEntryRequest.decode = function decode(reader, length) {
+ if (!(reader instanceof $Reader))
+ reader = $Reader.create(reader);
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.datacatalog.v1.GetEntryRequest();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ switch (tag >>> 3) {
+ case 1: {
+ message.name = reader.string();
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes a GetEntryRequest message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.cloud.datacatalog.v1.GetEntryRequest
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.cloud.datacatalog.v1.GetEntryRequest} GetEntryRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ GetEntryRequest.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies a GetEntryRequest message.
+ * @function verify
+ * @memberof google.cloud.datacatalog.v1.GetEntryRequest
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ GetEntryRequest.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ if (message.name != null && message.hasOwnProperty("name"))
+ if (!$util.isString(message.name))
+ return "name: string expected";
+ return null;
+ };
+
+ /**
+ * Creates a GetEntryRequest message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.cloud.datacatalog.v1.GetEntryRequest
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.cloud.datacatalog.v1.GetEntryRequest} GetEntryRequest
+ */
+ GetEntryRequest.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.cloud.datacatalog.v1.GetEntryRequest)
+ return object;
+ var message = new $root.google.cloud.datacatalog.v1.GetEntryRequest();
+ if (object.name != null)
+ message.name = String(object.name);
+ return message;
+ };
+
+ /**
+ * Creates a plain object from a GetEntryRequest message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.cloud.datacatalog.v1.GetEntryRequest
+ * @static
+ * @param {google.cloud.datacatalog.v1.GetEntryRequest} message GetEntryRequest
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ GetEntryRequest.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.defaults)
+ object.name = "";
+ if (message.name != null && message.hasOwnProperty("name"))
+ object.name = message.name;
+ return object;
+ };
+
+ /**
+ * Converts this GetEntryRequest to JSON.
+ * @function toJSON
+ * @memberof google.cloud.datacatalog.v1.GetEntryRequest
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ GetEntryRequest.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for GetEntryRequest
+ * @function getTypeUrl
+ * @memberof google.cloud.datacatalog.v1.GetEntryRequest
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ GetEntryRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.cloud.datacatalog.v1.GetEntryRequest";
+ };
+
+ return GetEntryRequest;
+ })();
+
+ v1.LookupEntryRequest = (function() {
+
+ /**
+ * Properties of a LookupEntryRequest.
+ * @memberof google.cloud.datacatalog.v1
+ * @interface ILookupEntryRequest
+ * @property {string|null} [linkedResource] LookupEntryRequest linkedResource
+ * @property {string|null} [sqlResource] LookupEntryRequest sqlResource
+ * @property {string|null} [fullyQualifiedName] LookupEntryRequest fullyQualifiedName
+ */
+
+ /**
+ * Constructs a new LookupEntryRequest.
+ * @memberof google.cloud.datacatalog.v1
+ * @classdesc Represents a LookupEntryRequest.
+ * @implements ILookupEntryRequest
+ * @constructor
+ * @param {google.cloud.datacatalog.v1.ILookupEntryRequest=} [properties] Properties to set
+ */
+ function LookupEntryRequest(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]];
+ }
+
+ /**
+ * LookupEntryRequest linkedResource.
+ * @member {string|null|undefined} linkedResource
+ * @memberof google.cloud.datacatalog.v1.LookupEntryRequest
+ * @instance
+ */
+ LookupEntryRequest.prototype.linkedResource = null;
+
+ /**
+ * LookupEntryRequest sqlResource.
+ * @member {string|null|undefined} sqlResource
+ * @memberof google.cloud.datacatalog.v1.LookupEntryRequest
+ * @instance
+ */
+ LookupEntryRequest.prototype.sqlResource = null;
+
+ /**
+ * LookupEntryRequest fullyQualifiedName.
+ * @member {string|null|undefined} fullyQualifiedName
+ * @memberof google.cloud.datacatalog.v1.LookupEntryRequest
+ * @instance
+ */
+ LookupEntryRequest.prototype.fullyQualifiedName = null;
+
+ // OneOf field names bound to virtual getters and setters
+ var $oneOfFields;
+
+ /**
+ * LookupEntryRequest targetName.
+ * @member {"linkedResource"|"sqlResource"|"fullyQualifiedName"|undefined} targetName
+ * @memberof google.cloud.datacatalog.v1.LookupEntryRequest
+ * @instance
+ */
+ Object.defineProperty(LookupEntryRequest.prototype, "targetName", {
+ get: $util.oneOfGetter($oneOfFields = ["linkedResource", "sqlResource", "fullyQualifiedName"]),
+ set: $util.oneOfSetter($oneOfFields)
+ });
+
+ /**
+ * Creates a new LookupEntryRequest instance using the specified properties.
+ * @function create
+ * @memberof google.cloud.datacatalog.v1.LookupEntryRequest
+ * @static
+ * @param {google.cloud.datacatalog.v1.ILookupEntryRequest=} [properties] Properties to set
+ * @returns {google.cloud.datacatalog.v1.LookupEntryRequest} LookupEntryRequest instance
+ */
+ LookupEntryRequest.create = function create(properties) {
+ return new LookupEntryRequest(properties);
+ };
+
+ /**
+ * Encodes the specified LookupEntryRequest message. Does not implicitly {@link google.cloud.datacatalog.v1.LookupEntryRequest.verify|verify} messages.
+ * @function encode
+ * @memberof google.cloud.datacatalog.v1.LookupEntryRequest
+ * @static
+ * @param {google.cloud.datacatalog.v1.ILookupEntryRequest} message LookupEntryRequest message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ LookupEntryRequest.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.linkedResource != null && Object.hasOwnProperty.call(message, "linkedResource"))
+ writer.uint32(/* id 1, wireType 2 =*/10).string(message.linkedResource);
+ if (message.sqlResource != null && Object.hasOwnProperty.call(message, "sqlResource"))
+ writer.uint32(/* id 3, wireType 2 =*/26).string(message.sqlResource);
+ if (message.fullyQualifiedName != null && Object.hasOwnProperty.call(message, "fullyQualifiedName"))
+ writer.uint32(/* id 5, wireType 2 =*/42).string(message.fullyQualifiedName);
+ return writer;
+ };
+
+ /**
+ * Encodes the specified LookupEntryRequest message, length delimited. Does not implicitly {@link google.cloud.datacatalog.v1.LookupEntryRequest.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.cloud.datacatalog.v1.LookupEntryRequest
+ * @static
+ * @param {google.cloud.datacatalog.v1.ILookupEntryRequest} message LookupEntryRequest message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ LookupEntryRequest.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes a LookupEntryRequest message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.cloud.datacatalog.v1.LookupEntryRequest
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.cloud.datacatalog.v1.LookupEntryRequest} LookupEntryRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ LookupEntryRequest.decode = function decode(reader, length) {
+ if (!(reader instanceof $Reader))
+ reader = $Reader.create(reader);
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.datacatalog.v1.LookupEntryRequest();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ switch (tag >>> 3) {
+ case 1: {
+ message.linkedResource = reader.string();
+ break;
+ }
+ case 3: {
+ message.sqlResource = reader.string();
+ break;
+ }
+ case 5: {
+ message.fullyQualifiedName = reader.string();
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes a LookupEntryRequest message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.cloud.datacatalog.v1.LookupEntryRequest
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.cloud.datacatalog.v1.LookupEntryRequest} LookupEntryRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ LookupEntryRequest.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies a LookupEntryRequest message.
+ * @function verify
+ * @memberof google.cloud.datacatalog.v1.LookupEntryRequest
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ LookupEntryRequest.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ var properties = {};
+ if (message.linkedResource != null && message.hasOwnProperty("linkedResource")) {
+ properties.targetName = 1;
+ if (!$util.isString(message.linkedResource))
+ return "linkedResource: string expected";
+ }
+ if (message.sqlResource != null && message.hasOwnProperty("sqlResource")) {
+ if (properties.targetName === 1)
+ return "targetName: multiple values";
+ properties.targetName = 1;
+ if (!$util.isString(message.sqlResource))
+ return "sqlResource: string expected";
+ }
+ if (message.fullyQualifiedName != null && message.hasOwnProperty("fullyQualifiedName")) {
+ if (properties.targetName === 1)
+ return "targetName: multiple values";
+ properties.targetName = 1;
+ if (!$util.isString(message.fullyQualifiedName))
+ return "fullyQualifiedName: string expected";
+ }
+ return null;
+ };
+
+ /**
+ * Creates a LookupEntryRequest message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.cloud.datacatalog.v1.LookupEntryRequest
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.cloud.datacatalog.v1.LookupEntryRequest} LookupEntryRequest
+ */
+ LookupEntryRequest.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.cloud.datacatalog.v1.LookupEntryRequest)
+ return object;
+ var message = new $root.google.cloud.datacatalog.v1.LookupEntryRequest();
+ if (object.linkedResource != null)
+ message.linkedResource = String(object.linkedResource);
+ if (object.sqlResource != null)
+ message.sqlResource = String(object.sqlResource);
+ if (object.fullyQualifiedName != null)
+ message.fullyQualifiedName = String(object.fullyQualifiedName);
+ return message;
+ };
+
+ /**
+ * Creates a plain object from a LookupEntryRequest message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.cloud.datacatalog.v1.LookupEntryRequest
+ * @static
+ * @param {google.cloud.datacatalog.v1.LookupEntryRequest} message LookupEntryRequest
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ LookupEntryRequest.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (message.linkedResource != null && message.hasOwnProperty("linkedResource")) {
+ object.linkedResource = message.linkedResource;
+ if (options.oneofs)
+ object.targetName = "linkedResource";
+ }
+ if (message.sqlResource != null && message.hasOwnProperty("sqlResource")) {
+ object.sqlResource = message.sqlResource;
+ if (options.oneofs)
+ object.targetName = "sqlResource";
+ }
+ if (message.fullyQualifiedName != null && message.hasOwnProperty("fullyQualifiedName")) {
+ object.fullyQualifiedName = message.fullyQualifiedName;
+ if (options.oneofs)
+ object.targetName = "fullyQualifiedName";
+ }
+ return object;
+ };
+
+ /**
+ * Converts this LookupEntryRequest to JSON.
+ * @function toJSON
+ * @memberof google.cloud.datacatalog.v1.LookupEntryRequest
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ LookupEntryRequest.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for LookupEntryRequest
+ * @function getTypeUrl
+ * @memberof google.cloud.datacatalog.v1.LookupEntryRequest
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ LookupEntryRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.cloud.datacatalog.v1.LookupEntryRequest";
+ };
+
+ return LookupEntryRequest;
+ })();
+
+ v1.Entry = (function() {
+
+ /**
+ * Properties of an Entry.
+ * @memberof google.cloud.datacatalog.v1
+ * @interface IEntry
+ * @property {string|null} [name] Entry name
+ * @property {string|null} [linkedResource] Entry linkedResource
+ * @property {string|null} [fullyQualifiedName] Entry fullyQualifiedName
+ * @property {google.cloud.datacatalog.v1.EntryType|null} [type] Entry type
+ * @property {string|null} [userSpecifiedType] Entry userSpecifiedType
+ * @property {google.cloud.datacatalog.v1.IntegratedSystem|null} [integratedSystem] Entry integratedSystem
+ * @property {string|null} [userSpecifiedSystem] Entry userSpecifiedSystem
+ * @property {google.cloud.datacatalog.v1.IGcsFilesetSpec|null} [gcsFilesetSpec] Entry gcsFilesetSpec
+ * @property {google.cloud.datacatalog.v1.IBigQueryTableSpec|null} [bigqueryTableSpec] Entry bigqueryTableSpec
+ * @property {google.cloud.datacatalog.v1.IBigQueryDateShardedSpec|null} [bigqueryDateShardedSpec] Entry bigqueryDateShardedSpec
+ * @property {google.cloud.datacatalog.v1.IDatabaseTableSpec|null} [databaseTableSpec] Entry databaseTableSpec
+ * @property {google.cloud.datacatalog.v1.IDataSourceConnectionSpec|null} [dataSourceConnectionSpec] Entry dataSourceConnectionSpec
+ * @property {google.cloud.datacatalog.v1.IRoutineSpec|null} [routineSpec] Entry routineSpec
+ * @property {google.cloud.datacatalog.v1.IFilesetSpec|null} [filesetSpec] Entry filesetSpec
+ * @property {string|null} [displayName] Entry displayName
+ * @property {string|null} [description] Entry description
+ * @property {google.cloud.datacatalog.v1.IBusinessContext|null} [businessContext] Entry businessContext
+ * @property {google.cloud.datacatalog.v1.ISchema|null} [schema] Entry schema
+ * @property {google.cloud.datacatalog.v1.ISystemTimestamps|null} [sourceSystemTimestamps] Entry sourceSystemTimestamps
+ * @property {google.cloud.datacatalog.v1.IUsageSignal|null} [usageSignal] Entry usageSignal
+ * @property {Object.|null} [labels] Entry labels
+ * @property {google.cloud.datacatalog.v1.IDataSource|null} [dataSource] Entry dataSource
+ * @property {google.cloud.datacatalog.v1.IPersonalDetails|null} [personalDetails] Entry personalDetails
+ */
+
+ /**
+ * Constructs a new Entry.
+ * @memberof google.cloud.datacatalog.v1
+ * @classdesc Represents an Entry.
+ * @implements IEntry
+ * @constructor
+ * @param {google.cloud.datacatalog.v1.IEntry=} [properties] Properties to set
+ */
+ function Entry(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]];
+ }
+
+ /**
+ * Entry name.
+ * @member {string} name
+ * @memberof google.cloud.datacatalog.v1.Entry
+ * @instance
+ */
+ Entry.prototype.name = "";
+
+ /**
+ * Entry linkedResource.
+ * @member {string} linkedResource
+ * @memberof google.cloud.datacatalog.v1.Entry
+ * @instance
+ */
+ Entry.prototype.linkedResource = "";
+
+ /**
+ * Entry fullyQualifiedName.
+ * @member {string} fullyQualifiedName
+ * @memberof google.cloud.datacatalog.v1.Entry
+ * @instance
+ */
+ Entry.prototype.fullyQualifiedName = "";
+
+ /**
+ * Entry type.
+ * @member {google.cloud.datacatalog.v1.EntryType|null|undefined} type
+ * @memberof google.cloud.datacatalog.v1.Entry
+ * @instance
+ */
+ Entry.prototype.type = null;
+
+ /**
+ * Entry userSpecifiedType.
+ * @member {string|null|undefined} userSpecifiedType
+ * @memberof google.cloud.datacatalog.v1.Entry
+ * @instance
+ */
+ Entry.prototype.userSpecifiedType = null;
+
+ /**
+ * Entry integratedSystem.
+ * @member {google.cloud.datacatalog.v1.IntegratedSystem|null|undefined} integratedSystem
+ * @memberof google.cloud.datacatalog.v1.Entry
+ * @instance
+ */
+ Entry.prototype.integratedSystem = null;
+
+ /**
+ * Entry userSpecifiedSystem.
+ * @member {string|null|undefined} userSpecifiedSystem
+ * @memberof google.cloud.datacatalog.v1.Entry
+ * @instance
+ */
+ Entry.prototype.userSpecifiedSystem = null;
+
+ /**
+ * Entry gcsFilesetSpec.
+ * @member {google.cloud.datacatalog.v1.IGcsFilesetSpec|null|undefined} gcsFilesetSpec
+ * @memberof google.cloud.datacatalog.v1.Entry
+ * @instance
+ */
+ Entry.prototype.gcsFilesetSpec = null;
+
+ /**
+ * Entry bigqueryTableSpec.
+ * @member {google.cloud.datacatalog.v1.IBigQueryTableSpec|null|undefined} bigqueryTableSpec
+ * @memberof google.cloud.datacatalog.v1.Entry
+ * @instance
+ */
+ Entry.prototype.bigqueryTableSpec = null;
+
+ /**
+ * Entry bigqueryDateShardedSpec.
+ * @member {google.cloud.datacatalog.v1.IBigQueryDateShardedSpec|null|undefined} bigqueryDateShardedSpec
+ * @memberof google.cloud.datacatalog.v1.Entry
+ * @instance
+ */
+ Entry.prototype.bigqueryDateShardedSpec = null;
+
+ /**
+ * Entry databaseTableSpec.
+ * @member {google.cloud.datacatalog.v1.IDatabaseTableSpec|null|undefined} databaseTableSpec
+ * @memberof google.cloud.datacatalog.v1.Entry
+ * @instance
+ */
+ Entry.prototype.databaseTableSpec = null;
+
+ /**
+ * Entry dataSourceConnectionSpec.
+ * @member {google.cloud.datacatalog.v1.IDataSourceConnectionSpec|null|undefined} dataSourceConnectionSpec
+ * @memberof google.cloud.datacatalog.v1.Entry
+ * @instance
+ */
+ Entry.prototype.dataSourceConnectionSpec = null;
+
+ /**
+ * Entry routineSpec.
+ * @member {google.cloud.datacatalog.v1.IRoutineSpec|null|undefined} routineSpec
+ * @memberof google.cloud.datacatalog.v1.Entry
+ * @instance
+ */
+ Entry.prototype.routineSpec = null;
+
+ /**
+ * Entry filesetSpec.
+ * @member {google.cloud.datacatalog.v1.IFilesetSpec|null|undefined} filesetSpec
+ * @memberof google.cloud.datacatalog.v1.Entry
+ * @instance
+ */
+ Entry.prototype.filesetSpec = null;
+
+ /**
+ * Entry displayName.
+ * @member {string} displayName
+ * @memberof google.cloud.datacatalog.v1.Entry
+ * @instance
+ */
+ Entry.prototype.displayName = "";
+
+ /**
+ * Entry description.
+ * @member {string} description
+ * @memberof google.cloud.datacatalog.v1.Entry
+ * @instance
+ */
+ Entry.prototype.description = "";
+
+ /**
+ * Entry businessContext.
+ * @member {google.cloud.datacatalog.v1.IBusinessContext|null|undefined} businessContext
+ * @memberof google.cloud.datacatalog.v1.Entry
+ * @instance
+ */
+ Entry.prototype.businessContext = null;
+
+ /**
+ * Entry schema.
+ * @member {google.cloud.datacatalog.v1.ISchema|null|undefined} schema
+ * @memberof google.cloud.datacatalog.v1.Entry
+ * @instance
+ */
+ Entry.prototype.schema = null;
+
+ /**
+ * Entry sourceSystemTimestamps.
+ * @member {google.cloud.datacatalog.v1.ISystemTimestamps|null|undefined} sourceSystemTimestamps
+ * @memberof google.cloud.datacatalog.v1.Entry
+ * @instance
+ */
+ Entry.prototype.sourceSystemTimestamps = null;
+
+ /**
+ * Entry usageSignal.
+ * @member {google.cloud.datacatalog.v1.IUsageSignal|null|undefined} usageSignal
+ * @memberof google.cloud.datacatalog.v1.Entry
+ * @instance
+ */
+ Entry.prototype.usageSignal = null;
+
+ /**
+ * Entry labels.
+ * @member {Object.} labels
+ * @memberof google.cloud.datacatalog.v1.Entry
+ * @instance
+ */
+ Entry.prototype.labels = $util.emptyObject;
+
+ /**
+ * Entry dataSource.
+ * @member {google.cloud.datacatalog.v1.IDataSource|null|undefined} dataSource
+ * @memberof google.cloud.datacatalog.v1.Entry
+ * @instance
+ */
+ Entry.prototype.dataSource = null;
+
+ /**
+ * Entry personalDetails.
+ * @member {google.cloud.datacatalog.v1.IPersonalDetails|null|undefined} personalDetails
+ * @memberof google.cloud.datacatalog.v1.Entry
+ * @instance
+ */
+ Entry.prototype.personalDetails = null;
+
+ // OneOf field names bound to virtual getters and setters
+ var $oneOfFields;
+
+ /**
+ * Entry entryType.
+ * @member {"type"|"userSpecifiedType"|undefined} entryType
+ * @memberof google.cloud.datacatalog.v1.Entry
+ * @instance
+ */
+ Object.defineProperty(Entry.prototype, "entryType", {
+ get: $util.oneOfGetter($oneOfFields = ["type", "userSpecifiedType"]),
+ set: $util.oneOfSetter($oneOfFields)
+ });
+
+ /**
+ * Entry system.
+ * @member {"integratedSystem"|"userSpecifiedSystem"|undefined} system
+ * @memberof google.cloud.datacatalog.v1.Entry
+ * @instance
+ */
+ Object.defineProperty(Entry.prototype, "system", {
+ get: $util.oneOfGetter($oneOfFields = ["integratedSystem", "userSpecifiedSystem"]),
+ set: $util.oneOfSetter($oneOfFields)
+ });
+
+ /**
+ * Entry typeSpec.
+ * @member {"gcsFilesetSpec"|"bigqueryTableSpec"|"bigqueryDateShardedSpec"|undefined} typeSpec
+ * @memberof google.cloud.datacatalog.v1.Entry
+ * @instance
+ */
+ Object.defineProperty(Entry.prototype, "typeSpec", {
+ get: $util.oneOfGetter($oneOfFields = ["gcsFilesetSpec", "bigqueryTableSpec", "bigqueryDateShardedSpec"]),
+ set: $util.oneOfSetter($oneOfFields)
+ });
+
+ /**
+ * Entry spec.
+ * @member {"databaseTableSpec"|"dataSourceConnectionSpec"|"routineSpec"|"filesetSpec"|undefined} spec
+ * @memberof google.cloud.datacatalog.v1.Entry
+ * @instance
+ */
+ Object.defineProperty(Entry.prototype, "spec", {
+ get: $util.oneOfGetter($oneOfFields = ["databaseTableSpec", "dataSourceConnectionSpec", "routineSpec", "filesetSpec"]),
+ set: $util.oneOfSetter($oneOfFields)
+ });
+
+ /**
+ * Creates a new Entry instance using the specified properties.
+ * @function create
+ * @memberof google.cloud.datacatalog.v1.Entry
+ * @static
+ * @param {google.cloud.datacatalog.v1.IEntry=} [properties] Properties to set
+ * @returns {google.cloud.datacatalog.v1.Entry} Entry instance
+ */
+ Entry.create = function create(properties) {
+ return new Entry(properties);
+ };
+
+ /**
+ * Encodes the specified Entry message. Does not implicitly {@link google.cloud.datacatalog.v1.Entry.verify|verify} messages.
+ * @function encode
+ * @memberof google.cloud.datacatalog.v1.Entry
+ * @static
+ * @param {google.cloud.datacatalog.v1.IEntry} message Entry message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ Entry.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.name != null && Object.hasOwnProperty.call(message, "name"))
+ writer.uint32(/* id 1, wireType 2 =*/10).string(message.name);
+ if (message.type != null && Object.hasOwnProperty.call(message, "type"))
+ writer.uint32(/* id 2, wireType 0 =*/16).int32(message.type);
+ if (message.displayName != null && Object.hasOwnProperty.call(message, "displayName"))
+ writer.uint32(/* id 3, wireType 2 =*/26).string(message.displayName);
+ if (message.description != null && Object.hasOwnProperty.call(message, "description"))
+ writer.uint32(/* id 4, wireType 2 =*/34).string(message.description);
+ if (message.schema != null && Object.hasOwnProperty.call(message, "schema"))
+ $root.google.cloud.datacatalog.v1.Schema.encode(message.schema, writer.uint32(/* id 5, wireType 2 =*/42).fork()).ldelim();
+ if (message.gcsFilesetSpec != null && Object.hasOwnProperty.call(message, "gcsFilesetSpec"))
+ $root.google.cloud.datacatalog.v1.GcsFilesetSpec.encode(message.gcsFilesetSpec, writer.uint32(/* id 6, wireType 2 =*/50).fork()).ldelim();
+ if (message.sourceSystemTimestamps != null && Object.hasOwnProperty.call(message, "sourceSystemTimestamps"))
+ $root.google.cloud.datacatalog.v1.SystemTimestamps.encode(message.sourceSystemTimestamps, writer.uint32(/* id 7, wireType 2 =*/58).fork()).ldelim();
+ if (message.linkedResource != null && Object.hasOwnProperty.call(message, "linkedResource"))
+ writer.uint32(/* id 9, wireType 2 =*/74).string(message.linkedResource);
+ if (message.bigqueryTableSpec != null && Object.hasOwnProperty.call(message, "bigqueryTableSpec"))
+ $root.google.cloud.datacatalog.v1.BigQueryTableSpec.encode(message.bigqueryTableSpec, writer.uint32(/* id 12, wireType 2 =*/98).fork()).ldelim();
+ if (message.usageSignal != null && Object.hasOwnProperty.call(message, "usageSignal"))
+ $root.google.cloud.datacatalog.v1.UsageSignal.encode(message.usageSignal, writer.uint32(/* id 13, wireType 2 =*/106).fork()).ldelim();
+ if (message.labels != null && Object.hasOwnProperty.call(message, "labels"))
+ for (var keys = Object.keys(message.labels), i = 0; i < keys.length; ++i)
+ writer.uint32(/* id 14, wireType 2 =*/114).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]).uint32(/* id 2, wireType 2 =*/18).string(message.labels[keys[i]]).ldelim();
+ if (message.bigqueryDateShardedSpec != null && Object.hasOwnProperty.call(message, "bigqueryDateShardedSpec"))
+ $root.google.cloud.datacatalog.v1.BigQueryDateShardedSpec.encode(message.bigqueryDateShardedSpec, writer.uint32(/* id 15, wireType 2 =*/122).fork()).ldelim();
+ if (message.userSpecifiedType != null && Object.hasOwnProperty.call(message, "userSpecifiedType"))
+ writer.uint32(/* id 16, wireType 2 =*/130).string(message.userSpecifiedType);
+ if (message.integratedSystem != null && Object.hasOwnProperty.call(message, "integratedSystem"))
+ writer.uint32(/* id 17, wireType 0 =*/136).int32(message.integratedSystem);
+ if (message.userSpecifiedSystem != null && Object.hasOwnProperty.call(message, "userSpecifiedSystem"))
+ writer.uint32(/* id 18, wireType 2 =*/146).string(message.userSpecifiedSystem);
+ if (message.dataSource != null && Object.hasOwnProperty.call(message, "dataSource"))
+ $root.google.cloud.datacatalog.v1.DataSource.encode(message.dataSource, writer.uint32(/* id 20, wireType 2 =*/162).fork()).ldelim();
+ if (message.databaseTableSpec != null && Object.hasOwnProperty.call(message, "databaseTableSpec"))
+ $root.google.cloud.datacatalog.v1.DatabaseTableSpec.encode(message.databaseTableSpec, writer.uint32(/* id 24, wireType 2 =*/194).fork()).ldelim();
+ if (message.personalDetails != null && Object.hasOwnProperty.call(message, "personalDetails"))
+ $root.google.cloud.datacatalog.v1.PersonalDetails.encode(message.personalDetails, writer.uint32(/* id 26, wireType 2 =*/210).fork()).ldelim();
+ if (message.dataSourceConnectionSpec != null && Object.hasOwnProperty.call(message, "dataSourceConnectionSpec"))
+ $root.google.cloud.datacatalog.v1.DataSourceConnectionSpec.encode(message.dataSourceConnectionSpec, writer.uint32(/* id 27, wireType 2 =*/218).fork()).ldelim();
+ if (message.routineSpec != null && Object.hasOwnProperty.call(message, "routineSpec"))
+ $root.google.cloud.datacatalog.v1.RoutineSpec.encode(message.routineSpec, writer.uint32(/* id 28, wireType 2 =*/226).fork()).ldelim();
+ if (message.fullyQualifiedName != null && Object.hasOwnProperty.call(message, "fullyQualifiedName"))
+ writer.uint32(/* id 29, wireType 2 =*/234).string(message.fullyQualifiedName);
+ if (message.filesetSpec != null && Object.hasOwnProperty.call(message, "filesetSpec"))
+ $root.google.cloud.datacatalog.v1.FilesetSpec.encode(message.filesetSpec, writer.uint32(/* id 33, wireType 2 =*/266).fork()).ldelim();
+ if (message.businessContext != null && Object.hasOwnProperty.call(message, "businessContext"))
+ $root.google.cloud.datacatalog.v1.BusinessContext.encode(message.businessContext, writer.uint32(/* id 37, wireType 2 =*/298).fork()).ldelim();
+ return writer;
+ };
+
+ /**
+ * Encodes the specified Entry message, length delimited. Does not implicitly {@link google.cloud.datacatalog.v1.Entry.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.cloud.datacatalog.v1.Entry
+ * @static
+ * @param {google.cloud.datacatalog.v1.IEntry} message Entry message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ Entry.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes an Entry message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.cloud.datacatalog.v1.Entry
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.cloud.datacatalog.v1.Entry} Entry
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ Entry.decode = function decode(reader, length) {
+ if (!(reader instanceof $Reader))
+ reader = $Reader.create(reader);
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.datacatalog.v1.Entry(), key, value;
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ switch (tag >>> 3) {
+ case 1: {
+ message.name = reader.string();
+ break;
+ }
+ case 9: {
+ message.linkedResource = reader.string();
+ break;
+ }
+ case 29: {
+ message.fullyQualifiedName = reader.string();
+ break;
+ }
+ case 2: {
+ message.type = reader.int32();
+ break;
+ }
+ case 16: {
+ message.userSpecifiedType = reader.string();
+ break;
+ }
+ case 17: {
+ message.integratedSystem = reader.int32();
+ break;
+ }
+ case 18: {
+ message.userSpecifiedSystem = reader.string();
+ break;
+ }
+ case 6: {
+ message.gcsFilesetSpec = $root.google.cloud.datacatalog.v1.GcsFilesetSpec.decode(reader, reader.uint32());
+ break;
+ }
+ case 12: {
+ message.bigqueryTableSpec = $root.google.cloud.datacatalog.v1.BigQueryTableSpec.decode(reader, reader.uint32());
+ break;
+ }
+ case 15: {
+ message.bigqueryDateShardedSpec = $root.google.cloud.datacatalog.v1.BigQueryDateShardedSpec.decode(reader, reader.uint32());
+ break;
+ }
+ case 24: {
+ message.databaseTableSpec = $root.google.cloud.datacatalog.v1.DatabaseTableSpec.decode(reader, reader.uint32());
+ break;
+ }
+ case 27: {
+ message.dataSourceConnectionSpec = $root.google.cloud.datacatalog.v1.DataSourceConnectionSpec.decode(reader, reader.uint32());
+ break;
+ }
+ case 28: {
+ message.routineSpec = $root.google.cloud.datacatalog.v1.RoutineSpec.decode(reader, reader.uint32());
+ break;
+ }
+ case 33: {
+ message.filesetSpec = $root.google.cloud.datacatalog.v1.FilesetSpec.decode(reader, reader.uint32());
+ break;
+ }
+ case 3: {
+ message.displayName = reader.string();
+ break;
+ }
+ case 4: {
+ message.description = reader.string();
+ break;
+ }
+ case 37: {
+ message.businessContext = $root.google.cloud.datacatalog.v1.BusinessContext.decode(reader, reader.uint32());
+ break;
+ }
+ case 5: {
+ message.schema = $root.google.cloud.datacatalog.v1.Schema.decode(reader, reader.uint32());
+ break;
+ }
+ case 7: {
+ message.sourceSystemTimestamps = $root.google.cloud.datacatalog.v1.SystemTimestamps.decode(reader, reader.uint32());
+ break;
+ }
+ case 13: {
+ message.usageSignal = $root.google.cloud.datacatalog.v1.UsageSignal.decode(reader, reader.uint32());
+ break;
+ }
+ case 14: {
+ 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 20: {
+ message.dataSource = $root.google.cloud.datacatalog.v1.DataSource.decode(reader, reader.uint32());
+ break;
+ }
+ case 26: {
+ message.personalDetails = $root.google.cloud.datacatalog.v1.PersonalDetails.decode(reader, reader.uint32());
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes an Entry message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.cloud.datacatalog.v1.Entry
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.cloud.datacatalog.v1.Entry} Entry
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ Entry.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies an Entry message.
+ * @function verify
+ * @memberof google.cloud.datacatalog.v1.Entry
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ Entry.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ var properties = {};
+ if (message.name != null && message.hasOwnProperty("name"))
+ if (!$util.isString(message.name))
+ return "name: string expected";
+ if (message.linkedResource != null && message.hasOwnProperty("linkedResource"))
+ if (!$util.isString(message.linkedResource))
+ return "linkedResource: string expected";
+ if (message.fullyQualifiedName != null && message.hasOwnProperty("fullyQualifiedName"))
+ if (!$util.isString(message.fullyQualifiedName))
+ return "fullyQualifiedName: string expected";
+ if (message.type != null && message.hasOwnProperty("type")) {
+ properties.entryType = 1;
+ switch (message.type) {
+ default:
+ return "type: enum value expected";
+ case 0:
+ case 2:
+ case 5:
+ case 3:
+ case 4:
+ case 6:
+ case 7:
+ case 8:
+ case 9:
+ case 10:
+ case 11:
+ case 14:
+ break;
+ }
+ }
+ if (message.userSpecifiedType != null && message.hasOwnProperty("userSpecifiedType")) {
+ if (properties.entryType === 1)
+ return "entryType: multiple values";
+ properties.entryType = 1;
+ if (!$util.isString(message.userSpecifiedType))
+ return "userSpecifiedType: string expected";
+ }
+ if (message.integratedSystem != null && message.hasOwnProperty("integratedSystem")) {
+ properties.system = 1;
+ switch (message.integratedSystem) {
+ default:
+ return "integratedSystem: enum value expected";
+ case 0:
+ case 1:
+ case 2:
+ case 3:
+ case 4:
+ break;
+ }
+ }
+ if (message.userSpecifiedSystem != null && message.hasOwnProperty("userSpecifiedSystem")) {
+ if (properties.system === 1)
+ return "system: multiple values";
+ properties.system = 1;
+ if (!$util.isString(message.userSpecifiedSystem))
+ return "userSpecifiedSystem: string expected";
+ }
+ if (message.gcsFilesetSpec != null && message.hasOwnProperty("gcsFilesetSpec")) {
+ properties.typeSpec = 1;
+ {
+ var error = $root.google.cloud.datacatalog.v1.GcsFilesetSpec.verify(message.gcsFilesetSpec);
+ if (error)
+ return "gcsFilesetSpec." + error;
+ }
+ }
+ if (message.bigqueryTableSpec != null && message.hasOwnProperty("bigqueryTableSpec")) {
+ if (properties.typeSpec === 1)
+ return "typeSpec: multiple values";
+ properties.typeSpec = 1;
+ {
+ var error = $root.google.cloud.datacatalog.v1.BigQueryTableSpec.verify(message.bigqueryTableSpec);
+ if (error)
+ return "bigqueryTableSpec." + error;
+ }
+ }
+ if (message.bigqueryDateShardedSpec != null && message.hasOwnProperty("bigqueryDateShardedSpec")) {
+ if (properties.typeSpec === 1)
+ return "typeSpec: multiple values";
+ properties.typeSpec = 1;
+ {
+ var error = $root.google.cloud.datacatalog.v1.BigQueryDateShardedSpec.verify(message.bigqueryDateShardedSpec);
+ if (error)
+ return "bigqueryDateShardedSpec." + error;
+ }
+ }
+ if (message.databaseTableSpec != null && message.hasOwnProperty("databaseTableSpec")) {
+ properties.spec = 1;
+ {
+ var error = $root.google.cloud.datacatalog.v1.DatabaseTableSpec.verify(message.databaseTableSpec);
+ if (error)
+ return "databaseTableSpec." + error;
+ }
+ }
+ if (message.dataSourceConnectionSpec != null && message.hasOwnProperty("dataSourceConnectionSpec")) {
+ if (properties.spec === 1)
+ return "spec: multiple values";
+ properties.spec = 1;
+ {
+ var error = $root.google.cloud.datacatalog.v1.DataSourceConnectionSpec.verify(message.dataSourceConnectionSpec);
+ if (error)
+ return "dataSourceConnectionSpec." + error;
+ }
+ }
+ if (message.routineSpec != null && message.hasOwnProperty("routineSpec")) {
+ if (properties.spec === 1)
+ return "spec: multiple values";
+ properties.spec = 1;
+ {
+ var error = $root.google.cloud.datacatalog.v1.RoutineSpec.verify(message.routineSpec);
+ if (error)
+ return "routineSpec." + error;
+ }
+ }
+ if (message.filesetSpec != null && message.hasOwnProperty("filesetSpec")) {
+ if (properties.spec === 1)
+ return "spec: multiple values";
+ properties.spec = 1;
+ {
+ var error = $root.google.cloud.datacatalog.v1.FilesetSpec.verify(message.filesetSpec);
+ if (error)
+ return "filesetSpec." + error;
+ }
+ }
+ if (message.displayName != null && message.hasOwnProperty("displayName"))
+ if (!$util.isString(message.displayName))
+ return "displayName: string expected";
+ if (message.description != null && message.hasOwnProperty("description"))
+ if (!$util.isString(message.description))
+ return "description: string expected";
+ if (message.businessContext != null && message.hasOwnProperty("businessContext")) {
+ var error = $root.google.cloud.datacatalog.v1.BusinessContext.verify(message.businessContext);
+ if (error)
+ return "businessContext." + error;
+ }
+ if (message.schema != null && message.hasOwnProperty("schema")) {
+ var error = $root.google.cloud.datacatalog.v1.Schema.verify(message.schema);
+ if (error)
+ return "schema." + error;
+ }
+ if (message.sourceSystemTimestamps != null && message.hasOwnProperty("sourceSystemTimestamps")) {
+ var error = $root.google.cloud.datacatalog.v1.SystemTimestamps.verify(message.sourceSystemTimestamps);
+ if (error)
+ return "sourceSystemTimestamps." + error;
+ }
+ if (message.usageSignal != null && message.hasOwnProperty("usageSignal")) {
+ var error = $root.google.cloud.datacatalog.v1.UsageSignal.verify(message.usageSignal);
+ if (error)
+ return "usageSignal." + error;
+ }
+ if (message.labels != null && message.hasOwnProperty("labels")) {
+ if (!$util.isObject(message.labels))
+ return "labels: object expected";
+ var key = Object.keys(message.labels);
+ for (var i = 0; i < key.length; ++i)
+ if (!$util.isString(message.labels[key[i]]))
+ return "labels: string{k:string} expected";
+ }
+ if (message.dataSource != null && message.hasOwnProperty("dataSource")) {
+ var error = $root.google.cloud.datacatalog.v1.DataSource.verify(message.dataSource);
+ if (error)
+ return "dataSource." + error;
+ }
+ if (message.personalDetails != null && message.hasOwnProperty("personalDetails")) {
+ var error = $root.google.cloud.datacatalog.v1.PersonalDetails.verify(message.personalDetails);
+ if (error)
+ return "personalDetails." + error;
+ }
+ return null;
+ };
+
+ /**
+ * Creates an Entry message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.cloud.datacatalog.v1.Entry
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.cloud.datacatalog.v1.Entry} Entry
+ */
+ Entry.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.cloud.datacatalog.v1.Entry)
+ return object;
+ var message = new $root.google.cloud.datacatalog.v1.Entry();
+ if (object.name != null)
+ message.name = String(object.name);
+ if (object.linkedResource != null)
+ message.linkedResource = String(object.linkedResource);
+ if (object.fullyQualifiedName != null)
+ message.fullyQualifiedName = String(object.fullyQualifiedName);
+ switch (object.type) {
+ default:
+ if (typeof object.type === "number") {
+ message.type = object.type;
+ break;
+ }
+ break;
+ case "ENTRY_TYPE_UNSPECIFIED":
+ case 0:
+ message.type = 0;
+ break;
+ case "TABLE":
+ case 2:
+ message.type = 2;
+ break;
+ case "MODEL":
+ case 5:
+ message.type = 5;
+ break;
+ case "DATA_STREAM":
+ case 3:
+ message.type = 3;
+ break;
+ case "FILESET":
+ case 4:
+ message.type = 4;
+ break;
+ case "CLUSTER":
+ case 6:
+ message.type = 6;
+ break;
+ case "DATABASE":
+ case 7:
+ message.type = 7;
+ break;
+ case "DATA_SOURCE_CONNECTION":
+ case 8:
+ message.type = 8;
+ break;
+ case "ROUTINE":
+ case 9:
+ message.type = 9;
+ break;
+ case "LAKE":
+ case 10:
+ message.type = 10;
+ break;
+ case "ZONE":
+ case 11:
+ message.type = 11;
+ break;
+ case "SERVICE":
+ case 14:
+ message.type = 14;
+ break;
+ }
+ if (object.userSpecifiedType != null)
+ message.userSpecifiedType = String(object.userSpecifiedType);
+ switch (object.integratedSystem) {
+ default:
+ if (typeof object.integratedSystem === "number") {
+ message.integratedSystem = object.integratedSystem;
+ break;
+ }
+ break;
+ case "INTEGRATED_SYSTEM_UNSPECIFIED":
+ case 0:
+ message.integratedSystem = 0;
+ break;
+ case "BIGQUERY":
+ case 1:
+ message.integratedSystem = 1;
+ break;
+ case "CLOUD_PUBSUB":
+ case 2:
+ message.integratedSystem = 2;
+ break;
+ case "DATAPROC_METASTORE":
+ case 3:
+ message.integratedSystem = 3;
+ break;
+ case "DATAPLEX":
+ case 4:
+ message.integratedSystem = 4;
+ break;
+ }
+ if (object.userSpecifiedSystem != null)
+ message.userSpecifiedSystem = String(object.userSpecifiedSystem);
+ if (object.gcsFilesetSpec != null) {
+ if (typeof object.gcsFilesetSpec !== "object")
+ throw TypeError(".google.cloud.datacatalog.v1.Entry.gcsFilesetSpec: object expected");
+ message.gcsFilesetSpec = $root.google.cloud.datacatalog.v1.GcsFilesetSpec.fromObject(object.gcsFilesetSpec);
+ }
+ if (object.bigqueryTableSpec != null) {
+ if (typeof object.bigqueryTableSpec !== "object")
+ throw TypeError(".google.cloud.datacatalog.v1.Entry.bigqueryTableSpec: object expected");
+ message.bigqueryTableSpec = $root.google.cloud.datacatalog.v1.BigQueryTableSpec.fromObject(object.bigqueryTableSpec);
+ }
+ if (object.bigqueryDateShardedSpec != null) {
+ if (typeof object.bigqueryDateShardedSpec !== "object")
+ throw TypeError(".google.cloud.datacatalog.v1.Entry.bigqueryDateShardedSpec: object expected");
+ message.bigqueryDateShardedSpec = $root.google.cloud.datacatalog.v1.BigQueryDateShardedSpec.fromObject(object.bigqueryDateShardedSpec);
+ }
+ if (object.databaseTableSpec != null) {
+ if (typeof object.databaseTableSpec !== "object")
+ throw TypeError(".google.cloud.datacatalog.v1.Entry.databaseTableSpec: object expected");
+ message.databaseTableSpec = $root.google.cloud.datacatalog.v1.DatabaseTableSpec.fromObject(object.databaseTableSpec);
+ }
+ if (object.dataSourceConnectionSpec != null) {
+ if (typeof object.dataSourceConnectionSpec !== "object")
+ throw TypeError(".google.cloud.datacatalog.v1.Entry.dataSourceConnectionSpec: object expected");
+ message.dataSourceConnectionSpec = $root.google.cloud.datacatalog.v1.DataSourceConnectionSpec.fromObject(object.dataSourceConnectionSpec);
+ }
+ if (object.routineSpec != null) {
+ if (typeof object.routineSpec !== "object")
+ throw TypeError(".google.cloud.datacatalog.v1.Entry.routineSpec: object expected");
+ message.routineSpec = $root.google.cloud.datacatalog.v1.RoutineSpec.fromObject(object.routineSpec);
+ }
+ if (object.filesetSpec != null) {
+ if (typeof object.filesetSpec !== "object")
+ throw TypeError(".google.cloud.datacatalog.v1.Entry.filesetSpec: object expected");
+ message.filesetSpec = $root.google.cloud.datacatalog.v1.FilesetSpec.fromObject(object.filesetSpec);
+ }
+ if (object.displayName != null)
+ message.displayName = String(object.displayName);
+ if (object.description != null)
+ message.description = String(object.description);
+ if (object.businessContext != null) {
+ if (typeof object.businessContext !== "object")
+ throw TypeError(".google.cloud.datacatalog.v1.Entry.businessContext: object expected");
+ message.businessContext = $root.google.cloud.datacatalog.v1.BusinessContext.fromObject(object.businessContext);
+ }
+ if (object.schema != null) {
+ if (typeof object.schema !== "object")
+ throw TypeError(".google.cloud.datacatalog.v1.Entry.schema: object expected");
+ message.schema = $root.google.cloud.datacatalog.v1.Schema.fromObject(object.schema);
+ }
+ if (object.sourceSystemTimestamps != null) {
+ if (typeof object.sourceSystemTimestamps !== "object")
+ throw TypeError(".google.cloud.datacatalog.v1.Entry.sourceSystemTimestamps: object expected");
+ message.sourceSystemTimestamps = $root.google.cloud.datacatalog.v1.SystemTimestamps.fromObject(object.sourceSystemTimestamps);
+ }
+ if (object.usageSignal != null) {
+ if (typeof object.usageSignal !== "object")
+ throw TypeError(".google.cloud.datacatalog.v1.Entry.usageSignal: object expected");
+ message.usageSignal = $root.google.cloud.datacatalog.v1.UsageSignal.fromObject(object.usageSignal);
+ }
+ if (object.labels) {
+ if (typeof object.labels !== "object")
+ throw TypeError(".google.cloud.datacatalog.v1.Entry.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.dataSource != null) {
+ if (typeof object.dataSource !== "object")
+ throw TypeError(".google.cloud.datacatalog.v1.Entry.dataSource: object expected");
+ message.dataSource = $root.google.cloud.datacatalog.v1.DataSource.fromObject(object.dataSource);
+ }
+ if (object.personalDetails != null) {
+ if (typeof object.personalDetails !== "object")
+ throw TypeError(".google.cloud.datacatalog.v1.Entry.personalDetails: object expected");
+ message.personalDetails = $root.google.cloud.datacatalog.v1.PersonalDetails.fromObject(object.personalDetails);
+ }
+ return message;
+ };
+
+ /**
+ * Creates a plain object from an Entry message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.cloud.datacatalog.v1.Entry
+ * @static
+ * @param {google.cloud.datacatalog.v1.Entry} message Entry
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ Entry.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.objects || options.defaults)
+ object.labels = {};
+ if (options.defaults) {
+ object.name = "";
+ object.displayName = "";
+ object.description = "";
+ object.schema = null;
+ object.sourceSystemTimestamps = null;
+ object.linkedResource = "";
+ object.usageSignal = null;
+ object.dataSource = null;
+ object.personalDetails = null;
+ object.fullyQualifiedName = "";
+ object.businessContext = null;
+ }
+ if (message.name != null && message.hasOwnProperty("name"))
+ object.name = message.name;
+ if (message.type != null && message.hasOwnProperty("type")) {
+ object.type = options.enums === String ? $root.google.cloud.datacatalog.v1.EntryType[message.type] === undefined ? message.type : $root.google.cloud.datacatalog.v1.EntryType[message.type] : message.type;
+ if (options.oneofs)
+ object.entryType = "type";
+ }
+ if (message.displayName != null && message.hasOwnProperty("displayName"))
+ object.displayName = message.displayName;
+ if (message.description != null && message.hasOwnProperty("description"))
+ object.description = message.description;
+ if (message.schema != null && message.hasOwnProperty("schema"))
+ object.schema = $root.google.cloud.datacatalog.v1.Schema.toObject(message.schema, options);
+ if (message.gcsFilesetSpec != null && message.hasOwnProperty("gcsFilesetSpec")) {
+ object.gcsFilesetSpec = $root.google.cloud.datacatalog.v1.GcsFilesetSpec.toObject(message.gcsFilesetSpec, options);
+ if (options.oneofs)
+ object.typeSpec = "gcsFilesetSpec";
+ }
+ if (message.sourceSystemTimestamps != null && message.hasOwnProperty("sourceSystemTimestamps"))
+ object.sourceSystemTimestamps = $root.google.cloud.datacatalog.v1.SystemTimestamps.toObject(message.sourceSystemTimestamps, options);
+ if (message.linkedResource != null && message.hasOwnProperty("linkedResource"))
+ object.linkedResource = message.linkedResource;
+ if (message.bigqueryTableSpec != null && message.hasOwnProperty("bigqueryTableSpec")) {
+ object.bigqueryTableSpec = $root.google.cloud.datacatalog.v1.BigQueryTableSpec.toObject(message.bigqueryTableSpec, options);
+ if (options.oneofs)
+ object.typeSpec = "bigqueryTableSpec";
+ }
+ if (message.usageSignal != null && message.hasOwnProperty("usageSignal"))
+ object.usageSignal = $root.google.cloud.datacatalog.v1.UsageSignal.toObject(message.usageSignal, options);
+ var keys2;
+ if (message.labels && (keys2 = Object.keys(message.labels)).length) {
+ object.labels = {};
+ for (var j = 0; j < keys2.length; ++j)
+ object.labels[keys2[j]] = message.labels[keys2[j]];
+ }
+ if (message.bigqueryDateShardedSpec != null && message.hasOwnProperty("bigqueryDateShardedSpec")) {
+ object.bigqueryDateShardedSpec = $root.google.cloud.datacatalog.v1.BigQueryDateShardedSpec.toObject(message.bigqueryDateShardedSpec, options);
+ if (options.oneofs)
+ object.typeSpec = "bigqueryDateShardedSpec";
+ }
+ if (message.userSpecifiedType != null && message.hasOwnProperty("userSpecifiedType")) {
+ object.userSpecifiedType = message.userSpecifiedType;
+ if (options.oneofs)
+ object.entryType = "userSpecifiedType";
+ }
+ if (message.integratedSystem != null && message.hasOwnProperty("integratedSystem")) {
+ object.integratedSystem = options.enums === String ? $root.google.cloud.datacatalog.v1.IntegratedSystem[message.integratedSystem] === undefined ? message.integratedSystem : $root.google.cloud.datacatalog.v1.IntegratedSystem[message.integratedSystem] : message.integratedSystem;
+ if (options.oneofs)
+ object.system = "integratedSystem";
+ }
+ if (message.userSpecifiedSystem != null && message.hasOwnProperty("userSpecifiedSystem")) {
+ object.userSpecifiedSystem = message.userSpecifiedSystem;
+ if (options.oneofs)
+ object.system = "userSpecifiedSystem";
+ }
+ if (message.dataSource != null && message.hasOwnProperty("dataSource"))
+ object.dataSource = $root.google.cloud.datacatalog.v1.DataSource.toObject(message.dataSource, options);
+ if (message.databaseTableSpec != null && message.hasOwnProperty("databaseTableSpec")) {
+ object.databaseTableSpec = $root.google.cloud.datacatalog.v1.DatabaseTableSpec.toObject(message.databaseTableSpec, options);
+ if (options.oneofs)
+ object.spec = "databaseTableSpec";
+ }
+ if (message.personalDetails != null && message.hasOwnProperty("personalDetails"))
+ object.personalDetails = $root.google.cloud.datacatalog.v1.PersonalDetails.toObject(message.personalDetails, options);
+ if (message.dataSourceConnectionSpec != null && message.hasOwnProperty("dataSourceConnectionSpec")) {
+ object.dataSourceConnectionSpec = $root.google.cloud.datacatalog.v1.DataSourceConnectionSpec.toObject(message.dataSourceConnectionSpec, options);
+ if (options.oneofs)
+ object.spec = "dataSourceConnectionSpec";
+ }
+ if (message.routineSpec != null && message.hasOwnProperty("routineSpec")) {
+ object.routineSpec = $root.google.cloud.datacatalog.v1.RoutineSpec.toObject(message.routineSpec, options);
+ if (options.oneofs)
+ object.spec = "routineSpec";
+ }
+ if (message.fullyQualifiedName != null && message.hasOwnProperty("fullyQualifiedName"))
+ object.fullyQualifiedName = message.fullyQualifiedName;
+ if (message.filesetSpec != null && message.hasOwnProperty("filesetSpec")) {
+ object.filesetSpec = $root.google.cloud.datacatalog.v1.FilesetSpec.toObject(message.filesetSpec, options);
+ if (options.oneofs)
+ object.spec = "filesetSpec";
+ }
+ if (message.businessContext != null && message.hasOwnProperty("businessContext"))
+ object.businessContext = $root.google.cloud.datacatalog.v1.BusinessContext.toObject(message.businessContext, options);
+ return object;
+ };
+
+ /**
+ * Converts this Entry to JSON.
+ * @function toJSON
+ * @memberof google.cloud.datacatalog.v1.Entry
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ Entry.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for Entry
+ * @function getTypeUrl
+ * @memberof google.cloud.datacatalog.v1.Entry
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ Entry.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.cloud.datacatalog.v1.Entry";
+ };
+
+ return Entry;
+ })();
+
+ v1.DatabaseTableSpec = (function() {
+
+ /**
+ * Properties of a DatabaseTableSpec.
+ * @memberof google.cloud.datacatalog.v1
+ * @interface IDatabaseTableSpec
+ * @property {google.cloud.datacatalog.v1.DatabaseTableSpec.TableType|null} [type] DatabaseTableSpec type
+ * @property {google.cloud.datacatalog.v1.IDataplexTableSpec|null} [dataplexTable] DatabaseTableSpec dataplexTable
+ */
+
+ /**
+ * Constructs a new DatabaseTableSpec.
+ * @memberof google.cloud.datacatalog.v1
+ * @classdesc Represents a DatabaseTableSpec.
+ * @implements IDatabaseTableSpec
+ * @constructor
+ * @param {google.cloud.datacatalog.v1.IDatabaseTableSpec=} [properties] Properties to set
+ */
+ function DatabaseTableSpec(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]];
+ }
+
+ /**
+ * DatabaseTableSpec type.
+ * @member {google.cloud.datacatalog.v1.DatabaseTableSpec.TableType} type
+ * @memberof google.cloud.datacatalog.v1.DatabaseTableSpec
+ * @instance
+ */
+ DatabaseTableSpec.prototype.type = 0;
+
+ /**
+ * DatabaseTableSpec dataplexTable.
+ * @member {google.cloud.datacatalog.v1.IDataplexTableSpec|null|undefined} dataplexTable
+ * @memberof google.cloud.datacatalog.v1.DatabaseTableSpec
+ * @instance
+ */
+ DatabaseTableSpec.prototype.dataplexTable = null;
+
+ /**
+ * Creates a new DatabaseTableSpec instance using the specified properties.
+ * @function create
+ * @memberof google.cloud.datacatalog.v1.DatabaseTableSpec
+ * @static
+ * @param {google.cloud.datacatalog.v1.IDatabaseTableSpec=} [properties] Properties to set
+ * @returns {google.cloud.datacatalog.v1.DatabaseTableSpec} DatabaseTableSpec instance
+ */
+ DatabaseTableSpec.create = function create(properties) {
+ return new DatabaseTableSpec(properties);
+ };
+
+ /**
+ * Encodes the specified DatabaseTableSpec message. Does not implicitly {@link google.cloud.datacatalog.v1.DatabaseTableSpec.verify|verify} messages.
+ * @function encode
+ * @memberof google.cloud.datacatalog.v1.DatabaseTableSpec
+ * @static
+ * @param {google.cloud.datacatalog.v1.IDatabaseTableSpec} message DatabaseTableSpec message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ DatabaseTableSpec.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.dataplexTable != null && Object.hasOwnProperty.call(message, "dataplexTable"))
+ $root.google.cloud.datacatalog.v1.DataplexTableSpec.encode(message.dataplexTable, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
+ return writer;
+ };
+
+ /**
+ * Encodes the specified DatabaseTableSpec message, length delimited. Does not implicitly {@link google.cloud.datacatalog.v1.DatabaseTableSpec.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.cloud.datacatalog.v1.DatabaseTableSpec
+ * @static
+ * @param {google.cloud.datacatalog.v1.IDatabaseTableSpec} message DatabaseTableSpec message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ DatabaseTableSpec.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes a DatabaseTableSpec message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.cloud.datacatalog.v1.DatabaseTableSpec
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.cloud.datacatalog.v1.DatabaseTableSpec} DatabaseTableSpec
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ DatabaseTableSpec.decode = function decode(reader, length) {
+ if (!(reader instanceof $Reader))
+ reader = $Reader.create(reader);
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.datacatalog.v1.DatabaseTableSpec();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ switch (tag >>> 3) {
+ case 1: {
+ message.type = reader.int32();
+ break;
+ }
+ case 2: {
+ message.dataplexTable = $root.google.cloud.datacatalog.v1.DataplexTableSpec.decode(reader, reader.uint32());
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes a DatabaseTableSpec message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.cloud.datacatalog.v1.DatabaseTableSpec
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.cloud.datacatalog.v1.DatabaseTableSpec} DatabaseTableSpec
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ DatabaseTableSpec.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies a DatabaseTableSpec message.
+ * @function verify
+ * @memberof google.cloud.datacatalog.v1.DatabaseTableSpec
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ DatabaseTableSpec.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 1:
+ case 2:
+ break;
+ }
+ if (message.dataplexTable != null && message.hasOwnProperty("dataplexTable")) {
+ var error = $root.google.cloud.datacatalog.v1.DataplexTableSpec.verify(message.dataplexTable);
+ if (error)
+ return "dataplexTable." + error;
+ }
+ return null;
+ };
+
+ /**
+ * Creates a DatabaseTableSpec message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.cloud.datacatalog.v1.DatabaseTableSpec
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.cloud.datacatalog.v1.DatabaseTableSpec} DatabaseTableSpec
+ */
+ DatabaseTableSpec.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.cloud.datacatalog.v1.DatabaseTableSpec)
+ return object;
+ var message = new $root.google.cloud.datacatalog.v1.DatabaseTableSpec();
+ switch (object.type) {
+ default:
+ if (typeof object.type === "number") {
+ message.type = object.type;
+ break;
+ }
+ break;
+ case "TABLE_TYPE_UNSPECIFIED":
+ case 0:
+ message.type = 0;
+ break;
+ case "NATIVE":
+ case 1:
+ message.type = 1;
+ break;
+ case "EXTERNAL":
+ case 2:
+ message.type = 2;
+ break;
+ }
+ if (object.dataplexTable != null) {
+ if (typeof object.dataplexTable !== "object")
+ throw TypeError(".google.cloud.datacatalog.v1.DatabaseTableSpec.dataplexTable: object expected");
+ message.dataplexTable = $root.google.cloud.datacatalog.v1.DataplexTableSpec.fromObject(object.dataplexTable);
+ }
+ return message;
+ };
+
+ /**
+ * Creates a plain object from a DatabaseTableSpec message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.cloud.datacatalog.v1.DatabaseTableSpec
+ * @static
+ * @param {google.cloud.datacatalog.v1.DatabaseTableSpec} message DatabaseTableSpec
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ DatabaseTableSpec.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.defaults) {
+ object.type = options.enums === String ? "TABLE_TYPE_UNSPECIFIED" : 0;
+ object.dataplexTable = null;
+ }
+ if (message.type != null && message.hasOwnProperty("type"))
+ object.type = options.enums === String ? $root.google.cloud.datacatalog.v1.DatabaseTableSpec.TableType[message.type] === undefined ? message.type : $root.google.cloud.datacatalog.v1.DatabaseTableSpec.TableType[message.type] : message.type;
+ if (message.dataplexTable != null && message.hasOwnProperty("dataplexTable"))
+ object.dataplexTable = $root.google.cloud.datacatalog.v1.DataplexTableSpec.toObject(message.dataplexTable, options);
+ return object;
+ };
+
+ /**
+ * Converts this DatabaseTableSpec to JSON.
+ * @function toJSON
+ * @memberof google.cloud.datacatalog.v1.DatabaseTableSpec
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ DatabaseTableSpec.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for DatabaseTableSpec
+ * @function getTypeUrl
+ * @memberof google.cloud.datacatalog.v1.DatabaseTableSpec
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ DatabaseTableSpec.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.cloud.datacatalog.v1.DatabaseTableSpec";
+ };
+
+ /**
+ * TableType enum.
+ * @name google.cloud.datacatalog.v1.DatabaseTableSpec.TableType
+ * @enum {number}
+ * @property {number} TABLE_TYPE_UNSPECIFIED=0 TABLE_TYPE_UNSPECIFIED value
+ * @property {number} NATIVE=1 NATIVE value
+ * @property {number} EXTERNAL=2 EXTERNAL value
+ */
+ DatabaseTableSpec.TableType = (function() {
+ var valuesById = {}, values = Object.create(valuesById);
+ values[valuesById[0] = "TABLE_TYPE_UNSPECIFIED"] = 0;
+ values[valuesById[1] = "NATIVE"] = 1;
+ values[valuesById[2] = "EXTERNAL"] = 2;
+ return values;
+ })();
+
+ return DatabaseTableSpec;
+ })();
+
+ v1.FilesetSpec = (function() {
+
+ /**
+ * Properties of a FilesetSpec.
+ * @memberof google.cloud.datacatalog.v1
+ * @interface IFilesetSpec
+ * @property {google.cloud.datacatalog.v1.IDataplexFilesetSpec|null} [dataplexFileset] FilesetSpec dataplexFileset
+ */
+
+ /**
+ * Constructs a new FilesetSpec.
+ * @memberof google.cloud.datacatalog.v1
+ * @classdesc Represents a FilesetSpec.
+ * @implements IFilesetSpec
+ * @constructor
+ * @param {google.cloud.datacatalog.v1.IFilesetSpec=} [properties] Properties to set
+ */
+ function FilesetSpec(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]];
+ }
+
+ /**
+ * FilesetSpec dataplexFileset.
+ * @member {google.cloud.datacatalog.v1.IDataplexFilesetSpec|null|undefined} dataplexFileset
+ * @memberof google.cloud.datacatalog.v1.FilesetSpec
+ * @instance
+ */
+ FilesetSpec.prototype.dataplexFileset = null;
+
+ /**
+ * Creates a new FilesetSpec instance using the specified properties.
+ * @function create
+ * @memberof google.cloud.datacatalog.v1.FilesetSpec
+ * @static
+ * @param {google.cloud.datacatalog.v1.IFilesetSpec=} [properties] Properties to set
+ * @returns {google.cloud.datacatalog.v1.FilesetSpec} FilesetSpec instance
+ */
+ FilesetSpec.create = function create(properties) {
+ return new FilesetSpec(properties);
+ };
+
+ /**
+ * Encodes the specified FilesetSpec message. Does not implicitly {@link google.cloud.datacatalog.v1.FilesetSpec.verify|verify} messages.
+ * @function encode
+ * @memberof google.cloud.datacatalog.v1.FilesetSpec
+ * @static
+ * @param {google.cloud.datacatalog.v1.IFilesetSpec} message FilesetSpec message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ FilesetSpec.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.dataplexFileset != null && Object.hasOwnProperty.call(message, "dataplexFileset"))
+ $root.google.cloud.datacatalog.v1.DataplexFilesetSpec.encode(message.dataplexFileset, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
+ return writer;
+ };
+
+ /**
+ * Encodes the specified FilesetSpec message, length delimited. Does not implicitly {@link google.cloud.datacatalog.v1.FilesetSpec.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.cloud.datacatalog.v1.FilesetSpec
+ * @static
+ * @param {google.cloud.datacatalog.v1.IFilesetSpec} message FilesetSpec message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ FilesetSpec.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes a FilesetSpec message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.cloud.datacatalog.v1.FilesetSpec
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.cloud.datacatalog.v1.FilesetSpec} FilesetSpec
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ FilesetSpec.decode = function decode(reader, length) {
+ if (!(reader instanceof $Reader))
+ reader = $Reader.create(reader);
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.datacatalog.v1.FilesetSpec();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ switch (tag >>> 3) {
+ case 1: {
+ message.dataplexFileset = $root.google.cloud.datacatalog.v1.DataplexFilesetSpec.decode(reader, reader.uint32());
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes a FilesetSpec message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.cloud.datacatalog.v1.FilesetSpec
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.cloud.datacatalog.v1.FilesetSpec} FilesetSpec
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ FilesetSpec.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies a FilesetSpec message.
+ * @function verify
+ * @memberof google.cloud.datacatalog.v1.FilesetSpec
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ FilesetSpec.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ if (message.dataplexFileset != null && message.hasOwnProperty("dataplexFileset")) {
+ var error = $root.google.cloud.datacatalog.v1.DataplexFilesetSpec.verify(message.dataplexFileset);
+ if (error)
+ return "dataplexFileset." + error;
+ }
+ return null;
+ };
+
+ /**
+ * Creates a FilesetSpec message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.cloud.datacatalog.v1.FilesetSpec
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.cloud.datacatalog.v1.FilesetSpec} FilesetSpec
+ */
+ FilesetSpec.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.cloud.datacatalog.v1.FilesetSpec)
+ return object;
+ var message = new $root.google.cloud.datacatalog.v1.FilesetSpec();
+ if (object.dataplexFileset != null) {
+ if (typeof object.dataplexFileset !== "object")
+ throw TypeError(".google.cloud.datacatalog.v1.FilesetSpec.dataplexFileset: object expected");
+ message.dataplexFileset = $root.google.cloud.datacatalog.v1.DataplexFilesetSpec.fromObject(object.dataplexFileset);
+ }
+ return message;
+ };
+
+ /**
+ * Creates a plain object from a FilesetSpec message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.cloud.datacatalog.v1.FilesetSpec
+ * @static
+ * @param {google.cloud.datacatalog.v1.FilesetSpec} message FilesetSpec
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ FilesetSpec.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.defaults)
+ object.dataplexFileset = null;
+ if (message.dataplexFileset != null && message.hasOwnProperty("dataplexFileset"))
+ object.dataplexFileset = $root.google.cloud.datacatalog.v1.DataplexFilesetSpec.toObject(message.dataplexFileset, options);
+ return object;
+ };
+
+ /**
+ * Converts this FilesetSpec to JSON.
+ * @function toJSON
+ * @memberof google.cloud.datacatalog.v1.FilesetSpec
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ FilesetSpec.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for FilesetSpec
+ * @function getTypeUrl
+ * @memberof google.cloud.datacatalog.v1.FilesetSpec
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ FilesetSpec.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.cloud.datacatalog.v1.FilesetSpec";
+ };
+
+ return FilesetSpec;
+ })();
+
+ v1.DataSourceConnectionSpec = (function() {
+
+ /**
+ * Properties of a DataSourceConnectionSpec.
+ * @memberof google.cloud.datacatalog.v1
+ * @interface IDataSourceConnectionSpec
+ * @property {google.cloud.datacatalog.v1.IBigQueryConnectionSpec|null} [bigqueryConnectionSpec] DataSourceConnectionSpec bigqueryConnectionSpec
+ */
+
+ /**
+ * Constructs a new DataSourceConnectionSpec.
+ * @memberof google.cloud.datacatalog.v1
+ * @classdesc Represents a DataSourceConnectionSpec.
+ * @implements IDataSourceConnectionSpec
+ * @constructor
+ * @param {google.cloud.datacatalog.v1.IDataSourceConnectionSpec=} [properties] Properties to set
+ */
+ function DataSourceConnectionSpec(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]];
+ }
+
+ /**
+ * DataSourceConnectionSpec bigqueryConnectionSpec.
+ * @member {google.cloud.datacatalog.v1.IBigQueryConnectionSpec|null|undefined} bigqueryConnectionSpec
+ * @memberof google.cloud.datacatalog.v1.DataSourceConnectionSpec
+ * @instance
+ */
+ DataSourceConnectionSpec.prototype.bigqueryConnectionSpec = null;
+
+ /**
+ * Creates a new DataSourceConnectionSpec instance using the specified properties.
+ * @function create
+ * @memberof google.cloud.datacatalog.v1.DataSourceConnectionSpec
+ * @static
+ * @param {google.cloud.datacatalog.v1.IDataSourceConnectionSpec=} [properties] Properties to set
+ * @returns {google.cloud.datacatalog.v1.DataSourceConnectionSpec} DataSourceConnectionSpec instance
+ */
+ DataSourceConnectionSpec.create = function create(properties) {
+ return new DataSourceConnectionSpec(properties);
+ };
+
+ /**
+ * Encodes the specified DataSourceConnectionSpec message. Does not implicitly {@link google.cloud.datacatalog.v1.DataSourceConnectionSpec.verify|verify} messages.
+ * @function encode
+ * @memberof google.cloud.datacatalog.v1.DataSourceConnectionSpec
+ * @static
+ * @param {google.cloud.datacatalog.v1.IDataSourceConnectionSpec} message DataSourceConnectionSpec message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ DataSourceConnectionSpec.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.bigqueryConnectionSpec != null && Object.hasOwnProperty.call(message, "bigqueryConnectionSpec"))
+ $root.google.cloud.datacatalog.v1.BigQueryConnectionSpec.encode(message.bigqueryConnectionSpec, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
+ return writer;
+ };
+
+ /**
+ * Encodes the specified DataSourceConnectionSpec message, length delimited. Does not implicitly {@link google.cloud.datacatalog.v1.DataSourceConnectionSpec.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.cloud.datacatalog.v1.DataSourceConnectionSpec
+ * @static
+ * @param {google.cloud.datacatalog.v1.IDataSourceConnectionSpec} message DataSourceConnectionSpec message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ DataSourceConnectionSpec.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes a DataSourceConnectionSpec message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.cloud.datacatalog.v1.DataSourceConnectionSpec
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.cloud.datacatalog.v1.DataSourceConnectionSpec} DataSourceConnectionSpec
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ DataSourceConnectionSpec.decode = function decode(reader, length) {
+ if (!(reader instanceof $Reader))
+ reader = $Reader.create(reader);
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.datacatalog.v1.DataSourceConnectionSpec();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ switch (tag >>> 3) {
+ case 1: {
+ message.bigqueryConnectionSpec = $root.google.cloud.datacatalog.v1.BigQueryConnectionSpec.decode(reader, reader.uint32());
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes a DataSourceConnectionSpec message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.cloud.datacatalog.v1.DataSourceConnectionSpec
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.cloud.datacatalog.v1.DataSourceConnectionSpec} DataSourceConnectionSpec
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ DataSourceConnectionSpec.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies a DataSourceConnectionSpec message.
+ * @function verify
+ * @memberof google.cloud.datacatalog.v1.DataSourceConnectionSpec
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ DataSourceConnectionSpec.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ if (message.bigqueryConnectionSpec != null && message.hasOwnProperty("bigqueryConnectionSpec")) {
+ var error = $root.google.cloud.datacatalog.v1.BigQueryConnectionSpec.verify(message.bigqueryConnectionSpec);
+ if (error)
+ return "bigqueryConnectionSpec." + error;
+ }
+ return null;
+ };
+
+ /**
+ * Creates a DataSourceConnectionSpec message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.cloud.datacatalog.v1.DataSourceConnectionSpec
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.cloud.datacatalog.v1.DataSourceConnectionSpec} DataSourceConnectionSpec
+ */
+ DataSourceConnectionSpec.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.cloud.datacatalog.v1.DataSourceConnectionSpec)
+ return object;
+ var message = new $root.google.cloud.datacatalog.v1.DataSourceConnectionSpec();
+ if (object.bigqueryConnectionSpec != null) {
+ if (typeof object.bigqueryConnectionSpec !== "object")
+ throw TypeError(".google.cloud.datacatalog.v1.DataSourceConnectionSpec.bigqueryConnectionSpec: object expected");
+ message.bigqueryConnectionSpec = $root.google.cloud.datacatalog.v1.BigQueryConnectionSpec.fromObject(object.bigqueryConnectionSpec);
+ }
+ return message;
+ };
+
+ /**
+ * Creates a plain object from a DataSourceConnectionSpec message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.cloud.datacatalog.v1.DataSourceConnectionSpec
+ * @static
+ * @param {google.cloud.datacatalog.v1.DataSourceConnectionSpec} message DataSourceConnectionSpec
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ DataSourceConnectionSpec.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.defaults)
+ object.bigqueryConnectionSpec = null;
+ if (message.bigqueryConnectionSpec != null && message.hasOwnProperty("bigqueryConnectionSpec"))
+ object.bigqueryConnectionSpec = $root.google.cloud.datacatalog.v1.BigQueryConnectionSpec.toObject(message.bigqueryConnectionSpec, options);
+ return object;
+ };
+
+ /**
+ * Converts this DataSourceConnectionSpec to JSON.
+ * @function toJSON
+ * @memberof google.cloud.datacatalog.v1.DataSourceConnectionSpec
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ DataSourceConnectionSpec.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for DataSourceConnectionSpec
+ * @function getTypeUrl
+ * @memberof google.cloud.datacatalog.v1.DataSourceConnectionSpec
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ DataSourceConnectionSpec.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.cloud.datacatalog.v1.DataSourceConnectionSpec";
+ };
+
+ return DataSourceConnectionSpec;
+ })();
+
+ v1.RoutineSpec = (function() {
+
+ /**
+ * Properties of a RoutineSpec.
+ * @memberof google.cloud.datacatalog.v1
+ * @interface IRoutineSpec
+ * @property {google.cloud.datacatalog.v1.RoutineSpec.RoutineType|null} [routineType] RoutineSpec routineType
+ * @property {string|null} [language] RoutineSpec language
+ * @property {Array.|null} [routineArguments] RoutineSpec routineArguments
+ * @property {string|null} [returnType] RoutineSpec returnType
+ * @property {string|null} [definitionBody] RoutineSpec definitionBody
+ * @property {google.cloud.datacatalog.v1.IBigQueryRoutineSpec|null} [bigqueryRoutineSpec] RoutineSpec bigqueryRoutineSpec
+ */
+
+ /**
+ * Constructs a new RoutineSpec.
+ * @memberof google.cloud.datacatalog.v1
+ * @classdesc Represents a RoutineSpec.
+ * @implements IRoutineSpec
+ * @constructor
+ * @param {google.cloud.datacatalog.v1.IRoutineSpec=} [properties] Properties to set
+ */
+ function RoutineSpec(properties) {
+ this.routineArguments = [];
+ 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]];
+ }
+
+ /**
+ * RoutineSpec routineType.
+ * @member {google.cloud.datacatalog.v1.RoutineSpec.RoutineType} routineType
+ * @memberof google.cloud.datacatalog.v1.RoutineSpec
+ * @instance
+ */
+ RoutineSpec.prototype.routineType = 0;
+
+ /**
+ * RoutineSpec language.
+ * @member {string} language
+ * @memberof google.cloud.datacatalog.v1.RoutineSpec
+ * @instance
+ */
+ RoutineSpec.prototype.language = "";
+
+ /**
+ * RoutineSpec routineArguments.
+ * @member {Array.} routineArguments
+ * @memberof google.cloud.datacatalog.v1.RoutineSpec
+ * @instance
+ */
+ RoutineSpec.prototype.routineArguments = $util.emptyArray;
+
+ /**
+ * RoutineSpec returnType.
+ * @member {string} returnType
+ * @memberof google.cloud.datacatalog.v1.RoutineSpec
+ * @instance
+ */
+ RoutineSpec.prototype.returnType = "";
+
+ /**
+ * RoutineSpec definitionBody.
+ * @member {string} definitionBody
+ * @memberof google.cloud.datacatalog.v1.RoutineSpec
+ * @instance
+ */
+ RoutineSpec.prototype.definitionBody = "";
+
+ /**
+ * RoutineSpec bigqueryRoutineSpec.
+ * @member {google.cloud.datacatalog.v1.IBigQueryRoutineSpec|null|undefined} bigqueryRoutineSpec
+ * @memberof google.cloud.datacatalog.v1.RoutineSpec
+ * @instance
+ */
+ RoutineSpec.prototype.bigqueryRoutineSpec = null;
+
+ // OneOf field names bound to virtual getters and setters
+ var $oneOfFields;
+
+ /**
+ * RoutineSpec systemSpec.
+ * @member {"bigqueryRoutineSpec"|undefined} systemSpec
+ * @memberof google.cloud.datacatalog.v1.RoutineSpec
+ * @instance
+ */
+ Object.defineProperty(RoutineSpec.prototype, "systemSpec", {
+ get: $util.oneOfGetter($oneOfFields = ["bigqueryRoutineSpec"]),
+ set: $util.oneOfSetter($oneOfFields)
+ });
+
+ /**
+ * Creates a new RoutineSpec instance using the specified properties.
+ * @function create
+ * @memberof google.cloud.datacatalog.v1.RoutineSpec
+ * @static
+ * @param {google.cloud.datacatalog.v1.IRoutineSpec=} [properties] Properties to set
+ * @returns {google.cloud.datacatalog.v1.RoutineSpec} RoutineSpec instance
+ */
+ RoutineSpec.create = function create(properties) {
+ return new RoutineSpec(properties);
+ };
+
+ /**
+ * Encodes the specified RoutineSpec message. Does not implicitly {@link google.cloud.datacatalog.v1.RoutineSpec.verify|verify} messages.
+ * @function encode
+ * @memberof google.cloud.datacatalog.v1.RoutineSpec
+ * @static
+ * @param {google.cloud.datacatalog.v1.IRoutineSpec} message RoutineSpec message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ RoutineSpec.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.routineType != null && Object.hasOwnProperty.call(message, "routineType"))
+ writer.uint32(/* id 1, wireType 0 =*/8).int32(message.routineType);
+ if (message.language != null && Object.hasOwnProperty.call(message, "language"))
+ writer.uint32(/* id 2, wireType 2 =*/18).string(message.language);
+ if (message.routineArguments != null && message.routineArguments.length)
+ for (var i = 0; i < message.routineArguments.length; ++i)
+ $root.google.cloud.datacatalog.v1.RoutineSpec.Argument.encode(message.routineArguments[i], writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim();
+ if (message.returnType != null && Object.hasOwnProperty.call(message, "returnType"))
+ writer.uint32(/* id 4, wireType 2 =*/34).string(message.returnType);
+ if (message.definitionBody != null && Object.hasOwnProperty.call(message, "definitionBody"))
+ writer.uint32(/* id 5, wireType 2 =*/42).string(message.definitionBody);
+ if (message.bigqueryRoutineSpec != null && Object.hasOwnProperty.call(message, "bigqueryRoutineSpec"))
+ $root.google.cloud.datacatalog.v1.BigQueryRoutineSpec.encode(message.bigqueryRoutineSpec, writer.uint32(/* id 6, wireType 2 =*/50).fork()).ldelim();
+ return writer;
+ };
+
+ /**
+ * Encodes the specified RoutineSpec message, length delimited. Does not implicitly {@link google.cloud.datacatalog.v1.RoutineSpec.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.cloud.datacatalog.v1.RoutineSpec
+ * @static
+ * @param {google.cloud.datacatalog.v1.IRoutineSpec} message RoutineSpec message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ RoutineSpec.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes a RoutineSpec message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.cloud.datacatalog.v1.RoutineSpec
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.cloud.datacatalog.v1.RoutineSpec} RoutineSpec
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ RoutineSpec.decode = function decode(reader, length) {
+ if (!(reader instanceof $Reader))
+ reader = $Reader.create(reader);
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.datacatalog.v1.RoutineSpec();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ switch (tag >>> 3) {
+ case 1: {
+ message.routineType = reader.int32();
+ break;
+ }
+ case 2: {
+ message.language = reader.string();
+ break;
+ }
+ case 3: {
+ if (!(message.routineArguments && message.routineArguments.length))
+ message.routineArguments = [];
+ message.routineArguments.push($root.google.cloud.datacatalog.v1.RoutineSpec.Argument.decode(reader, reader.uint32()));
+ break;
+ }
+ case 4: {
+ message.returnType = reader.string();
+ break;
+ }
+ case 5: {
+ message.definitionBody = reader.string();
+ break;
+ }
+ case 6: {
+ message.bigqueryRoutineSpec = $root.google.cloud.datacatalog.v1.BigQueryRoutineSpec.decode(reader, reader.uint32());
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes a RoutineSpec message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.cloud.datacatalog.v1.RoutineSpec
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.cloud.datacatalog.v1.RoutineSpec} RoutineSpec
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ RoutineSpec.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies a RoutineSpec message.
+ * @function verify
+ * @memberof google.cloud.datacatalog.v1.RoutineSpec
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ RoutineSpec.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ var properties = {};
+ if (message.routineType != null && message.hasOwnProperty("routineType"))
+ switch (message.routineType) {
+ default:
+ return "routineType: enum value expected";
+ case 0:
+ case 1:
+ case 2:
+ break;
+ }
+ if (message.language != null && message.hasOwnProperty("language"))
+ if (!$util.isString(message.language))
+ return "language: string expected";
+ if (message.routineArguments != null && message.hasOwnProperty("routineArguments")) {
+ if (!Array.isArray(message.routineArguments))
+ return "routineArguments: array expected";
+ for (var i = 0; i < message.routineArguments.length; ++i) {
+ var error = $root.google.cloud.datacatalog.v1.RoutineSpec.Argument.verify(message.routineArguments[i]);
+ if (error)
+ return "routineArguments." + error;
+ }
+ }
+ if (message.returnType != null && message.hasOwnProperty("returnType"))
+ if (!$util.isString(message.returnType))
+ return "returnType: string expected";
+ if (message.definitionBody != null && message.hasOwnProperty("definitionBody"))
+ if (!$util.isString(message.definitionBody))
+ return "definitionBody: string expected";
+ if (message.bigqueryRoutineSpec != null && message.hasOwnProperty("bigqueryRoutineSpec")) {
+ properties.systemSpec = 1;
+ {
+ var error = $root.google.cloud.datacatalog.v1.BigQueryRoutineSpec.verify(message.bigqueryRoutineSpec);
+ if (error)
+ return "bigqueryRoutineSpec." + error;
+ }
+ }
+ return null;
+ };
+
+ /**
+ * Creates a RoutineSpec message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.cloud.datacatalog.v1.RoutineSpec
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.cloud.datacatalog.v1.RoutineSpec} RoutineSpec
+ */
+ RoutineSpec.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.cloud.datacatalog.v1.RoutineSpec)
+ return object;
+ var message = new $root.google.cloud.datacatalog.v1.RoutineSpec();
+ switch (object.routineType) {
+ default:
+ if (typeof object.routineType === "number") {
+ message.routineType = object.routineType;
+ break;
+ }
+ break;
+ case "ROUTINE_TYPE_UNSPECIFIED":
+ case 0:
+ message.routineType = 0;
+ break;
+ case "SCALAR_FUNCTION":
+ case 1:
+ message.routineType = 1;
+ break;
+ case "PROCEDURE":
+ case 2:
+ message.routineType = 2;
+ break;
+ }
+ if (object.language != null)
+ message.language = String(object.language);
+ if (object.routineArguments) {
+ if (!Array.isArray(object.routineArguments))
+ throw TypeError(".google.cloud.datacatalog.v1.RoutineSpec.routineArguments: array expected");
+ message.routineArguments = [];
+ for (var i = 0; i < object.routineArguments.length; ++i) {
+ if (typeof object.routineArguments[i] !== "object")
+ throw TypeError(".google.cloud.datacatalog.v1.RoutineSpec.routineArguments: object expected");
+ message.routineArguments[i] = $root.google.cloud.datacatalog.v1.RoutineSpec.Argument.fromObject(object.routineArguments[i]);
+ }
+ }
+ if (object.returnType != null)
+ message.returnType = String(object.returnType);
+ if (object.definitionBody != null)
+ message.definitionBody = String(object.definitionBody);
+ if (object.bigqueryRoutineSpec != null) {
+ if (typeof object.bigqueryRoutineSpec !== "object")
+ throw TypeError(".google.cloud.datacatalog.v1.RoutineSpec.bigqueryRoutineSpec: object expected");
+ message.bigqueryRoutineSpec = $root.google.cloud.datacatalog.v1.BigQueryRoutineSpec.fromObject(object.bigqueryRoutineSpec);
+ }
+ return message;
+ };
+
+ /**
+ * Creates a plain object from a RoutineSpec message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.cloud.datacatalog.v1.RoutineSpec
+ * @static
+ * @param {google.cloud.datacatalog.v1.RoutineSpec} message RoutineSpec
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ RoutineSpec.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.arrays || options.defaults)
+ object.routineArguments = [];
+ if (options.defaults) {
+ object.routineType = options.enums === String ? "ROUTINE_TYPE_UNSPECIFIED" : 0;
+ object.language = "";
+ object.returnType = "";
+ object.definitionBody = "";
+ }
+ if (message.routineType != null && message.hasOwnProperty("routineType"))
+ object.routineType = options.enums === String ? $root.google.cloud.datacatalog.v1.RoutineSpec.RoutineType[message.routineType] === undefined ? message.routineType : $root.google.cloud.datacatalog.v1.RoutineSpec.RoutineType[message.routineType] : message.routineType;
+ if (message.language != null && message.hasOwnProperty("language"))
+ object.language = message.language;
+ if (message.routineArguments && message.routineArguments.length) {
+ object.routineArguments = [];
+ for (var j = 0; j < message.routineArguments.length; ++j)
+ object.routineArguments[j] = $root.google.cloud.datacatalog.v1.RoutineSpec.Argument.toObject(message.routineArguments[j], options);
+ }
+ if (message.returnType != null && message.hasOwnProperty("returnType"))
+ object.returnType = message.returnType;
+ if (message.definitionBody != null && message.hasOwnProperty("definitionBody"))
+ object.definitionBody = message.definitionBody;
+ if (message.bigqueryRoutineSpec != null && message.hasOwnProperty("bigqueryRoutineSpec")) {
+ object.bigqueryRoutineSpec = $root.google.cloud.datacatalog.v1.BigQueryRoutineSpec.toObject(message.bigqueryRoutineSpec, options);
+ if (options.oneofs)
+ object.systemSpec = "bigqueryRoutineSpec";
+ }
+ return object;
+ };
+
+ /**
+ * Converts this RoutineSpec to JSON.
+ * @function toJSON
+ * @memberof google.cloud.datacatalog.v1.RoutineSpec
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ RoutineSpec.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for RoutineSpec
+ * @function getTypeUrl
+ * @memberof google.cloud.datacatalog.v1.RoutineSpec
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ RoutineSpec.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.cloud.datacatalog.v1.RoutineSpec";
+ };
+
+ /**
+ * RoutineType enum.
+ * @name google.cloud.datacatalog.v1.RoutineSpec.RoutineType
+ * @enum {number}
+ * @property {number} ROUTINE_TYPE_UNSPECIFIED=0 ROUTINE_TYPE_UNSPECIFIED value
+ * @property {number} SCALAR_FUNCTION=1 SCALAR_FUNCTION value
+ * @property {number} PROCEDURE=2 PROCEDURE value
+ */
+ RoutineSpec.RoutineType = (function() {
+ var valuesById = {}, values = Object.create(valuesById);
+ values[valuesById[0] = "ROUTINE_TYPE_UNSPECIFIED"] = 0;
+ values[valuesById[1] = "SCALAR_FUNCTION"] = 1;
+ values[valuesById[2] = "PROCEDURE"] = 2;
+ return values;
+ })();
+
+ RoutineSpec.Argument = (function() {
+
+ /**
+ * Properties of an Argument.
+ * @memberof google.cloud.datacatalog.v1.RoutineSpec
+ * @interface IArgument
+ * @property {string|null} [name] Argument name
+ * @property {google.cloud.datacatalog.v1.RoutineSpec.Argument.Mode|null} [mode] Argument mode
+ * @property {string|null} [type] Argument type
+ */
+
+ /**
+ * Constructs a new Argument.
+ * @memberof google.cloud.datacatalog.v1.RoutineSpec
+ * @classdesc Represents an Argument.
+ * @implements IArgument
+ * @constructor
+ * @param {google.cloud.datacatalog.v1.RoutineSpec.IArgument=} [properties] Properties to set
+ */
+ function Argument(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]];
+ }
+
+ /**
+ * Argument name.
+ * @member {string} name
+ * @memberof google.cloud.datacatalog.v1.RoutineSpec.Argument
+ * @instance
+ */
+ Argument.prototype.name = "";
+
+ /**
+ * Argument mode.
+ * @member {google.cloud.datacatalog.v1.RoutineSpec.Argument.Mode} mode
+ * @memberof google.cloud.datacatalog.v1.RoutineSpec.Argument
+ * @instance
+ */
+ Argument.prototype.mode = 0;
+
+ /**
+ * Argument type.
+ * @member {string} type
+ * @memberof google.cloud.datacatalog.v1.RoutineSpec.Argument
+ * @instance
+ */
+ Argument.prototype.type = "";
+
+ /**
+ * Creates a new Argument instance using the specified properties.
+ * @function create
+ * @memberof google.cloud.datacatalog.v1.RoutineSpec.Argument
+ * @static
+ * @param {google.cloud.datacatalog.v1.RoutineSpec.IArgument=} [properties] Properties to set
+ * @returns {google.cloud.datacatalog.v1.RoutineSpec.Argument} Argument instance
+ */
+ Argument.create = function create(properties) {
+ return new Argument(properties);
+ };
+
+ /**
+ * Encodes the specified Argument message. Does not implicitly {@link google.cloud.datacatalog.v1.RoutineSpec.Argument.verify|verify} messages.
+ * @function encode
+ * @memberof google.cloud.datacatalog.v1.RoutineSpec.Argument
+ * @static
+ * @param {google.cloud.datacatalog.v1.RoutineSpec.IArgument} message Argument message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ Argument.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.name != null && Object.hasOwnProperty.call(message, "name"))
+ writer.uint32(/* id 1, wireType 2 =*/10).string(message.name);
+ if (message.mode != null && Object.hasOwnProperty.call(message, "mode"))
+ writer.uint32(/* id 2, wireType 0 =*/16).int32(message.mode);
+ if (message.type != null && Object.hasOwnProperty.call(message, "type"))
+ writer.uint32(/* id 3, wireType 2 =*/26).string(message.type);
+ return writer;
+ };
+
+ /**
+ * Encodes the specified Argument message, length delimited. Does not implicitly {@link google.cloud.datacatalog.v1.RoutineSpec.Argument.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.cloud.datacatalog.v1.RoutineSpec.Argument
+ * @static
+ * @param {google.cloud.datacatalog.v1.RoutineSpec.IArgument} message Argument message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ Argument.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes an Argument message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.cloud.datacatalog.v1.RoutineSpec.Argument
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.cloud.datacatalog.v1.RoutineSpec.Argument} Argument
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ Argument.decode = function decode(reader, length) {
+ if (!(reader instanceof $Reader))
+ reader = $Reader.create(reader);
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.datacatalog.v1.RoutineSpec.Argument();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ switch (tag >>> 3) {
+ case 1: {
+ message.name = reader.string();
+ break;
+ }
+ case 2: {
+ message.mode = reader.int32();
+ break;
+ }
+ case 3: {
+ message.type = reader.string();
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes an Argument message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.cloud.datacatalog.v1.RoutineSpec.Argument
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.cloud.datacatalog.v1.RoutineSpec.Argument} Argument
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ Argument.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies an Argument message.
+ * @function verify
+ * @memberof google.cloud.datacatalog.v1.RoutineSpec.Argument
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ Argument.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.mode != null && message.hasOwnProperty("mode"))
+ switch (message.mode) {
+ default:
+ return "mode: enum value expected";
+ case 0:
+ case 1:
+ case 2:
+ case 3:
+ break;
+ }
+ if (message.type != null && message.hasOwnProperty("type"))
+ if (!$util.isString(message.type))
+ return "type: string expected";
+ return null;
+ };
+
+ /**
+ * Creates an Argument message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.cloud.datacatalog.v1.RoutineSpec.Argument
+ * @static
+ * @param {Object.