diff --git a/.release-please-manifest.json b/.release-please-manifest.json
index 2c90a795010..01274f4e238 100644
--- a/.release-please-manifest.json
+++ b/.release-please-manifest.json
@@ -19,6 +19,7 @@
"packages/google-cloud-billing": "3.1.3",
"packages/google-cloud-billing-budgets": "4.1.2",
"packages/google-cloud-certificatemanager": "0.6.2",
+ "packages/google-cloud-contactcenterinsights": "2.1.2",
"packages/google-cloud-channel": "2.2.0",
"packages/google-cloud-contentwarehouse": "0.1.2",
"packages/google-cloud-datafusion": "2.1.2",
diff --git a/packages/google-cloud-contactcenterinsights/.OwlBot.yaml b/packages/google-cloud-contactcenterinsights/.OwlBot.yaml
new file mode 100644
index 00000000000..770d5b8c7ab
--- /dev/null
+++ b/packages/google-cloud-contactcenterinsights/.OwlBot.yaml
@@ -0,0 +1,20 @@
+# Copyright 2021 Google LLC
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+deep-remove-regex:
+ - /owl-bot-staging
+
+deep-copy-regex:
+ - source: /google/cloud/contactcenterinsights/(.*)/.*-nodejs
+ dest: /owl-bot-staging/google-cloud-contactcenterinsights/$1
diff --git a/packages/google-cloud-contactcenterinsights/.eslintignore b/packages/google-cloud-contactcenterinsights/.eslintignore
new file mode 100644
index 00000000000..ea5b04aebe6
--- /dev/null
+++ b/packages/google-cloud-contactcenterinsights/.eslintignore
@@ -0,0 +1,7 @@
+**/node_modules
+**/coverage
+test/fixtures
+build/
+docs/
+protos/
+samples/generated/
diff --git a/packages/google-cloud-contactcenterinsights/.eslintrc.json b/packages/google-cloud-contactcenterinsights/.eslintrc.json
new file mode 100644
index 00000000000..78215349546
--- /dev/null
+++ b/packages/google-cloud-contactcenterinsights/.eslintrc.json
@@ -0,0 +1,3 @@
+{
+ "extends": "./node_modules/gts"
+}
diff --git a/packages/google-cloud-contactcenterinsights/.gitattributes b/packages/google-cloud-contactcenterinsights/.gitattributes
new file mode 100644
index 00000000000..33739cb74e4
--- /dev/null
+++ b/packages/google-cloud-contactcenterinsights/.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-contactcenterinsights/.gitignore b/packages/google-cloud-contactcenterinsights/.gitignore
new file mode 100644
index 00000000000..5d32b23782f
--- /dev/null
+++ b/packages/google-cloud-contactcenterinsights/.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-contactcenterinsights/.jsdoc.js b/packages/google-cloud-contactcenterinsights/.jsdoc.js
new file mode 100644
index 00000000000..176aa3b31d0
--- /dev/null
+++ b/packages/google-cloud-contactcenterinsights/.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/contact-center-insights',
+ theme: 'lumen',
+ default: {
+ outputSourceFiles: false
+ }
+ },
+ markdown: {
+ idInHeadings: true
+ }
+};
diff --git a/packages/google-cloud-contactcenterinsights/.mocharc.js b/packages/google-cloud-contactcenterinsights/.mocharc.js
new file mode 100644
index 00000000000..cdb7b752160
--- /dev/null
+++ b/packages/google-cloud-contactcenterinsights/.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-contactcenterinsights/.nycrc b/packages/google-cloud-contactcenterinsights/.nycrc
new file mode 100644
index 00000000000..b18d5472b62
--- /dev/null
+++ b/packages/google-cloud-contactcenterinsights/.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-contactcenterinsights/.prettierignore b/packages/google-cloud-contactcenterinsights/.prettierignore
new file mode 100644
index 00000000000..9340ad9b86d
--- /dev/null
+++ b/packages/google-cloud-contactcenterinsights/.prettierignore
@@ -0,0 +1,6 @@
+**/node_modules
+**/coverage
+test/fixtures
+build/
+docs/
+protos/
diff --git a/packages/google-cloud-contactcenterinsights/.prettierrc.js b/packages/google-cloud-contactcenterinsights/.prettierrc.js
new file mode 100644
index 00000000000..d546a4ad546
--- /dev/null
+++ b/packages/google-cloud-contactcenterinsights/.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-contactcenterinsights/.repo-metadata.json b/packages/google-cloud-contactcenterinsights/.repo-metadata.json
new file mode 100644
index 00000000000..5db4eac43e5
--- /dev/null
+++ b/packages/google-cloud-contactcenterinsights/.repo-metadata.json
@@ -0,0 +1,17 @@
+{
+ "name": "contactcenterinsights",
+ "name_pretty": "Contact Center AI Insights API",
+ "product_documentation": "https://cloud.google.com/solutions/contact-center",
+ "client_documentation": "https://cloud.google.com/nodejs/docs/reference/contact-center-insights/latest",
+ "issue_tracker": "https://github.com/googleapis/google-cloud-node/issues",
+ "release_level": "stable",
+ "language": "nodejs",
+ "repo": "googleapis/google-cloud-node",
+ "distribution_name": "@google-cloud/contact-center-insights",
+ "api_id": "contactcenterinsights.googleapis.com",
+ "default_version": "v1",
+ "requires_billing": true,
+ "codeowner_team": "@googleapis/api-contact-center-insights",
+ "api_shortname": "contactcenterinsights",
+ "library_type": "GAPIC_AUTO"
+}
diff --git a/packages/google-cloud-contactcenterinsights/CHANGELOG.md b/packages/google-cloud-contactcenterinsights/CHANGELOG.md
new file mode 100644
index 00000000000..c8cfbc47e3a
--- /dev/null
+++ b/packages/google-cloud-contactcenterinsights/CHANGELOG.md
@@ -0,0 +1,175 @@
+# Changelog
+
+## [2.1.2](https://github.com/googleapis/nodejs-contact-center-insights/compare/v2.1.1...v2.1.2) (2022-11-11)
+
+
+### Bug Fixes
+
+* **deps:** Use google-gax v3.5.2 ([#162](https://github.com/googleapis/nodejs-contact-center-insights/issues/162)) ([06d86b1](https://github.com/googleapis/nodejs-contact-center-insights/commit/06d86b138f000bcd5a3d0f909bff35c9d791420d))
+* Preserve default values in x-goog-request-params header ([#143](https://github.com/googleapis/nodejs-contact-center-insights/issues/143)) ([2ad9483](https://github.com/googleapis/nodejs-contact-center-insights/commit/2ad948341bab9ad17955c2186d9f72a82d22bc98))
+* Regenerated protos JS and TS definitions ([#165](https://github.com/googleapis/nodejs-contact-center-insights/issues/165)) ([7761efb](https://github.com/googleapis/nodejs-contact-center-insights/commit/7761efb115713545cb9f0a44983b207ca6ccedb0))
+
+## [2.1.1](https://github.com/googleapis/nodejs-contact-center-insights/compare/v2.1.0...v2.1.1) (2022-09-01)
+
+
+### Bug Fixes
+
+* Allow passing gax instance to client constructor ([#137](https://github.com/googleapis/nodejs-contact-center-insights/issues/137)) ([c8d6ba2](https://github.com/googleapis/nodejs-contact-center-insights/commit/c8d6ba2cc240282a36ef6290aa88d0386f6aca21))
+* Change import long to require ([#138](https://github.com/googleapis/nodejs-contact-center-insights/issues/138)) ([79afe96](https://github.com/googleapis/nodejs-contact-center-insights/commit/79afe96953727b9443d677ec89458394c643eced))
+* Do not import the whole google-gax from proto JS ([#1553](https://github.com/googleapis/nodejs-contact-center-insights/issues/1553)) ([#141](https://github.com/googleapis/nodejs-contact-center-insights/issues/141)) ([65dd78d](https://github.com/googleapis/nodejs-contact-center-insights/commit/65dd78d2c1b3e9cca5e241e20774f6764c487963))
+* Remove pip install statements ([#1546](https://github.com/googleapis/nodejs-contact-center-insights/issues/1546)) ([#140](https://github.com/googleapis/nodejs-contact-center-insights/issues/140)) ([d0e4fd5](https://github.com/googleapis/nodejs-contact-center-insights/commit/d0e4fd5223896f029a1a5dd21fc71aab812a7122))
+
+## [2.1.0](https://github.com/googleapis/nodejs-contact-center-insights/compare/v2.0.1...v2.1.0) (2022-07-05)
+
+
+### Features
+
+* add LRO to API list ([3676403](https://github.com/googleapis/nodejs-contact-center-insights/commit/36764038e82fdb7a383fa697c8764ee7ccb19853))
+
+## [2.0.1](https://github.com/googleapis/nodejs-contact-center-insights/compare/v2.0.0...v2.0.1) (2022-06-07)
+
+
+### Bug Fixes
+
+* **deps:** update dependency @google-cloud/bigquery to v6 ([#127](https://github.com/googleapis/nodejs-contact-center-insights/issues/127)) ([9220f45](https://github.com/googleapis/nodejs-contact-center-insights/commit/9220f45cad762190ac63c2ae4470fc030d0e7f1b))
+* **deps:** update dependency @google-cloud/pubsub to v3 ([#126](https://github.com/googleapis/nodejs-contact-center-insights/issues/126)) ([646b35d](https://github.com/googleapis/nodejs-contact-center-insights/commit/646b35d2bcbb730d5e9c57c43d805c48f86efd44))
+
+## [2.0.0](https://github.com/googleapis/nodejs-contact-center-insights/compare/v1.11.0...v2.0.0) (2022-05-12)
+
+
+### ⚠ BREAKING CHANGES
+
+* update library to use Node 12 (#122)
+
+### Build System
+
+* update library to use Node 12 ([#122](https://github.com/googleapis/nodejs-contact-center-insights/issues/122)) ([e5e62df](https://github.com/googleapis/nodejs-contact-center-insights/commit/e5e62dfe5f3fe1cc7a5de02f8a997f84e496f4da))
+
+## [1.11.0](https://github.com/googleapis/nodejs-contact-center-insights/compare/v1.10.0...v1.11.0) (2022-03-23)
+
+
+### Features
+
+* promote to stable ([#106](https://github.com/googleapis/nodejs-contact-center-insights/issues/106)) ([0c3b5f9](https://github.com/googleapis/nodejs-contact-center-insights/commit/0c3b5f9c1b0e94a2a6b06aef2b3b209293160773)), closes [#7](https://github.com/googleapis/nodejs-contact-center-insights/issues/7)
+
+## [1.10.0](https://github.com/googleapis/nodejs-contact-center-insights/compare/v1.9.0...v1.10.0) (2022-01-20)
+
+
+### Features
+
+* new API for the View resource ([#89](https://github.com/googleapis/nodejs-contact-center-insights/issues/89)) ([8aa89e5](https://github.com/googleapis/nodejs-contact-center-insights/commit/8aa89e539651b0fc3ae573be3cdbe95f7c6bb8d3))
+
+## [1.9.0](https://www.github.com/googleapis/nodejs-contact-center-insights/compare/v1.8.0...v1.9.0) (2021-12-03)
+
+
+### Features
+
+* Add WriteDisposition to BigQuery Export API ([#80](https://www.github.com/googleapis/nodejs-contact-center-insights/issues/80)) ([3f19a63](https://www.github.com/googleapis/nodejs-contact-center-insights/commit/3f19a63fc121ab3ba94661755f62a3f9ae855913))
+* remove feature flag disable_issue_modeling ([#78](https://www.github.com/googleapis/nodejs-contact-center-insights/issues/78)) ([594fc6d](https://www.github.com/googleapis/nodejs-contact-center-insights/commit/594fc6d150cca28f8d4b2230a705b56cd65d156d))
+
+## [1.8.0](https://www.github.com/googleapis/nodejs-contact-center-insights/compare/v1.7.0...v1.8.0) (2021-11-08)
+
+
+### Features
+
+* Add ability to update phrase matchers feat: Add issue model stats to time series feat: Add display name to issue model stats ([#74](https://www.github.com/googleapis/nodejs-contact-center-insights/issues/74)) ([2b9db34](https://www.github.com/googleapis/nodejs-contact-center-insights/commit/2b9db341f3d999762a5f7a79ff179854eb8fbd05))
+
+## [1.7.0](https://www.github.com/googleapis/nodejs-contact-center-insights/compare/v1.6.0...v1.7.0) (2021-10-01)
+
+
+### Features
+
+* deprecate issue_matches docs: if conversation medium is unspecified, it will default to PHONE_CALL ([#68](https://www.github.com/googleapis/nodejs-contact-center-insights/issues/68)) ([44c03e9](https://www.github.com/googleapis/nodejs-contact-center-insights/commit/44c03e9540e6eaea24f0ad02a0479042e623ef53))
+
+## [1.6.0](https://www.github.com/googleapis/nodejs-contact-center-insights/compare/v1.5.0...v1.6.0) (2021-09-28)
+
+
+### Features
+
+* add metadata from dialogflow related to transcript segment, sentiment data for transcript segment ([#64](https://www.github.com/googleapis/nodejs-contact-center-insights/issues/64)) ([982dbab](https://www.github.com/googleapis/nodejs-contact-center-insights/commit/982dbabf513655e59c52cc05c41f172f06495c1e))
+
+## [1.5.0](https://www.github.com/googleapis/nodejs-contact-center-insights/compare/v1.4.0...v1.5.0) (2021-09-20)
+
+
+### Features
+
+* filter is used to filter conversations used for issue model training feat: update_time is used to indicate when the phrase matcher was updated ([#55](https://www.github.com/googleapis/nodejs-contact-center-insights/issues/55)) ([08f13b4](https://www.github.com/googleapis/nodejs-contact-center-insights/commit/08f13b4c54d18a6ea6f0f7192a75ef73583f26e8))
+
+## [1.4.0](https://www.github.com/googleapis/nodejs-contact-center-insights/compare/v1.3.0...v1.4.0) (2021-08-27)
+
+
+### Features
+
+* display_name is the display name for the assigned issue ([#39](https://www.github.com/googleapis/nodejs-contact-center-insights/issues/39)) ([69697c8](https://www.github.com/googleapis/nodejs-contact-center-insights/commit/69697c87771b20feb648293ad2cef1a67dd96ce2))
+
+## [1.3.0](https://www.github.com/googleapis/nodejs-contact-center-insights/compare/v1.2.1...v1.3.0) (2021-08-23)
+
+
+### Features
+
+* turns on self-signed JWT feature flag ([#35](https://www.github.com/googleapis/nodejs-contact-center-insights/issues/35)) ([3389497](https://www.github.com/googleapis/nodejs-contact-center-insights/commit/3389497d25bf515b64b8df9e926ce9170c98f8a0))
+
+### [1.2.1](https://www.github.com/googleapis/nodejs-contact-center-insights/compare/v1.2.0...v1.2.1) (2021-08-17)
+
+
+### Bug Fixes
+
+* **build:** migrate to using main branch ([#28](https://www.github.com/googleapis/nodejs-contact-center-insights/issues/28)) ([137533f](https://www.github.com/googleapis/nodejs-contact-center-insights/commit/137533f0f3ce60dc0cb9edc4c690063c853ade0b))
+* **deps:** google-gax v2.24.1 ([#30](https://www.github.com/googleapis/nodejs-contact-center-insights/issues/30)) ([e3ac1ff](https://www.github.com/googleapis/nodejs-contact-center-insights/commit/e3ac1ff60bf3c4921ef9a9f103e236c7d513cdab))
+
+## [1.2.0](https://www.github.com/googleapis/nodejs-contact-center-insights/compare/v1.1.0...v1.2.0) (2021-08-11)
+
+
+### Features
+
+* add new issue model API methods ([b73f2e9](https://www.github.com/googleapis/nodejs-contact-center-insights/commit/b73f2e93ddb572519685190643c1f02174813658))
+* support Dialogflow and user-specified participant IDs ([b73f2e9](https://www.github.com/googleapis/nodejs-contact-center-insights/commit/b73f2e93ddb572519685190643c1f02174813658))
+
+## [1.1.0](https://www.github.com/googleapis/nodejs-contact-center-insights/compare/v1.0.2...v1.1.0) (2021-07-30)
+
+
+### Features
+
+* update CCAI Insights protos. change nesting of Conversation.Transcript.Participant to ConversationParticipant and remove AnnotationBoundary.time_offset ([#19](https://www.github.com/googleapis/nodejs-contact-center-insights/issues/19)) ([7501a27](https://www.github.com/googleapis/nodejs-contact-center-insights/commit/7501a276f8159fb7fdc21aad1a19d108fde61c8a))
+
+### [1.0.2](https://www.github.com/googleapis/nodejs-contact-center-insights/compare/v1.0.1...v1.0.2) (2021-07-22)
+
+
+### Bug Fixes
+
+* Updating WORKSPACE files to use the newest version of the Typescript generator ([412f847](https://www.github.com/googleapis/nodejs-contact-center-insights/commit/412f8476941e3e78c9e1bb3f1395ce7acfd3e2a8))
+
+### [1.0.1](https://www.github.com/googleapis/nodejs-contact-center-insights/compare/v1.0.0...v1.0.1) (2021-07-12)
+
+
+### Bug Fixes
+
+* **deps:** google-gax v2.17.1 ([#11](https://www.github.com/googleapis/nodejs-contact-center-insights/issues/11)) ([27ad1af](https://www.github.com/googleapis/nodejs-contact-center-insights/commit/27ad1af2a8daed27b3f391003c64ad57239cbe52))
+
+## 1.0.0 (2021-07-01)
+
+
+### Features
+
+* add initial samples ([#2](https://www.github.com/googleapis/nodejs-contact-center-insights/issues/2)) ([5e1fb71](https://www.github.com/googleapis/nodejs-contact-center-insights/commit/5e1fb71f5d062bae414791b9d314c8c73b09b290))
+* initial generation of templated files ([17259ab](https://www.github.com/googleapis/nodejs-contact-center-insights/commit/17259ab8f027237f58bfbbe989916898375e2001))
+* initial stub of library ([d6b9355](https://www.github.com/googleapis/nodejs-contact-center-insights/commit/d6b9355d0a070e06bda7d88e5887201380a5fb30))
+
+
+### Bug Fixes
+
+* **deps:** require google-gax v2.17.0 ([#6](https://www.github.com/googleapis/nodejs-contact-center-insights/issues/6)) ([ad2fa0d](https://www.github.com/googleapis/nodejs-contact-center-insights/commit/ad2fa0d1faab922e489c7c7cfc5efa1439609d60))
+
+## 1.0.0 (2021-07-01)
+
+
+### Features
+
+* add initial samples ([#2](https://www.github.com/googleapis/nodejs-contact-center-insights/issues/2)) ([5e1fb71](https://www.github.com/googleapis/nodejs-contact-center-insights/commit/5e1fb71f5d062bae414791b9d314c8c73b09b290))
+* initial generation of templated files ([17259ab](https://www.github.com/googleapis/nodejs-contact-center-insights/commit/17259ab8f027237f58bfbbe989916898375e2001))
+* initial stub of library ([d6b9355](https://www.github.com/googleapis/nodejs-contact-center-insights/commit/d6b9355d0a070e06bda7d88e5887201380a5fb30))
+
+
+### Bug Fixes
+
+* **deps:** require google-gax v2.17.0 ([#6](https://www.github.com/googleapis/nodejs-contact-center-insights/issues/6)) ([ad2fa0d](https://www.github.com/googleapis/nodejs-contact-center-insights/commit/ad2fa0d1faab922e489c7c7cfc5efa1439609d60))
diff --git a/packages/google-cloud-contactcenterinsights/CODE_OF_CONDUCT.md b/packages/google-cloud-contactcenterinsights/CODE_OF_CONDUCT.md
new file mode 100644
index 00000000000..2add2547a81
--- /dev/null
+++ b/packages/google-cloud-contactcenterinsights/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-contactcenterinsights/CONTRIBUTING.md b/packages/google-cloud-contactcenterinsights/CONTRIBUTING.md
new file mode 100644
index 00000000000..8363288fd73
--- /dev/null
+++ b/packages/google-cloud-contactcenterinsights/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 Contact Center AI Insights API 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=contactcenterinsights.googleapis.com
+[auth]: https://cloud.google.com/docs/authentication/getting-started
\ No newline at end of file
diff --git a/packages/google-cloud-contactcenterinsights/LICENSE b/packages/google-cloud-contactcenterinsights/LICENSE
new file mode 100644
index 00000000000..d6456956733
--- /dev/null
+++ b/packages/google-cloud-contactcenterinsights/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-contactcenterinsights/README.md b/packages/google-cloud-contactcenterinsights/README.md
new file mode 100644
index 00000000000..b8683873c39
--- /dev/null
+++ b/packages/google-cloud-contactcenterinsights/README.md
@@ -0,0 +1,195 @@
+[//]: # "This README.md file is auto-generated, all changes to this file will be lost."
+[//]: # "To regenerate it, use `python -m synthtool`."
+
+
+# [Contact Center AI Insights API: Node.js Client](https://github.com/googleapis/google-cloud-node)
+
+[![release level](https://img.shields.io/badge/release%20level-stable-brightgreen.svg?style=flat)](https://cloud.google.com/terms/launch-stages)
+[![npm version](https://img.shields.io/npm/v/@google-cloud/contact-center-insights.svg)](https://www.npmjs.org/package/@google-cloud/contact-center-insights)
+
+
+
+
+contactcenterinsights 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-contactcenterinsights/CHANGELOG.md).
+
+* [Contact Center AI Insights API Node.js Client API Reference][client-docs]
+* [Contact Center AI Insights API Documentation][product-docs]
+* [github.com/googleapis/google-cloud-node/packages/google-cloud-contactcenterinsights](https://github.com/googleapis/google-cloud-node/tree/main/packages/google-cloud-contactcenterinsights)
+
+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 Contact Center AI Insights API 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/contact-center-insights
+```
+
+
+### Using the client library
+
+```javascript
+// Imports the Google Cloud client library
+
+const {
+ ContactCenterInsightsClient,
+} = require('@google-cloud/contact-center-insights');
+
+// TODO(developer): replace with your prefered project ID.
+// const projectId = 'my-project'
+
+const client = new ContactCenterInsightsClient();
+
+//TODO(library generator): write the actual function you will be testing
+async function listConversations() {
+ const conversations = await client.listConversations({
+ parent: `projects/${projectId}/locations/${location}`,
+ });
+ console.info(conversations);
+}
+listConversations();
+
+```
+
+
+
+## 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 |
+| --------------------------- | --------------------------------- | ------ |
+| Contact_center_insights.calculate_issue_model_stats | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-contactcenterinsights/samples/generated/v1/contact_center_insights.calculate_issue_model_stats.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-contactcenterinsights/samples/generated/v1/contact_center_insights.calculate_issue_model_stats.js,samples/README.md) |
+| Contact_center_insights.calculate_stats | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-contactcenterinsights/samples/generated/v1/contact_center_insights.calculate_stats.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-contactcenterinsights/samples/generated/v1/contact_center_insights.calculate_stats.js,samples/README.md) |
+| Contact_center_insights.create_analysis | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-contactcenterinsights/samples/generated/v1/contact_center_insights.create_analysis.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-contactcenterinsights/samples/generated/v1/contact_center_insights.create_analysis.js,samples/README.md) |
+| Contact_center_insights.create_conversation | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-contactcenterinsights/samples/generated/v1/contact_center_insights.create_conversation.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-contactcenterinsights/samples/generated/v1/contact_center_insights.create_conversation.js,samples/README.md) |
+| Contact_center_insights.create_issue_model | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-contactcenterinsights/samples/generated/v1/contact_center_insights.create_issue_model.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-contactcenterinsights/samples/generated/v1/contact_center_insights.create_issue_model.js,samples/README.md) |
+| Contact_center_insights.create_phrase_matcher | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-contactcenterinsights/samples/generated/v1/contact_center_insights.create_phrase_matcher.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-contactcenterinsights/samples/generated/v1/contact_center_insights.create_phrase_matcher.js,samples/README.md) |
+| Contact_center_insights.create_view | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-contactcenterinsights/samples/generated/v1/contact_center_insights.create_view.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-contactcenterinsights/samples/generated/v1/contact_center_insights.create_view.js,samples/README.md) |
+| Contact_center_insights.delete_analysis | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-contactcenterinsights/samples/generated/v1/contact_center_insights.delete_analysis.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-contactcenterinsights/samples/generated/v1/contact_center_insights.delete_analysis.js,samples/README.md) |
+| Contact_center_insights.delete_conversation | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-contactcenterinsights/samples/generated/v1/contact_center_insights.delete_conversation.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-contactcenterinsights/samples/generated/v1/contact_center_insights.delete_conversation.js,samples/README.md) |
+| Contact_center_insights.delete_issue_model | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-contactcenterinsights/samples/generated/v1/contact_center_insights.delete_issue_model.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-contactcenterinsights/samples/generated/v1/contact_center_insights.delete_issue_model.js,samples/README.md) |
+| Contact_center_insights.delete_phrase_matcher | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-contactcenterinsights/samples/generated/v1/contact_center_insights.delete_phrase_matcher.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-contactcenterinsights/samples/generated/v1/contact_center_insights.delete_phrase_matcher.js,samples/README.md) |
+| Contact_center_insights.delete_view | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-contactcenterinsights/samples/generated/v1/contact_center_insights.delete_view.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-contactcenterinsights/samples/generated/v1/contact_center_insights.delete_view.js,samples/README.md) |
+| Contact_center_insights.deploy_issue_model | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-contactcenterinsights/samples/generated/v1/contact_center_insights.deploy_issue_model.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-contactcenterinsights/samples/generated/v1/contact_center_insights.deploy_issue_model.js,samples/README.md) |
+| Contact_center_insights.export_insights_data | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-contactcenterinsights/samples/generated/v1/contact_center_insights.export_insights_data.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-contactcenterinsights/samples/generated/v1/contact_center_insights.export_insights_data.js,samples/README.md) |
+| Contact_center_insights.get_analysis | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-contactcenterinsights/samples/generated/v1/contact_center_insights.get_analysis.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-contactcenterinsights/samples/generated/v1/contact_center_insights.get_analysis.js,samples/README.md) |
+| Contact_center_insights.get_conversation | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-contactcenterinsights/samples/generated/v1/contact_center_insights.get_conversation.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-contactcenterinsights/samples/generated/v1/contact_center_insights.get_conversation.js,samples/README.md) |
+| Contact_center_insights.get_issue | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-contactcenterinsights/samples/generated/v1/contact_center_insights.get_issue.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-contactcenterinsights/samples/generated/v1/contact_center_insights.get_issue.js,samples/README.md) |
+| Contact_center_insights.get_issue_model | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-contactcenterinsights/samples/generated/v1/contact_center_insights.get_issue_model.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-contactcenterinsights/samples/generated/v1/contact_center_insights.get_issue_model.js,samples/README.md) |
+| Contact_center_insights.get_phrase_matcher | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-contactcenterinsights/samples/generated/v1/contact_center_insights.get_phrase_matcher.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-contactcenterinsights/samples/generated/v1/contact_center_insights.get_phrase_matcher.js,samples/README.md) |
+| Contact_center_insights.get_settings | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-contactcenterinsights/samples/generated/v1/contact_center_insights.get_settings.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-contactcenterinsights/samples/generated/v1/contact_center_insights.get_settings.js,samples/README.md) |
+| Contact_center_insights.get_view | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-contactcenterinsights/samples/generated/v1/contact_center_insights.get_view.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-contactcenterinsights/samples/generated/v1/contact_center_insights.get_view.js,samples/README.md) |
+| Contact_center_insights.list_analyses | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-contactcenterinsights/samples/generated/v1/contact_center_insights.list_analyses.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-contactcenterinsights/samples/generated/v1/contact_center_insights.list_analyses.js,samples/README.md) |
+| Contact_center_insights.list_conversations | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-contactcenterinsights/samples/generated/v1/contact_center_insights.list_conversations.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-contactcenterinsights/samples/generated/v1/contact_center_insights.list_conversations.js,samples/README.md) |
+| Contact_center_insights.list_issue_models | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-contactcenterinsights/samples/generated/v1/contact_center_insights.list_issue_models.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-contactcenterinsights/samples/generated/v1/contact_center_insights.list_issue_models.js,samples/README.md) |
+| Contact_center_insights.list_issues | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-contactcenterinsights/samples/generated/v1/contact_center_insights.list_issues.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-contactcenterinsights/samples/generated/v1/contact_center_insights.list_issues.js,samples/README.md) |
+| Contact_center_insights.list_phrase_matchers | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-contactcenterinsights/samples/generated/v1/contact_center_insights.list_phrase_matchers.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-contactcenterinsights/samples/generated/v1/contact_center_insights.list_phrase_matchers.js,samples/README.md) |
+| Contact_center_insights.list_views | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-contactcenterinsights/samples/generated/v1/contact_center_insights.list_views.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-contactcenterinsights/samples/generated/v1/contact_center_insights.list_views.js,samples/README.md) |
+| Contact_center_insights.undeploy_issue_model | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-contactcenterinsights/samples/generated/v1/contact_center_insights.undeploy_issue_model.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-contactcenterinsights/samples/generated/v1/contact_center_insights.undeploy_issue_model.js,samples/README.md) |
+| Contact_center_insights.update_conversation | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-contactcenterinsights/samples/generated/v1/contact_center_insights.update_conversation.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-contactcenterinsights/samples/generated/v1/contact_center_insights.update_conversation.js,samples/README.md) |
+| Contact_center_insights.update_issue | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-contactcenterinsights/samples/generated/v1/contact_center_insights.update_issue.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-contactcenterinsights/samples/generated/v1/contact_center_insights.update_issue.js,samples/README.md) |
+| Contact_center_insights.update_issue_model | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-contactcenterinsights/samples/generated/v1/contact_center_insights.update_issue_model.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-contactcenterinsights/samples/generated/v1/contact_center_insights.update_issue_model.js,samples/README.md) |
+| Contact_center_insights.update_phrase_matcher | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-contactcenterinsights/samples/generated/v1/contact_center_insights.update_phrase_matcher.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-contactcenterinsights/samples/generated/v1/contact_center_insights.update_phrase_matcher.js,samples/README.md) |
+| Contact_center_insights.update_settings | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-contactcenterinsights/samples/generated/v1/contact_center_insights.update_settings.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-contactcenterinsights/samples/generated/v1/contact_center_insights.update_settings.js,samples/README.md) |
+| Contact_center_insights.update_view | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-contactcenterinsights/samples/generated/v1/contact_center_insights.update_view.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-contactcenterinsights/samples/generated/v1/contact_center_insights.update_view.js,samples/README.md) |
+| Quickstart | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-contactcenterinsights/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-contactcenterinsights/samples/quickstart.js,samples/README.md) |
+| Quickstart | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-contactcenterinsights/samples/test/quickstart.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-contactcenterinsights/samples/test/quickstart.js,samples/README.md) |
+
+
+
+The [Contact Center AI Insights API 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/contact-center-insights@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/contact-center-insights/latest
+[product-docs]: https://cloud.google.com/solutions/contact-center
+[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=contactcenterinsights.googleapis.com
+[auth]: https://cloud.google.com/docs/authentication/getting-started
diff --git a/packages/google-cloud-contactcenterinsights/linkinator.config.json b/packages/google-cloud-contactcenterinsights/linkinator.config.json
new file mode 100644
index 00000000000..befd23c8633
--- /dev/null
+++ b/packages/google-cloud-contactcenterinsights/linkinator.config.json
@@ -0,0 +1,16 @@
+{
+ "recurse": true,
+ "skip": [
+ "https://codecov.io/gh/googleapis/",
+ "www.googleapis.com",
+ "img.shields.io",
+ "https://console.cloud.google.com/cloudshell",
+ "https://support.google.com"
+ ],
+ "silent": true,
+ "concurrency": 5,
+ "retry": true,
+ "retryErrors": true,
+ "retryErrorsCount": 5,
+ "retryErrorsJitter": 3000
+}
diff --git a/packages/google-cloud-contactcenterinsights/package.json b/packages/google-cloud-contactcenterinsights/package.json
new file mode 100644
index 00000000000..05c1596a0ad
--- /dev/null
+++ b/packages/google-cloud-contactcenterinsights/package.json
@@ -0,0 +1,71 @@
+{
+ "name": "@google-cloud/contact-center-insights",
+ "version": "2.1.2",
+ "description": "contactcenterinsights client for Node.js",
+ "repository": {
+ "type": "git",
+ "directory": "packages/google-cloud-contactcenterinsights",
+ "url": "https://github.com/googleapis/google-cloud-node.git"
+ },
+ "license": "Apache-2.0",
+ "author": "Google LLC",
+ "main": "build/src/index.js",
+ "files": [
+ "build/src",
+ "build/protos"
+ ],
+ "keywords": [
+ "google apis client",
+ "google api client",
+ "google apis",
+ "google api",
+ "google",
+ "google cloud platform",
+ "google cloud",
+ "cloud",
+ "google contactcenterinsights",
+ "contactcenterinsights",
+ "contactcenterinsights service"
+ ],
+ "scripts": {
+ "clean": "gts clean",
+ "compile": "tsc -p . && cp -r protos build/",
+ "compile-protos": "compileProtos src",
+ "docs": "jsdoc -c .jsdoc.js",
+ "predocs-test": "npm run docs",
+ "docs-test": "linkinator docs",
+ "fix": "gts fix",
+ "lint": "gts check",
+ "prepare": "npm run compile-protos && npm run compile",
+ "system-test": "npm run compile && c8 mocha build/system-test",
+ "test": "c8 mocha build/test",
+ "samples-test": "npm run compile && cd samples/ && npm link ../ && npm i && npm test",
+ "prelint": "cd samples; npm link ../; npm i"
+ },
+ "dependencies": {
+ "google-gax": "^3.5.2"
+ },
+ "devDependencies": {
+ "@types/mocha": "^9.0.0",
+ "@types/node": "^18.0.0",
+ "@types/sinon": "^10.0.0",
+ "c8": "^7.7.2",
+ "gts": "^3.1.0",
+ "jsdoc": "^4.0.0",
+ "jsdoc-fresh": "^2.0.0",
+ "jsdoc-region-tag": "^2.0.0",
+ "linkinator": "^4.0.0",
+ "mocha": "^9.2.2",
+ "null-loader": "^4.0.1",
+ "pack-n-play": "^1.0.0-2",
+ "sinon": "^14.0.0",
+ "ts-loader": "^9.1.2",
+ "typescript": "^4.6.4",
+ "webpack": "^5.36.2",
+ "webpack-cli": "^4.7.0"
+ },
+ "engines": {
+ "node": ">=12.0.0"
+ },
+ "homepage": "https://github.com/googleapis/google-cloud-node/tree/main/packages/google-cloud-contactcenterinsights"
+}
diff --git a/packages/google-cloud-contactcenterinsights/protos/google/cloud/contactcenterinsights/v1/contact_center_insights.proto b/packages/google-cloud-contactcenterinsights/protos/google/cloud/contactcenterinsights/v1/contact_center_insights.proto
new file mode 100644
index 00000000000..c5956b93f16
--- /dev/null
+++ b/packages/google-cloud-contactcenterinsights/protos/google/cloud/contactcenterinsights/v1/contact_center_insights.proto
@@ -0,0 +1,1094 @@
+// 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.contactcenterinsights.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/contactcenterinsights/v1/resources.proto";
+import "google/longrunning/operations.proto";
+import "google/protobuf/duration.proto";
+import "google/protobuf/empty.proto";
+import "google/protobuf/field_mask.proto";
+import "google/protobuf/timestamp.proto";
+import "google/rpc/status.proto";
+
+option csharp_namespace = "Google.Cloud.ContactCenterInsights.V1";
+option go_package = "google.golang.org/genproto/googleapis/cloud/contactcenterinsights/v1;contactcenterinsights";
+option java_multiple_files = true;
+option java_outer_classname = "ContactCenterInsightsProto";
+option java_package = "com.google.cloud.contactcenterinsights.v1";
+option php_namespace = "Google\\Cloud\\ContactCenterInsights\\V1";
+option ruby_package = "Google::Cloud::ContactCenterInsights::V1";
+
+// An API that lets users analyze and explore their business conversation data.
+service ContactCenterInsights {
+ option (google.api.default_host) = "contactcenterinsights.googleapis.com";
+ option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/cloud-platform";
+
+ // Creates a conversation.
+ rpc CreateConversation(CreateConversationRequest) returns (Conversation) {
+ option (google.api.http) = {
+ post: "/v1/{parent=projects/*/locations/*}/conversations"
+ body: "conversation"
+ };
+ option (google.api.method_signature) = "parent,conversation,conversation_id";
+ }
+
+ // Updates a conversation.
+ rpc UpdateConversation(UpdateConversationRequest) returns (Conversation) {
+ option (google.api.http) = {
+ patch: "/v1/{conversation.name=projects/*/locations/*/conversations/*}"
+ body: "conversation"
+ };
+ option (google.api.method_signature) = "conversation,update_mask";
+ }
+
+ // Gets a conversation.
+ rpc GetConversation(GetConversationRequest) returns (Conversation) {
+ option (google.api.http) = {
+ get: "/v1/{name=projects/*/locations/*/conversations/*}"
+ };
+ option (google.api.method_signature) = "name";
+ }
+
+ // Lists conversations.
+ rpc ListConversations(ListConversationsRequest) returns (ListConversationsResponse) {
+ option (google.api.http) = {
+ get: "/v1/{parent=projects/*/locations/*}/conversations"
+ };
+ option (google.api.method_signature) = "parent";
+ }
+
+ // Deletes a conversation.
+ rpc DeleteConversation(DeleteConversationRequest) returns (google.protobuf.Empty) {
+ option (google.api.http) = {
+ delete: "/v1/{name=projects/*/locations/*/conversations/*}"
+ };
+ option (google.api.method_signature) = "name";
+ }
+
+ // Creates an analysis. The long running operation is done when the analysis
+ // has completed.
+ rpc CreateAnalysis(CreateAnalysisRequest) returns (google.longrunning.Operation) {
+ option (google.api.http) = {
+ post: "/v1/{parent=projects/*/locations/*/conversations/*}/analyses"
+ body: "analysis"
+ };
+ option (google.api.method_signature) = "parent,analysis";
+ option (google.longrunning.operation_info) = {
+ response_type: "Analysis"
+ metadata_type: "CreateAnalysisOperationMetadata"
+ };
+ }
+
+ // Gets an analysis.
+ rpc GetAnalysis(GetAnalysisRequest) returns (Analysis) {
+ option (google.api.http) = {
+ get: "/v1/{name=projects/*/locations/*/conversations/*/analyses/*}"
+ };
+ option (google.api.method_signature) = "name";
+ }
+
+ // Lists analyses.
+ rpc ListAnalyses(ListAnalysesRequest) returns (ListAnalysesResponse) {
+ option (google.api.http) = {
+ get: "/v1/{parent=projects/*/locations/*/conversations/*}/analyses"
+ };
+ option (google.api.method_signature) = "parent";
+ }
+
+ // Deletes an analysis.
+ rpc DeleteAnalysis(DeleteAnalysisRequest) returns (google.protobuf.Empty) {
+ option (google.api.http) = {
+ delete: "/v1/{name=projects/*/locations/*/conversations/*/analyses/*}"
+ };
+ option (google.api.method_signature) = "name";
+ }
+
+ // Export insights data to a destination defined in the request body.
+ rpc ExportInsightsData(ExportInsightsDataRequest) returns (google.longrunning.Operation) {
+ option (google.api.http) = {
+ post: "/v1/{parent=projects/*/locations/*}/insightsdata:export"
+ body: "*"
+ };
+ option (google.api.method_signature) = "parent";
+ option (google.longrunning.operation_info) = {
+ response_type: "ExportInsightsDataResponse"
+ metadata_type: "ExportInsightsDataMetadata"
+ };
+ }
+
+ // Creates an issue model.
+ rpc CreateIssueModel(CreateIssueModelRequest) returns (google.longrunning.Operation) {
+ option (google.api.http) = {
+ post: "/v1/{parent=projects/*/locations/*}/issueModels"
+ body: "issue_model"
+ };
+ option (google.api.method_signature) = "parent,issue_model";
+ option (google.longrunning.operation_info) = {
+ response_type: "IssueModel"
+ metadata_type: "CreateIssueModelMetadata"
+ };
+ }
+
+ // Updates an issue model.
+ rpc UpdateIssueModel(UpdateIssueModelRequest) returns (IssueModel) {
+ option (google.api.http) = {
+ patch: "/v1/{issue_model.name=projects/*/locations/*/issueModels/*}"
+ body: "issue_model"
+ };
+ option (google.api.method_signature) = "issue_model,update_mask";
+ }
+
+ // Gets an issue model.
+ rpc GetIssueModel(GetIssueModelRequest) returns (IssueModel) {
+ option (google.api.http) = {
+ get: "/v1/{name=projects/*/locations/*/issueModels/*}"
+ };
+ option (google.api.method_signature) = "name";
+ }
+
+ // Lists issue models.
+ rpc ListIssueModels(ListIssueModelsRequest) returns (ListIssueModelsResponse) {
+ option (google.api.http) = {
+ get: "/v1/{parent=projects/*/locations/*}/issueModels"
+ };
+ option (google.api.method_signature) = "parent";
+ }
+
+ // Deletes an issue model.
+ rpc DeleteIssueModel(DeleteIssueModelRequest) returns (google.longrunning.Operation) {
+ option (google.api.http) = {
+ delete: "/v1/{name=projects/*/locations/*/issueModels/*}"
+ };
+ option (google.api.method_signature) = "name";
+ option (google.longrunning.operation_info) = {
+ response_type: "google.protobuf.Empty"
+ metadata_type: "DeleteIssueModelMetadata"
+ };
+ }
+
+ // Deploys an issue model. Returns an error if a model is already deployed.
+ // An issue model can only be used in analysis after it has been deployed.
+ rpc DeployIssueModel(DeployIssueModelRequest) returns (google.longrunning.Operation) {
+ option (google.api.http) = {
+ post: "/v1/{name=projects/*/locations/*/issueModels/*}:deploy"
+ body: "*"
+ };
+ option (google.api.method_signature) = "name";
+ option (google.longrunning.operation_info) = {
+ response_type: "DeployIssueModelResponse"
+ metadata_type: "DeployIssueModelMetadata"
+ };
+ }
+
+ // Undeploys an issue model.
+ // An issue model can not be used in analysis after it has been undeployed.
+ rpc UndeployIssueModel(UndeployIssueModelRequest) returns (google.longrunning.Operation) {
+ option (google.api.http) = {
+ post: "/v1/{name=projects/*/locations/*/issueModels/*}:undeploy"
+ body: "*"
+ };
+ option (google.api.method_signature) = "name";
+ option (google.longrunning.operation_info) = {
+ response_type: "UndeployIssueModelResponse"
+ metadata_type: "UndeployIssueModelMetadata"
+ };
+ }
+
+ // Gets an issue.
+ rpc GetIssue(GetIssueRequest) returns (Issue) {
+ option (google.api.http) = {
+ get: "/v1/{name=projects/*/locations/*/issueModels/*/issues/*}"
+ };
+ option (google.api.method_signature) = "name";
+ }
+
+ // Lists issues.
+ rpc ListIssues(ListIssuesRequest) returns (ListIssuesResponse) {
+ option (google.api.http) = {
+ get: "/v1/{parent=projects/*/locations/*/issueModels/*}/issues"
+ };
+ option (google.api.method_signature) = "parent";
+ }
+
+ // Updates an issue.
+ rpc UpdateIssue(UpdateIssueRequest) returns (Issue) {
+ option (google.api.http) = {
+ patch: "/v1/{issue.name=projects/*/locations/*/issueModels/*/issues/*}"
+ body: "issue"
+ };
+ option (google.api.method_signature) = "issue,update_mask";
+ }
+
+ // Gets an issue model's statistics.
+ rpc CalculateIssueModelStats(CalculateIssueModelStatsRequest) returns (CalculateIssueModelStatsResponse) {
+ option (google.api.http) = {
+ get: "/v1/{issue_model=projects/*/locations/*/issueModels/*}:calculateIssueModelStats"
+ };
+ option (google.api.method_signature) = "issue_model";
+ }
+
+ // Creates a phrase matcher.
+ rpc CreatePhraseMatcher(CreatePhraseMatcherRequest) returns (PhraseMatcher) {
+ option (google.api.http) = {
+ post: "/v1/{parent=projects/*/locations/*}/phraseMatchers"
+ body: "phrase_matcher"
+ };
+ option (google.api.method_signature) = "parent,phrase_matcher";
+ }
+
+ // Gets a phrase matcher.
+ rpc GetPhraseMatcher(GetPhraseMatcherRequest) returns (PhraseMatcher) {
+ option (google.api.http) = {
+ get: "/v1/{name=projects/*/locations/*/phraseMatchers/*}"
+ };
+ option (google.api.method_signature) = "name";
+ }
+
+ // Lists phrase matchers.
+ rpc ListPhraseMatchers(ListPhraseMatchersRequest) returns (ListPhraseMatchersResponse) {
+ option (google.api.http) = {
+ get: "/v1/{parent=projects/*/locations/*}/phraseMatchers"
+ };
+ option (google.api.method_signature) = "parent";
+ }
+
+ // Deletes a phrase matcher.
+ rpc DeletePhraseMatcher(DeletePhraseMatcherRequest) returns (google.protobuf.Empty) {
+ option (google.api.http) = {
+ delete: "/v1/{name=projects/*/locations/*/phraseMatchers/*}"
+ };
+ option (google.api.method_signature) = "name";
+ }
+
+ // Updates a phrase matcher.
+ rpc UpdatePhraseMatcher(UpdatePhraseMatcherRequest) returns (PhraseMatcher) {
+ option (google.api.http) = {
+ patch: "/v1/{phrase_matcher.name=projects/*/locations/*/phraseMatchers/*}"
+ body: "phrase_matcher"
+ };
+ option (google.api.method_signature) = "phrase_matcher,update_mask";
+ }
+
+ // Gets conversation statistics.
+ rpc CalculateStats(CalculateStatsRequest) returns (CalculateStatsResponse) {
+ option (google.api.http) = {
+ get: "/v1/{location=projects/*/locations/*}/conversations:calculateStats"
+ };
+ option (google.api.method_signature) = "location";
+ }
+
+ // Gets project-level settings.
+ rpc GetSettings(GetSettingsRequest) returns (Settings) {
+ option (google.api.http) = {
+ get: "/v1/{name=projects/*/locations/*/settings}"
+ };
+ option (google.api.method_signature) = "name";
+ }
+
+ // Updates project-level settings.
+ rpc UpdateSettings(UpdateSettingsRequest) returns (Settings) {
+ option (google.api.http) = {
+ patch: "/v1/{settings.name=projects/*/locations/*/settings}"
+ body: "settings"
+ };
+ option (google.api.method_signature) = "settings,update_mask";
+ }
+
+ // Creates a view.
+ rpc CreateView(CreateViewRequest) returns (View) {
+ option (google.api.http) = {
+ post: "/v1/{parent=projects/*/locations/*}/views"
+ body: "view"
+ };
+ option (google.api.method_signature) = "parent,view";
+ }
+
+ // Gets a view.
+ rpc GetView(GetViewRequest) returns (View) {
+ option (google.api.http) = {
+ get: "/v1/{name=projects/*/locations/*/views/*}"
+ };
+ option (google.api.method_signature) = "name";
+ }
+
+ // Lists views.
+ rpc ListViews(ListViewsRequest) returns (ListViewsResponse) {
+ option (google.api.http) = {
+ get: "/v1/{parent=projects/*/locations/*}/views"
+ };
+ option (google.api.method_signature) = "parent";
+ }
+
+ // Updates a view.
+ rpc UpdateView(UpdateViewRequest) returns (View) {
+ option (google.api.http) = {
+ patch: "/v1/{view.name=projects/*/locations/*/views/*}"
+ body: "view"
+ };
+ option (google.api.method_signature) = "view,update_mask";
+ }
+
+ // Deletes a view.
+ rpc DeleteView(DeleteViewRequest) returns (google.protobuf.Empty) {
+ option (google.api.http) = {
+ delete: "/v1/{name=projects/*/locations/*/views/*}"
+ };
+ option (google.api.method_signature) = "name";
+ }
+}
+
+// Represents the options for viewing a conversation.
+enum ConversationView {
+ // The conversation view is not specified.
+ //
+ // * Defaults to `FULL` in `GetConversationRequest`.
+ // * Defaults to `BASIC` in `ListConversationsRequest`.
+ CONVERSATION_VIEW_UNSPECIFIED = 0;
+
+ // Populates all fields in the conversation.
+ FULL = 2;
+
+ // Populates all fields in the conversation except the transcript.
+ BASIC = 1;
+}
+
+// The request for calculating conversation statistics.
+message CalculateStatsRequest {
+ // Required. The location of the conversations.
+ string location = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ type: "locations.googleapis.com/Location"
+ }
+ ];
+
+ // A filter to reduce results to a specific subset. This field is useful for
+ // getting statistics about conversations with specific properties.
+ string filter = 2;
+}
+
+// The response for calculating conversation statistics.
+message CalculateStatsResponse {
+ // A time series representing conversations over time.
+ message TimeSeries {
+ // A single interval in a time series.
+ message Interval {
+ // The start time of this interval.
+ google.protobuf.Timestamp start_time = 1;
+
+ // The number of conversations created in this interval.
+ int32 conversation_count = 2;
+ }
+
+ // The duration of each interval.
+ google.protobuf.Duration interval_duration = 1;
+
+ // An ordered list of intervals from earliest to latest, where each interval
+ // represents the number of conversations that transpired during the time
+ // window.
+ repeated Interval points = 2;
+ }
+
+ // The average duration of all conversations. The average is calculated using
+ // only conversations that have a time duration.
+ google.protobuf.Duration average_duration = 1;
+
+ // The average number of turns per conversation.
+ int32 average_turn_count = 2;
+
+ // The total number of conversations.
+ int32 conversation_count = 3;
+
+ // A map associating each smart highlighter display name with its respective
+ // number of matches in the set of conversations.
+ map smart_highlighter_matches = 4;
+
+ // A map associating each custom highlighter resource name with its respective
+ // number of matches in the set of conversations.
+ map custom_highlighter_matches = 5;
+
+ // A map associating each issue resource name with its respective number of
+ // matches in the set of conversations. Key has the format:
+ // `projects//locations//issueModels//issues/`
+ // Deprecated, use `issue_matches_stats` field instead.
+ map issue_matches = 6 [deprecated = true];
+
+ // A map associating each issue resource name with its respective number of
+ // matches in the set of conversations. Key has the format:
+ // `projects//locations//issueModels//issues/`
+ map issue_matches_stats = 8;
+
+ // A time series representing the count of conversations created over time
+ // that match that requested filter criteria.
+ TimeSeries conversation_count_time_series = 7;
+}
+
+// Metadata for a create analysis operation.
+message CreateAnalysisOperationMetadata {
+ // Output only. The time the operation was created.
+ google.protobuf.Timestamp create_time = 1 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Output only. The time the operation finished running.
+ google.protobuf.Timestamp end_time = 2 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Output only. The Conversation that this Analysis Operation belongs to.
+ string conversation = 3 [
+ (google.api.field_behavior) = OUTPUT_ONLY,
+ (google.api.resource_reference) = {
+ type: "contactcenterinsights.googleapis.com/Conversation"
+ }
+ ];
+}
+
+// Request to create a conversation.
+message CreateConversationRequest {
+ // Required. The parent resource of the conversation.
+ string parent = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ type: "locations.googleapis.com/Location"
+ }
+ ];
+
+ // Required. The conversation resource to create.
+ Conversation conversation = 2 [(google.api.field_behavior) = REQUIRED];
+
+ // A unique ID for the new conversation. This ID will become the final
+ // component of the conversation's resource name. If no ID is specified, a
+ // server-generated ID will be used.
+ //
+ // This value should be 4-64 characters and must match the regular
+ // expression `^[a-z0-9-]{4,64}$`. Valid characters are `[a-z][0-9]-`
+ string conversation_id = 3;
+}
+
+// Request to list conversations.
+message ListConversationsRequest {
+ // Required. The parent resource of the conversation.
+ string parent = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ type: "locations.googleapis.com/Location"
+ }
+ ];
+
+ // The maximum number of conversations to return in the response. A valid page
+ // size ranges from 0 to 1,000 inclusive. If the page size is zero or
+ // unspecified, a default page size of 100 will be chosen. Note that a call
+ // might return fewer results than the requested page size.
+ int32 page_size = 2;
+
+ // The value returned by the last `ListConversationsResponse`. This value
+ // indicates that this is a continuation of a prior `ListConversations` call
+ // and that the system should return the next page of data.
+ string page_token = 3;
+
+ // A filter to reduce results to a specific subset. Useful for querying
+ // conversations with specific properties.
+ string filter = 4;
+
+ // The level of details of the conversation. Default is `BASIC`.
+ ConversationView view = 5;
+}
+
+// The response of listing conversations.
+message ListConversationsResponse {
+ // The conversations that match the request.
+ repeated Conversation conversations = 1;
+
+ // A token which can be sent as `page_token` to retrieve the next page. If
+ // this field is set, it means there is another page available. If it is not
+ // set, it means no other pages are available.
+ string next_page_token = 2;
+}
+
+// The request to get a conversation.
+message GetConversationRequest {
+ // Required. The name of the conversation to get.
+ string name = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ type: "contactcenterinsights.googleapis.com/Conversation"
+ }
+ ];
+
+ // The level of details of the conversation. Default is `FULL`.
+ ConversationView view = 2;
+}
+
+// The request to update a conversation.
+message UpdateConversationRequest {
+ // Required. The new values for the conversation.
+ Conversation conversation = 1 [(google.api.field_behavior) = REQUIRED];
+
+ // The list of fields to be updated.
+ google.protobuf.FieldMask update_mask = 2;
+}
+
+// The request to delete a conversation.
+message DeleteConversationRequest {
+ // Required. The name of the conversation to delete.
+ string name = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ type: "contactcenterinsights.googleapis.com/Conversation"
+ }
+ ];
+
+ // If set to true, all of this conversation's analyses will also be deleted.
+ // Otherwise, the request will only succeed if the conversation has no
+ // analyses.
+ bool force = 2;
+}
+
+// The request to create an analysis.
+message CreateAnalysisRequest {
+ // Required. The parent resource of the analysis.
+ string parent = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ type: "contactcenterinsights.googleapis.com/Conversation"
+ }
+ ];
+
+ // Required. The analysis to create.
+ Analysis analysis = 2 [(google.api.field_behavior) = REQUIRED];
+}
+
+// The request to list analyses.
+message ListAnalysesRequest {
+ // Required. The parent resource of the analyses.
+ string parent = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ type: "contactcenterinsights.googleapis.com/Conversation"
+ }
+ ];
+
+ // The maximum number of analyses to return in the response. If this
+ // value is zero, the service will select a default size. A call might return
+ // fewer objects than requested. A non-empty `next_page_token` in the response
+ // indicates that more data is available.
+ int32 page_size = 2;
+
+ // The value returned by the last `ListAnalysesResponse`; indicates
+ // that this is a continuation of a prior `ListAnalyses` call and
+ // the system should return the next page of data.
+ string page_token = 3;
+
+ // A filter to reduce results to a specific subset. Useful for querying
+ // conversations with specific properties.
+ string filter = 4;
+}
+
+// The response to list analyses.
+message ListAnalysesResponse {
+ // The analyses that match the request.
+ repeated Analysis analyses = 1;
+
+ // A token, which can be sent as `page_token` to retrieve the next page.
+ // If this field is omitted, there are no subsequent pages.
+ string next_page_token = 2;
+}
+
+// The request to get an analysis.
+message GetAnalysisRequest {
+ // Required. The name of the analysis to get.
+ string name = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ type: "contactcenterinsights.googleapis.com/Analysis"
+ }
+ ];
+}
+
+// The request to delete an analysis.
+message DeleteAnalysisRequest {
+ // Required. The name of the analysis to delete.
+ string name = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ type: "contactcenterinsights.googleapis.com/Analysis"
+ }
+ ];
+}
+
+// The request to export insights.
+message ExportInsightsDataRequest {
+ // A BigQuery Table Reference.
+ message BigQueryDestination {
+ // A project ID or number. If specified, then export will attempt to
+ // write data to this project instead of the resource project. Otherwise,
+ // the resource project will be used.
+ string project_id = 3;
+
+ // Required. The name of the BigQuery dataset that the snapshot result should be
+ // exported to. If this dataset does not exist, the export call returns an
+ // INVALID_ARGUMENT error.
+ string dataset = 1 [(google.api.field_behavior) = REQUIRED];
+
+ // The BigQuery table name to which the insights data should be written.
+ // If this table does not exist, the export call returns an INVALID_ARGUMENT
+ // error.
+ string table = 2;
+ }
+
+ // Specifies the action that occurs if the destination table already exists.
+ enum WriteDisposition {
+ // Write disposition is not specified. Defaults to WRITE_TRUNCATE.
+ WRITE_DISPOSITION_UNSPECIFIED = 0;
+
+ // If the table already exists, BigQuery will overwrite the table data and
+ // use the schema from the load.
+ WRITE_TRUNCATE = 1;
+
+ // If the table already exists, BigQuery will append data to the table.
+ WRITE_APPEND = 2;
+ }
+
+ // Exporter destination.
+ oneof destination {
+ // Specified if sink is a BigQuery table.
+ BigQueryDestination big_query_destination = 2;
+ }
+
+ // Required. The parent resource to export data from.
+ string parent = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ type: "locations.googleapis.com/Location"
+ }
+ ];
+
+ // A filter to reduce results to a specific subset. Useful for exporting
+ // conversations with specific properties.
+ string filter = 3;
+
+ // A fully qualified KMS key name for BigQuery tables protected by CMEK.
+ // Format:
+ // projects/{project}/locations/{location}/keyRings/{keyring}/cryptoKeys/{key}/cryptoKeyVersions/{version}
+ string kms_key = 4;
+
+ // Options for what to do if the destination table already exists.
+ WriteDisposition write_disposition = 5;
+}
+
+// Metadata for an export insights operation.
+message ExportInsightsDataMetadata {
+ // Output only. The time the operation was created.
+ google.protobuf.Timestamp create_time = 1 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Output only. The time the operation finished running.
+ google.protobuf.Timestamp end_time = 2 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // The original request for export.
+ ExportInsightsDataRequest request = 3;
+
+ // Partial errors during export operation that might cause the operation
+ // output to be incomplete.
+ repeated google.rpc.Status partial_errors = 4;
+}
+
+// Response for an export insights operation.
+message ExportInsightsDataResponse {
+
+}
+
+// The request to create an issue model.
+message CreateIssueModelRequest {
+ // Required. The parent resource of the issue model.
+ string parent = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ type: "locations.googleapis.com/Location"
+ }
+ ];
+
+ // Required. The issue model to create.
+ IssueModel issue_model = 2 [(google.api.field_behavior) = REQUIRED];
+}
+
+// Metadata for creating an issue model.
+message CreateIssueModelMetadata {
+ // Output only. The time the operation was created.
+ google.protobuf.Timestamp create_time = 1 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Output only. The time the operation finished running.
+ google.protobuf.Timestamp end_time = 2 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // The original request for creation.
+ CreateIssueModelRequest request = 3;
+}
+
+// The request to update an issue model.
+message UpdateIssueModelRequest {
+ // Required. The new values for the issue model.
+ IssueModel issue_model = 1 [(google.api.field_behavior) = REQUIRED];
+
+ // The list of fields to be updated.
+ google.protobuf.FieldMask update_mask = 2;
+}
+
+// Request to list issue models.
+message ListIssueModelsRequest {
+ // Required. The parent resource of the issue model.
+ string parent = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ type: "locations.googleapis.com/Location"
+ }
+ ];
+}
+
+// The response of listing issue models.
+message ListIssueModelsResponse {
+ // The issue models that match the request.
+ repeated IssueModel issue_models = 1;
+}
+
+// The request to get an issue model.
+message GetIssueModelRequest {
+ // Required. The name of the issue model to get.
+ string name = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ type: "contactcenterinsights.googleapis.com/IssueModel"
+ }
+ ];
+}
+
+// The request to delete an issue model.
+message DeleteIssueModelRequest {
+ // Required. The name of the issue model to delete.
+ string name = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ type: "contactcenterinsights.googleapis.com/IssueModel"
+ }
+ ];
+}
+
+// Metadata for deleting an issue model.
+message DeleteIssueModelMetadata {
+ // Output only. The time the operation was created.
+ google.protobuf.Timestamp create_time = 1 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Output only. The time the operation finished running.
+ google.protobuf.Timestamp end_time = 2 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // The original request for deletion.
+ DeleteIssueModelRequest request = 3;
+}
+
+// The request to deploy an issue model.
+message DeployIssueModelRequest {
+ // Required. The issue model to deploy.
+ string name = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ type: "contactcenterinsights.googleapis.com/IssueModel"
+ }
+ ];
+}
+
+// The response to deploy an issue model.
+message DeployIssueModelResponse {
+
+}
+
+// Metadata for deploying an issue model.
+message DeployIssueModelMetadata {
+ // Output only. The time the operation was created.
+ google.protobuf.Timestamp create_time = 1 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Output only. The time the operation finished running.
+ google.protobuf.Timestamp end_time = 2 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // The original request for deployment.
+ DeployIssueModelRequest request = 3;
+}
+
+// The request to undeploy an issue model.
+message UndeployIssueModelRequest {
+ // Required. The issue model to undeploy.
+ string name = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ type: "contactcenterinsights.googleapis.com/IssueModel"
+ }
+ ];
+}
+
+// The response to undeploy an issue model.
+message UndeployIssueModelResponse {
+
+}
+
+// Metadata for undeploying an issue model.
+message UndeployIssueModelMetadata {
+ // Output only. The time the operation was created.
+ google.protobuf.Timestamp create_time = 1 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Output only. The time the operation finished running.
+ google.protobuf.Timestamp end_time = 2 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // The original request for undeployment.
+ UndeployIssueModelRequest request = 3;
+}
+
+// The request to get an issue.
+message GetIssueRequest {
+ // Required. The name of the issue to get.
+ string name = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ type: "contactcenterinsights.googleapis.com/Issue"
+ }
+ ];
+}
+
+// Request to list issues.
+message ListIssuesRequest {
+ // Required. The parent resource of the issue.
+ string parent = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ type: "contactcenterinsights.googleapis.com/IssueModel"
+ }
+ ];
+}
+
+// The response of listing issues.
+message ListIssuesResponse {
+ // The issues that match the request.
+ repeated Issue issues = 1;
+}
+
+// The request to update an issue.
+message UpdateIssueRequest {
+ // Required. The new values for the issue.
+ Issue issue = 1 [(google.api.field_behavior) = REQUIRED];
+
+ // The list of fields to be updated.
+ google.protobuf.FieldMask update_mask = 2;
+}
+
+// Request to get statistics of an issue model.
+message CalculateIssueModelStatsRequest {
+ // Required. The resource name of the issue model to query against.
+ string issue_model = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ type: "contactcenterinsights.googleapis.com/IssueModel"
+ }
+ ];
+}
+
+// Response of querying an issue model's statistics.
+message CalculateIssueModelStatsResponse {
+ // The latest label statistics for the queried issue model. Includes results
+ // on both training data and data labeled after deployment.
+ IssueModelLabelStats current_stats = 4;
+}
+
+// Request to create a phrase matcher.
+message CreatePhraseMatcherRequest {
+ // Required. The parent resource of the phrase matcher. Required. The location to create
+ // a phrase matcher for.
+ // Format: `projects//locations/` or
+ // `projects//locations/`
+ string parent = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ type: "locations.googleapis.com/Location"
+ }
+ ];
+
+ // Required. The phrase matcher resource to create.
+ PhraseMatcher phrase_matcher = 2 [(google.api.field_behavior) = REQUIRED];
+}
+
+// Request to list phrase matchers.
+message ListPhraseMatchersRequest {
+ // Required. The parent resource of the phrase matcher.
+ string parent = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ type: "locations.googleapis.com/Location"
+ }
+ ];
+
+ // The maximum number of phrase matchers to return in the response. If this
+ // value is zero, the service will select a default size. A call might return
+ // fewer objects than requested. A non-empty `next_page_token` in the response
+ // indicates that more data is available.
+ int32 page_size = 2;
+
+ // The value returned by the last `ListPhraseMatchersResponse`. This value
+ // indicates that this is a continuation of a prior `ListPhraseMatchers` call
+ // and that the system should return the next page of data.
+ string page_token = 3;
+
+ // A filter to reduce results to a specific subset. Useful for querying
+ // phrase matchers with specific properties.
+ string filter = 4;
+}
+
+// The response of listing phrase matchers.
+message ListPhraseMatchersResponse {
+ // The phrase matchers that match the request.
+ repeated PhraseMatcher phrase_matchers = 1;
+
+ // A token, which can be sent as `page_token` to retrieve the next page.
+ // If this field is omitted, there are no subsequent pages.
+ string next_page_token = 2;
+}
+
+// The request to get a a phrase matcher.
+message GetPhraseMatcherRequest {
+ // Required. The name of the phrase matcher to get.
+ string name = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ type: "contactcenterinsights.googleapis.com/PhraseMatcher"
+ }
+ ];
+}
+
+// The request to delete a phrase matcher.
+message DeletePhraseMatcherRequest {
+ // Required. The name of the phrase matcher to delete.
+ string name = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ type: "contactcenterinsights.googleapis.com/PhraseMatcher"
+ }
+ ];
+}
+
+// The request to update a phrase matcher.
+message UpdatePhraseMatcherRequest {
+ // Required. The new values for the phrase matcher.
+ PhraseMatcher phrase_matcher = 1 [(google.api.field_behavior) = REQUIRED];
+
+ // The list of fields to be updated.
+ google.protobuf.FieldMask update_mask = 2;
+}
+
+// The request to get project-level settings.
+message GetSettingsRequest {
+ // Required. The name of the settings resource to get.
+ string name = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ type: "contactcenterinsights.googleapis.com/Settings"
+ }
+ ];
+}
+
+// The request to update project-level settings.
+message UpdateSettingsRequest {
+ // Required. The new settings values.
+ Settings settings = 1 [(google.api.field_behavior) = REQUIRED];
+
+ // Required. The list of fields to be updated.
+ google.protobuf.FieldMask update_mask = 2 [(google.api.field_behavior) = REQUIRED];
+}
+
+// The request to create a view.
+message CreateViewRequest {
+ // Required. The parent resource of the view. Required. The location to create
+ // a view for.
+ // Format: `projects//locations/` or
+ // `projects//locations/`
+ string parent = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ type: "locations.googleapis.com/Location"
+ }
+ ];
+
+ // Required. The view resource to create.
+ View view = 2 [(google.api.field_behavior) = REQUIRED];
+}
+
+// The request to get a view.
+message GetViewRequest {
+ // Required. The name of the view to get.
+ string name = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ type: "contactcenterinsights.googleapis.com/View"
+ }
+ ];
+}
+
+// The request to list views.
+message ListViewsRequest {
+ // Required. The parent resource of the views.
+ string parent = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ type: "locations.googleapis.com/Location"
+ }
+ ];
+
+ // The maximum number of views to return in the response. If this
+ // value is zero, the service will select a default size. A call may return
+ // fewer objects than requested. A non-empty `next_page_token` in the response
+ // indicates that more data is available.
+ int32 page_size = 2;
+
+ // The value returned by the last `ListViewsResponse`; indicates
+ // that this is a continuation of a prior `ListViews` call and
+ // the system should return the next page of data.
+ string page_token = 3;
+}
+
+// The response of listing views.
+message ListViewsResponse {
+ // The views that match the request.
+ repeated View views = 1;
+
+ // A token, which can be sent as `page_token` to retrieve the next page.
+ // If this field is omitted, there are no subsequent pages.
+ string next_page_token = 2;
+}
+
+// The request to update a view.
+message UpdateViewRequest {
+ // Required. The new view.
+ View view = 1 [(google.api.field_behavior) = REQUIRED];
+
+ // The list of fields to be updated.
+ google.protobuf.FieldMask update_mask = 2;
+}
+
+// The request to delete a view.
+message DeleteViewRequest {
+ // Required. The name of the view to delete.
+ string name = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ type: "contactcenterinsights.googleapis.com/View"
+ }
+ ];
+}
diff --git a/packages/google-cloud-contactcenterinsights/protos/google/cloud/contactcenterinsights/v1/resources.proto b/packages/google-cloud-contactcenterinsights/protos/google/cloud/contactcenterinsights/v1/resources.proto
new file mode 100644
index 00000000000..bac8515aab5
--- /dev/null
+++ b/packages/google-cloud-contactcenterinsights/protos/google/cloud/contactcenterinsights/v1/resources.proto
@@ -0,0 +1,1116 @@
+// 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.contactcenterinsights.v1;
+
+import "google/api/field_behavior.proto";
+import "google/api/resource.proto";
+import "google/protobuf/duration.proto";
+import "google/protobuf/timestamp.proto";
+
+option csharp_namespace = "Google.Cloud.ContactCenterInsights.V1";
+option go_package = "google.golang.org/genproto/googleapis/cloud/contactcenterinsights/v1;contactcenterinsights";
+option java_multiple_files = true;
+option java_outer_classname = "ResourcesProto";
+option java_package = "com.google.cloud.contactcenterinsights.v1";
+option php_namespace = "Google\\Cloud\\ContactCenterInsights\\V1";
+option ruby_package = "Google::Cloud::ContactCenterInsights::V1";
+option (google.api.resource_definition) = {
+ type: "dialogflow.googleapis.com/Participant"
+ pattern: "projects/{project}/conversations/{conversation}/participants/{participant}"
+ pattern: "projects/{project}/locations/{location}/conversations/{conversation}/participants/{participant}"
+};
+
+// The conversation resource.
+message Conversation {
+ option (google.api.resource) = {
+ type: "contactcenterinsights.googleapis.com/Conversation"
+ pattern: "projects/{project}/locations/{location}/conversations/{conversation}"
+ };
+
+ // Call-specific metadata.
+ message CallMetadata {
+ // The audio channel that contains the customer.
+ int32 customer_channel = 1;
+
+ // The audio channel that contains the agent.
+ int32 agent_channel = 2;
+ }
+
+ // A message representing the transcript of a conversation.
+ message Transcript {
+ // A segment of a full transcript.
+ message TranscriptSegment {
+ // Word-level info for words in a transcript.
+ message WordInfo {
+ // Time offset of the start of this word relative to the beginning of
+ // the total conversation.
+ google.protobuf.Duration start_offset = 1;
+
+ // Time offset of the end of this word relative to the beginning of the
+ // total conversation.
+ google.protobuf.Duration end_offset = 2;
+
+ // The word itself. Includes punctuation marks that surround the word.
+ string word = 3;
+
+ // A confidence estimate between 0.0 and 1.0 of the fidelity of this
+ // word. A default value of 0.0 indicates that the value is unset.
+ float confidence = 4;
+ }
+
+ // Metadata from Dialogflow relating to the current transcript segment.
+ message DialogflowSegmentMetadata {
+ // Whether the transcript segment was covered under the configured smart
+ // reply allowlist in Agent Assist.
+ bool smart_reply_allowlist_covered = 1;
+ }
+
+ // The time that the message occurred, if provided.
+ google.protobuf.Timestamp message_time = 6;
+
+ // The text of this segment.
+ string text = 1;
+
+ // A confidence estimate between 0.0 and 1.0 of the fidelity of this
+ // segment. A default value of 0.0 indicates that the value is unset.
+ float confidence = 2;
+
+ // A list of the word-specific information for each word in the segment.
+ repeated WordInfo words = 3;
+
+ // The language code of this segment as a
+ // [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag.
+ // Example: "en-US".
+ string language_code = 4;
+
+ // For conversations derived from multi-channel audio, this is the channel
+ // number corresponding to the audio from that channel. For
+ // audioChannelCount = N, its output values can range from '1' to 'N'. A
+ // channel tag of 0 indicates that the audio is mono.
+ int32 channel_tag = 5;
+
+ // The participant of this segment.
+ ConversationParticipant segment_participant = 9;
+
+ // CCAI metadata relating to the current transcript segment.
+ DialogflowSegmentMetadata dialogflow_segment_metadata = 10;
+
+ // The sentiment for this transcript segment.
+ SentimentData sentiment = 11;
+ }
+
+ // A list of sequential transcript segments that comprise the conversation.
+ repeated TranscriptSegment transcript_segments = 1;
+ }
+
+ // Possible media for the conversation.
+ enum Medium {
+ // Default value, if unspecified will default to PHONE_CALL.
+ MEDIUM_UNSPECIFIED = 0;
+
+ // The format for conversations that took place over the phone.
+ PHONE_CALL = 1;
+
+ // The format for conversations that took place over chat.
+ CHAT = 2;
+ }
+
+ // Metadata that applies to the conversation.
+ oneof metadata {
+ // Call-specific metadata.
+ CallMetadata call_metadata = 7;
+ }
+
+ // A time to live expiration setting, can be either a specified timestamp or a
+ // duration from the time that the conversation creation request was received.
+ // Conversations with an expiration set will be removed up to 24 hours after
+ // the specified time.
+ oneof expiration {
+ // The time at which this conversation should expire. After this time, the
+ // conversation data and any associated analyses will be deleted.
+ google.protobuf.Timestamp expire_time = 15;
+
+ // Input only. The TTL for this resource. If specified, then this TTL will
+ // be used to calculate the expire time.
+ google.protobuf.Duration ttl = 16 [(google.api.field_behavior) = INPUT_ONLY];
+ }
+
+ // Immutable. The resource name of the conversation.
+ // Format:
+ // projects/{project}/locations/{location}/conversations/{conversation}
+ string name = 1 [(google.api.field_behavior) = IMMUTABLE];
+
+ // The source of the audio and transcription for the conversation.
+ ConversationDataSource data_source = 2;
+
+ // Output only. The time at which the conversation was created.
+ google.protobuf.Timestamp create_time = 3 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Output only. The most recent time at which the conversation was updated.
+ google.protobuf.Timestamp update_time = 4 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // The time at which the conversation started.
+ google.protobuf.Timestamp start_time = 17;
+
+ // A user-specified language code for the conversation.
+ string language_code = 14;
+
+ // An opaque, user-specified string representing the human agent who handled
+ // the conversation.
+ string agent_id = 5;
+
+ // A map for the user to specify any custom fields. A maximum of 20 labels per
+ // conversation is allowed, with a maximum of 256 characters per entry.
+ map labels = 6;
+
+ // Output only. The conversation transcript.
+ Transcript transcript = 8 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Immutable. The conversation medium, if unspecified will default to PHONE_CALL.
+ Medium medium = 9 [(google.api.field_behavior) = IMMUTABLE];
+
+ // Output only. The duration of the conversation.
+ google.protobuf.Duration duration = 10 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Output only. The number of turns in the conversation.
+ int32 turn_count = 11 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Output only. The conversation's latest analysis, if one exists.
+ Analysis latest_analysis = 12 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Output only. The annotations that were generated during the customer and agent
+ // interaction.
+ repeated RuntimeAnnotation runtime_annotations = 13 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Output only. All the matched Dialogflow intents in the call. The key corresponds to a
+ // Dialogflow intent, format:
+ // projects/{project}/agent/{agent}/intents/{intent}
+ map dialogflow_intents = 18 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Obfuscated user ID which the customer sent to us.
+ string obfuscated_user_id = 21;
+}
+
+// The analysis resource.
+message Analysis {
+ option (google.api.resource) = {
+ type: "contactcenterinsights.googleapis.com/Analysis"
+ pattern: "projects/{project}/locations/{location}/conversations/{conversation}/analyses/{analysis}"
+ };
+
+ // Immutable. The resource name of the analysis.
+ // Format:
+ // projects/{project}/locations/{location}/conversations/{conversation}/analyses/{analysis}
+ string name = 1 [(google.api.field_behavior) = IMMUTABLE];
+
+ // Output only. The time at which the analysis was requested.
+ google.protobuf.Timestamp request_time = 2 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Output only. The time at which the analysis was created, which occurs when the
+ // long-running operation completes.
+ google.protobuf.Timestamp create_time = 3 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Output only. The result of the analysis, which is populated when the analysis
+ // finishes.
+ AnalysisResult analysis_result = 7 [(google.api.field_behavior) = OUTPUT_ONLY];
+}
+
+// The conversation source, which is a combination of transcript and audio.
+message ConversationDataSource {
+ // The source of the conversation.
+ oneof source {
+ // A Cloud Storage location specification for the audio and transcript.
+ GcsSource gcs_source = 1;
+
+ // The source when the conversation comes from Dialogflow.
+ DialogflowSource dialogflow_source = 3;
+ }
+}
+
+// A Cloud Storage source of conversation data.
+message GcsSource {
+ // Cloud Storage URI that points to a file that contains the conversation
+ // audio.
+ string audio_uri = 1;
+
+ // Immutable. Cloud Storage URI that points to a file that contains the conversation
+ // transcript.
+ string transcript_uri = 2 [(google.api.field_behavior) = IMMUTABLE];
+}
+
+// A Dialogflow source of conversation data.
+message DialogflowSource {
+ // Output only. The name of the Dialogflow conversation that this conversation
+ // resource is derived from. Format:
+ // projects/{project}/locations/{location}/conversations/{conversation}
+ string dialogflow_conversation = 1 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Cloud Storage URI that points to a file that contains the conversation
+ // audio.
+ string audio_uri = 3;
+}
+
+// The result of an analysis.
+message AnalysisResult {
+ // Call-specific metadata created during analysis.
+ message CallAnalysisMetadata {
+ // A list of call annotations that apply to this call.
+ repeated CallAnnotation annotations = 2;
+
+ // All the entities in the call.
+ map entities = 3;
+
+ // Overall conversation-level sentiment for each channel of the call.
+ repeated ConversationLevelSentiment sentiments = 4;
+
+ // All the matched intents in the call.
+ map intents = 6;
+
+ // All the matched phrase matchers in the call.
+ map phrase_matchers = 7;
+
+ // Overall conversation-level issue modeling result.
+ IssueModelResult issue_model_result = 8;
+ }
+
+ // Metadata discovered during analysis.
+ oneof metadata {
+ // Call-specific metadata created by the analysis.
+ CallAnalysisMetadata call_analysis_metadata = 2;
+ }
+
+ // The time at which the analysis ended.
+ google.protobuf.Timestamp end_time = 1;
+}
+
+// Issue Modeling result on a conversation.
+message IssueModelResult {
+ // Issue model that generates the result.
+ // Format: projects/{project}/locations/{location}/issueModels/{issue_model}
+ string issue_model = 1 [(google.api.resource_reference) = {
+ type: "contactcenterinsights.googleapis.com/IssueModel"
+ }];
+
+ // All the matched issues.
+ repeated IssueAssignment issues = 2;
+}
+
+// One channel of conversation-level sentiment data.
+message ConversationLevelSentiment {
+ // The channel of the audio that the data applies to.
+ int32 channel_tag = 1;
+
+ // Data specifying sentiment.
+ SentimentData sentiment_data = 2;
+}
+
+// Information about the issue.
+message IssueAssignment {
+ // Resource name of the assigned issue.
+ string issue = 1;
+
+ // Score indicating the likelihood of the issue assignment.
+ // currently bounded on [0,1].
+ double score = 2;
+
+ // Immutable. Display name of the assigned issue. This field is set at time of analyis
+ // and immutable since then.
+ string display_name = 3 [(google.api.field_behavior) = IMMUTABLE];
+}
+
+// A piece of metadata that applies to a window of a call.
+message CallAnnotation {
+ // The data in the annotation.
+ oneof data {
+ // Data specifying an interruption.
+ InterruptionData interruption_data = 10;
+
+ // Data specifying sentiment.
+ SentimentData sentiment_data = 11;
+
+ // Data specifying silence.
+ SilenceData silence_data = 12;
+
+ // Data specifying a hold.
+ HoldData hold_data = 13;
+
+ // Data specifying an entity mention.
+ EntityMentionData entity_mention_data = 15;
+
+ // Data specifying an intent match.
+ IntentMatchData intent_match_data = 16;
+
+ // Data specifying a phrase match.
+ PhraseMatchData phrase_match_data = 17;
+ }
+
+ // The channel of the audio where the annotation occurs. For single-channel
+ // audio, this field is not populated.
+ int32 channel_tag = 1;
+
+ // The boundary in the conversation where the annotation starts, inclusive.
+ AnnotationBoundary annotation_start_boundary = 4;
+
+ // The boundary in the conversation where the annotation ends, inclusive.
+ AnnotationBoundary annotation_end_boundary = 5;
+}
+
+// A point in a conversation that marks the start or the end of an annotation.
+message AnnotationBoundary {
+ // A detailed boundary, which describes a more specific point.
+ oneof detailed_boundary {
+ // The word index of this boundary with respect to the first word in the
+ // transcript piece. This index starts at zero.
+ int32 word_index = 3;
+ }
+
+ // The index in the sequence of transcribed pieces of the conversation where
+ // the boundary is located. This index starts at zero.
+ int32 transcript_index = 1;
+}
+
+// The data for an entity annotation.
+// Represents a phrase in the conversation that is a known entity, such
+// as a person, an organization, or location.
+message Entity {
+ // The type of the entity. For most entity types, the associated metadata is a
+ // Wikipedia URL (`wikipedia_url`) and Knowledge Graph MID (`mid`). The table
+ // below lists the associated fields for entities that have different
+ // metadata.
+ enum Type {
+ // Unspecified.
+ TYPE_UNSPECIFIED = 0;
+
+ // Person.
+ PERSON = 1;
+
+ // Location.
+ LOCATION = 2;
+
+ // Organization.
+ ORGANIZATION = 3;
+
+ // Event.
+ EVENT = 4;
+
+ // Artwork.
+ WORK_OF_ART = 5;
+
+ // Consumer product.
+ CONSUMER_GOOD = 6;
+
+ // Other types of entities.
+ OTHER = 7;
+
+ // Phone number.
+ //
+ // The metadata lists the phone number (formatted according to local
+ // convention), plus whichever additional elements appear in the text:
+ //
+ // * `number` - The actual number, broken down into sections according to
+ // local convention.
+ // * `national_prefix` - Country code, if detected.
+ // * `area_code` - Region or area code, if detected.
+ // * `extension` - Phone extension (to be dialed after connection), if
+ // detected.
+ PHONE_NUMBER = 9;
+
+ // Address.
+ //
+ // The metadata identifies the street number and locality plus whichever
+ // additional elements appear in the text:
+ //
+ // * `street_number` - Street number.
+ // * `locality` - City or town.
+ // * `street_name` - Street/route name, if detected.
+ // * `postal_code` - Postal code, if detected.
+ // * `country` - Country, if detected.
+ // * `broad_region` - Administrative area, such as the state, if detected.
+ // * `narrow_region` - Smaller administrative area, such as county, if
+ // detected.
+ // * `sublocality` - Used in Asian addresses to demark a district within a
+ // city, if detected.
+ ADDRESS = 10;
+
+ // Date.
+ //
+ // The metadata identifies the components of the date:
+ //
+ // * `year` - Four digit year, if detected.
+ // * `month` - Two digit month number, if detected.
+ // * `day` - Two digit day number, if detected.
+ DATE = 11;
+
+ // Number.
+ //
+ // The metadata is the number itself.
+ NUMBER = 12;
+
+ // Price.
+ //
+ // The metadata identifies the `value` and `currency`.
+ PRICE = 13;
+ }
+
+ // The representative name for the entity.
+ string display_name = 1;
+
+ // The entity type.
+ Type type = 2;
+
+ // Metadata associated with the entity.
+ //
+ // For most entity types, the metadata is a Wikipedia URL (`wikipedia_url`)
+ // and Knowledge Graph MID (`mid`), if they are available. For the metadata
+ // associated with other entity types, see the Type table below.
+ map metadata = 3;
+
+ // The salience score associated with the entity in the [0, 1.0] range.
+ //
+ // The salience score for an entity provides information about the
+ // importance or centrality of that entity to the entire document text.
+ // Scores closer to 0 are less salient, while scores closer to 1.0 are highly
+ // salient.
+ float salience = 4;
+
+ // The aggregate sentiment expressed for this entity in the conversation.
+ SentimentData sentiment = 5;
+}
+
+// The data for an intent.
+// Represents a detected intent in the conversation, for example MAKES_PROMISE.
+message Intent {
+ // The unique identifier of the intent.
+ string id = 1;
+
+ // The human-readable name of the intent.
+ string display_name = 2;
+}
+
+// The data for a matched phrase matcher.
+// Represents information identifying a phrase matcher for a given match.
+message PhraseMatchData {
+ // The unique identifier (the resource name) of the phrase matcher.
+ string phrase_matcher = 1;
+
+ // The human-readable name of the phrase matcher.
+ string display_name = 2;
+}
+
+// The data for a Dialogflow intent.
+// Represents a detected intent in the conversation, e.g. MAKES_PROMISE.
+message DialogflowIntent {
+ // The human-readable name of the intent.
+ string display_name = 1;
+}
+
+// The data for an interruption annotation.
+message InterruptionData {
+
+}
+
+// The data for a silence annotation.
+message SilenceData {
+
+}
+
+// The data for a hold annotation.
+message HoldData {
+
+}
+
+// The data for an entity mention annotation.
+// This represents a mention of an `Entity` in the conversation.
+message EntityMentionData {
+ // The supported types of mentions.
+ enum MentionType {
+ // Unspecified.
+ MENTION_TYPE_UNSPECIFIED = 0;
+
+ // Proper noun.
+ PROPER = 1;
+
+ // Common noun (or noun compound).
+ COMMON = 2;
+ }
+
+ // The key of this entity in conversation entities.
+ // Can be used to retrieve the exact `Entity` this mention is attached to.
+ string entity_unique_id = 1;
+
+ // The type of the entity mention.
+ MentionType type = 2;
+
+ // Sentiment expressed for this mention of the entity.
+ SentimentData sentiment = 3;
+}
+
+// The data for an intent match.
+// Represents an intent match for a text segment in the conversation. A text
+// segment can be part of a sentence, a complete sentence, or an utterance
+// with multiple sentences.
+message IntentMatchData {
+ // The id of the matched intent.
+ // Can be used to retrieve the corresponding intent information.
+ string intent_unique_id = 1;
+}
+
+// The data for a sentiment annotation.
+message SentimentData {
+ // A non-negative number from 0 to infinity which represents the abolute
+ // magnitude of sentiment regardless of score.
+ float magnitude = 1;
+
+ // The sentiment score between -1.0 (negative) and 1.0 (positive).
+ float score = 2;
+}
+
+// The issue model resource.
+message IssueModel {
+ option (google.api.resource) = {
+ type: "contactcenterinsights.googleapis.com/IssueModel"
+ pattern: "projects/{project}/locations/{location}/issueModels/{issue_model}"
+ };
+
+ // Configs for the input data used to create the issue model.
+ message InputDataConfig {
+ // Medium of conversations used in training data. This field is being
+ // deprecated. To specify the medium to be used in training a new issue
+ // model, set the `medium` field on `filter`.
+ Conversation.Medium medium = 1 [deprecated = true];
+
+ // Output only. Number of conversations used in training. Output only.
+ int64 training_conversations_count = 2 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // A filter to reduce the conversations used for training the model to a
+ // specific subset.
+ string filter = 3;
+ }
+
+ // State of the model.
+ enum State {
+ // Unspecified.
+ STATE_UNSPECIFIED = 0;
+
+ // Model is not deployed but is ready to deploy.
+ UNDEPLOYED = 1;
+
+ // Model is being deployed.
+ DEPLOYING = 2;
+
+ // Model is deployed and is ready to be used. A model can only be used in
+ // analysis if it's in this state.
+ DEPLOYED = 3;
+
+ // Model is being undeployed.
+ UNDEPLOYING = 4;
+
+ // Model is being deleted.
+ DELETING = 5;
+ }
+
+ // Immutable. The resource name of the issue model.
+ // Format:
+ // projects/{project}/locations/{location}/issueModels/{issue_model}
+ string name = 1 [(google.api.field_behavior) = IMMUTABLE];
+
+ // The representative name for the issue model.
+ string display_name = 2;
+
+ // Output only. The time at which this issue model was created.
+ google.protobuf.Timestamp create_time = 3 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Output only. The most recent time at which the issue model was updated.
+ google.protobuf.Timestamp update_time = 4 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Output only. State of the model.
+ State state = 5 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Configs for the input data that used to create the issue model.
+ InputDataConfig input_data_config = 6;
+
+ // Output only. Immutable. The issue model's label statistics on its training data.
+ IssueModelLabelStats training_stats = 7 [
+ (google.api.field_behavior) = OUTPUT_ONLY,
+ (google.api.field_behavior) = IMMUTABLE
+ ];
+}
+
+// The issue resource.
+message Issue {
+ option (google.api.resource) = {
+ type: "contactcenterinsights.googleapis.com/Issue"
+ pattern: "projects/{project}/locations/{location}/issueModels/{issue_model}/issues/{issue}"
+ };
+
+ // Immutable. The resource name of the issue.
+ // Format:
+ // projects/{project}/locations/{location}/issueModels/{issue_model}/issues/{issue}
+ string name = 1 [(google.api.field_behavior) = IMMUTABLE];
+
+ // The representative name for the issue.
+ string display_name = 2;
+
+ // Output only. The time at which this issue was created.
+ google.protobuf.Timestamp create_time = 3 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Output only. The most recent time that this issue was updated.
+ google.protobuf.Timestamp update_time = 4 [(google.api.field_behavior) = OUTPUT_ONLY];
+}
+
+// Aggregated statistics about an issue model.
+message IssueModelLabelStats {
+ // Aggregated statistics about an issue.
+ message IssueStats {
+ // Issue resource.
+ // Format:
+ // projects/{project}/locations/{location}/issueModels/{issue_model}/issues/{issue}
+ string issue = 1;
+
+ // Number of conversations attached to the issue at this point in time.
+ int64 labeled_conversations_count = 2;
+
+ // Display name of the issue.
+ string display_name = 3;
+ }
+
+ // Number of conversations the issue model has analyzed at this point in time.
+ int64 analyzed_conversations_count = 1;
+
+ // Number of analyzed conversations for which no issue was applicable at this
+ // point in time.
+ int64 unclassified_conversations_count = 2;
+
+ // Statistics on each issue. Key is the issue's resource name.
+ map issue_stats = 3;
+}
+
+// The phrase matcher resource.
+message PhraseMatcher {
+ option (google.api.resource) = {
+ type: "contactcenterinsights.googleapis.com/PhraseMatcher"
+ pattern: "projects/{project}/locations/{location}/phraseMatchers/{phrase_matcher}"
+ };
+
+ // Specifies how to combine each phrase match rule group to determine whether
+ // there is a match.
+ enum PhraseMatcherType {
+ // Unspecified.
+ PHRASE_MATCHER_TYPE_UNSPECIFIED = 0;
+
+ // Must meet all phrase match rule groups or there is no match.
+ ALL_OF = 1;
+
+ // If any of the phrase match rule groups are met, there is a match.
+ ANY_OF = 2;
+ }
+
+ // The resource name of the phrase matcher.
+ // Format:
+ // projects/{project}/locations/{location}/phraseMatchers/{phrase_matcher}
+ string name = 1;
+
+ // Output only. Immutable. The revision ID of the phrase matcher.
+ // A new revision is committed whenever the matcher is changed, except when it
+ // is activated or deactivated. A server generated random ID will be used.
+ // Example: locations/global/phraseMatchers/my-first-matcher@1234567
+ string revision_id = 2 [
+ (google.api.field_behavior) = IMMUTABLE,
+ (google.api.field_behavior) = OUTPUT_ONLY
+ ];
+
+ // The customized version tag to use for the phrase matcher. If not specified,
+ // it will default to `revision_id`.
+ string version_tag = 3;
+
+ // Output only. The timestamp of when the revision was created. It is also the create time
+ // when a new matcher is added.
+ google.protobuf.Timestamp revision_create_time = 4 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // The human-readable name of the phrase matcher.
+ string display_name = 5;
+
+ // Required. The type of this phrase matcher.
+ PhraseMatcherType type = 6 [(google.api.field_behavior) = REQUIRED];
+
+ // Applies the phrase matcher only when it is active.
+ bool active = 7;
+
+ // A list of phase match rule groups that are included in this matcher.
+ repeated PhraseMatchRuleGroup phrase_match_rule_groups = 8;
+
+ // Output only. The most recent time at which the activation status was updated.
+ google.protobuf.Timestamp activation_update_time = 9 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // The role whose utterances the phrase matcher should be matched
+ // against. If the role is ROLE_UNSPECIFIED it will be matched against any
+ // utterances in the transcript.
+ ConversationParticipant.Role role_match = 10;
+
+ // Output only. The most recent time at which the phrase matcher was updated.
+ google.protobuf.Timestamp update_time = 11 [(google.api.field_behavior) = OUTPUT_ONLY];
+}
+
+// A message representing a rule in the phrase matcher.
+message PhraseMatchRuleGroup {
+ // Specifies how to combine each phrase match rule for whether there is a
+ // match.
+ enum PhraseMatchRuleGroupType {
+ // Unspecified.
+ PHRASE_MATCH_RULE_GROUP_TYPE_UNSPECIFIED = 0;
+
+ // Must meet all phrase match rules or there is no match.
+ ALL_OF = 1;
+
+ // If any of the phrase match rules are met, there is a match.
+ ANY_OF = 2;
+ }
+
+ // Required. The type of this phrase match rule group.
+ PhraseMatchRuleGroupType type = 1 [(google.api.field_behavior) = REQUIRED];
+
+ // A list of phase match rules that are included in this group.
+ repeated PhraseMatchRule phrase_match_rules = 2;
+}
+
+// The data for a phrase match rule.
+message PhraseMatchRule {
+ // Required. The phrase to be matched.
+ string query = 1 [(google.api.field_behavior) = REQUIRED];
+
+ // Specifies whether the phrase must be missing from the transcript segment or
+ // present in the transcript segment.
+ bool negated = 2;
+
+ // Provides additional information about the rule that specifies how to apply
+ // the rule.
+ PhraseMatchRuleConfig config = 3;
+}
+
+// Configuration information of a phrase match rule.
+message PhraseMatchRuleConfig {
+ // The configuration of the phrase match rule.
+ oneof config {
+ // The configuration for the exact match rule.
+ ExactMatchConfig exact_match_config = 1;
+ }
+}
+
+// Exact match configuration.
+message ExactMatchConfig {
+ // Whether to consider case sensitivity when performing an exact match.
+ bool case_sensitive = 1;
+}
+
+// The settings resource.
+message Settings {
+ option (google.api.resource) = {
+ type: "contactcenterinsights.googleapis.com/Settings"
+ pattern: "projects/{project}/locations/{location}/settings"
+ };
+
+ // Default configuration when creating Analyses in Insights.
+ message AnalysisConfig {
+ // Percentage of conversations created using Dialogflow runtime integration
+ // to analyze automatically, between [0, 100].
+ double runtime_integration_analysis_percentage = 1;
+ }
+
+ // Immutable. The resource name of the settings resource.
+ // Format:
+ // projects/{project}/locations/{location}/settings
+ string name = 1 [(google.api.field_behavior) = IMMUTABLE];
+
+ // Output only. The time at which the settings was created.
+ google.protobuf.Timestamp create_time = 2 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Output only. The time at which the settings were last updated.
+ google.protobuf.Timestamp update_time = 3 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // A language code to be applied to each transcript segment unless the segment
+ // already specifies a language code. Language code defaults to "en-US" if it
+ // is neither specified on the segment nor here.
+ string language_code = 4;
+
+ // The default TTL for newly-created conversations. If a conversation has a
+ // specified expiration, that value will be used instead. Changing this
+ // value will not change the expiration of existing conversations.
+ // Conversations with no expire time persist until they are deleted.
+ google.protobuf.Duration conversation_ttl = 5;
+
+ // A map that maps a notification trigger to a Pub/Sub topic. Each time a
+ // specified trigger occurs, Insights will notify the corresponding Pub/Sub
+ // topic.
+ //
+ // Keys are notification triggers. Supported keys are:
+ //
+ // * "all-triggers": Notify each time any of the supported triggers occurs.
+ // * "create-analysis": Notify each time an analysis is created.
+ // * "create-conversation": Notify each time a conversation is created.
+ // * "export-insights-data": Notify each time an export is complete.
+ // * "update-conversation": Notify each time a conversation is updated via
+ // UpdateConversation.
+ //
+ // Values are Pub/Sub topics. The format of each Pub/Sub topic is:
+ // projects/{project}/topics/{topic}
+ map pubsub_notification_settings = 6;
+
+ // Default analysis settings.
+ AnalysisConfig analysis_config = 7;
+}
+
+// An annotation that was generated during the customer and agent interaction.
+message RuntimeAnnotation {
+ // The data in the annotation.
+ oneof data {
+ // Agent Assist Article Suggestion data.
+ ArticleSuggestionData article_suggestion = 6;
+
+ // Agent Assist FAQ answer data.
+ FaqAnswerData faq_answer = 7;
+
+ // Agent Assist Smart Reply data.
+ SmartReplyData smart_reply = 8;
+
+ // Agent Assist Smart Compose suggestion data.
+ SmartComposeSuggestionData smart_compose_suggestion = 9;
+
+ // Dialogflow interaction data.
+ DialogflowInteractionData dialogflow_interaction = 10;
+ }
+
+ // The unique identifier of the annotation.
+ // Format:
+ // projects/{project}/locations/{location}/conversationDatasets/{dataset}/conversationDataItems/{data_item}/conversationAnnotations/{annotation}
+ string annotation_id = 1;
+
+ // The time at which this annotation was created.
+ google.protobuf.Timestamp create_time = 2;
+
+ // The boundary in the conversation where the annotation starts, inclusive.
+ AnnotationBoundary start_boundary = 3;
+
+ // The boundary in the conversation where the annotation ends, inclusive.
+ AnnotationBoundary end_boundary = 4;
+
+ // The feedback that the customer has about the answer in `data`.
+ AnswerFeedback answer_feedback = 5;
+}
+
+// The feedback that the customer has about a certain answer in the
+// conversation.
+message AnswerFeedback {
+ // The correctness level of an answer.
+ enum CorrectnessLevel {
+ // Correctness level unspecified.
+ CORRECTNESS_LEVEL_UNSPECIFIED = 0;
+
+ // Answer is totally wrong.
+ NOT_CORRECT = 1;
+
+ // Answer is partially correct.
+ PARTIALLY_CORRECT = 2;
+
+ // Answer is fully correct.
+ FULLY_CORRECT = 3;
+ }
+
+ // The correctness level of an answer.
+ CorrectnessLevel correctness_level = 1;
+
+ // Indicates whether an answer or item was clicked by the human agent.
+ bool clicked = 2;
+
+ // Indicates whether an answer or item was displayed to the human agent in the
+ // agent desktop UI.
+ bool displayed = 3;
+}
+
+// Agent Assist Article Suggestion data.
+message ArticleSuggestionData {
+ // Article title.
+ string title = 1;
+
+ // Article URI.
+ string uri = 2;
+
+ // The system's confidence score that this article is a good match for this
+ // conversation, ranging from 0.0 (completely uncertain) to 1.0 (completely
+ // certain).
+ float confidence_score = 3;
+
+ // Map that contains metadata about the Article Suggestion and the document
+ // that it originates from.
+ map metadata = 4;
+
+ // The name of the answer record.
+ // Format:
+ // projects/{project}/locations/{location}/answerRecords/{answer_record}
+ string query_record = 5;
+
+ // The knowledge document that this answer was extracted from.
+ // Format:
+ // projects/{project}/knowledgeBases/{knowledge_base}/documents/{document}
+ string source = 6;
+}
+
+// Agent Assist frequently-asked-question answer data.
+message FaqAnswerData {
+ // The piece of text from the `source` knowledge base document.
+ string answer = 1;
+
+ // The system's confidence score that this answer is a good match for this
+ // conversation, ranging from 0.0 (completely uncertain) to 1.0 (completely
+ // certain).
+ float confidence_score = 2;
+
+ // The corresponding FAQ question.
+ string question = 3;
+
+ // Map that contains metadata about the FAQ answer and the document that
+ // it originates from.
+ map metadata = 4;
+
+ // The name of the answer record.
+ // Format:
+ // projects/{project}/locations/{location}/answerRecords/{answer_record}
+ string query_record = 5;
+
+ // The knowledge document that this answer was extracted from.
+ // Format:
+ // projects/{project}/knowledgeBases/{knowledge_base}/documents/{document}.
+ string source = 6;
+}
+
+// Agent Assist Smart Reply data.
+message SmartReplyData {
+ // The content of the reply.
+ string reply = 1;
+
+ // The system's confidence score that this reply is a good match for this
+ // conversation, ranging from 0.0 (completely uncertain) to 1.0 (completely
+ // certain).
+ double confidence_score = 2;
+
+ // Map that contains metadata about the Smart Reply and the document from
+ // which it originates.
+ map metadata = 3;
+
+ // The name of the answer record.
+ // Format:
+ // projects/{project}/locations/{location}/answerRecords/{answer_record}
+ string query_record = 4;
+}
+
+// Agent Assist Smart Compose suggestion data.
+message SmartComposeSuggestionData {
+ // The content of the suggestion.
+ string suggestion = 1;
+
+ // The system's confidence score that this suggestion is a good match for this
+ // conversation, ranging from 0.0 (completely uncertain) to 1.0 (completely
+ // certain).
+ double confidence_score = 2;
+
+ // Map that contains metadata about the Smart Compose suggestion and the
+ // document from which it originates.
+ map metadata = 3;
+
+ // The name of the answer record.
+ // Format:
+ // projects/{project}/locations/{location}/answerRecords/{answer_record}
+ string query_record = 4;
+}
+
+// Dialogflow interaction data.
+message DialogflowInteractionData {
+ // The Dialogflow intent resource path. Format:
+ // projects/{project}/agent/{agent}/intents/{intent}
+ string dialogflow_intent_id = 1;
+
+ // The confidence of the match ranging from 0.0 (completely uncertain) to 1.0
+ // (completely certain).
+ float confidence = 2;
+}
+
+// The call participant speaking for a given utterance.
+message ConversationParticipant {
+ // The role of the participant.
+ enum Role {
+ // Participant's role is not set.
+ ROLE_UNSPECIFIED = 0;
+
+ // Participant is a human agent.
+ HUMAN_AGENT = 1;
+
+ // Participant is an automated agent.
+ AUTOMATED_AGENT = 2;
+
+ // Participant is an end user who conversed with the contact center.
+ END_USER = 3;
+
+ // Participant is either a human or automated agent.
+ ANY_AGENT = 4;
+ }
+
+ oneof participant {
+ // The name of the participant provided by Dialogflow. Format:
+ // projects/{project}/locations/{location}/conversations/{conversation}/participants/{participant}
+ string dialogflow_participant_name = 5 [(google.api.resource_reference) = {
+ type: "dialogflow.googleapis.com/Participant"
+ }];
+
+ // A user-specified ID representing the participant.
+ string user_id = 6;
+ }
+
+ // Deprecated. Use `dialogflow_participant_name` instead.
+ // The name of the Dialogflow participant. Format:
+ // projects/{project}/locations/{location}/conversations/{conversation}/participants/{participant}
+ string dialogflow_participant = 1 [deprecated = true];
+
+ // Obfuscated user ID from Dialogflow.
+ string obfuscated_external_user_id = 3;
+
+ // The role of the participant.
+ Role role = 2;
+}
+
+// The View resource.
+message View {
+ option (google.api.resource) = {
+ type: "contactcenterinsights.googleapis.com/View"
+ pattern: "projects/{project}/locations/{location}/views/{view}"
+ };
+
+ // Immutable. The resource name of the view.
+ // Format:
+ // projects/{project}/locations/{location}/views/{view}
+ string name = 1 [(google.api.field_behavior) = IMMUTABLE];
+
+ // The human-readable display name of the view.
+ string display_name = 2;
+
+ // Output only. The time at which this view was created.
+ google.protobuf.Timestamp create_time = 3 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Output only. The most recent time at which the view was updated.
+ google.protobuf.Timestamp update_time = 4 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // String with specific view properties.
+ string value = 5;
+}
diff --git a/packages/google-cloud-contactcenterinsights/protos/protos.d.ts b/packages/google-cloud-contactcenterinsights/protos/protos.d.ts
new file mode 100644
index 00000000000..c54fe68d054
--- /dev/null
+++ b/packages/google-cloud-contactcenterinsights/protos/protos.d.ts
@@ -0,0 +1,17515 @@
+// 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 contactcenterinsights. */
+ namespace contactcenterinsights {
+
+ /** Namespace v1. */
+ namespace v1 {
+
+ /** Represents a ContactCenterInsights */
+ class ContactCenterInsights extends $protobuf.rpc.Service {
+
+ /**
+ * Constructs a new ContactCenterInsights 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 ContactCenterInsights 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): ContactCenterInsights;
+
+ /**
+ * Calls CreateConversation.
+ * @param request CreateConversationRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and Conversation
+ */
+ public createConversation(request: google.cloud.contactcenterinsights.v1.ICreateConversationRequest, callback: google.cloud.contactcenterinsights.v1.ContactCenterInsights.CreateConversationCallback): void;
+
+ /**
+ * Calls CreateConversation.
+ * @param request CreateConversationRequest message or plain object
+ * @returns Promise
+ */
+ public createConversation(request: google.cloud.contactcenterinsights.v1.ICreateConversationRequest): Promise;
+
+ /**
+ * Calls UpdateConversation.
+ * @param request UpdateConversationRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and Conversation
+ */
+ public updateConversation(request: google.cloud.contactcenterinsights.v1.IUpdateConversationRequest, callback: google.cloud.contactcenterinsights.v1.ContactCenterInsights.UpdateConversationCallback): void;
+
+ /**
+ * Calls UpdateConversation.
+ * @param request UpdateConversationRequest message or plain object
+ * @returns Promise
+ */
+ public updateConversation(request: google.cloud.contactcenterinsights.v1.IUpdateConversationRequest): Promise;
+
+ /**
+ * Calls GetConversation.
+ * @param request GetConversationRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and Conversation
+ */
+ public getConversation(request: google.cloud.contactcenterinsights.v1.IGetConversationRequest, callback: google.cloud.contactcenterinsights.v1.ContactCenterInsights.GetConversationCallback): void;
+
+ /**
+ * Calls GetConversation.
+ * @param request GetConversationRequest message or plain object
+ * @returns Promise
+ */
+ public getConversation(request: google.cloud.contactcenterinsights.v1.IGetConversationRequest): Promise;
+
+ /**
+ * Calls ListConversations.
+ * @param request ListConversationsRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and ListConversationsResponse
+ */
+ public listConversations(request: google.cloud.contactcenterinsights.v1.IListConversationsRequest, callback: google.cloud.contactcenterinsights.v1.ContactCenterInsights.ListConversationsCallback): void;
+
+ /**
+ * Calls ListConversations.
+ * @param request ListConversationsRequest message or plain object
+ * @returns Promise
+ */
+ public listConversations(request: google.cloud.contactcenterinsights.v1.IListConversationsRequest): Promise;
+
+ /**
+ * Calls DeleteConversation.
+ * @param request DeleteConversationRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and Empty
+ */
+ public deleteConversation(request: google.cloud.contactcenterinsights.v1.IDeleteConversationRequest, callback: google.cloud.contactcenterinsights.v1.ContactCenterInsights.DeleteConversationCallback): void;
+
+ /**
+ * Calls DeleteConversation.
+ * @param request DeleteConversationRequest message or plain object
+ * @returns Promise
+ */
+ public deleteConversation(request: google.cloud.contactcenterinsights.v1.IDeleteConversationRequest): Promise;
+
+ /**
+ * Calls CreateAnalysis.
+ * @param request CreateAnalysisRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and Operation
+ */
+ public createAnalysis(request: google.cloud.contactcenterinsights.v1.ICreateAnalysisRequest, callback: google.cloud.contactcenterinsights.v1.ContactCenterInsights.CreateAnalysisCallback): void;
+
+ /**
+ * Calls CreateAnalysis.
+ * @param request CreateAnalysisRequest message or plain object
+ * @returns Promise
+ */
+ public createAnalysis(request: google.cloud.contactcenterinsights.v1.ICreateAnalysisRequest): Promise;
+
+ /**
+ * Calls GetAnalysis.
+ * @param request GetAnalysisRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and Analysis
+ */
+ public getAnalysis(request: google.cloud.contactcenterinsights.v1.IGetAnalysisRequest, callback: google.cloud.contactcenterinsights.v1.ContactCenterInsights.GetAnalysisCallback): void;
+
+ /**
+ * Calls GetAnalysis.
+ * @param request GetAnalysisRequest message or plain object
+ * @returns Promise
+ */
+ public getAnalysis(request: google.cloud.contactcenterinsights.v1.IGetAnalysisRequest): Promise;
+
+ /**
+ * Calls ListAnalyses.
+ * @param request ListAnalysesRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and ListAnalysesResponse
+ */
+ public listAnalyses(request: google.cloud.contactcenterinsights.v1.IListAnalysesRequest, callback: google.cloud.contactcenterinsights.v1.ContactCenterInsights.ListAnalysesCallback): void;
+
+ /**
+ * Calls ListAnalyses.
+ * @param request ListAnalysesRequest message or plain object
+ * @returns Promise
+ */
+ public listAnalyses(request: google.cloud.contactcenterinsights.v1.IListAnalysesRequest): Promise;
+
+ /**
+ * Calls DeleteAnalysis.
+ * @param request DeleteAnalysisRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and Empty
+ */
+ public deleteAnalysis(request: google.cloud.contactcenterinsights.v1.IDeleteAnalysisRequest, callback: google.cloud.contactcenterinsights.v1.ContactCenterInsights.DeleteAnalysisCallback): void;
+
+ /**
+ * Calls DeleteAnalysis.
+ * @param request DeleteAnalysisRequest message or plain object
+ * @returns Promise
+ */
+ public deleteAnalysis(request: google.cloud.contactcenterinsights.v1.IDeleteAnalysisRequest): Promise;
+
+ /**
+ * Calls ExportInsightsData.
+ * @param request ExportInsightsDataRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and Operation
+ */
+ public exportInsightsData(request: google.cloud.contactcenterinsights.v1.IExportInsightsDataRequest, callback: google.cloud.contactcenterinsights.v1.ContactCenterInsights.ExportInsightsDataCallback): void;
+
+ /**
+ * Calls ExportInsightsData.
+ * @param request ExportInsightsDataRequest message or plain object
+ * @returns Promise
+ */
+ public exportInsightsData(request: google.cloud.contactcenterinsights.v1.IExportInsightsDataRequest): Promise;
+
+ /**
+ * Calls CreateIssueModel.
+ * @param request CreateIssueModelRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and Operation
+ */
+ public createIssueModel(request: google.cloud.contactcenterinsights.v1.ICreateIssueModelRequest, callback: google.cloud.contactcenterinsights.v1.ContactCenterInsights.CreateIssueModelCallback): void;
+
+ /**
+ * Calls CreateIssueModel.
+ * @param request CreateIssueModelRequest message or plain object
+ * @returns Promise
+ */
+ public createIssueModel(request: google.cloud.contactcenterinsights.v1.ICreateIssueModelRequest): Promise;
+
+ /**
+ * Calls UpdateIssueModel.
+ * @param request UpdateIssueModelRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and IssueModel
+ */
+ public updateIssueModel(request: google.cloud.contactcenterinsights.v1.IUpdateIssueModelRequest, callback: google.cloud.contactcenterinsights.v1.ContactCenterInsights.UpdateIssueModelCallback): void;
+
+ /**
+ * Calls UpdateIssueModel.
+ * @param request UpdateIssueModelRequest message or plain object
+ * @returns Promise
+ */
+ public updateIssueModel(request: google.cloud.contactcenterinsights.v1.IUpdateIssueModelRequest): Promise;
+
+ /**
+ * Calls GetIssueModel.
+ * @param request GetIssueModelRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and IssueModel
+ */
+ public getIssueModel(request: google.cloud.contactcenterinsights.v1.IGetIssueModelRequest, callback: google.cloud.contactcenterinsights.v1.ContactCenterInsights.GetIssueModelCallback): void;
+
+ /**
+ * Calls GetIssueModel.
+ * @param request GetIssueModelRequest message or plain object
+ * @returns Promise
+ */
+ public getIssueModel(request: google.cloud.contactcenterinsights.v1.IGetIssueModelRequest): Promise;
+
+ /**
+ * Calls ListIssueModels.
+ * @param request ListIssueModelsRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and ListIssueModelsResponse
+ */
+ public listIssueModels(request: google.cloud.contactcenterinsights.v1.IListIssueModelsRequest, callback: google.cloud.contactcenterinsights.v1.ContactCenterInsights.ListIssueModelsCallback): void;
+
+ /**
+ * Calls ListIssueModels.
+ * @param request ListIssueModelsRequest message or plain object
+ * @returns Promise
+ */
+ public listIssueModels(request: google.cloud.contactcenterinsights.v1.IListIssueModelsRequest): Promise;
+
+ /**
+ * Calls DeleteIssueModel.
+ * @param request DeleteIssueModelRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and Operation
+ */
+ public deleteIssueModel(request: google.cloud.contactcenterinsights.v1.IDeleteIssueModelRequest, callback: google.cloud.contactcenterinsights.v1.ContactCenterInsights.DeleteIssueModelCallback): void;
+
+ /**
+ * Calls DeleteIssueModel.
+ * @param request DeleteIssueModelRequest message or plain object
+ * @returns Promise
+ */
+ public deleteIssueModel(request: google.cloud.contactcenterinsights.v1.IDeleteIssueModelRequest): Promise;
+
+ /**
+ * Calls DeployIssueModel.
+ * @param request DeployIssueModelRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and Operation
+ */
+ public deployIssueModel(request: google.cloud.contactcenterinsights.v1.IDeployIssueModelRequest, callback: google.cloud.contactcenterinsights.v1.ContactCenterInsights.DeployIssueModelCallback): void;
+
+ /**
+ * Calls DeployIssueModel.
+ * @param request DeployIssueModelRequest message or plain object
+ * @returns Promise
+ */
+ public deployIssueModel(request: google.cloud.contactcenterinsights.v1.IDeployIssueModelRequest): Promise;
+
+ /**
+ * Calls UndeployIssueModel.
+ * @param request UndeployIssueModelRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and Operation
+ */
+ public undeployIssueModel(request: google.cloud.contactcenterinsights.v1.IUndeployIssueModelRequest, callback: google.cloud.contactcenterinsights.v1.ContactCenterInsights.UndeployIssueModelCallback): void;
+
+ /**
+ * Calls UndeployIssueModel.
+ * @param request UndeployIssueModelRequest message or plain object
+ * @returns Promise
+ */
+ public undeployIssueModel(request: google.cloud.contactcenterinsights.v1.IUndeployIssueModelRequest): Promise;
+
+ /**
+ * Calls GetIssue.
+ * @param request GetIssueRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and Issue
+ */
+ public getIssue(request: google.cloud.contactcenterinsights.v1.IGetIssueRequest, callback: google.cloud.contactcenterinsights.v1.ContactCenterInsights.GetIssueCallback): void;
+
+ /**
+ * Calls GetIssue.
+ * @param request GetIssueRequest message or plain object
+ * @returns Promise
+ */
+ public getIssue(request: google.cloud.contactcenterinsights.v1.IGetIssueRequest): Promise;
+
+ /**
+ * Calls ListIssues.
+ * @param request ListIssuesRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and ListIssuesResponse
+ */
+ public listIssues(request: google.cloud.contactcenterinsights.v1.IListIssuesRequest, callback: google.cloud.contactcenterinsights.v1.ContactCenterInsights.ListIssuesCallback): void;
+
+ /**
+ * Calls ListIssues.
+ * @param request ListIssuesRequest message or plain object
+ * @returns Promise
+ */
+ public listIssues(request: google.cloud.contactcenterinsights.v1.IListIssuesRequest): Promise;
+
+ /**
+ * Calls UpdateIssue.
+ * @param request UpdateIssueRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and Issue
+ */
+ public updateIssue(request: google.cloud.contactcenterinsights.v1.IUpdateIssueRequest, callback: google.cloud.contactcenterinsights.v1.ContactCenterInsights.UpdateIssueCallback): void;
+
+ /**
+ * Calls UpdateIssue.
+ * @param request UpdateIssueRequest message or plain object
+ * @returns Promise
+ */
+ public updateIssue(request: google.cloud.contactcenterinsights.v1.IUpdateIssueRequest): Promise;
+
+ /**
+ * Calls CalculateIssueModelStats.
+ * @param request CalculateIssueModelStatsRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and CalculateIssueModelStatsResponse
+ */
+ public calculateIssueModelStats(request: google.cloud.contactcenterinsights.v1.ICalculateIssueModelStatsRequest, callback: google.cloud.contactcenterinsights.v1.ContactCenterInsights.CalculateIssueModelStatsCallback): void;
+
+ /**
+ * Calls CalculateIssueModelStats.
+ * @param request CalculateIssueModelStatsRequest message or plain object
+ * @returns Promise
+ */
+ public calculateIssueModelStats(request: google.cloud.contactcenterinsights.v1.ICalculateIssueModelStatsRequest): Promise;
+
+ /**
+ * Calls CreatePhraseMatcher.
+ * @param request CreatePhraseMatcherRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and PhraseMatcher
+ */
+ public createPhraseMatcher(request: google.cloud.contactcenterinsights.v1.ICreatePhraseMatcherRequest, callback: google.cloud.contactcenterinsights.v1.ContactCenterInsights.CreatePhraseMatcherCallback): void;
+
+ /**
+ * Calls CreatePhraseMatcher.
+ * @param request CreatePhraseMatcherRequest message or plain object
+ * @returns Promise
+ */
+ public createPhraseMatcher(request: google.cloud.contactcenterinsights.v1.ICreatePhraseMatcherRequest): Promise;
+
+ /**
+ * Calls GetPhraseMatcher.
+ * @param request GetPhraseMatcherRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and PhraseMatcher
+ */
+ public getPhraseMatcher(request: google.cloud.contactcenterinsights.v1.IGetPhraseMatcherRequest, callback: google.cloud.contactcenterinsights.v1.ContactCenterInsights.GetPhraseMatcherCallback): void;
+
+ /**
+ * Calls GetPhraseMatcher.
+ * @param request GetPhraseMatcherRequest message or plain object
+ * @returns Promise
+ */
+ public getPhraseMatcher(request: google.cloud.contactcenterinsights.v1.IGetPhraseMatcherRequest): Promise;
+
+ /**
+ * Calls ListPhraseMatchers.
+ * @param request ListPhraseMatchersRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and ListPhraseMatchersResponse
+ */
+ public listPhraseMatchers(request: google.cloud.contactcenterinsights.v1.IListPhraseMatchersRequest, callback: google.cloud.contactcenterinsights.v1.ContactCenterInsights.ListPhraseMatchersCallback): void;
+
+ /**
+ * Calls ListPhraseMatchers.
+ * @param request ListPhraseMatchersRequest message or plain object
+ * @returns Promise
+ */
+ public listPhraseMatchers(request: google.cloud.contactcenterinsights.v1.IListPhraseMatchersRequest): Promise;
+
+ /**
+ * Calls DeletePhraseMatcher.
+ * @param request DeletePhraseMatcherRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and Empty
+ */
+ public deletePhraseMatcher(request: google.cloud.contactcenterinsights.v1.IDeletePhraseMatcherRequest, callback: google.cloud.contactcenterinsights.v1.ContactCenterInsights.DeletePhraseMatcherCallback): void;
+
+ /**
+ * Calls DeletePhraseMatcher.
+ * @param request DeletePhraseMatcherRequest message or plain object
+ * @returns Promise
+ */
+ public deletePhraseMatcher(request: google.cloud.contactcenterinsights.v1.IDeletePhraseMatcherRequest): Promise;
+
+ /**
+ * Calls UpdatePhraseMatcher.
+ * @param request UpdatePhraseMatcherRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and PhraseMatcher
+ */
+ public updatePhraseMatcher(request: google.cloud.contactcenterinsights.v1.IUpdatePhraseMatcherRequest, callback: google.cloud.contactcenterinsights.v1.ContactCenterInsights.UpdatePhraseMatcherCallback): void;
+
+ /**
+ * Calls UpdatePhraseMatcher.
+ * @param request UpdatePhraseMatcherRequest message or plain object
+ * @returns Promise
+ */
+ public updatePhraseMatcher(request: google.cloud.contactcenterinsights.v1.IUpdatePhraseMatcherRequest): Promise;
+
+ /**
+ * Calls CalculateStats.
+ * @param request CalculateStatsRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and CalculateStatsResponse
+ */
+ public calculateStats(request: google.cloud.contactcenterinsights.v1.ICalculateStatsRequest, callback: google.cloud.contactcenterinsights.v1.ContactCenterInsights.CalculateStatsCallback): void;
+
+ /**
+ * Calls CalculateStats.
+ * @param request CalculateStatsRequest message or plain object
+ * @returns Promise
+ */
+ public calculateStats(request: google.cloud.contactcenterinsights.v1.ICalculateStatsRequest): Promise;
+
+ /**
+ * Calls GetSettings.
+ * @param request GetSettingsRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and Settings
+ */
+ public getSettings(request: google.cloud.contactcenterinsights.v1.IGetSettingsRequest, callback: google.cloud.contactcenterinsights.v1.ContactCenterInsights.GetSettingsCallback): void;
+
+ /**
+ * Calls GetSettings.
+ * @param request GetSettingsRequest message or plain object
+ * @returns Promise
+ */
+ public getSettings(request: google.cloud.contactcenterinsights.v1.IGetSettingsRequest): Promise;
+
+ /**
+ * Calls UpdateSettings.
+ * @param request UpdateSettingsRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and Settings
+ */
+ public updateSettings(request: google.cloud.contactcenterinsights.v1.IUpdateSettingsRequest, callback: google.cloud.contactcenterinsights.v1.ContactCenterInsights.UpdateSettingsCallback): void;
+
+ /**
+ * Calls UpdateSettings.
+ * @param request UpdateSettingsRequest message or plain object
+ * @returns Promise
+ */
+ public updateSettings(request: google.cloud.contactcenterinsights.v1.IUpdateSettingsRequest): Promise;
+
+ /**
+ * Calls CreateView.
+ * @param request CreateViewRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and View
+ */
+ public createView(request: google.cloud.contactcenterinsights.v1.ICreateViewRequest, callback: google.cloud.contactcenterinsights.v1.ContactCenterInsights.CreateViewCallback): void;
+
+ /**
+ * Calls CreateView.
+ * @param request CreateViewRequest message or plain object
+ * @returns Promise
+ */
+ public createView(request: google.cloud.contactcenterinsights.v1.ICreateViewRequest): Promise;
+
+ /**
+ * Calls GetView.
+ * @param request GetViewRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and View
+ */
+ public getView(request: google.cloud.contactcenterinsights.v1.IGetViewRequest, callback: google.cloud.contactcenterinsights.v1.ContactCenterInsights.GetViewCallback): void;
+
+ /**
+ * Calls GetView.
+ * @param request GetViewRequest message or plain object
+ * @returns Promise
+ */
+ public getView(request: google.cloud.contactcenterinsights.v1.IGetViewRequest): Promise;
+
+ /**
+ * Calls ListViews.
+ * @param request ListViewsRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and ListViewsResponse
+ */
+ public listViews(request: google.cloud.contactcenterinsights.v1.IListViewsRequest, callback: google.cloud.contactcenterinsights.v1.ContactCenterInsights.ListViewsCallback): void;
+
+ /**
+ * Calls ListViews.
+ * @param request ListViewsRequest message or plain object
+ * @returns Promise
+ */
+ public listViews(request: google.cloud.contactcenterinsights.v1.IListViewsRequest): Promise;
+
+ /**
+ * Calls UpdateView.
+ * @param request UpdateViewRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and View
+ */
+ public updateView(request: google.cloud.contactcenterinsights.v1.IUpdateViewRequest, callback: google.cloud.contactcenterinsights.v1.ContactCenterInsights.UpdateViewCallback): void;
+
+ /**
+ * Calls UpdateView.
+ * @param request UpdateViewRequest message or plain object
+ * @returns Promise
+ */
+ public updateView(request: google.cloud.contactcenterinsights.v1.IUpdateViewRequest): Promise;
+
+ /**
+ * Calls DeleteView.
+ * @param request DeleteViewRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and Empty
+ */
+ public deleteView(request: google.cloud.contactcenterinsights.v1.IDeleteViewRequest, callback: google.cloud.contactcenterinsights.v1.ContactCenterInsights.DeleteViewCallback): void;
+
+ /**
+ * Calls DeleteView.
+ * @param request DeleteViewRequest message or plain object
+ * @returns Promise
+ */
+ public deleteView(request: google.cloud.contactcenterinsights.v1.IDeleteViewRequest): Promise;
+ }
+
+ namespace ContactCenterInsights {
+
+ /**
+ * Callback as used by {@link google.cloud.contactcenterinsights.v1.ContactCenterInsights|createConversation}.
+ * @param error Error, if any
+ * @param [response] Conversation
+ */
+ type CreateConversationCallback = (error: (Error|null), response?: google.cloud.contactcenterinsights.v1.Conversation) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.contactcenterinsights.v1.ContactCenterInsights|updateConversation}.
+ * @param error Error, if any
+ * @param [response] Conversation
+ */
+ type UpdateConversationCallback = (error: (Error|null), response?: google.cloud.contactcenterinsights.v1.Conversation) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.contactcenterinsights.v1.ContactCenterInsights|getConversation}.
+ * @param error Error, if any
+ * @param [response] Conversation
+ */
+ type GetConversationCallback = (error: (Error|null), response?: google.cloud.contactcenterinsights.v1.Conversation) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.contactcenterinsights.v1.ContactCenterInsights|listConversations}.
+ * @param error Error, if any
+ * @param [response] ListConversationsResponse
+ */
+ type ListConversationsCallback = (error: (Error|null), response?: google.cloud.contactcenterinsights.v1.ListConversationsResponse) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.contactcenterinsights.v1.ContactCenterInsights|deleteConversation}.
+ * @param error Error, if any
+ * @param [response] Empty
+ */
+ type DeleteConversationCallback = (error: (Error|null), response?: google.protobuf.Empty) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.contactcenterinsights.v1.ContactCenterInsights|createAnalysis}.
+ * @param error Error, if any
+ * @param [response] Operation
+ */
+ type CreateAnalysisCallback = (error: (Error|null), response?: google.longrunning.Operation) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.contactcenterinsights.v1.ContactCenterInsights|getAnalysis}.
+ * @param error Error, if any
+ * @param [response] Analysis
+ */
+ type GetAnalysisCallback = (error: (Error|null), response?: google.cloud.contactcenterinsights.v1.Analysis) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.contactcenterinsights.v1.ContactCenterInsights|listAnalyses}.
+ * @param error Error, if any
+ * @param [response] ListAnalysesResponse
+ */
+ type ListAnalysesCallback = (error: (Error|null), response?: google.cloud.contactcenterinsights.v1.ListAnalysesResponse) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.contactcenterinsights.v1.ContactCenterInsights|deleteAnalysis}.
+ * @param error Error, if any
+ * @param [response] Empty
+ */
+ type DeleteAnalysisCallback = (error: (Error|null), response?: google.protobuf.Empty) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.contactcenterinsights.v1.ContactCenterInsights|exportInsightsData}.
+ * @param error Error, if any
+ * @param [response] Operation
+ */
+ type ExportInsightsDataCallback = (error: (Error|null), response?: google.longrunning.Operation) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.contactcenterinsights.v1.ContactCenterInsights|createIssueModel}.
+ * @param error Error, if any
+ * @param [response] Operation
+ */
+ type CreateIssueModelCallback = (error: (Error|null), response?: google.longrunning.Operation) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.contactcenterinsights.v1.ContactCenterInsights|updateIssueModel}.
+ * @param error Error, if any
+ * @param [response] IssueModel
+ */
+ type UpdateIssueModelCallback = (error: (Error|null), response?: google.cloud.contactcenterinsights.v1.IssueModel) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.contactcenterinsights.v1.ContactCenterInsights|getIssueModel}.
+ * @param error Error, if any
+ * @param [response] IssueModel
+ */
+ type GetIssueModelCallback = (error: (Error|null), response?: google.cloud.contactcenterinsights.v1.IssueModel) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.contactcenterinsights.v1.ContactCenterInsights|listIssueModels}.
+ * @param error Error, if any
+ * @param [response] ListIssueModelsResponse
+ */
+ type ListIssueModelsCallback = (error: (Error|null), response?: google.cloud.contactcenterinsights.v1.ListIssueModelsResponse) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.contactcenterinsights.v1.ContactCenterInsights|deleteIssueModel}.
+ * @param error Error, if any
+ * @param [response] Operation
+ */
+ type DeleteIssueModelCallback = (error: (Error|null), response?: google.longrunning.Operation) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.contactcenterinsights.v1.ContactCenterInsights|deployIssueModel}.
+ * @param error Error, if any
+ * @param [response] Operation
+ */
+ type DeployIssueModelCallback = (error: (Error|null), response?: google.longrunning.Operation) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.contactcenterinsights.v1.ContactCenterInsights|undeployIssueModel}.
+ * @param error Error, if any
+ * @param [response] Operation
+ */
+ type UndeployIssueModelCallback = (error: (Error|null), response?: google.longrunning.Operation) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.contactcenterinsights.v1.ContactCenterInsights|getIssue}.
+ * @param error Error, if any
+ * @param [response] Issue
+ */
+ type GetIssueCallback = (error: (Error|null), response?: google.cloud.contactcenterinsights.v1.Issue) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.contactcenterinsights.v1.ContactCenterInsights|listIssues}.
+ * @param error Error, if any
+ * @param [response] ListIssuesResponse
+ */
+ type ListIssuesCallback = (error: (Error|null), response?: google.cloud.contactcenterinsights.v1.ListIssuesResponse) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.contactcenterinsights.v1.ContactCenterInsights|updateIssue}.
+ * @param error Error, if any
+ * @param [response] Issue
+ */
+ type UpdateIssueCallback = (error: (Error|null), response?: google.cloud.contactcenterinsights.v1.Issue) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.contactcenterinsights.v1.ContactCenterInsights|calculateIssueModelStats}.
+ * @param error Error, if any
+ * @param [response] CalculateIssueModelStatsResponse
+ */
+ type CalculateIssueModelStatsCallback = (error: (Error|null), response?: google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsResponse) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.contactcenterinsights.v1.ContactCenterInsights|createPhraseMatcher}.
+ * @param error Error, if any
+ * @param [response] PhraseMatcher
+ */
+ type CreatePhraseMatcherCallback = (error: (Error|null), response?: google.cloud.contactcenterinsights.v1.PhraseMatcher) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.contactcenterinsights.v1.ContactCenterInsights|getPhraseMatcher}.
+ * @param error Error, if any
+ * @param [response] PhraseMatcher
+ */
+ type GetPhraseMatcherCallback = (error: (Error|null), response?: google.cloud.contactcenterinsights.v1.PhraseMatcher) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.contactcenterinsights.v1.ContactCenterInsights|listPhraseMatchers}.
+ * @param error Error, if any
+ * @param [response] ListPhraseMatchersResponse
+ */
+ type ListPhraseMatchersCallback = (error: (Error|null), response?: google.cloud.contactcenterinsights.v1.ListPhraseMatchersResponse) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.contactcenterinsights.v1.ContactCenterInsights|deletePhraseMatcher}.
+ * @param error Error, if any
+ * @param [response] Empty
+ */
+ type DeletePhraseMatcherCallback = (error: (Error|null), response?: google.protobuf.Empty) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.contactcenterinsights.v1.ContactCenterInsights|updatePhraseMatcher}.
+ * @param error Error, if any
+ * @param [response] PhraseMatcher
+ */
+ type UpdatePhraseMatcherCallback = (error: (Error|null), response?: google.cloud.contactcenterinsights.v1.PhraseMatcher) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.contactcenterinsights.v1.ContactCenterInsights|calculateStats}.
+ * @param error Error, if any
+ * @param [response] CalculateStatsResponse
+ */
+ type CalculateStatsCallback = (error: (Error|null), response?: google.cloud.contactcenterinsights.v1.CalculateStatsResponse) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.contactcenterinsights.v1.ContactCenterInsights|getSettings}.
+ * @param error Error, if any
+ * @param [response] Settings
+ */
+ type GetSettingsCallback = (error: (Error|null), response?: google.cloud.contactcenterinsights.v1.Settings) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.contactcenterinsights.v1.ContactCenterInsights|updateSettings}.
+ * @param error Error, if any
+ * @param [response] Settings
+ */
+ type UpdateSettingsCallback = (error: (Error|null), response?: google.cloud.contactcenterinsights.v1.Settings) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.contactcenterinsights.v1.ContactCenterInsights|createView}.
+ * @param error Error, if any
+ * @param [response] View
+ */
+ type CreateViewCallback = (error: (Error|null), response?: google.cloud.contactcenterinsights.v1.View) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.contactcenterinsights.v1.ContactCenterInsights|getView}.
+ * @param error Error, if any
+ * @param [response] View
+ */
+ type GetViewCallback = (error: (Error|null), response?: google.cloud.contactcenterinsights.v1.View) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.contactcenterinsights.v1.ContactCenterInsights|listViews}.
+ * @param error Error, if any
+ * @param [response] ListViewsResponse
+ */
+ type ListViewsCallback = (error: (Error|null), response?: google.cloud.contactcenterinsights.v1.ListViewsResponse) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.contactcenterinsights.v1.ContactCenterInsights|updateView}.
+ * @param error Error, if any
+ * @param [response] View
+ */
+ type UpdateViewCallback = (error: (Error|null), response?: google.cloud.contactcenterinsights.v1.View) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.contactcenterinsights.v1.ContactCenterInsights|deleteView}.
+ * @param error Error, if any
+ * @param [response] Empty
+ */
+ type DeleteViewCallback = (error: (Error|null), response?: google.protobuf.Empty) => void;
+ }
+
+ /** ConversationView enum. */
+ enum ConversationView {
+ CONVERSATION_VIEW_UNSPECIFIED = 0,
+ FULL = 2,
+ BASIC = 1
+ }
+
+ /** Properties of a CalculateStatsRequest. */
+ interface ICalculateStatsRequest {
+
+ /** CalculateStatsRequest location */
+ location?: (string|null);
+
+ /** CalculateStatsRequest filter */
+ filter?: (string|null);
+ }
+
+ /** Represents a CalculateStatsRequest. */
+ class CalculateStatsRequest implements ICalculateStatsRequest {
+
+ /**
+ * Constructs a new CalculateStatsRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.contactcenterinsights.v1.ICalculateStatsRequest);
+
+ /** CalculateStatsRequest location. */
+ public location: string;
+
+ /** CalculateStatsRequest filter. */
+ public filter: string;
+
+ /**
+ * Creates a new CalculateStatsRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns CalculateStatsRequest instance
+ */
+ public static create(properties?: google.cloud.contactcenterinsights.v1.ICalculateStatsRequest): google.cloud.contactcenterinsights.v1.CalculateStatsRequest;
+
+ /**
+ * Encodes the specified CalculateStatsRequest message. Does not implicitly {@link google.cloud.contactcenterinsights.v1.CalculateStatsRequest.verify|verify} messages.
+ * @param message CalculateStatsRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.contactcenterinsights.v1.ICalculateStatsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified CalculateStatsRequest message, length delimited. Does not implicitly {@link google.cloud.contactcenterinsights.v1.CalculateStatsRequest.verify|verify} messages.
+ * @param message CalculateStatsRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.contactcenterinsights.v1.ICalculateStatsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a CalculateStatsRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns CalculateStatsRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.contactcenterinsights.v1.CalculateStatsRequest;
+
+ /**
+ * Decodes a CalculateStatsRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns CalculateStatsRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.contactcenterinsights.v1.CalculateStatsRequest;
+
+ /**
+ * Verifies a CalculateStatsRequest message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a CalculateStatsRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns CalculateStatsRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.contactcenterinsights.v1.CalculateStatsRequest;
+
+ /**
+ * Creates a plain object from a CalculateStatsRequest message. Also converts values to other types if specified.
+ * @param message CalculateStatsRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.contactcenterinsights.v1.CalculateStatsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this CalculateStatsRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for CalculateStatsRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a CalculateStatsResponse. */
+ interface ICalculateStatsResponse {
+
+ /** CalculateStatsResponse averageDuration */
+ averageDuration?: (google.protobuf.IDuration|null);
+
+ /** CalculateStatsResponse averageTurnCount */
+ averageTurnCount?: (number|null);
+
+ /** CalculateStatsResponse conversationCount */
+ conversationCount?: (number|null);
+
+ /** CalculateStatsResponse smartHighlighterMatches */
+ smartHighlighterMatches?: ({ [k: string]: number }|null);
+
+ /** CalculateStatsResponse customHighlighterMatches */
+ customHighlighterMatches?: ({ [k: string]: number }|null);
+
+ /** CalculateStatsResponse issueMatches */
+ issueMatches?: ({ [k: string]: number }|null);
+
+ /** CalculateStatsResponse issueMatchesStats */
+ issueMatchesStats?: ({ [k: string]: google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IIssueStats }|null);
+
+ /** CalculateStatsResponse conversationCountTimeSeries */
+ conversationCountTimeSeries?: (google.cloud.contactcenterinsights.v1.CalculateStatsResponse.ITimeSeries|null);
+ }
+
+ /** Represents a CalculateStatsResponse. */
+ class CalculateStatsResponse implements ICalculateStatsResponse {
+
+ /**
+ * Constructs a new CalculateStatsResponse.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.contactcenterinsights.v1.ICalculateStatsResponse);
+
+ /** CalculateStatsResponse averageDuration. */
+ public averageDuration?: (google.protobuf.IDuration|null);
+
+ /** CalculateStatsResponse averageTurnCount. */
+ public averageTurnCount: number;
+
+ /** CalculateStatsResponse conversationCount. */
+ public conversationCount: number;
+
+ /** CalculateStatsResponse smartHighlighterMatches. */
+ public smartHighlighterMatches: { [k: string]: number };
+
+ /** CalculateStatsResponse customHighlighterMatches. */
+ public customHighlighterMatches: { [k: string]: number };
+
+ /** CalculateStatsResponse issueMatches. */
+ public issueMatches: { [k: string]: number };
+
+ /** CalculateStatsResponse issueMatchesStats. */
+ public issueMatchesStats: { [k: string]: google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IIssueStats };
+
+ /** CalculateStatsResponse conversationCountTimeSeries. */
+ public conversationCountTimeSeries?: (google.cloud.contactcenterinsights.v1.CalculateStatsResponse.ITimeSeries|null);
+
+ /**
+ * Creates a new CalculateStatsResponse instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns CalculateStatsResponse instance
+ */
+ public static create(properties?: google.cloud.contactcenterinsights.v1.ICalculateStatsResponse): google.cloud.contactcenterinsights.v1.CalculateStatsResponse;
+
+ /**
+ * Encodes the specified CalculateStatsResponse message. Does not implicitly {@link google.cloud.contactcenterinsights.v1.CalculateStatsResponse.verify|verify} messages.
+ * @param message CalculateStatsResponse message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.contactcenterinsights.v1.ICalculateStatsResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified CalculateStatsResponse message, length delimited. Does not implicitly {@link google.cloud.contactcenterinsights.v1.CalculateStatsResponse.verify|verify} messages.
+ * @param message CalculateStatsResponse message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.contactcenterinsights.v1.ICalculateStatsResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a CalculateStatsResponse message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns CalculateStatsResponse
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.contactcenterinsights.v1.CalculateStatsResponse;
+
+ /**
+ * Decodes a CalculateStatsResponse message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns CalculateStatsResponse
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.contactcenterinsights.v1.CalculateStatsResponse;
+
+ /**
+ * Verifies a CalculateStatsResponse message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a CalculateStatsResponse message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns CalculateStatsResponse
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.contactcenterinsights.v1.CalculateStatsResponse;
+
+ /**
+ * Creates a plain object from a CalculateStatsResponse message. Also converts values to other types if specified.
+ * @param message CalculateStatsResponse
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.contactcenterinsights.v1.CalculateStatsResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this CalculateStatsResponse to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for CalculateStatsResponse
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace CalculateStatsResponse {
+
+ /** Properties of a TimeSeries. */
+ interface ITimeSeries {
+
+ /** TimeSeries intervalDuration */
+ intervalDuration?: (google.protobuf.IDuration|null);
+
+ /** TimeSeries points */
+ points?: (google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.IInterval[]|null);
+ }
+
+ /** Represents a TimeSeries. */
+ class TimeSeries implements ITimeSeries {
+
+ /**
+ * Constructs a new TimeSeries.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.contactcenterinsights.v1.CalculateStatsResponse.ITimeSeries);
+
+ /** TimeSeries intervalDuration. */
+ public intervalDuration?: (google.protobuf.IDuration|null);
+
+ /** TimeSeries points. */
+ public points: google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.IInterval[];
+
+ /**
+ * Creates a new TimeSeries instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns TimeSeries instance
+ */
+ public static create(properties?: google.cloud.contactcenterinsights.v1.CalculateStatsResponse.ITimeSeries): google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries;
+
+ /**
+ * Encodes the specified TimeSeries message. Does not implicitly {@link google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.verify|verify} messages.
+ * @param message TimeSeries message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.contactcenterinsights.v1.CalculateStatsResponse.ITimeSeries, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified TimeSeries message, length delimited. Does not implicitly {@link google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.verify|verify} messages.
+ * @param message TimeSeries message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.contactcenterinsights.v1.CalculateStatsResponse.ITimeSeries, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a TimeSeries message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns TimeSeries
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries;
+
+ /**
+ * Decodes a TimeSeries message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns TimeSeries
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries;
+
+ /**
+ * Verifies a TimeSeries message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a TimeSeries message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns TimeSeries
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries;
+
+ /**
+ * Creates a plain object from a TimeSeries message. Also converts values to other types if specified.
+ * @param message TimeSeries
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this TimeSeries to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for TimeSeries
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace TimeSeries {
+
+ /** Properties of an Interval. */
+ interface IInterval {
+
+ /** Interval startTime */
+ startTime?: (google.protobuf.ITimestamp|null);
+
+ /** Interval conversationCount */
+ conversationCount?: (number|null);
+ }
+
+ /** Represents an Interval. */
+ class Interval implements IInterval {
+
+ /**
+ * Constructs a new Interval.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.IInterval);
+
+ /** Interval startTime. */
+ public startTime?: (google.protobuf.ITimestamp|null);
+
+ /** Interval conversationCount. */
+ public conversationCount: number;
+
+ /**
+ * Creates a new Interval instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns Interval instance
+ */
+ public static create(properties?: google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.IInterval): google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval;
+
+ /**
+ * Encodes the specified Interval message. Does not implicitly {@link google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval.verify|verify} messages.
+ * @param message Interval message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.IInterval, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified Interval message, length delimited. Does not implicitly {@link google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval.verify|verify} messages.
+ * @param message Interval message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.IInterval, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an Interval message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns Interval
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval;
+
+ /**
+ * Decodes an Interval message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns Interval
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval;
+
+ /**
+ * Verifies an Interval message.
+ * @param message Plain 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 Interval message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns Interval
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval;
+
+ /**
+ * Creates a plain object from an Interval message. Also converts values to other types if specified.
+ * @param message Interval
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this Interval to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for Interval
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+ }
+ }
+
+ /** Properties of a CreateAnalysisOperationMetadata. */
+ interface ICreateAnalysisOperationMetadata {
+
+ /** CreateAnalysisOperationMetadata createTime */
+ createTime?: (google.protobuf.ITimestamp|null);
+
+ /** CreateAnalysisOperationMetadata endTime */
+ endTime?: (google.protobuf.ITimestamp|null);
+
+ /** CreateAnalysisOperationMetadata conversation */
+ conversation?: (string|null);
+ }
+
+ /** Represents a CreateAnalysisOperationMetadata. */
+ class CreateAnalysisOperationMetadata implements ICreateAnalysisOperationMetadata {
+
+ /**
+ * Constructs a new CreateAnalysisOperationMetadata.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.contactcenterinsights.v1.ICreateAnalysisOperationMetadata);
+
+ /** CreateAnalysisOperationMetadata createTime. */
+ public createTime?: (google.protobuf.ITimestamp|null);
+
+ /** CreateAnalysisOperationMetadata endTime. */
+ public endTime?: (google.protobuf.ITimestamp|null);
+
+ /** CreateAnalysisOperationMetadata conversation. */
+ public conversation: string;
+
+ /**
+ * Creates a new CreateAnalysisOperationMetadata instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns CreateAnalysisOperationMetadata instance
+ */
+ public static create(properties?: google.cloud.contactcenterinsights.v1.ICreateAnalysisOperationMetadata): google.cloud.contactcenterinsights.v1.CreateAnalysisOperationMetadata;
+
+ /**
+ * Encodes the specified CreateAnalysisOperationMetadata message. Does not implicitly {@link google.cloud.contactcenterinsights.v1.CreateAnalysisOperationMetadata.verify|verify} messages.
+ * @param message CreateAnalysisOperationMetadata message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.contactcenterinsights.v1.ICreateAnalysisOperationMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified CreateAnalysisOperationMetadata message, length delimited. Does not implicitly {@link google.cloud.contactcenterinsights.v1.CreateAnalysisOperationMetadata.verify|verify} messages.
+ * @param message CreateAnalysisOperationMetadata message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.contactcenterinsights.v1.ICreateAnalysisOperationMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a CreateAnalysisOperationMetadata message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns CreateAnalysisOperationMetadata
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.contactcenterinsights.v1.CreateAnalysisOperationMetadata;
+
+ /**
+ * Decodes a CreateAnalysisOperationMetadata message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns CreateAnalysisOperationMetadata
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.contactcenterinsights.v1.CreateAnalysisOperationMetadata;
+
+ /**
+ * Verifies a CreateAnalysisOperationMetadata message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a CreateAnalysisOperationMetadata message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns CreateAnalysisOperationMetadata
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.contactcenterinsights.v1.CreateAnalysisOperationMetadata;
+
+ /**
+ * Creates a plain object from a CreateAnalysisOperationMetadata message. Also converts values to other types if specified.
+ * @param message CreateAnalysisOperationMetadata
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.contactcenterinsights.v1.CreateAnalysisOperationMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this CreateAnalysisOperationMetadata to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for CreateAnalysisOperationMetadata
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a CreateConversationRequest. */
+ interface ICreateConversationRequest {
+
+ /** CreateConversationRequest parent */
+ parent?: (string|null);
+
+ /** CreateConversationRequest conversation */
+ conversation?: (google.cloud.contactcenterinsights.v1.IConversation|null);
+
+ /** CreateConversationRequest conversationId */
+ conversationId?: (string|null);
+ }
+
+ /** Represents a CreateConversationRequest. */
+ class CreateConversationRequest implements ICreateConversationRequest {
+
+ /**
+ * Constructs a new CreateConversationRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.contactcenterinsights.v1.ICreateConversationRequest);
+
+ /** CreateConversationRequest parent. */
+ public parent: string;
+
+ /** CreateConversationRequest conversation. */
+ public conversation?: (google.cloud.contactcenterinsights.v1.IConversation|null);
+
+ /** CreateConversationRequest conversationId. */
+ public conversationId: string;
+
+ /**
+ * Creates a new CreateConversationRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns CreateConversationRequest instance
+ */
+ public static create(properties?: google.cloud.contactcenterinsights.v1.ICreateConversationRequest): google.cloud.contactcenterinsights.v1.CreateConversationRequest;
+
+ /**
+ * Encodes the specified CreateConversationRequest message. Does not implicitly {@link google.cloud.contactcenterinsights.v1.CreateConversationRequest.verify|verify} messages.
+ * @param message CreateConversationRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.contactcenterinsights.v1.ICreateConversationRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified CreateConversationRequest message, length delimited. Does not implicitly {@link google.cloud.contactcenterinsights.v1.CreateConversationRequest.verify|verify} messages.
+ * @param message CreateConversationRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.contactcenterinsights.v1.ICreateConversationRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a CreateConversationRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns CreateConversationRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.contactcenterinsights.v1.CreateConversationRequest;
+
+ /**
+ * Decodes a CreateConversationRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns CreateConversationRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.contactcenterinsights.v1.CreateConversationRequest;
+
+ /**
+ * Verifies a CreateConversationRequest message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a CreateConversationRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns CreateConversationRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.contactcenterinsights.v1.CreateConversationRequest;
+
+ /**
+ * Creates a plain object from a CreateConversationRequest message. Also converts values to other types if specified.
+ * @param message CreateConversationRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.contactcenterinsights.v1.CreateConversationRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this CreateConversationRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for CreateConversationRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a ListConversationsRequest. */
+ interface IListConversationsRequest {
+
+ /** ListConversationsRequest parent */
+ parent?: (string|null);
+
+ /** ListConversationsRequest pageSize */
+ pageSize?: (number|null);
+
+ /** ListConversationsRequest pageToken */
+ pageToken?: (string|null);
+
+ /** ListConversationsRequest filter */
+ filter?: (string|null);
+
+ /** ListConversationsRequest view */
+ view?: (google.cloud.contactcenterinsights.v1.ConversationView|keyof typeof google.cloud.contactcenterinsights.v1.ConversationView|null);
+ }
+
+ /** Represents a ListConversationsRequest. */
+ class ListConversationsRequest implements IListConversationsRequest {
+
+ /**
+ * Constructs a new ListConversationsRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.contactcenterinsights.v1.IListConversationsRequest);
+
+ /** ListConversationsRequest parent. */
+ public parent: string;
+
+ /** ListConversationsRequest pageSize. */
+ public pageSize: number;
+
+ /** ListConversationsRequest pageToken. */
+ public pageToken: string;
+
+ /** ListConversationsRequest filter. */
+ public filter: string;
+
+ /** ListConversationsRequest view. */
+ public view: (google.cloud.contactcenterinsights.v1.ConversationView|keyof typeof google.cloud.contactcenterinsights.v1.ConversationView);
+
+ /**
+ * Creates a new ListConversationsRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ListConversationsRequest instance
+ */
+ public static create(properties?: google.cloud.contactcenterinsights.v1.IListConversationsRequest): google.cloud.contactcenterinsights.v1.ListConversationsRequest;
+
+ /**
+ * Encodes the specified ListConversationsRequest message. Does not implicitly {@link google.cloud.contactcenterinsights.v1.ListConversationsRequest.verify|verify} messages.
+ * @param message ListConversationsRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.contactcenterinsights.v1.IListConversationsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ListConversationsRequest message, length delimited. Does not implicitly {@link google.cloud.contactcenterinsights.v1.ListConversationsRequest.verify|verify} messages.
+ * @param message ListConversationsRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.contactcenterinsights.v1.IListConversationsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ListConversationsRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ListConversationsRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.contactcenterinsights.v1.ListConversationsRequest;
+
+ /**
+ * Decodes a ListConversationsRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ListConversationsRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.contactcenterinsights.v1.ListConversationsRequest;
+
+ /**
+ * Verifies a ListConversationsRequest message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a ListConversationsRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ListConversationsRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.contactcenterinsights.v1.ListConversationsRequest;
+
+ /**
+ * Creates a plain object from a ListConversationsRequest message. Also converts values to other types if specified.
+ * @param message ListConversationsRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.contactcenterinsights.v1.ListConversationsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ListConversationsRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ListConversationsRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a ListConversationsResponse. */
+ interface IListConversationsResponse {
+
+ /** ListConversationsResponse conversations */
+ conversations?: (google.cloud.contactcenterinsights.v1.IConversation[]|null);
+
+ /** ListConversationsResponse nextPageToken */
+ nextPageToken?: (string|null);
+ }
+
+ /** Represents a ListConversationsResponse. */
+ class ListConversationsResponse implements IListConversationsResponse {
+
+ /**
+ * Constructs a new ListConversationsResponse.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.contactcenterinsights.v1.IListConversationsResponse);
+
+ /** ListConversationsResponse conversations. */
+ public conversations: google.cloud.contactcenterinsights.v1.IConversation[];
+
+ /** ListConversationsResponse nextPageToken. */
+ public nextPageToken: string;
+
+ /**
+ * Creates a new ListConversationsResponse instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ListConversationsResponse instance
+ */
+ public static create(properties?: google.cloud.contactcenterinsights.v1.IListConversationsResponse): google.cloud.contactcenterinsights.v1.ListConversationsResponse;
+
+ /**
+ * Encodes the specified ListConversationsResponse message. Does not implicitly {@link google.cloud.contactcenterinsights.v1.ListConversationsResponse.verify|verify} messages.
+ * @param message ListConversationsResponse message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.contactcenterinsights.v1.IListConversationsResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ListConversationsResponse message, length delimited. Does not implicitly {@link google.cloud.contactcenterinsights.v1.ListConversationsResponse.verify|verify} messages.
+ * @param message ListConversationsResponse message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.contactcenterinsights.v1.IListConversationsResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ListConversationsResponse message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ListConversationsResponse
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.contactcenterinsights.v1.ListConversationsResponse;
+
+ /**
+ * Decodes a ListConversationsResponse message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ListConversationsResponse
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.contactcenterinsights.v1.ListConversationsResponse;
+
+ /**
+ * Verifies a ListConversationsResponse message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a ListConversationsResponse message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ListConversationsResponse
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.contactcenterinsights.v1.ListConversationsResponse;
+
+ /**
+ * Creates a plain object from a ListConversationsResponse message. Also converts values to other types if specified.
+ * @param message ListConversationsResponse
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.contactcenterinsights.v1.ListConversationsResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ListConversationsResponse to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ListConversationsResponse
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a GetConversationRequest. */
+ interface IGetConversationRequest {
+
+ /** GetConversationRequest name */
+ name?: (string|null);
+
+ /** GetConversationRequest view */
+ view?: (google.cloud.contactcenterinsights.v1.ConversationView|keyof typeof google.cloud.contactcenterinsights.v1.ConversationView|null);
+ }
+
+ /** Represents a GetConversationRequest. */
+ class GetConversationRequest implements IGetConversationRequest {
+
+ /**
+ * Constructs a new GetConversationRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.contactcenterinsights.v1.IGetConversationRequest);
+
+ /** GetConversationRequest name. */
+ public name: string;
+
+ /** GetConversationRequest view. */
+ public view: (google.cloud.contactcenterinsights.v1.ConversationView|keyof typeof google.cloud.contactcenterinsights.v1.ConversationView);
+
+ /**
+ * Creates a new GetConversationRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns GetConversationRequest instance
+ */
+ public static create(properties?: google.cloud.contactcenterinsights.v1.IGetConversationRequest): google.cloud.contactcenterinsights.v1.GetConversationRequest;
+
+ /**
+ * Encodes the specified GetConversationRequest message. Does not implicitly {@link google.cloud.contactcenterinsights.v1.GetConversationRequest.verify|verify} messages.
+ * @param message GetConversationRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.contactcenterinsights.v1.IGetConversationRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified GetConversationRequest message, length delimited. Does not implicitly {@link google.cloud.contactcenterinsights.v1.GetConversationRequest.verify|verify} messages.
+ * @param message GetConversationRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.contactcenterinsights.v1.IGetConversationRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a GetConversationRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns GetConversationRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.contactcenterinsights.v1.GetConversationRequest;
+
+ /**
+ * Decodes a GetConversationRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns GetConversationRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.contactcenterinsights.v1.GetConversationRequest;
+
+ /**
+ * Verifies a GetConversationRequest message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a GetConversationRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns GetConversationRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.contactcenterinsights.v1.GetConversationRequest;
+
+ /**
+ * Creates a plain object from a GetConversationRequest message. Also converts values to other types if specified.
+ * @param message GetConversationRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.contactcenterinsights.v1.GetConversationRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this GetConversationRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for GetConversationRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of an UpdateConversationRequest. */
+ interface IUpdateConversationRequest {
+
+ /** UpdateConversationRequest conversation */
+ conversation?: (google.cloud.contactcenterinsights.v1.IConversation|null);
+
+ /** UpdateConversationRequest updateMask */
+ updateMask?: (google.protobuf.IFieldMask|null);
+ }
+
+ /** Represents an UpdateConversationRequest. */
+ class UpdateConversationRequest implements IUpdateConversationRequest {
+
+ /**
+ * Constructs a new UpdateConversationRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.contactcenterinsights.v1.IUpdateConversationRequest);
+
+ /** UpdateConversationRequest conversation. */
+ public conversation?: (google.cloud.contactcenterinsights.v1.IConversation|null);
+
+ /** UpdateConversationRequest updateMask. */
+ public updateMask?: (google.protobuf.IFieldMask|null);
+
+ /**
+ * Creates a new UpdateConversationRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns UpdateConversationRequest instance
+ */
+ public static create(properties?: google.cloud.contactcenterinsights.v1.IUpdateConversationRequest): google.cloud.contactcenterinsights.v1.UpdateConversationRequest;
+
+ /**
+ * Encodes the specified UpdateConversationRequest message. Does not implicitly {@link google.cloud.contactcenterinsights.v1.UpdateConversationRequest.verify|verify} messages.
+ * @param message UpdateConversationRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.contactcenterinsights.v1.IUpdateConversationRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified UpdateConversationRequest message, length delimited. Does not implicitly {@link google.cloud.contactcenterinsights.v1.UpdateConversationRequest.verify|verify} messages.
+ * @param message UpdateConversationRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.contactcenterinsights.v1.IUpdateConversationRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an UpdateConversationRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns UpdateConversationRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.contactcenterinsights.v1.UpdateConversationRequest;
+
+ /**
+ * Decodes an UpdateConversationRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns UpdateConversationRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.contactcenterinsights.v1.UpdateConversationRequest;
+
+ /**
+ * Verifies an UpdateConversationRequest message.
+ * @param message Plain 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 UpdateConversationRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns UpdateConversationRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.contactcenterinsights.v1.UpdateConversationRequest;
+
+ /**
+ * Creates a plain object from an UpdateConversationRequest message. Also converts values to other types if specified.
+ * @param message UpdateConversationRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.contactcenterinsights.v1.UpdateConversationRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this UpdateConversationRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for UpdateConversationRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a DeleteConversationRequest. */
+ interface IDeleteConversationRequest {
+
+ /** DeleteConversationRequest name */
+ name?: (string|null);
+
+ /** DeleteConversationRequest force */
+ force?: (boolean|null);
+ }
+
+ /** Represents a DeleteConversationRequest. */
+ class DeleteConversationRequest implements IDeleteConversationRequest {
+
+ /**
+ * Constructs a new DeleteConversationRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.contactcenterinsights.v1.IDeleteConversationRequest);
+
+ /** DeleteConversationRequest name. */
+ public name: string;
+
+ /** DeleteConversationRequest force. */
+ public force: boolean;
+
+ /**
+ * Creates a new DeleteConversationRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns DeleteConversationRequest instance
+ */
+ public static create(properties?: google.cloud.contactcenterinsights.v1.IDeleteConversationRequest): google.cloud.contactcenterinsights.v1.DeleteConversationRequest;
+
+ /**
+ * Encodes the specified DeleteConversationRequest message. Does not implicitly {@link google.cloud.contactcenterinsights.v1.DeleteConversationRequest.verify|verify} messages.
+ * @param message DeleteConversationRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.contactcenterinsights.v1.IDeleteConversationRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified DeleteConversationRequest message, length delimited. Does not implicitly {@link google.cloud.contactcenterinsights.v1.DeleteConversationRequest.verify|verify} messages.
+ * @param message DeleteConversationRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.contactcenterinsights.v1.IDeleteConversationRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a DeleteConversationRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns DeleteConversationRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.contactcenterinsights.v1.DeleteConversationRequest;
+
+ /**
+ * Decodes a DeleteConversationRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns DeleteConversationRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.contactcenterinsights.v1.DeleteConversationRequest;
+
+ /**
+ * Verifies a DeleteConversationRequest message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a DeleteConversationRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns DeleteConversationRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.contactcenterinsights.v1.DeleteConversationRequest;
+
+ /**
+ * Creates a plain object from a DeleteConversationRequest message. Also converts values to other types if specified.
+ * @param message DeleteConversationRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.contactcenterinsights.v1.DeleteConversationRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this DeleteConversationRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for DeleteConversationRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a CreateAnalysisRequest. */
+ interface ICreateAnalysisRequest {
+
+ /** CreateAnalysisRequest parent */
+ parent?: (string|null);
+
+ /** CreateAnalysisRequest analysis */
+ analysis?: (google.cloud.contactcenterinsights.v1.IAnalysis|null);
+ }
+
+ /** Represents a CreateAnalysisRequest. */
+ class CreateAnalysisRequest implements ICreateAnalysisRequest {
+
+ /**
+ * Constructs a new CreateAnalysisRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.contactcenterinsights.v1.ICreateAnalysisRequest);
+
+ /** CreateAnalysisRequest parent. */
+ public parent: string;
+
+ /** CreateAnalysisRequest analysis. */
+ public analysis?: (google.cloud.contactcenterinsights.v1.IAnalysis|null);
+
+ /**
+ * Creates a new CreateAnalysisRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns CreateAnalysisRequest instance
+ */
+ public static create(properties?: google.cloud.contactcenterinsights.v1.ICreateAnalysisRequest): google.cloud.contactcenterinsights.v1.CreateAnalysisRequest;
+
+ /**
+ * Encodes the specified CreateAnalysisRequest message. Does not implicitly {@link google.cloud.contactcenterinsights.v1.CreateAnalysisRequest.verify|verify} messages.
+ * @param message CreateAnalysisRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.contactcenterinsights.v1.ICreateAnalysisRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified CreateAnalysisRequest message, length delimited. Does not implicitly {@link google.cloud.contactcenterinsights.v1.CreateAnalysisRequest.verify|verify} messages.
+ * @param message CreateAnalysisRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.contactcenterinsights.v1.ICreateAnalysisRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a CreateAnalysisRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns CreateAnalysisRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.contactcenterinsights.v1.CreateAnalysisRequest;
+
+ /**
+ * Decodes a CreateAnalysisRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns CreateAnalysisRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.contactcenterinsights.v1.CreateAnalysisRequest;
+
+ /**
+ * Verifies a CreateAnalysisRequest message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a CreateAnalysisRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns CreateAnalysisRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.contactcenterinsights.v1.CreateAnalysisRequest;
+
+ /**
+ * Creates a plain object from a CreateAnalysisRequest message. Also converts values to other types if specified.
+ * @param message CreateAnalysisRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.contactcenterinsights.v1.CreateAnalysisRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this CreateAnalysisRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for CreateAnalysisRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a ListAnalysesRequest. */
+ interface IListAnalysesRequest {
+
+ /** ListAnalysesRequest parent */
+ parent?: (string|null);
+
+ /** ListAnalysesRequest pageSize */
+ pageSize?: (number|null);
+
+ /** ListAnalysesRequest pageToken */
+ pageToken?: (string|null);
+
+ /** ListAnalysesRequest filter */
+ filter?: (string|null);
+ }
+
+ /** Represents a ListAnalysesRequest. */
+ class ListAnalysesRequest implements IListAnalysesRequest {
+
+ /**
+ * Constructs a new ListAnalysesRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.contactcenterinsights.v1.IListAnalysesRequest);
+
+ /** ListAnalysesRequest parent. */
+ public parent: string;
+
+ /** ListAnalysesRequest pageSize. */
+ public pageSize: number;
+
+ /** ListAnalysesRequest pageToken. */
+ public pageToken: string;
+
+ /** ListAnalysesRequest filter. */
+ public filter: string;
+
+ /**
+ * Creates a new ListAnalysesRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ListAnalysesRequest instance
+ */
+ public static create(properties?: google.cloud.contactcenterinsights.v1.IListAnalysesRequest): google.cloud.contactcenterinsights.v1.ListAnalysesRequest;
+
+ /**
+ * Encodes the specified ListAnalysesRequest message. Does not implicitly {@link google.cloud.contactcenterinsights.v1.ListAnalysesRequest.verify|verify} messages.
+ * @param message ListAnalysesRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.contactcenterinsights.v1.IListAnalysesRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ListAnalysesRequest message, length delimited. Does not implicitly {@link google.cloud.contactcenterinsights.v1.ListAnalysesRequest.verify|verify} messages.
+ * @param message ListAnalysesRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.contactcenterinsights.v1.IListAnalysesRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ListAnalysesRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ListAnalysesRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.contactcenterinsights.v1.ListAnalysesRequest;
+
+ /**
+ * Decodes a ListAnalysesRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ListAnalysesRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.contactcenterinsights.v1.ListAnalysesRequest;
+
+ /**
+ * Verifies a ListAnalysesRequest message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a ListAnalysesRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ListAnalysesRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.contactcenterinsights.v1.ListAnalysesRequest;
+
+ /**
+ * Creates a plain object from a ListAnalysesRequest message. Also converts values to other types if specified.
+ * @param message ListAnalysesRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.contactcenterinsights.v1.ListAnalysesRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ListAnalysesRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ListAnalysesRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a ListAnalysesResponse. */
+ interface IListAnalysesResponse {
+
+ /** ListAnalysesResponse analyses */
+ analyses?: (google.cloud.contactcenterinsights.v1.IAnalysis[]|null);
+
+ /** ListAnalysesResponse nextPageToken */
+ nextPageToken?: (string|null);
+ }
+
+ /** Represents a ListAnalysesResponse. */
+ class ListAnalysesResponse implements IListAnalysesResponse {
+
+ /**
+ * Constructs a new ListAnalysesResponse.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.contactcenterinsights.v1.IListAnalysesResponse);
+
+ /** ListAnalysesResponse analyses. */
+ public analyses: google.cloud.contactcenterinsights.v1.IAnalysis[];
+
+ /** ListAnalysesResponse nextPageToken. */
+ public nextPageToken: string;
+
+ /**
+ * Creates a new ListAnalysesResponse instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ListAnalysesResponse instance
+ */
+ public static create(properties?: google.cloud.contactcenterinsights.v1.IListAnalysesResponse): google.cloud.contactcenterinsights.v1.ListAnalysesResponse;
+
+ /**
+ * Encodes the specified ListAnalysesResponse message. Does not implicitly {@link google.cloud.contactcenterinsights.v1.ListAnalysesResponse.verify|verify} messages.
+ * @param message ListAnalysesResponse message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.contactcenterinsights.v1.IListAnalysesResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ListAnalysesResponse message, length delimited. Does not implicitly {@link google.cloud.contactcenterinsights.v1.ListAnalysesResponse.verify|verify} messages.
+ * @param message ListAnalysesResponse message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.contactcenterinsights.v1.IListAnalysesResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ListAnalysesResponse message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ListAnalysesResponse
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.contactcenterinsights.v1.ListAnalysesResponse;
+
+ /**
+ * Decodes a ListAnalysesResponse message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ListAnalysesResponse
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.contactcenterinsights.v1.ListAnalysesResponse;
+
+ /**
+ * Verifies a ListAnalysesResponse message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a ListAnalysesResponse message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ListAnalysesResponse
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.contactcenterinsights.v1.ListAnalysesResponse;
+
+ /**
+ * Creates a plain object from a ListAnalysesResponse message. Also converts values to other types if specified.
+ * @param message ListAnalysesResponse
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.contactcenterinsights.v1.ListAnalysesResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ListAnalysesResponse to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ListAnalysesResponse
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a GetAnalysisRequest. */
+ interface IGetAnalysisRequest {
+
+ /** GetAnalysisRequest name */
+ name?: (string|null);
+ }
+
+ /** Represents a GetAnalysisRequest. */
+ class GetAnalysisRequest implements IGetAnalysisRequest {
+
+ /**
+ * Constructs a new GetAnalysisRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.contactcenterinsights.v1.IGetAnalysisRequest);
+
+ /** GetAnalysisRequest name. */
+ public name: string;
+
+ /**
+ * Creates a new GetAnalysisRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns GetAnalysisRequest instance
+ */
+ public static create(properties?: google.cloud.contactcenterinsights.v1.IGetAnalysisRequest): google.cloud.contactcenterinsights.v1.GetAnalysisRequest;
+
+ /**
+ * Encodes the specified GetAnalysisRequest message. Does not implicitly {@link google.cloud.contactcenterinsights.v1.GetAnalysisRequest.verify|verify} messages.
+ * @param message GetAnalysisRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.contactcenterinsights.v1.IGetAnalysisRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified GetAnalysisRequest message, length delimited. Does not implicitly {@link google.cloud.contactcenterinsights.v1.GetAnalysisRequest.verify|verify} messages.
+ * @param message GetAnalysisRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.contactcenterinsights.v1.IGetAnalysisRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a GetAnalysisRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns GetAnalysisRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.contactcenterinsights.v1.GetAnalysisRequest;
+
+ /**
+ * Decodes a GetAnalysisRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns GetAnalysisRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.contactcenterinsights.v1.GetAnalysisRequest;
+
+ /**
+ * Verifies a GetAnalysisRequest message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a GetAnalysisRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns GetAnalysisRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.contactcenterinsights.v1.GetAnalysisRequest;
+
+ /**
+ * Creates a plain object from a GetAnalysisRequest message. Also converts values to other types if specified.
+ * @param message GetAnalysisRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.contactcenterinsights.v1.GetAnalysisRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this GetAnalysisRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for GetAnalysisRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a DeleteAnalysisRequest. */
+ interface IDeleteAnalysisRequest {
+
+ /** DeleteAnalysisRequest name */
+ name?: (string|null);
+ }
+
+ /** Represents a DeleteAnalysisRequest. */
+ class DeleteAnalysisRequest implements IDeleteAnalysisRequest {
+
+ /**
+ * Constructs a new DeleteAnalysisRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.contactcenterinsights.v1.IDeleteAnalysisRequest);
+
+ /** DeleteAnalysisRequest name. */
+ public name: string;
+
+ /**
+ * Creates a new DeleteAnalysisRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns DeleteAnalysisRequest instance
+ */
+ public static create(properties?: google.cloud.contactcenterinsights.v1.IDeleteAnalysisRequest): google.cloud.contactcenterinsights.v1.DeleteAnalysisRequest;
+
+ /**
+ * Encodes the specified DeleteAnalysisRequest message. Does not implicitly {@link google.cloud.contactcenterinsights.v1.DeleteAnalysisRequest.verify|verify} messages.
+ * @param message DeleteAnalysisRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.contactcenterinsights.v1.IDeleteAnalysisRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified DeleteAnalysisRequest message, length delimited. Does not implicitly {@link google.cloud.contactcenterinsights.v1.DeleteAnalysisRequest.verify|verify} messages.
+ * @param message DeleteAnalysisRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.contactcenterinsights.v1.IDeleteAnalysisRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a DeleteAnalysisRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns DeleteAnalysisRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.contactcenterinsights.v1.DeleteAnalysisRequest;
+
+ /**
+ * Decodes a DeleteAnalysisRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns DeleteAnalysisRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.contactcenterinsights.v1.DeleteAnalysisRequest;
+
+ /**
+ * Verifies a DeleteAnalysisRequest message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a DeleteAnalysisRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns DeleteAnalysisRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.contactcenterinsights.v1.DeleteAnalysisRequest;
+
+ /**
+ * Creates a plain object from a DeleteAnalysisRequest message. Also converts values to other types if specified.
+ * @param message DeleteAnalysisRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.contactcenterinsights.v1.DeleteAnalysisRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this DeleteAnalysisRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for DeleteAnalysisRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of an ExportInsightsDataRequest. */
+ interface IExportInsightsDataRequest {
+
+ /** ExportInsightsDataRequest bigQueryDestination */
+ bigQueryDestination?: (google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.IBigQueryDestination|null);
+
+ /** ExportInsightsDataRequest parent */
+ parent?: (string|null);
+
+ /** ExportInsightsDataRequest filter */
+ filter?: (string|null);
+
+ /** ExportInsightsDataRequest kmsKey */
+ kmsKey?: (string|null);
+
+ /** ExportInsightsDataRequest writeDisposition */
+ writeDisposition?: (google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.WriteDisposition|keyof typeof google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.WriteDisposition|null);
+ }
+
+ /** Represents an ExportInsightsDataRequest. */
+ class ExportInsightsDataRequest implements IExportInsightsDataRequest {
+
+ /**
+ * Constructs a new ExportInsightsDataRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.contactcenterinsights.v1.IExportInsightsDataRequest);
+
+ /** ExportInsightsDataRequest bigQueryDestination. */
+ public bigQueryDestination?: (google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.IBigQueryDestination|null);
+
+ /** ExportInsightsDataRequest parent. */
+ public parent: string;
+
+ /** ExportInsightsDataRequest filter. */
+ public filter: string;
+
+ /** ExportInsightsDataRequest kmsKey. */
+ public kmsKey: string;
+
+ /** ExportInsightsDataRequest writeDisposition. */
+ public writeDisposition: (google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.WriteDisposition|keyof typeof google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.WriteDisposition);
+
+ /** ExportInsightsDataRequest destination. */
+ public destination?: "bigQueryDestination";
+
+ /**
+ * Creates a new ExportInsightsDataRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ExportInsightsDataRequest instance
+ */
+ public static create(properties?: google.cloud.contactcenterinsights.v1.IExportInsightsDataRequest): google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest;
+
+ /**
+ * Encodes the specified ExportInsightsDataRequest message. Does not implicitly {@link google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.verify|verify} messages.
+ * @param message ExportInsightsDataRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.contactcenterinsights.v1.IExportInsightsDataRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ExportInsightsDataRequest message, length delimited. Does not implicitly {@link google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.verify|verify} messages.
+ * @param message ExportInsightsDataRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.contactcenterinsights.v1.IExportInsightsDataRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an ExportInsightsDataRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ExportInsightsDataRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest;
+
+ /**
+ * Decodes an ExportInsightsDataRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ExportInsightsDataRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest;
+
+ /**
+ * Verifies an ExportInsightsDataRequest message.
+ * @param message Plain 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 ExportInsightsDataRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ExportInsightsDataRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest;
+
+ /**
+ * Creates a plain object from an ExportInsightsDataRequest message. Also converts values to other types if specified.
+ * @param message ExportInsightsDataRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ExportInsightsDataRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ExportInsightsDataRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace ExportInsightsDataRequest {
+
+ /** Properties of a BigQueryDestination. */
+ interface IBigQueryDestination {
+
+ /** BigQueryDestination projectId */
+ projectId?: (string|null);
+
+ /** BigQueryDestination dataset */
+ dataset?: (string|null);
+
+ /** BigQueryDestination table */
+ table?: (string|null);
+ }
+
+ /** Represents a BigQueryDestination. */
+ class BigQueryDestination implements IBigQueryDestination {
+
+ /**
+ * Constructs a new BigQueryDestination.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.IBigQueryDestination);
+
+ /** BigQueryDestination projectId. */
+ public projectId: string;
+
+ /** BigQueryDestination dataset. */
+ public dataset: string;
+
+ /** BigQueryDestination table. */
+ public table: string;
+
+ /**
+ * Creates a new BigQueryDestination instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns BigQueryDestination instance
+ */
+ public static create(properties?: google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.IBigQueryDestination): google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination;
+
+ /**
+ * Encodes the specified BigQueryDestination message. Does not implicitly {@link google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination.verify|verify} messages.
+ * @param message BigQueryDestination message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.IBigQueryDestination, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified BigQueryDestination message, length delimited. Does not implicitly {@link google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination.verify|verify} messages.
+ * @param message BigQueryDestination message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.IBigQueryDestination, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a BigQueryDestination message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns BigQueryDestination
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination;
+
+ /**
+ * Decodes a BigQueryDestination message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns BigQueryDestination
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination;
+
+ /**
+ * Verifies a BigQueryDestination message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a BigQueryDestination message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns BigQueryDestination
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination;
+
+ /**
+ * Creates a plain object from a BigQueryDestination message. Also converts values to other types if specified.
+ * @param message BigQueryDestination
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this BigQueryDestination to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for BigQueryDestination
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** WriteDisposition enum. */
+ enum WriteDisposition {
+ WRITE_DISPOSITION_UNSPECIFIED = 0,
+ WRITE_TRUNCATE = 1,
+ WRITE_APPEND = 2
+ }
+ }
+
+ /** Properties of an ExportInsightsDataMetadata. */
+ interface IExportInsightsDataMetadata {
+
+ /** ExportInsightsDataMetadata createTime */
+ createTime?: (google.protobuf.ITimestamp|null);
+
+ /** ExportInsightsDataMetadata endTime */
+ endTime?: (google.protobuf.ITimestamp|null);
+
+ /** ExportInsightsDataMetadata request */
+ request?: (google.cloud.contactcenterinsights.v1.IExportInsightsDataRequest|null);
+
+ /** ExportInsightsDataMetadata partialErrors */
+ partialErrors?: (google.rpc.IStatus[]|null);
+ }
+
+ /** Represents an ExportInsightsDataMetadata. */
+ class ExportInsightsDataMetadata implements IExportInsightsDataMetadata {
+
+ /**
+ * Constructs a new ExportInsightsDataMetadata.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.contactcenterinsights.v1.IExportInsightsDataMetadata);
+
+ /** ExportInsightsDataMetadata createTime. */
+ public createTime?: (google.protobuf.ITimestamp|null);
+
+ /** ExportInsightsDataMetadata endTime. */
+ public endTime?: (google.protobuf.ITimestamp|null);
+
+ /** ExportInsightsDataMetadata request. */
+ public request?: (google.cloud.contactcenterinsights.v1.IExportInsightsDataRequest|null);
+
+ /** ExportInsightsDataMetadata partialErrors. */
+ public partialErrors: google.rpc.IStatus[];
+
+ /**
+ * Creates a new ExportInsightsDataMetadata instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ExportInsightsDataMetadata instance
+ */
+ public static create(properties?: google.cloud.contactcenterinsights.v1.IExportInsightsDataMetadata): google.cloud.contactcenterinsights.v1.ExportInsightsDataMetadata;
+
+ /**
+ * Encodes the specified ExportInsightsDataMetadata message. Does not implicitly {@link google.cloud.contactcenterinsights.v1.ExportInsightsDataMetadata.verify|verify} messages.
+ * @param message ExportInsightsDataMetadata message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.contactcenterinsights.v1.IExportInsightsDataMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ExportInsightsDataMetadata message, length delimited. Does not implicitly {@link google.cloud.contactcenterinsights.v1.ExportInsightsDataMetadata.verify|verify} messages.
+ * @param message ExportInsightsDataMetadata message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.contactcenterinsights.v1.IExportInsightsDataMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an ExportInsightsDataMetadata message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ExportInsightsDataMetadata
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.contactcenterinsights.v1.ExportInsightsDataMetadata;
+
+ /**
+ * Decodes an ExportInsightsDataMetadata message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ExportInsightsDataMetadata
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.contactcenterinsights.v1.ExportInsightsDataMetadata;
+
+ /**
+ * Verifies an ExportInsightsDataMetadata message.
+ * @param message Plain 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 ExportInsightsDataMetadata message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ExportInsightsDataMetadata
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.contactcenterinsights.v1.ExportInsightsDataMetadata;
+
+ /**
+ * Creates a plain object from an ExportInsightsDataMetadata message. Also converts values to other types if specified.
+ * @param message ExportInsightsDataMetadata
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.contactcenterinsights.v1.ExportInsightsDataMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ExportInsightsDataMetadata to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ExportInsightsDataMetadata
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of an ExportInsightsDataResponse. */
+ interface IExportInsightsDataResponse {
+ }
+
+ /** Represents an ExportInsightsDataResponse. */
+ class ExportInsightsDataResponse implements IExportInsightsDataResponse {
+
+ /**
+ * Constructs a new ExportInsightsDataResponse.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.contactcenterinsights.v1.IExportInsightsDataResponse);
+
+ /**
+ * Creates a new ExportInsightsDataResponse instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ExportInsightsDataResponse instance
+ */
+ public static create(properties?: google.cloud.contactcenterinsights.v1.IExportInsightsDataResponse): google.cloud.contactcenterinsights.v1.ExportInsightsDataResponse;
+
+ /**
+ * Encodes the specified ExportInsightsDataResponse message. Does not implicitly {@link google.cloud.contactcenterinsights.v1.ExportInsightsDataResponse.verify|verify} messages.
+ * @param message ExportInsightsDataResponse message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.contactcenterinsights.v1.IExportInsightsDataResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ExportInsightsDataResponse message, length delimited. Does not implicitly {@link google.cloud.contactcenterinsights.v1.ExportInsightsDataResponse.verify|verify} messages.
+ * @param message ExportInsightsDataResponse message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.contactcenterinsights.v1.IExportInsightsDataResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an ExportInsightsDataResponse message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ExportInsightsDataResponse
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.contactcenterinsights.v1.ExportInsightsDataResponse;
+
+ /**
+ * Decodes an ExportInsightsDataResponse message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ExportInsightsDataResponse
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.contactcenterinsights.v1.ExportInsightsDataResponse;
+
+ /**
+ * Verifies an ExportInsightsDataResponse message.
+ * @param message Plain 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 ExportInsightsDataResponse message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ExportInsightsDataResponse
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.contactcenterinsights.v1.ExportInsightsDataResponse;
+
+ /**
+ * Creates a plain object from an ExportInsightsDataResponse message. Also converts values to other types if specified.
+ * @param message ExportInsightsDataResponse
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.contactcenterinsights.v1.ExportInsightsDataResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ExportInsightsDataResponse to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ExportInsightsDataResponse
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a CreateIssueModelRequest. */
+ interface ICreateIssueModelRequest {
+
+ /** CreateIssueModelRequest parent */
+ parent?: (string|null);
+
+ /** CreateIssueModelRequest issueModel */
+ issueModel?: (google.cloud.contactcenterinsights.v1.IIssueModel|null);
+ }
+
+ /** Represents a CreateIssueModelRequest. */
+ class CreateIssueModelRequest implements ICreateIssueModelRequest {
+
+ /**
+ * Constructs a new CreateIssueModelRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.contactcenterinsights.v1.ICreateIssueModelRequest);
+
+ /** CreateIssueModelRequest parent. */
+ public parent: string;
+
+ /** CreateIssueModelRequest issueModel. */
+ public issueModel?: (google.cloud.contactcenterinsights.v1.IIssueModel|null);
+
+ /**
+ * Creates a new CreateIssueModelRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns CreateIssueModelRequest instance
+ */
+ public static create(properties?: google.cloud.contactcenterinsights.v1.ICreateIssueModelRequest): google.cloud.contactcenterinsights.v1.CreateIssueModelRequest;
+
+ /**
+ * Encodes the specified CreateIssueModelRequest message. Does not implicitly {@link google.cloud.contactcenterinsights.v1.CreateIssueModelRequest.verify|verify} messages.
+ * @param message CreateIssueModelRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.contactcenterinsights.v1.ICreateIssueModelRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified CreateIssueModelRequest message, length delimited. Does not implicitly {@link google.cloud.contactcenterinsights.v1.CreateIssueModelRequest.verify|verify} messages.
+ * @param message CreateIssueModelRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.contactcenterinsights.v1.ICreateIssueModelRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a CreateIssueModelRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns CreateIssueModelRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.contactcenterinsights.v1.CreateIssueModelRequest;
+
+ /**
+ * Decodes a CreateIssueModelRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns CreateIssueModelRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.contactcenterinsights.v1.CreateIssueModelRequest;
+
+ /**
+ * Verifies a CreateIssueModelRequest message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a CreateIssueModelRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns CreateIssueModelRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.contactcenterinsights.v1.CreateIssueModelRequest;
+
+ /**
+ * Creates a plain object from a CreateIssueModelRequest message. Also converts values to other types if specified.
+ * @param message CreateIssueModelRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.contactcenterinsights.v1.CreateIssueModelRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this CreateIssueModelRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for CreateIssueModelRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a CreateIssueModelMetadata. */
+ interface ICreateIssueModelMetadata {
+
+ /** CreateIssueModelMetadata createTime */
+ createTime?: (google.protobuf.ITimestamp|null);
+
+ /** CreateIssueModelMetadata endTime */
+ endTime?: (google.protobuf.ITimestamp|null);
+
+ /** CreateIssueModelMetadata request */
+ request?: (google.cloud.contactcenterinsights.v1.ICreateIssueModelRequest|null);
+ }
+
+ /** Represents a CreateIssueModelMetadata. */
+ class CreateIssueModelMetadata implements ICreateIssueModelMetadata {
+
+ /**
+ * Constructs a new CreateIssueModelMetadata.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.contactcenterinsights.v1.ICreateIssueModelMetadata);
+
+ /** CreateIssueModelMetadata createTime. */
+ public createTime?: (google.protobuf.ITimestamp|null);
+
+ /** CreateIssueModelMetadata endTime. */
+ public endTime?: (google.protobuf.ITimestamp|null);
+
+ /** CreateIssueModelMetadata request. */
+ public request?: (google.cloud.contactcenterinsights.v1.ICreateIssueModelRequest|null);
+
+ /**
+ * Creates a new CreateIssueModelMetadata instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns CreateIssueModelMetadata instance
+ */
+ public static create(properties?: google.cloud.contactcenterinsights.v1.ICreateIssueModelMetadata): google.cloud.contactcenterinsights.v1.CreateIssueModelMetadata;
+
+ /**
+ * Encodes the specified CreateIssueModelMetadata message. Does not implicitly {@link google.cloud.contactcenterinsights.v1.CreateIssueModelMetadata.verify|verify} messages.
+ * @param message CreateIssueModelMetadata message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.contactcenterinsights.v1.ICreateIssueModelMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified CreateIssueModelMetadata message, length delimited. Does not implicitly {@link google.cloud.contactcenterinsights.v1.CreateIssueModelMetadata.verify|verify} messages.
+ * @param message CreateIssueModelMetadata message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.contactcenterinsights.v1.ICreateIssueModelMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a CreateIssueModelMetadata message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns CreateIssueModelMetadata
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.contactcenterinsights.v1.CreateIssueModelMetadata;
+
+ /**
+ * Decodes a CreateIssueModelMetadata message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns CreateIssueModelMetadata
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.contactcenterinsights.v1.CreateIssueModelMetadata;
+
+ /**
+ * Verifies a CreateIssueModelMetadata message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a CreateIssueModelMetadata message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns CreateIssueModelMetadata
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.contactcenterinsights.v1.CreateIssueModelMetadata;
+
+ /**
+ * Creates a plain object from a CreateIssueModelMetadata message. Also converts values to other types if specified.
+ * @param message CreateIssueModelMetadata
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.contactcenterinsights.v1.CreateIssueModelMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this CreateIssueModelMetadata to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for CreateIssueModelMetadata
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of an UpdateIssueModelRequest. */
+ interface IUpdateIssueModelRequest {
+
+ /** UpdateIssueModelRequest issueModel */
+ issueModel?: (google.cloud.contactcenterinsights.v1.IIssueModel|null);
+
+ /** UpdateIssueModelRequest updateMask */
+ updateMask?: (google.protobuf.IFieldMask|null);
+ }
+
+ /** Represents an UpdateIssueModelRequest. */
+ class UpdateIssueModelRequest implements IUpdateIssueModelRequest {
+
+ /**
+ * Constructs a new UpdateIssueModelRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.contactcenterinsights.v1.IUpdateIssueModelRequest);
+
+ /** UpdateIssueModelRequest issueModel. */
+ public issueModel?: (google.cloud.contactcenterinsights.v1.IIssueModel|null);
+
+ /** UpdateIssueModelRequest updateMask. */
+ public updateMask?: (google.protobuf.IFieldMask|null);
+
+ /**
+ * Creates a new UpdateIssueModelRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns UpdateIssueModelRequest instance
+ */
+ public static create(properties?: google.cloud.contactcenterinsights.v1.IUpdateIssueModelRequest): google.cloud.contactcenterinsights.v1.UpdateIssueModelRequest;
+
+ /**
+ * Encodes the specified UpdateIssueModelRequest message. Does not implicitly {@link google.cloud.contactcenterinsights.v1.UpdateIssueModelRequest.verify|verify} messages.
+ * @param message UpdateIssueModelRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.contactcenterinsights.v1.IUpdateIssueModelRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified UpdateIssueModelRequest message, length delimited. Does not implicitly {@link google.cloud.contactcenterinsights.v1.UpdateIssueModelRequest.verify|verify} messages.
+ * @param message UpdateIssueModelRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.contactcenterinsights.v1.IUpdateIssueModelRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an UpdateIssueModelRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns UpdateIssueModelRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.contactcenterinsights.v1.UpdateIssueModelRequest;
+
+ /**
+ * Decodes an UpdateIssueModelRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns UpdateIssueModelRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.contactcenterinsights.v1.UpdateIssueModelRequest;
+
+ /**
+ * Verifies an UpdateIssueModelRequest message.
+ * @param message Plain 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 UpdateIssueModelRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns UpdateIssueModelRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.contactcenterinsights.v1.UpdateIssueModelRequest;
+
+ /**
+ * Creates a plain object from an UpdateIssueModelRequest message. Also converts values to other types if specified.
+ * @param message UpdateIssueModelRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.contactcenterinsights.v1.UpdateIssueModelRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this UpdateIssueModelRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for UpdateIssueModelRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a ListIssueModelsRequest. */
+ interface IListIssueModelsRequest {
+
+ /** ListIssueModelsRequest parent */
+ parent?: (string|null);
+ }
+
+ /** Represents a ListIssueModelsRequest. */
+ class ListIssueModelsRequest implements IListIssueModelsRequest {
+
+ /**
+ * Constructs a new ListIssueModelsRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.contactcenterinsights.v1.IListIssueModelsRequest);
+
+ /** ListIssueModelsRequest parent. */
+ public parent: string;
+
+ /**
+ * Creates a new ListIssueModelsRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ListIssueModelsRequest instance
+ */
+ public static create(properties?: google.cloud.contactcenterinsights.v1.IListIssueModelsRequest): google.cloud.contactcenterinsights.v1.ListIssueModelsRequest;
+
+ /**
+ * Encodes the specified ListIssueModelsRequest message. Does not implicitly {@link google.cloud.contactcenterinsights.v1.ListIssueModelsRequest.verify|verify} messages.
+ * @param message ListIssueModelsRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.contactcenterinsights.v1.IListIssueModelsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ListIssueModelsRequest message, length delimited. Does not implicitly {@link google.cloud.contactcenterinsights.v1.ListIssueModelsRequest.verify|verify} messages.
+ * @param message ListIssueModelsRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.contactcenterinsights.v1.IListIssueModelsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ListIssueModelsRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ListIssueModelsRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.contactcenterinsights.v1.ListIssueModelsRequest;
+
+ /**
+ * Decodes a ListIssueModelsRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ListIssueModelsRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.contactcenterinsights.v1.ListIssueModelsRequest;
+
+ /**
+ * Verifies a ListIssueModelsRequest message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a ListIssueModelsRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ListIssueModelsRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.contactcenterinsights.v1.ListIssueModelsRequest;
+
+ /**
+ * Creates a plain object from a ListIssueModelsRequest message. Also converts values to other types if specified.
+ * @param message ListIssueModelsRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.contactcenterinsights.v1.ListIssueModelsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ListIssueModelsRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ListIssueModelsRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a ListIssueModelsResponse. */
+ interface IListIssueModelsResponse {
+
+ /** ListIssueModelsResponse issueModels */
+ issueModels?: (google.cloud.contactcenterinsights.v1.IIssueModel[]|null);
+ }
+
+ /** Represents a ListIssueModelsResponse. */
+ class ListIssueModelsResponse implements IListIssueModelsResponse {
+
+ /**
+ * Constructs a new ListIssueModelsResponse.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.contactcenterinsights.v1.IListIssueModelsResponse);
+
+ /** ListIssueModelsResponse issueModels. */
+ public issueModels: google.cloud.contactcenterinsights.v1.IIssueModel[];
+
+ /**
+ * Creates a new ListIssueModelsResponse instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ListIssueModelsResponse instance
+ */
+ public static create(properties?: google.cloud.contactcenterinsights.v1.IListIssueModelsResponse): google.cloud.contactcenterinsights.v1.ListIssueModelsResponse;
+
+ /**
+ * Encodes the specified ListIssueModelsResponse message. Does not implicitly {@link google.cloud.contactcenterinsights.v1.ListIssueModelsResponse.verify|verify} messages.
+ * @param message ListIssueModelsResponse message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.contactcenterinsights.v1.IListIssueModelsResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ListIssueModelsResponse message, length delimited. Does not implicitly {@link google.cloud.contactcenterinsights.v1.ListIssueModelsResponse.verify|verify} messages.
+ * @param message ListIssueModelsResponse message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.contactcenterinsights.v1.IListIssueModelsResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ListIssueModelsResponse message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ListIssueModelsResponse
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.contactcenterinsights.v1.ListIssueModelsResponse;
+
+ /**
+ * Decodes a ListIssueModelsResponse message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ListIssueModelsResponse
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.contactcenterinsights.v1.ListIssueModelsResponse;
+
+ /**
+ * Verifies a ListIssueModelsResponse message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a ListIssueModelsResponse message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ListIssueModelsResponse
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.contactcenterinsights.v1.ListIssueModelsResponse;
+
+ /**
+ * Creates a plain object from a ListIssueModelsResponse message. Also converts values to other types if specified.
+ * @param message ListIssueModelsResponse
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.contactcenterinsights.v1.ListIssueModelsResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ListIssueModelsResponse to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ListIssueModelsResponse
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a GetIssueModelRequest. */
+ interface IGetIssueModelRequest {
+
+ /** GetIssueModelRequest name */
+ name?: (string|null);
+ }
+
+ /** Represents a GetIssueModelRequest. */
+ class GetIssueModelRequest implements IGetIssueModelRequest {
+
+ /**
+ * Constructs a new GetIssueModelRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.contactcenterinsights.v1.IGetIssueModelRequest);
+
+ /** GetIssueModelRequest name. */
+ public name: string;
+
+ /**
+ * Creates a new GetIssueModelRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns GetIssueModelRequest instance
+ */
+ public static create(properties?: google.cloud.contactcenterinsights.v1.IGetIssueModelRequest): google.cloud.contactcenterinsights.v1.GetIssueModelRequest;
+
+ /**
+ * Encodes the specified GetIssueModelRequest message. Does not implicitly {@link google.cloud.contactcenterinsights.v1.GetIssueModelRequest.verify|verify} messages.
+ * @param message GetIssueModelRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.contactcenterinsights.v1.IGetIssueModelRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified GetIssueModelRequest message, length delimited. Does not implicitly {@link google.cloud.contactcenterinsights.v1.GetIssueModelRequest.verify|verify} messages.
+ * @param message GetIssueModelRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.contactcenterinsights.v1.IGetIssueModelRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a GetIssueModelRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns GetIssueModelRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.contactcenterinsights.v1.GetIssueModelRequest;
+
+ /**
+ * Decodes a GetIssueModelRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns GetIssueModelRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.contactcenterinsights.v1.GetIssueModelRequest;
+
+ /**
+ * Verifies a GetIssueModelRequest message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a GetIssueModelRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns GetIssueModelRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.contactcenterinsights.v1.GetIssueModelRequest;
+
+ /**
+ * Creates a plain object from a GetIssueModelRequest message. Also converts values to other types if specified.
+ * @param message GetIssueModelRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.contactcenterinsights.v1.GetIssueModelRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this GetIssueModelRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for GetIssueModelRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a DeleteIssueModelRequest. */
+ interface IDeleteIssueModelRequest {
+
+ /** DeleteIssueModelRequest name */
+ name?: (string|null);
+ }
+
+ /** Represents a DeleteIssueModelRequest. */
+ class DeleteIssueModelRequest implements IDeleteIssueModelRequest {
+
+ /**
+ * Constructs a new DeleteIssueModelRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.contactcenterinsights.v1.IDeleteIssueModelRequest);
+
+ /** DeleteIssueModelRequest name. */
+ public name: string;
+
+ /**
+ * Creates a new DeleteIssueModelRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns DeleteIssueModelRequest instance
+ */
+ public static create(properties?: google.cloud.contactcenterinsights.v1.IDeleteIssueModelRequest): google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest;
+
+ /**
+ * Encodes the specified DeleteIssueModelRequest message. Does not implicitly {@link google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest.verify|verify} messages.
+ * @param message DeleteIssueModelRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.contactcenterinsights.v1.IDeleteIssueModelRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified DeleteIssueModelRequest message, length delimited. Does not implicitly {@link google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest.verify|verify} messages.
+ * @param message DeleteIssueModelRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.contactcenterinsights.v1.IDeleteIssueModelRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a DeleteIssueModelRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns DeleteIssueModelRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest;
+
+ /**
+ * Decodes a DeleteIssueModelRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns DeleteIssueModelRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest;
+
+ /**
+ * Verifies a DeleteIssueModelRequest message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a DeleteIssueModelRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns DeleteIssueModelRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest;
+
+ /**
+ * Creates a plain object from a DeleteIssueModelRequest message. Also converts values to other types if specified.
+ * @param message DeleteIssueModelRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this DeleteIssueModelRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for DeleteIssueModelRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a DeleteIssueModelMetadata. */
+ interface IDeleteIssueModelMetadata {
+
+ /** DeleteIssueModelMetadata createTime */
+ createTime?: (google.protobuf.ITimestamp|null);
+
+ /** DeleteIssueModelMetadata endTime */
+ endTime?: (google.protobuf.ITimestamp|null);
+
+ /** DeleteIssueModelMetadata request */
+ request?: (google.cloud.contactcenterinsights.v1.IDeleteIssueModelRequest|null);
+ }
+
+ /** Represents a DeleteIssueModelMetadata. */
+ class DeleteIssueModelMetadata implements IDeleteIssueModelMetadata {
+
+ /**
+ * Constructs a new DeleteIssueModelMetadata.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.contactcenterinsights.v1.IDeleteIssueModelMetadata);
+
+ /** DeleteIssueModelMetadata createTime. */
+ public createTime?: (google.protobuf.ITimestamp|null);
+
+ /** DeleteIssueModelMetadata endTime. */
+ public endTime?: (google.protobuf.ITimestamp|null);
+
+ /** DeleteIssueModelMetadata request. */
+ public request?: (google.cloud.contactcenterinsights.v1.IDeleteIssueModelRequest|null);
+
+ /**
+ * Creates a new DeleteIssueModelMetadata instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns DeleteIssueModelMetadata instance
+ */
+ public static create(properties?: google.cloud.contactcenterinsights.v1.IDeleteIssueModelMetadata): google.cloud.contactcenterinsights.v1.DeleteIssueModelMetadata;
+
+ /**
+ * Encodes the specified DeleteIssueModelMetadata message. Does not implicitly {@link google.cloud.contactcenterinsights.v1.DeleteIssueModelMetadata.verify|verify} messages.
+ * @param message DeleteIssueModelMetadata message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.contactcenterinsights.v1.IDeleteIssueModelMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified DeleteIssueModelMetadata message, length delimited. Does not implicitly {@link google.cloud.contactcenterinsights.v1.DeleteIssueModelMetadata.verify|verify} messages.
+ * @param message DeleteIssueModelMetadata message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.contactcenterinsights.v1.IDeleteIssueModelMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a DeleteIssueModelMetadata message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns DeleteIssueModelMetadata
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.contactcenterinsights.v1.DeleteIssueModelMetadata;
+
+ /**
+ * Decodes a DeleteIssueModelMetadata message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns DeleteIssueModelMetadata
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.contactcenterinsights.v1.DeleteIssueModelMetadata;
+
+ /**
+ * Verifies a DeleteIssueModelMetadata message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a DeleteIssueModelMetadata message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns DeleteIssueModelMetadata
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.contactcenterinsights.v1.DeleteIssueModelMetadata;
+
+ /**
+ * Creates a plain object from a DeleteIssueModelMetadata message. Also converts values to other types if specified.
+ * @param message DeleteIssueModelMetadata
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.contactcenterinsights.v1.DeleteIssueModelMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this DeleteIssueModelMetadata to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for DeleteIssueModelMetadata
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a DeployIssueModelRequest. */
+ interface IDeployIssueModelRequest {
+
+ /** DeployIssueModelRequest name */
+ name?: (string|null);
+ }
+
+ /** Represents a DeployIssueModelRequest. */
+ class DeployIssueModelRequest implements IDeployIssueModelRequest {
+
+ /**
+ * Constructs a new DeployIssueModelRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.contactcenterinsights.v1.IDeployIssueModelRequest);
+
+ /** DeployIssueModelRequest name. */
+ public name: string;
+
+ /**
+ * Creates a new DeployIssueModelRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns DeployIssueModelRequest instance
+ */
+ public static create(properties?: google.cloud.contactcenterinsights.v1.IDeployIssueModelRequest): google.cloud.contactcenterinsights.v1.DeployIssueModelRequest;
+
+ /**
+ * Encodes the specified DeployIssueModelRequest message. Does not implicitly {@link google.cloud.contactcenterinsights.v1.DeployIssueModelRequest.verify|verify} messages.
+ * @param message DeployIssueModelRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.contactcenterinsights.v1.IDeployIssueModelRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified DeployIssueModelRequest message, length delimited. Does not implicitly {@link google.cloud.contactcenterinsights.v1.DeployIssueModelRequest.verify|verify} messages.
+ * @param message DeployIssueModelRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.contactcenterinsights.v1.IDeployIssueModelRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a DeployIssueModelRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns DeployIssueModelRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.contactcenterinsights.v1.DeployIssueModelRequest;
+
+ /**
+ * Decodes a DeployIssueModelRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns DeployIssueModelRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.contactcenterinsights.v1.DeployIssueModelRequest;
+
+ /**
+ * Verifies a DeployIssueModelRequest message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a DeployIssueModelRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns DeployIssueModelRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.contactcenterinsights.v1.DeployIssueModelRequest;
+
+ /**
+ * Creates a plain object from a DeployIssueModelRequest message. Also converts values to other types if specified.
+ * @param message DeployIssueModelRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.contactcenterinsights.v1.DeployIssueModelRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this DeployIssueModelRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for DeployIssueModelRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a DeployIssueModelResponse. */
+ interface IDeployIssueModelResponse {
+ }
+
+ /** Represents a DeployIssueModelResponse. */
+ class DeployIssueModelResponse implements IDeployIssueModelResponse {
+
+ /**
+ * Constructs a new DeployIssueModelResponse.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.contactcenterinsights.v1.IDeployIssueModelResponse);
+
+ /**
+ * Creates a new DeployIssueModelResponse instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns DeployIssueModelResponse instance
+ */
+ public static create(properties?: google.cloud.contactcenterinsights.v1.IDeployIssueModelResponse): google.cloud.contactcenterinsights.v1.DeployIssueModelResponse;
+
+ /**
+ * Encodes the specified DeployIssueModelResponse message. Does not implicitly {@link google.cloud.contactcenterinsights.v1.DeployIssueModelResponse.verify|verify} messages.
+ * @param message DeployIssueModelResponse message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.contactcenterinsights.v1.IDeployIssueModelResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified DeployIssueModelResponse message, length delimited. Does not implicitly {@link google.cloud.contactcenterinsights.v1.DeployIssueModelResponse.verify|verify} messages.
+ * @param message DeployIssueModelResponse message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.contactcenterinsights.v1.IDeployIssueModelResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a DeployIssueModelResponse message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns DeployIssueModelResponse
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.contactcenterinsights.v1.DeployIssueModelResponse;
+
+ /**
+ * Decodes a DeployIssueModelResponse message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns DeployIssueModelResponse
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.contactcenterinsights.v1.DeployIssueModelResponse;
+
+ /**
+ * Verifies a DeployIssueModelResponse message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a DeployIssueModelResponse message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns DeployIssueModelResponse
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.contactcenterinsights.v1.DeployIssueModelResponse;
+
+ /**
+ * Creates a plain object from a DeployIssueModelResponse message. Also converts values to other types if specified.
+ * @param message DeployIssueModelResponse
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.contactcenterinsights.v1.DeployIssueModelResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this DeployIssueModelResponse to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for DeployIssueModelResponse
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a DeployIssueModelMetadata. */
+ interface IDeployIssueModelMetadata {
+
+ /** DeployIssueModelMetadata createTime */
+ createTime?: (google.protobuf.ITimestamp|null);
+
+ /** DeployIssueModelMetadata endTime */
+ endTime?: (google.protobuf.ITimestamp|null);
+
+ /** DeployIssueModelMetadata request */
+ request?: (google.cloud.contactcenterinsights.v1.IDeployIssueModelRequest|null);
+ }
+
+ /** Represents a DeployIssueModelMetadata. */
+ class DeployIssueModelMetadata implements IDeployIssueModelMetadata {
+
+ /**
+ * Constructs a new DeployIssueModelMetadata.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.contactcenterinsights.v1.IDeployIssueModelMetadata);
+
+ /** DeployIssueModelMetadata createTime. */
+ public createTime?: (google.protobuf.ITimestamp|null);
+
+ /** DeployIssueModelMetadata endTime. */
+ public endTime?: (google.protobuf.ITimestamp|null);
+
+ /** DeployIssueModelMetadata request. */
+ public request?: (google.cloud.contactcenterinsights.v1.IDeployIssueModelRequest|null);
+
+ /**
+ * Creates a new DeployIssueModelMetadata instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns DeployIssueModelMetadata instance
+ */
+ public static create(properties?: google.cloud.contactcenterinsights.v1.IDeployIssueModelMetadata): google.cloud.contactcenterinsights.v1.DeployIssueModelMetadata;
+
+ /**
+ * Encodes the specified DeployIssueModelMetadata message. Does not implicitly {@link google.cloud.contactcenterinsights.v1.DeployIssueModelMetadata.verify|verify} messages.
+ * @param message DeployIssueModelMetadata message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.contactcenterinsights.v1.IDeployIssueModelMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified DeployIssueModelMetadata message, length delimited. Does not implicitly {@link google.cloud.contactcenterinsights.v1.DeployIssueModelMetadata.verify|verify} messages.
+ * @param message DeployIssueModelMetadata message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.contactcenterinsights.v1.IDeployIssueModelMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a DeployIssueModelMetadata message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns DeployIssueModelMetadata
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.contactcenterinsights.v1.DeployIssueModelMetadata;
+
+ /**
+ * Decodes a DeployIssueModelMetadata message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns DeployIssueModelMetadata
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.contactcenterinsights.v1.DeployIssueModelMetadata;
+
+ /**
+ * Verifies a DeployIssueModelMetadata message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a DeployIssueModelMetadata message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns DeployIssueModelMetadata
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.contactcenterinsights.v1.DeployIssueModelMetadata;
+
+ /**
+ * Creates a plain object from a DeployIssueModelMetadata message. Also converts values to other types if specified.
+ * @param message DeployIssueModelMetadata
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.contactcenterinsights.v1.DeployIssueModelMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this DeployIssueModelMetadata to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for DeployIssueModelMetadata
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of an UndeployIssueModelRequest. */
+ interface IUndeployIssueModelRequest {
+
+ /** UndeployIssueModelRequest name */
+ name?: (string|null);
+ }
+
+ /** Represents an UndeployIssueModelRequest. */
+ class UndeployIssueModelRequest implements IUndeployIssueModelRequest {
+
+ /**
+ * Constructs a new UndeployIssueModelRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.contactcenterinsights.v1.IUndeployIssueModelRequest);
+
+ /** UndeployIssueModelRequest name. */
+ public name: string;
+
+ /**
+ * Creates a new UndeployIssueModelRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns UndeployIssueModelRequest instance
+ */
+ public static create(properties?: google.cloud.contactcenterinsights.v1.IUndeployIssueModelRequest): google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest;
+
+ /**
+ * Encodes the specified UndeployIssueModelRequest message. Does not implicitly {@link google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest.verify|verify} messages.
+ * @param message UndeployIssueModelRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.contactcenterinsights.v1.IUndeployIssueModelRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified UndeployIssueModelRequest message, length delimited. Does not implicitly {@link google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest.verify|verify} messages.
+ * @param message UndeployIssueModelRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.contactcenterinsights.v1.IUndeployIssueModelRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an UndeployIssueModelRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns UndeployIssueModelRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest;
+
+ /**
+ * Decodes an UndeployIssueModelRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns UndeployIssueModelRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest;
+
+ /**
+ * Verifies an UndeployIssueModelRequest message.
+ * @param message Plain 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 UndeployIssueModelRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns UndeployIssueModelRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest;
+
+ /**
+ * Creates a plain object from an UndeployIssueModelRequest message. Also converts values to other types if specified.
+ * @param message UndeployIssueModelRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this UndeployIssueModelRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for UndeployIssueModelRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of an UndeployIssueModelResponse. */
+ interface IUndeployIssueModelResponse {
+ }
+
+ /** Represents an UndeployIssueModelResponse. */
+ class UndeployIssueModelResponse implements IUndeployIssueModelResponse {
+
+ /**
+ * Constructs a new UndeployIssueModelResponse.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.contactcenterinsights.v1.IUndeployIssueModelResponse);
+
+ /**
+ * Creates a new UndeployIssueModelResponse instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns UndeployIssueModelResponse instance
+ */
+ public static create(properties?: google.cloud.contactcenterinsights.v1.IUndeployIssueModelResponse): google.cloud.contactcenterinsights.v1.UndeployIssueModelResponse;
+
+ /**
+ * Encodes the specified UndeployIssueModelResponse message. Does not implicitly {@link google.cloud.contactcenterinsights.v1.UndeployIssueModelResponse.verify|verify} messages.
+ * @param message UndeployIssueModelResponse message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.contactcenterinsights.v1.IUndeployIssueModelResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified UndeployIssueModelResponse message, length delimited. Does not implicitly {@link google.cloud.contactcenterinsights.v1.UndeployIssueModelResponse.verify|verify} messages.
+ * @param message UndeployIssueModelResponse message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.contactcenterinsights.v1.IUndeployIssueModelResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an UndeployIssueModelResponse message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns UndeployIssueModelResponse
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.contactcenterinsights.v1.UndeployIssueModelResponse;
+
+ /**
+ * Decodes an UndeployIssueModelResponse message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns UndeployIssueModelResponse
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.contactcenterinsights.v1.UndeployIssueModelResponse;
+
+ /**
+ * Verifies an UndeployIssueModelResponse message.
+ * @param message Plain 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 UndeployIssueModelResponse message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns UndeployIssueModelResponse
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.contactcenterinsights.v1.UndeployIssueModelResponse;
+
+ /**
+ * Creates a plain object from an UndeployIssueModelResponse message. Also converts values to other types if specified.
+ * @param message UndeployIssueModelResponse
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.contactcenterinsights.v1.UndeployIssueModelResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this UndeployIssueModelResponse to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for UndeployIssueModelResponse
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of an UndeployIssueModelMetadata. */
+ interface IUndeployIssueModelMetadata {
+
+ /** UndeployIssueModelMetadata createTime */
+ createTime?: (google.protobuf.ITimestamp|null);
+
+ /** UndeployIssueModelMetadata endTime */
+ endTime?: (google.protobuf.ITimestamp|null);
+
+ /** UndeployIssueModelMetadata request */
+ request?: (google.cloud.contactcenterinsights.v1.IUndeployIssueModelRequest|null);
+ }
+
+ /** Represents an UndeployIssueModelMetadata. */
+ class UndeployIssueModelMetadata implements IUndeployIssueModelMetadata {
+
+ /**
+ * Constructs a new UndeployIssueModelMetadata.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.contactcenterinsights.v1.IUndeployIssueModelMetadata);
+
+ /** UndeployIssueModelMetadata createTime. */
+ public createTime?: (google.protobuf.ITimestamp|null);
+
+ /** UndeployIssueModelMetadata endTime. */
+ public endTime?: (google.protobuf.ITimestamp|null);
+
+ /** UndeployIssueModelMetadata request. */
+ public request?: (google.cloud.contactcenterinsights.v1.IUndeployIssueModelRequest|null);
+
+ /**
+ * Creates a new UndeployIssueModelMetadata instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns UndeployIssueModelMetadata instance
+ */
+ public static create(properties?: google.cloud.contactcenterinsights.v1.IUndeployIssueModelMetadata): google.cloud.contactcenterinsights.v1.UndeployIssueModelMetadata;
+
+ /**
+ * Encodes the specified UndeployIssueModelMetadata message. Does not implicitly {@link google.cloud.contactcenterinsights.v1.UndeployIssueModelMetadata.verify|verify} messages.
+ * @param message UndeployIssueModelMetadata message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.contactcenterinsights.v1.IUndeployIssueModelMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified UndeployIssueModelMetadata message, length delimited. Does not implicitly {@link google.cloud.contactcenterinsights.v1.UndeployIssueModelMetadata.verify|verify} messages.
+ * @param message UndeployIssueModelMetadata message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.contactcenterinsights.v1.IUndeployIssueModelMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an UndeployIssueModelMetadata message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns UndeployIssueModelMetadata
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.contactcenterinsights.v1.UndeployIssueModelMetadata;
+
+ /**
+ * Decodes an UndeployIssueModelMetadata message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns UndeployIssueModelMetadata
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.contactcenterinsights.v1.UndeployIssueModelMetadata;
+
+ /**
+ * Verifies an UndeployIssueModelMetadata message.
+ * @param message Plain 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 UndeployIssueModelMetadata message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns UndeployIssueModelMetadata
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.contactcenterinsights.v1.UndeployIssueModelMetadata;
+
+ /**
+ * Creates a plain object from an UndeployIssueModelMetadata message. Also converts values to other types if specified.
+ * @param message UndeployIssueModelMetadata
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.contactcenterinsights.v1.UndeployIssueModelMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this UndeployIssueModelMetadata to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for UndeployIssueModelMetadata
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a GetIssueRequest. */
+ interface IGetIssueRequest {
+
+ /** GetIssueRequest name */
+ name?: (string|null);
+ }
+
+ /** Represents a GetIssueRequest. */
+ class GetIssueRequest implements IGetIssueRequest {
+
+ /**
+ * Constructs a new GetIssueRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.contactcenterinsights.v1.IGetIssueRequest);
+
+ /** GetIssueRequest name. */
+ public name: string;
+
+ /**
+ * Creates a new GetIssueRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns GetIssueRequest instance
+ */
+ public static create(properties?: google.cloud.contactcenterinsights.v1.IGetIssueRequest): google.cloud.contactcenterinsights.v1.GetIssueRequest;
+
+ /**
+ * Encodes the specified GetIssueRequest message. Does not implicitly {@link google.cloud.contactcenterinsights.v1.GetIssueRequest.verify|verify} messages.
+ * @param message GetIssueRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.contactcenterinsights.v1.IGetIssueRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified GetIssueRequest message, length delimited. Does not implicitly {@link google.cloud.contactcenterinsights.v1.GetIssueRequest.verify|verify} messages.
+ * @param message GetIssueRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.contactcenterinsights.v1.IGetIssueRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a GetIssueRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns GetIssueRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.contactcenterinsights.v1.GetIssueRequest;
+
+ /**
+ * Decodes a GetIssueRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns GetIssueRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.contactcenterinsights.v1.GetIssueRequest;
+
+ /**
+ * Verifies a GetIssueRequest message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a GetIssueRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns GetIssueRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.contactcenterinsights.v1.GetIssueRequest;
+
+ /**
+ * Creates a plain object from a GetIssueRequest message. Also converts values to other types if specified.
+ * @param message GetIssueRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.contactcenterinsights.v1.GetIssueRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this GetIssueRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for GetIssueRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a ListIssuesRequest. */
+ interface IListIssuesRequest {
+
+ /** ListIssuesRequest parent */
+ parent?: (string|null);
+ }
+
+ /** Represents a ListIssuesRequest. */
+ class ListIssuesRequest implements IListIssuesRequest {
+
+ /**
+ * Constructs a new ListIssuesRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.contactcenterinsights.v1.IListIssuesRequest);
+
+ /** ListIssuesRequest parent. */
+ public parent: string;
+
+ /**
+ * Creates a new ListIssuesRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ListIssuesRequest instance
+ */
+ public static create(properties?: google.cloud.contactcenterinsights.v1.IListIssuesRequest): google.cloud.contactcenterinsights.v1.ListIssuesRequest;
+
+ /**
+ * Encodes the specified ListIssuesRequest message. Does not implicitly {@link google.cloud.contactcenterinsights.v1.ListIssuesRequest.verify|verify} messages.
+ * @param message ListIssuesRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.contactcenterinsights.v1.IListIssuesRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ListIssuesRequest message, length delimited. Does not implicitly {@link google.cloud.contactcenterinsights.v1.ListIssuesRequest.verify|verify} messages.
+ * @param message ListIssuesRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.contactcenterinsights.v1.IListIssuesRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ListIssuesRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ListIssuesRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.contactcenterinsights.v1.ListIssuesRequest;
+
+ /**
+ * Decodes a ListIssuesRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ListIssuesRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.contactcenterinsights.v1.ListIssuesRequest;
+
+ /**
+ * Verifies a ListIssuesRequest message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a ListIssuesRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ListIssuesRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.contactcenterinsights.v1.ListIssuesRequest;
+
+ /**
+ * Creates a plain object from a ListIssuesRequest message. Also converts values to other types if specified.
+ * @param message ListIssuesRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.contactcenterinsights.v1.ListIssuesRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ListIssuesRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ListIssuesRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a ListIssuesResponse. */
+ interface IListIssuesResponse {
+
+ /** ListIssuesResponse issues */
+ issues?: (google.cloud.contactcenterinsights.v1.IIssue[]|null);
+ }
+
+ /** Represents a ListIssuesResponse. */
+ class ListIssuesResponse implements IListIssuesResponse {
+
+ /**
+ * Constructs a new ListIssuesResponse.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.contactcenterinsights.v1.IListIssuesResponse);
+
+ /** ListIssuesResponse issues. */
+ public issues: google.cloud.contactcenterinsights.v1.IIssue[];
+
+ /**
+ * Creates a new ListIssuesResponse instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ListIssuesResponse instance
+ */
+ public static create(properties?: google.cloud.contactcenterinsights.v1.IListIssuesResponse): google.cloud.contactcenterinsights.v1.ListIssuesResponse;
+
+ /**
+ * Encodes the specified ListIssuesResponse message. Does not implicitly {@link google.cloud.contactcenterinsights.v1.ListIssuesResponse.verify|verify} messages.
+ * @param message ListIssuesResponse message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.contactcenterinsights.v1.IListIssuesResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ListIssuesResponse message, length delimited. Does not implicitly {@link google.cloud.contactcenterinsights.v1.ListIssuesResponse.verify|verify} messages.
+ * @param message ListIssuesResponse message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.contactcenterinsights.v1.IListIssuesResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ListIssuesResponse message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ListIssuesResponse
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.contactcenterinsights.v1.ListIssuesResponse;
+
+ /**
+ * Decodes a ListIssuesResponse message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ListIssuesResponse
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.contactcenterinsights.v1.ListIssuesResponse;
+
+ /**
+ * Verifies a ListIssuesResponse message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a ListIssuesResponse message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ListIssuesResponse
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.contactcenterinsights.v1.ListIssuesResponse;
+
+ /**
+ * Creates a plain object from a ListIssuesResponse message. Also converts values to other types if specified.
+ * @param message ListIssuesResponse
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.contactcenterinsights.v1.ListIssuesResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ListIssuesResponse to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ListIssuesResponse
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of an UpdateIssueRequest. */
+ interface IUpdateIssueRequest {
+
+ /** UpdateIssueRequest issue */
+ issue?: (google.cloud.contactcenterinsights.v1.IIssue|null);
+
+ /** UpdateIssueRequest updateMask */
+ updateMask?: (google.protobuf.IFieldMask|null);
+ }
+
+ /** Represents an UpdateIssueRequest. */
+ class UpdateIssueRequest implements IUpdateIssueRequest {
+
+ /**
+ * Constructs a new UpdateIssueRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.contactcenterinsights.v1.IUpdateIssueRequest);
+
+ /** UpdateIssueRequest issue. */
+ public issue?: (google.cloud.contactcenterinsights.v1.IIssue|null);
+
+ /** UpdateIssueRequest updateMask. */
+ public updateMask?: (google.protobuf.IFieldMask|null);
+
+ /**
+ * Creates a new UpdateIssueRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns UpdateIssueRequest instance
+ */
+ public static create(properties?: google.cloud.contactcenterinsights.v1.IUpdateIssueRequest): google.cloud.contactcenterinsights.v1.UpdateIssueRequest;
+
+ /**
+ * Encodes the specified UpdateIssueRequest message. Does not implicitly {@link google.cloud.contactcenterinsights.v1.UpdateIssueRequest.verify|verify} messages.
+ * @param message UpdateIssueRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.contactcenterinsights.v1.IUpdateIssueRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified UpdateIssueRequest message, length delimited. Does not implicitly {@link google.cloud.contactcenterinsights.v1.UpdateIssueRequest.verify|verify} messages.
+ * @param message UpdateIssueRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.contactcenterinsights.v1.IUpdateIssueRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an UpdateIssueRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns UpdateIssueRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.contactcenterinsights.v1.UpdateIssueRequest;
+
+ /**
+ * Decodes an UpdateIssueRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns UpdateIssueRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.contactcenterinsights.v1.UpdateIssueRequest;
+
+ /**
+ * Verifies an UpdateIssueRequest message.
+ * @param message Plain 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 UpdateIssueRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns UpdateIssueRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.contactcenterinsights.v1.UpdateIssueRequest;
+
+ /**
+ * Creates a plain object from an UpdateIssueRequest message. Also converts values to other types if specified.
+ * @param message UpdateIssueRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.contactcenterinsights.v1.UpdateIssueRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this UpdateIssueRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for UpdateIssueRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a CalculateIssueModelStatsRequest. */
+ interface ICalculateIssueModelStatsRequest {
+
+ /** CalculateIssueModelStatsRequest issueModel */
+ issueModel?: (string|null);
+ }
+
+ /** Represents a CalculateIssueModelStatsRequest. */
+ class CalculateIssueModelStatsRequest implements ICalculateIssueModelStatsRequest {
+
+ /**
+ * Constructs a new CalculateIssueModelStatsRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.contactcenterinsights.v1.ICalculateIssueModelStatsRequest);
+
+ /** CalculateIssueModelStatsRequest issueModel. */
+ public issueModel: string;
+
+ /**
+ * Creates a new CalculateIssueModelStatsRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns CalculateIssueModelStatsRequest instance
+ */
+ public static create(properties?: google.cloud.contactcenterinsights.v1.ICalculateIssueModelStatsRequest): google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsRequest;
+
+ /**
+ * Encodes the specified CalculateIssueModelStatsRequest message. Does not implicitly {@link google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsRequest.verify|verify} messages.
+ * @param message CalculateIssueModelStatsRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.contactcenterinsights.v1.ICalculateIssueModelStatsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified CalculateIssueModelStatsRequest message, length delimited. Does not implicitly {@link google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsRequest.verify|verify} messages.
+ * @param message CalculateIssueModelStatsRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.contactcenterinsights.v1.ICalculateIssueModelStatsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a CalculateIssueModelStatsRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns CalculateIssueModelStatsRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsRequest;
+
+ /**
+ * Decodes a CalculateIssueModelStatsRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns CalculateIssueModelStatsRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsRequest;
+
+ /**
+ * Verifies a CalculateIssueModelStatsRequest message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a CalculateIssueModelStatsRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns CalculateIssueModelStatsRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsRequest;
+
+ /**
+ * Creates a plain object from a CalculateIssueModelStatsRequest message. Also converts values to other types if specified.
+ * @param message CalculateIssueModelStatsRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this CalculateIssueModelStatsRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for CalculateIssueModelStatsRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a CalculateIssueModelStatsResponse. */
+ interface ICalculateIssueModelStatsResponse {
+
+ /** CalculateIssueModelStatsResponse currentStats */
+ currentStats?: (google.cloud.contactcenterinsights.v1.IIssueModelLabelStats|null);
+ }
+
+ /** Represents a CalculateIssueModelStatsResponse. */
+ class CalculateIssueModelStatsResponse implements ICalculateIssueModelStatsResponse {
+
+ /**
+ * Constructs a new CalculateIssueModelStatsResponse.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.contactcenterinsights.v1.ICalculateIssueModelStatsResponse);
+
+ /** CalculateIssueModelStatsResponse currentStats. */
+ public currentStats?: (google.cloud.contactcenterinsights.v1.IIssueModelLabelStats|null);
+
+ /**
+ * Creates a new CalculateIssueModelStatsResponse instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns CalculateIssueModelStatsResponse instance
+ */
+ public static create(properties?: google.cloud.contactcenterinsights.v1.ICalculateIssueModelStatsResponse): google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsResponse;
+
+ /**
+ * Encodes the specified CalculateIssueModelStatsResponse message. Does not implicitly {@link google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsResponse.verify|verify} messages.
+ * @param message CalculateIssueModelStatsResponse message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.contactcenterinsights.v1.ICalculateIssueModelStatsResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified CalculateIssueModelStatsResponse message, length delimited. Does not implicitly {@link google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsResponse.verify|verify} messages.
+ * @param message CalculateIssueModelStatsResponse message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.contactcenterinsights.v1.ICalculateIssueModelStatsResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a CalculateIssueModelStatsResponse message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns CalculateIssueModelStatsResponse
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsResponse;
+
+ /**
+ * Decodes a CalculateIssueModelStatsResponse message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns CalculateIssueModelStatsResponse
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsResponse;
+
+ /**
+ * Verifies a CalculateIssueModelStatsResponse message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a CalculateIssueModelStatsResponse message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns CalculateIssueModelStatsResponse
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsResponse;
+
+ /**
+ * Creates a plain object from a CalculateIssueModelStatsResponse message. Also converts values to other types if specified.
+ * @param message CalculateIssueModelStatsResponse
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this CalculateIssueModelStatsResponse to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for CalculateIssueModelStatsResponse
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a CreatePhraseMatcherRequest. */
+ interface ICreatePhraseMatcherRequest {
+
+ /** CreatePhraseMatcherRequest parent */
+ parent?: (string|null);
+
+ /** CreatePhraseMatcherRequest phraseMatcher */
+ phraseMatcher?: (google.cloud.contactcenterinsights.v1.IPhraseMatcher|null);
+ }
+
+ /** Represents a CreatePhraseMatcherRequest. */
+ class CreatePhraseMatcherRequest implements ICreatePhraseMatcherRequest {
+
+ /**
+ * Constructs a new CreatePhraseMatcherRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.contactcenterinsights.v1.ICreatePhraseMatcherRequest);
+
+ /** CreatePhraseMatcherRequest parent. */
+ public parent: string;
+
+ /** CreatePhraseMatcherRequest phraseMatcher. */
+ public phraseMatcher?: (google.cloud.contactcenterinsights.v1.IPhraseMatcher|null);
+
+ /**
+ * Creates a new CreatePhraseMatcherRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns CreatePhraseMatcherRequest instance
+ */
+ public static create(properties?: google.cloud.contactcenterinsights.v1.ICreatePhraseMatcherRequest): google.cloud.contactcenterinsights.v1.CreatePhraseMatcherRequest;
+
+ /**
+ * Encodes the specified CreatePhraseMatcherRequest message. Does not implicitly {@link google.cloud.contactcenterinsights.v1.CreatePhraseMatcherRequest.verify|verify} messages.
+ * @param message CreatePhraseMatcherRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.contactcenterinsights.v1.ICreatePhraseMatcherRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified CreatePhraseMatcherRequest message, length delimited. Does not implicitly {@link google.cloud.contactcenterinsights.v1.CreatePhraseMatcherRequest.verify|verify} messages.
+ * @param message CreatePhraseMatcherRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.contactcenterinsights.v1.ICreatePhraseMatcherRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a CreatePhraseMatcherRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns CreatePhraseMatcherRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.contactcenterinsights.v1.CreatePhraseMatcherRequest;
+
+ /**
+ * Decodes a CreatePhraseMatcherRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns CreatePhraseMatcherRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.contactcenterinsights.v1.CreatePhraseMatcherRequest;
+
+ /**
+ * Verifies a CreatePhraseMatcherRequest message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a CreatePhraseMatcherRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns CreatePhraseMatcherRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.contactcenterinsights.v1.CreatePhraseMatcherRequest;
+
+ /**
+ * Creates a plain object from a CreatePhraseMatcherRequest message. Also converts values to other types if specified.
+ * @param message CreatePhraseMatcherRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.contactcenterinsights.v1.CreatePhraseMatcherRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this CreatePhraseMatcherRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for CreatePhraseMatcherRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a ListPhraseMatchersRequest. */
+ interface IListPhraseMatchersRequest {
+
+ /** ListPhraseMatchersRequest parent */
+ parent?: (string|null);
+
+ /** ListPhraseMatchersRequest pageSize */
+ pageSize?: (number|null);
+
+ /** ListPhraseMatchersRequest pageToken */
+ pageToken?: (string|null);
+
+ /** ListPhraseMatchersRequest filter */
+ filter?: (string|null);
+ }
+
+ /** Represents a ListPhraseMatchersRequest. */
+ class ListPhraseMatchersRequest implements IListPhraseMatchersRequest {
+
+ /**
+ * Constructs a new ListPhraseMatchersRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.contactcenterinsights.v1.IListPhraseMatchersRequest);
+
+ /** ListPhraseMatchersRequest parent. */
+ public parent: string;
+
+ /** ListPhraseMatchersRequest pageSize. */
+ public pageSize: number;
+
+ /** ListPhraseMatchersRequest pageToken. */
+ public pageToken: string;
+
+ /** ListPhraseMatchersRequest filter. */
+ public filter: string;
+
+ /**
+ * Creates a new ListPhraseMatchersRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ListPhraseMatchersRequest instance
+ */
+ public static create(properties?: google.cloud.contactcenterinsights.v1.IListPhraseMatchersRequest): google.cloud.contactcenterinsights.v1.ListPhraseMatchersRequest;
+
+ /**
+ * Encodes the specified ListPhraseMatchersRequest message. Does not implicitly {@link google.cloud.contactcenterinsights.v1.ListPhraseMatchersRequest.verify|verify} messages.
+ * @param message ListPhraseMatchersRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.contactcenterinsights.v1.IListPhraseMatchersRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ListPhraseMatchersRequest message, length delimited. Does not implicitly {@link google.cloud.contactcenterinsights.v1.ListPhraseMatchersRequest.verify|verify} messages.
+ * @param message ListPhraseMatchersRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.contactcenterinsights.v1.IListPhraseMatchersRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ListPhraseMatchersRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ListPhraseMatchersRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.contactcenterinsights.v1.ListPhraseMatchersRequest;
+
+ /**
+ * Decodes a ListPhraseMatchersRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ListPhraseMatchersRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.contactcenterinsights.v1.ListPhraseMatchersRequest;
+
+ /**
+ * Verifies a ListPhraseMatchersRequest message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a ListPhraseMatchersRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ListPhraseMatchersRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.contactcenterinsights.v1.ListPhraseMatchersRequest;
+
+ /**
+ * Creates a plain object from a ListPhraseMatchersRequest message. Also converts values to other types if specified.
+ * @param message ListPhraseMatchersRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.contactcenterinsights.v1.ListPhraseMatchersRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ListPhraseMatchersRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ListPhraseMatchersRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a ListPhraseMatchersResponse. */
+ interface IListPhraseMatchersResponse {
+
+ /** ListPhraseMatchersResponse phraseMatchers */
+ phraseMatchers?: (google.cloud.contactcenterinsights.v1.IPhraseMatcher[]|null);
+
+ /** ListPhraseMatchersResponse nextPageToken */
+ nextPageToken?: (string|null);
+ }
+
+ /** Represents a ListPhraseMatchersResponse. */
+ class ListPhraseMatchersResponse implements IListPhraseMatchersResponse {
+
+ /**
+ * Constructs a new ListPhraseMatchersResponse.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.contactcenterinsights.v1.IListPhraseMatchersResponse);
+
+ /** ListPhraseMatchersResponse phraseMatchers. */
+ public phraseMatchers: google.cloud.contactcenterinsights.v1.IPhraseMatcher[];
+
+ /** ListPhraseMatchersResponse nextPageToken. */
+ public nextPageToken: string;
+
+ /**
+ * Creates a new ListPhraseMatchersResponse instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ListPhraseMatchersResponse instance
+ */
+ public static create(properties?: google.cloud.contactcenterinsights.v1.IListPhraseMatchersResponse): google.cloud.contactcenterinsights.v1.ListPhraseMatchersResponse;
+
+ /**
+ * Encodes the specified ListPhraseMatchersResponse message. Does not implicitly {@link google.cloud.contactcenterinsights.v1.ListPhraseMatchersResponse.verify|verify} messages.
+ * @param message ListPhraseMatchersResponse message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.contactcenterinsights.v1.IListPhraseMatchersResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ListPhraseMatchersResponse message, length delimited. Does not implicitly {@link google.cloud.contactcenterinsights.v1.ListPhraseMatchersResponse.verify|verify} messages.
+ * @param message ListPhraseMatchersResponse message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.contactcenterinsights.v1.IListPhraseMatchersResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ListPhraseMatchersResponse message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ListPhraseMatchersResponse
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.contactcenterinsights.v1.ListPhraseMatchersResponse;
+
+ /**
+ * Decodes a ListPhraseMatchersResponse message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ListPhraseMatchersResponse
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.contactcenterinsights.v1.ListPhraseMatchersResponse;
+
+ /**
+ * Verifies a ListPhraseMatchersResponse message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a ListPhraseMatchersResponse message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ListPhraseMatchersResponse
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.contactcenterinsights.v1.ListPhraseMatchersResponse;
+
+ /**
+ * Creates a plain object from a ListPhraseMatchersResponse message. Also converts values to other types if specified.
+ * @param message ListPhraseMatchersResponse
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.contactcenterinsights.v1.ListPhraseMatchersResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ListPhraseMatchersResponse to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ListPhraseMatchersResponse
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a GetPhraseMatcherRequest. */
+ interface IGetPhraseMatcherRequest {
+
+ /** GetPhraseMatcherRequest name */
+ name?: (string|null);
+ }
+
+ /** Represents a GetPhraseMatcherRequest. */
+ class GetPhraseMatcherRequest implements IGetPhraseMatcherRequest {
+
+ /**
+ * Constructs a new GetPhraseMatcherRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.contactcenterinsights.v1.IGetPhraseMatcherRequest);
+
+ /** GetPhraseMatcherRequest name. */
+ public name: string;
+
+ /**
+ * Creates a new GetPhraseMatcherRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns GetPhraseMatcherRequest instance
+ */
+ public static create(properties?: google.cloud.contactcenterinsights.v1.IGetPhraseMatcherRequest): google.cloud.contactcenterinsights.v1.GetPhraseMatcherRequest;
+
+ /**
+ * Encodes the specified GetPhraseMatcherRequest message. Does not implicitly {@link google.cloud.contactcenterinsights.v1.GetPhraseMatcherRequest.verify|verify} messages.
+ * @param message GetPhraseMatcherRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.contactcenterinsights.v1.IGetPhraseMatcherRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified GetPhraseMatcherRequest message, length delimited. Does not implicitly {@link google.cloud.contactcenterinsights.v1.GetPhraseMatcherRequest.verify|verify} messages.
+ * @param message GetPhraseMatcherRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.contactcenterinsights.v1.IGetPhraseMatcherRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a GetPhraseMatcherRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns GetPhraseMatcherRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.contactcenterinsights.v1.GetPhraseMatcherRequest;
+
+ /**
+ * Decodes a GetPhraseMatcherRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns GetPhraseMatcherRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.contactcenterinsights.v1.GetPhraseMatcherRequest;
+
+ /**
+ * Verifies a GetPhraseMatcherRequest message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a GetPhraseMatcherRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns GetPhraseMatcherRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.contactcenterinsights.v1.GetPhraseMatcherRequest;
+
+ /**
+ * Creates a plain object from a GetPhraseMatcherRequest message. Also converts values to other types if specified.
+ * @param message GetPhraseMatcherRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.contactcenterinsights.v1.GetPhraseMatcherRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this GetPhraseMatcherRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for GetPhraseMatcherRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a DeletePhraseMatcherRequest. */
+ interface IDeletePhraseMatcherRequest {
+
+ /** DeletePhraseMatcherRequest name */
+ name?: (string|null);
+ }
+
+ /** Represents a DeletePhraseMatcherRequest. */
+ class DeletePhraseMatcherRequest implements IDeletePhraseMatcherRequest {
+
+ /**
+ * Constructs a new DeletePhraseMatcherRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.contactcenterinsights.v1.IDeletePhraseMatcherRequest);
+
+ /** DeletePhraseMatcherRequest name. */
+ public name: string;
+
+ /**
+ * Creates a new DeletePhraseMatcherRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns DeletePhraseMatcherRequest instance
+ */
+ public static create(properties?: google.cloud.contactcenterinsights.v1.IDeletePhraseMatcherRequest): google.cloud.contactcenterinsights.v1.DeletePhraseMatcherRequest;
+
+ /**
+ * Encodes the specified DeletePhraseMatcherRequest message. Does not implicitly {@link google.cloud.contactcenterinsights.v1.DeletePhraseMatcherRequest.verify|verify} messages.
+ * @param message DeletePhraseMatcherRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.contactcenterinsights.v1.IDeletePhraseMatcherRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified DeletePhraseMatcherRequest message, length delimited. Does not implicitly {@link google.cloud.contactcenterinsights.v1.DeletePhraseMatcherRequest.verify|verify} messages.
+ * @param message DeletePhraseMatcherRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.contactcenterinsights.v1.IDeletePhraseMatcherRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a DeletePhraseMatcherRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns DeletePhraseMatcherRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.contactcenterinsights.v1.DeletePhraseMatcherRequest;
+
+ /**
+ * Decodes a DeletePhraseMatcherRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns DeletePhraseMatcherRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.contactcenterinsights.v1.DeletePhraseMatcherRequest;
+
+ /**
+ * Verifies a DeletePhraseMatcherRequest message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a DeletePhraseMatcherRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns DeletePhraseMatcherRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.contactcenterinsights.v1.DeletePhraseMatcherRequest;
+
+ /**
+ * Creates a plain object from a DeletePhraseMatcherRequest message. Also converts values to other types if specified.
+ * @param message DeletePhraseMatcherRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.contactcenterinsights.v1.DeletePhraseMatcherRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this DeletePhraseMatcherRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for DeletePhraseMatcherRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of an UpdatePhraseMatcherRequest. */
+ interface IUpdatePhraseMatcherRequest {
+
+ /** UpdatePhraseMatcherRequest phraseMatcher */
+ phraseMatcher?: (google.cloud.contactcenterinsights.v1.IPhraseMatcher|null);
+
+ /** UpdatePhraseMatcherRequest updateMask */
+ updateMask?: (google.protobuf.IFieldMask|null);
+ }
+
+ /** Represents an UpdatePhraseMatcherRequest. */
+ class UpdatePhraseMatcherRequest implements IUpdatePhraseMatcherRequest {
+
+ /**
+ * Constructs a new UpdatePhraseMatcherRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.contactcenterinsights.v1.IUpdatePhraseMatcherRequest);
+
+ /** UpdatePhraseMatcherRequest phraseMatcher. */
+ public phraseMatcher?: (google.cloud.contactcenterinsights.v1.IPhraseMatcher|null);
+
+ /** UpdatePhraseMatcherRequest updateMask. */
+ public updateMask?: (google.protobuf.IFieldMask|null);
+
+ /**
+ * Creates a new UpdatePhraseMatcherRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns UpdatePhraseMatcherRequest instance
+ */
+ public static create(properties?: google.cloud.contactcenterinsights.v1.IUpdatePhraseMatcherRequest): google.cloud.contactcenterinsights.v1.UpdatePhraseMatcherRequest;
+
+ /**
+ * Encodes the specified UpdatePhraseMatcherRequest message. Does not implicitly {@link google.cloud.contactcenterinsights.v1.UpdatePhraseMatcherRequest.verify|verify} messages.
+ * @param message UpdatePhraseMatcherRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.contactcenterinsights.v1.IUpdatePhraseMatcherRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified UpdatePhraseMatcherRequest message, length delimited. Does not implicitly {@link google.cloud.contactcenterinsights.v1.UpdatePhraseMatcherRequest.verify|verify} messages.
+ * @param message UpdatePhraseMatcherRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.contactcenterinsights.v1.IUpdatePhraseMatcherRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an UpdatePhraseMatcherRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns UpdatePhraseMatcherRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.contactcenterinsights.v1.UpdatePhraseMatcherRequest;
+
+ /**
+ * Decodes an UpdatePhraseMatcherRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns UpdatePhraseMatcherRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.contactcenterinsights.v1.UpdatePhraseMatcherRequest;
+
+ /**
+ * Verifies an UpdatePhraseMatcherRequest message.
+ * @param message Plain 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 UpdatePhraseMatcherRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns UpdatePhraseMatcherRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.contactcenterinsights.v1.UpdatePhraseMatcherRequest;
+
+ /**
+ * Creates a plain object from an UpdatePhraseMatcherRequest message. Also converts values to other types if specified.
+ * @param message UpdatePhraseMatcherRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.contactcenterinsights.v1.UpdatePhraseMatcherRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this UpdatePhraseMatcherRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for UpdatePhraseMatcherRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a GetSettingsRequest. */
+ interface IGetSettingsRequest {
+
+ /** GetSettingsRequest name */
+ name?: (string|null);
+ }
+
+ /** Represents a GetSettingsRequest. */
+ class GetSettingsRequest implements IGetSettingsRequest {
+
+ /**
+ * Constructs a new GetSettingsRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.contactcenterinsights.v1.IGetSettingsRequest);
+
+ /** GetSettingsRequest name. */
+ public name: string;
+
+ /**
+ * Creates a new GetSettingsRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns GetSettingsRequest instance
+ */
+ public static create(properties?: google.cloud.contactcenterinsights.v1.IGetSettingsRequest): google.cloud.contactcenterinsights.v1.GetSettingsRequest;
+
+ /**
+ * Encodes the specified GetSettingsRequest message. Does not implicitly {@link google.cloud.contactcenterinsights.v1.GetSettingsRequest.verify|verify} messages.
+ * @param message GetSettingsRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.contactcenterinsights.v1.IGetSettingsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified GetSettingsRequest message, length delimited. Does not implicitly {@link google.cloud.contactcenterinsights.v1.GetSettingsRequest.verify|verify} messages.
+ * @param message GetSettingsRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.contactcenterinsights.v1.IGetSettingsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a GetSettingsRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns GetSettingsRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.contactcenterinsights.v1.GetSettingsRequest;
+
+ /**
+ * Decodes a GetSettingsRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns GetSettingsRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.contactcenterinsights.v1.GetSettingsRequest;
+
+ /**
+ * Verifies a GetSettingsRequest message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a GetSettingsRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns GetSettingsRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.contactcenterinsights.v1.GetSettingsRequest;
+
+ /**
+ * Creates a plain object from a GetSettingsRequest message. Also converts values to other types if specified.
+ * @param message GetSettingsRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.contactcenterinsights.v1.GetSettingsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this GetSettingsRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for GetSettingsRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of an UpdateSettingsRequest. */
+ interface IUpdateSettingsRequest {
+
+ /** UpdateSettingsRequest settings */
+ settings?: (google.cloud.contactcenterinsights.v1.ISettings|null);
+
+ /** UpdateSettingsRequest updateMask */
+ updateMask?: (google.protobuf.IFieldMask|null);
+ }
+
+ /** Represents an UpdateSettingsRequest. */
+ class UpdateSettingsRequest implements IUpdateSettingsRequest {
+
+ /**
+ * Constructs a new UpdateSettingsRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.contactcenterinsights.v1.IUpdateSettingsRequest);
+
+ /** UpdateSettingsRequest settings. */
+ public settings?: (google.cloud.contactcenterinsights.v1.ISettings|null);
+
+ /** UpdateSettingsRequest updateMask. */
+ public updateMask?: (google.protobuf.IFieldMask|null);
+
+ /**
+ * Creates a new UpdateSettingsRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns UpdateSettingsRequest instance
+ */
+ public static create(properties?: google.cloud.contactcenterinsights.v1.IUpdateSettingsRequest): google.cloud.contactcenterinsights.v1.UpdateSettingsRequest;
+
+ /**
+ * Encodes the specified UpdateSettingsRequest message. Does not implicitly {@link google.cloud.contactcenterinsights.v1.UpdateSettingsRequest.verify|verify} messages.
+ * @param message UpdateSettingsRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.contactcenterinsights.v1.IUpdateSettingsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified UpdateSettingsRequest message, length delimited. Does not implicitly {@link google.cloud.contactcenterinsights.v1.UpdateSettingsRequest.verify|verify} messages.
+ * @param message UpdateSettingsRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.contactcenterinsights.v1.IUpdateSettingsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an UpdateSettingsRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns UpdateSettingsRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.contactcenterinsights.v1.UpdateSettingsRequest;
+
+ /**
+ * Decodes an UpdateSettingsRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns UpdateSettingsRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.contactcenterinsights.v1.UpdateSettingsRequest;
+
+ /**
+ * Verifies an UpdateSettingsRequest message.
+ * @param message Plain 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 UpdateSettingsRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns UpdateSettingsRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.contactcenterinsights.v1.UpdateSettingsRequest;
+
+ /**
+ * Creates a plain object from an UpdateSettingsRequest message. Also converts values to other types if specified.
+ * @param message UpdateSettingsRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.contactcenterinsights.v1.UpdateSettingsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this UpdateSettingsRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for UpdateSettingsRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a CreateViewRequest. */
+ interface ICreateViewRequest {
+
+ /** CreateViewRequest parent */
+ parent?: (string|null);
+
+ /** CreateViewRequest view */
+ view?: (google.cloud.contactcenterinsights.v1.IView|null);
+ }
+
+ /** Represents a CreateViewRequest. */
+ class CreateViewRequest implements ICreateViewRequest {
+
+ /**
+ * Constructs a new CreateViewRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.contactcenterinsights.v1.ICreateViewRequest);
+
+ /** CreateViewRequest parent. */
+ public parent: string;
+
+ /** CreateViewRequest view. */
+ public view?: (google.cloud.contactcenterinsights.v1.IView|null);
+
+ /**
+ * Creates a new CreateViewRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns CreateViewRequest instance
+ */
+ public static create(properties?: google.cloud.contactcenterinsights.v1.ICreateViewRequest): google.cloud.contactcenterinsights.v1.CreateViewRequest;
+
+ /**
+ * Encodes the specified CreateViewRequest message. Does not implicitly {@link google.cloud.contactcenterinsights.v1.CreateViewRequest.verify|verify} messages.
+ * @param message CreateViewRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.contactcenterinsights.v1.ICreateViewRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified CreateViewRequest message, length delimited. Does not implicitly {@link google.cloud.contactcenterinsights.v1.CreateViewRequest.verify|verify} messages.
+ * @param message CreateViewRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.contactcenterinsights.v1.ICreateViewRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a CreateViewRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns CreateViewRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.contactcenterinsights.v1.CreateViewRequest;
+
+ /**
+ * Decodes a CreateViewRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns CreateViewRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.contactcenterinsights.v1.CreateViewRequest;
+
+ /**
+ * Verifies a CreateViewRequest message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a CreateViewRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns CreateViewRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.contactcenterinsights.v1.CreateViewRequest;
+
+ /**
+ * Creates a plain object from a CreateViewRequest message. Also converts values to other types if specified.
+ * @param message CreateViewRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.contactcenterinsights.v1.CreateViewRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this CreateViewRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for CreateViewRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a GetViewRequest. */
+ interface IGetViewRequest {
+
+ /** GetViewRequest name */
+ name?: (string|null);
+ }
+
+ /** Represents a GetViewRequest. */
+ class GetViewRequest implements IGetViewRequest {
+
+ /**
+ * Constructs a new GetViewRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.contactcenterinsights.v1.IGetViewRequest);
+
+ /** GetViewRequest name. */
+ public name: string;
+
+ /**
+ * Creates a new GetViewRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns GetViewRequest instance
+ */
+ public static create(properties?: google.cloud.contactcenterinsights.v1.IGetViewRequest): google.cloud.contactcenterinsights.v1.GetViewRequest;
+
+ /**
+ * Encodes the specified GetViewRequest message. Does not implicitly {@link google.cloud.contactcenterinsights.v1.GetViewRequest.verify|verify} messages.
+ * @param message GetViewRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.contactcenterinsights.v1.IGetViewRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified GetViewRequest message, length delimited. Does not implicitly {@link google.cloud.contactcenterinsights.v1.GetViewRequest.verify|verify} messages.
+ * @param message GetViewRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.contactcenterinsights.v1.IGetViewRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a GetViewRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns GetViewRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.contactcenterinsights.v1.GetViewRequest;
+
+ /**
+ * Decodes a GetViewRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns GetViewRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.contactcenterinsights.v1.GetViewRequest;
+
+ /**
+ * Verifies a GetViewRequest message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a GetViewRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns GetViewRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.contactcenterinsights.v1.GetViewRequest;
+
+ /**
+ * Creates a plain object from a GetViewRequest message. Also converts values to other types if specified.
+ * @param message GetViewRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.contactcenterinsights.v1.GetViewRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this GetViewRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for GetViewRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a ListViewsRequest. */
+ interface IListViewsRequest {
+
+ /** ListViewsRequest parent */
+ parent?: (string|null);
+
+ /** ListViewsRequest pageSize */
+ pageSize?: (number|null);
+
+ /** ListViewsRequest pageToken */
+ pageToken?: (string|null);
+ }
+
+ /** Represents a ListViewsRequest. */
+ class ListViewsRequest implements IListViewsRequest {
+
+ /**
+ * Constructs a new ListViewsRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.contactcenterinsights.v1.IListViewsRequest);
+
+ /** ListViewsRequest parent. */
+ public parent: string;
+
+ /** ListViewsRequest pageSize. */
+ public pageSize: number;
+
+ /** ListViewsRequest pageToken. */
+ public pageToken: string;
+
+ /**
+ * Creates a new ListViewsRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ListViewsRequest instance
+ */
+ public static create(properties?: google.cloud.contactcenterinsights.v1.IListViewsRequest): google.cloud.contactcenterinsights.v1.ListViewsRequest;
+
+ /**
+ * Encodes the specified ListViewsRequest message. Does not implicitly {@link google.cloud.contactcenterinsights.v1.ListViewsRequest.verify|verify} messages.
+ * @param message ListViewsRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.contactcenterinsights.v1.IListViewsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ListViewsRequest message, length delimited. Does not implicitly {@link google.cloud.contactcenterinsights.v1.ListViewsRequest.verify|verify} messages.
+ * @param message ListViewsRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.contactcenterinsights.v1.IListViewsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ListViewsRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ListViewsRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.contactcenterinsights.v1.ListViewsRequest;
+
+ /**
+ * Decodes a ListViewsRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ListViewsRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.contactcenterinsights.v1.ListViewsRequest;
+
+ /**
+ * Verifies a ListViewsRequest message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a ListViewsRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ListViewsRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.contactcenterinsights.v1.ListViewsRequest;
+
+ /**
+ * Creates a plain object from a ListViewsRequest message. Also converts values to other types if specified.
+ * @param message ListViewsRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.contactcenterinsights.v1.ListViewsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ListViewsRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ListViewsRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a ListViewsResponse. */
+ interface IListViewsResponse {
+
+ /** ListViewsResponse views */
+ views?: (google.cloud.contactcenterinsights.v1.IView[]|null);
+
+ /** ListViewsResponse nextPageToken */
+ nextPageToken?: (string|null);
+ }
+
+ /** Represents a ListViewsResponse. */
+ class ListViewsResponse implements IListViewsResponse {
+
+ /**
+ * Constructs a new ListViewsResponse.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.contactcenterinsights.v1.IListViewsResponse);
+
+ /** ListViewsResponse views. */
+ public views: google.cloud.contactcenterinsights.v1.IView[];
+
+ /** ListViewsResponse nextPageToken. */
+ public nextPageToken: string;
+
+ /**
+ * Creates a new ListViewsResponse instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ListViewsResponse instance
+ */
+ public static create(properties?: google.cloud.contactcenterinsights.v1.IListViewsResponse): google.cloud.contactcenterinsights.v1.ListViewsResponse;
+
+ /**
+ * Encodes the specified ListViewsResponse message. Does not implicitly {@link google.cloud.contactcenterinsights.v1.ListViewsResponse.verify|verify} messages.
+ * @param message ListViewsResponse message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.contactcenterinsights.v1.IListViewsResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ListViewsResponse message, length delimited. Does not implicitly {@link google.cloud.contactcenterinsights.v1.ListViewsResponse.verify|verify} messages.
+ * @param message ListViewsResponse message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.contactcenterinsights.v1.IListViewsResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ListViewsResponse message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ListViewsResponse
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.contactcenterinsights.v1.ListViewsResponse;
+
+ /**
+ * Decodes a ListViewsResponse message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ListViewsResponse
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.contactcenterinsights.v1.ListViewsResponse;
+
+ /**
+ * Verifies a ListViewsResponse message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a ListViewsResponse message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ListViewsResponse
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.contactcenterinsights.v1.ListViewsResponse;
+
+ /**
+ * Creates a plain object from a ListViewsResponse message. Also converts values to other types if specified.
+ * @param message ListViewsResponse
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.contactcenterinsights.v1.ListViewsResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ListViewsResponse to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ListViewsResponse
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of an UpdateViewRequest. */
+ interface IUpdateViewRequest {
+
+ /** UpdateViewRequest view */
+ view?: (google.cloud.contactcenterinsights.v1.IView|null);
+
+ /** UpdateViewRequest updateMask */
+ updateMask?: (google.protobuf.IFieldMask|null);
+ }
+
+ /** Represents an UpdateViewRequest. */
+ class UpdateViewRequest implements IUpdateViewRequest {
+
+ /**
+ * Constructs a new UpdateViewRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.contactcenterinsights.v1.IUpdateViewRequest);
+
+ /** UpdateViewRequest view. */
+ public view?: (google.cloud.contactcenterinsights.v1.IView|null);
+
+ /** UpdateViewRequest updateMask. */
+ public updateMask?: (google.protobuf.IFieldMask|null);
+
+ /**
+ * Creates a new UpdateViewRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns UpdateViewRequest instance
+ */
+ public static create(properties?: google.cloud.contactcenterinsights.v1.IUpdateViewRequest): google.cloud.contactcenterinsights.v1.UpdateViewRequest;
+
+ /**
+ * Encodes the specified UpdateViewRequest message. Does not implicitly {@link google.cloud.contactcenterinsights.v1.UpdateViewRequest.verify|verify} messages.
+ * @param message UpdateViewRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.contactcenterinsights.v1.IUpdateViewRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified UpdateViewRequest message, length delimited. Does not implicitly {@link google.cloud.contactcenterinsights.v1.UpdateViewRequest.verify|verify} messages.
+ * @param message UpdateViewRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.contactcenterinsights.v1.IUpdateViewRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an UpdateViewRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns UpdateViewRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.contactcenterinsights.v1.UpdateViewRequest;
+
+ /**
+ * Decodes an UpdateViewRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns UpdateViewRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.contactcenterinsights.v1.UpdateViewRequest;
+
+ /**
+ * Verifies an UpdateViewRequest message.
+ * @param message Plain 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 UpdateViewRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns UpdateViewRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.contactcenterinsights.v1.UpdateViewRequest;
+
+ /**
+ * Creates a plain object from an UpdateViewRequest message. Also converts values to other types if specified.
+ * @param message UpdateViewRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.contactcenterinsights.v1.UpdateViewRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this UpdateViewRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for UpdateViewRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a DeleteViewRequest. */
+ interface IDeleteViewRequest {
+
+ /** DeleteViewRequest name */
+ name?: (string|null);
+ }
+
+ /** Represents a DeleteViewRequest. */
+ class DeleteViewRequest implements IDeleteViewRequest {
+
+ /**
+ * Constructs a new DeleteViewRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.contactcenterinsights.v1.IDeleteViewRequest);
+
+ /** DeleteViewRequest name. */
+ public name: string;
+
+ /**
+ * Creates a new DeleteViewRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns DeleteViewRequest instance
+ */
+ public static create(properties?: google.cloud.contactcenterinsights.v1.IDeleteViewRequest): google.cloud.contactcenterinsights.v1.DeleteViewRequest;
+
+ /**
+ * Encodes the specified DeleteViewRequest message. Does not implicitly {@link google.cloud.contactcenterinsights.v1.DeleteViewRequest.verify|verify} messages.
+ * @param message DeleteViewRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.contactcenterinsights.v1.IDeleteViewRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified DeleteViewRequest message, length delimited. Does not implicitly {@link google.cloud.contactcenterinsights.v1.DeleteViewRequest.verify|verify} messages.
+ * @param message DeleteViewRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.contactcenterinsights.v1.IDeleteViewRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a DeleteViewRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns DeleteViewRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.contactcenterinsights.v1.DeleteViewRequest;
+
+ /**
+ * Decodes a DeleteViewRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns DeleteViewRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.contactcenterinsights.v1.DeleteViewRequest;
+
+ /**
+ * Verifies a DeleteViewRequest message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a DeleteViewRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns DeleteViewRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.contactcenterinsights.v1.DeleteViewRequest;
+
+ /**
+ * Creates a plain object from a DeleteViewRequest message. Also converts values to other types if specified.
+ * @param message DeleteViewRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.contactcenterinsights.v1.DeleteViewRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this DeleteViewRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for DeleteViewRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a Conversation. */
+ interface IConversation {
+
+ /** Conversation callMetadata */
+ callMetadata?: (google.cloud.contactcenterinsights.v1.Conversation.ICallMetadata|null);
+
+ /** Conversation expireTime */
+ expireTime?: (google.protobuf.ITimestamp|null);
+
+ /** Conversation ttl */
+ ttl?: (google.protobuf.IDuration|null);
+
+ /** Conversation name */
+ name?: (string|null);
+
+ /** Conversation dataSource */
+ dataSource?: (google.cloud.contactcenterinsights.v1.IConversationDataSource|null);
+
+ /** Conversation createTime */
+ createTime?: (google.protobuf.ITimestamp|null);
+
+ /** Conversation updateTime */
+ updateTime?: (google.protobuf.ITimestamp|null);
+
+ /** Conversation startTime */
+ startTime?: (google.protobuf.ITimestamp|null);
+
+ /** Conversation languageCode */
+ languageCode?: (string|null);
+
+ /** Conversation agentId */
+ agentId?: (string|null);
+
+ /** Conversation labels */
+ labels?: ({ [k: string]: string }|null);
+
+ /** Conversation transcript */
+ transcript?: (google.cloud.contactcenterinsights.v1.Conversation.ITranscript|null);
+
+ /** Conversation medium */
+ medium?: (google.cloud.contactcenterinsights.v1.Conversation.Medium|keyof typeof google.cloud.contactcenterinsights.v1.Conversation.Medium|null);
+
+ /** Conversation duration */
+ duration?: (google.protobuf.IDuration|null);
+
+ /** Conversation turnCount */
+ turnCount?: (number|null);
+
+ /** Conversation latestAnalysis */
+ latestAnalysis?: (google.cloud.contactcenterinsights.v1.IAnalysis|null);
+
+ /** Conversation runtimeAnnotations */
+ runtimeAnnotations?: (google.cloud.contactcenterinsights.v1.IRuntimeAnnotation[]|null);
+
+ /** Conversation dialogflowIntents */
+ dialogflowIntents?: ({ [k: string]: google.cloud.contactcenterinsights.v1.IDialogflowIntent }|null);
+
+ /** Conversation obfuscatedUserId */
+ obfuscatedUserId?: (string|null);
+ }
+
+ /** Represents a Conversation. */
+ class Conversation implements IConversation {
+
+ /**
+ * Constructs a new Conversation.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.contactcenterinsights.v1.IConversation);
+
+ /** Conversation callMetadata. */
+ public callMetadata?: (google.cloud.contactcenterinsights.v1.Conversation.ICallMetadata|null);
+
+ /** Conversation expireTime. */
+ public expireTime?: (google.protobuf.ITimestamp|null);
+
+ /** Conversation ttl. */
+ public ttl?: (google.protobuf.IDuration|null);
+
+ /** Conversation name. */
+ public name: string;
+
+ /** Conversation dataSource. */
+ public dataSource?: (google.cloud.contactcenterinsights.v1.IConversationDataSource|null);
+
+ /** Conversation createTime. */
+ public createTime?: (google.protobuf.ITimestamp|null);
+
+ /** Conversation updateTime. */
+ public updateTime?: (google.protobuf.ITimestamp|null);
+
+ /** Conversation startTime. */
+ public startTime?: (google.protobuf.ITimestamp|null);
+
+ /** Conversation languageCode. */
+ public languageCode: string;
+
+ /** Conversation agentId. */
+ public agentId: string;
+
+ /** Conversation labels. */
+ public labels: { [k: string]: string };
+
+ /** Conversation transcript. */
+ public transcript?: (google.cloud.contactcenterinsights.v1.Conversation.ITranscript|null);
+
+ /** Conversation medium. */
+ public medium: (google.cloud.contactcenterinsights.v1.Conversation.Medium|keyof typeof google.cloud.contactcenterinsights.v1.Conversation.Medium);
+
+ /** Conversation duration. */
+ public duration?: (google.protobuf.IDuration|null);
+
+ /** Conversation turnCount. */
+ public turnCount: number;
+
+ /** Conversation latestAnalysis. */
+ public latestAnalysis?: (google.cloud.contactcenterinsights.v1.IAnalysis|null);
+
+ /** Conversation runtimeAnnotations. */
+ public runtimeAnnotations: google.cloud.contactcenterinsights.v1.IRuntimeAnnotation[];
+
+ /** Conversation dialogflowIntents. */
+ public dialogflowIntents: { [k: string]: google.cloud.contactcenterinsights.v1.IDialogflowIntent };
+
+ /** Conversation obfuscatedUserId. */
+ public obfuscatedUserId: string;
+
+ /** Conversation metadata. */
+ public metadata?: "callMetadata";
+
+ /** Conversation expiration. */
+ public expiration?: ("expireTime"|"ttl");
+
+ /**
+ * Creates a new Conversation instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns Conversation instance
+ */
+ public static create(properties?: google.cloud.contactcenterinsights.v1.IConversation): google.cloud.contactcenterinsights.v1.Conversation;
+
+ /**
+ * Encodes the specified Conversation message. Does not implicitly {@link google.cloud.contactcenterinsights.v1.Conversation.verify|verify} messages.
+ * @param message Conversation message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.contactcenterinsights.v1.IConversation, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified Conversation message, length delimited. Does not implicitly {@link google.cloud.contactcenterinsights.v1.Conversation.verify|verify} messages.
+ * @param message Conversation message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.contactcenterinsights.v1.IConversation, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a Conversation message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns Conversation
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.contactcenterinsights.v1.Conversation;
+
+ /**
+ * Decodes a Conversation message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns Conversation
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.contactcenterinsights.v1.Conversation;
+
+ /**
+ * Verifies a Conversation message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a Conversation message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns Conversation
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.contactcenterinsights.v1.Conversation;
+
+ /**
+ * Creates a plain object from a Conversation message. Also converts values to other types if specified.
+ * @param message Conversation
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.contactcenterinsights.v1.Conversation, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this Conversation to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for Conversation
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace Conversation {
+
+ /** Properties of a CallMetadata. */
+ interface ICallMetadata {
+
+ /** CallMetadata customerChannel */
+ customerChannel?: (number|null);
+
+ /** CallMetadata agentChannel */
+ agentChannel?: (number|null);
+ }
+
+ /** Represents a CallMetadata. */
+ class CallMetadata implements ICallMetadata {
+
+ /**
+ * Constructs a new CallMetadata.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.contactcenterinsights.v1.Conversation.ICallMetadata);
+
+ /** CallMetadata customerChannel. */
+ public customerChannel: number;
+
+ /** CallMetadata agentChannel. */
+ public agentChannel: number;
+
+ /**
+ * Creates a new CallMetadata instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns CallMetadata instance
+ */
+ public static create(properties?: google.cloud.contactcenterinsights.v1.Conversation.ICallMetadata): google.cloud.contactcenterinsights.v1.Conversation.CallMetadata;
+
+ /**
+ * Encodes the specified CallMetadata message. Does not implicitly {@link google.cloud.contactcenterinsights.v1.Conversation.CallMetadata.verify|verify} messages.
+ * @param message CallMetadata message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.contactcenterinsights.v1.Conversation.ICallMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified CallMetadata message, length delimited. Does not implicitly {@link google.cloud.contactcenterinsights.v1.Conversation.CallMetadata.verify|verify} messages.
+ * @param message CallMetadata message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.contactcenterinsights.v1.Conversation.ICallMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a CallMetadata message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns CallMetadata
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.contactcenterinsights.v1.Conversation.CallMetadata;
+
+ /**
+ * Decodes a CallMetadata message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns CallMetadata
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.contactcenterinsights.v1.Conversation.CallMetadata;
+
+ /**
+ * Verifies a CallMetadata message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a CallMetadata message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns CallMetadata
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.contactcenterinsights.v1.Conversation.CallMetadata;
+
+ /**
+ * Creates a plain object from a CallMetadata message. Also converts values to other types if specified.
+ * @param message CallMetadata
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.contactcenterinsights.v1.Conversation.CallMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this CallMetadata to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for CallMetadata
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a Transcript. */
+ interface ITranscript {
+
+ /** Transcript transcriptSegments */
+ transcriptSegments?: (google.cloud.contactcenterinsights.v1.Conversation.Transcript.ITranscriptSegment[]|null);
+ }
+
+ /** Represents a Transcript. */
+ class Transcript implements ITranscript {
+
+ /**
+ * Constructs a new Transcript.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.contactcenterinsights.v1.Conversation.ITranscript);
+
+ /** Transcript transcriptSegments. */
+ public transcriptSegments: google.cloud.contactcenterinsights.v1.Conversation.Transcript.ITranscriptSegment[];
+
+ /**
+ * Creates a new Transcript instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns Transcript instance
+ */
+ public static create(properties?: google.cloud.contactcenterinsights.v1.Conversation.ITranscript): google.cloud.contactcenterinsights.v1.Conversation.Transcript;
+
+ /**
+ * Encodes the specified Transcript message. Does not implicitly {@link google.cloud.contactcenterinsights.v1.Conversation.Transcript.verify|verify} messages.
+ * @param message Transcript message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.contactcenterinsights.v1.Conversation.ITranscript, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified Transcript message, length delimited. Does not implicitly {@link google.cloud.contactcenterinsights.v1.Conversation.Transcript.verify|verify} messages.
+ * @param message Transcript message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.contactcenterinsights.v1.Conversation.ITranscript, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a Transcript message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns Transcript
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.contactcenterinsights.v1.Conversation.Transcript;
+
+ /**
+ * Decodes a Transcript message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns Transcript
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.contactcenterinsights.v1.Conversation.Transcript;
+
+ /**
+ * Verifies a Transcript message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a Transcript message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns Transcript
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.contactcenterinsights.v1.Conversation.Transcript;
+
+ /**
+ * Creates a plain object from a Transcript message. Also converts values to other types if specified.
+ * @param message Transcript
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.contactcenterinsights.v1.Conversation.Transcript, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this Transcript to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for Transcript
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace Transcript {
+
+ /** Properties of a TranscriptSegment. */
+ interface ITranscriptSegment {
+
+ /** TranscriptSegment messageTime */
+ messageTime?: (google.protobuf.ITimestamp|null);
+
+ /** TranscriptSegment text */
+ text?: (string|null);
+
+ /** TranscriptSegment confidence */
+ confidence?: (number|null);
+
+ /** TranscriptSegment words */
+ words?: (google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.IWordInfo[]|null);
+
+ /** TranscriptSegment languageCode */
+ languageCode?: (string|null);
+
+ /** TranscriptSegment channelTag */
+ channelTag?: (number|null);
+
+ /** TranscriptSegment segmentParticipant */
+ segmentParticipant?: (google.cloud.contactcenterinsights.v1.IConversationParticipant|null);
+
+ /** TranscriptSegment dialogflowSegmentMetadata */
+ dialogflowSegmentMetadata?: (google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.IDialogflowSegmentMetadata|null);
+
+ /** TranscriptSegment sentiment */
+ sentiment?: (google.cloud.contactcenterinsights.v1.ISentimentData|null);
+ }
+
+ /** Represents a TranscriptSegment. */
+ class TranscriptSegment implements ITranscriptSegment {
+
+ /**
+ * Constructs a new TranscriptSegment.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.contactcenterinsights.v1.Conversation.Transcript.ITranscriptSegment);
+
+ /** TranscriptSegment messageTime. */
+ public messageTime?: (google.protobuf.ITimestamp|null);
+
+ /** TranscriptSegment text. */
+ public text: string;
+
+ /** TranscriptSegment confidence. */
+ public confidence: number;
+
+ /** TranscriptSegment words. */
+ public words: google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.IWordInfo[];
+
+ /** TranscriptSegment languageCode. */
+ public languageCode: string;
+
+ /** TranscriptSegment channelTag. */
+ public channelTag: number;
+
+ /** TranscriptSegment segmentParticipant. */
+ public segmentParticipant?: (google.cloud.contactcenterinsights.v1.IConversationParticipant|null);
+
+ /** TranscriptSegment dialogflowSegmentMetadata. */
+ public dialogflowSegmentMetadata?: (google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.IDialogflowSegmentMetadata|null);
+
+ /** TranscriptSegment sentiment. */
+ public sentiment?: (google.cloud.contactcenterinsights.v1.ISentimentData|null);
+
+ /**
+ * Creates a new TranscriptSegment instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns TranscriptSegment instance
+ */
+ public static create(properties?: google.cloud.contactcenterinsights.v1.Conversation.Transcript.ITranscriptSegment): google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment;
+
+ /**
+ * Encodes the specified TranscriptSegment message. Does not implicitly {@link google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.verify|verify} messages.
+ * @param message TranscriptSegment message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.contactcenterinsights.v1.Conversation.Transcript.ITranscriptSegment, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified TranscriptSegment message, length delimited. Does not implicitly {@link google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.verify|verify} messages.
+ * @param message TranscriptSegment message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.contactcenterinsights.v1.Conversation.Transcript.ITranscriptSegment, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a TranscriptSegment message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns TranscriptSegment
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment;
+
+ /**
+ * Decodes a TranscriptSegment message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns TranscriptSegment
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment;
+
+ /**
+ * Verifies a TranscriptSegment message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a TranscriptSegment message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns TranscriptSegment
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment;
+
+ /**
+ * Creates a plain object from a TranscriptSegment message. Also converts values to other types if specified.
+ * @param message TranscriptSegment
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this TranscriptSegment to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for TranscriptSegment
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace TranscriptSegment {
+
+ /** Properties of a WordInfo. */
+ interface IWordInfo {
+
+ /** WordInfo startOffset */
+ startOffset?: (google.protobuf.IDuration|null);
+
+ /** WordInfo endOffset */
+ endOffset?: (google.protobuf.IDuration|null);
+
+ /** WordInfo word */
+ word?: (string|null);
+
+ /** WordInfo confidence */
+ confidence?: (number|null);
+ }
+
+ /** Represents a WordInfo. */
+ class WordInfo implements IWordInfo {
+
+ /**
+ * Constructs a new WordInfo.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.IWordInfo);
+
+ /** WordInfo startOffset. */
+ public startOffset?: (google.protobuf.IDuration|null);
+
+ /** WordInfo endOffset. */
+ public endOffset?: (google.protobuf.IDuration|null);
+
+ /** WordInfo word. */
+ public word: string;
+
+ /** WordInfo confidence. */
+ public confidence: number;
+
+ /**
+ * Creates a new WordInfo instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns WordInfo instance
+ */
+ public static create(properties?: google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.IWordInfo): google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo;
+
+ /**
+ * Encodes the specified WordInfo message. Does not implicitly {@link google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo.verify|verify} messages.
+ * @param message WordInfo message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.IWordInfo, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified WordInfo message, length delimited. Does not implicitly {@link google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo.verify|verify} messages.
+ * @param message WordInfo message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.IWordInfo, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a WordInfo message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns WordInfo
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo;
+
+ /**
+ * Decodes a WordInfo message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns WordInfo
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo;
+
+ /**
+ * Verifies a WordInfo message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a WordInfo message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns WordInfo
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo;
+
+ /**
+ * Creates a plain object from a WordInfo message. Also converts values to other types if specified.
+ * @param message WordInfo
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this WordInfo to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for WordInfo
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a DialogflowSegmentMetadata. */
+ interface IDialogflowSegmentMetadata {
+
+ /** DialogflowSegmentMetadata smartReplyAllowlistCovered */
+ smartReplyAllowlistCovered?: (boolean|null);
+ }
+
+ /** Represents a DialogflowSegmentMetadata. */
+ class DialogflowSegmentMetadata implements IDialogflowSegmentMetadata {
+
+ /**
+ * Constructs a new DialogflowSegmentMetadata.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.IDialogflowSegmentMetadata);
+
+ /** DialogflowSegmentMetadata smartReplyAllowlistCovered. */
+ public smartReplyAllowlistCovered: boolean;
+
+ /**
+ * Creates a new DialogflowSegmentMetadata instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns DialogflowSegmentMetadata instance
+ */
+ public static create(properties?: google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.IDialogflowSegmentMetadata): google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata;
+
+ /**
+ * Encodes the specified DialogflowSegmentMetadata message. Does not implicitly {@link google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata.verify|verify} messages.
+ * @param message DialogflowSegmentMetadata message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.IDialogflowSegmentMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified DialogflowSegmentMetadata message, length delimited. Does not implicitly {@link google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata.verify|verify} messages.
+ * @param message DialogflowSegmentMetadata message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.IDialogflowSegmentMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a DialogflowSegmentMetadata message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns DialogflowSegmentMetadata
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata;
+
+ /**
+ * Decodes a DialogflowSegmentMetadata message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns DialogflowSegmentMetadata
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata;
+
+ /**
+ * Verifies a DialogflowSegmentMetadata message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a DialogflowSegmentMetadata message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns DialogflowSegmentMetadata
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata;
+
+ /**
+ * Creates a plain object from a DialogflowSegmentMetadata message. Also converts values to other types if specified.
+ * @param message DialogflowSegmentMetadata
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this DialogflowSegmentMetadata to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for DialogflowSegmentMetadata
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+ }
+ }
+
+ /** Medium enum. */
+ enum Medium {
+ MEDIUM_UNSPECIFIED = 0,
+ PHONE_CALL = 1,
+ CHAT = 2
+ }
+ }
+
+ /** Properties of an Analysis. */
+ interface IAnalysis {
+
+ /** Analysis name */
+ name?: (string|null);
+
+ /** Analysis requestTime */
+ requestTime?: (google.protobuf.ITimestamp|null);
+
+ /** Analysis createTime */
+ createTime?: (google.protobuf.ITimestamp|null);
+
+ /** Analysis analysisResult */
+ analysisResult?: (google.cloud.contactcenterinsights.v1.IAnalysisResult|null);
+ }
+
+ /** Represents an Analysis. */
+ class Analysis implements IAnalysis {
+
+ /**
+ * Constructs a new Analysis.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.contactcenterinsights.v1.IAnalysis);
+
+ /** Analysis name. */
+ public name: string;
+
+ /** Analysis requestTime. */
+ public requestTime?: (google.protobuf.ITimestamp|null);
+
+ /** Analysis createTime. */
+ public createTime?: (google.protobuf.ITimestamp|null);
+
+ /** Analysis analysisResult. */
+ public analysisResult?: (google.cloud.contactcenterinsights.v1.IAnalysisResult|null);
+
+ /**
+ * Creates a new Analysis instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns Analysis instance
+ */
+ public static create(properties?: google.cloud.contactcenterinsights.v1.IAnalysis): google.cloud.contactcenterinsights.v1.Analysis;
+
+ /**
+ * Encodes the specified Analysis message. Does not implicitly {@link google.cloud.contactcenterinsights.v1.Analysis.verify|verify} messages.
+ * @param message Analysis message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.contactcenterinsights.v1.IAnalysis, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified Analysis message, length delimited. Does not implicitly {@link google.cloud.contactcenterinsights.v1.Analysis.verify|verify} messages.
+ * @param message Analysis message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.contactcenterinsights.v1.IAnalysis, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an Analysis message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns Analysis
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.contactcenterinsights.v1.Analysis;
+
+ /**
+ * Decodes an Analysis message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns Analysis
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.contactcenterinsights.v1.Analysis;
+
+ /**
+ * Verifies an Analysis message.
+ * @param message Plain 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 Analysis message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns Analysis
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.contactcenterinsights.v1.Analysis;
+
+ /**
+ * Creates a plain object from an Analysis message. Also converts values to other types if specified.
+ * @param message Analysis
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.contactcenterinsights.v1.Analysis, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this Analysis to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for Analysis
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a ConversationDataSource. */
+ interface IConversationDataSource {
+
+ /** ConversationDataSource gcsSource */
+ gcsSource?: (google.cloud.contactcenterinsights.v1.IGcsSource|null);
+
+ /** ConversationDataSource dialogflowSource */
+ dialogflowSource?: (google.cloud.contactcenterinsights.v1.IDialogflowSource|null);
+ }
+
+ /** Represents a ConversationDataSource. */
+ class ConversationDataSource implements IConversationDataSource {
+
+ /**
+ * Constructs a new ConversationDataSource.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.contactcenterinsights.v1.IConversationDataSource);
+
+ /** ConversationDataSource gcsSource. */
+ public gcsSource?: (google.cloud.contactcenterinsights.v1.IGcsSource|null);
+
+ /** ConversationDataSource dialogflowSource. */
+ public dialogflowSource?: (google.cloud.contactcenterinsights.v1.IDialogflowSource|null);
+
+ /** ConversationDataSource source. */
+ public source?: ("gcsSource"|"dialogflowSource");
+
+ /**
+ * Creates a new ConversationDataSource instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ConversationDataSource instance
+ */
+ public static create(properties?: google.cloud.contactcenterinsights.v1.IConversationDataSource): google.cloud.contactcenterinsights.v1.ConversationDataSource;
+
+ /**
+ * Encodes the specified ConversationDataSource message. Does not implicitly {@link google.cloud.contactcenterinsights.v1.ConversationDataSource.verify|verify} messages.
+ * @param message ConversationDataSource message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.contactcenterinsights.v1.IConversationDataSource, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ConversationDataSource message, length delimited. Does not implicitly {@link google.cloud.contactcenterinsights.v1.ConversationDataSource.verify|verify} messages.
+ * @param message ConversationDataSource message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.contactcenterinsights.v1.IConversationDataSource, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ConversationDataSource message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ConversationDataSource
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.contactcenterinsights.v1.ConversationDataSource;
+
+ /**
+ * Decodes a ConversationDataSource message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ConversationDataSource
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.contactcenterinsights.v1.ConversationDataSource;
+
+ /**
+ * Verifies a ConversationDataSource message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a ConversationDataSource message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ConversationDataSource
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.contactcenterinsights.v1.ConversationDataSource;
+
+ /**
+ * Creates a plain object from a ConversationDataSource message. Also converts values to other types if specified.
+ * @param message ConversationDataSource
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.contactcenterinsights.v1.ConversationDataSource, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ConversationDataSource to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ConversationDataSource
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a GcsSource. */
+ interface IGcsSource {
+
+ /** GcsSource audioUri */
+ audioUri?: (string|null);
+
+ /** GcsSource transcriptUri */
+ transcriptUri?: (string|null);
+ }
+
+ /** Represents a GcsSource. */
+ class GcsSource implements IGcsSource {
+
+ /**
+ * Constructs a new GcsSource.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.contactcenterinsights.v1.IGcsSource);
+
+ /** GcsSource audioUri. */
+ public audioUri: string;
+
+ /** GcsSource transcriptUri. */
+ public transcriptUri: string;
+
+ /**
+ * Creates a new GcsSource instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns GcsSource instance
+ */
+ public static create(properties?: google.cloud.contactcenterinsights.v1.IGcsSource): google.cloud.contactcenterinsights.v1.GcsSource;
+
+ /**
+ * Encodes the specified GcsSource message. Does not implicitly {@link google.cloud.contactcenterinsights.v1.GcsSource.verify|verify} messages.
+ * @param message GcsSource message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.contactcenterinsights.v1.IGcsSource, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified GcsSource message, length delimited. Does not implicitly {@link google.cloud.contactcenterinsights.v1.GcsSource.verify|verify} messages.
+ * @param message GcsSource message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.contactcenterinsights.v1.IGcsSource, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a GcsSource message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns GcsSource
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.contactcenterinsights.v1.GcsSource;
+
+ /**
+ * Decodes a GcsSource message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns GcsSource
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.contactcenterinsights.v1.GcsSource;
+
+ /**
+ * Verifies a GcsSource message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a GcsSource message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns GcsSource
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.contactcenterinsights.v1.GcsSource;
+
+ /**
+ * Creates a plain object from a GcsSource message. Also converts values to other types if specified.
+ * @param message GcsSource
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.contactcenterinsights.v1.GcsSource, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this GcsSource to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for GcsSource
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a DialogflowSource. */
+ interface IDialogflowSource {
+
+ /** DialogflowSource dialogflowConversation */
+ dialogflowConversation?: (string|null);
+
+ /** DialogflowSource audioUri */
+ audioUri?: (string|null);
+ }
+
+ /** Represents a DialogflowSource. */
+ class DialogflowSource implements IDialogflowSource {
+
+ /**
+ * Constructs a new DialogflowSource.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.contactcenterinsights.v1.IDialogflowSource);
+
+ /** DialogflowSource dialogflowConversation. */
+ public dialogflowConversation: string;
+
+ /** DialogflowSource audioUri. */
+ public audioUri: string;
+
+ /**
+ * Creates a new DialogflowSource instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns DialogflowSource instance
+ */
+ public static create(properties?: google.cloud.contactcenterinsights.v1.IDialogflowSource): google.cloud.contactcenterinsights.v1.DialogflowSource;
+
+ /**
+ * Encodes the specified DialogflowSource message. Does not implicitly {@link google.cloud.contactcenterinsights.v1.DialogflowSource.verify|verify} messages.
+ * @param message DialogflowSource message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.contactcenterinsights.v1.IDialogflowSource, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified DialogflowSource message, length delimited. Does not implicitly {@link google.cloud.contactcenterinsights.v1.DialogflowSource.verify|verify} messages.
+ * @param message DialogflowSource message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.contactcenterinsights.v1.IDialogflowSource, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a DialogflowSource message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns DialogflowSource
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.contactcenterinsights.v1.DialogflowSource;
+
+ /**
+ * Decodes a DialogflowSource message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns DialogflowSource
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.contactcenterinsights.v1.DialogflowSource;
+
+ /**
+ * Verifies a DialogflowSource message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a DialogflowSource message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns DialogflowSource
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.contactcenterinsights.v1.DialogflowSource;
+
+ /**
+ * Creates a plain object from a DialogflowSource message. Also converts values to other types if specified.
+ * @param message DialogflowSource
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.contactcenterinsights.v1.DialogflowSource, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this DialogflowSource to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for DialogflowSource
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of an AnalysisResult. */
+ interface IAnalysisResult {
+
+ /** AnalysisResult callAnalysisMetadata */
+ callAnalysisMetadata?: (google.cloud.contactcenterinsights.v1.AnalysisResult.ICallAnalysisMetadata|null);
+
+ /** AnalysisResult endTime */
+ endTime?: (google.protobuf.ITimestamp|null);
+ }
+
+ /** Represents an AnalysisResult. */
+ class AnalysisResult implements IAnalysisResult {
+
+ /**
+ * Constructs a new AnalysisResult.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.contactcenterinsights.v1.IAnalysisResult);
+
+ /** AnalysisResult callAnalysisMetadata. */
+ public callAnalysisMetadata?: (google.cloud.contactcenterinsights.v1.AnalysisResult.ICallAnalysisMetadata|null);
+
+ /** AnalysisResult endTime. */
+ public endTime?: (google.protobuf.ITimestamp|null);
+
+ /** AnalysisResult metadata. */
+ public metadata?: "callAnalysisMetadata";
+
+ /**
+ * Creates a new AnalysisResult instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns AnalysisResult instance
+ */
+ public static create(properties?: google.cloud.contactcenterinsights.v1.IAnalysisResult): google.cloud.contactcenterinsights.v1.AnalysisResult;
+
+ /**
+ * Encodes the specified AnalysisResult message. Does not implicitly {@link google.cloud.contactcenterinsights.v1.AnalysisResult.verify|verify} messages.
+ * @param message AnalysisResult message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.contactcenterinsights.v1.IAnalysisResult, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified AnalysisResult message, length delimited. Does not implicitly {@link google.cloud.contactcenterinsights.v1.AnalysisResult.verify|verify} messages.
+ * @param message AnalysisResult message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.contactcenterinsights.v1.IAnalysisResult, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an AnalysisResult message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns AnalysisResult
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.contactcenterinsights.v1.AnalysisResult;
+
+ /**
+ * Decodes an AnalysisResult message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns AnalysisResult
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.contactcenterinsights.v1.AnalysisResult;
+
+ /**
+ * Verifies an AnalysisResult message.
+ * @param message Plain 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 AnalysisResult message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns AnalysisResult
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.contactcenterinsights.v1.AnalysisResult;
+
+ /**
+ * Creates a plain object from an AnalysisResult message. Also converts values to other types if specified.
+ * @param message AnalysisResult
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.contactcenterinsights.v1.AnalysisResult, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this AnalysisResult to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for AnalysisResult
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace AnalysisResult {
+
+ /** Properties of a CallAnalysisMetadata. */
+ interface ICallAnalysisMetadata {
+
+ /** CallAnalysisMetadata annotations */
+ annotations?: (google.cloud.contactcenterinsights.v1.ICallAnnotation[]|null);
+
+ /** CallAnalysisMetadata entities */
+ entities?: ({ [k: string]: google.cloud.contactcenterinsights.v1.IEntity }|null);
+
+ /** CallAnalysisMetadata sentiments */
+ sentiments?: (google.cloud.contactcenterinsights.v1.IConversationLevelSentiment[]|null);
+
+ /** CallAnalysisMetadata intents */
+ intents?: ({ [k: string]: google.cloud.contactcenterinsights.v1.IIntent }|null);
+
+ /** CallAnalysisMetadata phraseMatchers */
+ phraseMatchers?: ({ [k: string]: google.cloud.contactcenterinsights.v1.IPhraseMatchData }|null);
+
+ /** CallAnalysisMetadata issueModelResult */
+ issueModelResult?: (google.cloud.contactcenterinsights.v1.IIssueModelResult|null);
+ }
+
+ /** Represents a CallAnalysisMetadata. */
+ class CallAnalysisMetadata implements ICallAnalysisMetadata {
+
+ /**
+ * Constructs a new CallAnalysisMetadata.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.contactcenterinsights.v1.AnalysisResult.ICallAnalysisMetadata);
+
+ /** CallAnalysisMetadata annotations. */
+ public annotations: google.cloud.contactcenterinsights.v1.ICallAnnotation[];
+
+ /** CallAnalysisMetadata entities. */
+ public entities: { [k: string]: google.cloud.contactcenterinsights.v1.IEntity };
+
+ /** CallAnalysisMetadata sentiments. */
+ public sentiments: google.cloud.contactcenterinsights.v1.IConversationLevelSentiment[];
+
+ /** CallAnalysisMetadata intents. */
+ public intents: { [k: string]: google.cloud.contactcenterinsights.v1.IIntent };
+
+ /** CallAnalysisMetadata phraseMatchers. */
+ public phraseMatchers: { [k: string]: google.cloud.contactcenterinsights.v1.IPhraseMatchData };
+
+ /** CallAnalysisMetadata issueModelResult. */
+ public issueModelResult?: (google.cloud.contactcenterinsights.v1.IIssueModelResult|null);
+
+ /**
+ * Creates a new CallAnalysisMetadata instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns CallAnalysisMetadata instance
+ */
+ public static create(properties?: google.cloud.contactcenterinsights.v1.AnalysisResult.ICallAnalysisMetadata): google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata;
+
+ /**
+ * Encodes the specified CallAnalysisMetadata message. Does not implicitly {@link google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata.verify|verify} messages.
+ * @param message CallAnalysisMetadata message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.contactcenterinsights.v1.AnalysisResult.ICallAnalysisMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified CallAnalysisMetadata message, length delimited. Does not implicitly {@link google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata.verify|verify} messages.
+ * @param message CallAnalysisMetadata message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.contactcenterinsights.v1.AnalysisResult.ICallAnalysisMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a CallAnalysisMetadata message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns CallAnalysisMetadata
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata;
+
+ /**
+ * Decodes a CallAnalysisMetadata message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns CallAnalysisMetadata
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata;
+
+ /**
+ * Verifies a CallAnalysisMetadata message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a CallAnalysisMetadata message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns CallAnalysisMetadata
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata;
+
+ /**
+ * Creates a plain object from a CallAnalysisMetadata message. Also converts values to other types if specified.
+ * @param message CallAnalysisMetadata
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this CallAnalysisMetadata to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for CallAnalysisMetadata
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+ }
+
+ /** Properties of an IssueModelResult. */
+ interface IIssueModelResult {
+
+ /** IssueModelResult issueModel */
+ issueModel?: (string|null);
+
+ /** IssueModelResult issues */
+ issues?: (google.cloud.contactcenterinsights.v1.IIssueAssignment[]|null);
+ }
+
+ /** Represents an IssueModelResult. */
+ class IssueModelResult implements IIssueModelResult {
+
+ /**
+ * Constructs a new IssueModelResult.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.contactcenterinsights.v1.IIssueModelResult);
+
+ /** IssueModelResult issueModel. */
+ public issueModel: string;
+
+ /** IssueModelResult issues. */
+ public issues: google.cloud.contactcenterinsights.v1.IIssueAssignment[];
+
+ /**
+ * Creates a new IssueModelResult instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns IssueModelResult instance
+ */
+ public static create(properties?: google.cloud.contactcenterinsights.v1.IIssueModelResult): google.cloud.contactcenterinsights.v1.IssueModelResult;
+
+ /**
+ * Encodes the specified IssueModelResult message. Does not implicitly {@link google.cloud.contactcenterinsights.v1.IssueModelResult.verify|verify} messages.
+ * @param message IssueModelResult message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.contactcenterinsights.v1.IIssueModelResult, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified IssueModelResult message, length delimited. Does not implicitly {@link google.cloud.contactcenterinsights.v1.IssueModelResult.verify|verify} messages.
+ * @param message IssueModelResult message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.contactcenterinsights.v1.IIssueModelResult, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an IssueModelResult message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns IssueModelResult
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.contactcenterinsights.v1.IssueModelResult;
+
+ /**
+ * Decodes an IssueModelResult message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns IssueModelResult
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.contactcenterinsights.v1.IssueModelResult;
+
+ /**
+ * Verifies an IssueModelResult message.
+ * @param message Plain 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 IssueModelResult message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns IssueModelResult
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.contactcenterinsights.v1.IssueModelResult;
+
+ /**
+ * Creates a plain object from an IssueModelResult message. Also converts values to other types if specified.
+ * @param message IssueModelResult
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.contactcenterinsights.v1.IssueModelResult, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this IssueModelResult to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for IssueModelResult
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a ConversationLevelSentiment. */
+ interface IConversationLevelSentiment {
+
+ /** ConversationLevelSentiment channelTag */
+ channelTag?: (number|null);
+
+ /** ConversationLevelSentiment sentimentData */
+ sentimentData?: (google.cloud.contactcenterinsights.v1.ISentimentData|null);
+ }
+
+ /** Represents a ConversationLevelSentiment. */
+ class ConversationLevelSentiment implements IConversationLevelSentiment {
+
+ /**
+ * Constructs a new ConversationLevelSentiment.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.contactcenterinsights.v1.IConversationLevelSentiment);
+
+ /** ConversationLevelSentiment channelTag. */
+ public channelTag: number;
+
+ /** ConversationLevelSentiment sentimentData. */
+ public sentimentData?: (google.cloud.contactcenterinsights.v1.ISentimentData|null);
+
+ /**
+ * Creates a new ConversationLevelSentiment instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ConversationLevelSentiment instance
+ */
+ public static create(properties?: google.cloud.contactcenterinsights.v1.IConversationLevelSentiment): google.cloud.contactcenterinsights.v1.ConversationLevelSentiment;
+
+ /**
+ * Encodes the specified ConversationLevelSentiment message. Does not implicitly {@link google.cloud.contactcenterinsights.v1.ConversationLevelSentiment.verify|verify} messages.
+ * @param message ConversationLevelSentiment message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.contactcenterinsights.v1.IConversationLevelSentiment, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ConversationLevelSentiment message, length delimited. Does not implicitly {@link google.cloud.contactcenterinsights.v1.ConversationLevelSentiment.verify|verify} messages.
+ * @param message ConversationLevelSentiment message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.contactcenterinsights.v1.IConversationLevelSentiment, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ConversationLevelSentiment message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ConversationLevelSentiment
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.contactcenterinsights.v1.ConversationLevelSentiment;
+
+ /**
+ * Decodes a ConversationLevelSentiment message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ConversationLevelSentiment
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.contactcenterinsights.v1.ConversationLevelSentiment;
+
+ /**
+ * Verifies a ConversationLevelSentiment message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a ConversationLevelSentiment message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ConversationLevelSentiment
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.contactcenterinsights.v1.ConversationLevelSentiment;
+
+ /**
+ * Creates a plain object from a ConversationLevelSentiment message. Also converts values to other types if specified.
+ * @param message ConversationLevelSentiment
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.contactcenterinsights.v1.ConversationLevelSentiment, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ConversationLevelSentiment to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ConversationLevelSentiment
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of an IssueAssignment. */
+ interface IIssueAssignment {
+
+ /** IssueAssignment issue */
+ issue?: (string|null);
+
+ /** IssueAssignment score */
+ score?: (number|null);
+
+ /** IssueAssignment displayName */
+ displayName?: (string|null);
+ }
+
+ /** Represents an IssueAssignment. */
+ class IssueAssignment implements IIssueAssignment {
+
+ /**
+ * Constructs a new IssueAssignment.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.contactcenterinsights.v1.IIssueAssignment);
+
+ /** IssueAssignment issue. */
+ public issue: string;
+
+ /** IssueAssignment score. */
+ public score: number;
+
+ /** IssueAssignment displayName. */
+ public displayName: string;
+
+ /**
+ * Creates a new IssueAssignment instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns IssueAssignment instance
+ */
+ public static create(properties?: google.cloud.contactcenterinsights.v1.IIssueAssignment): google.cloud.contactcenterinsights.v1.IssueAssignment;
+
+ /**
+ * Encodes the specified IssueAssignment message. Does not implicitly {@link google.cloud.contactcenterinsights.v1.IssueAssignment.verify|verify} messages.
+ * @param message IssueAssignment message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.contactcenterinsights.v1.IIssueAssignment, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified IssueAssignment message, length delimited. Does not implicitly {@link google.cloud.contactcenterinsights.v1.IssueAssignment.verify|verify} messages.
+ * @param message IssueAssignment message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.contactcenterinsights.v1.IIssueAssignment, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an IssueAssignment message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns IssueAssignment
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.contactcenterinsights.v1.IssueAssignment;
+
+ /**
+ * Decodes an IssueAssignment message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns IssueAssignment
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.contactcenterinsights.v1.IssueAssignment;
+
+ /**
+ * Verifies an IssueAssignment message.
+ * @param message Plain 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 IssueAssignment message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns IssueAssignment
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.contactcenterinsights.v1.IssueAssignment;
+
+ /**
+ * Creates a plain object from an IssueAssignment message. Also converts values to other types if specified.
+ * @param message IssueAssignment
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.contactcenterinsights.v1.IssueAssignment, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this IssueAssignment to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for IssueAssignment
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a CallAnnotation. */
+ interface ICallAnnotation {
+
+ /** CallAnnotation interruptionData */
+ interruptionData?: (google.cloud.contactcenterinsights.v1.IInterruptionData|null);
+
+ /** CallAnnotation sentimentData */
+ sentimentData?: (google.cloud.contactcenterinsights.v1.ISentimentData|null);
+
+ /** CallAnnotation silenceData */
+ silenceData?: (google.cloud.contactcenterinsights.v1.ISilenceData|null);
+
+ /** CallAnnotation holdData */
+ holdData?: (google.cloud.contactcenterinsights.v1.IHoldData|null);
+
+ /** CallAnnotation entityMentionData */
+ entityMentionData?: (google.cloud.contactcenterinsights.v1.IEntityMentionData|null);
+
+ /** CallAnnotation intentMatchData */
+ intentMatchData?: (google.cloud.contactcenterinsights.v1.IIntentMatchData|null);
+
+ /** CallAnnotation phraseMatchData */
+ phraseMatchData?: (google.cloud.contactcenterinsights.v1.IPhraseMatchData|null);
+
+ /** CallAnnotation channelTag */
+ channelTag?: (number|null);
+
+ /** CallAnnotation annotationStartBoundary */
+ annotationStartBoundary?: (google.cloud.contactcenterinsights.v1.IAnnotationBoundary|null);
+
+ /** CallAnnotation annotationEndBoundary */
+ annotationEndBoundary?: (google.cloud.contactcenterinsights.v1.IAnnotationBoundary|null);
+ }
+
+ /** Represents a CallAnnotation. */
+ class CallAnnotation implements ICallAnnotation {
+
+ /**
+ * Constructs a new CallAnnotation.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.contactcenterinsights.v1.ICallAnnotation);
+
+ /** CallAnnotation interruptionData. */
+ public interruptionData?: (google.cloud.contactcenterinsights.v1.IInterruptionData|null);
+
+ /** CallAnnotation sentimentData. */
+ public sentimentData?: (google.cloud.contactcenterinsights.v1.ISentimentData|null);
+
+ /** CallAnnotation silenceData. */
+ public silenceData?: (google.cloud.contactcenterinsights.v1.ISilenceData|null);
+
+ /** CallAnnotation holdData. */
+ public holdData?: (google.cloud.contactcenterinsights.v1.IHoldData|null);
+
+ /** CallAnnotation entityMentionData. */
+ public entityMentionData?: (google.cloud.contactcenterinsights.v1.IEntityMentionData|null);
+
+ /** CallAnnotation intentMatchData. */
+ public intentMatchData?: (google.cloud.contactcenterinsights.v1.IIntentMatchData|null);
+
+ /** CallAnnotation phraseMatchData. */
+ public phraseMatchData?: (google.cloud.contactcenterinsights.v1.IPhraseMatchData|null);
+
+ /** CallAnnotation channelTag. */
+ public channelTag: number;
+
+ /** CallAnnotation annotationStartBoundary. */
+ public annotationStartBoundary?: (google.cloud.contactcenterinsights.v1.IAnnotationBoundary|null);
+
+ /** CallAnnotation annotationEndBoundary. */
+ public annotationEndBoundary?: (google.cloud.contactcenterinsights.v1.IAnnotationBoundary|null);
+
+ /** CallAnnotation data. */
+ public data?: ("interruptionData"|"sentimentData"|"silenceData"|"holdData"|"entityMentionData"|"intentMatchData"|"phraseMatchData");
+
+ /**
+ * Creates a new CallAnnotation instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns CallAnnotation instance
+ */
+ public static create(properties?: google.cloud.contactcenterinsights.v1.ICallAnnotation): google.cloud.contactcenterinsights.v1.CallAnnotation;
+
+ /**
+ * Encodes the specified CallAnnotation message. Does not implicitly {@link google.cloud.contactcenterinsights.v1.CallAnnotation.verify|verify} messages.
+ * @param message CallAnnotation message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.contactcenterinsights.v1.ICallAnnotation, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified CallAnnotation message, length delimited. Does not implicitly {@link google.cloud.contactcenterinsights.v1.CallAnnotation.verify|verify} messages.
+ * @param message CallAnnotation message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.contactcenterinsights.v1.ICallAnnotation, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a CallAnnotation message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns CallAnnotation
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.contactcenterinsights.v1.CallAnnotation;
+
+ /**
+ * Decodes a CallAnnotation message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns CallAnnotation
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.contactcenterinsights.v1.CallAnnotation;
+
+ /**
+ * Verifies a CallAnnotation message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a CallAnnotation message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns CallAnnotation
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.contactcenterinsights.v1.CallAnnotation;
+
+ /**
+ * Creates a plain object from a CallAnnotation message. Also converts values to other types if specified.
+ * @param message CallAnnotation
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.contactcenterinsights.v1.CallAnnotation, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this CallAnnotation to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for CallAnnotation
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of an AnnotationBoundary. */
+ interface IAnnotationBoundary {
+
+ /** AnnotationBoundary wordIndex */
+ wordIndex?: (number|null);
+
+ /** AnnotationBoundary transcriptIndex */
+ transcriptIndex?: (number|null);
+ }
+
+ /** Represents an AnnotationBoundary. */
+ class AnnotationBoundary implements IAnnotationBoundary {
+
+ /**
+ * Constructs a new AnnotationBoundary.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.contactcenterinsights.v1.IAnnotationBoundary);
+
+ /** AnnotationBoundary wordIndex. */
+ public wordIndex?: (number|null);
+
+ /** AnnotationBoundary transcriptIndex. */
+ public transcriptIndex: number;
+
+ /** AnnotationBoundary detailedBoundary. */
+ public detailedBoundary?: "wordIndex";
+
+ /**
+ * Creates a new AnnotationBoundary instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns AnnotationBoundary instance
+ */
+ public static create(properties?: google.cloud.contactcenterinsights.v1.IAnnotationBoundary): google.cloud.contactcenterinsights.v1.AnnotationBoundary;
+
+ /**
+ * Encodes the specified AnnotationBoundary message. Does not implicitly {@link google.cloud.contactcenterinsights.v1.AnnotationBoundary.verify|verify} messages.
+ * @param message AnnotationBoundary message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.contactcenterinsights.v1.IAnnotationBoundary, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified AnnotationBoundary message, length delimited. Does not implicitly {@link google.cloud.contactcenterinsights.v1.AnnotationBoundary.verify|verify} messages.
+ * @param message AnnotationBoundary message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.contactcenterinsights.v1.IAnnotationBoundary, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an AnnotationBoundary message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns AnnotationBoundary
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.contactcenterinsights.v1.AnnotationBoundary;
+
+ /**
+ * Decodes an AnnotationBoundary message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns AnnotationBoundary
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.contactcenterinsights.v1.AnnotationBoundary;
+
+ /**
+ * Verifies an AnnotationBoundary message.
+ * @param message Plain 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 AnnotationBoundary message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns AnnotationBoundary
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.contactcenterinsights.v1.AnnotationBoundary;
+
+ /**
+ * Creates a plain object from an AnnotationBoundary message. Also converts values to other types if specified.
+ * @param message AnnotationBoundary
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.contactcenterinsights.v1.AnnotationBoundary, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this AnnotationBoundary to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for AnnotationBoundary
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of an Entity. */
+ interface IEntity {
+
+ /** Entity displayName */
+ displayName?: (string|null);
+
+ /** Entity type */
+ type?: (google.cloud.contactcenterinsights.v1.Entity.Type|keyof typeof google.cloud.contactcenterinsights.v1.Entity.Type|null);
+
+ /** Entity metadata */
+ metadata?: ({ [k: string]: string }|null);
+
+ /** Entity salience */
+ salience?: (number|null);
+
+ /** Entity sentiment */
+ sentiment?: (google.cloud.contactcenterinsights.v1.ISentimentData|null);
+ }
+
+ /** Represents an Entity. */
+ class Entity implements IEntity {
+
+ /**
+ * Constructs a new Entity.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.contactcenterinsights.v1.IEntity);
+
+ /** Entity displayName. */
+ public displayName: string;
+
+ /** Entity type. */
+ public type: (google.cloud.contactcenterinsights.v1.Entity.Type|keyof typeof google.cloud.contactcenterinsights.v1.Entity.Type);
+
+ /** Entity metadata. */
+ public metadata: { [k: string]: string };
+
+ /** Entity salience. */
+ public salience: number;
+
+ /** Entity sentiment. */
+ public sentiment?: (google.cloud.contactcenterinsights.v1.ISentimentData|null);
+
+ /**
+ * Creates a new Entity instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns Entity instance
+ */
+ public static create(properties?: google.cloud.contactcenterinsights.v1.IEntity): google.cloud.contactcenterinsights.v1.Entity;
+
+ /**
+ * Encodes the specified Entity message. Does not implicitly {@link google.cloud.contactcenterinsights.v1.Entity.verify|verify} messages.
+ * @param message Entity message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.contactcenterinsights.v1.IEntity, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified Entity message, length delimited. Does not implicitly {@link google.cloud.contactcenterinsights.v1.Entity.verify|verify} messages.
+ * @param message Entity message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.contactcenterinsights.v1.IEntity, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an Entity message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns Entity
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.contactcenterinsights.v1.Entity;
+
+ /**
+ * Decodes an Entity message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns Entity
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.contactcenterinsights.v1.Entity;
+
+ /**
+ * Verifies an Entity message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates an Entity message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns Entity
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.contactcenterinsights.v1.Entity;
+
+ /**
+ * Creates a plain object from an Entity message. Also converts values to other types if specified.
+ * @param message Entity
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.contactcenterinsights.v1.Entity, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this Entity to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for Entity
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace Entity {
+
+ /** Type enum. */
+ enum Type {
+ TYPE_UNSPECIFIED = 0,
+ PERSON = 1,
+ LOCATION = 2,
+ ORGANIZATION = 3,
+ EVENT = 4,
+ WORK_OF_ART = 5,
+ CONSUMER_GOOD = 6,
+ OTHER = 7,
+ PHONE_NUMBER = 9,
+ ADDRESS = 10,
+ DATE = 11,
+ NUMBER = 12,
+ PRICE = 13
+ }
+ }
+
+ /** Properties of an Intent. */
+ interface IIntent {
+
+ /** Intent id */
+ id?: (string|null);
+
+ /** Intent displayName */
+ displayName?: (string|null);
+ }
+
+ /** Represents an Intent. */
+ class Intent implements IIntent {
+
+ /**
+ * Constructs a new Intent.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.contactcenterinsights.v1.IIntent);
+
+ /** Intent id. */
+ public id: string;
+
+ /** Intent displayName. */
+ public displayName: string;
+
+ /**
+ * Creates a new Intent instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns Intent instance
+ */
+ public static create(properties?: google.cloud.contactcenterinsights.v1.IIntent): google.cloud.contactcenterinsights.v1.Intent;
+
+ /**
+ * Encodes the specified Intent message. Does not implicitly {@link google.cloud.contactcenterinsights.v1.Intent.verify|verify} messages.
+ * @param message Intent message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.contactcenterinsights.v1.IIntent, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified Intent message, length delimited. Does not implicitly {@link google.cloud.contactcenterinsights.v1.Intent.verify|verify} messages.
+ * @param message Intent message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.contactcenterinsights.v1.IIntent, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an Intent message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns Intent
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.contactcenterinsights.v1.Intent;
+
+ /**
+ * Decodes an Intent message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns Intent
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.contactcenterinsights.v1.Intent;
+
+ /**
+ * Verifies an Intent message.
+ * @param message Plain 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 Intent message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns Intent
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.contactcenterinsights.v1.Intent;
+
+ /**
+ * Creates a plain object from an Intent message. Also converts values to other types if specified.
+ * @param message Intent
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.contactcenterinsights.v1.Intent, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this Intent to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for Intent
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a PhraseMatchData. */
+ interface IPhraseMatchData {
+
+ /** PhraseMatchData phraseMatcher */
+ phraseMatcher?: (string|null);
+
+ /** PhraseMatchData displayName */
+ displayName?: (string|null);
+ }
+
+ /** Represents a PhraseMatchData. */
+ class PhraseMatchData implements IPhraseMatchData {
+
+ /**
+ * Constructs a new PhraseMatchData.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.contactcenterinsights.v1.IPhraseMatchData);
+
+ /** PhraseMatchData phraseMatcher. */
+ public phraseMatcher: string;
+
+ /** PhraseMatchData displayName. */
+ public displayName: string;
+
+ /**
+ * Creates a new PhraseMatchData instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns PhraseMatchData instance
+ */
+ public static create(properties?: google.cloud.contactcenterinsights.v1.IPhraseMatchData): google.cloud.contactcenterinsights.v1.PhraseMatchData;
+
+ /**
+ * Encodes the specified PhraseMatchData message. Does not implicitly {@link google.cloud.contactcenterinsights.v1.PhraseMatchData.verify|verify} messages.
+ * @param message PhraseMatchData message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.contactcenterinsights.v1.IPhraseMatchData, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified PhraseMatchData message, length delimited. Does not implicitly {@link google.cloud.contactcenterinsights.v1.PhraseMatchData.verify|verify} messages.
+ * @param message PhraseMatchData message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.contactcenterinsights.v1.IPhraseMatchData, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a PhraseMatchData message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns PhraseMatchData
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.contactcenterinsights.v1.PhraseMatchData;
+
+ /**
+ * Decodes a PhraseMatchData message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns PhraseMatchData
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.contactcenterinsights.v1.PhraseMatchData;
+
+ /**
+ * Verifies a PhraseMatchData message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a PhraseMatchData message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns PhraseMatchData
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.contactcenterinsights.v1.PhraseMatchData;
+
+ /**
+ * Creates a plain object from a PhraseMatchData message. Also converts values to other types if specified.
+ * @param message PhraseMatchData
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.contactcenterinsights.v1.PhraseMatchData, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this PhraseMatchData to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for PhraseMatchData
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a DialogflowIntent. */
+ interface IDialogflowIntent {
+
+ /** DialogflowIntent displayName */
+ displayName?: (string|null);
+ }
+
+ /** Represents a DialogflowIntent. */
+ class DialogflowIntent implements IDialogflowIntent {
+
+ /**
+ * Constructs a new DialogflowIntent.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.contactcenterinsights.v1.IDialogflowIntent);
+
+ /** DialogflowIntent displayName. */
+ public displayName: string;
+
+ /**
+ * Creates a new DialogflowIntent instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns DialogflowIntent instance
+ */
+ public static create(properties?: google.cloud.contactcenterinsights.v1.IDialogflowIntent): google.cloud.contactcenterinsights.v1.DialogflowIntent;
+
+ /**
+ * Encodes the specified DialogflowIntent message. Does not implicitly {@link google.cloud.contactcenterinsights.v1.DialogflowIntent.verify|verify} messages.
+ * @param message DialogflowIntent message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.contactcenterinsights.v1.IDialogflowIntent, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified DialogflowIntent message, length delimited. Does not implicitly {@link google.cloud.contactcenterinsights.v1.DialogflowIntent.verify|verify} messages.
+ * @param message DialogflowIntent message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.contactcenterinsights.v1.IDialogflowIntent, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a DialogflowIntent message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns DialogflowIntent
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.contactcenterinsights.v1.DialogflowIntent;
+
+ /**
+ * Decodes a DialogflowIntent message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns DialogflowIntent
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.contactcenterinsights.v1.DialogflowIntent;
+
+ /**
+ * Verifies a DialogflowIntent message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a DialogflowIntent message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns DialogflowIntent
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.contactcenterinsights.v1.DialogflowIntent;
+
+ /**
+ * Creates a plain object from a DialogflowIntent message. Also converts values to other types if specified.
+ * @param message DialogflowIntent
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.contactcenterinsights.v1.DialogflowIntent, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this DialogflowIntent to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for DialogflowIntent
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of an InterruptionData. */
+ interface IInterruptionData {
+ }
+
+ /** Represents an InterruptionData. */
+ class InterruptionData implements IInterruptionData {
+
+ /**
+ * Constructs a new InterruptionData.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.contactcenterinsights.v1.IInterruptionData);
+
+ /**
+ * Creates a new InterruptionData instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns InterruptionData instance
+ */
+ public static create(properties?: google.cloud.contactcenterinsights.v1.IInterruptionData): google.cloud.contactcenterinsights.v1.InterruptionData;
+
+ /**
+ * Encodes the specified InterruptionData message. Does not implicitly {@link google.cloud.contactcenterinsights.v1.InterruptionData.verify|verify} messages.
+ * @param message InterruptionData message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.contactcenterinsights.v1.IInterruptionData, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified InterruptionData message, length delimited. Does not implicitly {@link google.cloud.contactcenterinsights.v1.InterruptionData.verify|verify} messages.
+ * @param message InterruptionData message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.contactcenterinsights.v1.IInterruptionData, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an InterruptionData message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns InterruptionData
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.contactcenterinsights.v1.InterruptionData;
+
+ /**
+ * Decodes an InterruptionData message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns InterruptionData
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.contactcenterinsights.v1.InterruptionData;
+
+ /**
+ * Verifies an InterruptionData message.
+ * @param message Plain 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 InterruptionData message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns InterruptionData
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.contactcenterinsights.v1.InterruptionData;
+
+ /**
+ * Creates a plain object from an InterruptionData message. Also converts values to other types if specified.
+ * @param message InterruptionData
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.contactcenterinsights.v1.InterruptionData, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this InterruptionData to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for InterruptionData
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a SilenceData. */
+ interface ISilenceData {
+ }
+
+ /** Represents a SilenceData. */
+ class SilenceData implements ISilenceData {
+
+ /**
+ * Constructs a new SilenceData.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.contactcenterinsights.v1.ISilenceData);
+
+ /**
+ * Creates a new SilenceData instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns SilenceData instance
+ */
+ public static create(properties?: google.cloud.contactcenterinsights.v1.ISilenceData): google.cloud.contactcenterinsights.v1.SilenceData;
+
+ /**
+ * Encodes the specified SilenceData message. Does not implicitly {@link google.cloud.contactcenterinsights.v1.SilenceData.verify|verify} messages.
+ * @param message SilenceData message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.contactcenterinsights.v1.ISilenceData, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified SilenceData message, length delimited. Does not implicitly {@link google.cloud.contactcenterinsights.v1.SilenceData.verify|verify} messages.
+ * @param message SilenceData message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.contactcenterinsights.v1.ISilenceData, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a SilenceData message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns SilenceData
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.contactcenterinsights.v1.SilenceData;
+
+ /**
+ * Decodes a SilenceData message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns SilenceData
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.contactcenterinsights.v1.SilenceData;
+
+ /**
+ * Verifies a SilenceData message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a SilenceData message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns SilenceData
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.contactcenterinsights.v1.SilenceData;
+
+ /**
+ * Creates a plain object from a SilenceData message. Also converts values to other types if specified.
+ * @param message SilenceData
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.contactcenterinsights.v1.SilenceData, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this SilenceData to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for SilenceData
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a HoldData. */
+ interface IHoldData {
+ }
+
+ /** Represents a HoldData. */
+ class HoldData implements IHoldData {
+
+ /**
+ * Constructs a new HoldData.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.contactcenterinsights.v1.IHoldData);
+
+ /**
+ * Creates a new HoldData instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns HoldData instance
+ */
+ public static create(properties?: google.cloud.contactcenterinsights.v1.IHoldData): google.cloud.contactcenterinsights.v1.HoldData;
+
+ /**
+ * Encodes the specified HoldData message. Does not implicitly {@link google.cloud.contactcenterinsights.v1.HoldData.verify|verify} messages.
+ * @param message HoldData message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.contactcenterinsights.v1.IHoldData, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified HoldData message, length delimited. Does not implicitly {@link google.cloud.contactcenterinsights.v1.HoldData.verify|verify} messages.
+ * @param message HoldData message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.contactcenterinsights.v1.IHoldData, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a HoldData message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns HoldData
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.contactcenterinsights.v1.HoldData;
+
+ /**
+ * Decodes a HoldData message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns HoldData
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.contactcenterinsights.v1.HoldData;
+
+ /**
+ * Verifies a HoldData message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a HoldData message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns HoldData
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.contactcenterinsights.v1.HoldData;
+
+ /**
+ * Creates a plain object from a HoldData message. Also converts values to other types if specified.
+ * @param message HoldData
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.contactcenterinsights.v1.HoldData, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this HoldData to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for HoldData
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of an EntityMentionData. */
+ interface IEntityMentionData {
+
+ /** EntityMentionData entityUniqueId */
+ entityUniqueId?: (string|null);
+
+ /** EntityMentionData type */
+ type?: (google.cloud.contactcenterinsights.v1.EntityMentionData.MentionType|keyof typeof google.cloud.contactcenterinsights.v1.EntityMentionData.MentionType|null);
+
+ /** EntityMentionData sentiment */
+ sentiment?: (google.cloud.contactcenterinsights.v1.ISentimentData|null);
+ }
+
+ /** Represents an EntityMentionData. */
+ class EntityMentionData implements IEntityMentionData {
+
+ /**
+ * Constructs a new EntityMentionData.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.contactcenterinsights.v1.IEntityMentionData);
+
+ /** EntityMentionData entityUniqueId. */
+ public entityUniqueId: string;
+
+ /** EntityMentionData type. */
+ public type: (google.cloud.contactcenterinsights.v1.EntityMentionData.MentionType|keyof typeof google.cloud.contactcenterinsights.v1.EntityMentionData.MentionType);
+
+ /** EntityMentionData sentiment. */
+ public sentiment?: (google.cloud.contactcenterinsights.v1.ISentimentData|null);
+
+ /**
+ * Creates a new EntityMentionData instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns EntityMentionData instance
+ */
+ public static create(properties?: google.cloud.contactcenterinsights.v1.IEntityMentionData): google.cloud.contactcenterinsights.v1.EntityMentionData;
+
+ /**
+ * Encodes the specified EntityMentionData message. Does not implicitly {@link google.cloud.contactcenterinsights.v1.EntityMentionData.verify|verify} messages.
+ * @param message EntityMentionData message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.contactcenterinsights.v1.IEntityMentionData, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified EntityMentionData message, length delimited. Does not implicitly {@link google.cloud.contactcenterinsights.v1.EntityMentionData.verify|verify} messages.
+ * @param message EntityMentionData message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.contactcenterinsights.v1.IEntityMentionData, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an EntityMentionData message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns EntityMentionData
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.contactcenterinsights.v1.EntityMentionData;
+
+ /**
+ * Decodes an EntityMentionData message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns EntityMentionData
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.contactcenterinsights.v1.EntityMentionData;
+
+ /**
+ * Verifies an EntityMentionData message.
+ * @param message Plain 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 EntityMentionData message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns EntityMentionData
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.contactcenterinsights.v1.EntityMentionData;
+
+ /**
+ * Creates a plain object from an EntityMentionData message. Also converts values to other types if specified.
+ * @param message EntityMentionData
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.contactcenterinsights.v1.EntityMentionData, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this EntityMentionData to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for EntityMentionData
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace EntityMentionData {
+
+ /** MentionType enum. */
+ enum MentionType {
+ MENTION_TYPE_UNSPECIFIED = 0,
+ PROPER = 1,
+ COMMON = 2
+ }
+ }
+
+ /** Properties of an IntentMatchData. */
+ interface IIntentMatchData {
+
+ /** IntentMatchData intentUniqueId */
+ intentUniqueId?: (string|null);
+ }
+
+ /** Represents an IntentMatchData. */
+ class IntentMatchData implements IIntentMatchData {
+
+ /**
+ * Constructs a new IntentMatchData.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.contactcenterinsights.v1.IIntentMatchData);
+
+ /** IntentMatchData intentUniqueId. */
+ public intentUniqueId: string;
+
+ /**
+ * Creates a new IntentMatchData instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns IntentMatchData instance
+ */
+ public static create(properties?: google.cloud.contactcenterinsights.v1.IIntentMatchData): google.cloud.contactcenterinsights.v1.IntentMatchData;
+
+ /**
+ * Encodes the specified IntentMatchData message. Does not implicitly {@link google.cloud.contactcenterinsights.v1.IntentMatchData.verify|verify} messages.
+ * @param message IntentMatchData message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.contactcenterinsights.v1.IIntentMatchData, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified IntentMatchData message, length delimited. Does not implicitly {@link google.cloud.contactcenterinsights.v1.IntentMatchData.verify|verify} messages.
+ * @param message IntentMatchData message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.contactcenterinsights.v1.IIntentMatchData, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an IntentMatchData message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns IntentMatchData
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.contactcenterinsights.v1.IntentMatchData;
+
+ /**
+ * Decodes an IntentMatchData message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns IntentMatchData
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.contactcenterinsights.v1.IntentMatchData;
+
+ /**
+ * Verifies an IntentMatchData message.
+ * @param message Plain 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 IntentMatchData message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns IntentMatchData
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.contactcenterinsights.v1.IntentMatchData;
+
+ /**
+ * Creates a plain object from an IntentMatchData message. Also converts values to other types if specified.
+ * @param message IntentMatchData
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.contactcenterinsights.v1.IntentMatchData, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this IntentMatchData to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for IntentMatchData
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a SentimentData. */
+ interface ISentimentData {
+
+ /** SentimentData magnitude */
+ magnitude?: (number|null);
+
+ /** SentimentData score */
+ score?: (number|null);
+ }
+
+ /** Represents a SentimentData. */
+ class SentimentData implements ISentimentData {
+
+ /**
+ * Constructs a new SentimentData.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.contactcenterinsights.v1.ISentimentData);
+
+ /** SentimentData magnitude. */
+ public magnitude: number;
+
+ /** SentimentData score. */
+ public score: number;
+
+ /**
+ * Creates a new SentimentData instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns SentimentData instance
+ */
+ public static create(properties?: google.cloud.contactcenterinsights.v1.ISentimentData): google.cloud.contactcenterinsights.v1.SentimentData;
+
+ /**
+ * Encodes the specified SentimentData message. Does not implicitly {@link google.cloud.contactcenterinsights.v1.SentimentData.verify|verify} messages.
+ * @param message SentimentData message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.contactcenterinsights.v1.ISentimentData, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified SentimentData message, length delimited. Does not implicitly {@link google.cloud.contactcenterinsights.v1.SentimentData.verify|verify} messages.
+ * @param message SentimentData message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.contactcenterinsights.v1.ISentimentData, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a SentimentData message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns SentimentData
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.contactcenterinsights.v1.SentimentData;
+
+ /**
+ * Decodes a SentimentData message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns SentimentData
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.contactcenterinsights.v1.SentimentData;
+
+ /**
+ * Verifies a SentimentData message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a SentimentData message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns SentimentData
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.contactcenterinsights.v1.SentimentData;
+
+ /**
+ * Creates a plain object from a SentimentData message. Also converts values to other types if specified.
+ * @param message SentimentData
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.contactcenterinsights.v1.SentimentData, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this SentimentData to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for SentimentData
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of an IssueModel. */
+ interface IIssueModel {
+
+ /** IssueModel name */
+ name?: (string|null);
+
+ /** IssueModel displayName */
+ displayName?: (string|null);
+
+ /** IssueModel createTime */
+ createTime?: (google.protobuf.ITimestamp|null);
+
+ /** IssueModel updateTime */
+ updateTime?: (google.protobuf.ITimestamp|null);
+
+ /** IssueModel state */
+ state?: (google.cloud.contactcenterinsights.v1.IssueModel.State|keyof typeof google.cloud.contactcenterinsights.v1.IssueModel.State|null);
+
+ /** IssueModel inputDataConfig */
+ inputDataConfig?: (google.cloud.contactcenterinsights.v1.IssueModel.IInputDataConfig|null);
+
+ /** IssueModel trainingStats */
+ trainingStats?: (google.cloud.contactcenterinsights.v1.IIssueModelLabelStats|null);
+ }
+
+ /** Represents an IssueModel. */
+ class IssueModel implements IIssueModel {
+
+ /**
+ * Constructs a new IssueModel.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.contactcenterinsights.v1.IIssueModel);
+
+ /** IssueModel name. */
+ public name: string;
+
+ /** IssueModel displayName. */
+ public displayName: string;
+
+ /** IssueModel createTime. */
+ public createTime?: (google.protobuf.ITimestamp|null);
+
+ /** IssueModel updateTime. */
+ public updateTime?: (google.protobuf.ITimestamp|null);
+
+ /** IssueModel state. */
+ public state: (google.cloud.contactcenterinsights.v1.IssueModel.State|keyof typeof google.cloud.contactcenterinsights.v1.IssueModel.State);
+
+ /** IssueModel inputDataConfig. */
+ public inputDataConfig?: (google.cloud.contactcenterinsights.v1.IssueModel.IInputDataConfig|null);
+
+ /** IssueModel trainingStats. */
+ public trainingStats?: (google.cloud.contactcenterinsights.v1.IIssueModelLabelStats|null);
+
+ /**
+ * Creates a new IssueModel instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns IssueModel instance
+ */
+ public static create(properties?: google.cloud.contactcenterinsights.v1.IIssueModel): google.cloud.contactcenterinsights.v1.IssueModel;
+
+ /**
+ * Encodes the specified IssueModel message. Does not implicitly {@link google.cloud.contactcenterinsights.v1.IssueModel.verify|verify} messages.
+ * @param message IssueModel message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.contactcenterinsights.v1.IIssueModel, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified IssueModel message, length delimited. Does not implicitly {@link google.cloud.contactcenterinsights.v1.IssueModel.verify|verify} messages.
+ * @param message IssueModel message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.contactcenterinsights.v1.IIssueModel, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an IssueModel message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns IssueModel
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.contactcenterinsights.v1.IssueModel;
+
+ /**
+ * Decodes an IssueModel message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns IssueModel
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.contactcenterinsights.v1.IssueModel;
+
+ /**
+ * Verifies an IssueModel message.
+ * @param message Plain 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 IssueModel message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns IssueModel
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.contactcenterinsights.v1.IssueModel;
+
+ /**
+ * Creates a plain object from an IssueModel message. Also converts values to other types if specified.
+ * @param message IssueModel
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.contactcenterinsights.v1.IssueModel, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this IssueModel to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for IssueModel
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace IssueModel {
+
+ /** Properties of an InputDataConfig. */
+ interface IInputDataConfig {
+
+ /** InputDataConfig medium */
+ medium?: (google.cloud.contactcenterinsights.v1.Conversation.Medium|keyof typeof google.cloud.contactcenterinsights.v1.Conversation.Medium|null);
+
+ /** InputDataConfig trainingConversationsCount */
+ trainingConversationsCount?: (number|Long|string|null);
+
+ /** InputDataConfig filter */
+ filter?: (string|null);
+ }
+
+ /** Represents an InputDataConfig. */
+ class InputDataConfig implements IInputDataConfig {
+
+ /**
+ * Constructs a new InputDataConfig.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.contactcenterinsights.v1.IssueModel.IInputDataConfig);
+
+ /** InputDataConfig medium. */
+ public medium: (google.cloud.contactcenterinsights.v1.Conversation.Medium|keyof typeof google.cloud.contactcenterinsights.v1.Conversation.Medium);
+
+ /** InputDataConfig trainingConversationsCount. */
+ public trainingConversationsCount: (number|Long|string);
+
+ /** InputDataConfig filter. */
+ public filter: string;
+
+ /**
+ * Creates a new InputDataConfig instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns InputDataConfig instance
+ */
+ public static create(properties?: google.cloud.contactcenterinsights.v1.IssueModel.IInputDataConfig): google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig;
+
+ /**
+ * Encodes the specified InputDataConfig message. Does not implicitly {@link google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig.verify|verify} messages.
+ * @param message InputDataConfig message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.contactcenterinsights.v1.IssueModel.IInputDataConfig, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified InputDataConfig message, length delimited. Does not implicitly {@link google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig.verify|verify} messages.
+ * @param message InputDataConfig message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.contactcenterinsights.v1.IssueModel.IInputDataConfig, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an InputDataConfig message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns InputDataConfig
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig;
+
+ /**
+ * Decodes an InputDataConfig message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns InputDataConfig
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig;
+
+ /**
+ * Verifies an InputDataConfig message.
+ * @param message Plain 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 InputDataConfig message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns InputDataConfig
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig;
+
+ /**
+ * Creates a plain object from an InputDataConfig message. Also converts values to other types if specified.
+ * @param message InputDataConfig
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this InputDataConfig to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for InputDataConfig
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** State enum. */
+ enum State {
+ STATE_UNSPECIFIED = 0,
+ UNDEPLOYED = 1,
+ DEPLOYING = 2,
+ DEPLOYED = 3,
+ UNDEPLOYING = 4,
+ DELETING = 5
+ }
+ }
+
+ /** Properties of an Issue. */
+ interface IIssue {
+
+ /** Issue name */
+ name?: (string|null);
+
+ /** Issue displayName */
+ displayName?: (string|null);
+
+ /** Issue createTime */
+ createTime?: (google.protobuf.ITimestamp|null);
+
+ /** Issue updateTime */
+ updateTime?: (google.protobuf.ITimestamp|null);
+ }
+
+ /** Represents an Issue. */
+ class Issue implements IIssue {
+
+ /**
+ * Constructs a new Issue.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.contactcenterinsights.v1.IIssue);
+
+ /** Issue name. */
+ public name: string;
+
+ /** Issue displayName. */
+ public displayName: string;
+
+ /** Issue createTime. */
+ public createTime?: (google.protobuf.ITimestamp|null);
+
+ /** Issue updateTime. */
+ public updateTime?: (google.protobuf.ITimestamp|null);
+
+ /**
+ * Creates a new Issue instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns Issue instance
+ */
+ public static create(properties?: google.cloud.contactcenterinsights.v1.IIssue): google.cloud.contactcenterinsights.v1.Issue;
+
+ /**
+ * Encodes the specified Issue message. Does not implicitly {@link google.cloud.contactcenterinsights.v1.Issue.verify|verify} messages.
+ * @param message Issue message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.contactcenterinsights.v1.IIssue, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified Issue message, length delimited. Does not implicitly {@link google.cloud.contactcenterinsights.v1.Issue.verify|verify} messages.
+ * @param message Issue message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.contactcenterinsights.v1.IIssue, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an Issue message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns Issue
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.contactcenterinsights.v1.Issue;
+
+ /**
+ * Decodes an Issue message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns Issue
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.contactcenterinsights.v1.Issue;
+
+ /**
+ * Verifies an Issue message.
+ * @param message Plain 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 Issue message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns Issue
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.contactcenterinsights.v1.Issue;
+
+ /**
+ * Creates a plain object from an Issue message. Also converts values to other types if specified.
+ * @param message Issue
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.contactcenterinsights.v1.Issue, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this Issue to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for Issue
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of an IssueModelLabelStats. */
+ interface IIssueModelLabelStats {
+
+ /** IssueModelLabelStats analyzedConversationsCount */
+ analyzedConversationsCount?: (number|Long|string|null);
+
+ /** IssueModelLabelStats unclassifiedConversationsCount */
+ unclassifiedConversationsCount?: (number|Long|string|null);
+
+ /** IssueModelLabelStats issueStats */
+ issueStats?: ({ [k: string]: google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IIssueStats }|null);
+ }
+
+ /** Represents an IssueModelLabelStats. */
+ class IssueModelLabelStats implements IIssueModelLabelStats {
+
+ /**
+ * Constructs a new IssueModelLabelStats.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.contactcenterinsights.v1.IIssueModelLabelStats);
+
+ /** IssueModelLabelStats analyzedConversationsCount. */
+ public analyzedConversationsCount: (number|Long|string);
+
+ /** IssueModelLabelStats unclassifiedConversationsCount. */
+ public unclassifiedConversationsCount: (number|Long|string);
+
+ /** IssueModelLabelStats issueStats. */
+ public issueStats: { [k: string]: google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IIssueStats };
+
+ /**
+ * Creates a new IssueModelLabelStats instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns IssueModelLabelStats instance
+ */
+ public static create(properties?: google.cloud.contactcenterinsights.v1.IIssueModelLabelStats): google.cloud.contactcenterinsights.v1.IssueModelLabelStats;
+
+ /**
+ * Encodes the specified IssueModelLabelStats message. Does not implicitly {@link google.cloud.contactcenterinsights.v1.IssueModelLabelStats.verify|verify} messages.
+ * @param message IssueModelLabelStats message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.contactcenterinsights.v1.IIssueModelLabelStats, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified IssueModelLabelStats message, length delimited. Does not implicitly {@link google.cloud.contactcenterinsights.v1.IssueModelLabelStats.verify|verify} messages.
+ * @param message IssueModelLabelStats message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.contactcenterinsights.v1.IIssueModelLabelStats, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an IssueModelLabelStats message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns IssueModelLabelStats
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.contactcenterinsights.v1.IssueModelLabelStats;
+
+ /**
+ * Decodes an IssueModelLabelStats message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns IssueModelLabelStats
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.contactcenterinsights.v1.IssueModelLabelStats;
+
+ /**
+ * Verifies an IssueModelLabelStats message.
+ * @param message Plain 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 IssueModelLabelStats message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns IssueModelLabelStats
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.contactcenterinsights.v1.IssueModelLabelStats;
+
+ /**
+ * Creates a plain object from an IssueModelLabelStats message. Also converts values to other types if specified.
+ * @param message IssueModelLabelStats
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.contactcenterinsights.v1.IssueModelLabelStats, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this IssueModelLabelStats to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for IssueModelLabelStats
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace IssueModelLabelStats {
+
+ /** Properties of an IssueStats. */
+ interface IIssueStats {
+
+ /** IssueStats issue */
+ issue?: (string|null);
+
+ /** IssueStats labeledConversationsCount */
+ labeledConversationsCount?: (number|Long|string|null);
+
+ /** IssueStats displayName */
+ displayName?: (string|null);
+ }
+
+ /** Represents an IssueStats. */
+ class IssueStats implements IIssueStats {
+
+ /**
+ * Constructs a new IssueStats.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IIssueStats);
+
+ /** IssueStats issue. */
+ public issue: string;
+
+ /** IssueStats labeledConversationsCount. */
+ public labeledConversationsCount: (number|Long|string);
+
+ /** IssueStats displayName. */
+ public displayName: string;
+
+ /**
+ * Creates a new IssueStats instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns IssueStats instance
+ */
+ public static create(properties?: google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IIssueStats): google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats;
+
+ /**
+ * Encodes the specified IssueStats message. Does not implicitly {@link google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats.verify|verify} messages.
+ * @param message IssueStats message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IIssueStats, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified IssueStats message, length delimited. Does not implicitly {@link google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats.verify|verify} messages.
+ * @param message IssueStats message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IIssueStats, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an IssueStats message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns IssueStats
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats;
+
+ /**
+ * Decodes an IssueStats message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns IssueStats
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats;
+
+ /**
+ * Verifies an IssueStats message.
+ * @param message Plain 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 IssueStats message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns IssueStats
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats;
+
+ /**
+ * Creates a plain object from an IssueStats message. Also converts values to other types if specified.
+ * @param message IssueStats
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this IssueStats to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for IssueStats
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+ }
+
+ /** Properties of a PhraseMatcher. */
+ interface IPhraseMatcher {
+
+ /** PhraseMatcher name */
+ name?: (string|null);
+
+ /** PhraseMatcher revisionId */
+ revisionId?: (string|null);
+
+ /** PhraseMatcher versionTag */
+ versionTag?: (string|null);
+
+ /** PhraseMatcher revisionCreateTime */
+ revisionCreateTime?: (google.protobuf.ITimestamp|null);
+
+ /** PhraseMatcher displayName */
+ displayName?: (string|null);
+
+ /** PhraseMatcher type */
+ type?: (google.cloud.contactcenterinsights.v1.PhraseMatcher.PhraseMatcherType|keyof typeof google.cloud.contactcenterinsights.v1.PhraseMatcher.PhraseMatcherType|null);
+
+ /** PhraseMatcher active */
+ active?: (boolean|null);
+
+ /** PhraseMatcher phraseMatchRuleGroups */
+ phraseMatchRuleGroups?: (google.cloud.contactcenterinsights.v1.IPhraseMatchRuleGroup[]|null);
+
+ /** PhraseMatcher activationUpdateTime */
+ activationUpdateTime?: (google.protobuf.ITimestamp|null);
+
+ /** PhraseMatcher roleMatch */
+ roleMatch?: (google.cloud.contactcenterinsights.v1.ConversationParticipant.Role|keyof typeof google.cloud.contactcenterinsights.v1.ConversationParticipant.Role|null);
+
+ /** PhraseMatcher updateTime */
+ updateTime?: (google.protobuf.ITimestamp|null);
+ }
+
+ /** Represents a PhraseMatcher. */
+ class PhraseMatcher implements IPhraseMatcher {
+
+ /**
+ * Constructs a new PhraseMatcher.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.contactcenterinsights.v1.IPhraseMatcher);
+
+ /** PhraseMatcher name. */
+ public name: string;
+
+ /** PhraseMatcher revisionId. */
+ public revisionId: string;
+
+ /** PhraseMatcher versionTag. */
+ public versionTag: string;
+
+ /** PhraseMatcher revisionCreateTime. */
+ public revisionCreateTime?: (google.protobuf.ITimestamp|null);
+
+ /** PhraseMatcher displayName. */
+ public displayName: string;
+
+ /** PhraseMatcher type. */
+ public type: (google.cloud.contactcenterinsights.v1.PhraseMatcher.PhraseMatcherType|keyof typeof google.cloud.contactcenterinsights.v1.PhraseMatcher.PhraseMatcherType);
+
+ /** PhraseMatcher active. */
+ public active: boolean;
+
+ /** PhraseMatcher phraseMatchRuleGroups. */
+ public phraseMatchRuleGroups: google.cloud.contactcenterinsights.v1.IPhraseMatchRuleGroup[];
+
+ /** PhraseMatcher activationUpdateTime. */
+ public activationUpdateTime?: (google.protobuf.ITimestamp|null);
+
+ /** PhraseMatcher roleMatch. */
+ public roleMatch: (google.cloud.contactcenterinsights.v1.ConversationParticipant.Role|keyof typeof google.cloud.contactcenterinsights.v1.ConversationParticipant.Role);
+
+ /** PhraseMatcher updateTime. */
+ public updateTime?: (google.protobuf.ITimestamp|null);
+
+ /**
+ * Creates a new PhraseMatcher instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns PhraseMatcher instance
+ */
+ public static create(properties?: google.cloud.contactcenterinsights.v1.IPhraseMatcher): google.cloud.contactcenterinsights.v1.PhraseMatcher;
+
+ /**
+ * Encodes the specified PhraseMatcher message. Does not implicitly {@link google.cloud.contactcenterinsights.v1.PhraseMatcher.verify|verify} messages.
+ * @param message PhraseMatcher message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.contactcenterinsights.v1.IPhraseMatcher, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified PhraseMatcher message, length delimited. Does not implicitly {@link google.cloud.contactcenterinsights.v1.PhraseMatcher.verify|verify} messages.
+ * @param message PhraseMatcher message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.contactcenterinsights.v1.IPhraseMatcher, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a PhraseMatcher message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns PhraseMatcher
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.contactcenterinsights.v1.PhraseMatcher;
+
+ /**
+ * Decodes a PhraseMatcher message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns PhraseMatcher
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.contactcenterinsights.v1.PhraseMatcher;
+
+ /**
+ * Verifies a PhraseMatcher message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a PhraseMatcher message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns PhraseMatcher
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.contactcenterinsights.v1.PhraseMatcher;
+
+ /**
+ * Creates a plain object from a PhraseMatcher message. Also converts values to other types if specified.
+ * @param message PhraseMatcher
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.contactcenterinsights.v1.PhraseMatcher, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this PhraseMatcher to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for PhraseMatcher
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace PhraseMatcher {
+
+ /** PhraseMatcherType enum. */
+ enum PhraseMatcherType {
+ PHRASE_MATCHER_TYPE_UNSPECIFIED = 0,
+ ALL_OF = 1,
+ ANY_OF = 2
+ }
+ }
+
+ /** Properties of a PhraseMatchRuleGroup. */
+ interface IPhraseMatchRuleGroup {
+
+ /** PhraseMatchRuleGroup type */
+ type?: (google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup.PhraseMatchRuleGroupType|keyof typeof google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup.PhraseMatchRuleGroupType|null);
+
+ /** PhraseMatchRuleGroup phraseMatchRules */
+ phraseMatchRules?: (google.cloud.contactcenterinsights.v1.IPhraseMatchRule[]|null);
+ }
+
+ /** Represents a PhraseMatchRuleGroup. */
+ class PhraseMatchRuleGroup implements IPhraseMatchRuleGroup {
+
+ /**
+ * Constructs a new PhraseMatchRuleGroup.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.contactcenterinsights.v1.IPhraseMatchRuleGroup);
+
+ /** PhraseMatchRuleGroup type. */
+ public type: (google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup.PhraseMatchRuleGroupType|keyof typeof google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup.PhraseMatchRuleGroupType);
+
+ /** PhraseMatchRuleGroup phraseMatchRules. */
+ public phraseMatchRules: google.cloud.contactcenterinsights.v1.IPhraseMatchRule[];
+
+ /**
+ * Creates a new PhraseMatchRuleGroup instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns PhraseMatchRuleGroup instance
+ */
+ public static create(properties?: google.cloud.contactcenterinsights.v1.IPhraseMatchRuleGroup): google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup;
+
+ /**
+ * Encodes the specified PhraseMatchRuleGroup message. Does not implicitly {@link google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup.verify|verify} messages.
+ * @param message PhraseMatchRuleGroup message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.contactcenterinsights.v1.IPhraseMatchRuleGroup, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified PhraseMatchRuleGroup message, length delimited. Does not implicitly {@link google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup.verify|verify} messages.
+ * @param message PhraseMatchRuleGroup message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.contactcenterinsights.v1.IPhraseMatchRuleGroup, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a PhraseMatchRuleGroup message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns PhraseMatchRuleGroup
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup;
+
+ /**
+ * Decodes a PhraseMatchRuleGroup message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns PhraseMatchRuleGroup
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup;
+
+ /**
+ * Verifies a PhraseMatchRuleGroup message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a PhraseMatchRuleGroup message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns PhraseMatchRuleGroup
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup;
+
+ /**
+ * Creates a plain object from a PhraseMatchRuleGroup message. Also converts values to other types if specified.
+ * @param message PhraseMatchRuleGroup
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this PhraseMatchRuleGroup to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for PhraseMatchRuleGroup
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace PhraseMatchRuleGroup {
+
+ /** PhraseMatchRuleGroupType enum. */
+ enum PhraseMatchRuleGroupType {
+ PHRASE_MATCH_RULE_GROUP_TYPE_UNSPECIFIED = 0,
+ ALL_OF = 1,
+ ANY_OF = 2
+ }
+ }
+
+ /** Properties of a PhraseMatchRule. */
+ interface IPhraseMatchRule {
+
+ /** PhraseMatchRule query */
+ query?: (string|null);
+
+ /** PhraseMatchRule negated */
+ negated?: (boolean|null);
+
+ /** PhraseMatchRule config */
+ config?: (google.cloud.contactcenterinsights.v1.IPhraseMatchRuleConfig|null);
+ }
+
+ /** Represents a PhraseMatchRule. */
+ class PhraseMatchRule implements IPhraseMatchRule {
+
+ /**
+ * Constructs a new PhraseMatchRule.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.contactcenterinsights.v1.IPhraseMatchRule);
+
+ /** PhraseMatchRule query. */
+ public query: string;
+
+ /** PhraseMatchRule negated. */
+ public negated: boolean;
+
+ /** PhraseMatchRule config. */
+ public config?: (google.cloud.contactcenterinsights.v1.IPhraseMatchRuleConfig|null);
+
+ /**
+ * Creates a new PhraseMatchRule instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns PhraseMatchRule instance
+ */
+ public static create(properties?: google.cloud.contactcenterinsights.v1.IPhraseMatchRule): google.cloud.contactcenterinsights.v1.PhraseMatchRule;
+
+ /**
+ * Encodes the specified PhraseMatchRule message. Does not implicitly {@link google.cloud.contactcenterinsights.v1.PhraseMatchRule.verify|verify} messages.
+ * @param message PhraseMatchRule message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.contactcenterinsights.v1.IPhraseMatchRule, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified PhraseMatchRule message, length delimited. Does not implicitly {@link google.cloud.contactcenterinsights.v1.PhraseMatchRule.verify|verify} messages.
+ * @param message PhraseMatchRule message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.contactcenterinsights.v1.IPhraseMatchRule, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a PhraseMatchRule message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns PhraseMatchRule
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.contactcenterinsights.v1.PhraseMatchRule;
+
+ /**
+ * Decodes a PhraseMatchRule message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns PhraseMatchRule
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.contactcenterinsights.v1.PhraseMatchRule;
+
+ /**
+ * Verifies a PhraseMatchRule message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a PhraseMatchRule message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns PhraseMatchRule
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.contactcenterinsights.v1.PhraseMatchRule;
+
+ /**
+ * Creates a plain object from a PhraseMatchRule message. Also converts values to other types if specified.
+ * @param message PhraseMatchRule
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.contactcenterinsights.v1.PhraseMatchRule, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this PhraseMatchRule to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for PhraseMatchRule
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a PhraseMatchRuleConfig. */
+ interface IPhraseMatchRuleConfig {
+
+ /** PhraseMatchRuleConfig exactMatchConfig */
+ exactMatchConfig?: (google.cloud.contactcenterinsights.v1.IExactMatchConfig|null);
+ }
+
+ /** Represents a PhraseMatchRuleConfig. */
+ class PhraseMatchRuleConfig implements IPhraseMatchRuleConfig {
+
+ /**
+ * Constructs a new PhraseMatchRuleConfig.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.contactcenterinsights.v1.IPhraseMatchRuleConfig);
+
+ /** PhraseMatchRuleConfig exactMatchConfig. */
+ public exactMatchConfig?: (google.cloud.contactcenterinsights.v1.IExactMatchConfig|null);
+
+ /** PhraseMatchRuleConfig config. */
+ public config?: "exactMatchConfig";
+
+ /**
+ * Creates a new PhraseMatchRuleConfig instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns PhraseMatchRuleConfig instance
+ */
+ public static create(properties?: google.cloud.contactcenterinsights.v1.IPhraseMatchRuleConfig): google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig;
+
+ /**
+ * Encodes the specified PhraseMatchRuleConfig message. Does not implicitly {@link google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig.verify|verify} messages.
+ * @param message PhraseMatchRuleConfig message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.contactcenterinsights.v1.IPhraseMatchRuleConfig, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified PhraseMatchRuleConfig message, length delimited. Does not implicitly {@link google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig.verify|verify} messages.
+ * @param message PhraseMatchRuleConfig message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.contactcenterinsights.v1.IPhraseMatchRuleConfig, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a PhraseMatchRuleConfig message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns PhraseMatchRuleConfig
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig;
+
+ /**
+ * Decodes a PhraseMatchRuleConfig message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns PhraseMatchRuleConfig
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig;
+
+ /**
+ * Verifies a PhraseMatchRuleConfig message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a PhraseMatchRuleConfig message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns PhraseMatchRuleConfig
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig;
+
+ /**
+ * Creates a plain object from a PhraseMatchRuleConfig message. Also converts values to other types if specified.
+ * @param message PhraseMatchRuleConfig
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this PhraseMatchRuleConfig to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for PhraseMatchRuleConfig
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of an ExactMatchConfig. */
+ interface IExactMatchConfig {
+
+ /** ExactMatchConfig caseSensitive */
+ caseSensitive?: (boolean|null);
+ }
+
+ /** Represents an ExactMatchConfig. */
+ class ExactMatchConfig implements IExactMatchConfig {
+
+ /**
+ * Constructs a new ExactMatchConfig.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.contactcenterinsights.v1.IExactMatchConfig);
+
+ /** ExactMatchConfig caseSensitive. */
+ public caseSensitive: boolean;
+
+ /**
+ * Creates a new ExactMatchConfig instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ExactMatchConfig instance
+ */
+ public static create(properties?: google.cloud.contactcenterinsights.v1.IExactMatchConfig): google.cloud.contactcenterinsights.v1.ExactMatchConfig;
+
+ /**
+ * Encodes the specified ExactMatchConfig message. Does not implicitly {@link google.cloud.contactcenterinsights.v1.ExactMatchConfig.verify|verify} messages.
+ * @param message ExactMatchConfig message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.contactcenterinsights.v1.IExactMatchConfig, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ExactMatchConfig message, length delimited. Does not implicitly {@link google.cloud.contactcenterinsights.v1.ExactMatchConfig.verify|verify} messages.
+ * @param message ExactMatchConfig message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.contactcenterinsights.v1.IExactMatchConfig, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an ExactMatchConfig message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ExactMatchConfig
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.contactcenterinsights.v1.ExactMatchConfig;
+
+ /**
+ * Decodes an ExactMatchConfig message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ExactMatchConfig
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.contactcenterinsights.v1.ExactMatchConfig;
+
+ /**
+ * Verifies an ExactMatchConfig message.
+ * @param message Plain 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 ExactMatchConfig message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ExactMatchConfig
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.contactcenterinsights.v1.ExactMatchConfig;
+
+ /**
+ * Creates a plain object from an ExactMatchConfig message. Also converts values to other types if specified.
+ * @param message ExactMatchConfig
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.contactcenterinsights.v1.ExactMatchConfig, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ExactMatchConfig to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ExactMatchConfig
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a Settings. */
+ interface ISettings {
+
+ /** Settings name */
+ name?: (string|null);
+
+ /** Settings createTime */
+ createTime?: (google.protobuf.ITimestamp|null);
+
+ /** Settings updateTime */
+ updateTime?: (google.protobuf.ITimestamp|null);
+
+ /** Settings languageCode */
+ languageCode?: (string|null);
+
+ /** Settings conversationTtl */
+ conversationTtl?: (google.protobuf.IDuration|null);
+
+ /** Settings pubsubNotificationSettings */
+ pubsubNotificationSettings?: ({ [k: string]: string }|null);
+
+ /** Settings analysisConfig */
+ analysisConfig?: (google.cloud.contactcenterinsights.v1.Settings.IAnalysisConfig|null);
+ }
+
+ /** Represents a Settings. */
+ class Settings implements ISettings {
+
+ /**
+ * Constructs a new Settings.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.contactcenterinsights.v1.ISettings);
+
+ /** Settings name. */
+ public name: string;
+
+ /** Settings createTime. */
+ public createTime?: (google.protobuf.ITimestamp|null);
+
+ /** Settings updateTime. */
+ public updateTime?: (google.protobuf.ITimestamp|null);
+
+ /** Settings languageCode. */
+ public languageCode: string;
+
+ /** Settings conversationTtl. */
+ public conversationTtl?: (google.protobuf.IDuration|null);
+
+ /** Settings pubsubNotificationSettings. */
+ public pubsubNotificationSettings: { [k: string]: string };
+
+ /** Settings analysisConfig. */
+ public analysisConfig?: (google.cloud.contactcenterinsights.v1.Settings.IAnalysisConfig|null);
+
+ /**
+ * Creates a new Settings instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns Settings instance
+ */
+ public static create(properties?: google.cloud.contactcenterinsights.v1.ISettings): google.cloud.contactcenterinsights.v1.Settings;
+
+ /**
+ * Encodes the specified Settings message. Does not implicitly {@link google.cloud.contactcenterinsights.v1.Settings.verify|verify} messages.
+ * @param message Settings message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.contactcenterinsights.v1.ISettings, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified Settings message, length delimited. Does not implicitly {@link google.cloud.contactcenterinsights.v1.Settings.verify|verify} messages.
+ * @param message Settings message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.contactcenterinsights.v1.ISettings, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a Settings message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns Settings
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.contactcenterinsights.v1.Settings;
+
+ /**
+ * Decodes a Settings message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns Settings
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.contactcenterinsights.v1.Settings;
+
+ /**
+ * Verifies a Settings message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a Settings message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns Settings
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.contactcenterinsights.v1.Settings;
+
+ /**
+ * Creates a plain object from a Settings message. Also converts values to other types if specified.
+ * @param message Settings
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.contactcenterinsights.v1.Settings, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this Settings to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for Settings
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace Settings {
+
+ /** Properties of an AnalysisConfig. */
+ interface IAnalysisConfig {
+
+ /** AnalysisConfig runtimeIntegrationAnalysisPercentage */
+ runtimeIntegrationAnalysisPercentage?: (number|null);
+ }
+
+ /** Represents an AnalysisConfig. */
+ class AnalysisConfig implements IAnalysisConfig {
+
+ /**
+ * Constructs a new AnalysisConfig.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.contactcenterinsights.v1.Settings.IAnalysisConfig);
+
+ /** AnalysisConfig runtimeIntegrationAnalysisPercentage. */
+ public runtimeIntegrationAnalysisPercentage: number;
+
+ /**
+ * Creates a new AnalysisConfig instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns AnalysisConfig instance
+ */
+ public static create(properties?: google.cloud.contactcenterinsights.v1.Settings.IAnalysisConfig): google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig;
+
+ /**
+ * Encodes the specified AnalysisConfig message. Does not implicitly {@link google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig.verify|verify} messages.
+ * @param message AnalysisConfig message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.contactcenterinsights.v1.Settings.IAnalysisConfig, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified AnalysisConfig message, length delimited. Does not implicitly {@link google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig.verify|verify} messages.
+ * @param message AnalysisConfig message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.contactcenterinsights.v1.Settings.IAnalysisConfig, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an AnalysisConfig message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns AnalysisConfig
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig;
+
+ /**
+ * Decodes an AnalysisConfig message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns AnalysisConfig
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig;
+
+ /**
+ * Verifies an AnalysisConfig message.
+ * @param message Plain 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 AnalysisConfig message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns AnalysisConfig
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig;
+
+ /**
+ * Creates a plain object from an AnalysisConfig message. Also converts values to other types if specified.
+ * @param message AnalysisConfig
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this AnalysisConfig to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for AnalysisConfig
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+ }
+
+ /** Properties of a RuntimeAnnotation. */
+ interface IRuntimeAnnotation {
+
+ /** RuntimeAnnotation articleSuggestion */
+ articleSuggestion?: (google.cloud.contactcenterinsights.v1.IArticleSuggestionData|null);
+
+ /** RuntimeAnnotation faqAnswer */
+ faqAnswer?: (google.cloud.contactcenterinsights.v1.IFaqAnswerData|null);
+
+ /** RuntimeAnnotation smartReply */
+ smartReply?: (google.cloud.contactcenterinsights.v1.ISmartReplyData|null);
+
+ /** RuntimeAnnotation smartComposeSuggestion */
+ smartComposeSuggestion?: (google.cloud.contactcenterinsights.v1.ISmartComposeSuggestionData|null);
+
+ /** RuntimeAnnotation dialogflowInteraction */
+ dialogflowInteraction?: (google.cloud.contactcenterinsights.v1.IDialogflowInteractionData|null);
+
+ /** RuntimeAnnotation annotationId */
+ annotationId?: (string|null);
+
+ /** RuntimeAnnotation createTime */
+ createTime?: (google.protobuf.ITimestamp|null);
+
+ /** RuntimeAnnotation startBoundary */
+ startBoundary?: (google.cloud.contactcenterinsights.v1.IAnnotationBoundary|null);
+
+ /** RuntimeAnnotation endBoundary */
+ endBoundary?: (google.cloud.contactcenterinsights.v1.IAnnotationBoundary|null);
+
+ /** RuntimeAnnotation answerFeedback */
+ answerFeedback?: (google.cloud.contactcenterinsights.v1.IAnswerFeedback|null);
+ }
+
+ /** Represents a RuntimeAnnotation. */
+ class RuntimeAnnotation implements IRuntimeAnnotation {
+
+ /**
+ * Constructs a new RuntimeAnnotation.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.contactcenterinsights.v1.IRuntimeAnnotation);
+
+ /** RuntimeAnnotation articleSuggestion. */
+ public articleSuggestion?: (google.cloud.contactcenterinsights.v1.IArticleSuggestionData|null);
+
+ /** RuntimeAnnotation faqAnswer. */
+ public faqAnswer?: (google.cloud.contactcenterinsights.v1.IFaqAnswerData|null);
+
+ /** RuntimeAnnotation smartReply. */
+ public smartReply?: (google.cloud.contactcenterinsights.v1.ISmartReplyData|null);
+
+ /** RuntimeAnnotation smartComposeSuggestion. */
+ public smartComposeSuggestion?: (google.cloud.contactcenterinsights.v1.ISmartComposeSuggestionData|null);
+
+ /** RuntimeAnnotation dialogflowInteraction. */
+ public dialogflowInteraction?: (google.cloud.contactcenterinsights.v1.IDialogflowInteractionData|null);
+
+ /** RuntimeAnnotation annotationId. */
+ public annotationId: string;
+
+ /** RuntimeAnnotation createTime. */
+ public createTime?: (google.protobuf.ITimestamp|null);
+
+ /** RuntimeAnnotation startBoundary. */
+ public startBoundary?: (google.cloud.contactcenterinsights.v1.IAnnotationBoundary|null);
+
+ /** RuntimeAnnotation endBoundary. */
+ public endBoundary?: (google.cloud.contactcenterinsights.v1.IAnnotationBoundary|null);
+
+ /** RuntimeAnnotation answerFeedback. */
+ public answerFeedback?: (google.cloud.contactcenterinsights.v1.IAnswerFeedback|null);
+
+ /** RuntimeAnnotation data. */
+ public data?: ("articleSuggestion"|"faqAnswer"|"smartReply"|"smartComposeSuggestion"|"dialogflowInteraction");
+
+ /**
+ * Creates a new RuntimeAnnotation instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns RuntimeAnnotation instance
+ */
+ public static create(properties?: google.cloud.contactcenterinsights.v1.IRuntimeAnnotation): google.cloud.contactcenterinsights.v1.RuntimeAnnotation;
+
+ /**
+ * Encodes the specified RuntimeAnnotation message. Does not implicitly {@link google.cloud.contactcenterinsights.v1.RuntimeAnnotation.verify|verify} messages.
+ * @param message RuntimeAnnotation message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.contactcenterinsights.v1.IRuntimeAnnotation, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified RuntimeAnnotation message, length delimited. Does not implicitly {@link google.cloud.contactcenterinsights.v1.RuntimeAnnotation.verify|verify} messages.
+ * @param message RuntimeAnnotation message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.contactcenterinsights.v1.IRuntimeAnnotation, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a RuntimeAnnotation message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns RuntimeAnnotation
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.contactcenterinsights.v1.RuntimeAnnotation;
+
+ /**
+ * Decodes a RuntimeAnnotation message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns RuntimeAnnotation
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.contactcenterinsights.v1.RuntimeAnnotation;
+
+ /**
+ * Verifies a RuntimeAnnotation message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a RuntimeAnnotation message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns RuntimeAnnotation
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.contactcenterinsights.v1.RuntimeAnnotation;
+
+ /**
+ * Creates a plain object from a RuntimeAnnotation message. Also converts values to other types if specified.
+ * @param message RuntimeAnnotation
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.contactcenterinsights.v1.RuntimeAnnotation, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this RuntimeAnnotation to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for RuntimeAnnotation
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of an AnswerFeedback. */
+ interface IAnswerFeedback {
+
+ /** AnswerFeedback correctnessLevel */
+ correctnessLevel?: (google.cloud.contactcenterinsights.v1.AnswerFeedback.CorrectnessLevel|keyof typeof google.cloud.contactcenterinsights.v1.AnswerFeedback.CorrectnessLevel|null);
+
+ /** AnswerFeedback clicked */
+ clicked?: (boolean|null);
+
+ /** AnswerFeedback displayed */
+ displayed?: (boolean|null);
+ }
+
+ /** Represents an AnswerFeedback. */
+ class AnswerFeedback implements IAnswerFeedback {
+
+ /**
+ * Constructs a new AnswerFeedback.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.contactcenterinsights.v1.IAnswerFeedback);
+
+ /** AnswerFeedback correctnessLevel. */
+ public correctnessLevel: (google.cloud.contactcenterinsights.v1.AnswerFeedback.CorrectnessLevel|keyof typeof google.cloud.contactcenterinsights.v1.AnswerFeedback.CorrectnessLevel);
+
+ /** AnswerFeedback clicked. */
+ public clicked: boolean;
+
+ /** AnswerFeedback displayed. */
+ public displayed: boolean;
+
+ /**
+ * Creates a new AnswerFeedback instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns AnswerFeedback instance
+ */
+ public static create(properties?: google.cloud.contactcenterinsights.v1.IAnswerFeedback): google.cloud.contactcenterinsights.v1.AnswerFeedback;
+
+ /**
+ * Encodes the specified AnswerFeedback message. Does not implicitly {@link google.cloud.contactcenterinsights.v1.AnswerFeedback.verify|verify} messages.
+ * @param message AnswerFeedback message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.contactcenterinsights.v1.IAnswerFeedback, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified AnswerFeedback message, length delimited. Does not implicitly {@link google.cloud.contactcenterinsights.v1.AnswerFeedback.verify|verify} messages.
+ * @param message AnswerFeedback message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.contactcenterinsights.v1.IAnswerFeedback, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an AnswerFeedback message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns AnswerFeedback
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.contactcenterinsights.v1.AnswerFeedback;
+
+ /**
+ * Decodes an AnswerFeedback message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns AnswerFeedback
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.contactcenterinsights.v1.AnswerFeedback;
+
+ /**
+ * Verifies an AnswerFeedback message.
+ * @param message Plain 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 AnswerFeedback message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns AnswerFeedback
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.contactcenterinsights.v1.AnswerFeedback;
+
+ /**
+ * Creates a plain object from an AnswerFeedback message. Also converts values to other types if specified.
+ * @param message AnswerFeedback
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.contactcenterinsights.v1.AnswerFeedback, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this AnswerFeedback to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for AnswerFeedback
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace AnswerFeedback {
+
+ /** CorrectnessLevel enum. */
+ enum CorrectnessLevel {
+ CORRECTNESS_LEVEL_UNSPECIFIED = 0,
+ NOT_CORRECT = 1,
+ PARTIALLY_CORRECT = 2,
+ FULLY_CORRECT = 3
+ }
+ }
+
+ /** Properties of an ArticleSuggestionData. */
+ interface IArticleSuggestionData {
+
+ /** ArticleSuggestionData title */
+ title?: (string|null);
+
+ /** ArticleSuggestionData uri */
+ uri?: (string|null);
+
+ /** ArticleSuggestionData confidenceScore */
+ confidenceScore?: (number|null);
+
+ /** ArticleSuggestionData metadata */
+ metadata?: ({ [k: string]: string }|null);
+
+ /** ArticleSuggestionData queryRecord */
+ queryRecord?: (string|null);
+
+ /** ArticleSuggestionData source */
+ source?: (string|null);
+ }
+
+ /** Represents an ArticleSuggestionData. */
+ class ArticleSuggestionData implements IArticleSuggestionData {
+
+ /**
+ * Constructs a new ArticleSuggestionData.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.contactcenterinsights.v1.IArticleSuggestionData);
+
+ /** ArticleSuggestionData title. */
+ public title: string;
+
+ /** ArticleSuggestionData uri. */
+ public uri: string;
+
+ /** ArticleSuggestionData confidenceScore. */
+ public confidenceScore: number;
+
+ /** ArticleSuggestionData metadata. */
+ public metadata: { [k: string]: string };
+
+ /** ArticleSuggestionData queryRecord. */
+ public queryRecord: string;
+
+ /** ArticleSuggestionData source. */
+ public source: string;
+
+ /**
+ * Creates a new ArticleSuggestionData instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ArticleSuggestionData instance
+ */
+ public static create(properties?: google.cloud.contactcenterinsights.v1.IArticleSuggestionData): google.cloud.contactcenterinsights.v1.ArticleSuggestionData;
+
+ /**
+ * Encodes the specified ArticleSuggestionData message. Does not implicitly {@link google.cloud.contactcenterinsights.v1.ArticleSuggestionData.verify|verify} messages.
+ * @param message ArticleSuggestionData message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.contactcenterinsights.v1.IArticleSuggestionData, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ArticleSuggestionData message, length delimited. Does not implicitly {@link google.cloud.contactcenterinsights.v1.ArticleSuggestionData.verify|verify} messages.
+ * @param message ArticleSuggestionData message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.contactcenterinsights.v1.IArticleSuggestionData, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an ArticleSuggestionData message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ArticleSuggestionData
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.contactcenterinsights.v1.ArticleSuggestionData;
+
+ /**
+ * Decodes an ArticleSuggestionData message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ArticleSuggestionData
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.contactcenterinsights.v1.ArticleSuggestionData;
+
+ /**
+ * Verifies an ArticleSuggestionData message.
+ * @param message Plain 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 ArticleSuggestionData message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ArticleSuggestionData
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.contactcenterinsights.v1.ArticleSuggestionData;
+
+ /**
+ * Creates a plain object from an ArticleSuggestionData message. Also converts values to other types if specified.
+ * @param message ArticleSuggestionData
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.contactcenterinsights.v1.ArticleSuggestionData, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ArticleSuggestionData to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ArticleSuggestionData
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a FaqAnswerData. */
+ interface IFaqAnswerData {
+
+ /** FaqAnswerData answer */
+ answer?: (string|null);
+
+ /** FaqAnswerData confidenceScore */
+ confidenceScore?: (number|null);
+
+ /** FaqAnswerData question */
+ question?: (string|null);
+
+ /** FaqAnswerData metadata */
+ metadata?: ({ [k: string]: string }|null);
+
+ /** FaqAnswerData queryRecord */
+ queryRecord?: (string|null);
+
+ /** FaqAnswerData source */
+ source?: (string|null);
+ }
+
+ /** Represents a FaqAnswerData. */
+ class FaqAnswerData implements IFaqAnswerData {
+
+ /**
+ * Constructs a new FaqAnswerData.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.contactcenterinsights.v1.IFaqAnswerData);
+
+ /** FaqAnswerData answer. */
+ public answer: string;
+
+ /** FaqAnswerData confidenceScore. */
+ public confidenceScore: number;
+
+ /** FaqAnswerData question. */
+ public question: string;
+
+ /** FaqAnswerData metadata. */
+ public metadata: { [k: string]: string };
+
+ /** FaqAnswerData queryRecord. */
+ public queryRecord: string;
+
+ /** FaqAnswerData source. */
+ public source: string;
+
+ /**
+ * Creates a new FaqAnswerData instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns FaqAnswerData instance
+ */
+ public static create(properties?: google.cloud.contactcenterinsights.v1.IFaqAnswerData): google.cloud.contactcenterinsights.v1.FaqAnswerData;
+
+ /**
+ * Encodes the specified FaqAnswerData message. Does not implicitly {@link google.cloud.contactcenterinsights.v1.FaqAnswerData.verify|verify} messages.
+ * @param message FaqAnswerData message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.contactcenterinsights.v1.IFaqAnswerData, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified FaqAnswerData message, length delimited. Does not implicitly {@link google.cloud.contactcenterinsights.v1.FaqAnswerData.verify|verify} messages.
+ * @param message FaqAnswerData message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.contactcenterinsights.v1.IFaqAnswerData, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a FaqAnswerData message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns FaqAnswerData
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.contactcenterinsights.v1.FaqAnswerData;
+
+ /**
+ * Decodes a FaqAnswerData message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns FaqAnswerData
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.contactcenterinsights.v1.FaqAnswerData;
+
+ /**
+ * Verifies a FaqAnswerData message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a FaqAnswerData message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns FaqAnswerData
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.contactcenterinsights.v1.FaqAnswerData;
+
+ /**
+ * Creates a plain object from a FaqAnswerData message. Also converts values to other types if specified.
+ * @param message FaqAnswerData
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.contactcenterinsights.v1.FaqAnswerData, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this FaqAnswerData to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for FaqAnswerData
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a SmartReplyData. */
+ interface ISmartReplyData {
+
+ /** SmartReplyData reply */
+ reply?: (string|null);
+
+ /** SmartReplyData confidenceScore */
+ confidenceScore?: (number|null);
+
+ /** SmartReplyData metadata */
+ metadata?: ({ [k: string]: string }|null);
+
+ /** SmartReplyData queryRecord */
+ queryRecord?: (string|null);
+ }
+
+ /** Represents a SmartReplyData. */
+ class SmartReplyData implements ISmartReplyData {
+
+ /**
+ * Constructs a new SmartReplyData.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.contactcenterinsights.v1.ISmartReplyData);
+
+ /** SmartReplyData reply. */
+ public reply: string;
+
+ /** SmartReplyData confidenceScore. */
+ public confidenceScore: number;
+
+ /** SmartReplyData metadata. */
+ public metadata: { [k: string]: string };
+
+ /** SmartReplyData queryRecord. */
+ public queryRecord: string;
+
+ /**
+ * Creates a new SmartReplyData instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns SmartReplyData instance
+ */
+ public static create(properties?: google.cloud.contactcenterinsights.v1.ISmartReplyData): google.cloud.contactcenterinsights.v1.SmartReplyData;
+
+ /**
+ * Encodes the specified SmartReplyData message. Does not implicitly {@link google.cloud.contactcenterinsights.v1.SmartReplyData.verify|verify} messages.
+ * @param message SmartReplyData message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.contactcenterinsights.v1.ISmartReplyData, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified SmartReplyData message, length delimited. Does not implicitly {@link google.cloud.contactcenterinsights.v1.SmartReplyData.verify|verify} messages.
+ * @param message SmartReplyData message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.contactcenterinsights.v1.ISmartReplyData, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a SmartReplyData message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns SmartReplyData
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.contactcenterinsights.v1.SmartReplyData;
+
+ /**
+ * Decodes a SmartReplyData message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns SmartReplyData
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.contactcenterinsights.v1.SmartReplyData;
+
+ /**
+ * Verifies a SmartReplyData message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a SmartReplyData message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns SmartReplyData
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.contactcenterinsights.v1.SmartReplyData;
+
+ /**
+ * Creates a plain object from a SmartReplyData message. Also converts values to other types if specified.
+ * @param message SmartReplyData
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.contactcenterinsights.v1.SmartReplyData, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this SmartReplyData to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for SmartReplyData
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a SmartComposeSuggestionData. */
+ interface ISmartComposeSuggestionData {
+
+ /** SmartComposeSuggestionData suggestion */
+ suggestion?: (string|null);
+
+ /** SmartComposeSuggestionData confidenceScore */
+ confidenceScore?: (number|null);
+
+ /** SmartComposeSuggestionData metadata */
+ metadata?: ({ [k: string]: string }|null);
+
+ /** SmartComposeSuggestionData queryRecord */
+ queryRecord?: (string|null);
+ }
+
+ /** Represents a SmartComposeSuggestionData. */
+ class SmartComposeSuggestionData implements ISmartComposeSuggestionData {
+
+ /**
+ * Constructs a new SmartComposeSuggestionData.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.contactcenterinsights.v1.ISmartComposeSuggestionData);
+
+ /** SmartComposeSuggestionData suggestion. */
+ public suggestion: string;
+
+ /** SmartComposeSuggestionData confidenceScore. */
+ public confidenceScore: number;
+
+ /** SmartComposeSuggestionData metadata. */
+ public metadata: { [k: string]: string };
+
+ /** SmartComposeSuggestionData queryRecord. */
+ public queryRecord: string;
+
+ /**
+ * Creates a new SmartComposeSuggestionData instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns SmartComposeSuggestionData instance
+ */
+ public static create(properties?: google.cloud.contactcenterinsights.v1.ISmartComposeSuggestionData): google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData;
+
+ /**
+ * Encodes the specified SmartComposeSuggestionData message. Does not implicitly {@link google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData.verify|verify} messages.
+ * @param message SmartComposeSuggestionData message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.contactcenterinsights.v1.ISmartComposeSuggestionData, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified SmartComposeSuggestionData message, length delimited. Does not implicitly {@link google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData.verify|verify} messages.
+ * @param message SmartComposeSuggestionData message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.contactcenterinsights.v1.ISmartComposeSuggestionData, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a SmartComposeSuggestionData message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns SmartComposeSuggestionData
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData;
+
+ /**
+ * Decodes a SmartComposeSuggestionData message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns SmartComposeSuggestionData
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData;
+
+ /**
+ * Verifies a SmartComposeSuggestionData message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a SmartComposeSuggestionData message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns SmartComposeSuggestionData
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData;
+
+ /**
+ * Creates a plain object from a SmartComposeSuggestionData message. Also converts values to other types if specified.
+ * @param message SmartComposeSuggestionData
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this SmartComposeSuggestionData to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for SmartComposeSuggestionData
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a DialogflowInteractionData. */
+ interface IDialogflowInteractionData {
+
+ /** DialogflowInteractionData dialogflowIntentId */
+ dialogflowIntentId?: (string|null);
+
+ /** DialogflowInteractionData confidence */
+ confidence?: (number|null);
+ }
+
+ /** Represents a DialogflowInteractionData. */
+ class DialogflowInteractionData implements IDialogflowInteractionData {
+
+ /**
+ * Constructs a new DialogflowInteractionData.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.contactcenterinsights.v1.IDialogflowInteractionData);
+
+ /** DialogflowInteractionData dialogflowIntentId. */
+ public dialogflowIntentId: string;
+
+ /** DialogflowInteractionData confidence. */
+ public confidence: number;
+
+ /**
+ * Creates a new DialogflowInteractionData instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns DialogflowInteractionData instance
+ */
+ public static create(properties?: google.cloud.contactcenterinsights.v1.IDialogflowInteractionData): google.cloud.contactcenterinsights.v1.DialogflowInteractionData;
+
+ /**
+ * Encodes the specified DialogflowInteractionData message. Does not implicitly {@link google.cloud.contactcenterinsights.v1.DialogflowInteractionData.verify|verify} messages.
+ * @param message DialogflowInteractionData message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.contactcenterinsights.v1.IDialogflowInteractionData, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified DialogflowInteractionData message, length delimited. Does not implicitly {@link google.cloud.contactcenterinsights.v1.DialogflowInteractionData.verify|verify} messages.
+ * @param message DialogflowInteractionData message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.contactcenterinsights.v1.IDialogflowInteractionData, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a DialogflowInteractionData message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns DialogflowInteractionData
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.contactcenterinsights.v1.DialogflowInteractionData;
+
+ /**
+ * Decodes a DialogflowInteractionData message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns DialogflowInteractionData
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.contactcenterinsights.v1.DialogflowInteractionData;
+
+ /**
+ * Verifies a DialogflowInteractionData message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a DialogflowInteractionData message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns DialogflowInteractionData
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.contactcenterinsights.v1.DialogflowInteractionData;
+
+ /**
+ * Creates a plain object from a DialogflowInteractionData message. Also converts values to other types if specified.
+ * @param message DialogflowInteractionData
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.contactcenterinsights.v1.DialogflowInteractionData, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this DialogflowInteractionData to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for DialogflowInteractionData
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a ConversationParticipant. */
+ interface IConversationParticipant {
+
+ /** ConversationParticipant dialogflowParticipantName */
+ dialogflowParticipantName?: (string|null);
+
+ /** ConversationParticipant userId */
+ userId?: (string|null);
+
+ /** ConversationParticipant dialogflowParticipant */
+ dialogflowParticipant?: (string|null);
+
+ /** ConversationParticipant obfuscatedExternalUserId */
+ obfuscatedExternalUserId?: (string|null);
+
+ /** ConversationParticipant role */
+ role?: (google.cloud.contactcenterinsights.v1.ConversationParticipant.Role|keyof typeof google.cloud.contactcenterinsights.v1.ConversationParticipant.Role|null);
+ }
+
+ /** Represents a ConversationParticipant. */
+ class ConversationParticipant implements IConversationParticipant {
+
+ /**
+ * Constructs a new ConversationParticipant.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.contactcenterinsights.v1.IConversationParticipant);
+
+ /** ConversationParticipant dialogflowParticipantName. */
+ public dialogflowParticipantName?: (string|null);
+
+ /** ConversationParticipant userId. */
+ public userId?: (string|null);
+
+ /** ConversationParticipant dialogflowParticipant. */
+ public dialogflowParticipant: string;
+
+ /** ConversationParticipant obfuscatedExternalUserId. */
+ public obfuscatedExternalUserId: string;
+
+ /** ConversationParticipant role. */
+ public role: (google.cloud.contactcenterinsights.v1.ConversationParticipant.Role|keyof typeof google.cloud.contactcenterinsights.v1.ConversationParticipant.Role);
+
+ /** ConversationParticipant participant. */
+ public participant?: ("dialogflowParticipantName"|"userId");
+
+ /**
+ * Creates a new ConversationParticipant instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ConversationParticipant instance
+ */
+ public static create(properties?: google.cloud.contactcenterinsights.v1.IConversationParticipant): google.cloud.contactcenterinsights.v1.ConversationParticipant;
+
+ /**
+ * Encodes the specified ConversationParticipant message. Does not implicitly {@link google.cloud.contactcenterinsights.v1.ConversationParticipant.verify|verify} messages.
+ * @param message ConversationParticipant message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.contactcenterinsights.v1.IConversationParticipant, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ConversationParticipant message, length delimited. Does not implicitly {@link google.cloud.contactcenterinsights.v1.ConversationParticipant.verify|verify} messages.
+ * @param message ConversationParticipant message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.contactcenterinsights.v1.IConversationParticipant, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ConversationParticipant message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ConversationParticipant
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.contactcenterinsights.v1.ConversationParticipant;
+
+ /**
+ * Decodes a ConversationParticipant message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ConversationParticipant
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.contactcenterinsights.v1.ConversationParticipant;
+
+ /**
+ * Verifies a ConversationParticipant message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a ConversationParticipant message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ConversationParticipant
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.contactcenterinsights.v1.ConversationParticipant;
+
+ /**
+ * Creates a plain object from a ConversationParticipant message. Also converts values to other types if specified.
+ * @param message ConversationParticipant
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.contactcenterinsights.v1.ConversationParticipant, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ConversationParticipant to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ConversationParticipant
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace ConversationParticipant {
+
+ /** Role enum. */
+ enum Role {
+ ROLE_UNSPECIFIED = 0,
+ HUMAN_AGENT = 1,
+ AUTOMATED_AGENT = 2,
+ END_USER = 3,
+ ANY_AGENT = 4
+ }
+ }
+
+ /** Properties of a View. */
+ interface IView {
+
+ /** View name */
+ name?: (string|null);
+
+ /** View displayName */
+ displayName?: (string|null);
+
+ /** View createTime */
+ createTime?: (google.protobuf.ITimestamp|null);
+
+ /** View updateTime */
+ updateTime?: (google.protobuf.ITimestamp|null);
+
+ /** View value */
+ value?: (string|null);
+ }
+
+ /** Represents a View. */
+ class View implements IView {
+
+ /**
+ * Constructs a new View.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.contactcenterinsights.v1.IView);
+
+ /** View name. */
+ public name: string;
+
+ /** View displayName. */
+ public displayName: string;
+
+ /** View createTime. */
+ public createTime?: (google.protobuf.ITimestamp|null);
+
+ /** View updateTime. */
+ public updateTime?: (google.protobuf.ITimestamp|null);
+
+ /** View value. */
+ public value: string;
+
+ /**
+ * Creates a new View instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns View instance
+ */
+ public static create(properties?: google.cloud.contactcenterinsights.v1.IView): google.cloud.contactcenterinsights.v1.View;
+
+ /**
+ * Encodes the specified View message. Does not implicitly {@link google.cloud.contactcenterinsights.v1.View.verify|verify} messages.
+ * @param message View message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.contactcenterinsights.v1.IView, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified View message, length delimited. Does not implicitly {@link google.cloud.contactcenterinsights.v1.View.verify|verify} messages.
+ * @param message View message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.contactcenterinsights.v1.IView, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a View message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns View
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.contactcenterinsights.v1.View;
+
+ /**
+ * Decodes a View message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns View
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.contactcenterinsights.v1.View;
+
+ /**
+ * Verifies a View message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a View message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns View
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.contactcenterinsights.v1.View;
+
+ /**
+ * Creates a plain object from a View message. Also converts values to other types if specified.
+ * @param message View
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.contactcenterinsights.v1.View, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this View to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for View
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+ }
+ }
+ }
+
+ /** Namespace api. */
+ namespace api {
+
+ /** Properties of a Http. */
+ interface IHttp {
+
+ /** Http rules */
+ rules?: (google.api.IHttpRule[]|null);
+
+ /** Http fullyDecodeReservedExpansion */
+ fullyDecodeReservedExpansion?: (boolean|null);
+ }
+
+ /** Represents a Http. */
+ class Http implements IHttp {
+
+ /**
+ * Constructs a new Http.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.api.IHttp);
+
+ /** Http rules. */
+ public rules: google.api.IHttpRule[];
+
+ /** Http fullyDecodeReservedExpansion. */
+ public fullyDecodeReservedExpansion: boolean;
+
+ /**
+ * Creates a new Http instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns Http instance
+ */
+ public static create(properties?: google.api.IHttp): google.api.Http;
+
+ /**
+ * Encodes the specified Http message. Does not implicitly {@link google.api.Http.verify|verify} messages.
+ * @param message Http message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.api.IHttp, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified Http message, length delimited. Does not implicitly {@link google.api.Http.verify|verify} messages.
+ * @param message Http message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.api.IHttp, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a Http message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns Http
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.Http;
+
+ /**
+ * Decodes a Http message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns Http
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.Http;
+
+ /**
+ * Verifies a Http message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a Http message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns Http
+ */
+ public static fromObject(object: { [k: string]: any }): google.api.Http;
+
+ /**
+ * Creates a plain object from a Http message. Also converts values to other types if specified.
+ * @param message Http
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.api.Http, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this Http to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for Http
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a HttpRule. */
+ interface IHttpRule {
+
+ /** HttpRule selector */
+ selector?: (string|null);
+
+ /** HttpRule get */
+ get?: (string|null);
+
+ /** HttpRule put */
+ put?: (string|null);
+
+ /** HttpRule post */
+ post?: (string|null);
+
+ /** HttpRule delete */
+ "delete"?: (string|null);
+
+ /** HttpRule patch */
+ patch?: (string|null);
+
+ /** HttpRule custom */
+ custom?: (google.api.ICustomHttpPattern|null);
+
+ /** HttpRule body */
+ body?: (string|null);
+
+ /** HttpRule responseBody */
+ responseBody?: (string|null);
+
+ /** HttpRule additionalBindings */
+ additionalBindings?: (google.api.IHttpRule[]|null);
+ }
+
+ /** Represents a HttpRule. */
+ class HttpRule implements IHttpRule {
+
+ /**
+ * Constructs a new HttpRule.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.api.IHttpRule);
+
+ /** HttpRule selector. */
+ public selector: string;
+
+ /** HttpRule get. */
+ public get?: (string|null);
+
+ /** HttpRule put. */
+ public put?: (string|null);
+
+ /** HttpRule post. */
+ public post?: (string|null);
+
+ /** HttpRule delete. */
+ public delete?: (string|null);
+
+ /** HttpRule patch. */
+ public patch?: (string|null);
+
+ /** HttpRule custom. */
+ public custom?: (google.api.ICustomHttpPattern|null);
+
+ /** HttpRule body. */
+ public body: string;
+
+ /** HttpRule responseBody. */
+ public responseBody: string;
+
+ /** HttpRule additionalBindings. */
+ public additionalBindings: google.api.IHttpRule[];
+
+ /** HttpRule pattern. */
+ public pattern?: ("get"|"put"|"post"|"delete"|"patch"|"custom");
+
+ /**
+ * Creates a new HttpRule instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns HttpRule instance
+ */
+ public static create(properties?: google.api.IHttpRule): google.api.HttpRule;
+
+ /**
+ * Encodes the specified HttpRule message. Does not implicitly {@link google.api.HttpRule.verify|verify} messages.
+ * @param message HttpRule message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.api.IHttpRule, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified HttpRule message, length delimited. Does not implicitly {@link google.api.HttpRule.verify|verify} messages.
+ * @param message HttpRule message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.api.IHttpRule, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a HttpRule message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns HttpRule
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.HttpRule;
+
+ /**
+ * Decodes a HttpRule message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns HttpRule
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.HttpRule;
+
+ /**
+ * Verifies a HttpRule message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a HttpRule message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns HttpRule
+ */
+ public static fromObject(object: { [k: string]: any }): google.api.HttpRule;
+
+ /**
+ * Creates a plain object from a HttpRule message. Also converts values to other types if specified.
+ * @param message HttpRule
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.api.HttpRule, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this HttpRule to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for HttpRule
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a CustomHttpPattern. */
+ interface ICustomHttpPattern {
+
+ /** CustomHttpPattern kind */
+ kind?: (string|null);
+
+ /** CustomHttpPattern path */
+ path?: (string|null);
+ }
+
+ /** Represents a CustomHttpPattern. */
+ class CustomHttpPattern implements ICustomHttpPattern {
+
+ /**
+ * Constructs a new CustomHttpPattern.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.api.ICustomHttpPattern);
+
+ /** CustomHttpPattern kind. */
+ public kind: string;
+
+ /** CustomHttpPattern path. */
+ public path: string;
+
+ /**
+ * Creates a new CustomHttpPattern instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns CustomHttpPattern instance
+ */
+ public static create(properties?: google.api.ICustomHttpPattern): google.api.CustomHttpPattern;
+
+ /**
+ * Encodes the specified CustomHttpPattern message. Does not implicitly {@link google.api.CustomHttpPattern.verify|verify} messages.
+ * @param message CustomHttpPattern message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.api.ICustomHttpPattern, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified CustomHttpPattern message, length delimited. Does not implicitly {@link google.api.CustomHttpPattern.verify|verify} messages.
+ * @param message CustomHttpPattern message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.api.ICustomHttpPattern, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a CustomHttpPattern message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns CustomHttpPattern
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.CustomHttpPattern;
+
+ /**
+ * Decodes a CustomHttpPattern message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns CustomHttpPattern
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.CustomHttpPattern;
+
+ /**
+ * Verifies a CustomHttpPattern message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a CustomHttpPattern message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns CustomHttpPattern
+ */
+ public static fromObject(object: { [k: string]: any }): google.api.CustomHttpPattern;
+
+ /**
+ * Creates a plain object from a CustomHttpPattern message. Also converts values to other types if specified.
+ * @param message CustomHttpPattern
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.api.CustomHttpPattern, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this CustomHttpPattern to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for CustomHttpPattern
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** FieldBehavior enum. */
+ enum FieldBehavior {
+ FIELD_BEHAVIOR_UNSPECIFIED = 0,
+ OPTIONAL = 1,
+ REQUIRED = 2,
+ OUTPUT_ONLY = 3,
+ INPUT_ONLY = 4,
+ IMMUTABLE = 5,
+ UNORDERED_LIST = 6,
+ NON_EMPTY_DEFAULT = 7
+ }
+
+ /** Properties of a ResourceDescriptor. */
+ interface IResourceDescriptor {
+
+ /** ResourceDescriptor type */
+ type?: (string|null);
+
+ /** ResourceDescriptor pattern */
+ pattern?: (string[]|null);
+
+ /** ResourceDescriptor nameField */
+ nameField?: (string|null);
+
+ /** ResourceDescriptor history */
+ history?: (google.api.ResourceDescriptor.History|keyof typeof google.api.ResourceDescriptor.History|null);
+
+ /** ResourceDescriptor plural */
+ plural?: (string|null);
+
+ /** ResourceDescriptor singular */
+ singular?: (string|null);
+
+ /** ResourceDescriptor style */
+ style?: (google.api.ResourceDescriptor.Style[]|null);
+ }
+
+ /** Represents a ResourceDescriptor. */
+ class ResourceDescriptor implements IResourceDescriptor {
+
+ /**
+ * Constructs a new ResourceDescriptor.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.api.IResourceDescriptor);
+
+ /** ResourceDescriptor type. */
+ public type: string;
+
+ /** ResourceDescriptor pattern. */
+ public pattern: string[];
+
+ /** ResourceDescriptor nameField. */
+ public nameField: string;
+
+ /** ResourceDescriptor history. */
+ public history: (google.api.ResourceDescriptor.History|keyof typeof google.api.ResourceDescriptor.History);
+
+ /** ResourceDescriptor plural. */
+ public plural: string;
+
+ /** ResourceDescriptor singular. */
+ public singular: string;
+
+ /** ResourceDescriptor style. */
+ public style: google.api.ResourceDescriptor.Style[];
+
+ /**
+ * Creates a new ResourceDescriptor instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ResourceDescriptor instance
+ */
+ public static create(properties?: google.api.IResourceDescriptor): google.api.ResourceDescriptor;
+
+ /**
+ * Encodes the specified ResourceDescriptor message. Does not implicitly {@link google.api.ResourceDescriptor.verify|verify} messages.
+ * @param message ResourceDescriptor message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.api.IResourceDescriptor, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ResourceDescriptor message, length delimited. Does not implicitly {@link google.api.ResourceDescriptor.verify|verify} messages.
+ * @param message ResourceDescriptor message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.api.IResourceDescriptor, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ResourceDescriptor message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ResourceDescriptor
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.ResourceDescriptor;
+
+ /**
+ * Decodes a ResourceDescriptor message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ResourceDescriptor
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.ResourceDescriptor;
+
+ /**
+ * Verifies a ResourceDescriptor message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a ResourceDescriptor message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ResourceDescriptor
+ */
+ public static fromObject(object: { [k: string]: any }): google.api.ResourceDescriptor;
+
+ /**
+ * Creates a plain object from a ResourceDescriptor message. Also converts values to other types if specified.
+ * @param message ResourceDescriptor
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.api.ResourceDescriptor, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ResourceDescriptor to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ResourceDescriptor
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace ResourceDescriptor {
+
+ /** History enum. */
+ enum History {
+ HISTORY_UNSPECIFIED = 0,
+ ORIGINALLY_SINGLE_PATTERN = 1,
+ FUTURE_MULTI_PATTERN = 2
+ }
+
+ /** Style enum. */
+ enum Style {
+ STYLE_UNSPECIFIED = 0,
+ DECLARATIVE_FRIENDLY = 1
+ }
+ }
+
+ /** Properties of a ResourceReference. */
+ interface IResourceReference {
+
+ /** ResourceReference type */
+ type?: (string|null);
+
+ /** ResourceReference childType */
+ childType?: (string|null);
+ }
+
+ /** Represents a ResourceReference. */
+ class ResourceReference implements IResourceReference {
+
+ /**
+ * Constructs a new ResourceReference.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.api.IResourceReference);
+
+ /** ResourceReference type. */
+ public type: string;
+
+ /** ResourceReference childType. */
+ public childType: string;
+
+ /**
+ * Creates a new ResourceReference instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ResourceReference instance
+ */
+ public static create(properties?: google.api.IResourceReference): google.api.ResourceReference;
+
+ /**
+ * Encodes the specified ResourceReference message. Does not implicitly {@link google.api.ResourceReference.verify|verify} messages.
+ * @param message ResourceReference message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.api.IResourceReference, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ResourceReference message, length delimited. Does not implicitly {@link google.api.ResourceReference.verify|verify} messages.
+ * @param message ResourceReference message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.api.IResourceReference, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ResourceReference message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ResourceReference
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.ResourceReference;
+
+ /**
+ * Decodes a ResourceReference message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ResourceReference
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.ResourceReference;
+
+ /**
+ * Verifies a ResourceReference message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a ResourceReference message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ResourceReference
+ */
+ public static fromObject(object: { [k: string]: any }): google.api.ResourceReference;
+
+ /**
+ * Creates a plain object from a ResourceReference message. Also converts values to other types if specified.
+ * @param message ResourceReference
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.api.ResourceReference, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ResourceReference to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ResourceReference
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+ }
+
+ /** Namespace protobuf. */
+ namespace protobuf {
+
+ /** Properties of a FileDescriptorSet. */
+ interface IFileDescriptorSet {
+
+ /** FileDescriptorSet file */
+ file?: (google.protobuf.IFileDescriptorProto[]|null);
+ }
+
+ /** Represents a FileDescriptorSet. */
+ class FileDescriptorSet implements IFileDescriptorSet {
+
+ /**
+ * Constructs a new FileDescriptorSet.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.protobuf.IFileDescriptorSet);
+
+ /** FileDescriptorSet file. */
+ public file: google.protobuf.IFileDescriptorProto[];
+
+ /**
+ * Creates a new FileDescriptorSet instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns FileDescriptorSet instance
+ */
+ public static create(properties?: google.protobuf.IFileDescriptorSet): google.protobuf.FileDescriptorSet;
+
+ /**
+ * Encodes the specified FileDescriptorSet message. Does not implicitly {@link google.protobuf.FileDescriptorSet.verify|verify} messages.
+ * @param message FileDescriptorSet message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.protobuf.IFileDescriptorSet, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified FileDescriptorSet message, length delimited. Does not implicitly {@link google.protobuf.FileDescriptorSet.verify|verify} messages.
+ * @param message FileDescriptorSet message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.protobuf.IFileDescriptorSet, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a FileDescriptorSet message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns FileDescriptorSet
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.FileDescriptorSet;
+
+ /**
+ * Decodes a FileDescriptorSet message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns FileDescriptorSet
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.FileDescriptorSet;
+
+ /**
+ * Verifies a FileDescriptorSet message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a FileDescriptorSet message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns FileDescriptorSet
+ */
+ public static fromObject(object: { [k: string]: any }): google.protobuf.FileDescriptorSet;
+
+ /**
+ * Creates a plain object from a FileDescriptorSet message. Also converts values to other types if specified.
+ * @param message FileDescriptorSet
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.protobuf.FileDescriptorSet, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this FileDescriptorSet to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for FileDescriptorSet
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a FileDescriptorProto. */
+ interface IFileDescriptorProto {
+
+ /** FileDescriptorProto name */
+ name?: (string|null);
+
+ /** FileDescriptorProto package */
+ "package"?: (string|null);
+
+ /** FileDescriptorProto dependency */
+ dependency?: (string[]|null);
+
+ /** FileDescriptorProto publicDependency */
+ publicDependency?: (number[]|null);
+
+ /** FileDescriptorProto weakDependency */
+ weakDependency?: (number[]|null);
+
+ /** FileDescriptorProto messageType */
+ messageType?: (google.protobuf.IDescriptorProto[]|null);
+
+ /** FileDescriptorProto enumType */
+ enumType?: (google.protobuf.IEnumDescriptorProto[]|null);
+
+ /** FileDescriptorProto service */
+ service?: (google.protobuf.IServiceDescriptorProto[]|null);
+
+ /** FileDescriptorProto extension */
+ extension?: (google.protobuf.IFieldDescriptorProto[]|null);
+
+ /** FileDescriptorProto options */
+ options?: (google.protobuf.IFileOptions|null);
+
+ /** FileDescriptorProto sourceCodeInfo */
+ sourceCodeInfo?: (google.protobuf.ISourceCodeInfo|null);
+
+ /** FileDescriptorProto syntax */
+ syntax?: (string|null);
+
+ /** FileDescriptorProto edition */
+ edition?: (string|null);
+ }
+
+ /** Represents a FileDescriptorProto. */
+ class FileDescriptorProto implements IFileDescriptorProto {
+
+ /**
+ * Constructs a new FileDescriptorProto.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.protobuf.IFileDescriptorProto);
+
+ /** FileDescriptorProto name. */
+ public name: string;
+
+ /** FileDescriptorProto package. */
+ public package: string;
+
+ /** FileDescriptorProto dependency. */
+ public dependency: string[];
+
+ /** FileDescriptorProto publicDependency. */
+ public publicDependency: number[];
+
+ /** FileDescriptorProto weakDependency. */
+ public weakDependency: number[];
+
+ /** FileDescriptorProto messageType. */
+ public messageType: google.protobuf.IDescriptorProto[];
+
+ /** FileDescriptorProto enumType. */
+ public enumType: google.protobuf.IEnumDescriptorProto[];
+
+ /** FileDescriptorProto service. */
+ public service: google.protobuf.IServiceDescriptorProto[];
+
+ /** FileDescriptorProto extension. */
+ public extension: google.protobuf.IFieldDescriptorProto[];
+
+ /** FileDescriptorProto options. */
+ public options?: (google.protobuf.IFileOptions|null);
+
+ /** FileDescriptorProto sourceCodeInfo. */
+ public sourceCodeInfo?: (google.protobuf.ISourceCodeInfo|null);
+
+ /** FileDescriptorProto syntax. */
+ public syntax: string;
+
+ /** FileDescriptorProto edition. */
+ public edition: string;
+
+ /**
+ * Creates a new FileDescriptorProto instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns FileDescriptorProto instance
+ */
+ public static create(properties?: google.protobuf.IFileDescriptorProto): google.protobuf.FileDescriptorProto;
+
+ /**
+ * Encodes the specified FileDescriptorProto message. Does not implicitly {@link google.protobuf.FileDescriptorProto.verify|verify} messages.
+ * @param message FileDescriptorProto message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.protobuf.IFileDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified FileDescriptorProto message, length delimited. Does not implicitly {@link google.protobuf.FileDescriptorProto.verify|verify} messages.
+ * @param message FileDescriptorProto message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.protobuf.IFileDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a FileDescriptorProto message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns FileDescriptorProto
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.FileDescriptorProto;
+
+ /**
+ * Decodes a FileDescriptorProto message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns FileDescriptorProto
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.FileDescriptorProto;
+
+ /**
+ * Verifies a FileDescriptorProto message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a FileDescriptorProto message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns FileDescriptorProto
+ */
+ public static fromObject(object: { [k: string]: any }): google.protobuf.FileDescriptorProto;
+
+ /**
+ * Creates a plain object from a FileDescriptorProto message. Also converts values to other types if specified.
+ * @param message FileDescriptorProto
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.protobuf.FileDescriptorProto, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this FileDescriptorProto to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for FileDescriptorProto
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a DescriptorProto. */
+ interface IDescriptorProto {
+
+ /** DescriptorProto name */
+ name?: (string|null);
+
+ /** DescriptorProto field */
+ field?: (google.protobuf.IFieldDescriptorProto[]|null);
+
+ /** DescriptorProto extension */
+ extension?: (google.protobuf.IFieldDescriptorProto[]|null);
+
+ /** DescriptorProto nestedType */
+ nestedType?: (google.protobuf.IDescriptorProto[]|null);
+
+ /** DescriptorProto enumType */
+ enumType?: (google.protobuf.IEnumDescriptorProto[]|null);
+
+ /** DescriptorProto extensionRange */
+ extensionRange?: (google.protobuf.DescriptorProto.IExtensionRange[]|null);
+
+ /** DescriptorProto oneofDecl */
+ oneofDecl?: (google.protobuf.IOneofDescriptorProto[]|null);
+
+ /** DescriptorProto options */
+ options?: (google.protobuf.IMessageOptions|null);
+
+ /** DescriptorProto reservedRange */
+ reservedRange?: (google.protobuf.DescriptorProto.IReservedRange[]|null);
+
+ /** DescriptorProto reservedName */
+ reservedName?: (string[]|null);
+ }
+
+ /** Represents a DescriptorProto. */
+ class DescriptorProto implements IDescriptorProto {
+
+ /**
+ * Constructs a new DescriptorProto.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.protobuf.IDescriptorProto);
+
+ /** DescriptorProto name. */
+ public name: string;
+
+ /** DescriptorProto field. */
+ public field: google.protobuf.IFieldDescriptorProto[];
+
+ /** DescriptorProto extension. */
+ public extension: google.protobuf.IFieldDescriptorProto[];
+
+ /** DescriptorProto nestedType. */
+ public nestedType: google.protobuf.IDescriptorProto[];
+
+ /** DescriptorProto enumType. */
+ public enumType: google.protobuf.IEnumDescriptorProto[];
+
+ /** DescriptorProto extensionRange. */
+ public extensionRange: google.protobuf.DescriptorProto.IExtensionRange[];
+
+ /** DescriptorProto oneofDecl. */
+ public oneofDecl: google.protobuf.IOneofDescriptorProto[];
+
+ /** DescriptorProto options. */
+ public options?: (google.protobuf.IMessageOptions|null);
+
+ /** DescriptorProto reservedRange. */
+ public reservedRange: google.protobuf.DescriptorProto.IReservedRange[];
+
+ /** DescriptorProto reservedName. */
+ public reservedName: string[];
+
+ /**
+ * Creates a new DescriptorProto instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns DescriptorProto instance
+ */
+ public static create(properties?: google.protobuf.IDescriptorProto): google.protobuf.DescriptorProto;
+
+ /**
+ * Encodes the specified DescriptorProto message. Does not implicitly {@link google.protobuf.DescriptorProto.verify|verify} messages.
+ * @param message DescriptorProto message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.protobuf.IDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified DescriptorProto message, length delimited. Does not implicitly {@link google.protobuf.DescriptorProto.verify|verify} messages.
+ * @param message DescriptorProto message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.protobuf.IDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a DescriptorProto message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns DescriptorProto
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.DescriptorProto;
+
+ /**
+ * Decodes a DescriptorProto message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns DescriptorProto
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.DescriptorProto;
+
+ /**
+ * Verifies a DescriptorProto message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a DescriptorProto message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns DescriptorProto
+ */
+ public static fromObject(object: { [k: string]: any }): google.protobuf.DescriptorProto;
+
+ /**
+ * Creates a plain object from a DescriptorProto message. Also converts values to other types if specified.
+ * @param message DescriptorProto
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.protobuf.DescriptorProto, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this DescriptorProto to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for DescriptorProto
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace DescriptorProto {
+
+ /** Properties of an ExtensionRange. */
+ interface IExtensionRange {
+
+ /** ExtensionRange start */
+ start?: (number|null);
+
+ /** ExtensionRange end */
+ end?: (number|null);
+
+ /** ExtensionRange options */
+ options?: (google.protobuf.IExtensionRangeOptions|null);
+ }
+
+ /** Represents an ExtensionRange. */
+ class ExtensionRange implements IExtensionRange {
+
+ /**
+ * Constructs a new ExtensionRange.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.protobuf.DescriptorProto.IExtensionRange);
+
+ /** ExtensionRange start. */
+ public start: number;
+
+ /** ExtensionRange end. */
+ public end: number;
+
+ /** ExtensionRange options. */
+ public options?: (google.protobuf.IExtensionRangeOptions|null);
+
+ /**
+ * Creates a new ExtensionRange instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ExtensionRange instance
+ */
+ public static create(properties?: google.protobuf.DescriptorProto.IExtensionRange): google.protobuf.DescriptorProto.ExtensionRange;
+
+ /**
+ * Encodes the specified ExtensionRange message. Does not implicitly {@link google.protobuf.DescriptorProto.ExtensionRange.verify|verify} messages.
+ * @param message ExtensionRange message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.protobuf.DescriptorProto.IExtensionRange, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ExtensionRange message, length delimited. Does not implicitly {@link google.protobuf.DescriptorProto.ExtensionRange.verify|verify} messages.
+ * @param message ExtensionRange message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.protobuf.DescriptorProto.IExtensionRange, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an ExtensionRange message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ExtensionRange
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.DescriptorProto.ExtensionRange;
+
+ /**
+ * Decodes an ExtensionRange message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ExtensionRange
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.DescriptorProto.ExtensionRange;
+
+ /**
+ * Verifies an ExtensionRange message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates an ExtensionRange message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ExtensionRange
+ */
+ public static fromObject(object: { [k: string]: any }): google.protobuf.DescriptorProto.ExtensionRange;
+
+ /**
+ * Creates a plain object from an ExtensionRange message. Also converts values to other types if specified.
+ * @param message ExtensionRange
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.protobuf.DescriptorProto.ExtensionRange, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ExtensionRange to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ExtensionRange
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a ReservedRange. */
+ interface IReservedRange {
+
+ /** ReservedRange start */
+ start?: (number|null);
+
+ /** ReservedRange end */
+ end?: (number|null);
+ }
+
+ /** Represents a ReservedRange. */
+ class ReservedRange implements IReservedRange {
+
+ /**
+ * Constructs a new ReservedRange.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.protobuf.DescriptorProto.IReservedRange);
+
+ /** ReservedRange start. */
+ public start: number;
+
+ /** ReservedRange end. */
+ public end: number;
+
+ /**
+ * Creates a new ReservedRange instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ReservedRange instance
+ */
+ public static create(properties?: google.protobuf.DescriptorProto.IReservedRange): google.protobuf.DescriptorProto.ReservedRange;
+
+ /**
+ * Encodes the specified ReservedRange message. Does not implicitly {@link google.protobuf.DescriptorProto.ReservedRange.verify|verify} messages.
+ * @param message ReservedRange message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.protobuf.DescriptorProto.IReservedRange, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ReservedRange message, length delimited. Does not implicitly {@link google.protobuf.DescriptorProto.ReservedRange.verify|verify} messages.
+ * @param message ReservedRange message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.protobuf.DescriptorProto.IReservedRange, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ReservedRange message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ReservedRange
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.DescriptorProto.ReservedRange;
+
+ /**
+ * Decodes a ReservedRange message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ReservedRange
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.DescriptorProto.ReservedRange;
+
+ /**
+ * Verifies a ReservedRange message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a ReservedRange message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ReservedRange
+ */
+ public static fromObject(object: { [k: string]: any }): google.protobuf.DescriptorProto.ReservedRange;
+
+ /**
+ * Creates a plain object from a ReservedRange message. Also converts values to other types if specified.
+ * @param message ReservedRange
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.protobuf.DescriptorProto.ReservedRange, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ReservedRange to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ReservedRange
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+ }
+
+ /** Properties of an ExtensionRangeOptions. */
+ interface IExtensionRangeOptions {
+
+ /** ExtensionRangeOptions uninterpretedOption */
+ uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null);
+ }
+
+ /** Represents an ExtensionRangeOptions. */
+ class ExtensionRangeOptions implements IExtensionRangeOptions {
+
+ /**
+ * Constructs a new ExtensionRangeOptions.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.protobuf.IExtensionRangeOptions);
+
+ /** ExtensionRangeOptions uninterpretedOption. */
+ public uninterpretedOption: google.protobuf.IUninterpretedOption[];
+
+ /**
+ * Creates a new ExtensionRangeOptions instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ExtensionRangeOptions instance
+ */
+ public static create(properties?: google.protobuf.IExtensionRangeOptions): google.protobuf.ExtensionRangeOptions;
+
+ /**
+ * Encodes the specified ExtensionRangeOptions message. Does not implicitly {@link google.protobuf.ExtensionRangeOptions.verify|verify} messages.
+ * @param message ExtensionRangeOptions message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.protobuf.IExtensionRangeOptions, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ExtensionRangeOptions message, length delimited. Does not implicitly {@link google.protobuf.ExtensionRangeOptions.verify|verify} messages.
+ * @param message ExtensionRangeOptions message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.protobuf.IExtensionRangeOptions, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an ExtensionRangeOptions message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ExtensionRangeOptions
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.ExtensionRangeOptions;
+
+ /**
+ * Decodes an ExtensionRangeOptions message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ExtensionRangeOptions
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.ExtensionRangeOptions;
+
+ /**
+ * Verifies an ExtensionRangeOptions message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates an ExtensionRangeOptions message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ExtensionRangeOptions
+ */
+ public static fromObject(object: { [k: string]: any }): google.protobuf.ExtensionRangeOptions;
+
+ /**
+ * Creates a plain object from an ExtensionRangeOptions message. Also converts values to other types if specified.
+ * @param message ExtensionRangeOptions
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.protobuf.ExtensionRangeOptions, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ExtensionRangeOptions to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ExtensionRangeOptions
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a FieldDescriptorProto. */
+ interface IFieldDescriptorProto {
+
+ /** FieldDescriptorProto name */
+ name?: (string|null);
+
+ /** FieldDescriptorProto number */
+ number?: (number|null);
+
+ /** FieldDescriptorProto label */
+ label?: (google.protobuf.FieldDescriptorProto.Label|keyof typeof google.protobuf.FieldDescriptorProto.Label|null);
+
+ /** FieldDescriptorProto type */
+ type?: (google.protobuf.FieldDescriptorProto.Type|keyof typeof google.protobuf.FieldDescriptorProto.Type|null);
+
+ /** FieldDescriptorProto typeName */
+ typeName?: (string|null);
+
+ /** FieldDescriptorProto extendee */
+ extendee?: (string|null);
+
+ /** FieldDescriptorProto defaultValue */
+ defaultValue?: (string|null);
+
+ /** FieldDescriptorProto oneofIndex */
+ oneofIndex?: (number|null);
+
+ /** FieldDescriptorProto jsonName */
+ jsonName?: (string|null);
+
+ /** FieldDescriptorProto options */
+ options?: (google.protobuf.IFieldOptions|null);
+
+ /** FieldDescriptorProto proto3Optional */
+ proto3Optional?: (boolean|null);
+ }
+
+ /** Represents a FieldDescriptorProto. */
+ class FieldDescriptorProto implements IFieldDescriptorProto {
+
+ /**
+ * Constructs a new FieldDescriptorProto.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.protobuf.IFieldDescriptorProto);
+
+ /** FieldDescriptorProto name. */
+ public name: string;
+
+ /** FieldDescriptorProto number. */
+ public number: number;
+
+ /** FieldDescriptorProto label. */
+ public label: (google.protobuf.FieldDescriptorProto.Label|keyof typeof google.protobuf.FieldDescriptorProto.Label);
+
+ /** FieldDescriptorProto type. */
+ public type: (google.protobuf.FieldDescriptorProto.Type|keyof typeof google.protobuf.FieldDescriptorProto.Type);
+
+ /** FieldDescriptorProto typeName. */
+ public typeName: string;
+
+ /** FieldDescriptorProto extendee. */
+ public extendee: string;
+
+ /** FieldDescriptorProto defaultValue. */
+ public defaultValue: string;
+
+ /** FieldDescriptorProto oneofIndex. */
+ public oneofIndex: number;
+
+ /** FieldDescriptorProto jsonName. */
+ public jsonName: string;
+
+ /** FieldDescriptorProto options. */
+ public options?: (google.protobuf.IFieldOptions|null);
+
+ /** FieldDescriptorProto proto3Optional. */
+ public proto3Optional: boolean;
+
+ /**
+ * Creates a new FieldDescriptorProto instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns FieldDescriptorProto instance
+ */
+ public static create(properties?: google.protobuf.IFieldDescriptorProto): google.protobuf.FieldDescriptorProto;
+
+ /**
+ * Encodes the specified FieldDescriptorProto message. Does not implicitly {@link google.protobuf.FieldDescriptorProto.verify|verify} messages.
+ * @param message FieldDescriptorProto message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.protobuf.IFieldDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified FieldDescriptorProto message, length delimited. Does not implicitly {@link google.protobuf.FieldDescriptorProto.verify|verify} messages.
+ * @param message FieldDescriptorProto message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.protobuf.IFieldDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a FieldDescriptorProto message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns FieldDescriptorProto
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.FieldDescriptorProto;
+
+ /**
+ * Decodes a FieldDescriptorProto message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns FieldDescriptorProto
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.FieldDescriptorProto;
+
+ /**
+ * Verifies a FieldDescriptorProto message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a FieldDescriptorProto message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns FieldDescriptorProto
+ */
+ public static fromObject(object: { [k: string]: any }): google.protobuf.FieldDescriptorProto;
+
+ /**
+ * Creates a plain object from a FieldDescriptorProto message. Also converts values to other types if specified.
+ * @param message FieldDescriptorProto
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.protobuf.FieldDescriptorProto, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this FieldDescriptorProto to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for FieldDescriptorProto
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace FieldDescriptorProto {
+
+ /** Type enum. */
+ enum Type {
+ TYPE_DOUBLE = 1,
+ TYPE_FLOAT = 2,
+ TYPE_INT64 = 3,
+ TYPE_UINT64 = 4,
+ TYPE_INT32 = 5,
+ TYPE_FIXED64 = 6,
+ TYPE_FIXED32 = 7,
+ TYPE_BOOL = 8,
+ TYPE_STRING = 9,
+ TYPE_GROUP = 10,
+ TYPE_MESSAGE = 11,
+ TYPE_BYTES = 12,
+ TYPE_UINT32 = 13,
+ TYPE_ENUM = 14,
+ TYPE_SFIXED32 = 15,
+ TYPE_SFIXED64 = 16,
+ TYPE_SINT32 = 17,
+ TYPE_SINT64 = 18
+ }
+
+ /** Label enum. */
+ enum Label {
+ LABEL_OPTIONAL = 1,
+ LABEL_REQUIRED = 2,
+ LABEL_REPEATED = 3
+ }
+ }
+
+ /** Properties of an OneofDescriptorProto. */
+ interface IOneofDescriptorProto {
+
+ /** OneofDescriptorProto name */
+ name?: (string|null);
+
+ /** OneofDescriptorProto options */
+ options?: (google.protobuf.IOneofOptions|null);
+ }
+
+ /** Represents an OneofDescriptorProto. */
+ class OneofDescriptorProto implements IOneofDescriptorProto {
+
+ /**
+ * Constructs a new OneofDescriptorProto.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.protobuf.IOneofDescriptorProto);
+
+ /** OneofDescriptorProto name. */
+ public name: string;
+
+ /** OneofDescriptorProto options. */
+ public options?: (google.protobuf.IOneofOptions|null);
+
+ /**
+ * Creates a new OneofDescriptorProto instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns OneofDescriptorProto instance
+ */
+ public static create(properties?: google.protobuf.IOneofDescriptorProto): google.protobuf.OneofDescriptorProto;
+
+ /**
+ * Encodes the specified OneofDescriptorProto message. Does not implicitly {@link google.protobuf.OneofDescriptorProto.verify|verify} messages.
+ * @param message OneofDescriptorProto message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.protobuf.IOneofDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified OneofDescriptorProto message, length delimited. Does not implicitly {@link google.protobuf.OneofDescriptorProto.verify|verify} messages.
+ * @param message OneofDescriptorProto message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.protobuf.IOneofDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an OneofDescriptorProto message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns OneofDescriptorProto
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.OneofDescriptorProto;
+
+ /**
+ * Decodes an OneofDescriptorProto message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns OneofDescriptorProto
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.OneofDescriptorProto;
+
+ /**
+ * Verifies an OneofDescriptorProto message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates an OneofDescriptorProto message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns OneofDescriptorProto
+ */
+ public static fromObject(object: { [k: string]: any }): google.protobuf.OneofDescriptorProto;
+
+ /**
+ * Creates a plain object from an OneofDescriptorProto message. Also converts values to other types if specified.
+ * @param message OneofDescriptorProto
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.protobuf.OneofDescriptorProto, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this OneofDescriptorProto to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for OneofDescriptorProto
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of an EnumDescriptorProto. */
+ interface IEnumDescriptorProto {
+
+ /** EnumDescriptorProto name */
+ name?: (string|null);
+
+ /** EnumDescriptorProto value */
+ value?: (google.protobuf.IEnumValueDescriptorProto[]|null);
+
+ /** EnumDescriptorProto options */
+ options?: (google.protobuf.IEnumOptions|null);
+
+ /** EnumDescriptorProto reservedRange */
+ reservedRange?: (google.protobuf.EnumDescriptorProto.IEnumReservedRange[]|null);
+
+ /** EnumDescriptorProto reservedName */
+ reservedName?: (string[]|null);
+ }
+
+ /** Represents an EnumDescriptorProto. */
+ class EnumDescriptorProto implements IEnumDescriptorProto {
+
+ /**
+ * Constructs a new EnumDescriptorProto.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.protobuf.IEnumDescriptorProto);
+
+ /** EnumDescriptorProto name. */
+ public name: string;
+
+ /** EnumDescriptorProto value. */
+ public value: google.protobuf.IEnumValueDescriptorProto[];
+
+ /** EnumDescriptorProto options. */
+ public options?: (google.protobuf.IEnumOptions|null);
+
+ /** EnumDescriptorProto reservedRange. */
+ public reservedRange: google.protobuf.EnumDescriptorProto.IEnumReservedRange[];
+
+ /** EnumDescriptorProto reservedName. */
+ public reservedName: string[];
+
+ /**
+ * Creates a new EnumDescriptorProto instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns EnumDescriptorProto instance
+ */
+ public static create(properties?: google.protobuf.IEnumDescriptorProto): google.protobuf.EnumDescriptorProto;
+
+ /**
+ * Encodes the specified EnumDescriptorProto message. Does not implicitly {@link google.protobuf.EnumDescriptorProto.verify|verify} messages.
+ * @param message EnumDescriptorProto message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.protobuf.IEnumDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified EnumDescriptorProto message, length delimited. Does not implicitly {@link google.protobuf.EnumDescriptorProto.verify|verify} messages.
+ * @param message EnumDescriptorProto message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.protobuf.IEnumDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an EnumDescriptorProto message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns EnumDescriptorProto
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.EnumDescriptorProto;
+
+ /**
+ * Decodes an EnumDescriptorProto message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns EnumDescriptorProto
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.EnumDescriptorProto;
+
+ /**
+ * Verifies an EnumDescriptorProto message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates an EnumDescriptorProto message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns EnumDescriptorProto
+ */
+ public static fromObject(object: { [k: string]: any }): google.protobuf.EnumDescriptorProto;
+
+ /**
+ * Creates a plain object from an EnumDescriptorProto message. Also converts values to other types if specified.
+ * @param message EnumDescriptorProto
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.protobuf.EnumDescriptorProto, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this EnumDescriptorProto to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for EnumDescriptorProto
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace EnumDescriptorProto {
+
+ /** Properties of an EnumReservedRange. */
+ interface IEnumReservedRange {
+
+ /** EnumReservedRange start */
+ start?: (number|null);
+
+ /** EnumReservedRange end */
+ end?: (number|null);
+ }
+
+ /** Represents an EnumReservedRange. */
+ class EnumReservedRange implements IEnumReservedRange {
+
+ /**
+ * Constructs a new EnumReservedRange.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.protobuf.EnumDescriptorProto.IEnumReservedRange);
+
+ /** EnumReservedRange start. */
+ public start: number;
+
+ /** EnumReservedRange end. */
+ public end: number;
+
+ /**
+ * Creates a new EnumReservedRange instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns EnumReservedRange instance
+ */
+ public static create(properties?: google.protobuf.EnumDescriptorProto.IEnumReservedRange): google.protobuf.EnumDescriptorProto.EnumReservedRange;
+
+ /**
+ * Encodes the specified EnumReservedRange message. Does not implicitly {@link google.protobuf.EnumDescriptorProto.EnumReservedRange.verify|verify} messages.
+ * @param message EnumReservedRange message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.protobuf.EnumDescriptorProto.IEnumReservedRange, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified EnumReservedRange message, length delimited. Does not implicitly {@link google.protobuf.EnumDescriptorProto.EnumReservedRange.verify|verify} messages.
+ * @param message EnumReservedRange message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.protobuf.EnumDescriptorProto.IEnumReservedRange, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an EnumReservedRange message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns EnumReservedRange
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.EnumDescriptorProto.EnumReservedRange;
+
+ /**
+ * Decodes an EnumReservedRange message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns EnumReservedRange
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.EnumDescriptorProto.EnumReservedRange;
+
+ /**
+ * Verifies an EnumReservedRange message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates an EnumReservedRange message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns EnumReservedRange
+ */
+ public static fromObject(object: { [k: string]: any }): google.protobuf.EnumDescriptorProto.EnumReservedRange;
+
+ /**
+ * Creates a plain object from an EnumReservedRange message. Also converts values to other types if specified.
+ * @param message EnumReservedRange
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.protobuf.EnumDescriptorProto.EnumReservedRange, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this EnumReservedRange to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for EnumReservedRange
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+ }
+
+ /** Properties of an EnumValueDescriptorProto. */
+ interface IEnumValueDescriptorProto {
+
+ /** EnumValueDescriptorProto name */
+ name?: (string|null);
+
+ /** EnumValueDescriptorProto number */
+ number?: (number|null);
+
+ /** EnumValueDescriptorProto options */
+ options?: (google.protobuf.IEnumValueOptions|null);
+ }
+
+ /** Represents an EnumValueDescriptorProto. */
+ class EnumValueDescriptorProto implements IEnumValueDescriptorProto {
+
+ /**
+ * Constructs a new EnumValueDescriptorProto.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.protobuf.IEnumValueDescriptorProto);
+
+ /** EnumValueDescriptorProto name. */
+ public name: string;
+
+ /** EnumValueDescriptorProto number. */
+ public number: number;
+
+ /** EnumValueDescriptorProto options. */
+ public options?: (google.protobuf.IEnumValueOptions|null);
+
+ /**
+ * Creates a new EnumValueDescriptorProto instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns EnumValueDescriptorProto instance
+ */
+ public static create(properties?: google.protobuf.IEnumValueDescriptorProto): google.protobuf.EnumValueDescriptorProto;
+
+ /**
+ * Encodes the specified EnumValueDescriptorProto message. Does not implicitly {@link google.protobuf.EnumValueDescriptorProto.verify|verify} messages.
+ * @param message EnumValueDescriptorProto message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.protobuf.IEnumValueDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified EnumValueDescriptorProto message, length delimited. Does not implicitly {@link google.protobuf.EnumValueDescriptorProto.verify|verify} messages.
+ * @param message EnumValueDescriptorProto message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.protobuf.IEnumValueDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an EnumValueDescriptorProto message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns EnumValueDescriptorProto
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.EnumValueDescriptorProto;
+
+ /**
+ * Decodes an EnumValueDescriptorProto message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns EnumValueDescriptorProto
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.EnumValueDescriptorProto;
+
+ /**
+ * Verifies an EnumValueDescriptorProto message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates an EnumValueDescriptorProto message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns EnumValueDescriptorProto
+ */
+ public static fromObject(object: { [k: string]: any }): google.protobuf.EnumValueDescriptorProto;
+
+ /**
+ * Creates a plain object from an EnumValueDescriptorProto message. Also converts values to other types if specified.
+ * @param message EnumValueDescriptorProto
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.protobuf.EnumValueDescriptorProto, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this EnumValueDescriptorProto to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for EnumValueDescriptorProto
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a ServiceDescriptorProto. */
+ interface IServiceDescriptorProto {
+
+ /** ServiceDescriptorProto name */
+ name?: (string|null);
+
+ /** ServiceDescriptorProto method */
+ method?: (google.protobuf.IMethodDescriptorProto[]|null);
+
+ /** ServiceDescriptorProto options */
+ options?: (google.protobuf.IServiceOptions|null);
+ }
+
+ /** Represents a ServiceDescriptorProto. */
+ class ServiceDescriptorProto implements IServiceDescriptorProto {
+
+ /**
+ * Constructs a new ServiceDescriptorProto.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.protobuf.IServiceDescriptorProto);
+
+ /** ServiceDescriptorProto name. */
+ public name: string;
+
+ /** ServiceDescriptorProto method. */
+ public method: google.protobuf.IMethodDescriptorProto[];
+
+ /** ServiceDescriptorProto options. */
+ public options?: (google.protobuf.IServiceOptions|null);
+
+ /**
+ * Creates a new ServiceDescriptorProto instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ServiceDescriptorProto instance
+ */
+ public static create(properties?: google.protobuf.IServiceDescriptorProto): google.protobuf.ServiceDescriptorProto;
+
+ /**
+ * Encodes the specified ServiceDescriptorProto message. Does not implicitly {@link google.protobuf.ServiceDescriptorProto.verify|verify} messages.
+ * @param message ServiceDescriptorProto message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.protobuf.IServiceDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ServiceDescriptorProto message, length delimited. Does not implicitly {@link google.protobuf.ServiceDescriptorProto.verify|verify} messages.
+ * @param message ServiceDescriptorProto message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.protobuf.IServiceDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ServiceDescriptorProto message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ServiceDescriptorProto
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.ServiceDescriptorProto;
+
+ /**
+ * Decodes a ServiceDescriptorProto message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ServiceDescriptorProto
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.ServiceDescriptorProto;
+
+ /**
+ * Verifies a ServiceDescriptorProto message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a ServiceDescriptorProto message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ServiceDescriptorProto
+ */
+ public static fromObject(object: { [k: string]: any }): google.protobuf.ServiceDescriptorProto;
+
+ /**
+ * Creates a plain object from a ServiceDescriptorProto message. Also converts values to other types if specified.
+ * @param message ServiceDescriptorProto
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.protobuf.ServiceDescriptorProto, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ServiceDescriptorProto to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ServiceDescriptorProto
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a MethodDescriptorProto. */
+ interface IMethodDescriptorProto {
+
+ /** MethodDescriptorProto name */
+ name?: (string|null);
+
+ /** MethodDescriptorProto inputType */
+ inputType?: (string|null);
+
+ /** MethodDescriptorProto outputType */
+ outputType?: (string|null);
+
+ /** MethodDescriptorProto options */
+ options?: (google.protobuf.IMethodOptions|null);
+
+ /** MethodDescriptorProto clientStreaming */
+ clientStreaming?: (boolean|null);
+
+ /** MethodDescriptorProto serverStreaming */
+ serverStreaming?: (boolean|null);
+ }
+
+ /** Represents a MethodDescriptorProto. */
+ class MethodDescriptorProto implements IMethodDescriptorProto {
+
+ /**
+ * Constructs a new MethodDescriptorProto.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.protobuf.IMethodDescriptorProto);
+
+ /** MethodDescriptorProto name. */
+ public name: string;
+
+ /** MethodDescriptorProto inputType. */
+ public inputType: string;
+
+ /** MethodDescriptorProto outputType. */
+ public outputType: string;
+
+ /** MethodDescriptorProto options. */
+ public options?: (google.protobuf.IMethodOptions|null);
+
+ /** MethodDescriptorProto clientStreaming. */
+ public clientStreaming: boolean;
+
+ /** MethodDescriptorProto serverStreaming. */
+ public serverStreaming: boolean;
+
+ /**
+ * Creates a new MethodDescriptorProto instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns MethodDescriptorProto instance
+ */
+ public static create(properties?: google.protobuf.IMethodDescriptorProto): google.protobuf.MethodDescriptorProto;
+
+ /**
+ * Encodes the specified MethodDescriptorProto message. Does not implicitly {@link google.protobuf.MethodDescriptorProto.verify|verify} messages.
+ * @param message MethodDescriptorProto message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.protobuf.IMethodDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified MethodDescriptorProto message, length delimited. Does not implicitly {@link google.protobuf.MethodDescriptorProto.verify|verify} messages.
+ * @param message MethodDescriptorProto message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.protobuf.IMethodDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a MethodDescriptorProto message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns MethodDescriptorProto
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.MethodDescriptorProto;
+
+ /**
+ * Decodes a MethodDescriptorProto message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns MethodDescriptorProto
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.MethodDescriptorProto;
+
+ /**
+ * Verifies a MethodDescriptorProto message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a MethodDescriptorProto message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns MethodDescriptorProto
+ */
+ public static fromObject(object: { [k: string]: any }): google.protobuf.MethodDescriptorProto;
+
+ /**
+ * Creates a plain object from a MethodDescriptorProto message. Also converts values to other types if specified.
+ * @param message MethodDescriptorProto
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.protobuf.MethodDescriptorProto, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this MethodDescriptorProto to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for MethodDescriptorProto
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a FileOptions. */
+ interface IFileOptions {
+
+ /** FileOptions javaPackage */
+ javaPackage?: (string|null);
+
+ /** FileOptions javaOuterClassname */
+ javaOuterClassname?: (string|null);
+
+ /** FileOptions javaMultipleFiles */
+ javaMultipleFiles?: (boolean|null);
+
+ /** FileOptions javaGenerateEqualsAndHash */
+ javaGenerateEqualsAndHash?: (boolean|null);
+
+ /** FileOptions javaStringCheckUtf8 */
+ javaStringCheckUtf8?: (boolean|null);
+
+ /** FileOptions optimizeFor */
+ optimizeFor?: (google.protobuf.FileOptions.OptimizeMode|keyof typeof google.protobuf.FileOptions.OptimizeMode|null);
+
+ /** FileOptions goPackage */
+ goPackage?: (string|null);
+
+ /** FileOptions ccGenericServices */
+ ccGenericServices?: (boolean|null);
+
+ /** FileOptions javaGenericServices */
+ javaGenericServices?: (boolean|null);
+
+ /** FileOptions pyGenericServices */
+ pyGenericServices?: (boolean|null);
+
+ /** FileOptions phpGenericServices */
+ phpGenericServices?: (boolean|null);
+
+ /** FileOptions deprecated */
+ deprecated?: (boolean|null);
+
+ /** FileOptions ccEnableArenas */
+ ccEnableArenas?: (boolean|null);
+
+ /** FileOptions objcClassPrefix */
+ objcClassPrefix?: (string|null);
+
+ /** FileOptions csharpNamespace */
+ csharpNamespace?: (string|null);
+
+ /** FileOptions swiftPrefix */
+ swiftPrefix?: (string|null);
+
+ /** FileOptions phpClassPrefix */
+ phpClassPrefix?: (string|null);
+
+ /** FileOptions phpNamespace */
+ phpNamespace?: (string|null);
+
+ /** FileOptions phpMetadataNamespace */
+ phpMetadataNamespace?: (string|null);
+
+ /** FileOptions rubyPackage */
+ rubyPackage?: (string|null);
+
+ /** FileOptions uninterpretedOption */
+ uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null);
+
+ /** FileOptions .google.api.resourceDefinition */
+ ".google.api.resourceDefinition"?: (google.api.IResourceDescriptor[]|null);
+ }
+
+ /** Represents a FileOptions. */
+ class FileOptions implements IFileOptions {
+
+ /**
+ * Constructs a new FileOptions.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.protobuf.IFileOptions);
+
+ /** FileOptions javaPackage. */
+ public javaPackage: string;
+
+ /** FileOptions javaOuterClassname. */
+ public javaOuterClassname: string;
+
+ /** FileOptions javaMultipleFiles. */
+ public javaMultipleFiles: boolean;
+
+ /** FileOptions javaGenerateEqualsAndHash. */
+ public javaGenerateEqualsAndHash: boolean;
+
+ /** FileOptions javaStringCheckUtf8. */
+ public javaStringCheckUtf8: boolean;
+
+ /** FileOptions optimizeFor. */
+ public optimizeFor: (google.protobuf.FileOptions.OptimizeMode|keyof typeof google.protobuf.FileOptions.OptimizeMode);
+
+ /** FileOptions goPackage. */
+ public goPackage: string;
+
+ /** FileOptions ccGenericServices. */
+ public ccGenericServices: boolean;
+
+ /** FileOptions javaGenericServices. */
+ public javaGenericServices: boolean;
+
+ /** FileOptions pyGenericServices. */
+ public pyGenericServices: boolean;
+
+ /** FileOptions phpGenericServices. */
+ public phpGenericServices: boolean;
+
+ /** FileOptions deprecated. */
+ public deprecated: boolean;
+
+ /** FileOptions ccEnableArenas. */
+ public ccEnableArenas: boolean;
+
+ /** FileOptions objcClassPrefix. */
+ public objcClassPrefix: string;
+
+ /** FileOptions csharpNamespace. */
+ public csharpNamespace: string;
+
+ /** FileOptions swiftPrefix. */
+ public swiftPrefix: string;
+
+ /** FileOptions phpClassPrefix. */
+ public phpClassPrefix: string;
+
+ /** FileOptions phpNamespace. */
+ public phpNamespace: string;
+
+ /** FileOptions phpMetadataNamespace. */
+ public phpMetadataNamespace: string;
+
+ /** FileOptions rubyPackage. */
+ public rubyPackage: string;
+
+ /** FileOptions uninterpretedOption. */
+ public uninterpretedOption: google.protobuf.IUninterpretedOption[];
+
+ /**
+ * Creates a new FileOptions instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns FileOptions instance
+ */
+ public static create(properties?: google.protobuf.IFileOptions): google.protobuf.FileOptions;
+
+ /**
+ * Encodes the specified FileOptions message. Does not implicitly {@link google.protobuf.FileOptions.verify|verify} messages.
+ * @param message FileOptions message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.protobuf.IFileOptions, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified FileOptions message, length delimited. Does not implicitly {@link google.protobuf.FileOptions.verify|verify} messages.
+ * @param message FileOptions message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.protobuf.IFileOptions, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a FileOptions message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns FileOptions
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.FileOptions;
+
+ /**
+ * Decodes a FileOptions message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns FileOptions
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.FileOptions;
+
+ /**
+ * Verifies a FileOptions message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a FileOptions message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns FileOptions
+ */
+ public static fromObject(object: { [k: string]: any }): google.protobuf.FileOptions;
+
+ /**
+ * Creates a plain object from a FileOptions message. Also converts values to other types if specified.
+ * @param message FileOptions
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.protobuf.FileOptions, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this FileOptions to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for FileOptions
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace FileOptions {
+
+ /** OptimizeMode enum. */
+ enum OptimizeMode {
+ SPEED = 1,
+ CODE_SIZE = 2,
+ LITE_RUNTIME = 3
+ }
+ }
+
+ /** Properties of a MessageOptions. */
+ interface IMessageOptions {
+
+ /** MessageOptions messageSetWireFormat */
+ messageSetWireFormat?: (boolean|null);
+
+ /** MessageOptions noStandardDescriptorAccessor */
+ noStandardDescriptorAccessor?: (boolean|null);
+
+ /** MessageOptions deprecated */
+ deprecated?: (boolean|null);
+
+ /** MessageOptions mapEntry */
+ mapEntry?: (boolean|null);
+
+ /** MessageOptions uninterpretedOption */
+ uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null);
+
+ /** MessageOptions .google.api.resource */
+ ".google.api.resource"?: (google.api.IResourceDescriptor|null);
+ }
+
+ /** Represents a MessageOptions. */
+ class MessageOptions implements IMessageOptions {
+
+ /**
+ * Constructs a new MessageOptions.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.protobuf.IMessageOptions);
+
+ /** MessageOptions messageSetWireFormat. */
+ public messageSetWireFormat: boolean;
+
+ /** MessageOptions noStandardDescriptorAccessor. */
+ public noStandardDescriptorAccessor: boolean;
+
+ /** MessageOptions deprecated. */
+ public deprecated: boolean;
+
+ /** MessageOptions mapEntry. */
+ public mapEntry: boolean;
+
+ /** MessageOptions uninterpretedOption. */
+ public uninterpretedOption: google.protobuf.IUninterpretedOption[];
+
+ /**
+ * Creates a new MessageOptions instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns MessageOptions instance
+ */
+ public static create(properties?: google.protobuf.IMessageOptions): google.protobuf.MessageOptions;
+
+ /**
+ * Encodes the specified MessageOptions message. Does not implicitly {@link google.protobuf.MessageOptions.verify|verify} messages.
+ * @param message MessageOptions message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.protobuf.IMessageOptions, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified MessageOptions message, length delimited. Does not implicitly {@link google.protobuf.MessageOptions.verify|verify} messages.
+ * @param message MessageOptions message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.protobuf.IMessageOptions, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a MessageOptions message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns MessageOptions
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.MessageOptions;
+
+ /**
+ * Decodes a MessageOptions message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns MessageOptions
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.MessageOptions;
+
+ /**
+ * Verifies a MessageOptions message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a MessageOptions message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns MessageOptions
+ */
+ public static fromObject(object: { [k: string]: any }): google.protobuf.MessageOptions;
+
+ /**
+ * Creates a plain object from a MessageOptions message. Also converts values to other types if specified.
+ * @param message MessageOptions
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.protobuf.MessageOptions, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this MessageOptions to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for MessageOptions
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a FieldOptions. */
+ interface IFieldOptions {
+
+ /** FieldOptions ctype */
+ ctype?: (google.protobuf.FieldOptions.CType|keyof typeof google.protobuf.FieldOptions.CType|null);
+
+ /** FieldOptions packed */
+ packed?: (boolean|null);
+
+ /** FieldOptions jstype */
+ jstype?: (google.protobuf.FieldOptions.JSType|keyof typeof google.protobuf.FieldOptions.JSType|null);
+
+ /** FieldOptions lazy */
+ lazy?: (boolean|null);
+
+ /** FieldOptions unverifiedLazy */
+ unverifiedLazy?: (boolean|null);
+
+ /** FieldOptions deprecated */
+ deprecated?: (boolean|null);
+
+ /** FieldOptions weak */
+ weak?: (boolean|null);
+
+ /** FieldOptions uninterpretedOption */
+ uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null);
+
+ /** FieldOptions .google.api.fieldBehavior */
+ ".google.api.fieldBehavior"?: (google.api.FieldBehavior[]|null);
+
+ /** FieldOptions .google.api.resourceReference */
+ ".google.api.resourceReference"?: (google.api.IResourceReference|null);
+ }
+
+ /** Represents a FieldOptions. */
+ class FieldOptions implements IFieldOptions {
+
+ /**
+ * Constructs a new FieldOptions.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.protobuf.IFieldOptions);
+
+ /** FieldOptions ctype. */
+ public ctype: (google.protobuf.FieldOptions.CType|keyof typeof google.protobuf.FieldOptions.CType);
+
+ /** FieldOptions packed. */
+ public packed: boolean;
+
+ /** FieldOptions jstype. */
+ public jstype: (google.protobuf.FieldOptions.JSType|keyof typeof google.protobuf.FieldOptions.JSType);
+
+ /** FieldOptions lazy. */
+ public lazy: boolean;
+
+ /** FieldOptions unverifiedLazy. */
+ public unverifiedLazy: boolean;
+
+ /** FieldOptions deprecated. */
+ public deprecated: boolean;
+
+ /** FieldOptions weak. */
+ public weak: boolean;
+
+ /** FieldOptions uninterpretedOption. */
+ public uninterpretedOption: google.protobuf.IUninterpretedOption[];
+
+ /**
+ * Creates a new FieldOptions instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns FieldOptions instance
+ */
+ public static create(properties?: google.protobuf.IFieldOptions): google.protobuf.FieldOptions;
+
+ /**
+ * Encodes the specified FieldOptions message. Does not implicitly {@link google.protobuf.FieldOptions.verify|verify} messages.
+ * @param message FieldOptions message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.protobuf.IFieldOptions, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified FieldOptions message, length delimited. Does not implicitly {@link google.protobuf.FieldOptions.verify|verify} messages.
+ * @param message FieldOptions message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.protobuf.IFieldOptions, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a FieldOptions message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns FieldOptions
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.FieldOptions;
+
+ /**
+ * Decodes a FieldOptions message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns FieldOptions
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.FieldOptions;
+
+ /**
+ * Verifies a FieldOptions message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a FieldOptions message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns FieldOptions
+ */
+ public static fromObject(object: { [k: string]: any }): google.protobuf.FieldOptions;
+
+ /**
+ * Creates a plain object from a FieldOptions message. Also converts values to other types if specified.
+ * @param message FieldOptions
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.protobuf.FieldOptions, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this FieldOptions to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for FieldOptions
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace FieldOptions {
+
+ /** CType enum. */
+ enum CType {
+ STRING = 0,
+ CORD = 1,
+ STRING_PIECE = 2
+ }
+
+ /** JSType enum. */
+ enum JSType {
+ JS_NORMAL = 0,
+ JS_STRING = 1,
+ JS_NUMBER = 2
+ }
+ }
+
+ /** Properties of an OneofOptions. */
+ interface IOneofOptions {
+
+ /** OneofOptions uninterpretedOption */
+ uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null);
+ }
+
+ /** Represents an OneofOptions. */
+ class OneofOptions implements IOneofOptions {
+
+ /**
+ * Constructs a new OneofOptions.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.protobuf.IOneofOptions);
+
+ /** OneofOptions uninterpretedOption. */
+ public uninterpretedOption: google.protobuf.IUninterpretedOption[];
+
+ /**
+ * Creates a new OneofOptions instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns OneofOptions instance
+ */
+ public static create(properties?: google.protobuf.IOneofOptions): google.protobuf.OneofOptions;
+
+ /**
+ * Encodes the specified OneofOptions message. Does not implicitly {@link google.protobuf.OneofOptions.verify|verify} messages.
+ * @param message OneofOptions message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.protobuf.IOneofOptions, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified OneofOptions message, length delimited. Does not implicitly {@link google.protobuf.OneofOptions.verify|verify} messages.
+ * @param message OneofOptions message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.protobuf.IOneofOptions, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an OneofOptions message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns OneofOptions
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.OneofOptions;
+
+ /**
+ * Decodes an OneofOptions message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns OneofOptions
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.OneofOptions;
+
+ /**
+ * Verifies an OneofOptions message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates an OneofOptions message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns OneofOptions
+ */
+ public static fromObject(object: { [k: string]: any }): google.protobuf.OneofOptions;
+
+ /**
+ * Creates a plain object from an OneofOptions message. Also converts values to other types if specified.
+ * @param message OneofOptions
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.protobuf.OneofOptions, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this OneofOptions to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for OneofOptions
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of an EnumOptions. */
+ interface IEnumOptions {
+
+ /** EnumOptions allowAlias */
+ allowAlias?: (boolean|null);
+
+ /** EnumOptions deprecated */
+ deprecated?: (boolean|null);
+
+ /** EnumOptions uninterpretedOption */
+ uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null);
+ }
+
+ /** Represents an EnumOptions. */
+ class EnumOptions implements IEnumOptions {
+
+ /**
+ * Constructs a new EnumOptions.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.protobuf.IEnumOptions);
+
+ /** EnumOptions allowAlias. */
+ public allowAlias: boolean;
+
+ /** EnumOptions deprecated. */
+ public deprecated: boolean;
+
+ /** EnumOptions uninterpretedOption. */
+ public uninterpretedOption: google.protobuf.IUninterpretedOption[];
+
+ /**
+ * Creates a new EnumOptions instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns EnumOptions instance
+ */
+ public static create(properties?: google.protobuf.IEnumOptions): google.protobuf.EnumOptions;
+
+ /**
+ * Encodes the specified EnumOptions message. Does not implicitly {@link google.protobuf.EnumOptions.verify|verify} messages.
+ * @param message EnumOptions message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.protobuf.IEnumOptions, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified EnumOptions message, length delimited. Does not implicitly {@link google.protobuf.EnumOptions.verify|verify} messages.
+ * @param message EnumOptions message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.protobuf.IEnumOptions, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an EnumOptions message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns EnumOptions
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.EnumOptions;
+
+ /**
+ * Decodes an EnumOptions message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns EnumOptions
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.EnumOptions;
+
+ /**
+ * Verifies an EnumOptions message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates an EnumOptions message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns EnumOptions
+ */
+ public static fromObject(object: { [k: string]: any }): google.protobuf.EnumOptions;
+
+ /**
+ * Creates a plain object from an EnumOptions message. Also converts values to other types if specified.
+ * @param message EnumOptions
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.protobuf.EnumOptions, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this EnumOptions to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for EnumOptions
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of an EnumValueOptions. */
+ interface IEnumValueOptions {
+
+ /** EnumValueOptions deprecated */
+ deprecated?: (boolean|null);
+
+ /** EnumValueOptions uninterpretedOption */
+ uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null);
+ }
+
+ /** Represents an EnumValueOptions. */
+ class EnumValueOptions implements IEnumValueOptions {
+
+ /**
+ * Constructs a new EnumValueOptions.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.protobuf.IEnumValueOptions);
+
+ /** EnumValueOptions deprecated. */
+ public deprecated: boolean;
+
+ /** EnumValueOptions uninterpretedOption. */
+ public uninterpretedOption: google.protobuf.IUninterpretedOption[];
+
+ /**
+ * Creates a new EnumValueOptions instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns EnumValueOptions instance
+ */
+ public static create(properties?: google.protobuf.IEnumValueOptions): google.protobuf.EnumValueOptions;
+
+ /**
+ * Encodes the specified EnumValueOptions message. Does not implicitly {@link google.protobuf.EnumValueOptions.verify|verify} messages.
+ * @param message EnumValueOptions message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.protobuf.IEnumValueOptions, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified EnumValueOptions message, length delimited. Does not implicitly {@link google.protobuf.EnumValueOptions.verify|verify} messages.
+ * @param message EnumValueOptions message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.protobuf.IEnumValueOptions, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an EnumValueOptions message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns EnumValueOptions
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.EnumValueOptions;
+
+ /**
+ * Decodes an EnumValueOptions message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns EnumValueOptions
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.EnumValueOptions;
+
+ /**
+ * Verifies an EnumValueOptions message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates an EnumValueOptions message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns EnumValueOptions
+ */
+ public static fromObject(object: { [k: string]: any }): google.protobuf.EnumValueOptions;
+
+ /**
+ * Creates a plain object from an EnumValueOptions message. Also converts values to other types if specified.
+ * @param message EnumValueOptions
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.protobuf.EnumValueOptions, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this EnumValueOptions to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for EnumValueOptions
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a ServiceOptions. */
+ interface IServiceOptions {
+
+ /** ServiceOptions deprecated */
+ deprecated?: (boolean|null);
+
+ /** ServiceOptions uninterpretedOption */
+ uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null);
+
+ /** ServiceOptions .google.api.defaultHost */
+ ".google.api.defaultHost"?: (string|null);
+
+ /** ServiceOptions .google.api.oauthScopes */
+ ".google.api.oauthScopes"?: (string|null);
+ }
+
+ /** Represents a ServiceOptions. */
+ class ServiceOptions implements IServiceOptions {
+
+ /**
+ * Constructs a new ServiceOptions.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.protobuf.IServiceOptions);
+
+ /** ServiceOptions deprecated. */
+ public deprecated: boolean;
+
+ /** ServiceOptions uninterpretedOption. */
+ public uninterpretedOption: google.protobuf.IUninterpretedOption[];
+
+ /**
+ * Creates a new ServiceOptions instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ServiceOptions instance
+ */
+ public static create(properties?: google.protobuf.IServiceOptions): google.protobuf.ServiceOptions;
+
+ /**
+ * Encodes the specified ServiceOptions message. Does not implicitly {@link google.protobuf.ServiceOptions.verify|verify} messages.
+ * @param message ServiceOptions message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.protobuf.IServiceOptions, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ServiceOptions message, length delimited. Does not implicitly {@link google.protobuf.ServiceOptions.verify|verify} messages.
+ * @param message ServiceOptions message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.protobuf.IServiceOptions, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ServiceOptions message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ServiceOptions
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.ServiceOptions;
+
+ /**
+ * Decodes a ServiceOptions message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ServiceOptions
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.ServiceOptions;
+
+ /**
+ * Verifies a ServiceOptions message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a ServiceOptions message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ServiceOptions
+ */
+ public static fromObject(object: { [k: string]: any }): google.protobuf.ServiceOptions;
+
+ /**
+ * Creates a plain object from a ServiceOptions message. Also converts values to other types if specified.
+ * @param message ServiceOptions
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.protobuf.ServiceOptions, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ServiceOptions to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ServiceOptions
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a MethodOptions. */
+ interface IMethodOptions {
+
+ /** MethodOptions deprecated */
+ deprecated?: (boolean|null);
+
+ /** MethodOptions idempotencyLevel */
+ idempotencyLevel?: (google.protobuf.MethodOptions.IdempotencyLevel|keyof typeof google.protobuf.MethodOptions.IdempotencyLevel|null);
+
+ /** MethodOptions uninterpretedOption */
+ uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null);
+
+ /** MethodOptions .google.api.http */
+ ".google.api.http"?: (google.api.IHttpRule|null);
+
+ /** MethodOptions .google.api.methodSignature */
+ ".google.api.methodSignature"?: (string[]|null);
+
+ /** MethodOptions .google.longrunning.operationInfo */
+ ".google.longrunning.operationInfo"?: (google.longrunning.IOperationInfo|null);
+ }
+
+ /** Represents a MethodOptions. */
+ class MethodOptions implements IMethodOptions {
+
+ /**
+ * Constructs a new MethodOptions.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.protobuf.IMethodOptions);
+
+ /** MethodOptions deprecated. */
+ public deprecated: boolean;
+
+ /** MethodOptions idempotencyLevel. */
+ public idempotencyLevel: (google.protobuf.MethodOptions.IdempotencyLevel|keyof typeof google.protobuf.MethodOptions.IdempotencyLevel);
+
+ /** MethodOptions uninterpretedOption. */
+ public uninterpretedOption: google.protobuf.IUninterpretedOption[];
+
+ /**
+ * Creates a new MethodOptions instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns MethodOptions instance
+ */
+ public static create(properties?: google.protobuf.IMethodOptions): google.protobuf.MethodOptions;
+
+ /**
+ * Encodes the specified MethodOptions message. Does not implicitly {@link google.protobuf.MethodOptions.verify|verify} messages.
+ * @param message MethodOptions message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.protobuf.IMethodOptions, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified MethodOptions message, length delimited. Does not implicitly {@link google.protobuf.MethodOptions.verify|verify} messages.
+ * @param message MethodOptions message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.protobuf.IMethodOptions, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a MethodOptions message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns MethodOptions
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.MethodOptions;
+
+ /**
+ * Decodes a MethodOptions message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns MethodOptions
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.MethodOptions;
+
+ /**
+ * Verifies a MethodOptions message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a MethodOptions message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns MethodOptions
+ */
+ public static fromObject(object: { [k: string]: any }): google.protobuf.MethodOptions;
+
+ /**
+ * Creates a plain object from a MethodOptions message. Also converts values to other types if specified.
+ * @param message MethodOptions
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.protobuf.MethodOptions, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this MethodOptions to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for MethodOptions
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace MethodOptions {
+
+ /** IdempotencyLevel enum. */
+ enum IdempotencyLevel {
+ IDEMPOTENCY_UNKNOWN = 0,
+ NO_SIDE_EFFECTS = 1,
+ IDEMPOTENT = 2
+ }
+ }
+
+ /** Properties of an UninterpretedOption. */
+ interface IUninterpretedOption {
+
+ /** UninterpretedOption name */
+ name?: (google.protobuf.UninterpretedOption.INamePart[]|null);
+
+ /** UninterpretedOption identifierValue */
+ identifierValue?: (string|null);
+
+ /** UninterpretedOption positiveIntValue */
+ positiveIntValue?: (number|Long|string|null);
+
+ /** UninterpretedOption negativeIntValue */
+ negativeIntValue?: (number|Long|string|null);
+
+ /** UninterpretedOption doubleValue */
+ doubleValue?: (number|null);
+
+ /** UninterpretedOption stringValue */
+ stringValue?: (Uint8Array|string|null);
+
+ /** UninterpretedOption aggregateValue */
+ aggregateValue?: (string|null);
+ }
+
+ /** Represents an UninterpretedOption. */
+ class UninterpretedOption implements IUninterpretedOption {
+
+ /**
+ * Constructs a new UninterpretedOption.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.protobuf.IUninterpretedOption);
+
+ /** UninterpretedOption name. */
+ public name: google.protobuf.UninterpretedOption.INamePart[];
+
+ /** UninterpretedOption identifierValue. */
+ public identifierValue: string;
+
+ /** UninterpretedOption positiveIntValue. */
+ public positiveIntValue: (number|Long|string);
+
+ /** UninterpretedOption negativeIntValue. */
+ public negativeIntValue: (number|Long|string);
+
+ /** UninterpretedOption doubleValue. */
+ public doubleValue: number;
+
+ /** UninterpretedOption stringValue. */
+ public stringValue: (Uint8Array|string);
+
+ /** UninterpretedOption aggregateValue. */
+ public aggregateValue: string;
+
+ /**
+ * Creates a new UninterpretedOption instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns UninterpretedOption instance
+ */
+ public static create(properties?: google.protobuf.IUninterpretedOption): google.protobuf.UninterpretedOption;
+
+ /**
+ * Encodes the specified UninterpretedOption message. Does not implicitly {@link google.protobuf.UninterpretedOption.verify|verify} messages.
+ * @param message UninterpretedOption message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.protobuf.IUninterpretedOption, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified UninterpretedOption message, length delimited. Does not implicitly {@link google.protobuf.UninterpretedOption.verify|verify} messages.
+ * @param message UninterpretedOption message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.protobuf.IUninterpretedOption, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an UninterpretedOption message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns UninterpretedOption
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.UninterpretedOption;
+
+ /**
+ * Decodes an UninterpretedOption message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns UninterpretedOption
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.UninterpretedOption;
+
+ /**
+ * Verifies an UninterpretedOption message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates an UninterpretedOption message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns UninterpretedOption
+ */
+ public static fromObject(object: { [k: string]: any }): google.protobuf.UninterpretedOption;
+
+ /**
+ * Creates a plain object from an UninterpretedOption message. Also converts values to other types if specified.
+ * @param message UninterpretedOption
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.protobuf.UninterpretedOption, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this UninterpretedOption to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for UninterpretedOption
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace UninterpretedOption {
+
+ /** Properties of a NamePart. */
+ interface INamePart {
+
+ /** NamePart namePart */
+ namePart: string;
+
+ /** NamePart isExtension */
+ isExtension: boolean;
+ }
+
+ /** Represents a NamePart. */
+ class NamePart implements INamePart {
+
+ /**
+ * Constructs a new NamePart.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.protobuf.UninterpretedOption.INamePart);
+
+ /** NamePart namePart. */
+ public namePart: string;
+
+ /** NamePart isExtension. */
+ public isExtension: boolean;
+
+ /**
+ * Creates a new NamePart instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns NamePart instance
+ */
+ public static create(properties?: google.protobuf.UninterpretedOption.INamePart): google.protobuf.UninterpretedOption.NamePart;
+
+ /**
+ * Encodes the specified NamePart message. Does not implicitly {@link google.protobuf.UninterpretedOption.NamePart.verify|verify} messages.
+ * @param message NamePart message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.protobuf.UninterpretedOption.INamePart, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified NamePart message, length delimited. Does not implicitly {@link google.protobuf.UninterpretedOption.NamePart.verify|verify} messages.
+ * @param message NamePart message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.protobuf.UninterpretedOption.INamePart, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a NamePart message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns NamePart
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.UninterpretedOption.NamePart;
+
+ /**
+ * Decodes a NamePart message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns NamePart
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.UninterpretedOption.NamePart;
+
+ /**
+ * Verifies a NamePart message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a NamePart message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns NamePart
+ */
+ public static fromObject(object: { [k: string]: any }): google.protobuf.UninterpretedOption.NamePart;
+
+ /**
+ * Creates a plain object from a NamePart message. Also converts values to other types if specified.
+ * @param message NamePart
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.protobuf.UninterpretedOption.NamePart, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this NamePart to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for NamePart
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+ }
+
+ /** Properties of a SourceCodeInfo. */
+ interface ISourceCodeInfo {
+
+ /** SourceCodeInfo location */
+ location?: (google.protobuf.SourceCodeInfo.ILocation[]|null);
+ }
+
+ /** Represents a SourceCodeInfo. */
+ class SourceCodeInfo implements ISourceCodeInfo {
+
+ /**
+ * Constructs a new SourceCodeInfo.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.protobuf.ISourceCodeInfo);
+
+ /** SourceCodeInfo location. */
+ public location: google.protobuf.SourceCodeInfo.ILocation[];
+
+ /**
+ * Creates a new SourceCodeInfo instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns SourceCodeInfo instance
+ */
+ public static create(properties?: google.protobuf.ISourceCodeInfo): google.protobuf.SourceCodeInfo;
+
+ /**
+ * Encodes the specified SourceCodeInfo message. Does not implicitly {@link google.protobuf.SourceCodeInfo.verify|verify} messages.
+ * @param message SourceCodeInfo message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.protobuf.ISourceCodeInfo, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified SourceCodeInfo message, length delimited. Does not implicitly {@link google.protobuf.SourceCodeInfo.verify|verify} messages.
+ * @param message SourceCodeInfo message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.protobuf.ISourceCodeInfo, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a SourceCodeInfo message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns SourceCodeInfo
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.SourceCodeInfo;
+
+ /**
+ * Decodes a SourceCodeInfo message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns SourceCodeInfo
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.SourceCodeInfo;
+
+ /**
+ * Verifies a SourceCodeInfo message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a SourceCodeInfo message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns SourceCodeInfo
+ */
+ public static fromObject(object: { [k: string]: any }): google.protobuf.SourceCodeInfo;
+
+ /**
+ * Creates a plain object from a SourceCodeInfo message. Also converts values to other types if specified.
+ * @param message SourceCodeInfo
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.protobuf.SourceCodeInfo, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this SourceCodeInfo to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for SourceCodeInfo
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace SourceCodeInfo {
+
+ /** Properties of a Location. */
+ interface ILocation {
+
+ /** Location path */
+ path?: (number[]|null);
+
+ /** Location span */
+ span?: (number[]|null);
+
+ /** Location leadingComments */
+ leadingComments?: (string|null);
+
+ /** Location trailingComments */
+ trailingComments?: (string|null);
+
+ /** Location leadingDetachedComments */
+ leadingDetachedComments?: (string[]|null);
+ }
+
+ /** Represents a Location. */
+ class Location implements ILocation {
+
+ /**
+ * Constructs a new Location.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.protobuf.SourceCodeInfo.ILocation);
+
+ /** Location path. */
+ public path: number[];
+
+ /** Location span. */
+ public span: number[];
+
+ /** Location leadingComments. */
+ public leadingComments: string;
+
+ /** Location trailingComments. */
+ public trailingComments: string;
+
+ /** Location leadingDetachedComments. */
+ public leadingDetachedComments: string[];
+
+ /**
+ * Creates a new Location instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns Location instance
+ */
+ public static create(properties?: google.protobuf.SourceCodeInfo.ILocation): google.protobuf.SourceCodeInfo.Location;
+
+ /**
+ * Encodes the specified Location message. Does not implicitly {@link google.protobuf.SourceCodeInfo.Location.verify|verify} messages.
+ * @param message Location message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.protobuf.SourceCodeInfo.ILocation, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified Location message, length delimited. Does not implicitly {@link google.protobuf.SourceCodeInfo.Location.verify|verify} messages.
+ * @param message Location message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.protobuf.SourceCodeInfo.ILocation, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a Location message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns Location
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.SourceCodeInfo.Location;
+
+ /**
+ * Decodes a Location message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns Location
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.SourceCodeInfo.Location;
+
+ /**
+ * Verifies a Location message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a Location message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns Location
+ */
+ public static fromObject(object: { [k: string]: any }): google.protobuf.SourceCodeInfo.Location;
+
+ /**
+ * Creates a plain object from a Location message. Also converts values to other types if specified.
+ * @param message Location
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.protobuf.SourceCodeInfo.Location, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this Location to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for Location
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+ }
+
+ /** Properties of a GeneratedCodeInfo. */
+ interface IGeneratedCodeInfo {
+
+ /** GeneratedCodeInfo annotation */
+ annotation?: (google.protobuf.GeneratedCodeInfo.IAnnotation[]|null);
+ }
+
+ /** Represents a GeneratedCodeInfo. */
+ class GeneratedCodeInfo implements IGeneratedCodeInfo {
+
+ /**
+ * Constructs a new GeneratedCodeInfo.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.protobuf.IGeneratedCodeInfo);
+
+ /** GeneratedCodeInfo annotation. */
+ public annotation: google.protobuf.GeneratedCodeInfo.IAnnotation[];
+
+ /**
+ * Creates a new GeneratedCodeInfo instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns GeneratedCodeInfo instance
+ */
+ public static create(properties?: google.protobuf.IGeneratedCodeInfo): google.protobuf.GeneratedCodeInfo;
+
+ /**
+ * Encodes the specified GeneratedCodeInfo message. Does not implicitly {@link google.protobuf.GeneratedCodeInfo.verify|verify} messages.
+ * @param message GeneratedCodeInfo message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.protobuf.IGeneratedCodeInfo, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified GeneratedCodeInfo message, length delimited. Does not implicitly {@link google.protobuf.GeneratedCodeInfo.verify|verify} messages.
+ * @param message GeneratedCodeInfo message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.protobuf.IGeneratedCodeInfo, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a GeneratedCodeInfo message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns GeneratedCodeInfo
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.GeneratedCodeInfo;
+
+ /**
+ * Decodes a GeneratedCodeInfo message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns GeneratedCodeInfo
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.GeneratedCodeInfo;
+
+ /**
+ * Verifies a GeneratedCodeInfo message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a GeneratedCodeInfo message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns GeneratedCodeInfo
+ */
+ public static fromObject(object: { [k: string]: any }): google.protobuf.GeneratedCodeInfo;
+
+ /**
+ * Creates a plain object from a GeneratedCodeInfo message. Also converts values to other types if specified.
+ * @param message GeneratedCodeInfo
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.protobuf.GeneratedCodeInfo, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this GeneratedCodeInfo to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for GeneratedCodeInfo
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace GeneratedCodeInfo {
+
+ /** Properties of an Annotation. */
+ interface IAnnotation {
+
+ /** Annotation path */
+ path?: (number[]|null);
+
+ /** Annotation sourceFile */
+ sourceFile?: (string|null);
+
+ /** Annotation begin */
+ begin?: (number|null);
+
+ /** Annotation end */
+ end?: (number|null);
+
+ /** Annotation semantic */
+ semantic?: (google.protobuf.GeneratedCodeInfo.Annotation.Semantic|keyof typeof google.protobuf.GeneratedCodeInfo.Annotation.Semantic|null);
+ }
+
+ /** Represents an Annotation. */
+ class Annotation implements IAnnotation {
+
+ /**
+ * Constructs a new Annotation.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.protobuf.GeneratedCodeInfo.IAnnotation);
+
+ /** Annotation path. */
+ public path: number[];
+
+ /** Annotation sourceFile. */
+ public sourceFile: string;
+
+ /** Annotation begin. */
+ public begin: number;
+
+ /** Annotation end. */
+ public end: number;
+
+ /** Annotation semantic. */
+ public semantic: (google.protobuf.GeneratedCodeInfo.Annotation.Semantic|keyof typeof google.protobuf.GeneratedCodeInfo.Annotation.Semantic);
+
+ /**
+ * Creates a new Annotation instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns Annotation instance
+ */
+ public static create(properties?: google.protobuf.GeneratedCodeInfo.IAnnotation): google.protobuf.GeneratedCodeInfo.Annotation;
+
+ /**
+ * Encodes the specified Annotation message. Does not implicitly {@link google.protobuf.GeneratedCodeInfo.Annotation.verify|verify} messages.
+ * @param message Annotation message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.protobuf.GeneratedCodeInfo.IAnnotation, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified Annotation message, length delimited. Does not implicitly {@link google.protobuf.GeneratedCodeInfo.Annotation.verify|verify} messages.
+ * @param message Annotation message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.protobuf.GeneratedCodeInfo.IAnnotation, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an Annotation message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns Annotation
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.GeneratedCodeInfo.Annotation;
+
+ /**
+ * Decodes an Annotation message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns Annotation
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.GeneratedCodeInfo.Annotation;
+
+ /**
+ * Verifies an Annotation message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates an Annotation message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns Annotation
+ */
+ public static fromObject(object: { [k: string]: any }): google.protobuf.GeneratedCodeInfo.Annotation;
+
+ /**
+ * Creates a plain object from an Annotation message. Also converts values to other types if specified.
+ * @param message Annotation
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.protobuf.GeneratedCodeInfo.Annotation, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this Annotation to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for Annotation
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace Annotation {
+
+ /** Semantic enum. */
+ enum Semantic {
+ NONE = 0,
+ SET = 1,
+ ALIAS = 2
+ }
+ }
+ }
+
+ /** Properties of a Duration. */
+ interface IDuration {
+
+ /** Duration seconds */
+ seconds?: (number|Long|string|null);
+
+ /** Duration nanos */
+ nanos?: (number|null);
+ }
+
+ /** Represents a Duration. */
+ class Duration implements IDuration {
+
+ /**
+ * Constructs a new Duration.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.protobuf.IDuration);
+
+ /** Duration seconds. */
+ public seconds: (number|Long|string);
+
+ /** Duration nanos. */
+ public nanos: number;
+
+ /**
+ * Creates a new Duration instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns Duration instance
+ */
+ public static create(properties?: google.protobuf.IDuration): google.protobuf.Duration;
+
+ /**
+ * Encodes the specified Duration message. Does not implicitly {@link google.protobuf.Duration.verify|verify} messages.
+ * @param message Duration message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.protobuf.IDuration, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified Duration message, length delimited. Does not implicitly {@link google.protobuf.Duration.verify|verify} messages.
+ * @param message Duration message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.protobuf.IDuration, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a Duration message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns Duration
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.Duration;
+
+ /**
+ * Decodes a Duration message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns Duration
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.Duration;
+
+ /**
+ * Verifies a Duration message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a Duration message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns Duration
+ */
+ public static fromObject(object: { [k: string]: any }): google.protobuf.Duration;
+
+ /**
+ * Creates a plain object from a Duration message. Also converts values to other types if specified.
+ * @param message Duration
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.protobuf.Duration, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this Duration to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for Duration
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a Timestamp. */
+ interface ITimestamp {
+
+ /** Timestamp seconds */
+ seconds?: (number|Long|string|null);
+
+ /** Timestamp nanos */
+ nanos?: (number|null);
+ }
+
+ /** Represents a Timestamp. */
+ class Timestamp implements ITimestamp {
+
+ /**
+ * Constructs a new Timestamp.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.protobuf.ITimestamp);
+
+ /** Timestamp seconds. */
+ public seconds: (number|Long|string);
+
+ /** Timestamp nanos. */
+ public nanos: number;
+
+ /**
+ * Creates a new Timestamp instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns Timestamp instance
+ */
+ public static create(properties?: google.protobuf.ITimestamp): google.protobuf.Timestamp;
+
+ /**
+ * Encodes the specified Timestamp message. Does not implicitly {@link google.protobuf.Timestamp.verify|verify} messages.
+ * @param message Timestamp message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.protobuf.ITimestamp, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified Timestamp message, length delimited. Does not implicitly {@link google.protobuf.Timestamp.verify|verify} messages.
+ * @param message Timestamp message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.protobuf.ITimestamp, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a Timestamp message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns Timestamp
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.Timestamp;
+
+ /**
+ * Decodes a Timestamp message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns Timestamp
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.Timestamp;
+
+ /**
+ * Verifies a Timestamp message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a Timestamp message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns Timestamp
+ */
+ public static fromObject(object: { [k: string]: any }): google.protobuf.Timestamp;
+
+ /**
+ * Creates a plain object from a Timestamp message. Also converts values to other types if specified.
+ * @param message Timestamp
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.protobuf.Timestamp, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this Timestamp to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for Timestamp
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of an Any. */
+ interface IAny {
+
+ /** Any type_url */
+ type_url?: (string|null);
+
+ /** Any value */
+ value?: (Uint8Array|string|null);
+ }
+
+ /** Represents an Any. */
+ class Any implements IAny {
+
+ /**
+ * Constructs a new Any.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.protobuf.IAny);
+
+ /** Any type_url. */
+ public type_url: string;
+
+ /** Any value. */
+ public value: (Uint8Array|string);
+
+ /**
+ * Creates a new Any instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns Any instance
+ */
+ public static create(properties?: google.protobuf.IAny): google.protobuf.Any;
+
+ /**
+ * Encodes the specified Any message. Does not implicitly {@link google.protobuf.Any.verify|verify} messages.
+ * @param message Any message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.protobuf.IAny, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified Any message, length delimited. Does not implicitly {@link google.protobuf.Any.verify|verify} messages.
+ * @param message Any message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.protobuf.IAny, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an Any message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns Any
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.Any;
+
+ /**
+ * Decodes an Any message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns Any
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.Any;
+
+ /**
+ * Verifies an Any message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates an Any message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns Any
+ */
+ public static fromObject(object: { [k: string]: any }): google.protobuf.Any;
+
+ /**
+ * Creates a plain object from an Any message. Also converts values to other types if specified.
+ * @param message Any
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.protobuf.Any, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this Any to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for Any
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of an Empty. */
+ interface IEmpty {
+ }
+
+ /** Represents an Empty. */
+ class Empty implements IEmpty {
+
+ /**
+ * Constructs a new Empty.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.protobuf.IEmpty);
+
+ /**
+ * Creates a new Empty instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns Empty instance
+ */
+ public static create(properties?: google.protobuf.IEmpty): google.protobuf.Empty;
+
+ /**
+ * Encodes the specified Empty message. Does not implicitly {@link google.protobuf.Empty.verify|verify} messages.
+ * @param message Empty message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.protobuf.IEmpty, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified Empty message, length delimited. Does not implicitly {@link google.protobuf.Empty.verify|verify} messages.
+ * @param message Empty message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.protobuf.IEmpty, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an Empty message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns Empty
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.Empty;
+
+ /**
+ * Decodes an Empty message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns Empty
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.Empty;
+
+ /**
+ * Verifies an Empty message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates an Empty message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns Empty
+ */
+ public static fromObject(object: { [k: string]: any }): google.protobuf.Empty;
+
+ /**
+ * Creates a plain object from an Empty message. Also converts values to other types if specified.
+ * @param message Empty
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.protobuf.Empty, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this Empty to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for Empty
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** 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;
+ }
+ }
+
+ /** Namespace longrunning. */
+ namespace longrunning {
+
+ /** Represents an Operations */
+ class Operations extends $protobuf.rpc.Service {
+
+ /**
+ * Constructs a new Operations service.
+ * @param rpcImpl RPC implementation
+ * @param [requestDelimited=false] Whether requests are length-delimited
+ * @param [responseDelimited=false] Whether responses are length-delimited
+ */
+ constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);
+
+ /**
+ * Creates new Operations service using the specified rpc implementation.
+ * @param rpcImpl RPC implementation
+ * @param [requestDelimited=false] Whether requests are length-delimited
+ * @param [responseDelimited=false] Whether responses are length-delimited
+ * @returns RPC service. Useful where requests and/or responses are streamed.
+ */
+ public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): Operations;
+
+ /**
+ * Calls ListOperations.
+ * @param request ListOperationsRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and ListOperationsResponse
+ */
+ public listOperations(request: google.longrunning.IListOperationsRequest, callback: google.longrunning.Operations.ListOperationsCallback): void;
+
+ /**
+ * Calls ListOperations.
+ * @param request ListOperationsRequest message or plain object
+ * @returns Promise
+ */
+ public listOperations(request: google.longrunning.IListOperationsRequest): Promise;
+
+ /**
+ * Calls GetOperation.
+ * @param request GetOperationRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and Operation
+ */
+ public getOperation(request: google.longrunning.IGetOperationRequest, callback: google.longrunning.Operations.GetOperationCallback): void;
+
+ /**
+ * Calls GetOperation.
+ * @param request GetOperationRequest message or plain object
+ * @returns Promise
+ */
+ public getOperation(request: google.longrunning.IGetOperationRequest): Promise;
+
+ /**
+ * Calls DeleteOperation.
+ * @param request DeleteOperationRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and Empty
+ */
+ public deleteOperation(request: google.longrunning.IDeleteOperationRequest, callback: google.longrunning.Operations.DeleteOperationCallback): void;
+
+ /**
+ * Calls DeleteOperation.
+ * @param request DeleteOperationRequest message or plain object
+ * @returns Promise
+ */
+ public deleteOperation(request: google.longrunning.IDeleteOperationRequest): Promise;
+
+ /**
+ * Calls CancelOperation.
+ * @param request CancelOperationRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and Empty
+ */
+ public cancelOperation(request: google.longrunning.ICancelOperationRequest, callback: google.longrunning.Operations.CancelOperationCallback): void;
+
+ /**
+ * Calls CancelOperation.
+ * @param request CancelOperationRequest message or plain object
+ * @returns Promise
+ */
+ public cancelOperation(request: google.longrunning.ICancelOperationRequest): Promise;
+
+ /**
+ * Calls WaitOperation.
+ * @param request WaitOperationRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and Operation
+ */
+ public waitOperation(request: google.longrunning.IWaitOperationRequest, callback: google.longrunning.Operations.WaitOperationCallback): void;
+
+ /**
+ * Calls WaitOperation.
+ * @param request WaitOperationRequest message or plain object
+ * @returns Promise
+ */
+ public waitOperation(request: google.longrunning.IWaitOperationRequest): Promise;
+ }
+
+ namespace Operations {
+
+ /**
+ * Callback as used by {@link google.longrunning.Operations|listOperations}.
+ * @param error Error, if any
+ * @param [response] ListOperationsResponse
+ */
+ type ListOperationsCallback = (error: (Error|null), response?: google.longrunning.ListOperationsResponse) => void;
+
+ /**
+ * Callback as used by {@link google.longrunning.Operations|getOperation}.
+ * @param error Error, if any
+ * @param [response] Operation
+ */
+ type GetOperationCallback = (error: (Error|null), response?: google.longrunning.Operation) => void;
+
+ /**
+ * Callback as used by {@link google.longrunning.Operations|deleteOperation}.
+ * @param error Error, if any
+ * @param [response] Empty
+ */
+ type DeleteOperationCallback = (error: (Error|null), response?: google.protobuf.Empty) => void;
+
+ /**
+ * Callback as used by {@link google.longrunning.Operations|cancelOperation}.
+ * @param error Error, if any
+ * @param [response] Empty
+ */
+ type CancelOperationCallback = (error: (Error|null), response?: google.protobuf.Empty) => void;
+
+ /**
+ * Callback as used by {@link google.longrunning.Operations|waitOperation}.
+ * @param error Error, if any
+ * @param [response] Operation
+ */
+ type WaitOperationCallback = (error: (Error|null), response?: google.longrunning.Operation) => void;
+ }
+
+ /** Properties of an Operation. */
+ interface IOperation {
+
+ /** Operation name */
+ name?: (string|null);
+
+ /** Operation metadata */
+ metadata?: (google.protobuf.IAny|null);
+
+ /** Operation done */
+ done?: (boolean|null);
+
+ /** Operation error */
+ error?: (google.rpc.IStatus|null);
+
+ /** Operation response */
+ response?: (google.protobuf.IAny|null);
+ }
+
+ /** Represents an Operation. */
+ class Operation implements IOperation {
+
+ /**
+ * Constructs a new Operation.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.longrunning.IOperation);
+
+ /** Operation name. */
+ public name: string;
+
+ /** Operation metadata. */
+ public metadata?: (google.protobuf.IAny|null);
+
+ /** Operation done. */
+ public done: boolean;
+
+ /** Operation error. */
+ public error?: (google.rpc.IStatus|null);
+
+ /** Operation response. */
+ public response?: (google.protobuf.IAny|null);
+
+ /** Operation result. */
+ public result?: ("error"|"response");
+
+ /**
+ * Creates a new Operation instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns Operation instance
+ */
+ public static create(properties?: google.longrunning.IOperation): google.longrunning.Operation;
+
+ /**
+ * Encodes the specified Operation message. Does not implicitly {@link google.longrunning.Operation.verify|verify} messages.
+ * @param message Operation message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.longrunning.IOperation, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified Operation message, length delimited. Does not implicitly {@link google.longrunning.Operation.verify|verify} messages.
+ * @param message Operation message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.longrunning.IOperation, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an Operation message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns Operation
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.longrunning.Operation;
+
+ /**
+ * Decodes an Operation message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns Operation
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.longrunning.Operation;
+
+ /**
+ * Verifies an Operation message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates an Operation message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns Operation
+ */
+ public static fromObject(object: { [k: string]: any }): google.longrunning.Operation;
+
+ /**
+ * Creates a plain object from an Operation message. Also converts values to other types if specified.
+ * @param message Operation
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.longrunning.Operation, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this Operation to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for Operation
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a GetOperationRequest. */
+ interface IGetOperationRequest {
+
+ /** GetOperationRequest name */
+ name?: (string|null);
+ }
+
+ /** Represents a GetOperationRequest. */
+ class GetOperationRequest implements IGetOperationRequest {
+
+ /**
+ * Constructs a new GetOperationRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.longrunning.IGetOperationRequest);
+
+ /** GetOperationRequest name. */
+ public name: string;
+
+ /**
+ * Creates a new GetOperationRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns GetOperationRequest instance
+ */
+ public static create(properties?: google.longrunning.IGetOperationRequest): google.longrunning.GetOperationRequest;
+
+ /**
+ * Encodes the specified GetOperationRequest message. Does not implicitly {@link google.longrunning.GetOperationRequest.verify|verify} messages.
+ * @param message GetOperationRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.longrunning.IGetOperationRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified GetOperationRequest message, length delimited. Does not implicitly {@link google.longrunning.GetOperationRequest.verify|verify} messages.
+ * @param message GetOperationRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.longrunning.IGetOperationRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a GetOperationRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns GetOperationRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.longrunning.GetOperationRequest;
+
+ /**
+ * Decodes a GetOperationRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns GetOperationRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.longrunning.GetOperationRequest;
+
+ /**
+ * Verifies a GetOperationRequest message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a GetOperationRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns GetOperationRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.longrunning.GetOperationRequest;
+
+ /**
+ * Creates a plain object from a GetOperationRequest message. Also converts values to other types if specified.
+ * @param message GetOperationRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.longrunning.GetOperationRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this GetOperationRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for GetOperationRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a ListOperationsRequest. */
+ interface IListOperationsRequest {
+
+ /** ListOperationsRequest name */
+ name?: (string|null);
+
+ /** ListOperationsRequest filter */
+ filter?: (string|null);
+
+ /** ListOperationsRequest pageSize */
+ pageSize?: (number|null);
+
+ /** ListOperationsRequest pageToken */
+ pageToken?: (string|null);
+ }
+
+ /** Represents a ListOperationsRequest. */
+ class ListOperationsRequest implements IListOperationsRequest {
+
+ /**
+ * Constructs a new ListOperationsRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.longrunning.IListOperationsRequest);
+
+ /** ListOperationsRequest name. */
+ public name: string;
+
+ /** ListOperationsRequest filter. */
+ public filter: string;
+
+ /** ListOperationsRequest pageSize. */
+ public pageSize: number;
+
+ /** ListOperationsRequest pageToken. */
+ public pageToken: string;
+
+ /**
+ * Creates a new ListOperationsRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ListOperationsRequest instance
+ */
+ public static create(properties?: google.longrunning.IListOperationsRequest): google.longrunning.ListOperationsRequest;
+
+ /**
+ * Encodes the specified ListOperationsRequest message. Does not implicitly {@link google.longrunning.ListOperationsRequest.verify|verify} messages.
+ * @param message ListOperationsRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.longrunning.IListOperationsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ListOperationsRequest message, length delimited. Does not implicitly {@link google.longrunning.ListOperationsRequest.verify|verify} messages.
+ * @param message ListOperationsRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.longrunning.IListOperationsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ListOperationsRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ListOperationsRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.longrunning.ListOperationsRequest;
+
+ /**
+ * Decodes a ListOperationsRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ListOperationsRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.longrunning.ListOperationsRequest;
+
+ /**
+ * Verifies a ListOperationsRequest message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a ListOperationsRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ListOperationsRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.longrunning.ListOperationsRequest;
+
+ /**
+ * Creates a plain object from a ListOperationsRequest message. Also converts values to other types if specified.
+ * @param message ListOperationsRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.longrunning.ListOperationsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ListOperationsRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ListOperationsRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a ListOperationsResponse. */
+ interface IListOperationsResponse {
+
+ /** ListOperationsResponse operations */
+ operations?: (google.longrunning.IOperation[]|null);
+
+ /** ListOperationsResponse nextPageToken */
+ nextPageToken?: (string|null);
+ }
+
+ /** Represents a ListOperationsResponse. */
+ class ListOperationsResponse implements IListOperationsResponse {
+
+ /**
+ * Constructs a new ListOperationsResponse.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.longrunning.IListOperationsResponse);
+
+ /** ListOperationsResponse operations. */
+ public operations: google.longrunning.IOperation[];
+
+ /** ListOperationsResponse nextPageToken. */
+ public nextPageToken: string;
+
+ /**
+ * Creates a new ListOperationsResponse instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ListOperationsResponse instance
+ */
+ public static create(properties?: google.longrunning.IListOperationsResponse): google.longrunning.ListOperationsResponse;
+
+ /**
+ * Encodes the specified ListOperationsResponse message. Does not implicitly {@link google.longrunning.ListOperationsResponse.verify|verify} messages.
+ * @param message ListOperationsResponse message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.longrunning.IListOperationsResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ListOperationsResponse message, length delimited. Does not implicitly {@link google.longrunning.ListOperationsResponse.verify|verify} messages.
+ * @param message ListOperationsResponse message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.longrunning.IListOperationsResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ListOperationsResponse message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ListOperationsResponse
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.longrunning.ListOperationsResponse;
+
+ /**
+ * Decodes a ListOperationsResponse message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ListOperationsResponse
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.longrunning.ListOperationsResponse;
+
+ /**
+ * Verifies a ListOperationsResponse message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a ListOperationsResponse message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ListOperationsResponse
+ */
+ public static fromObject(object: { [k: string]: any }): google.longrunning.ListOperationsResponse;
+
+ /**
+ * Creates a plain object from a ListOperationsResponse message. Also converts values to other types if specified.
+ * @param message ListOperationsResponse
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.longrunning.ListOperationsResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ListOperationsResponse to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ListOperationsResponse
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a CancelOperationRequest. */
+ interface ICancelOperationRequest {
+
+ /** CancelOperationRequest name */
+ name?: (string|null);
+ }
+
+ /** Represents a CancelOperationRequest. */
+ class CancelOperationRequest implements ICancelOperationRequest {
+
+ /**
+ * Constructs a new CancelOperationRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.longrunning.ICancelOperationRequest);
+
+ /** CancelOperationRequest name. */
+ public name: string;
+
+ /**
+ * Creates a new CancelOperationRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns CancelOperationRequest instance
+ */
+ public static create(properties?: google.longrunning.ICancelOperationRequest): google.longrunning.CancelOperationRequest;
+
+ /**
+ * Encodes the specified CancelOperationRequest message. Does not implicitly {@link google.longrunning.CancelOperationRequest.verify|verify} messages.
+ * @param message CancelOperationRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.longrunning.ICancelOperationRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified CancelOperationRequest message, length delimited. Does not implicitly {@link google.longrunning.CancelOperationRequest.verify|verify} messages.
+ * @param message CancelOperationRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.longrunning.ICancelOperationRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a CancelOperationRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns CancelOperationRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.longrunning.CancelOperationRequest;
+
+ /**
+ * Decodes a CancelOperationRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns CancelOperationRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.longrunning.CancelOperationRequest;
+
+ /**
+ * Verifies a CancelOperationRequest message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a CancelOperationRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns CancelOperationRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.longrunning.CancelOperationRequest;
+
+ /**
+ * Creates a plain object from a CancelOperationRequest message. Also converts values to other types if specified.
+ * @param message CancelOperationRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.longrunning.CancelOperationRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this CancelOperationRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for CancelOperationRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a DeleteOperationRequest. */
+ interface IDeleteOperationRequest {
+
+ /** DeleteOperationRequest name */
+ name?: (string|null);
+ }
+
+ /** Represents a DeleteOperationRequest. */
+ class DeleteOperationRequest implements IDeleteOperationRequest {
+
+ /**
+ * Constructs a new DeleteOperationRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.longrunning.IDeleteOperationRequest);
+
+ /** DeleteOperationRequest name. */
+ public name: string;
+
+ /**
+ * Creates a new DeleteOperationRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns DeleteOperationRequest instance
+ */
+ public static create(properties?: google.longrunning.IDeleteOperationRequest): google.longrunning.DeleteOperationRequest;
+
+ /**
+ * Encodes the specified DeleteOperationRequest message. Does not implicitly {@link google.longrunning.DeleteOperationRequest.verify|verify} messages.
+ * @param message DeleteOperationRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.longrunning.IDeleteOperationRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified DeleteOperationRequest message, length delimited. Does not implicitly {@link google.longrunning.DeleteOperationRequest.verify|verify} messages.
+ * @param message DeleteOperationRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.longrunning.IDeleteOperationRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a DeleteOperationRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns DeleteOperationRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.longrunning.DeleteOperationRequest;
+
+ /**
+ * Decodes a DeleteOperationRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns DeleteOperationRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.longrunning.DeleteOperationRequest;
+
+ /**
+ * Verifies a DeleteOperationRequest message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a DeleteOperationRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns DeleteOperationRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.longrunning.DeleteOperationRequest;
+
+ /**
+ * Creates a plain object from a DeleteOperationRequest message. Also converts values to other types if specified.
+ * @param message DeleteOperationRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.longrunning.DeleteOperationRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this DeleteOperationRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for DeleteOperationRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a WaitOperationRequest. */
+ interface IWaitOperationRequest {
+
+ /** WaitOperationRequest name */
+ name?: (string|null);
+
+ /** WaitOperationRequest timeout */
+ timeout?: (google.protobuf.IDuration|null);
+ }
+
+ /** Represents a WaitOperationRequest. */
+ class WaitOperationRequest implements IWaitOperationRequest {
+
+ /**
+ * Constructs a new WaitOperationRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.longrunning.IWaitOperationRequest);
+
+ /** WaitOperationRequest name. */
+ public name: string;
+
+ /** WaitOperationRequest timeout. */
+ public timeout?: (google.protobuf.IDuration|null);
+
+ /**
+ * Creates a new WaitOperationRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns WaitOperationRequest instance
+ */
+ public static create(properties?: google.longrunning.IWaitOperationRequest): google.longrunning.WaitOperationRequest;
+
+ /**
+ * Encodes the specified WaitOperationRequest message. Does not implicitly {@link google.longrunning.WaitOperationRequest.verify|verify} messages.
+ * @param message WaitOperationRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.longrunning.IWaitOperationRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified WaitOperationRequest message, length delimited. Does not implicitly {@link google.longrunning.WaitOperationRequest.verify|verify} messages.
+ * @param message WaitOperationRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.longrunning.IWaitOperationRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a WaitOperationRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns WaitOperationRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.longrunning.WaitOperationRequest;
+
+ /**
+ * Decodes a WaitOperationRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns WaitOperationRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.longrunning.WaitOperationRequest;
+
+ /**
+ * Verifies a WaitOperationRequest message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a WaitOperationRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns WaitOperationRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.longrunning.WaitOperationRequest;
+
+ /**
+ * Creates a plain object from a WaitOperationRequest message. Also converts values to other types if specified.
+ * @param message WaitOperationRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.longrunning.WaitOperationRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this WaitOperationRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for WaitOperationRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of an OperationInfo. */
+ interface IOperationInfo {
+
+ /** OperationInfo responseType */
+ responseType?: (string|null);
+
+ /** OperationInfo metadataType */
+ metadataType?: (string|null);
+ }
+
+ /** Represents an OperationInfo. */
+ class OperationInfo implements IOperationInfo {
+
+ /**
+ * Constructs a new OperationInfo.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.longrunning.IOperationInfo);
+
+ /** OperationInfo responseType. */
+ public responseType: string;
+
+ /** OperationInfo metadataType. */
+ public metadataType: string;
+
+ /**
+ * Creates a new OperationInfo instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns OperationInfo instance
+ */
+ public static create(properties?: google.longrunning.IOperationInfo): google.longrunning.OperationInfo;
+
+ /**
+ * Encodes the specified OperationInfo message. Does not implicitly {@link google.longrunning.OperationInfo.verify|verify} messages.
+ * @param message OperationInfo message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.longrunning.IOperationInfo, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified OperationInfo message, length delimited. Does not implicitly {@link google.longrunning.OperationInfo.verify|verify} messages.
+ * @param message OperationInfo message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.longrunning.IOperationInfo, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an OperationInfo message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns OperationInfo
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.longrunning.OperationInfo;
+
+ /**
+ * Decodes an OperationInfo message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns OperationInfo
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.longrunning.OperationInfo;
+
+ /**
+ * Verifies an OperationInfo message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates an OperationInfo message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns OperationInfo
+ */
+ public static fromObject(object: { [k: string]: any }): google.longrunning.OperationInfo;
+
+ /**
+ * Creates a plain object from an OperationInfo message. Also converts values to other types if specified.
+ * @param message OperationInfo
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.longrunning.OperationInfo, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this OperationInfo to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for OperationInfo
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+ }
+
+ /** Namespace rpc. */
+ namespace rpc {
+
+ /** Properties of a Status. */
+ interface IStatus {
+
+ /** Status code */
+ code?: (number|null);
+
+ /** Status message */
+ message?: (string|null);
+
+ /** Status details */
+ details?: (google.protobuf.IAny[]|null);
+ }
+
+ /** Represents a Status. */
+ class Status implements IStatus {
+
+ /**
+ * Constructs a new Status.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.rpc.IStatus);
+
+ /** Status code. */
+ public code: number;
+
+ /** Status message. */
+ public message: string;
+
+ /** Status details. */
+ public details: google.protobuf.IAny[];
+
+ /**
+ * Creates a new Status instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns Status instance
+ */
+ public static create(properties?: google.rpc.IStatus): google.rpc.Status;
+
+ /**
+ * Encodes the specified Status message. Does not implicitly {@link google.rpc.Status.verify|verify} messages.
+ * @param message Status message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.rpc.IStatus, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified Status message, length delimited. Does not implicitly {@link google.rpc.Status.verify|verify} messages.
+ * @param message Status message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.rpc.IStatus, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a Status message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns Status
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.rpc.Status;
+
+ /**
+ * Decodes a Status message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns Status
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.rpc.Status;
+
+ /**
+ * Verifies a Status message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a Status message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns Status
+ */
+ public static fromObject(object: { [k: string]: any }): google.rpc.Status;
+
+ /**
+ * Creates a plain object from a Status message. Also converts values to other types if specified.
+ * @param message Status
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.rpc.Status, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this Status to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for Status
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+ }
+}
diff --git a/packages/google-cloud-contactcenterinsights/protos/protos.js b/packages/google-cloud-contactcenterinsights/protos/protos.js
new file mode 100644
index 00000000000..4cd9d71c172
--- /dev/null
+++ b/packages/google-cloud-contactcenterinsights/protos/protos.js
@@ -0,0 +1,43331 @@
+// 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_contact_center_insights_protos || ($protobuf.roots._google_cloud_contact_center_insights_protos = {});
+
+ $root.google = (function() {
+
+ /**
+ * Namespace google.
+ * @exports google
+ * @namespace
+ */
+ var google = {};
+
+ google.cloud = (function() {
+
+ /**
+ * Namespace cloud.
+ * @memberof google
+ * @namespace
+ */
+ var cloud = {};
+
+ cloud.contactcenterinsights = (function() {
+
+ /**
+ * Namespace contactcenterinsights.
+ * @memberof google.cloud
+ * @namespace
+ */
+ var contactcenterinsights = {};
+
+ contactcenterinsights.v1 = (function() {
+
+ /**
+ * Namespace v1.
+ * @memberof google.cloud.contactcenterinsights
+ * @namespace
+ */
+ var v1 = {};
+
+ v1.ContactCenterInsights = (function() {
+
+ /**
+ * Constructs a new ContactCenterInsights service.
+ * @memberof google.cloud.contactcenterinsights.v1
+ * @classdesc Represents a ContactCenterInsights
+ * @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 ContactCenterInsights(rpcImpl, requestDelimited, responseDelimited) {
+ $protobuf.rpc.Service.call(this, rpcImpl, requestDelimited, responseDelimited);
+ }
+
+ (ContactCenterInsights.prototype = Object.create($protobuf.rpc.Service.prototype)).constructor = ContactCenterInsights;
+
+ /**
+ * Creates new ContactCenterInsights service using the specified rpc implementation.
+ * @function create
+ * @memberof google.cloud.contactcenterinsights.v1.ContactCenterInsights
+ * @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 {ContactCenterInsights} RPC service. Useful where requests and/or responses are streamed.
+ */
+ ContactCenterInsights.create = function create(rpcImpl, requestDelimited, responseDelimited) {
+ return new this(rpcImpl, requestDelimited, responseDelimited);
+ };
+
+ /**
+ * Callback as used by {@link google.cloud.contactcenterinsights.v1.ContactCenterInsights|createConversation}.
+ * @memberof google.cloud.contactcenterinsights.v1.ContactCenterInsights
+ * @typedef CreateConversationCallback
+ * @type {function}
+ * @param {Error|null} error Error, if any
+ * @param {google.cloud.contactcenterinsights.v1.Conversation} [response] Conversation
+ */
+
+ /**
+ * Calls CreateConversation.
+ * @function createConversation
+ * @memberof google.cloud.contactcenterinsights.v1.ContactCenterInsights
+ * @instance
+ * @param {google.cloud.contactcenterinsights.v1.ICreateConversationRequest} request CreateConversationRequest message or plain object
+ * @param {google.cloud.contactcenterinsights.v1.ContactCenterInsights.CreateConversationCallback} callback Node-style callback called with the error, if any, and Conversation
+ * @returns {undefined}
+ * @variation 1
+ */
+ Object.defineProperty(ContactCenterInsights.prototype.createConversation = function createConversation(request, callback) {
+ return this.rpcCall(createConversation, $root.google.cloud.contactcenterinsights.v1.CreateConversationRequest, $root.google.cloud.contactcenterinsights.v1.Conversation, request, callback);
+ }, "name", { value: "CreateConversation" });
+
+ /**
+ * Calls CreateConversation.
+ * @function createConversation
+ * @memberof google.cloud.contactcenterinsights.v1.ContactCenterInsights
+ * @instance
+ * @param {google.cloud.contactcenterinsights.v1.ICreateConversationRequest} request CreateConversationRequest message or plain object
+ * @returns {Promise} Promise
+ * @variation 2
+ */
+
+ /**
+ * Callback as used by {@link google.cloud.contactcenterinsights.v1.ContactCenterInsights|updateConversation}.
+ * @memberof google.cloud.contactcenterinsights.v1.ContactCenterInsights
+ * @typedef UpdateConversationCallback
+ * @type {function}
+ * @param {Error|null} error Error, if any
+ * @param {google.cloud.contactcenterinsights.v1.Conversation} [response] Conversation
+ */
+
+ /**
+ * Calls UpdateConversation.
+ * @function updateConversation
+ * @memberof google.cloud.contactcenterinsights.v1.ContactCenterInsights
+ * @instance
+ * @param {google.cloud.contactcenterinsights.v1.IUpdateConversationRequest} request UpdateConversationRequest message or plain object
+ * @param {google.cloud.contactcenterinsights.v1.ContactCenterInsights.UpdateConversationCallback} callback Node-style callback called with the error, if any, and Conversation
+ * @returns {undefined}
+ * @variation 1
+ */
+ Object.defineProperty(ContactCenterInsights.prototype.updateConversation = function updateConversation(request, callback) {
+ return this.rpcCall(updateConversation, $root.google.cloud.contactcenterinsights.v1.UpdateConversationRequest, $root.google.cloud.contactcenterinsights.v1.Conversation, request, callback);
+ }, "name", { value: "UpdateConversation" });
+
+ /**
+ * Calls UpdateConversation.
+ * @function updateConversation
+ * @memberof google.cloud.contactcenterinsights.v1.ContactCenterInsights
+ * @instance
+ * @param {google.cloud.contactcenterinsights.v1.IUpdateConversationRequest} request UpdateConversationRequest message or plain object
+ * @returns {Promise} Promise
+ * @variation 2
+ */
+
+ /**
+ * Callback as used by {@link google.cloud.contactcenterinsights.v1.ContactCenterInsights|getConversation}.
+ * @memberof google.cloud.contactcenterinsights.v1.ContactCenterInsights
+ * @typedef GetConversationCallback
+ * @type {function}
+ * @param {Error|null} error Error, if any
+ * @param {google.cloud.contactcenterinsights.v1.Conversation} [response] Conversation
+ */
+
+ /**
+ * Calls GetConversation.
+ * @function getConversation
+ * @memberof google.cloud.contactcenterinsights.v1.ContactCenterInsights
+ * @instance
+ * @param {google.cloud.contactcenterinsights.v1.IGetConversationRequest} request GetConversationRequest message or plain object
+ * @param {google.cloud.contactcenterinsights.v1.ContactCenterInsights.GetConversationCallback} callback Node-style callback called with the error, if any, and Conversation
+ * @returns {undefined}
+ * @variation 1
+ */
+ Object.defineProperty(ContactCenterInsights.prototype.getConversation = function getConversation(request, callback) {
+ return this.rpcCall(getConversation, $root.google.cloud.contactcenterinsights.v1.GetConversationRequest, $root.google.cloud.contactcenterinsights.v1.Conversation, request, callback);
+ }, "name", { value: "GetConversation" });
+
+ /**
+ * Calls GetConversation.
+ * @function getConversation
+ * @memberof google.cloud.contactcenterinsights.v1.ContactCenterInsights
+ * @instance
+ * @param {google.cloud.contactcenterinsights.v1.IGetConversationRequest} request GetConversationRequest message or plain object
+ * @returns {Promise} Promise
+ * @variation 2
+ */
+
+ /**
+ * Callback as used by {@link google.cloud.contactcenterinsights.v1.ContactCenterInsights|listConversations}.
+ * @memberof google.cloud.contactcenterinsights.v1.ContactCenterInsights
+ * @typedef ListConversationsCallback
+ * @type {function}
+ * @param {Error|null} error Error, if any
+ * @param {google.cloud.contactcenterinsights.v1.ListConversationsResponse} [response] ListConversationsResponse
+ */
+
+ /**
+ * Calls ListConversations.
+ * @function listConversations
+ * @memberof google.cloud.contactcenterinsights.v1.ContactCenterInsights
+ * @instance
+ * @param {google.cloud.contactcenterinsights.v1.IListConversationsRequest} request ListConversationsRequest message or plain object
+ * @param {google.cloud.contactcenterinsights.v1.ContactCenterInsights.ListConversationsCallback} callback Node-style callback called with the error, if any, and ListConversationsResponse
+ * @returns {undefined}
+ * @variation 1
+ */
+ Object.defineProperty(ContactCenterInsights.prototype.listConversations = function listConversations(request, callback) {
+ return this.rpcCall(listConversations, $root.google.cloud.contactcenterinsights.v1.ListConversationsRequest, $root.google.cloud.contactcenterinsights.v1.ListConversationsResponse, request, callback);
+ }, "name", { value: "ListConversations" });
+
+ /**
+ * Calls ListConversations.
+ * @function listConversations
+ * @memberof google.cloud.contactcenterinsights.v1.ContactCenterInsights
+ * @instance
+ * @param {google.cloud.contactcenterinsights.v1.IListConversationsRequest} request ListConversationsRequest message or plain object
+ * @returns {Promise} Promise
+ * @variation 2
+ */
+
+ /**
+ * Callback as used by {@link google.cloud.contactcenterinsights.v1.ContactCenterInsights|deleteConversation}.
+ * @memberof google.cloud.contactcenterinsights.v1.ContactCenterInsights
+ * @typedef DeleteConversationCallback
+ * @type {function}
+ * @param {Error|null} error Error, if any
+ * @param {google.protobuf.Empty} [response] Empty
+ */
+
+ /**
+ * Calls DeleteConversation.
+ * @function deleteConversation
+ * @memberof google.cloud.contactcenterinsights.v1.ContactCenterInsights
+ * @instance
+ * @param {google.cloud.contactcenterinsights.v1.IDeleteConversationRequest} request DeleteConversationRequest message or plain object
+ * @param {google.cloud.contactcenterinsights.v1.ContactCenterInsights.DeleteConversationCallback} callback Node-style callback called with the error, if any, and Empty
+ * @returns {undefined}
+ * @variation 1
+ */
+ Object.defineProperty(ContactCenterInsights.prototype.deleteConversation = function deleteConversation(request, callback) {
+ return this.rpcCall(deleteConversation, $root.google.cloud.contactcenterinsights.v1.DeleteConversationRequest, $root.google.protobuf.Empty, request, callback);
+ }, "name", { value: "DeleteConversation" });
+
+ /**
+ * Calls DeleteConversation.
+ * @function deleteConversation
+ * @memberof google.cloud.contactcenterinsights.v1.ContactCenterInsights
+ * @instance
+ * @param {google.cloud.contactcenterinsights.v1.IDeleteConversationRequest} request DeleteConversationRequest message or plain object
+ * @returns {Promise} Promise
+ * @variation 2
+ */
+
+ /**
+ * Callback as used by {@link google.cloud.contactcenterinsights.v1.ContactCenterInsights|createAnalysis}.
+ * @memberof google.cloud.contactcenterinsights.v1.ContactCenterInsights
+ * @typedef CreateAnalysisCallback
+ * @type {function}
+ * @param {Error|null} error Error, if any
+ * @param {google.longrunning.Operation} [response] Operation
+ */
+
+ /**
+ * Calls CreateAnalysis.
+ * @function createAnalysis
+ * @memberof google.cloud.contactcenterinsights.v1.ContactCenterInsights
+ * @instance
+ * @param {google.cloud.contactcenterinsights.v1.ICreateAnalysisRequest} request CreateAnalysisRequest message or plain object
+ * @param {google.cloud.contactcenterinsights.v1.ContactCenterInsights.CreateAnalysisCallback} callback Node-style callback called with the error, if any, and Operation
+ * @returns {undefined}
+ * @variation 1
+ */
+ Object.defineProperty(ContactCenterInsights.prototype.createAnalysis = function createAnalysis(request, callback) {
+ return this.rpcCall(createAnalysis, $root.google.cloud.contactcenterinsights.v1.CreateAnalysisRequest, $root.google.longrunning.Operation, request, callback);
+ }, "name", { value: "CreateAnalysis" });
+
+ /**
+ * Calls CreateAnalysis.
+ * @function createAnalysis
+ * @memberof google.cloud.contactcenterinsights.v1.ContactCenterInsights
+ * @instance
+ * @param {google.cloud.contactcenterinsights.v1.ICreateAnalysisRequest} request CreateAnalysisRequest message or plain object
+ * @returns {Promise} Promise
+ * @variation 2
+ */
+
+ /**
+ * Callback as used by {@link google.cloud.contactcenterinsights.v1.ContactCenterInsights|getAnalysis}.
+ * @memberof google.cloud.contactcenterinsights.v1.ContactCenterInsights
+ * @typedef GetAnalysisCallback
+ * @type {function}
+ * @param {Error|null} error Error, if any
+ * @param {google.cloud.contactcenterinsights.v1.Analysis} [response] Analysis
+ */
+
+ /**
+ * Calls GetAnalysis.
+ * @function getAnalysis
+ * @memberof google.cloud.contactcenterinsights.v1.ContactCenterInsights
+ * @instance
+ * @param {google.cloud.contactcenterinsights.v1.IGetAnalysisRequest} request GetAnalysisRequest message or plain object
+ * @param {google.cloud.contactcenterinsights.v1.ContactCenterInsights.GetAnalysisCallback} callback Node-style callback called with the error, if any, and Analysis
+ * @returns {undefined}
+ * @variation 1
+ */
+ Object.defineProperty(ContactCenterInsights.prototype.getAnalysis = function getAnalysis(request, callback) {
+ return this.rpcCall(getAnalysis, $root.google.cloud.contactcenterinsights.v1.GetAnalysisRequest, $root.google.cloud.contactcenterinsights.v1.Analysis, request, callback);
+ }, "name", { value: "GetAnalysis" });
+
+ /**
+ * Calls GetAnalysis.
+ * @function getAnalysis
+ * @memberof google.cloud.contactcenterinsights.v1.ContactCenterInsights
+ * @instance
+ * @param {google.cloud.contactcenterinsights.v1.IGetAnalysisRequest} request GetAnalysisRequest message or plain object
+ * @returns {Promise} Promise
+ * @variation 2
+ */
+
+ /**
+ * Callback as used by {@link google.cloud.contactcenterinsights.v1.ContactCenterInsights|listAnalyses}.
+ * @memberof google.cloud.contactcenterinsights.v1.ContactCenterInsights
+ * @typedef ListAnalysesCallback
+ * @type {function}
+ * @param {Error|null} error Error, if any
+ * @param {google.cloud.contactcenterinsights.v1.ListAnalysesResponse} [response] ListAnalysesResponse
+ */
+
+ /**
+ * Calls ListAnalyses.
+ * @function listAnalyses
+ * @memberof google.cloud.contactcenterinsights.v1.ContactCenterInsights
+ * @instance
+ * @param {google.cloud.contactcenterinsights.v1.IListAnalysesRequest} request ListAnalysesRequest message or plain object
+ * @param {google.cloud.contactcenterinsights.v1.ContactCenterInsights.ListAnalysesCallback} callback Node-style callback called with the error, if any, and ListAnalysesResponse
+ * @returns {undefined}
+ * @variation 1
+ */
+ Object.defineProperty(ContactCenterInsights.prototype.listAnalyses = function listAnalyses(request, callback) {
+ return this.rpcCall(listAnalyses, $root.google.cloud.contactcenterinsights.v1.ListAnalysesRequest, $root.google.cloud.contactcenterinsights.v1.ListAnalysesResponse, request, callback);
+ }, "name", { value: "ListAnalyses" });
+
+ /**
+ * Calls ListAnalyses.
+ * @function listAnalyses
+ * @memberof google.cloud.contactcenterinsights.v1.ContactCenterInsights
+ * @instance
+ * @param {google.cloud.contactcenterinsights.v1.IListAnalysesRequest} request ListAnalysesRequest message or plain object
+ * @returns {Promise} Promise
+ * @variation 2
+ */
+
+ /**
+ * Callback as used by {@link google.cloud.contactcenterinsights.v1.ContactCenterInsights|deleteAnalysis}.
+ * @memberof google.cloud.contactcenterinsights.v1.ContactCenterInsights
+ * @typedef DeleteAnalysisCallback
+ * @type {function}
+ * @param {Error|null} error Error, if any
+ * @param {google.protobuf.Empty} [response] Empty
+ */
+
+ /**
+ * Calls DeleteAnalysis.
+ * @function deleteAnalysis
+ * @memberof google.cloud.contactcenterinsights.v1.ContactCenterInsights
+ * @instance
+ * @param {google.cloud.contactcenterinsights.v1.IDeleteAnalysisRequest} request DeleteAnalysisRequest message or plain object
+ * @param {google.cloud.contactcenterinsights.v1.ContactCenterInsights.DeleteAnalysisCallback} callback Node-style callback called with the error, if any, and Empty
+ * @returns {undefined}
+ * @variation 1
+ */
+ Object.defineProperty(ContactCenterInsights.prototype.deleteAnalysis = function deleteAnalysis(request, callback) {
+ return this.rpcCall(deleteAnalysis, $root.google.cloud.contactcenterinsights.v1.DeleteAnalysisRequest, $root.google.protobuf.Empty, request, callback);
+ }, "name", { value: "DeleteAnalysis" });
+
+ /**
+ * Calls DeleteAnalysis.
+ * @function deleteAnalysis
+ * @memberof google.cloud.contactcenterinsights.v1.ContactCenterInsights
+ * @instance
+ * @param {google.cloud.contactcenterinsights.v1.IDeleteAnalysisRequest} request DeleteAnalysisRequest message or plain object
+ * @returns {Promise} Promise
+ * @variation 2
+ */
+
+ /**
+ * Callback as used by {@link google.cloud.contactcenterinsights.v1.ContactCenterInsights|exportInsightsData}.
+ * @memberof google.cloud.contactcenterinsights.v1.ContactCenterInsights
+ * @typedef ExportInsightsDataCallback
+ * @type {function}
+ * @param {Error|null} error Error, if any
+ * @param {google.longrunning.Operation} [response] Operation
+ */
+
+ /**
+ * Calls ExportInsightsData.
+ * @function exportInsightsData
+ * @memberof google.cloud.contactcenterinsights.v1.ContactCenterInsights
+ * @instance
+ * @param {google.cloud.contactcenterinsights.v1.IExportInsightsDataRequest} request ExportInsightsDataRequest message or plain object
+ * @param {google.cloud.contactcenterinsights.v1.ContactCenterInsights.ExportInsightsDataCallback} callback Node-style callback called with the error, if any, and Operation
+ * @returns {undefined}
+ * @variation 1
+ */
+ Object.defineProperty(ContactCenterInsights.prototype.exportInsightsData = function exportInsightsData(request, callback) {
+ return this.rpcCall(exportInsightsData, $root.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest, $root.google.longrunning.Operation, request, callback);
+ }, "name", { value: "ExportInsightsData" });
+
+ /**
+ * Calls ExportInsightsData.
+ * @function exportInsightsData
+ * @memberof google.cloud.contactcenterinsights.v1.ContactCenterInsights
+ * @instance
+ * @param {google.cloud.contactcenterinsights.v1.IExportInsightsDataRequest} request ExportInsightsDataRequest message or plain object
+ * @returns {Promise} Promise
+ * @variation 2
+ */
+
+ /**
+ * Callback as used by {@link google.cloud.contactcenterinsights.v1.ContactCenterInsights|createIssueModel}.
+ * @memberof google.cloud.contactcenterinsights.v1.ContactCenterInsights
+ * @typedef CreateIssueModelCallback
+ * @type {function}
+ * @param {Error|null} error Error, if any
+ * @param {google.longrunning.Operation} [response] Operation
+ */
+
+ /**
+ * Calls CreateIssueModel.
+ * @function createIssueModel
+ * @memberof google.cloud.contactcenterinsights.v1.ContactCenterInsights
+ * @instance
+ * @param {google.cloud.contactcenterinsights.v1.ICreateIssueModelRequest} request CreateIssueModelRequest message or plain object
+ * @param {google.cloud.contactcenterinsights.v1.ContactCenterInsights.CreateIssueModelCallback} callback Node-style callback called with the error, if any, and Operation
+ * @returns {undefined}
+ * @variation 1
+ */
+ Object.defineProperty(ContactCenterInsights.prototype.createIssueModel = function createIssueModel(request, callback) {
+ return this.rpcCall(createIssueModel, $root.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest, $root.google.longrunning.Operation, request, callback);
+ }, "name", { value: "CreateIssueModel" });
+
+ /**
+ * Calls CreateIssueModel.
+ * @function createIssueModel
+ * @memberof google.cloud.contactcenterinsights.v1.ContactCenterInsights
+ * @instance
+ * @param {google.cloud.contactcenterinsights.v1.ICreateIssueModelRequest} request CreateIssueModelRequest message or plain object
+ * @returns {Promise} Promise
+ * @variation 2
+ */
+
+ /**
+ * Callback as used by {@link google.cloud.contactcenterinsights.v1.ContactCenterInsights|updateIssueModel}.
+ * @memberof google.cloud.contactcenterinsights.v1.ContactCenterInsights
+ * @typedef UpdateIssueModelCallback
+ * @type {function}
+ * @param {Error|null} error Error, if any
+ * @param {google.cloud.contactcenterinsights.v1.IssueModel} [response] IssueModel
+ */
+
+ /**
+ * Calls UpdateIssueModel.
+ * @function updateIssueModel
+ * @memberof google.cloud.contactcenterinsights.v1.ContactCenterInsights
+ * @instance
+ * @param {google.cloud.contactcenterinsights.v1.IUpdateIssueModelRequest} request UpdateIssueModelRequest message or plain object
+ * @param {google.cloud.contactcenterinsights.v1.ContactCenterInsights.UpdateIssueModelCallback} callback Node-style callback called with the error, if any, and IssueModel
+ * @returns {undefined}
+ * @variation 1
+ */
+ Object.defineProperty(ContactCenterInsights.prototype.updateIssueModel = function updateIssueModel(request, callback) {
+ return this.rpcCall(updateIssueModel, $root.google.cloud.contactcenterinsights.v1.UpdateIssueModelRequest, $root.google.cloud.contactcenterinsights.v1.IssueModel, request, callback);
+ }, "name", { value: "UpdateIssueModel" });
+
+ /**
+ * Calls UpdateIssueModel.
+ * @function updateIssueModel
+ * @memberof google.cloud.contactcenterinsights.v1.ContactCenterInsights
+ * @instance
+ * @param {google.cloud.contactcenterinsights.v1.IUpdateIssueModelRequest} request UpdateIssueModelRequest message or plain object
+ * @returns {Promise} Promise
+ * @variation 2
+ */
+
+ /**
+ * Callback as used by {@link google.cloud.contactcenterinsights.v1.ContactCenterInsights|getIssueModel}.
+ * @memberof google.cloud.contactcenterinsights.v1.ContactCenterInsights
+ * @typedef GetIssueModelCallback
+ * @type {function}
+ * @param {Error|null} error Error, if any
+ * @param {google.cloud.contactcenterinsights.v1.IssueModel} [response] IssueModel
+ */
+
+ /**
+ * Calls GetIssueModel.
+ * @function getIssueModel
+ * @memberof google.cloud.contactcenterinsights.v1.ContactCenterInsights
+ * @instance
+ * @param {google.cloud.contactcenterinsights.v1.IGetIssueModelRequest} request GetIssueModelRequest message or plain object
+ * @param {google.cloud.contactcenterinsights.v1.ContactCenterInsights.GetIssueModelCallback} callback Node-style callback called with the error, if any, and IssueModel
+ * @returns {undefined}
+ * @variation 1
+ */
+ Object.defineProperty(ContactCenterInsights.prototype.getIssueModel = function getIssueModel(request, callback) {
+ return this.rpcCall(getIssueModel, $root.google.cloud.contactcenterinsights.v1.GetIssueModelRequest, $root.google.cloud.contactcenterinsights.v1.IssueModel, request, callback);
+ }, "name", { value: "GetIssueModel" });
+
+ /**
+ * Calls GetIssueModel.
+ * @function getIssueModel
+ * @memberof google.cloud.contactcenterinsights.v1.ContactCenterInsights
+ * @instance
+ * @param {google.cloud.contactcenterinsights.v1.IGetIssueModelRequest} request GetIssueModelRequest message or plain object
+ * @returns {Promise} Promise
+ * @variation 2
+ */
+
+ /**
+ * Callback as used by {@link google.cloud.contactcenterinsights.v1.ContactCenterInsights|listIssueModels}.
+ * @memberof google.cloud.contactcenterinsights.v1.ContactCenterInsights
+ * @typedef ListIssueModelsCallback
+ * @type {function}
+ * @param {Error|null} error Error, if any
+ * @param {google.cloud.contactcenterinsights.v1.ListIssueModelsResponse} [response] ListIssueModelsResponse
+ */
+
+ /**
+ * Calls ListIssueModels.
+ * @function listIssueModels
+ * @memberof google.cloud.contactcenterinsights.v1.ContactCenterInsights
+ * @instance
+ * @param {google.cloud.contactcenterinsights.v1.IListIssueModelsRequest} request ListIssueModelsRequest message or plain object
+ * @param {google.cloud.contactcenterinsights.v1.ContactCenterInsights.ListIssueModelsCallback} callback Node-style callback called with the error, if any, and ListIssueModelsResponse
+ * @returns {undefined}
+ * @variation 1
+ */
+ Object.defineProperty(ContactCenterInsights.prototype.listIssueModels = function listIssueModels(request, callback) {
+ return this.rpcCall(listIssueModels, $root.google.cloud.contactcenterinsights.v1.ListIssueModelsRequest, $root.google.cloud.contactcenterinsights.v1.ListIssueModelsResponse, request, callback);
+ }, "name", { value: "ListIssueModels" });
+
+ /**
+ * Calls ListIssueModels.
+ * @function listIssueModels
+ * @memberof google.cloud.contactcenterinsights.v1.ContactCenterInsights
+ * @instance
+ * @param {google.cloud.contactcenterinsights.v1.IListIssueModelsRequest} request ListIssueModelsRequest message or plain object
+ * @returns {Promise} Promise
+ * @variation 2
+ */
+
+ /**
+ * Callback as used by {@link google.cloud.contactcenterinsights.v1.ContactCenterInsights|deleteIssueModel}.
+ * @memberof google.cloud.contactcenterinsights.v1.ContactCenterInsights
+ * @typedef DeleteIssueModelCallback
+ * @type {function}
+ * @param {Error|null} error Error, if any
+ * @param {google.longrunning.Operation} [response] Operation
+ */
+
+ /**
+ * Calls DeleteIssueModel.
+ * @function deleteIssueModel
+ * @memberof google.cloud.contactcenterinsights.v1.ContactCenterInsights
+ * @instance
+ * @param {google.cloud.contactcenterinsights.v1.IDeleteIssueModelRequest} request DeleteIssueModelRequest message or plain object
+ * @param {google.cloud.contactcenterinsights.v1.ContactCenterInsights.DeleteIssueModelCallback} callback Node-style callback called with the error, if any, and Operation
+ * @returns {undefined}
+ * @variation 1
+ */
+ Object.defineProperty(ContactCenterInsights.prototype.deleteIssueModel = function deleteIssueModel(request, callback) {
+ return this.rpcCall(deleteIssueModel, $root.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest, $root.google.longrunning.Operation, request, callback);
+ }, "name", { value: "DeleteIssueModel" });
+
+ /**
+ * Calls DeleteIssueModel.
+ * @function deleteIssueModel
+ * @memberof google.cloud.contactcenterinsights.v1.ContactCenterInsights
+ * @instance
+ * @param {google.cloud.contactcenterinsights.v1.IDeleteIssueModelRequest} request DeleteIssueModelRequest message or plain object
+ * @returns {Promise} Promise
+ * @variation 2
+ */
+
+ /**
+ * Callback as used by {@link google.cloud.contactcenterinsights.v1.ContactCenterInsights|deployIssueModel}.
+ * @memberof google.cloud.contactcenterinsights.v1.ContactCenterInsights
+ * @typedef DeployIssueModelCallback
+ * @type {function}
+ * @param {Error|null} error Error, if any
+ * @param {google.longrunning.Operation} [response] Operation
+ */
+
+ /**
+ * Calls DeployIssueModel.
+ * @function deployIssueModel
+ * @memberof google.cloud.contactcenterinsights.v1.ContactCenterInsights
+ * @instance
+ * @param {google.cloud.contactcenterinsights.v1.IDeployIssueModelRequest} request DeployIssueModelRequest message or plain object
+ * @param {google.cloud.contactcenterinsights.v1.ContactCenterInsights.DeployIssueModelCallback} callback Node-style callback called with the error, if any, and Operation
+ * @returns {undefined}
+ * @variation 1
+ */
+ Object.defineProperty(ContactCenterInsights.prototype.deployIssueModel = function deployIssueModel(request, callback) {
+ return this.rpcCall(deployIssueModel, $root.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest, $root.google.longrunning.Operation, request, callback);
+ }, "name", { value: "DeployIssueModel" });
+
+ /**
+ * Calls DeployIssueModel.
+ * @function deployIssueModel
+ * @memberof google.cloud.contactcenterinsights.v1.ContactCenterInsights
+ * @instance
+ * @param {google.cloud.contactcenterinsights.v1.IDeployIssueModelRequest} request DeployIssueModelRequest message or plain object
+ * @returns {Promise} Promise
+ * @variation 2
+ */
+
+ /**
+ * Callback as used by {@link google.cloud.contactcenterinsights.v1.ContactCenterInsights|undeployIssueModel}.
+ * @memberof google.cloud.contactcenterinsights.v1.ContactCenterInsights
+ * @typedef UndeployIssueModelCallback
+ * @type {function}
+ * @param {Error|null} error Error, if any
+ * @param {google.longrunning.Operation} [response] Operation
+ */
+
+ /**
+ * Calls UndeployIssueModel.
+ * @function undeployIssueModel
+ * @memberof google.cloud.contactcenterinsights.v1.ContactCenterInsights
+ * @instance
+ * @param {google.cloud.contactcenterinsights.v1.IUndeployIssueModelRequest} request UndeployIssueModelRequest message or plain object
+ * @param {google.cloud.contactcenterinsights.v1.ContactCenterInsights.UndeployIssueModelCallback} callback Node-style callback called with the error, if any, and Operation
+ * @returns {undefined}
+ * @variation 1
+ */
+ Object.defineProperty(ContactCenterInsights.prototype.undeployIssueModel = function undeployIssueModel(request, callback) {
+ return this.rpcCall(undeployIssueModel, $root.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest, $root.google.longrunning.Operation, request, callback);
+ }, "name", { value: "UndeployIssueModel" });
+
+ /**
+ * Calls UndeployIssueModel.
+ * @function undeployIssueModel
+ * @memberof google.cloud.contactcenterinsights.v1.ContactCenterInsights
+ * @instance
+ * @param {google.cloud.contactcenterinsights.v1.IUndeployIssueModelRequest} request UndeployIssueModelRequest message or plain object
+ * @returns {Promise} Promise
+ * @variation 2
+ */
+
+ /**
+ * Callback as used by {@link google.cloud.contactcenterinsights.v1.ContactCenterInsights|getIssue}.
+ * @memberof google.cloud.contactcenterinsights.v1.ContactCenterInsights
+ * @typedef GetIssueCallback
+ * @type {function}
+ * @param {Error|null} error Error, if any
+ * @param {google.cloud.contactcenterinsights.v1.Issue} [response] Issue
+ */
+
+ /**
+ * Calls GetIssue.
+ * @function getIssue
+ * @memberof google.cloud.contactcenterinsights.v1.ContactCenterInsights
+ * @instance
+ * @param {google.cloud.contactcenterinsights.v1.IGetIssueRequest} request GetIssueRequest message or plain object
+ * @param {google.cloud.contactcenterinsights.v1.ContactCenterInsights.GetIssueCallback} callback Node-style callback called with the error, if any, and Issue
+ * @returns {undefined}
+ * @variation 1
+ */
+ Object.defineProperty(ContactCenterInsights.prototype.getIssue = function getIssue(request, callback) {
+ return this.rpcCall(getIssue, $root.google.cloud.contactcenterinsights.v1.GetIssueRequest, $root.google.cloud.contactcenterinsights.v1.Issue, request, callback);
+ }, "name", { value: "GetIssue" });
+
+ /**
+ * Calls GetIssue.
+ * @function getIssue
+ * @memberof google.cloud.contactcenterinsights.v1.ContactCenterInsights
+ * @instance
+ * @param {google.cloud.contactcenterinsights.v1.IGetIssueRequest} request GetIssueRequest message or plain object
+ * @returns {Promise} Promise
+ * @variation 2
+ */
+
+ /**
+ * Callback as used by {@link google.cloud.contactcenterinsights.v1.ContactCenterInsights|listIssues}.
+ * @memberof google.cloud.contactcenterinsights.v1.ContactCenterInsights
+ * @typedef ListIssuesCallback
+ * @type {function}
+ * @param {Error|null} error Error, if any
+ * @param {google.cloud.contactcenterinsights.v1.ListIssuesResponse} [response] ListIssuesResponse
+ */
+
+ /**
+ * Calls ListIssues.
+ * @function listIssues
+ * @memberof google.cloud.contactcenterinsights.v1.ContactCenterInsights
+ * @instance
+ * @param {google.cloud.contactcenterinsights.v1.IListIssuesRequest} request ListIssuesRequest message or plain object
+ * @param {google.cloud.contactcenterinsights.v1.ContactCenterInsights.ListIssuesCallback} callback Node-style callback called with the error, if any, and ListIssuesResponse
+ * @returns {undefined}
+ * @variation 1
+ */
+ Object.defineProperty(ContactCenterInsights.prototype.listIssues = function listIssues(request, callback) {
+ return this.rpcCall(listIssues, $root.google.cloud.contactcenterinsights.v1.ListIssuesRequest, $root.google.cloud.contactcenterinsights.v1.ListIssuesResponse, request, callback);
+ }, "name", { value: "ListIssues" });
+
+ /**
+ * Calls ListIssues.
+ * @function listIssues
+ * @memberof google.cloud.contactcenterinsights.v1.ContactCenterInsights
+ * @instance
+ * @param {google.cloud.contactcenterinsights.v1.IListIssuesRequest} request ListIssuesRequest message or plain object
+ * @returns {Promise} Promise
+ * @variation 2
+ */
+
+ /**
+ * Callback as used by {@link google.cloud.contactcenterinsights.v1.ContactCenterInsights|updateIssue}.
+ * @memberof google.cloud.contactcenterinsights.v1.ContactCenterInsights
+ * @typedef UpdateIssueCallback
+ * @type {function}
+ * @param {Error|null} error Error, if any
+ * @param {google.cloud.contactcenterinsights.v1.Issue} [response] Issue
+ */
+
+ /**
+ * Calls UpdateIssue.
+ * @function updateIssue
+ * @memberof google.cloud.contactcenterinsights.v1.ContactCenterInsights
+ * @instance
+ * @param {google.cloud.contactcenterinsights.v1.IUpdateIssueRequest} request UpdateIssueRequest message or plain object
+ * @param {google.cloud.contactcenterinsights.v1.ContactCenterInsights.UpdateIssueCallback} callback Node-style callback called with the error, if any, and Issue
+ * @returns {undefined}
+ * @variation 1
+ */
+ Object.defineProperty(ContactCenterInsights.prototype.updateIssue = function updateIssue(request, callback) {
+ return this.rpcCall(updateIssue, $root.google.cloud.contactcenterinsights.v1.UpdateIssueRequest, $root.google.cloud.contactcenterinsights.v1.Issue, request, callback);
+ }, "name", { value: "UpdateIssue" });
+
+ /**
+ * Calls UpdateIssue.
+ * @function updateIssue
+ * @memberof google.cloud.contactcenterinsights.v1.ContactCenterInsights
+ * @instance
+ * @param {google.cloud.contactcenterinsights.v1.IUpdateIssueRequest} request UpdateIssueRequest message or plain object
+ * @returns {Promise} Promise
+ * @variation 2
+ */
+
+ /**
+ * Callback as used by {@link google.cloud.contactcenterinsights.v1.ContactCenterInsights|calculateIssueModelStats}.
+ * @memberof google.cloud.contactcenterinsights.v1.ContactCenterInsights
+ * @typedef CalculateIssueModelStatsCallback
+ * @type {function}
+ * @param {Error|null} error Error, if any
+ * @param {google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsResponse} [response] CalculateIssueModelStatsResponse
+ */
+
+ /**
+ * Calls CalculateIssueModelStats.
+ * @function calculateIssueModelStats
+ * @memberof google.cloud.contactcenterinsights.v1.ContactCenterInsights
+ * @instance
+ * @param {google.cloud.contactcenterinsights.v1.ICalculateIssueModelStatsRequest} request CalculateIssueModelStatsRequest message or plain object
+ * @param {google.cloud.contactcenterinsights.v1.ContactCenterInsights.CalculateIssueModelStatsCallback} callback Node-style callback called with the error, if any, and CalculateIssueModelStatsResponse
+ * @returns {undefined}
+ * @variation 1
+ */
+ Object.defineProperty(ContactCenterInsights.prototype.calculateIssueModelStats = function calculateIssueModelStats(request, callback) {
+ return this.rpcCall(calculateIssueModelStats, $root.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsRequest, $root.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsResponse, request, callback);
+ }, "name", { value: "CalculateIssueModelStats" });
+
+ /**
+ * Calls CalculateIssueModelStats.
+ * @function calculateIssueModelStats
+ * @memberof google.cloud.contactcenterinsights.v1.ContactCenterInsights
+ * @instance
+ * @param {google.cloud.contactcenterinsights.v1.ICalculateIssueModelStatsRequest} request CalculateIssueModelStatsRequest message or plain object
+ * @returns {Promise} Promise
+ * @variation 2
+ */
+
+ /**
+ * Callback as used by {@link google.cloud.contactcenterinsights.v1.ContactCenterInsights|createPhraseMatcher}.
+ * @memberof google.cloud.contactcenterinsights.v1.ContactCenterInsights
+ * @typedef CreatePhraseMatcherCallback
+ * @type {function}
+ * @param {Error|null} error Error, if any
+ * @param {google.cloud.contactcenterinsights.v1.PhraseMatcher} [response] PhraseMatcher
+ */
+
+ /**
+ * Calls CreatePhraseMatcher.
+ * @function createPhraseMatcher
+ * @memberof google.cloud.contactcenterinsights.v1.ContactCenterInsights
+ * @instance
+ * @param {google.cloud.contactcenterinsights.v1.ICreatePhraseMatcherRequest} request CreatePhraseMatcherRequest message or plain object
+ * @param {google.cloud.contactcenterinsights.v1.ContactCenterInsights.CreatePhraseMatcherCallback} callback Node-style callback called with the error, if any, and PhraseMatcher
+ * @returns {undefined}
+ * @variation 1
+ */
+ Object.defineProperty(ContactCenterInsights.prototype.createPhraseMatcher = function createPhraseMatcher(request, callback) {
+ return this.rpcCall(createPhraseMatcher, $root.google.cloud.contactcenterinsights.v1.CreatePhraseMatcherRequest, $root.google.cloud.contactcenterinsights.v1.PhraseMatcher, request, callback);
+ }, "name", { value: "CreatePhraseMatcher" });
+
+ /**
+ * Calls CreatePhraseMatcher.
+ * @function createPhraseMatcher
+ * @memberof google.cloud.contactcenterinsights.v1.ContactCenterInsights
+ * @instance
+ * @param {google.cloud.contactcenterinsights.v1.ICreatePhraseMatcherRequest} request CreatePhraseMatcherRequest message or plain object
+ * @returns {Promise} Promise
+ * @variation 2
+ */
+
+ /**
+ * Callback as used by {@link google.cloud.contactcenterinsights.v1.ContactCenterInsights|getPhraseMatcher}.
+ * @memberof google.cloud.contactcenterinsights.v1.ContactCenterInsights
+ * @typedef GetPhraseMatcherCallback
+ * @type {function}
+ * @param {Error|null} error Error, if any
+ * @param {google.cloud.contactcenterinsights.v1.PhraseMatcher} [response] PhraseMatcher
+ */
+
+ /**
+ * Calls GetPhraseMatcher.
+ * @function getPhraseMatcher
+ * @memberof google.cloud.contactcenterinsights.v1.ContactCenterInsights
+ * @instance
+ * @param {google.cloud.contactcenterinsights.v1.IGetPhraseMatcherRequest} request GetPhraseMatcherRequest message or plain object
+ * @param {google.cloud.contactcenterinsights.v1.ContactCenterInsights.GetPhraseMatcherCallback} callback Node-style callback called with the error, if any, and PhraseMatcher
+ * @returns {undefined}
+ * @variation 1
+ */
+ Object.defineProperty(ContactCenterInsights.prototype.getPhraseMatcher = function getPhraseMatcher(request, callback) {
+ return this.rpcCall(getPhraseMatcher, $root.google.cloud.contactcenterinsights.v1.GetPhraseMatcherRequest, $root.google.cloud.contactcenterinsights.v1.PhraseMatcher, request, callback);
+ }, "name", { value: "GetPhraseMatcher" });
+
+ /**
+ * Calls GetPhraseMatcher.
+ * @function getPhraseMatcher
+ * @memberof google.cloud.contactcenterinsights.v1.ContactCenterInsights
+ * @instance
+ * @param {google.cloud.contactcenterinsights.v1.IGetPhraseMatcherRequest} request GetPhraseMatcherRequest message or plain object
+ * @returns {Promise} Promise
+ * @variation 2
+ */
+
+ /**
+ * Callback as used by {@link google.cloud.contactcenterinsights.v1.ContactCenterInsights|listPhraseMatchers}.
+ * @memberof google.cloud.contactcenterinsights.v1.ContactCenterInsights
+ * @typedef ListPhraseMatchersCallback
+ * @type {function}
+ * @param {Error|null} error Error, if any
+ * @param {google.cloud.contactcenterinsights.v1.ListPhraseMatchersResponse} [response] ListPhraseMatchersResponse
+ */
+
+ /**
+ * Calls ListPhraseMatchers.
+ * @function listPhraseMatchers
+ * @memberof google.cloud.contactcenterinsights.v1.ContactCenterInsights
+ * @instance
+ * @param {google.cloud.contactcenterinsights.v1.IListPhraseMatchersRequest} request ListPhraseMatchersRequest message or plain object
+ * @param {google.cloud.contactcenterinsights.v1.ContactCenterInsights.ListPhraseMatchersCallback} callback Node-style callback called with the error, if any, and ListPhraseMatchersResponse
+ * @returns {undefined}
+ * @variation 1
+ */
+ Object.defineProperty(ContactCenterInsights.prototype.listPhraseMatchers = function listPhraseMatchers(request, callback) {
+ return this.rpcCall(listPhraseMatchers, $root.google.cloud.contactcenterinsights.v1.ListPhraseMatchersRequest, $root.google.cloud.contactcenterinsights.v1.ListPhraseMatchersResponse, request, callback);
+ }, "name", { value: "ListPhraseMatchers" });
+
+ /**
+ * Calls ListPhraseMatchers.
+ * @function listPhraseMatchers
+ * @memberof google.cloud.contactcenterinsights.v1.ContactCenterInsights
+ * @instance
+ * @param {google.cloud.contactcenterinsights.v1.IListPhraseMatchersRequest} request ListPhraseMatchersRequest message or plain object
+ * @returns {Promise} Promise
+ * @variation 2
+ */
+
+ /**
+ * Callback as used by {@link google.cloud.contactcenterinsights.v1.ContactCenterInsights|deletePhraseMatcher}.
+ * @memberof google.cloud.contactcenterinsights.v1.ContactCenterInsights
+ * @typedef DeletePhraseMatcherCallback
+ * @type {function}
+ * @param {Error|null} error Error, if any
+ * @param {google.protobuf.Empty} [response] Empty
+ */
+
+ /**
+ * Calls DeletePhraseMatcher.
+ * @function deletePhraseMatcher
+ * @memberof google.cloud.contactcenterinsights.v1.ContactCenterInsights
+ * @instance
+ * @param {google.cloud.contactcenterinsights.v1.IDeletePhraseMatcherRequest} request DeletePhraseMatcherRequest message or plain object
+ * @param {google.cloud.contactcenterinsights.v1.ContactCenterInsights.DeletePhraseMatcherCallback} callback Node-style callback called with the error, if any, and Empty
+ * @returns {undefined}
+ * @variation 1
+ */
+ Object.defineProperty(ContactCenterInsights.prototype.deletePhraseMatcher = function deletePhraseMatcher(request, callback) {
+ return this.rpcCall(deletePhraseMatcher, $root.google.cloud.contactcenterinsights.v1.DeletePhraseMatcherRequest, $root.google.protobuf.Empty, request, callback);
+ }, "name", { value: "DeletePhraseMatcher" });
+
+ /**
+ * Calls DeletePhraseMatcher.
+ * @function deletePhraseMatcher
+ * @memberof google.cloud.contactcenterinsights.v1.ContactCenterInsights
+ * @instance
+ * @param {google.cloud.contactcenterinsights.v1.IDeletePhraseMatcherRequest} request DeletePhraseMatcherRequest message or plain object
+ * @returns {Promise} Promise
+ * @variation 2
+ */
+
+ /**
+ * Callback as used by {@link google.cloud.contactcenterinsights.v1.ContactCenterInsights|updatePhraseMatcher}.
+ * @memberof google.cloud.contactcenterinsights.v1.ContactCenterInsights
+ * @typedef UpdatePhraseMatcherCallback
+ * @type {function}
+ * @param {Error|null} error Error, if any
+ * @param {google.cloud.contactcenterinsights.v1.PhraseMatcher} [response] PhraseMatcher
+ */
+
+ /**
+ * Calls UpdatePhraseMatcher.
+ * @function updatePhraseMatcher
+ * @memberof google.cloud.contactcenterinsights.v1.ContactCenterInsights
+ * @instance
+ * @param {google.cloud.contactcenterinsights.v1.IUpdatePhraseMatcherRequest} request UpdatePhraseMatcherRequest message or plain object
+ * @param {google.cloud.contactcenterinsights.v1.ContactCenterInsights.UpdatePhraseMatcherCallback} callback Node-style callback called with the error, if any, and PhraseMatcher
+ * @returns {undefined}
+ * @variation 1
+ */
+ Object.defineProperty(ContactCenterInsights.prototype.updatePhraseMatcher = function updatePhraseMatcher(request, callback) {
+ return this.rpcCall(updatePhraseMatcher, $root.google.cloud.contactcenterinsights.v1.UpdatePhraseMatcherRequest, $root.google.cloud.contactcenterinsights.v1.PhraseMatcher, request, callback);
+ }, "name", { value: "UpdatePhraseMatcher" });
+
+ /**
+ * Calls UpdatePhraseMatcher.
+ * @function updatePhraseMatcher
+ * @memberof google.cloud.contactcenterinsights.v1.ContactCenterInsights
+ * @instance
+ * @param {google.cloud.contactcenterinsights.v1.IUpdatePhraseMatcherRequest} request UpdatePhraseMatcherRequest message or plain object
+ * @returns {Promise} Promise
+ * @variation 2
+ */
+
+ /**
+ * Callback as used by {@link google.cloud.contactcenterinsights.v1.ContactCenterInsights|calculateStats}.
+ * @memberof google.cloud.contactcenterinsights.v1.ContactCenterInsights
+ * @typedef CalculateStatsCallback
+ * @type {function}
+ * @param {Error|null} error Error, if any
+ * @param {google.cloud.contactcenterinsights.v1.CalculateStatsResponse} [response] CalculateStatsResponse
+ */
+
+ /**
+ * Calls CalculateStats.
+ * @function calculateStats
+ * @memberof google.cloud.contactcenterinsights.v1.ContactCenterInsights
+ * @instance
+ * @param {google.cloud.contactcenterinsights.v1.ICalculateStatsRequest} request CalculateStatsRequest message or plain object
+ * @param {google.cloud.contactcenterinsights.v1.ContactCenterInsights.CalculateStatsCallback} callback Node-style callback called with the error, if any, and CalculateStatsResponse
+ * @returns {undefined}
+ * @variation 1
+ */
+ Object.defineProperty(ContactCenterInsights.prototype.calculateStats = function calculateStats(request, callback) {
+ return this.rpcCall(calculateStats, $root.google.cloud.contactcenterinsights.v1.CalculateStatsRequest, $root.google.cloud.contactcenterinsights.v1.CalculateStatsResponse, request, callback);
+ }, "name", { value: "CalculateStats" });
+
+ /**
+ * Calls CalculateStats.
+ * @function calculateStats
+ * @memberof google.cloud.contactcenterinsights.v1.ContactCenterInsights
+ * @instance
+ * @param {google.cloud.contactcenterinsights.v1.ICalculateStatsRequest} request CalculateStatsRequest message or plain object
+ * @returns {Promise} Promise
+ * @variation 2
+ */
+
+ /**
+ * Callback as used by {@link google.cloud.contactcenterinsights.v1.ContactCenterInsights|getSettings}.
+ * @memberof google.cloud.contactcenterinsights.v1.ContactCenterInsights
+ * @typedef GetSettingsCallback
+ * @type {function}
+ * @param {Error|null} error Error, if any
+ * @param {google.cloud.contactcenterinsights.v1.Settings} [response] Settings
+ */
+
+ /**
+ * Calls GetSettings.
+ * @function getSettings
+ * @memberof google.cloud.contactcenterinsights.v1.ContactCenterInsights
+ * @instance
+ * @param {google.cloud.contactcenterinsights.v1.IGetSettingsRequest} request GetSettingsRequest message or plain object
+ * @param {google.cloud.contactcenterinsights.v1.ContactCenterInsights.GetSettingsCallback} callback Node-style callback called with the error, if any, and Settings
+ * @returns {undefined}
+ * @variation 1
+ */
+ Object.defineProperty(ContactCenterInsights.prototype.getSettings = function getSettings(request, callback) {
+ return this.rpcCall(getSettings, $root.google.cloud.contactcenterinsights.v1.GetSettingsRequest, $root.google.cloud.contactcenterinsights.v1.Settings, request, callback);
+ }, "name", { value: "GetSettings" });
+
+ /**
+ * Calls GetSettings.
+ * @function getSettings
+ * @memberof google.cloud.contactcenterinsights.v1.ContactCenterInsights
+ * @instance
+ * @param {google.cloud.contactcenterinsights.v1.IGetSettingsRequest} request GetSettingsRequest message or plain object
+ * @returns {Promise} Promise
+ * @variation 2
+ */
+
+ /**
+ * Callback as used by {@link google.cloud.contactcenterinsights.v1.ContactCenterInsights|updateSettings}.
+ * @memberof google.cloud.contactcenterinsights.v1.ContactCenterInsights
+ * @typedef UpdateSettingsCallback
+ * @type {function}
+ * @param {Error|null} error Error, if any
+ * @param {google.cloud.contactcenterinsights.v1.Settings} [response] Settings
+ */
+
+ /**
+ * Calls UpdateSettings.
+ * @function updateSettings
+ * @memberof google.cloud.contactcenterinsights.v1.ContactCenterInsights
+ * @instance
+ * @param {google.cloud.contactcenterinsights.v1.IUpdateSettingsRequest} request UpdateSettingsRequest message or plain object
+ * @param {google.cloud.contactcenterinsights.v1.ContactCenterInsights.UpdateSettingsCallback} callback Node-style callback called with the error, if any, and Settings
+ * @returns {undefined}
+ * @variation 1
+ */
+ Object.defineProperty(ContactCenterInsights.prototype.updateSettings = function updateSettings(request, callback) {
+ return this.rpcCall(updateSettings, $root.google.cloud.contactcenterinsights.v1.UpdateSettingsRequest, $root.google.cloud.contactcenterinsights.v1.Settings, request, callback);
+ }, "name", { value: "UpdateSettings" });
+
+ /**
+ * Calls UpdateSettings.
+ * @function updateSettings
+ * @memberof google.cloud.contactcenterinsights.v1.ContactCenterInsights
+ * @instance
+ * @param {google.cloud.contactcenterinsights.v1.IUpdateSettingsRequest} request UpdateSettingsRequest message or plain object
+ * @returns {Promise} Promise
+ * @variation 2
+ */
+
+ /**
+ * Callback as used by {@link google.cloud.contactcenterinsights.v1.ContactCenterInsights|createView}.
+ * @memberof google.cloud.contactcenterinsights.v1.ContactCenterInsights
+ * @typedef CreateViewCallback
+ * @type {function}
+ * @param {Error|null} error Error, if any
+ * @param {google.cloud.contactcenterinsights.v1.View} [response] View
+ */
+
+ /**
+ * Calls CreateView.
+ * @function createView
+ * @memberof google.cloud.contactcenterinsights.v1.ContactCenterInsights
+ * @instance
+ * @param {google.cloud.contactcenterinsights.v1.ICreateViewRequest} request CreateViewRequest message or plain object
+ * @param {google.cloud.contactcenterinsights.v1.ContactCenterInsights.CreateViewCallback} callback Node-style callback called with the error, if any, and View
+ * @returns {undefined}
+ * @variation 1
+ */
+ Object.defineProperty(ContactCenterInsights.prototype.createView = function createView(request, callback) {
+ return this.rpcCall(createView, $root.google.cloud.contactcenterinsights.v1.CreateViewRequest, $root.google.cloud.contactcenterinsights.v1.View, request, callback);
+ }, "name", { value: "CreateView" });
+
+ /**
+ * Calls CreateView.
+ * @function createView
+ * @memberof google.cloud.contactcenterinsights.v1.ContactCenterInsights
+ * @instance
+ * @param {google.cloud.contactcenterinsights.v1.ICreateViewRequest} request CreateViewRequest message or plain object
+ * @returns {Promise} Promise
+ * @variation 2
+ */
+
+ /**
+ * Callback as used by {@link google.cloud.contactcenterinsights.v1.ContactCenterInsights|getView}.
+ * @memberof google.cloud.contactcenterinsights.v1.ContactCenterInsights
+ * @typedef GetViewCallback
+ * @type {function}
+ * @param {Error|null} error Error, if any
+ * @param {google.cloud.contactcenterinsights.v1.View} [response] View
+ */
+
+ /**
+ * Calls GetView.
+ * @function getView
+ * @memberof google.cloud.contactcenterinsights.v1.ContactCenterInsights
+ * @instance
+ * @param {google.cloud.contactcenterinsights.v1.IGetViewRequest} request GetViewRequest message or plain object
+ * @param {google.cloud.contactcenterinsights.v1.ContactCenterInsights.GetViewCallback} callback Node-style callback called with the error, if any, and View
+ * @returns {undefined}
+ * @variation 1
+ */
+ Object.defineProperty(ContactCenterInsights.prototype.getView = function getView(request, callback) {
+ return this.rpcCall(getView, $root.google.cloud.contactcenterinsights.v1.GetViewRequest, $root.google.cloud.contactcenterinsights.v1.View, request, callback);
+ }, "name", { value: "GetView" });
+
+ /**
+ * Calls GetView.
+ * @function getView
+ * @memberof google.cloud.contactcenterinsights.v1.ContactCenterInsights
+ * @instance
+ * @param {google.cloud.contactcenterinsights.v1.IGetViewRequest} request GetViewRequest message or plain object
+ * @returns {Promise} Promise
+ * @variation 2
+ */
+
+ /**
+ * Callback as used by {@link google.cloud.contactcenterinsights.v1.ContactCenterInsights|listViews}.
+ * @memberof google.cloud.contactcenterinsights.v1.ContactCenterInsights
+ * @typedef ListViewsCallback
+ * @type {function}
+ * @param {Error|null} error Error, if any
+ * @param {google.cloud.contactcenterinsights.v1.ListViewsResponse} [response] ListViewsResponse
+ */
+
+ /**
+ * Calls ListViews.
+ * @function listViews
+ * @memberof google.cloud.contactcenterinsights.v1.ContactCenterInsights
+ * @instance
+ * @param {google.cloud.contactcenterinsights.v1.IListViewsRequest} request ListViewsRequest message or plain object
+ * @param {google.cloud.contactcenterinsights.v1.ContactCenterInsights.ListViewsCallback} callback Node-style callback called with the error, if any, and ListViewsResponse
+ * @returns {undefined}
+ * @variation 1
+ */
+ Object.defineProperty(ContactCenterInsights.prototype.listViews = function listViews(request, callback) {
+ return this.rpcCall(listViews, $root.google.cloud.contactcenterinsights.v1.ListViewsRequest, $root.google.cloud.contactcenterinsights.v1.ListViewsResponse, request, callback);
+ }, "name", { value: "ListViews" });
+
+ /**
+ * Calls ListViews.
+ * @function listViews
+ * @memberof google.cloud.contactcenterinsights.v1.ContactCenterInsights
+ * @instance
+ * @param {google.cloud.contactcenterinsights.v1.IListViewsRequest} request ListViewsRequest message or plain object
+ * @returns {Promise} Promise
+ * @variation 2
+ */
+
+ /**
+ * Callback as used by {@link google.cloud.contactcenterinsights.v1.ContactCenterInsights|updateView}.
+ * @memberof google.cloud.contactcenterinsights.v1.ContactCenterInsights
+ * @typedef UpdateViewCallback
+ * @type {function}
+ * @param {Error|null} error Error, if any
+ * @param {google.cloud.contactcenterinsights.v1.View} [response] View
+ */
+
+ /**
+ * Calls UpdateView.
+ * @function updateView
+ * @memberof google.cloud.contactcenterinsights.v1.ContactCenterInsights
+ * @instance
+ * @param {google.cloud.contactcenterinsights.v1.IUpdateViewRequest} request UpdateViewRequest message or plain object
+ * @param {google.cloud.contactcenterinsights.v1.ContactCenterInsights.UpdateViewCallback} callback Node-style callback called with the error, if any, and View
+ * @returns {undefined}
+ * @variation 1
+ */
+ Object.defineProperty(ContactCenterInsights.prototype.updateView = function updateView(request, callback) {
+ return this.rpcCall(updateView, $root.google.cloud.contactcenterinsights.v1.UpdateViewRequest, $root.google.cloud.contactcenterinsights.v1.View, request, callback);
+ }, "name", { value: "UpdateView" });
+
+ /**
+ * Calls UpdateView.
+ * @function updateView
+ * @memberof google.cloud.contactcenterinsights.v1.ContactCenterInsights
+ * @instance
+ * @param {google.cloud.contactcenterinsights.v1.IUpdateViewRequest} request UpdateViewRequest message or plain object
+ * @returns {Promise} Promise
+ * @variation 2
+ */
+
+ /**
+ * Callback as used by {@link google.cloud.contactcenterinsights.v1.ContactCenterInsights|deleteView}.
+ * @memberof google.cloud.contactcenterinsights.v1.ContactCenterInsights
+ * @typedef DeleteViewCallback
+ * @type {function}
+ * @param {Error|null} error Error, if any
+ * @param {google.protobuf.Empty} [response] Empty
+ */
+
+ /**
+ * Calls DeleteView.
+ * @function deleteView
+ * @memberof google.cloud.contactcenterinsights.v1.ContactCenterInsights
+ * @instance
+ * @param {google.cloud.contactcenterinsights.v1.IDeleteViewRequest} request DeleteViewRequest message or plain object
+ * @param {google.cloud.contactcenterinsights.v1.ContactCenterInsights.DeleteViewCallback} callback Node-style callback called with the error, if any, and Empty
+ * @returns {undefined}
+ * @variation 1
+ */
+ Object.defineProperty(ContactCenterInsights.prototype.deleteView = function deleteView(request, callback) {
+ return this.rpcCall(deleteView, $root.google.cloud.contactcenterinsights.v1.DeleteViewRequest, $root.google.protobuf.Empty, request, callback);
+ }, "name", { value: "DeleteView" });
+
+ /**
+ * Calls DeleteView.
+ * @function deleteView
+ * @memberof google.cloud.contactcenterinsights.v1.ContactCenterInsights
+ * @instance
+ * @param {google.cloud.contactcenterinsights.v1.IDeleteViewRequest} request DeleteViewRequest message or plain object
+ * @returns {Promise} Promise
+ * @variation 2
+ */
+
+ return ContactCenterInsights;
+ })();
+
+ /**
+ * ConversationView enum.
+ * @name google.cloud.contactcenterinsights.v1.ConversationView
+ * @enum {number}
+ * @property {number} CONVERSATION_VIEW_UNSPECIFIED=0 CONVERSATION_VIEW_UNSPECIFIED value
+ * @property {number} FULL=2 FULL value
+ * @property {number} BASIC=1 BASIC value
+ */
+ v1.ConversationView = (function() {
+ var valuesById = {}, values = Object.create(valuesById);
+ values[valuesById[0] = "CONVERSATION_VIEW_UNSPECIFIED"] = 0;
+ values[valuesById[2] = "FULL"] = 2;
+ values[valuesById[1] = "BASIC"] = 1;
+ return values;
+ })();
+
+ v1.CalculateStatsRequest = (function() {
+
+ /**
+ * Properties of a CalculateStatsRequest.
+ * @memberof google.cloud.contactcenterinsights.v1
+ * @interface ICalculateStatsRequest
+ * @property {string|null} [location] CalculateStatsRequest location
+ * @property {string|null} [filter] CalculateStatsRequest filter
+ */
+
+ /**
+ * Constructs a new CalculateStatsRequest.
+ * @memberof google.cloud.contactcenterinsights.v1
+ * @classdesc Represents a CalculateStatsRequest.
+ * @implements ICalculateStatsRequest
+ * @constructor
+ * @param {google.cloud.contactcenterinsights.v1.ICalculateStatsRequest=} [properties] Properties to set
+ */
+ function CalculateStatsRequest(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]];
+ }
+
+ /**
+ * CalculateStatsRequest location.
+ * @member {string} location
+ * @memberof google.cloud.contactcenterinsights.v1.CalculateStatsRequest
+ * @instance
+ */
+ CalculateStatsRequest.prototype.location = "";
+
+ /**
+ * CalculateStatsRequest filter.
+ * @member {string} filter
+ * @memberof google.cloud.contactcenterinsights.v1.CalculateStatsRequest
+ * @instance
+ */
+ CalculateStatsRequest.prototype.filter = "";
+
+ /**
+ * Creates a new CalculateStatsRequest instance using the specified properties.
+ * @function create
+ * @memberof google.cloud.contactcenterinsights.v1.CalculateStatsRequest
+ * @static
+ * @param {google.cloud.contactcenterinsights.v1.ICalculateStatsRequest=} [properties] Properties to set
+ * @returns {google.cloud.contactcenterinsights.v1.CalculateStatsRequest} CalculateStatsRequest instance
+ */
+ CalculateStatsRequest.create = function create(properties) {
+ return new CalculateStatsRequest(properties);
+ };
+
+ /**
+ * Encodes the specified CalculateStatsRequest message. Does not implicitly {@link google.cloud.contactcenterinsights.v1.CalculateStatsRequest.verify|verify} messages.
+ * @function encode
+ * @memberof google.cloud.contactcenterinsights.v1.CalculateStatsRequest
+ * @static
+ * @param {google.cloud.contactcenterinsights.v1.ICalculateStatsRequest} message CalculateStatsRequest message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ CalculateStatsRequest.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.location != null && Object.hasOwnProperty.call(message, "location"))
+ writer.uint32(/* id 1, wireType 2 =*/10).string(message.location);
+ if (message.filter != null && Object.hasOwnProperty.call(message, "filter"))
+ writer.uint32(/* id 2, wireType 2 =*/18).string(message.filter);
+ return writer;
+ };
+
+ /**
+ * Encodes the specified CalculateStatsRequest message, length delimited. Does not implicitly {@link google.cloud.contactcenterinsights.v1.CalculateStatsRequest.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.cloud.contactcenterinsights.v1.CalculateStatsRequest
+ * @static
+ * @param {google.cloud.contactcenterinsights.v1.ICalculateStatsRequest} message CalculateStatsRequest message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ CalculateStatsRequest.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes a CalculateStatsRequest message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.cloud.contactcenterinsights.v1.CalculateStatsRequest
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.cloud.contactcenterinsights.v1.CalculateStatsRequest} CalculateStatsRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ CalculateStatsRequest.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.contactcenterinsights.v1.CalculateStatsRequest();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ switch (tag >>> 3) {
+ case 1: {
+ message.location = reader.string();
+ break;
+ }
+ case 2: {
+ message.filter = reader.string();
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes a CalculateStatsRequest message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.cloud.contactcenterinsights.v1.CalculateStatsRequest
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.cloud.contactcenterinsights.v1.CalculateStatsRequest} CalculateStatsRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ CalculateStatsRequest.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies a CalculateStatsRequest message.
+ * @function verify
+ * @memberof google.cloud.contactcenterinsights.v1.CalculateStatsRequest
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ CalculateStatsRequest.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ if (message.location != null && message.hasOwnProperty("location"))
+ if (!$util.isString(message.location))
+ return "location: string expected";
+ if (message.filter != null && message.hasOwnProperty("filter"))
+ if (!$util.isString(message.filter))
+ return "filter: string expected";
+ return null;
+ };
+
+ /**
+ * Creates a CalculateStatsRequest message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.cloud.contactcenterinsights.v1.CalculateStatsRequest
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.cloud.contactcenterinsights.v1.CalculateStatsRequest} CalculateStatsRequest
+ */
+ CalculateStatsRequest.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.cloud.contactcenterinsights.v1.CalculateStatsRequest)
+ return object;
+ var message = new $root.google.cloud.contactcenterinsights.v1.CalculateStatsRequest();
+ if (object.location != null)
+ message.location = String(object.location);
+ if (object.filter != null)
+ message.filter = String(object.filter);
+ return message;
+ };
+
+ /**
+ * Creates a plain object from a CalculateStatsRequest message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.cloud.contactcenterinsights.v1.CalculateStatsRequest
+ * @static
+ * @param {google.cloud.contactcenterinsights.v1.CalculateStatsRequest} message CalculateStatsRequest
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ CalculateStatsRequest.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.defaults) {
+ object.location = "";
+ object.filter = "";
+ }
+ if (message.location != null && message.hasOwnProperty("location"))
+ object.location = message.location;
+ if (message.filter != null && message.hasOwnProperty("filter"))
+ object.filter = message.filter;
+ return object;
+ };
+
+ /**
+ * Converts this CalculateStatsRequest to JSON.
+ * @function toJSON
+ * @memberof google.cloud.contactcenterinsights.v1.CalculateStatsRequest
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ CalculateStatsRequest.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for CalculateStatsRequest
+ * @function getTypeUrl
+ * @memberof google.cloud.contactcenterinsights.v1.CalculateStatsRequest
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ CalculateStatsRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.cloud.contactcenterinsights.v1.CalculateStatsRequest";
+ };
+
+ return CalculateStatsRequest;
+ })();
+
+ v1.CalculateStatsResponse = (function() {
+
+ /**
+ * Properties of a CalculateStatsResponse.
+ * @memberof google.cloud.contactcenterinsights.v1
+ * @interface ICalculateStatsResponse
+ * @property {google.protobuf.IDuration|null} [averageDuration] CalculateStatsResponse averageDuration
+ * @property {number|null} [averageTurnCount] CalculateStatsResponse averageTurnCount
+ * @property {number|null} [conversationCount] CalculateStatsResponse conversationCount
+ * @property {Object.|null} [smartHighlighterMatches] CalculateStatsResponse smartHighlighterMatches
+ * @property {Object.|null} [customHighlighterMatches] CalculateStatsResponse customHighlighterMatches
+ * @property {Object.|null} [issueMatches] CalculateStatsResponse issueMatches
+ * @property {Object.|null} [issueMatchesStats] CalculateStatsResponse issueMatchesStats
+ * @property {google.cloud.contactcenterinsights.v1.CalculateStatsResponse.ITimeSeries|null} [conversationCountTimeSeries] CalculateStatsResponse conversationCountTimeSeries
+ */
+
+ /**
+ * Constructs a new CalculateStatsResponse.
+ * @memberof google.cloud.contactcenterinsights.v1
+ * @classdesc Represents a CalculateStatsResponse.
+ * @implements ICalculateStatsResponse
+ * @constructor
+ * @param {google.cloud.contactcenterinsights.v1.ICalculateStatsResponse=} [properties] Properties to set
+ */
+ function CalculateStatsResponse(properties) {
+ this.smartHighlighterMatches = {};
+ this.customHighlighterMatches = {};
+ this.issueMatches = {};
+ this.issueMatchesStats = {};
+ 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]];
+ }
+
+ /**
+ * CalculateStatsResponse averageDuration.
+ * @member {google.protobuf.IDuration|null|undefined} averageDuration
+ * @memberof google.cloud.contactcenterinsights.v1.CalculateStatsResponse
+ * @instance
+ */
+ CalculateStatsResponse.prototype.averageDuration = null;
+
+ /**
+ * CalculateStatsResponse averageTurnCount.
+ * @member {number} averageTurnCount
+ * @memberof google.cloud.contactcenterinsights.v1.CalculateStatsResponse
+ * @instance
+ */
+ CalculateStatsResponse.prototype.averageTurnCount = 0;
+
+ /**
+ * CalculateStatsResponse conversationCount.
+ * @member {number} conversationCount
+ * @memberof google.cloud.contactcenterinsights.v1.CalculateStatsResponse
+ * @instance
+ */
+ CalculateStatsResponse.prototype.conversationCount = 0;
+
+ /**
+ * CalculateStatsResponse smartHighlighterMatches.
+ * @member {Object.} smartHighlighterMatches
+ * @memberof google.cloud.contactcenterinsights.v1.CalculateStatsResponse
+ * @instance
+ */
+ CalculateStatsResponse.prototype.smartHighlighterMatches = $util.emptyObject;
+
+ /**
+ * CalculateStatsResponse customHighlighterMatches.
+ * @member {Object.} customHighlighterMatches
+ * @memberof google.cloud.contactcenterinsights.v1.CalculateStatsResponse
+ * @instance
+ */
+ CalculateStatsResponse.prototype.customHighlighterMatches = $util.emptyObject;
+
+ /**
+ * CalculateStatsResponse issueMatches.
+ * @member {Object.} issueMatches
+ * @memberof google.cloud.contactcenterinsights.v1.CalculateStatsResponse
+ * @instance
+ */
+ CalculateStatsResponse.prototype.issueMatches = $util.emptyObject;
+
+ /**
+ * CalculateStatsResponse issueMatchesStats.
+ * @member {Object.} issueMatchesStats
+ * @memberof google.cloud.contactcenterinsights.v1.CalculateStatsResponse
+ * @instance
+ */
+ CalculateStatsResponse.prototype.issueMatchesStats = $util.emptyObject;
+
+ /**
+ * CalculateStatsResponse conversationCountTimeSeries.
+ * @member {google.cloud.contactcenterinsights.v1.CalculateStatsResponse.ITimeSeries|null|undefined} conversationCountTimeSeries
+ * @memberof google.cloud.contactcenterinsights.v1.CalculateStatsResponse
+ * @instance
+ */
+ CalculateStatsResponse.prototype.conversationCountTimeSeries = null;
+
+ /**
+ * Creates a new CalculateStatsResponse instance using the specified properties.
+ * @function create
+ * @memberof google.cloud.contactcenterinsights.v1.CalculateStatsResponse
+ * @static
+ * @param {google.cloud.contactcenterinsights.v1.ICalculateStatsResponse=} [properties] Properties to set
+ * @returns {google.cloud.contactcenterinsights.v1.CalculateStatsResponse} CalculateStatsResponse instance
+ */
+ CalculateStatsResponse.create = function create(properties) {
+ return new CalculateStatsResponse(properties);
+ };
+
+ /**
+ * Encodes the specified CalculateStatsResponse message. Does not implicitly {@link google.cloud.contactcenterinsights.v1.CalculateStatsResponse.verify|verify} messages.
+ * @function encode
+ * @memberof google.cloud.contactcenterinsights.v1.CalculateStatsResponse
+ * @static
+ * @param {google.cloud.contactcenterinsights.v1.ICalculateStatsResponse} message CalculateStatsResponse message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ CalculateStatsResponse.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.averageDuration != null && Object.hasOwnProperty.call(message, "averageDuration"))
+ $root.google.protobuf.Duration.encode(message.averageDuration, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
+ if (message.averageTurnCount != null && Object.hasOwnProperty.call(message, "averageTurnCount"))
+ writer.uint32(/* id 2, wireType 0 =*/16).int32(message.averageTurnCount);
+ if (message.conversationCount != null && Object.hasOwnProperty.call(message, "conversationCount"))
+ writer.uint32(/* id 3, wireType 0 =*/24).int32(message.conversationCount);
+ if (message.smartHighlighterMatches != null && Object.hasOwnProperty.call(message, "smartHighlighterMatches"))
+ for (var keys = Object.keys(message.smartHighlighterMatches), i = 0; i < keys.length; ++i)
+ writer.uint32(/* id 4, wireType 2 =*/34).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]).uint32(/* id 2, wireType 0 =*/16).int32(message.smartHighlighterMatches[keys[i]]).ldelim();
+ if (message.customHighlighterMatches != null && Object.hasOwnProperty.call(message, "customHighlighterMatches"))
+ for (var keys = Object.keys(message.customHighlighterMatches), i = 0; i < keys.length; ++i)
+ writer.uint32(/* id 5, wireType 2 =*/42).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]).uint32(/* id 2, wireType 0 =*/16).int32(message.customHighlighterMatches[keys[i]]).ldelim();
+ if (message.issueMatches != null && Object.hasOwnProperty.call(message, "issueMatches"))
+ for (var keys = Object.keys(message.issueMatches), i = 0; i < keys.length; ++i)
+ writer.uint32(/* id 6, wireType 2 =*/50).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]).uint32(/* id 2, wireType 0 =*/16).int32(message.issueMatches[keys[i]]).ldelim();
+ if (message.conversationCountTimeSeries != null && Object.hasOwnProperty.call(message, "conversationCountTimeSeries"))
+ $root.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.encode(message.conversationCountTimeSeries, writer.uint32(/* id 7, wireType 2 =*/58).fork()).ldelim();
+ if (message.issueMatchesStats != null && Object.hasOwnProperty.call(message, "issueMatchesStats"))
+ for (var keys = Object.keys(message.issueMatchesStats), i = 0; i < keys.length; ++i) {
+ writer.uint32(/* id 8, wireType 2 =*/66).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]);
+ $root.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats.encode(message.issueMatchesStats[keys[i]], writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim().ldelim();
+ }
+ return writer;
+ };
+
+ /**
+ * Encodes the specified CalculateStatsResponse message, length delimited. Does not implicitly {@link google.cloud.contactcenterinsights.v1.CalculateStatsResponse.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.cloud.contactcenterinsights.v1.CalculateStatsResponse
+ * @static
+ * @param {google.cloud.contactcenterinsights.v1.ICalculateStatsResponse} message CalculateStatsResponse message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ CalculateStatsResponse.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes a CalculateStatsResponse message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.cloud.contactcenterinsights.v1.CalculateStatsResponse
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.cloud.contactcenterinsights.v1.CalculateStatsResponse} CalculateStatsResponse
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ CalculateStatsResponse.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.contactcenterinsights.v1.CalculateStatsResponse(), key, value;
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ switch (tag >>> 3) {
+ case 1: {
+ message.averageDuration = $root.google.protobuf.Duration.decode(reader, reader.uint32());
+ break;
+ }
+ case 2: {
+ message.averageTurnCount = reader.int32();
+ break;
+ }
+ case 3: {
+ message.conversationCount = reader.int32();
+ break;
+ }
+ case 4: {
+ if (message.smartHighlighterMatches === $util.emptyObject)
+ message.smartHighlighterMatches = {};
+ var end2 = reader.uint32() + reader.pos;
+ key = "";
+ value = 0;
+ while (reader.pos < end2) {
+ var tag2 = reader.uint32();
+ switch (tag2 >>> 3) {
+ case 1:
+ key = reader.string();
+ break;
+ case 2:
+ value = reader.int32();
+ break;
+ default:
+ reader.skipType(tag2 & 7);
+ break;
+ }
+ }
+ message.smartHighlighterMatches[key] = value;
+ break;
+ }
+ case 5: {
+ if (message.customHighlighterMatches === $util.emptyObject)
+ message.customHighlighterMatches = {};
+ var end2 = reader.uint32() + reader.pos;
+ key = "";
+ value = 0;
+ while (reader.pos < end2) {
+ var tag2 = reader.uint32();
+ switch (tag2 >>> 3) {
+ case 1:
+ key = reader.string();
+ break;
+ case 2:
+ value = reader.int32();
+ break;
+ default:
+ reader.skipType(tag2 & 7);
+ break;
+ }
+ }
+ message.customHighlighterMatches[key] = value;
+ break;
+ }
+ case 6: {
+ if (message.issueMatches === $util.emptyObject)
+ message.issueMatches = {};
+ var end2 = reader.uint32() + reader.pos;
+ key = "";
+ value = 0;
+ while (reader.pos < end2) {
+ var tag2 = reader.uint32();
+ switch (tag2 >>> 3) {
+ case 1:
+ key = reader.string();
+ break;
+ case 2:
+ value = reader.int32();
+ break;
+ default:
+ reader.skipType(tag2 & 7);
+ break;
+ }
+ }
+ message.issueMatches[key] = value;
+ break;
+ }
+ case 8: {
+ if (message.issueMatchesStats === $util.emptyObject)
+ message.issueMatchesStats = {};
+ var end2 = reader.uint32() + reader.pos;
+ key = "";
+ value = null;
+ while (reader.pos < end2) {
+ var tag2 = reader.uint32();
+ switch (tag2 >>> 3) {
+ case 1:
+ key = reader.string();
+ break;
+ case 2:
+ value = $root.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats.decode(reader, reader.uint32());
+ break;
+ default:
+ reader.skipType(tag2 & 7);
+ break;
+ }
+ }
+ message.issueMatchesStats[key] = value;
+ break;
+ }
+ case 7: {
+ message.conversationCountTimeSeries = $root.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.decode(reader, reader.uint32());
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes a CalculateStatsResponse message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.cloud.contactcenterinsights.v1.CalculateStatsResponse
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.cloud.contactcenterinsights.v1.CalculateStatsResponse} CalculateStatsResponse
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ CalculateStatsResponse.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies a CalculateStatsResponse message.
+ * @function verify
+ * @memberof google.cloud.contactcenterinsights.v1.CalculateStatsResponse
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ CalculateStatsResponse.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ if (message.averageDuration != null && message.hasOwnProperty("averageDuration")) {
+ var error = $root.google.protobuf.Duration.verify(message.averageDuration);
+ if (error)
+ return "averageDuration." + error;
+ }
+ if (message.averageTurnCount != null && message.hasOwnProperty("averageTurnCount"))
+ if (!$util.isInteger(message.averageTurnCount))
+ return "averageTurnCount: integer expected";
+ if (message.conversationCount != null && message.hasOwnProperty("conversationCount"))
+ if (!$util.isInteger(message.conversationCount))
+ return "conversationCount: integer expected";
+ if (message.smartHighlighterMatches != null && message.hasOwnProperty("smartHighlighterMatches")) {
+ if (!$util.isObject(message.smartHighlighterMatches))
+ return "smartHighlighterMatches: object expected";
+ var key = Object.keys(message.smartHighlighterMatches);
+ for (var i = 0; i < key.length; ++i)
+ if (!$util.isInteger(message.smartHighlighterMatches[key[i]]))
+ return "smartHighlighterMatches: integer{k:string} expected";
+ }
+ if (message.customHighlighterMatches != null && message.hasOwnProperty("customHighlighterMatches")) {
+ if (!$util.isObject(message.customHighlighterMatches))
+ return "customHighlighterMatches: object expected";
+ var key = Object.keys(message.customHighlighterMatches);
+ for (var i = 0; i < key.length; ++i)
+ if (!$util.isInteger(message.customHighlighterMatches[key[i]]))
+ return "customHighlighterMatches: integer{k:string} expected";
+ }
+ if (message.issueMatches != null && message.hasOwnProperty("issueMatches")) {
+ if (!$util.isObject(message.issueMatches))
+ return "issueMatches: object expected";
+ var key = Object.keys(message.issueMatches);
+ for (var i = 0; i < key.length; ++i)
+ if (!$util.isInteger(message.issueMatches[key[i]]))
+ return "issueMatches: integer{k:string} expected";
+ }
+ if (message.issueMatchesStats != null && message.hasOwnProperty("issueMatchesStats")) {
+ if (!$util.isObject(message.issueMatchesStats))
+ return "issueMatchesStats: object expected";
+ var key = Object.keys(message.issueMatchesStats);
+ for (var i = 0; i < key.length; ++i) {
+ var error = $root.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats.verify(message.issueMatchesStats[key[i]]);
+ if (error)
+ return "issueMatchesStats." + error;
+ }
+ }
+ if (message.conversationCountTimeSeries != null && message.hasOwnProperty("conversationCountTimeSeries")) {
+ var error = $root.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.verify(message.conversationCountTimeSeries);
+ if (error)
+ return "conversationCountTimeSeries." + error;
+ }
+ return null;
+ };
+
+ /**
+ * Creates a CalculateStatsResponse message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.cloud.contactcenterinsights.v1.CalculateStatsResponse
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.cloud.contactcenterinsights.v1.CalculateStatsResponse} CalculateStatsResponse
+ */
+ CalculateStatsResponse.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.cloud.contactcenterinsights.v1.CalculateStatsResponse)
+ return object;
+ var message = new $root.google.cloud.contactcenterinsights.v1.CalculateStatsResponse();
+ if (object.averageDuration != null) {
+ if (typeof object.averageDuration !== "object")
+ throw TypeError(".google.cloud.contactcenterinsights.v1.CalculateStatsResponse.averageDuration: object expected");
+ message.averageDuration = $root.google.protobuf.Duration.fromObject(object.averageDuration);
+ }
+ if (object.averageTurnCount != null)
+ message.averageTurnCount = object.averageTurnCount | 0;
+ if (object.conversationCount != null)
+ message.conversationCount = object.conversationCount | 0;
+ if (object.smartHighlighterMatches) {
+ if (typeof object.smartHighlighterMatches !== "object")
+ throw TypeError(".google.cloud.contactcenterinsights.v1.CalculateStatsResponse.smartHighlighterMatches: object expected");
+ message.smartHighlighterMatches = {};
+ for (var keys = Object.keys(object.smartHighlighterMatches), i = 0; i < keys.length; ++i)
+ message.smartHighlighterMatches[keys[i]] = object.smartHighlighterMatches[keys[i]] | 0;
+ }
+ if (object.customHighlighterMatches) {
+ if (typeof object.customHighlighterMatches !== "object")
+ throw TypeError(".google.cloud.contactcenterinsights.v1.CalculateStatsResponse.customHighlighterMatches: object expected");
+ message.customHighlighterMatches = {};
+ for (var keys = Object.keys(object.customHighlighterMatches), i = 0; i < keys.length; ++i)
+ message.customHighlighterMatches[keys[i]] = object.customHighlighterMatches[keys[i]] | 0;
+ }
+ if (object.issueMatches) {
+ if (typeof object.issueMatches !== "object")
+ throw TypeError(".google.cloud.contactcenterinsights.v1.CalculateStatsResponse.issueMatches: object expected");
+ message.issueMatches = {};
+ for (var keys = Object.keys(object.issueMatches), i = 0; i < keys.length; ++i)
+ message.issueMatches[keys[i]] = object.issueMatches[keys[i]] | 0;
+ }
+ if (object.issueMatchesStats) {
+ if (typeof object.issueMatchesStats !== "object")
+ throw TypeError(".google.cloud.contactcenterinsights.v1.CalculateStatsResponse.issueMatchesStats: object expected");
+ message.issueMatchesStats = {};
+ for (var keys = Object.keys(object.issueMatchesStats), i = 0; i < keys.length; ++i) {
+ if (typeof object.issueMatchesStats[keys[i]] !== "object")
+ throw TypeError(".google.cloud.contactcenterinsights.v1.CalculateStatsResponse.issueMatchesStats: object expected");
+ message.issueMatchesStats[keys[i]] = $root.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats.fromObject(object.issueMatchesStats[keys[i]]);
+ }
+ }
+ if (object.conversationCountTimeSeries != null) {
+ if (typeof object.conversationCountTimeSeries !== "object")
+ throw TypeError(".google.cloud.contactcenterinsights.v1.CalculateStatsResponse.conversationCountTimeSeries: object expected");
+ message.conversationCountTimeSeries = $root.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.fromObject(object.conversationCountTimeSeries);
+ }
+ return message;
+ };
+
+ /**
+ * Creates a plain object from a CalculateStatsResponse message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.cloud.contactcenterinsights.v1.CalculateStatsResponse
+ * @static
+ * @param {google.cloud.contactcenterinsights.v1.CalculateStatsResponse} message CalculateStatsResponse
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ CalculateStatsResponse.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.objects || options.defaults) {
+ object.smartHighlighterMatches = {};
+ object.customHighlighterMatches = {};
+ object.issueMatches = {};
+ object.issueMatchesStats = {};
+ }
+ if (options.defaults) {
+ object.averageDuration = null;
+ object.averageTurnCount = 0;
+ object.conversationCount = 0;
+ object.conversationCountTimeSeries = null;
+ }
+ if (message.averageDuration != null && message.hasOwnProperty("averageDuration"))
+ object.averageDuration = $root.google.protobuf.Duration.toObject(message.averageDuration, options);
+ if (message.averageTurnCount != null && message.hasOwnProperty("averageTurnCount"))
+ object.averageTurnCount = message.averageTurnCount;
+ if (message.conversationCount != null && message.hasOwnProperty("conversationCount"))
+ object.conversationCount = message.conversationCount;
+ var keys2;
+ if (message.smartHighlighterMatches && (keys2 = Object.keys(message.smartHighlighterMatches)).length) {
+ object.smartHighlighterMatches = {};
+ for (var j = 0; j < keys2.length; ++j)
+ object.smartHighlighterMatches[keys2[j]] = message.smartHighlighterMatches[keys2[j]];
+ }
+ if (message.customHighlighterMatches && (keys2 = Object.keys(message.customHighlighterMatches)).length) {
+ object.customHighlighterMatches = {};
+ for (var j = 0; j < keys2.length; ++j)
+ object.customHighlighterMatches[keys2[j]] = message.customHighlighterMatches[keys2[j]];
+ }
+ if (message.issueMatches && (keys2 = Object.keys(message.issueMatches)).length) {
+ object.issueMatches = {};
+ for (var j = 0; j < keys2.length; ++j)
+ object.issueMatches[keys2[j]] = message.issueMatches[keys2[j]];
+ }
+ if (message.conversationCountTimeSeries != null && message.hasOwnProperty("conversationCountTimeSeries"))
+ object.conversationCountTimeSeries = $root.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.toObject(message.conversationCountTimeSeries, options);
+ if (message.issueMatchesStats && (keys2 = Object.keys(message.issueMatchesStats)).length) {
+ object.issueMatchesStats = {};
+ for (var j = 0; j < keys2.length; ++j)
+ object.issueMatchesStats[keys2[j]] = $root.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats.toObject(message.issueMatchesStats[keys2[j]], options);
+ }
+ return object;
+ };
+
+ /**
+ * Converts this CalculateStatsResponse to JSON.
+ * @function toJSON
+ * @memberof google.cloud.contactcenterinsights.v1.CalculateStatsResponse
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ CalculateStatsResponse.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for CalculateStatsResponse
+ * @function getTypeUrl
+ * @memberof google.cloud.contactcenterinsights.v1.CalculateStatsResponse
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ CalculateStatsResponse.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.cloud.contactcenterinsights.v1.CalculateStatsResponse";
+ };
+
+ CalculateStatsResponse.TimeSeries = (function() {
+
+ /**
+ * Properties of a TimeSeries.
+ * @memberof google.cloud.contactcenterinsights.v1.CalculateStatsResponse
+ * @interface ITimeSeries
+ * @property {google.protobuf.IDuration|null} [intervalDuration] TimeSeries intervalDuration
+ * @property {Array.|null} [points] TimeSeries points
+ */
+
+ /**
+ * Constructs a new TimeSeries.
+ * @memberof google.cloud.contactcenterinsights.v1.CalculateStatsResponse
+ * @classdesc Represents a TimeSeries.
+ * @implements ITimeSeries
+ * @constructor
+ * @param {google.cloud.contactcenterinsights.v1.CalculateStatsResponse.ITimeSeries=} [properties] Properties to set
+ */
+ function TimeSeries(properties) {
+ this.points = [];
+ 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]];
+ }
+
+ /**
+ * TimeSeries intervalDuration.
+ * @member {google.protobuf.IDuration|null|undefined} intervalDuration
+ * @memberof google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries
+ * @instance
+ */
+ TimeSeries.prototype.intervalDuration = null;
+
+ /**
+ * TimeSeries points.
+ * @member {Array.} points
+ * @memberof google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries
+ * @instance
+ */
+ TimeSeries.prototype.points = $util.emptyArray;
+
+ /**
+ * Creates a new TimeSeries instance using the specified properties.
+ * @function create
+ * @memberof google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries
+ * @static
+ * @param {google.cloud.contactcenterinsights.v1.CalculateStatsResponse.ITimeSeries=} [properties] Properties to set
+ * @returns {google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries} TimeSeries instance
+ */
+ TimeSeries.create = function create(properties) {
+ return new TimeSeries(properties);
+ };
+
+ /**
+ * Encodes the specified TimeSeries message. Does not implicitly {@link google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.verify|verify} messages.
+ * @function encode
+ * @memberof google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries
+ * @static
+ * @param {google.cloud.contactcenterinsights.v1.CalculateStatsResponse.ITimeSeries} message TimeSeries message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ TimeSeries.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.intervalDuration != null && Object.hasOwnProperty.call(message, "intervalDuration"))
+ $root.google.protobuf.Duration.encode(message.intervalDuration, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
+ if (message.points != null && message.points.length)
+ for (var i = 0; i < message.points.length; ++i)
+ $root.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval.encode(message.points[i], writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
+ return writer;
+ };
+
+ /**
+ * Encodes the specified TimeSeries message, length delimited. Does not implicitly {@link google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries
+ * @static
+ * @param {google.cloud.contactcenterinsights.v1.CalculateStatsResponse.ITimeSeries} message TimeSeries message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ TimeSeries.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes a TimeSeries message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries} TimeSeries
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ TimeSeries.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.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ switch (tag >>> 3) {
+ case 1: {
+ message.intervalDuration = $root.google.protobuf.Duration.decode(reader, reader.uint32());
+ break;
+ }
+ case 2: {
+ if (!(message.points && message.points.length))
+ message.points = [];
+ message.points.push($root.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval.decode(reader, reader.uint32()));
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes a TimeSeries message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries} TimeSeries
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ TimeSeries.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies a TimeSeries message.
+ * @function verify
+ * @memberof google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ TimeSeries.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ if (message.intervalDuration != null && message.hasOwnProperty("intervalDuration")) {
+ var error = $root.google.protobuf.Duration.verify(message.intervalDuration);
+ if (error)
+ return "intervalDuration." + error;
+ }
+ if (message.points != null && message.hasOwnProperty("points")) {
+ if (!Array.isArray(message.points))
+ return "points: array expected";
+ for (var i = 0; i < message.points.length; ++i) {
+ var error = $root.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval.verify(message.points[i]);
+ if (error)
+ return "points." + error;
+ }
+ }
+ return null;
+ };
+
+ /**
+ * Creates a TimeSeries message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries} TimeSeries
+ */
+ TimeSeries.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries)
+ return object;
+ var message = new $root.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries();
+ if (object.intervalDuration != null) {
+ if (typeof object.intervalDuration !== "object")
+ throw TypeError(".google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.intervalDuration: object expected");
+ message.intervalDuration = $root.google.protobuf.Duration.fromObject(object.intervalDuration);
+ }
+ if (object.points) {
+ if (!Array.isArray(object.points))
+ throw TypeError(".google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.points: array expected");
+ message.points = [];
+ for (var i = 0; i < object.points.length; ++i) {
+ if (typeof object.points[i] !== "object")
+ throw TypeError(".google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.points: object expected");
+ message.points[i] = $root.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval.fromObject(object.points[i]);
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Creates a plain object from a TimeSeries message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries
+ * @static
+ * @param {google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries} message TimeSeries
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ TimeSeries.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.arrays || options.defaults)
+ object.points = [];
+ if (options.defaults)
+ object.intervalDuration = null;
+ if (message.intervalDuration != null && message.hasOwnProperty("intervalDuration"))
+ object.intervalDuration = $root.google.protobuf.Duration.toObject(message.intervalDuration, options);
+ if (message.points && message.points.length) {
+ object.points = [];
+ for (var j = 0; j < message.points.length; ++j)
+ object.points[j] = $root.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval.toObject(message.points[j], options);
+ }
+ return object;
+ };
+
+ /**
+ * Converts this TimeSeries to JSON.
+ * @function toJSON
+ * @memberof google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ TimeSeries.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for TimeSeries
+ * @function getTypeUrl
+ * @memberof google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ TimeSeries.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries";
+ };
+
+ TimeSeries.Interval = (function() {
+
+ /**
+ * Properties of an Interval.
+ * @memberof google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries
+ * @interface IInterval
+ * @property {google.protobuf.ITimestamp|null} [startTime] Interval startTime
+ * @property {number|null} [conversationCount] Interval conversationCount
+ */
+
+ /**
+ * Constructs a new Interval.
+ * @memberof google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries
+ * @classdesc Represents an Interval.
+ * @implements IInterval
+ * @constructor
+ * @param {google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.IInterval=} [properties] Properties to set
+ */
+ function Interval(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]];
+ }
+
+ /**
+ * Interval startTime.
+ * @member {google.protobuf.ITimestamp|null|undefined} startTime
+ * @memberof google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval
+ * @instance
+ */
+ Interval.prototype.startTime = null;
+
+ /**
+ * Interval conversationCount.
+ * @member {number} conversationCount
+ * @memberof google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval
+ * @instance
+ */
+ Interval.prototype.conversationCount = 0;
+
+ /**
+ * Creates a new Interval instance using the specified properties.
+ * @function create
+ * @memberof google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval
+ * @static
+ * @param {google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.IInterval=} [properties] Properties to set
+ * @returns {google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval} Interval instance
+ */
+ Interval.create = function create(properties) {
+ return new Interval(properties);
+ };
+
+ /**
+ * Encodes the specified Interval message. Does not implicitly {@link google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval.verify|verify} messages.
+ * @function encode
+ * @memberof google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval
+ * @static
+ * @param {google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.IInterval} message Interval message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ Interval.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.startTime != null && Object.hasOwnProperty.call(message, "startTime"))
+ $root.google.protobuf.Timestamp.encode(message.startTime, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
+ if (message.conversationCount != null && Object.hasOwnProperty.call(message, "conversationCount"))
+ writer.uint32(/* id 2, wireType 0 =*/16).int32(message.conversationCount);
+ return writer;
+ };
+
+ /**
+ * Encodes the specified Interval message, length delimited. Does not implicitly {@link google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval
+ * @static
+ * @param {google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.IInterval} message Interval message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ Interval.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes an Interval message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval} Interval
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ Interval.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.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ switch (tag >>> 3) {
+ case 1: {
+ message.startTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32());
+ break;
+ }
+ case 2: {
+ message.conversationCount = reader.int32();
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes an Interval message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval} Interval
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ Interval.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies an Interval message.
+ * @function verify
+ * @memberof google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ Interval.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ if (message.startTime != null && message.hasOwnProperty("startTime")) {
+ var error = $root.google.protobuf.Timestamp.verify(message.startTime);
+ if (error)
+ return "startTime." + error;
+ }
+ if (message.conversationCount != null && message.hasOwnProperty("conversationCount"))
+ if (!$util.isInteger(message.conversationCount))
+ return "conversationCount: integer expected";
+ return null;
+ };
+
+ /**
+ * Creates an Interval message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval} Interval
+ */
+ Interval.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval)
+ return object;
+ var message = new $root.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval();
+ if (object.startTime != null) {
+ if (typeof object.startTime !== "object")
+ throw TypeError(".google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval.startTime: object expected");
+ message.startTime = $root.google.protobuf.Timestamp.fromObject(object.startTime);
+ }
+ if (object.conversationCount != null)
+ message.conversationCount = object.conversationCount | 0;
+ return message;
+ };
+
+ /**
+ * Creates a plain object from an Interval message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval
+ * @static
+ * @param {google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval} message Interval
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ Interval.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.defaults) {
+ object.startTime = null;
+ object.conversationCount = 0;
+ }
+ if (message.startTime != null && message.hasOwnProperty("startTime"))
+ object.startTime = $root.google.protobuf.Timestamp.toObject(message.startTime, options);
+ if (message.conversationCount != null && message.hasOwnProperty("conversationCount"))
+ object.conversationCount = message.conversationCount;
+ return object;
+ };
+
+ /**
+ * Converts this Interval to JSON.
+ * @function toJSON
+ * @memberof google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ Interval.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for Interval
+ * @function getTypeUrl
+ * @memberof google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ Interval.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval";
+ };
+
+ return Interval;
+ })();
+
+ return TimeSeries;
+ })();
+
+ return CalculateStatsResponse;
+ })();
+
+ v1.CreateAnalysisOperationMetadata = (function() {
+
+ /**
+ * Properties of a CreateAnalysisOperationMetadata.
+ * @memberof google.cloud.contactcenterinsights.v1
+ * @interface ICreateAnalysisOperationMetadata
+ * @property {google.protobuf.ITimestamp|null} [createTime] CreateAnalysisOperationMetadata createTime
+ * @property {google.protobuf.ITimestamp|null} [endTime] CreateAnalysisOperationMetadata endTime
+ * @property {string|null} [conversation] CreateAnalysisOperationMetadata conversation
+ */
+
+ /**
+ * Constructs a new CreateAnalysisOperationMetadata.
+ * @memberof google.cloud.contactcenterinsights.v1
+ * @classdesc Represents a CreateAnalysisOperationMetadata.
+ * @implements ICreateAnalysisOperationMetadata
+ * @constructor
+ * @param {google.cloud.contactcenterinsights.v1.ICreateAnalysisOperationMetadata=} [properties] Properties to set
+ */
+ function CreateAnalysisOperationMetadata(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]];
+ }
+
+ /**
+ * CreateAnalysisOperationMetadata createTime.
+ * @member {google.protobuf.ITimestamp|null|undefined} createTime
+ * @memberof google.cloud.contactcenterinsights.v1.CreateAnalysisOperationMetadata
+ * @instance
+ */
+ CreateAnalysisOperationMetadata.prototype.createTime = null;
+
+ /**
+ * CreateAnalysisOperationMetadata endTime.
+ * @member {google.protobuf.ITimestamp|null|undefined} endTime
+ * @memberof google.cloud.contactcenterinsights.v1.CreateAnalysisOperationMetadata
+ * @instance
+ */
+ CreateAnalysisOperationMetadata.prototype.endTime = null;
+
+ /**
+ * CreateAnalysisOperationMetadata conversation.
+ * @member {string} conversation
+ * @memberof google.cloud.contactcenterinsights.v1.CreateAnalysisOperationMetadata
+ * @instance
+ */
+ CreateAnalysisOperationMetadata.prototype.conversation = "";
+
+ /**
+ * Creates a new CreateAnalysisOperationMetadata instance using the specified properties.
+ * @function create
+ * @memberof google.cloud.contactcenterinsights.v1.CreateAnalysisOperationMetadata
+ * @static
+ * @param {google.cloud.contactcenterinsights.v1.ICreateAnalysisOperationMetadata=} [properties] Properties to set
+ * @returns {google.cloud.contactcenterinsights.v1.CreateAnalysisOperationMetadata} CreateAnalysisOperationMetadata instance
+ */
+ CreateAnalysisOperationMetadata.create = function create(properties) {
+ return new CreateAnalysisOperationMetadata(properties);
+ };
+
+ /**
+ * Encodes the specified CreateAnalysisOperationMetadata message. Does not implicitly {@link google.cloud.contactcenterinsights.v1.CreateAnalysisOperationMetadata.verify|verify} messages.
+ * @function encode
+ * @memberof google.cloud.contactcenterinsights.v1.CreateAnalysisOperationMetadata
+ * @static
+ * @param {google.cloud.contactcenterinsights.v1.ICreateAnalysisOperationMetadata} message CreateAnalysisOperationMetadata message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ CreateAnalysisOperationMetadata.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.createTime != null && Object.hasOwnProperty.call(message, "createTime"))
+ $root.google.protobuf.Timestamp.encode(message.createTime, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
+ if (message.endTime != null && Object.hasOwnProperty.call(message, "endTime"))
+ $root.google.protobuf.Timestamp.encode(message.endTime, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
+ if (message.conversation != null && Object.hasOwnProperty.call(message, "conversation"))
+ writer.uint32(/* id 3, wireType 2 =*/26).string(message.conversation);
+ return writer;
+ };
+
+ /**
+ * Encodes the specified CreateAnalysisOperationMetadata message, length delimited. Does not implicitly {@link google.cloud.contactcenterinsights.v1.CreateAnalysisOperationMetadata.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.cloud.contactcenterinsights.v1.CreateAnalysisOperationMetadata
+ * @static
+ * @param {google.cloud.contactcenterinsights.v1.ICreateAnalysisOperationMetadata} message CreateAnalysisOperationMetadata message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ CreateAnalysisOperationMetadata.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes a CreateAnalysisOperationMetadata message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.cloud.contactcenterinsights.v1.CreateAnalysisOperationMetadata
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.cloud.contactcenterinsights.v1.CreateAnalysisOperationMetadata} CreateAnalysisOperationMetadata
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ CreateAnalysisOperationMetadata.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.contactcenterinsights.v1.CreateAnalysisOperationMetadata();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ switch (tag >>> 3) {
+ case 1: {
+ message.createTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32());
+ break;
+ }
+ case 2: {
+ message.endTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32());
+ break;
+ }
+ case 3: {
+ message.conversation = reader.string();
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes a CreateAnalysisOperationMetadata message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.cloud.contactcenterinsights.v1.CreateAnalysisOperationMetadata
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.cloud.contactcenterinsights.v1.CreateAnalysisOperationMetadata} CreateAnalysisOperationMetadata
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ CreateAnalysisOperationMetadata.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies a CreateAnalysisOperationMetadata message.
+ * @function verify
+ * @memberof google.cloud.contactcenterinsights.v1.CreateAnalysisOperationMetadata
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ CreateAnalysisOperationMetadata.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ if (message.createTime != null && message.hasOwnProperty("createTime")) {
+ var error = $root.google.protobuf.Timestamp.verify(message.createTime);
+ if (error)
+ return "createTime." + error;
+ }
+ if (message.endTime != null && message.hasOwnProperty("endTime")) {
+ var error = $root.google.protobuf.Timestamp.verify(message.endTime);
+ if (error)
+ return "endTime." + error;
+ }
+ if (message.conversation != null && message.hasOwnProperty("conversation"))
+ if (!$util.isString(message.conversation))
+ return "conversation: string expected";
+ return null;
+ };
+
+ /**
+ * Creates a CreateAnalysisOperationMetadata message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.cloud.contactcenterinsights.v1.CreateAnalysisOperationMetadata
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.cloud.contactcenterinsights.v1.CreateAnalysisOperationMetadata} CreateAnalysisOperationMetadata
+ */
+ CreateAnalysisOperationMetadata.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.cloud.contactcenterinsights.v1.CreateAnalysisOperationMetadata)
+ return object;
+ var message = new $root.google.cloud.contactcenterinsights.v1.CreateAnalysisOperationMetadata();
+ if (object.createTime != null) {
+ if (typeof object.createTime !== "object")
+ throw TypeError(".google.cloud.contactcenterinsights.v1.CreateAnalysisOperationMetadata.createTime: object expected");
+ message.createTime = $root.google.protobuf.Timestamp.fromObject(object.createTime);
+ }
+ if (object.endTime != null) {
+ if (typeof object.endTime !== "object")
+ throw TypeError(".google.cloud.contactcenterinsights.v1.CreateAnalysisOperationMetadata.endTime: object expected");
+ message.endTime = $root.google.protobuf.Timestamp.fromObject(object.endTime);
+ }
+ if (object.conversation != null)
+ message.conversation = String(object.conversation);
+ return message;
+ };
+
+ /**
+ * Creates a plain object from a CreateAnalysisOperationMetadata message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.cloud.contactcenterinsights.v1.CreateAnalysisOperationMetadata
+ * @static
+ * @param {google.cloud.contactcenterinsights.v1.CreateAnalysisOperationMetadata} message CreateAnalysisOperationMetadata
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ CreateAnalysisOperationMetadata.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.defaults) {
+ object.createTime = null;
+ object.endTime = null;
+ object.conversation = "";
+ }
+ if (message.createTime != null && message.hasOwnProperty("createTime"))
+ object.createTime = $root.google.protobuf.Timestamp.toObject(message.createTime, options);
+ if (message.endTime != null && message.hasOwnProperty("endTime"))
+ object.endTime = $root.google.protobuf.Timestamp.toObject(message.endTime, options);
+ if (message.conversation != null && message.hasOwnProperty("conversation"))
+ object.conversation = message.conversation;
+ return object;
+ };
+
+ /**
+ * Converts this CreateAnalysisOperationMetadata to JSON.
+ * @function toJSON
+ * @memberof google.cloud.contactcenterinsights.v1.CreateAnalysisOperationMetadata
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ CreateAnalysisOperationMetadata.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for CreateAnalysisOperationMetadata
+ * @function getTypeUrl
+ * @memberof google.cloud.contactcenterinsights.v1.CreateAnalysisOperationMetadata
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ CreateAnalysisOperationMetadata.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.cloud.contactcenterinsights.v1.CreateAnalysisOperationMetadata";
+ };
+
+ return CreateAnalysisOperationMetadata;
+ })();
+
+ v1.CreateConversationRequest = (function() {
+
+ /**
+ * Properties of a CreateConversationRequest.
+ * @memberof google.cloud.contactcenterinsights.v1
+ * @interface ICreateConversationRequest
+ * @property {string|null} [parent] CreateConversationRequest parent
+ * @property {google.cloud.contactcenterinsights.v1.IConversation|null} [conversation] CreateConversationRequest conversation
+ * @property {string|null} [conversationId] CreateConversationRequest conversationId
+ */
+
+ /**
+ * Constructs a new CreateConversationRequest.
+ * @memberof google.cloud.contactcenterinsights.v1
+ * @classdesc Represents a CreateConversationRequest.
+ * @implements ICreateConversationRequest
+ * @constructor
+ * @param {google.cloud.contactcenterinsights.v1.ICreateConversationRequest=} [properties] Properties to set
+ */
+ function CreateConversationRequest(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]];
+ }
+
+ /**
+ * CreateConversationRequest parent.
+ * @member {string} parent
+ * @memberof google.cloud.contactcenterinsights.v1.CreateConversationRequest
+ * @instance
+ */
+ CreateConversationRequest.prototype.parent = "";
+
+ /**
+ * CreateConversationRequest conversation.
+ * @member {google.cloud.contactcenterinsights.v1.IConversation|null|undefined} conversation
+ * @memberof google.cloud.contactcenterinsights.v1.CreateConversationRequest
+ * @instance
+ */
+ CreateConversationRequest.prototype.conversation = null;
+
+ /**
+ * CreateConversationRequest conversationId.
+ * @member {string} conversationId
+ * @memberof google.cloud.contactcenterinsights.v1.CreateConversationRequest
+ * @instance
+ */
+ CreateConversationRequest.prototype.conversationId = "";
+
+ /**
+ * Creates a new CreateConversationRequest instance using the specified properties.
+ * @function create
+ * @memberof google.cloud.contactcenterinsights.v1.CreateConversationRequest
+ * @static
+ * @param {google.cloud.contactcenterinsights.v1.ICreateConversationRequest=} [properties] Properties to set
+ * @returns {google.cloud.contactcenterinsights.v1.CreateConversationRequest} CreateConversationRequest instance
+ */
+ CreateConversationRequest.create = function create(properties) {
+ return new CreateConversationRequest(properties);
+ };
+
+ /**
+ * Encodes the specified CreateConversationRequest message. Does not implicitly {@link google.cloud.contactcenterinsights.v1.CreateConversationRequest.verify|verify} messages.
+ * @function encode
+ * @memberof google.cloud.contactcenterinsights.v1.CreateConversationRequest
+ * @static
+ * @param {google.cloud.contactcenterinsights.v1.ICreateConversationRequest} message CreateConversationRequest message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ CreateConversationRequest.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.conversation != null && Object.hasOwnProperty.call(message, "conversation"))
+ $root.google.cloud.contactcenterinsights.v1.Conversation.encode(message.conversation, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
+ if (message.conversationId != null && Object.hasOwnProperty.call(message, "conversationId"))
+ writer.uint32(/* id 3, wireType 2 =*/26).string(message.conversationId);
+ return writer;
+ };
+
+ /**
+ * Encodes the specified CreateConversationRequest message, length delimited. Does not implicitly {@link google.cloud.contactcenterinsights.v1.CreateConversationRequest.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.cloud.contactcenterinsights.v1.CreateConversationRequest
+ * @static
+ * @param {google.cloud.contactcenterinsights.v1.ICreateConversationRequest} message CreateConversationRequest message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ CreateConversationRequest.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes a CreateConversationRequest message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.cloud.contactcenterinsights.v1.CreateConversationRequest
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.cloud.contactcenterinsights.v1.CreateConversationRequest} CreateConversationRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ CreateConversationRequest.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.contactcenterinsights.v1.CreateConversationRequest();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ switch (tag >>> 3) {
+ case 1: {
+ message.parent = reader.string();
+ break;
+ }
+ case 2: {
+ message.conversation = $root.google.cloud.contactcenterinsights.v1.Conversation.decode(reader, reader.uint32());
+ break;
+ }
+ case 3: {
+ message.conversationId = reader.string();
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes a CreateConversationRequest message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.cloud.contactcenterinsights.v1.CreateConversationRequest
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.cloud.contactcenterinsights.v1.CreateConversationRequest} CreateConversationRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ CreateConversationRequest.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies a CreateConversationRequest message.
+ * @function verify
+ * @memberof google.cloud.contactcenterinsights.v1.CreateConversationRequest
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ CreateConversationRequest.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.conversation != null && message.hasOwnProperty("conversation")) {
+ var error = $root.google.cloud.contactcenterinsights.v1.Conversation.verify(message.conversation);
+ if (error)
+ return "conversation." + error;
+ }
+ if (message.conversationId != null && message.hasOwnProperty("conversationId"))
+ if (!$util.isString(message.conversationId))
+ return "conversationId: string expected";
+ return null;
+ };
+
+ /**
+ * Creates a CreateConversationRequest message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.cloud.contactcenterinsights.v1.CreateConversationRequest
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.cloud.contactcenterinsights.v1.CreateConversationRequest} CreateConversationRequest
+ */
+ CreateConversationRequest.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.cloud.contactcenterinsights.v1.CreateConversationRequest)
+ return object;
+ var message = new $root.google.cloud.contactcenterinsights.v1.CreateConversationRequest();
+ if (object.parent != null)
+ message.parent = String(object.parent);
+ if (object.conversation != null) {
+ if (typeof object.conversation !== "object")
+ throw TypeError(".google.cloud.contactcenterinsights.v1.CreateConversationRequest.conversation: object expected");
+ message.conversation = $root.google.cloud.contactcenterinsights.v1.Conversation.fromObject(object.conversation);
+ }
+ if (object.conversationId != null)
+ message.conversationId = String(object.conversationId);
+ return message;
+ };
+
+ /**
+ * Creates a plain object from a CreateConversationRequest message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.cloud.contactcenterinsights.v1.CreateConversationRequest
+ * @static
+ * @param {google.cloud.contactcenterinsights.v1.CreateConversationRequest} message CreateConversationRequest
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ CreateConversationRequest.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.defaults) {
+ object.parent = "";
+ object.conversation = null;
+ object.conversationId = "";
+ }
+ if (message.parent != null && message.hasOwnProperty("parent"))
+ object.parent = message.parent;
+ if (message.conversation != null && message.hasOwnProperty("conversation"))
+ object.conversation = $root.google.cloud.contactcenterinsights.v1.Conversation.toObject(message.conversation, options);
+ if (message.conversationId != null && message.hasOwnProperty("conversationId"))
+ object.conversationId = message.conversationId;
+ return object;
+ };
+
+ /**
+ * Converts this CreateConversationRequest to JSON.
+ * @function toJSON
+ * @memberof google.cloud.contactcenterinsights.v1.CreateConversationRequest
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ CreateConversationRequest.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for CreateConversationRequest
+ * @function getTypeUrl
+ * @memberof google.cloud.contactcenterinsights.v1.CreateConversationRequest
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ CreateConversationRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.cloud.contactcenterinsights.v1.CreateConversationRequest";
+ };
+
+ return CreateConversationRequest;
+ })();
+
+ v1.ListConversationsRequest = (function() {
+
+ /**
+ * Properties of a ListConversationsRequest.
+ * @memberof google.cloud.contactcenterinsights.v1
+ * @interface IListConversationsRequest
+ * @property {string|null} [parent] ListConversationsRequest parent
+ * @property {number|null} [pageSize] ListConversationsRequest pageSize
+ * @property {string|null} [pageToken] ListConversationsRequest pageToken
+ * @property {string|null} [filter] ListConversationsRequest filter
+ * @property {google.cloud.contactcenterinsights.v1.ConversationView|null} [view] ListConversationsRequest view
+ */
+
+ /**
+ * Constructs a new ListConversationsRequest.
+ * @memberof google.cloud.contactcenterinsights.v1
+ * @classdesc Represents a ListConversationsRequest.
+ * @implements IListConversationsRequest
+ * @constructor
+ * @param {google.cloud.contactcenterinsights.v1.IListConversationsRequest=} [properties] Properties to set
+ */
+ function ListConversationsRequest(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]];
+ }
+
+ /**
+ * ListConversationsRequest parent.
+ * @member {string} parent
+ * @memberof google.cloud.contactcenterinsights.v1.ListConversationsRequest
+ * @instance
+ */
+ ListConversationsRequest.prototype.parent = "";
+
+ /**
+ * ListConversationsRequest pageSize.
+ * @member {number} pageSize
+ * @memberof google.cloud.contactcenterinsights.v1.ListConversationsRequest
+ * @instance
+ */
+ ListConversationsRequest.prototype.pageSize = 0;
+
+ /**
+ * ListConversationsRequest pageToken.
+ * @member {string} pageToken
+ * @memberof google.cloud.contactcenterinsights.v1.ListConversationsRequest
+ * @instance
+ */
+ ListConversationsRequest.prototype.pageToken = "";
+
+ /**
+ * ListConversationsRequest filter.
+ * @member {string} filter
+ * @memberof google.cloud.contactcenterinsights.v1.ListConversationsRequest
+ * @instance
+ */
+ ListConversationsRequest.prototype.filter = "";
+
+ /**
+ * ListConversationsRequest view.
+ * @member {google.cloud.contactcenterinsights.v1.ConversationView} view
+ * @memberof google.cloud.contactcenterinsights.v1.ListConversationsRequest
+ * @instance
+ */
+ ListConversationsRequest.prototype.view = 0;
+
+ /**
+ * Creates a new ListConversationsRequest instance using the specified properties.
+ * @function create
+ * @memberof google.cloud.contactcenterinsights.v1.ListConversationsRequest
+ * @static
+ * @param {google.cloud.contactcenterinsights.v1.IListConversationsRequest=} [properties] Properties to set
+ * @returns {google.cloud.contactcenterinsights.v1.ListConversationsRequest} ListConversationsRequest instance
+ */
+ ListConversationsRequest.create = function create(properties) {
+ return new ListConversationsRequest(properties);
+ };
+
+ /**
+ * Encodes the specified ListConversationsRequest message. Does not implicitly {@link google.cloud.contactcenterinsights.v1.ListConversationsRequest.verify|verify} messages.
+ * @function encode
+ * @memberof google.cloud.contactcenterinsights.v1.ListConversationsRequest
+ * @static
+ * @param {google.cloud.contactcenterinsights.v1.IListConversationsRequest} message ListConversationsRequest message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ ListConversationsRequest.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.parent != null && Object.hasOwnProperty.call(message, "parent"))
+ writer.uint32(/* id 1, wireType 2 =*/10).string(message.parent);
+ if (message.pageSize != null && Object.hasOwnProperty.call(message, "pageSize"))
+ writer.uint32(/* id 2, wireType 0 =*/16).int32(message.pageSize);
+ if (message.pageToken != null && Object.hasOwnProperty.call(message, "pageToken"))
+ writer.uint32(/* id 3, wireType 2 =*/26).string(message.pageToken);
+ if (message.filter != null && Object.hasOwnProperty.call(message, "filter"))
+ writer.uint32(/* id 4, wireType 2 =*/34).string(message.filter);
+ if (message.view != null && Object.hasOwnProperty.call(message, "view"))
+ writer.uint32(/* id 5, wireType 0 =*/40).int32(message.view);
+ return writer;
+ };
+
+ /**
+ * Encodes the specified ListConversationsRequest message, length delimited. Does not implicitly {@link google.cloud.contactcenterinsights.v1.ListConversationsRequest.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.cloud.contactcenterinsights.v1.ListConversationsRequest
+ * @static
+ * @param {google.cloud.contactcenterinsights.v1.IListConversationsRequest} message ListConversationsRequest message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ ListConversationsRequest.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes a ListConversationsRequest message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.cloud.contactcenterinsights.v1.ListConversationsRequest
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.cloud.contactcenterinsights.v1.ListConversationsRequest} ListConversationsRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ ListConversationsRequest.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.contactcenterinsights.v1.ListConversationsRequest();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ switch (tag >>> 3) {
+ case 1: {
+ message.parent = reader.string();
+ break;
+ }
+ case 2: {
+ message.pageSize = reader.int32();
+ break;
+ }
+ case 3: {
+ message.pageToken = reader.string();
+ break;
+ }
+ case 4: {
+ message.filter = reader.string();
+ break;
+ }
+ case 5: {
+ message.view = reader.int32();
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes a ListConversationsRequest message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.cloud.contactcenterinsights.v1.ListConversationsRequest
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.cloud.contactcenterinsights.v1.ListConversationsRequest} ListConversationsRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ ListConversationsRequest.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies a ListConversationsRequest message.
+ * @function verify
+ * @memberof google.cloud.contactcenterinsights.v1.ListConversationsRequest
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ ListConversationsRequest.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ if (message.parent != null && message.hasOwnProperty("parent"))
+ if (!$util.isString(message.parent))
+ return "parent: string expected";
+ if (message.pageSize != null && message.hasOwnProperty("pageSize"))
+ if (!$util.isInteger(message.pageSize))
+ return "pageSize: integer expected";
+ if (message.pageToken != null && message.hasOwnProperty("pageToken"))
+ if (!$util.isString(message.pageToken))
+ return "pageToken: string expected";
+ if (message.filter != null && message.hasOwnProperty("filter"))
+ if (!$util.isString(message.filter))
+ return "filter: string expected";
+ if (message.view != null && message.hasOwnProperty("view"))
+ switch (message.view) {
+ default:
+ return "view: enum value expected";
+ case 0:
+ case 2:
+ case 1:
+ break;
+ }
+ return null;
+ };
+
+ /**
+ * Creates a ListConversationsRequest message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.cloud.contactcenterinsights.v1.ListConversationsRequest
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.cloud.contactcenterinsights.v1.ListConversationsRequest} ListConversationsRequest
+ */
+ ListConversationsRequest.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.cloud.contactcenterinsights.v1.ListConversationsRequest)
+ return object;
+ var message = new $root.google.cloud.contactcenterinsights.v1.ListConversationsRequest();
+ if (object.parent != null)
+ message.parent = String(object.parent);
+ if (object.pageSize != null)
+ message.pageSize = object.pageSize | 0;
+ if (object.pageToken != null)
+ message.pageToken = String(object.pageToken);
+ if (object.filter != null)
+ message.filter = String(object.filter);
+ switch (object.view) {
+ default:
+ if (typeof object.view === "number") {
+ message.view = object.view;
+ break;
+ }
+ break;
+ case "CONVERSATION_VIEW_UNSPECIFIED":
+ case 0:
+ message.view = 0;
+ break;
+ case "FULL":
+ case 2:
+ message.view = 2;
+ break;
+ case "BASIC":
+ case 1:
+ message.view = 1;
+ break;
+ }
+ return message;
+ };
+
+ /**
+ * Creates a plain object from a ListConversationsRequest message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.cloud.contactcenterinsights.v1.ListConversationsRequest
+ * @static
+ * @param {google.cloud.contactcenterinsights.v1.ListConversationsRequest} message ListConversationsRequest
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ ListConversationsRequest.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.defaults) {
+ object.parent = "";
+ object.pageSize = 0;
+ object.pageToken = "";
+ object.filter = "";
+ object.view = options.enums === String ? "CONVERSATION_VIEW_UNSPECIFIED" : 0;
+ }
+ if (message.parent != null && message.hasOwnProperty("parent"))
+ object.parent = message.parent;
+ if (message.pageSize != null && message.hasOwnProperty("pageSize"))
+ object.pageSize = message.pageSize;
+ if (message.pageToken != null && message.hasOwnProperty("pageToken"))
+ object.pageToken = message.pageToken;
+ if (message.filter != null && message.hasOwnProperty("filter"))
+ object.filter = message.filter;
+ if (message.view != null && message.hasOwnProperty("view"))
+ object.view = options.enums === String ? $root.google.cloud.contactcenterinsights.v1.ConversationView[message.view] === undefined ? message.view : $root.google.cloud.contactcenterinsights.v1.ConversationView[message.view] : message.view;
+ return object;
+ };
+
+ /**
+ * Converts this ListConversationsRequest to JSON.
+ * @function toJSON
+ * @memberof google.cloud.contactcenterinsights.v1.ListConversationsRequest
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ ListConversationsRequest.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for ListConversationsRequest
+ * @function getTypeUrl
+ * @memberof google.cloud.contactcenterinsights.v1.ListConversationsRequest
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ ListConversationsRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.cloud.contactcenterinsights.v1.ListConversationsRequest";
+ };
+
+ return ListConversationsRequest;
+ })();
+
+ v1.ListConversationsResponse = (function() {
+
+ /**
+ * Properties of a ListConversationsResponse.
+ * @memberof google.cloud.contactcenterinsights.v1
+ * @interface IListConversationsResponse
+ * @property {Array.|null} [conversations] ListConversationsResponse conversations
+ * @property {string|null} [nextPageToken] ListConversationsResponse nextPageToken
+ */
+
+ /**
+ * Constructs a new ListConversationsResponse.
+ * @memberof google.cloud.contactcenterinsights.v1
+ * @classdesc Represents a ListConversationsResponse.
+ * @implements IListConversationsResponse
+ * @constructor
+ * @param {google.cloud.contactcenterinsights.v1.IListConversationsResponse=} [properties] Properties to set
+ */
+ function ListConversationsResponse(properties) {
+ this.conversations = [];
+ 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]];
+ }
+
+ /**
+ * ListConversationsResponse conversations.
+ * @member {Array.} conversations
+ * @memberof google.cloud.contactcenterinsights.v1.ListConversationsResponse
+ * @instance
+ */
+ ListConversationsResponse.prototype.conversations = $util.emptyArray;
+
+ /**
+ * ListConversationsResponse nextPageToken.
+ * @member {string} nextPageToken
+ * @memberof google.cloud.contactcenterinsights.v1.ListConversationsResponse
+ * @instance
+ */
+ ListConversationsResponse.prototype.nextPageToken = "";
+
+ /**
+ * Creates a new ListConversationsResponse instance using the specified properties.
+ * @function create
+ * @memberof google.cloud.contactcenterinsights.v1.ListConversationsResponse
+ * @static
+ * @param {google.cloud.contactcenterinsights.v1.IListConversationsResponse=} [properties] Properties to set
+ * @returns {google.cloud.contactcenterinsights.v1.ListConversationsResponse} ListConversationsResponse instance
+ */
+ ListConversationsResponse.create = function create(properties) {
+ return new ListConversationsResponse(properties);
+ };
+
+ /**
+ * Encodes the specified ListConversationsResponse message. Does not implicitly {@link google.cloud.contactcenterinsights.v1.ListConversationsResponse.verify|verify} messages.
+ * @function encode
+ * @memberof google.cloud.contactcenterinsights.v1.ListConversationsResponse
+ * @static
+ * @param {google.cloud.contactcenterinsights.v1.IListConversationsResponse} message ListConversationsResponse message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ ListConversationsResponse.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.conversations != null && message.conversations.length)
+ for (var i = 0; i < message.conversations.length; ++i)
+ $root.google.cloud.contactcenterinsights.v1.Conversation.encode(message.conversations[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 ListConversationsResponse message, length delimited. Does not implicitly {@link google.cloud.contactcenterinsights.v1.ListConversationsResponse.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.cloud.contactcenterinsights.v1.ListConversationsResponse
+ * @static
+ * @param {google.cloud.contactcenterinsights.v1.IListConversationsResponse} message ListConversationsResponse message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ ListConversationsResponse.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes a ListConversationsResponse message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.cloud.contactcenterinsights.v1.ListConversationsResponse
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.cloud.contactcenterinsights.v1.ListConversationsResponse} ListConversationsResponse
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ ListConversationsResponse.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.contactcenterinsights.v1.ListConversationsResponse();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ switch (tag >>> 3) {
+ case 1: {
+ if (!(message.conversations && message.conversations.length))
+ message.conversations = [];
+ message.conversations.push($root.google.cloud.contactcenterinsights.v1.Conversation.decode(reader, reader.uint32()));
+ break;
+ }
+ case 2: {
+ message.nextPageToken = reader.string();
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes a ListConversationsResponse message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.cloud.contactcenterinsights.v1.ListConversationsResponse
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.cloud.contactcenterinsights.v1.ListConversationsResponse} ListConversationsResponse
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ ListConversationsResponse.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies a ListConversationsResponse message.
+ * @function verify
+ * @memberof google.cloud.contactcenterinsights.v1.ListConversationsResponse
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ ListConversationsResponse.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ if (message.conversations != null && message.hasOwnProperty("conversations")) {
+ if (!Array.isArray(message.conversations))
+ return "conversations: array expected";
+ for (var i = 0; i < message.conversations.length; ++i) {
+ var error = $root.google.cloud.contactcenterinsights.v1.Conversation.verify(message.conversations[i]);
+ if (error)
+ return "conversations." + error;
+ }
+ }
+ if (message.nextPageToken != null && message.hasOwnProperty("nextPageToken"))
+ if (!$util.isString(message.nextPageToken))
+ return "nextPageToken: string expected";
+ return null;
+ };
+
+ /**
+ * Creates a ListConversationsResponse message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.cloud.contactcenterinsights.v1.ListConversationsResponse
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.cloud.contactcenterinsights.v1.ListConversationsResponse} ListConversationsResponse
+ */
+ ListConversationsResponse.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.cloud.contactcenterinsights.v1.ListConversationsResponse)
+ return object;
+ var message = new $root.google.cloud.contactcenterinsights.v1.ListConversationsResponse();
+ if (object.conversations) {
+ if (!Array.isArray(object.conversations))
+ throw TypeError(".google.cloud.contactcenterinsights.v1.ListConversationsResponse.conversations: array expected");
+ message.conversations = [];
+ for (var i = 0; i < object.conversations.length; ++i) {
+ if (typeof object.conversations[i] !== "object")
+ throw TypeError(".google.cloud.contactcenterinsights.v1.ListConversationsResponse.conversations: object expected");
+ message.conversations[i] = $root.google.cloud.contactcenterinsights.v1.Conversation.fromObject(object.conversations[i]);
+ }
+ }
+ if (object.nextPageToken != null)
+ message.nextPageToken = String(object.nextPageToken);
+ return message;
+ };
+
+ /**
+ * Creates a plain object from a ListConversationsResponse message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.cloud.contactcenterinsights.v1.ListConversationsResponse
+ * @static
+ * @param {google.cloud.contactcenterinsights.v1.ListConversationsResponse} message ListConversationsResponse
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ ListConversationsResponse.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.arrays || options.defaults)
+ object.conversations = [];
+ if (options.defaults)
+ object.nextPageToken = "";
+ if (message.conversations && message.conversations.length) {
+ object.conversations = [];
+ for (var j = 0; j < message.conversations.length; ++j)
+ object.conversations[j] = $root.google.cloud.contactcenterinsights.v1.Conversation.toObject(message.conversations[j], options);
+ }
+ if (message.nextPageToken != null && message.hasOwnProperty("nextPageToken"))
+ object.nextPageToken = message.nextPageToken;
+ return object;
+ };
+
+ /**
+ * Converts this ListConversationsResponse to JSON.
+ * @function toJSON
+ * @memberof google.cloud.contactcenterinsights.v1.ListConversationsResponse
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ ListConversationsResponse.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for ListConversationsResponse
+ * @function getTypeUrl
+ * @memberof google.cloud.contactcenterinsights.v1.ListConversationsResponse
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ ListConversationsResponse.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.cloud.contactcenterinsights.v1.ListConversationsResponse";
+ };
+
+ return ListConversationsResponse;
+ })();
+
+ v1.GetConversationRequest = (function() {
+
+ /**
+ * Properties of a GetConversationRequest.
+ * @memberof google.cloud.contactcenterinsights.v1
+ * @interface IGetConversationRequest
+ * @property {string|null} [name] GetConversationRequest name
+ * @property {google.cloud.contactcenterinsights.v1.ConversationView|null} [view] GetConversationRequest view
+ */
+
+ /**
+ * Constructs a new GetConversationRequest.
+ * @memberof google.cloud.contactcenterinsights.v1
+ * @classdesc Represents a GetConversationRequest.
+ * @implements IGetConversationRequest
+ * @constructor
+ * @param {google.cloud.contactcenterinsights.v1.IGetConversationRequest=} [properties] Properties to set
+ */
+ function GetConversationRequest(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]];
+ }
+
+ /**
+ * GetConversationRequest name.
+ * @member {string} name
+ * @memberof google.cloud.contactcenterinsights.v1.GetConversationRequest
+ * @instance
+ */
+ GetConversationRequest.prototype.name = "";
+
+ /**
+ * GetConversationRequest view.
+ * @member {google.cloud.contactcenterinsights.v1.ConversationView} view
+ * @memberof google.cloud.contactcenterinsights.v1.GetConversationRequest
+ * @instance
+ */
+ GetConversationRequest.prototype.view = 0;
+
+ /**
+ * Creates a new GetConversationRequest instance using the specified properties.
+ * @function create
+ * @memberof google.cloud.contactcenterinsights.v1.GetConversationRequest
+ * @static
+ * @param {google.cloud.contactcenterinsights.v1.IGetConversationRequest=} [properties] Properties to set
+ * @returns {google.cloud.contactcenterinsights.v1.GetConversationRequest} GetConversationRequest instance
+ */
+ GetConversationRequest.create = function create(properties) {
+ return new GetConversationRequest(properties);
+ };
+
+ /**
+ * Encodes the specified GetConversationRequest message. Does not implicitly {@link google.cloud.contactcenterinsights.v1.GetConversationRequest.verify|verify} messages.
+ * @function encode
+ * @memberof google.cloud.contactcenterinsights.v1.GetConversationRequest
+ * @static
+ * @param {google.cloud.contactcenterinsights.v1.IGetConversationRequest} message GetConversationRequest message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ GetConversationRequest.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.name != null && Object.hasOwnProperty.call(message, "name"))
+ writer.uint32(/* id 1, wireType 2 =*/10).string(message.name);
+ if (message.view != null && Object.hasOwnProperty.call(message, "view"))
+ writer.uint32(/* id 2, wireType 0 =*/16).int32(message.view);
+ return writer;
+ };
+
+ /**
+ * Encodes the specified GetConversationRequest message, length delimited. Does not implicitly {@link google.cloud.contactcenterinsights.v1.GetConversationRequest.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.cloud.contactcenterinsights.v1.GetConversationRequest
+ * @static
+ * @param {google.cloud.contactcenterinsights.v1.IGetConversationRequest} message GetConversationRequest message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ GetConversationRequest.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes a GetConversationRequest message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.cloud.contactcenterinsights.v1.GetConversationRequest
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.cloud.contactcenterinsights.v1.GetConversationRequest} GetConversationRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ GetConversationRequest.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.contactcenterinsights.v1.GetConversationRequest();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ switch (tag >>> 3) {
+ case 1: {
+ message.name = reader.string();
+ break;
+ }
+ case 2: {
+ message.view = reader.int32();
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes a GetConversationRequest message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.cloud.contactcenterinsights.v1.GetConversationRequest
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.cloud.contactcenterinsights.v1.GetConversationRequest} GetConversationRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ GetConversationRequest.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies a GetConversationRequest message.
+ * @function verify
+ * @memberof google.cloud.contactcenterinsights.v1.GetConversationRequest
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ GetConversationRequest.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ if (message.name != null && message.hasOwnProperty("name"))
+ if (!$util.isString(message.name))
+ return "name: string expected";
+ if (message.view != null && message.hasOwnProperty("view"))
+ switch (message.view) {
+ default:
+ return "view: enum value expected";
+ case 0:
+ case 2:
+ case 1:
+ break;
+ }
+ return null;
+ };
+
+ /**
+ * Creates a GetConversationRequest message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.cloud.contactcenterinsights.v1.GetConversationRequest
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.cloud.contactcenterinsights.v1.GetConversationRequest} GetConversationRequest
+ */
+ GetConversationRequest.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.cloud.contactcenterinsights.v1.GetConversationRequest)
+ return object;
+ var message = new $root.google.cloud.contactcenterinsights.v1.GetConversationRequest();
+ if (object.name != null)
+ message.name = String(object.name);
+ switch (object.view) {
+ default:
+ if (typeof object.view === "number") {
+ message.view = object.view;
+ break;
+ }
+ break;
+ case "CONVERSATION_VIEW_UNSPECIFIED":
+ case 0:
+ message.view = 0;
+ break;
+ case "FULL":
+ case 2:
+ message.view = 2;
+ break;
+ case "BASIC":
+ case 1:
+ message.view = 1;
+ break;
+ }
+ return message;
+ };
+
+ /**
+ * Creates a plain object from a GetConversationRequest message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.cloud.contactcenterinsights.v1.GetConversationRequest
+ * @static
+ * @param {google.cloud.contactcenterinsights.v1.GetConversationRequest} message GetConversationRequest
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ GetConversationRequest.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.defaults) {
+ object.name = "";
+ object.view = options.enums === String ? "CONVERSATION_VIEW_UNSPECIFIED" : 0;
+ }
+ if (message.name != null && message.hasOwnProperty("name"))
+ object.name = message.name;
+ if (message.view != null && message.hasOwnProperty("view"))
+ object.view = options.enums === String ? $root.google.cloud.contactcenterinsights.v1.ConversationView[message.view] === undefined ? message.view : $root.google.cloud.contactcenterinsights.v1.ConversationView[message.view] : message.view;
+ return object;
+ };
+
+ /**
+ * Converts this GetConversationRequest to JSON.
+ * @function toJSON
+ * @memberof google.cloud.contactcenterinsights.v1.GetConversationRequest
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ GetConversationRequest.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for GetConversationRequest
+ * @function getTypeUrl
+ * @memberof google.cloud.contactcenterinsights.v1.GetConversationRequest
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ GetConversationRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.cloud.contactcenterinsights.v1.GetConversationRequest";
+ };
+
+ return GetConversationRequest;
+ })();
+
+ v1.UpdateConversationRequest = (function() {
+
+ /**
+ * Properties of an UpdateConversationRequest.
+ * @memberof google.cloud.contactcenterinsights.v1
+ * @interface IUpdateConversationRequest
+ * @property {google.cloud.contactcenterinsights.v1.IConversation|null} [conversation] UpdateConversationRequest conversation
+ * @property {google.protobuf.IFieldMask|null} [updateMask] UpdateConversationRequest updateMask
+ */
+
+ /**
+ * Constructs a new UpdateConversationRequest.
+ * @memberof google.cloud.contactcenterinsights.v1
+ * @classdesc Represents an UpdateConversationRequest.
+ * @implements IUpdateConversationRequest
+ * @constructor
+ * @param {google.cloud.contactcenterinsights.v1.IUpdateConversationRequest=} [properties] Properties to set
+ */
+ function UpdateConversationRequest(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]];
+ }
+
+ /**
+ * UpdateConversationRequest conversation.
+ * @member {google.cloud.contactcenterinsights.v1.IConversation|null|undefined} conversation
+ * @memberof google.cloud.contactcenterinsights.v1.UpdateConversationRequest
+ * @instance
+ */
+ UpdateConversationRequest.prototype.conversation = null;
+
+ /**
+ * UpdateConversationRequest updateMask.
+ * @member {google.protobuf.IFieldMask|null|undefined} updateMask
+ * @memberof google.cloud.contactcenterinsights.v1.UpdateConversationRequest
+ * @instance
+ */
+ UpdateConversationRequest.prototype.updateMask = null;
+
+ /**
+ * Creates a new UpdateConversationRequest instance using the specified properties.
+ * @function create
+ * @memberof google.cloud.contactcenterinsights.v1.UpdateConversationRequest
+ * @static
+ * @param {google.cloud.contactcenterinsights.v1.IUpdateConversationRequest=} [properties] Properties to set
+ * @returns {google.cloud.contactcenterinsights.v1.UpdateConversationRequest} UpdateConversationRequest instance
+ */
+ UpdateConversationRequest.create = function create(properties) {
+ return new UpdateConversationRequest(properties);
+ };
+
+ /**
+ * Encodes the specified UpdateConversationRequest message. Does not implicitly {@link google.cloud.contactcenterinsights.v1.UpdateConversationRequest.verify|verify} messages.
+ * @function encode
+ * @memberof google.cloud.contactcenterinsights.v1.UpdateConversationRequest
+ * @static
+ * @param {google.cloud.contactcenterinsights.v1.IUpdateConversationRequest} message UpdateConversationRequest message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ UpdateConversationRequest.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.conversation != null && Object.hasOwnProperty.call(message, "conversation"))
+ $root.google.cloud.contactcenterinsights.v1.Conversation.encode(message.conversation, 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 UpdateConversationRequest message, length delimited. Does not implicitly {@link google.cloud.contactcenterinsights.v1.UpdateConversationRequest.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.cloud.contactcenterinsights.v1.UpdateConversationRequest
+ * @static
+ * @param {google.cloud.contactcenterinsights.v1.IUpdateConversationRequest} message UpdateConversationRequest message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ UpdateConversationRequest.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes an UpdateConversationRequest message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.cloud.contactcenterinsights.v1.UpdateConversationRequest
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.cloud.contactcenterinsights.v1.UpdateConversationRequest} UpdateConversationRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ UpdateConversationRequest.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.contactcenterinsights.v1.UpdateConversationRequest();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ switch (tag >>> 3) {
+ case 1: {
+ message.conversation = $root.google.cloud.contactcenterinsights.v1.Conversation.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 UpdateConversationRequest message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.cloud.contactcenterinsights.v1.UpdateConversationRequest
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.cloud.contactcenterinsights.v1.UpdateConversationRequest} UpdateConversationRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ UpdateConversationRequest.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies an UpdateConversationRequest message.
+ * @function verify
+ * @memberof google.cloud.contactcenterinsights.v1.UpdateConversationRequest
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ UpdateConversationRequest.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ if (message.conversation != null && message.hasOwnProperty("conversation")) {
+ var error = $root.google.cloud.contactcenterinsights.v1.Conversation.verify(message.conversation);
+ if (error)
+ return "conversation." + 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 UpdateConversationRequest message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.cloud.contactcenterinsights.v1.UpdateConversationRequest
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.cloud.contactcenterinsights.v1.UpdateConversationRequest} UpdateConversationRequest
+ */
+ UpdateConversationRequest.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.cloud.contactcenterinsights.v1.UpdateConversationRequest)
+ return object;
+ var message = new $root.google.cloud.contactcenterinsights.v1.UpdateConversationRequest();
+ if (object.conversation != null) {
+ if (typeof object.conversation !== "object")
+ throw TypeError(".google.cloud.contactcenterinsights.v1.UpdateConversationRequest.conversation: object expected");
+ message.conversation = $root.google.cloud.contactcenterinsights.v1.Conversation.fromObject(object.conversation);
+ }
+ if (object.updateMask != null) {
+ if (typeof object.updateMask !== "object")
+ throw TypeError(".google.cloud.contactcenterinsights.v1.UpdateConversationRequest.updateMask: object expected");
+ message.updateMask = $root.google.protobuf.FieldMask.fromObject(object.updateMask);
+ }
+ return message;
+ };
+
+ /**
+ * Creates a plain object from an UpdateConversationRequest message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.cloud.contactcenterinsights.v1.UpdateConversationRequest
+ * @static
+ * @param {google.cloud.contactcenterinsights.v1.UpdateConversationRequest} message UpdateConversationRequest
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ UpdateConversationRequest.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.defaults) {
+ object.conversation = null;
+ object.updateMask = null;
+ }
+ if (message.conversation != null && message.hasOwnProperty("conversation"))
+ object.conversation = $root.google.cloud.contactcenterinsights.v1.Conversation.toObject(message.conversation, options);
+ if (message.updateMask != null && message.hasOwnProperty("updateMask"))
+ object.updateMask = $root.google.protobuf.FieldMask.toObject(message.updateMask, options);
+ return object;
+ };
+
+ /**
+ * Converts this UpdateConversationRequest to JSON.
+ * @function toJSON
+ * @memberof google.cloud.contactcenterinsights.v1.UpdateConversationRequest
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ UpdateConversationRequest.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for UpdateConversationRequest
+ * @function getTypeUrl
+ * @memberof google.cloud.contactcenterinsights.v1.UpdateConversationRequest
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ UpdateConversationRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.cloud.contactcenterinsights.v1.UpdateConversationRequest";
+ };
+
+ return UpdateConversationRequest;
+ })();
+
+ v1.DeleteConversationRequest = (function() {
+
+ /**
+ * Properties of a DeleteConversationRequest.
+ * @memberof google.cloud.contactcenterinsights.v1
+ * @interface IDeleteConversationRequest
+ * @property {string|null} [name] DeleteConversationRequest name
+ * @property {boolean|null} [force] DeleteConversationRequest force
+ */
+
+ /**
+ * Constructs a new DeleteConversationRequest.
+ * @memberof google.cloud.contactcenterinsights.v1
+ * @classdesc Represents a DeleteConversationRequest.
+ * @implements IDeleteConversationRequest
+ * @constructor
+ * @param {google.cloud.contactcenterinsights.v1.IDeleteConversationRequest=} [properties] Properties to set
+ */
+ function DeleteConversationRequest(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]];
+ }
+
+ /**
+ * DeleteConversationRequest name.
+ * @member {string} name
+ * @memberof google.cloud.contactcenterinsights.v1.DeleteConversationRequest
+ * @instance
+ */
+ DeleteConversationRequest.prototype.name = "";
+
+ /**
+ * DeleteConversationRequest force.
+ * @member {boolean} force
+ * @memberof google.cloud.contactcenterinsights.v1.DeleteConversationRequest
+ * @instance
+ */
+ DeleteConversationRequest.prototype.force = false;
+
+ /**
+ * Creates a new DeleteConversationRequest instance using the specified properties.
+ * @function create
+ * @memberof google.cloud.contactcenterinsights.v1.DeleteConversationRequest
+ * @static
+ * @param {google.cloud.contactcenterinsights.v1.IDeleteConversationRequest=} [properties] Properties to set
+ * @returns {google.cloud.contactcenterinsights.v1.DeleteConversationRequest} DeleteConversationRequest instance
+ */
+ DeleteConversationRequest.create = function create(properties) {
+ return new DeleteConversationRequest(properties);
+ };
+
+ /**
+ * Encodes the specified DeleteConversationRequest message. Does not implicitly {@link google.cloud.contactcenterinsights.v1.DeleteConversationRequest.verify|verify} messages.
+ * @function encode
+ * @memberof google.cloud.contactcenterinsights.v1.DeleteConversationRequest
+ * @static
+ * @param {google.cloud.contactcenterinsights.v1.IDeleteConversationRequest} message DeleteConversationRequest message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ DeleteConversationRequest.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 DeleteConversationRequest message, length delimited. Does not implicitly {@link google.cloud.contactcenterinsights.v1.DeleteConversationRequest.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.cloud.contactcenterinsights.v1.DeleteConversationRequest
+ * @static
+ * @param {google.cloud.contactcenterinsights.v1.IDeleteConversationRequest} message DeleteConversationRequest message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ DeleteConversationRequest.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes a DeleteConversationRequest message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.cloud.contactcenterinsights.v1.DeleteConversationRequest
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.cloud.contactcenterinsights.v1.DeleteConversationRequest} DeleteConversationRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ DeleteConversationRequest.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.contactcenterinsights.v1.DeleteConversationRequest();
+ 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 DeleteConversationRequest message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.cloud.contactcenterinsights.v1.DeleteConversationRequest
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.cloud.contactcenterinsights.v1.DeleteConversationRequest} DeleteConversationRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ DeleteConversationRequest.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies a DeleteConversationRequest message.
+ * @function verify
+ * @memberof google.cloud.contactcenterinsights.v1.DeleteConversationRequest
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ DeleteConversationRequest.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 DeleteConversationRequest message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.cloud.contactcenterinsights.v1.DeleteConversationRequest
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.cloud.contactcenterinsights.v1.DeleteConversationRequest} DeleteConversationRequest
+ */
+ DeleteConversationRequest.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.cloud.contactcenterinsights.v1.DeleteConversationRequest)
+ return object;
+ var message = new $root.google.cloud.contactcenterinsights.v1.DeleteConversationRequest();
+ 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 DeleteConversationRequest message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.cloud.contactcenterinsights.v1.DeleteConversationRequest
+ * @static
+ * @param {google.cloud.contactcenterinsights.v1.DeleteConversationRequest} message DeleteConversationRequest
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ DeleteConversationRequest.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 DeleteConversationRequest to JSON.
+ * @function toJSON
+ * @memberof google.cloud.contactcenterinsights.v1.DeleteConversationRequest
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ DeleteConversationRequest.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for DeleteConversationRequest
+ * @function getTypeUrl
+ * @memberof google.cloud.contactcenterinsights.v1.DeleteConversationRequest
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ DeleteConversationRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.cloud.contactcenterinsights.v1.DeleteConversationRequest";
+ };
+
+ return DeleteConversationRequest;
+ })();
+
+ v1.CreateAnalysisRequest = (function() {
+
+ /**
+ * Properties of a CreateAnalysisRequest.
+ * @memberof google.cloud.contactcenterinsights.v1
+ * @interface ICreateAnalysisRequest
+ * @property {string|null} [parent] CreateAnalysisRequest parent
+ * @property {google.cloud.contactcenterinsights.v1.IAnalysis|null} [analysis] CreateAnalysisRequest analysis
+ */
+
+ /**
+ * Constructs a new CreateAnalysisRequest.
+ * @memberof google.cloud.contactcenterinsights.v1
+ * @classdesc Represents a CreateAnalysisRequest.
+ * @implements ICreateAnalysisRequest
+ * @constructor
+ * @param {google.cloud.contactcenterinsights.v1.ICreateAnalysisRequest=} [properties] Properties to set
+ */
+ function CreateAnalysisRequest(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]];
+ }
+
+ /**
+ * CreateAnalysisRequest parent.
+ * @member {string} parent
+ * @memberof google.cloud.contactcenterinsights.v1.CreateAnalysisRequest
+ * @instance
+ */
+ CreateAnalysisRequest.prototype.parent = "";
+
+ /**
+ * CreateAnalysisRequest analysis.
+ * @member {google.cloud.contactcenterinsights.v1.IAnalysis|null|undefined} analysis
+ * @memberof google.cloud.contactcenterinsights.v1.CreateAnalysisRequest
+ * @instance
+ */
+ CreateAnalysisRequest.prototype.analysis = null;
+
+ /**
+ * Creates a new CreateAnalysisRequest instance using the specified properties.
+ * @function create
+ * @memberof google.cloud.contactcenterinsights.v1.CreateAnalysisRequest
+ * @static
+ * @param {google.cloud.contactcenterinsights.v1.ICreateAnalysisRequest=} [properties] Properties to set
+ * @returns {google.cloud.contactcenterinsights.v1.CreateAnalysisRequest} CreateAnalysisRequest instance
+ */
+ CreateAnalysisRequest.create = function create(properties) {
+ return new CreateAnalysisRequest(properties);
+ };
+
+ /**
+ * Encodes the specified CreateAnalysisRequest message. Does not implicitly {@link google.cloud.contactcenterinsights.v1.CreateAnalysisRequest.verify|verify} messages.
+ * @function encode
+ * @memberof google.cloud.contactcenterinsights.v1.CreateAnalysisRequest
+ * @static
+ * @param {google.cloud.contactcenterinsights.v1.ICreateAnalysisRequest} message CreateAnalysisRequest message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ CreateAnalysisRequest.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.analysis != null && Object.hasOwnProperty.call(message, "analysis"))
+ $root.google.cloud.contactcenterinsights.v1.Analysis.encode(message.analysis, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
+ return writer;
+ };
+
+ /**
+ * Encodes the specified CreateAnalysisRequest message, length delimited. Does not implicitly {@link google.cloud.contactcenterinsights.v1.CreateAnalysisRequest.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.cloud.contactcenterinsights.v1.CreateAnalysisRequest
+ * @static
+ * @param {google.cloud.contactcenterinsights.v1.ICreateAnalysisRequest} message CreateAnalysisRequest message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ CreateAnalysisRequest.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes a CreateAnalysisRequest message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.cloud.contactcenterinsights.v1.CreateAnalysisRequest
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.cloud.contactcenterinsights.v1.CreateAnalysisRequest} CreateAnalysisRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ CreateAnalysisRequest.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.contactcenterinsights.v1.CreateAnalysisRequest();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ switch (tag >>> 3) {
+ case 1: {
+ message.parent = reader.string();
+ break;
+ }
+ case 2: {
+ message.analysis = $root.google.cloud.contactcenterinsights.v1.Analysis.decode(reader, reader.uint32());
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes a CreateAnalysisRequest message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.cloud.contactcenterinsights.v1.CreateAnalysisRequest
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.cloud.contactcenterinsights.v1.CreateAnalysisRequest} CreateAnalysisRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ CreateAnalysisRequest.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies a CreateAnalysisRequest message.
+ * @function verify
+ * @memberof google.cloud.contactcenterinsights.v1.CreateAnalysisRequest
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ CreateAnalysisRequest.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.analysis != null && message.hasOwnProperty("analysis")) {
+ var error = $root.google.cloud.contactcenterinsights.v1.Analysis.verify(message.analysis);
+ if (error)
+ return "analysis." + error;
+ }
+ return null;
+ };
+
+ /**
+ * Creates a CreateAnalysisRequest message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.cloud.contactcenterinsights.v1.CreateAnalysisRequest
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.cloud.contactcenterinsights.v1.CreateAnalysisRequest} CreateAnalysisRequest
+ */
+ CreateAnalysisRequest.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.cloud.contactcenterinsights.v1.CreateAnalysisRequest)
+ return object;
+ var message = new $root.google.cloud.contactcenterinsights.v1.CreateAnalysisRequest();
+ if (object.parent != null)
+ message.parent = String(object.parent);
+ if (object.analysis != null) {
+ if (typeof object.analysis !== "object")
+ throw TypeError(".google.cloud.contactcenterinsights.v1.CreateAnalysisRequest.analysis: object expected");
+ message.analysis = $root.google.cloud.contactcenterinsights.v1.Analysis.fromObject(object.analysis);
+ }
+ return message;
+ };
+
+ /**
+ * Creates a plain object from a CreateAnalysisRequest message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.cloud.contactcenterinsights.v1.CreateAnalysisRequest
+ * @static
+ * @param {google.cloud.contactcenterinsights.v1.CreateAnalysisRequest} message CreateAnalysisRequest
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ CreateAnalysisRequest.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.defaults) {
+ object.parent = "";
+ object.analysis = null;
+ }
+ if (message.parent != null && message.hasOwnProperty("parent"))
+ object.parent = message.parent;
+ if (message.analysis != null && message.hasOwnProperty("analysis"))
+ object.analysis = $root.google.cloud.contactcenterinsights.v1.Analysis.toObject(message.analysis, options);
+ return object;
+ };
+
+ /**
+ * Converts this CreateAnalysisRequest to JSON.
+ * @function toJSON
+ * @memberof google.cloud.contactcenterinsights.v1.CreateAnalysisRequest
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ CreateAnalysisRequest.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for CreateAnalysisRequest
+ * @function getTypeUrl
+ * @memberof google.cloud.contactcenterinsights.v1.CreateAnalysisRequest
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ CreateAnalysisRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.cloud.contactcenterinsights.v1.CreateAnalysisRequest";
+ };
+
+ return CreateAnalysisRequest;
+ })();
+
+ v1.ListAnalysesRequest = (function() {
+
+ /**
+ * Properties of a ListAnalysesRequest.
+ * @memberof google.cloud.contactcenterinsights.v1
+ * @interface IListAnalysesRequest
+ * @property {string|null} [parent] ListAnalysesRequest parent
+ * @property {number|null} [pageSize] ListAnalysesRequest pageSize
+ * @property {string|null} [pageToken] ListAnalysesRequest pageToken
+ * @property {string|null} [filter] ListAnalysesRequest filter
+ */
+
+ /**
+ * Constructs a new ListAnalysesRequest.
+ * @memberof google.cloud.contactcenterinsights.v1
+ * @classdesc Represents a ListAnalysesRequest.
+ * @implements IListAnalysesRequest
+ * @constructor
+ * @param {google.cloud.contactcenterinsights.v1.IListAnalysesRequest=} [properties] Properties to set
+ */
+ function ListAnalysesRequest(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]];
+ }
+
+ /**
+ * ListAnalysesRequest parent.
+ * @member {string} parent
+ * @memberof google.cloud.contactcenterinsights.v1.ListAnalysesRequest
+ * @instance
+ */
+ ListAnalysesRequest.prototype.parent = "";
+
+ /**
+ * ListAnalysesRequest pageSize.
+ * @member {number} pageSize
+ * @memberof google.cloud.contactcenterinsights.v1.ListAnalysesRequest
+ * @instance
+ */
+ ListAnalysesRequest.prototype.pageSize = 0;
+
+ /**
+ * ListAnalysesRequest pageToken.
+ * @member {string} pageToken
+ * @memberof google.cloud.contactcenterinsights.v1.ListAnalysesRequest
+ * @instance
+ */
+ ListAnalysesRequest.prototype.pageToken = "";
+
+ /**
+ * ListAnalysesRequest filter.
+ * @member {string} filter
+ * @memberof google.cloud.contactcenterinsights.v1.ListAnalysesRequest
+ * @instance
+ */
+ ListAnalysesRequest.prototype.filter = "";
+
+ /**
+ * Creates a new ListAnalysesRequest instance using the specified properties.
+ * @function create
+ * @memberof google.cloud.contactcenterinsights.v1.ListAnalysesRequest
+ * @static
+ * @param {google.cloud.contactcenterinsights.v1.IListAnalysesRequest=} [properties] Properties to set
+ * @returns {google.cloud.contactcenterinsights.v1.ListAnalysesRequest} ListAnalysesRequest instance
+ */
+ ListAnalysesRequest.create = function create(properties) {
+ return new ListAnalysesRequest(properties);
+ };
+
+ /**
+ * Encodes the specified ListAnalysesRequest message. Does not implicitly {@link google.cloud.contactcenterinsights.v1.ListAnalysesRequest.verify|verify} messages.
+ * @function encode
+ * @memberof google.cloud.contactcenterinsights.v1.ListAnalysesRequest
+ * @static
+ * @param {google.cloud.contactcenterinsights.v1.IListAnalysesRequest} message ListAnalysesRequest message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ ListAnalysesRequest.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.parent != null && Object.hasOwnProperty.call(message, "parent"))
+ writer.uint32(/* id 1, wireType 2 =*/10).string(message.parent);
+ if (message.pageSize != null && Object.hasOwnProperty.call(message, "pageSize"))
+ writer.uint32(/* id 2, wireType 0 =*/16).int32(message.pageSize);
+ if (message.pageToken != null && Object.hasOwnProperty.call(message, "pageToken"))
+ writer.uint32(/* id 3, wireType 2 =*/26).string(message.pageToken);
+ if (message.filter != null && Object.hasOwnProperty.call(message, "filter"))
+ writer.uint32(/* id 4, wireType 2 =*/34).string(message.filter);
+ return writer;
+ };
+
+ /**
+ * Encodes the specified ListAnalysesRequest message, length delimited. Does not implicitly {@link google.cloud.contactcenterinsights.v1.ListAnalysesRequest.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.cloud.contactcenterinsights.v1.ListAnalysesRequest
+ * @static
+ * @param {google.cloud.contactcenterinsights.v1.IListAnalysesRequest} message ListAnalysesRequest message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ ListAnalysesRequest.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes a ListAnalysesRequest message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.cloud.contactcenterinsights.v1.ListAnalysesRequest
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.cloud.contactcenterinsights.v1.ListAnalysesRequest} ListAnalysesRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ ListAnalysesRequest.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.contactcenterinsights.v1.ListAnalysesRequest();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ switch (tag >>> 3) {
+ case 1: {
+ message.parent = reader.string();
+ break;
+ }
+ case 2: {
+ message.pageSize = reader.int32();
+ break;
+ }
+ case 3: {
+ message.pageToken = reader.string();
+ break;
+ }
+ case 4: {
+ message.filter = reader.string();
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes a ListAnalysesRequest message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.cloud.contactcenterinsights.v1.ListAnalysesRequest
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.cloud.contactcenterinsights.v1.ListAnalysesRequest} ListAnalysesRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ ListAnalysesRequest.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies a ListAnalysesRequest message.
+ * @function verify
+ * @memberof google.cloud.contactcenterinsights.v1.ListAnalysesRequest
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ ListAnalysesRequest.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ if (message.parent != null && message.hasOwnProperty("parent"))
+ if (!$util.isString(message.parent))
+ return "parent: string expected";
+ if (message.pageSize != null && message.hasOwnProperty("pageSize"))
+ if (!$util.isInteger(message.pageSize))
+ return "pageSize: integer expected";
+ if (message.pageToken != null && message.hasOwnProperty("pageToken"))
+ if (!$util.isString(message.pageToken))
+ return "pageToken: string expected";
+ if (message.filter != null && message.hasOwnProperty("filter"))
+ if (!$util.isString(message.filter))
+ return "filter: string expected";
+ return null;
+ };
+
+ /**
+ * Creates a ListAnalysesRequest message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.cloud.contactcenterinsights.v1.ListAnalysesRequest
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.cloud.contactcenterinsights.v1.ListAnalysesRequest} ListAnalysesRequest
+ */
+ ListAnalysesRequest.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.cloud.contactcenterinsights.v1.ListAnalysesRequest)
+ return object;
+ var message = new $root.google.cloud.contactcenterinsights.v1.ListAnalysesRequest();
+ if (object.parent != null)
+ message.parent = String(object.parent);
+ if (object.pageSize != null)
+ message.pageSize = object.pageSize | 0;
+ if (object.pageToken != null)
+ message.pageToken = String(object.pageToken);
+ if (object.filter != null)
+ message.filter = String(object.filter);
+ return message;
+ };
+
+ /**
+ * Creates a plain object from a ListAnalysesRequest message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.cloud.contactcenterinsights.v1.ListAnalysesRequest
+ * @static
+ * @param {google.cloud.contactcenterinsights.v1.ListAnalysesRequest} message ListAnalysesRequest
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ ListAnalysesRequest.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.defaults) {
+ object.parent = "";
+ object.pageSize = 0;
+ object.pageToken = "";
+ object.filter = "";
+ }
+ if (message.parent != null && message.hasOwnProperty("parent"))
+ object.parent = message.parent;
+ if (message.pageSize != null && message.hasOwnProperty("pageSize"))
+ object.pageSize = message.pageSize;
+ if (message.pageToken != null && message.hasOwnProperty("pageToken"))
+ object.pageToken = message.pageToken;
+ if (message.filter != null && message.hasOwnProperty("filter"))
+ object.filter = message.filter;
+ return object;
+ };
+
+ /**
+ * Converts this ListAnalysesRequest to JSON.
+ * @function toJSON
+ * @memberof google.cloud.contactcenterinsights.v1.ListAnalysesRequest
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ ListAnalysesRequest.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for ListAnalysesRequest
+ * @function getTypeUrl
+ * @memberof google.cloud.contactcenterinsights.v1.ListAnalysesRequest
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ ListAnalysesRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.cloud.contactcenterinsights.v1.ListAnalysesRequest";
+ };
+
+ return ListAnalysesRequest;
+ })();
+
+ v1.ListAnalysesResponse = (function() {
+
+ /**
+ * Properties of a ListAnalysesResponse.
+ * @memberof google.cloud.contactcenterinsights.v1
+ * @interface IListAnalysesResponse
+ * @property {Array.|null} [analyses] ListAnalysesResponse analyses
+ * @property {string|null} [nextPageToken] ListAnalysesResponse nextPageToken
+ */
+
+ /**
+ * Constructs a new ListAnalysesResponse.
+ * @memberof google.cloud.contactcenterinsights.v1
+ * @classdesc Represents a ListAnalysesResponse.
+ * @implements IListAnalysesResponse
+ * @constructor
+ * @param {google.cloud.contactcenterinsights.v1.IListAnalysesResponse=} [properties] Properties to set
+ */
+ function ListAnalysesResponse(properties) {
+ this.analyses = [];
+ 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]];
+ }
+
+ /**
+ * ListAnalysesResponse analyses.
+ * @member {Array.} analyses
+ * @memberof google.cloud.contactcenterinsights.v1.ListAnalysesResponse
+ * @instance
+ */
+ ListAnalysesResponse.prototype.analyses = $util.emptyArray;
+
+ /**
+ * ListAnalysesResponse nextPageToken.
+ * @member {string} nextPageToken
+ * @memberof google.cloud.contactcenterinsights.v1.ListAnalysesResponse
+ * @instance
+ */
+ ListAnalysesResponse.prototype.nextPageToken = "";
+
+ /**
+ * Creates a new ListAnalysesResponse instance using the specified properties.
+ * @function create
+ * @memberof google.cloud.contactcenterinsights.v1.ListAnalysesResponse
+ * @static
+ * @param {google.cloud.contactcenterinsights.v1.IListAnalysesResponse=} [properties] Properties to set
+ * @returns {google.cloud.contactcenterinsights.v1.ListAnalysesResponse} ListAnalysesResponse instance
+ */
+ ListAnalysesResponse.create = function create(properties) {
+ return new ListAnalysesResponse(properties);
+ };
+
+ /**
+ * Encodes the specified ListAnalysesResponse message. Does not implicitly {@link google.cloud.contactcenterinsights.v1.ListAnalysesResponse.verify|verify} messages.
+ * @function encode
+ * @memberof google.cloud.contactcenterinsights.v1.ListAnalysesResponse
+ * @static
+ * @param {google.cloud.contactcenterinsights.v1.IListAnalysesResponse} message ListAnalysesResponse message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ ListAnalysesResponse.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.analyses != null && message.analyses.length)
+ for (var i = 0; i < message.analyses.length; ++i)
+ $root.google.cloud.contactcenterinsights.v1.Analysis.encode(message.analyses[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 ListAnalysesResponse message, length delimited. Does not implicitly {@link google.cloud.contactcenterinsights.v1.ListAnalysesResponse.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.cloud.contactcenterinsights.v1.ListAnalysesResponse
+ * @static
+ * @param {google.cloud.contactcenterinsights.v1.IListAnalysesResponse} message ListAnalysesResponse message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ ListAnalysesResponse.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes a ListAnalysesResponse message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.cloud.contactcenterinsights.v1.ListAnalysesResponse
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.cloud.contactcenterinsights.v1.ListAnalysesResponse} ListAnalysesResponse
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ ListAnalysesResponse.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.contactcenterinsights.v1.ListAnalysesResponse();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ switch (tag >>> 3) {
+ case 1: {
+ if (!(message.analyses && message.analyses.length))
+ message.analyses = [];
+ message.analyses.push($root.google.cloud.contactcenterinsights.v1.Analysis.decode(reader, reader.uint32()));
+ break;
+ }
+ case 2: {
+ message.nextPageToken = reader.string();
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes a ListAnalysesResponse message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.cloud.contactcenterinsights.v1.ListAnalysesResponse
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.cloud.contactcenterinsights.v1.ListAnalysesResponse} ListAnalysesResponse
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ ListAnalysesResponse.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies a ListAnalysesResponse message.
+ * @function verify
+ * @memberof google.cloud.contactcenterinsights.v1.ListAnalysesResponse
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ ListAnalysesResponse.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ if (message.analyses != null && message.hasOwnProperty("analyses")) {
+ if (!Array.isArray(message.analyses))
+ return "analyses: array expected";
+ for (var i = 0; i < message.analyses.length; ++i) {
+ var error = $root.google.cloud.contactcenterinsights.v1.Analysis.verify(message.analyses[i]);
+ if (error)
+ return "analyses." + error;
+ }
+ }
+ if (message.nextPageToken != null && message.hasOwnProperty("nextPageToken"))
+ if (!$util.isString(message.nextPageToken))
+ return "nextPageToken: string expected";
+ return null;
+ };
+
+ /**
+ * Creates a ListAnalysesResponse message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.cloud.contactcenterinsights.v1.ListAnalysesResponse
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.cloud.contactcenterinsights.v1.ListAnalysesResponse} ListAnalysesResponse
+ */
+ ListAnalysesResponse.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.cloud.contactcenterinsights.v1.ListAnalysesResponse)
+ return object;
+ var message = new $root.google.cloud.contactcenterinsights.v1.ListAnalysesResponse();
+ if (object.analyses) {
+ if (!Array.isArray(object.analyses))
+ throw TypeError(".google.cloud.contactcenterinsights.v1.ListAnalysesResponse.analyses: array expected");
+ message.analyses = [];
+ for (var i = 0; i < object.analyses.length; ++i) {
+ if (typeof object.analyses[i] !== "object")
+ throw TypeError(".google.cloud.contactcenterinsights.v1.ListAnalysesResponse.analyses: object expected");
+ message.analyses[i] = $root.google.cloud.contactcenterinsights.v1.Analysis.fromObject(object.analyses[i]);
+ }
+ }
+ if (object.nextPageToken != null)
+ message.nextPageToken = String(object.nextPageToken);
+ return message;
+ };
+
+ /**
+ * Creates a plain object from a ListAnalysesResponse message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.cloud.contactcenterinsights.v1.ListAnalysesResponse
+ * @static
+ * @param {google.cloud.contactcenterinsights.v1.ListAnalysesResponse} message ListAnalysesResponse
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ ListAnalysesResponse.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.arrays || options.defaults)
+ object.analyses = [];
+ if (options.defaults)
+ object.nextPageToken = "";
+ if (message.analyses && message.analyses.length) {
+ object.analyses = [];
+ for (var j = 0; j < message.analyses.length; ++j)
+ object.analyses[j] = $root.google.cloud.contactcenterinsights.v1.Analysis.toObject(message.analyses[j], options);
+ }
+ if (message.nextPageToken != null && message.hasOwnProperty("nextPageToken"))
+ object.nextPageToken = message.nextPageToken;
+ return object;
+ };
+
+ /**
+ * Converts this ListAnalysesResponse to JSON.
+ * @function toJSON
+ * @memberof google.cloud.contactcenterinsights.v1.ListAnalysesResponse
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ ListAnalysesResponse.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for ListAnalysesResponse
+ * @function getTypeUrl
+ * @memberof google.cloud.contactcenterinsights.v1.ListAnalysesResponse
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ ListAnalysesResponse.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.cloud.contactcenterinsights.v1.ListAnalysesResponse";
+ };
+
+ return ListAnalysesResponse;
+ })();
+
+ v1.GetAnalysisRequest = (function() {
+
+ /**
+ * Properties of a GetAnalysisRequest.
+ * @memberof google.cloud.contactcenterinsights.v1
+ * @interface IGetAnalysisRequest
+ * @property {string|null} [name] GetAnalysisRequest name
+ */
+
+ /**
+ * Constructs a new GetAnalysisRequest.
+ * @memberof google.cloud.contactcenterinsights.v1
+ * @classdesc Represents a GetAnalysisRequest.
+ * @implements IGetAnalysisRequest
+ * @constructor
+ * @param {google.cloud.contactcenterinsights.v1.IGetAnalysisRequest=} [properties] Properties to set
+ */
+ function GetAnalysisRequest(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]];
+ }
+
+ /**
+ * GetAnalysisRequest name.
+ * @member {string} name
+ * @memberof google.cloud.contactcenterinsights.v1.GetAnalysisRequest
+ * @instance
+ */
+ GetAnalysisRequest.prototype.name = "";
+
+ /**
+ * Creates a new GetAnalysisRequest instance using the specified properties.
+ * @function create
+ * @memberof google.cloud.contactcenterinsights.v1.GetAnalysisRequest
+ * @static
+ * @param {google.cloud.contactcenterinsights.v1.IGetAnalysisRequest=} [properties] Properties to set
+ * @returns {google.cloud.contactcenterinsights.v1.GetAnalysisRequest} GetAnalysisRequest instance
+ */
+ GetAnalysisRequest.create = function create(properties) {
+ return new GetAnalysisRequest(properties);
+ };
+
+ /**
+ * Encodes the specified GetAnalysisRequest message. Does not implicitly {@link google.cloud.contactcenterinsights.v1.GetAnalysisRequest.verify|verify} messages.
+ * @function encode
+ * @memberof google.cloud.contactcenterinsights.v1.GetAnalysisRequest
+ * @static
+ * @param {google.cloud.contactcenterinsights.v1.IGetAnalysisRequest} message GetAnalysisRequest message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ GetAnalysisRequest.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 GetAnalysisRequest message, length delimited. Does not implicitly {@link google.cloud.contactcenterinsights.v1.GetAnalysisRequest.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.cloud.contactcenterinsights.v1.GetAnalysisRequest
+ * @static
+ * @param {google.cloud.contactcenterinsights.v1.IGetAnalysisRequest} message GetAnalysisRequest message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ GetAnalysisRequest.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes a GetAnalysisRequest message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.cloud.contactcenterinsights.v1.GetAnalysisRequest
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.cloud.contactcenterinsights.v1.GetAnalysisRequest} GetAnalysisRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ GetAnalysisRequest.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.contactcenterinsights.v1.GetAnalysisRequest();
+ 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 GetAnalysisRequest message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.cloud.contactcenterinsights.v1.GetAnalysisRequest
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.cloud.contactcenterinsights.v1.GetAnalysisRequest} GetAnalysisRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ GetAnalysisRequest.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies a GetAnalysisRequest message.
+ * @function verify
+ * @memberof google.cloud.contactcenterinsights.v1.GetAnalysisRequest
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ GetAnalysisRequest.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 GetAnalysisRequest message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.cloud.contactcenterinsights.v1.GetAnalysisRequest
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.cloud.contactcenterinsights.v1.GetAnalysisRequest} GetAnalysisRequest
+ */
+ GetAnalysisRequest.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.cloud.contactcenterinsights.v1.GetAnalysisRequest)
+ return object;
+ var message = new $root.google.cloud.contactcenterinsights.v1.GetAnalysisRequest();
+ if (object.name != null)
+ message.name = String(object.name);
+ return message;
+ };
+
+ /**
+ * Creates a plain object from a GetAnalysisRequest message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.cloud.contactcenterinsights.v1.GetAnalysisRequest
+ * @static
+ * @param {google.cloud.contactcenterinsights.v1.GetAnalysisRequest} message GetAnalysisRequest
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ GetAnalysisRequest.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 GetAnalysisRequest to JSON.
+ * @function toJSON
+ * @memberof google.cloud.contactcenterinsights.v1.GetAnalysisRequest
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ GetAnalysisRequest.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for GetAnalysisRequest
+ * @function getTypeUrl
+ * @memberof google.cloud.contactcenterinsights.v1.GetAnalysisRequest
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ GetAnalysisRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.cloud.contactcenterinsights.v1.GetAnalysisRequest";
+ };
+
+ return GetAnalysisRequest;
+ })();
+
+ v1.DeleteAnalysisRequest = (function() {
+
+ /**
+ * Properties of a DeleteAnalysisRequest.
+ * @memberof google.cloud.contactcenterinsights.v1
+ * @interface IDeleteAnalysisRequest
+ * @property {string|null} [name] DeleteAnalysisRequest name
+ */
+
+ /**
+ * Constructs a new DeleteAnalysisRequest.
+ * @memberof google.cloud.contactcenterinsights.v1
+ * @classdesc Represents a DeleteAnalysisRequest.
+ * @implements IDeleteAnalysisRequest
+ * @constructor
+ * @param {google.cloud.contactcenterinsights.v1.IDeleteAnalysisRequest=} [properties] Properties to set
+ */
+ function DeleteAnalysisRequest(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]];
+ }
+
+ /**
+ * DeleteAnalysisRequest name.
+ * @member {string} name
+ * @memberof google.cloud.contactcenterinsights.v1.DeleteAnalysisRequest
+ * @instance
+ */
+ DeleteAnalysisRequest.prototype.name = "";
+
+ /**
+ * Creates a new DeleteAnalysisRequest instance using the specified properties.
+ * @function create
+ * @memberof google.cloud.contactcenterinsights.v1.DeleteAnalysisRequest
+ * @static
+ * @param {google.cloud.contactcenterinsights.v1.IDeleteAnalysisRequest=} [properties] Properties to set
+ * @returns {google.cloud.contactcenterinsights.v1.DeleteAnalysisRequest} DeleteAnalysisRequest instance
+ */
+ DeleteAnalysisRequest.create = function create(properties) {
+ return new DeleteAnalysisRequest(properties);
+ };
+
+ /**
+ * Encodes the specified DeleteAnalysisRequest message. Does not implicitly {@link google.cloud.contactcenterinsights.v1.DeleteAnalysisRequest.verify|verify} messages.
+ * @function encode
+ * @memberof google.cloud.contactcenterinsights.v1.DeleteAnalysisRequest
+ * @static
+ * @param {google.cloud.contactcenterinsights.v1.IDeleteAnalysisRequest} message DeleteAnalysisRequest message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ DeleteAnalysisRequest.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 DeleteAnalysisRequest message, length delimited. Does not implicitly {@link google.cloud.contactcenterinsights.v1.DeleteAnalysisRequest.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.cloud.contactcenterinsights.v1.DeleteAnalysisRequest
+ * @static
+ * @param {google.cloud.contactcenterinsights.v1.IDeleteAnalysisRequest} message DeleteAnalysisRequest message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ DeleteAnalysisRequest.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes a DeleteAnalysisRequest message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.cloud.contactcenterinsights.v1.DeleteAnalysisRequest
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.cloud.contactcenterinsights.v1.DeleteAnalysisRequest} DeleteAnalysisRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ DeleteAnalysisRequest.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.contactcenterinsights.v1.DeleteAnalysisRequest();
+ 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 DeleteAnalysisRequest message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.cloud.contactcenterinsights.v1.DeleteAnalysisRequest
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.cloud.contactcenterinsights.v1.DeleteAnalysisRequest} DeleteAnalysisRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ DeleteAnalysisRequest.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies a DeleteAnalysisRequest message.
+ * @function verify
+ * @memberof google.cloud.contactcenterinsights.v1.DeleteAnalysisRequest
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ DeleteAnalysisRequest.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 DeleteAnalysisRequest message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.cloud.contactcenterinsights.v1.DeleteAnalysisRequest
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.cloud.contactcenterinsights.v1.DeleteAnalysisRequest} DeleteAnalysisRequest
+ */
+ DeleteAnalysisRequest.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.cloud.contactcenterinsights.v1.DeleteAnalysisRequest)
+ return object;
+ var message = new $root.google.cloud.contactcenterinsights.v1.DeleteAnalysisRequest();
+ if (object.name != null)
+ message.name = String(object.name);
+ return message;
+ };
+
+ /**
+ * Creates a plain object from a DeleteAnalysisRequest message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.cloud.contactcenterinsights.v1.DeleteAnalysisRequest
+ * @static
+ * @param {google.cloud.contactcenterinsights.v1.DeleteAnalysisRequest} message DeleteAnalysisRequest
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ DeleteAnalysisRequest.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 DeleteAnalysisRequest to JSON.
+ * @function toJSON
+ * @memberof google.cloud.contactcenterinsights.v1.DeleteAnalysisRequest
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ DeleteAnalysisRequest.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for DeleteAnalysisRequest
+ * @function getTypeUrl
+ * @memberof google.cloud.contactcenterinsights.v1.DeleteAnalysisRequest
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ DeleteAnalysisRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.cloud.contactcenterinsights.v1.DeleteAnalysisRequest";
+ };
+
+ return DeleteAnalysisRequest;
+ })();
+
+ v1.ExportInsightsDataRequest = (function() {
+
+ /**
+ * Properties of an ExportInsightsDataRequest.
+ * @memberof google.cloud.contactcenterinsights.v1
+ * @interface IExportInsightsDataRequest
+ * @property {google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.IBigQueryDestination|null} [bigQueryDestination] ExportInsightsDataRequest bigQueryDestination
+ * @property {string|null} [parent] ExportInsightsDataRequest parent
+ * @property {string|null} [filter] ExportInsightsDataRequest filter
+ * @property {string|null} [kmsKey] ExportInsightsDataRequest kmsKey
+ * @property {google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.WriteDisposition|null} [writeDisposition] ExportInsightsDataRequest writeDisposition
+ */
+
+ /**
+ * Constructs a new ExportInsightsDataRequest.
+ * @memberof google.cloud.contactcenterinsights.v1
+ * @classdesc Represents an ExportInsightsDataRequest.
+ * @implements IExportInsightsDataRequest
+ * @constructor
+ * @param {google.cloud.contactcenterinsights.v1.IExportInsightsDataRequest=} [properties] Properties to set
+ */
+ function ExportInsightsDataRequest(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]];
+ }
+
+ /**
+ * ExportInsightsDataRequest bigQueryDestination.
+ * @member {google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.IBigQueryDestination|null|undefined} bigQueryDestination
+ * @memberof google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest
+ * @instance
+ */
+ ExportInsightsDataRequest.prototype.bigQueryDestination = null;
+
+ /**
+ * ExportInsightsDataRequest parent.
+ * @member {string} parent
+ * @memberof google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest
+ * @instance
+ */
+ ExportInsightsDataRequest.prototype.parent = "";
+
+ /**
+ * ExportInsightsDataRequest filter.
+ * @member {string} filter
+ * @memberof google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest
+ * @instance
+ */
+ ExportInsightsDataRequest.prototype.filter = "";
+
+ /**
+ * ExportInsightsDataRequest kmsKey.
+ * @member {string} kmsKey
+ * @memberof google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest
+ * @instance
+ */
+ ExportInsightsDataRequest.prototype.kmsKey = "";
+
+ /**
+ * ExportInsightsDataRequest writeDisposition.
+ * @member {google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.WriteDisposition} writeDisposition
+ * @memberof google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest
+ * @instance
+ */
+ ExportInsightsDataRequest.prototype.writeDisposition = 0;
+
+ // OneOf field names bound to virtual getters and setters
+ var $oneOfFields;
+
+ /**
+ * ExportInsightsDataRequest destination.
+ * @member {"bigQueryDestination"|undefined} destination
+ * @memberof google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest
+ * @instance
+ */
+ Object.defineProperty(ExportInsightsDataRequest.prototype, "destination", {
+ get: $util.oneOfGetter($oneOfFields = ["bigQueryDestination"]),
+ set: $util.oneOfSetter($oneOfFields)
+ });
+
+ /**
+ * Creates a new ExportInsightsDataRequest instance using the specified properties.
+ * @function create
+ * @memberof google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest
+ * @static
+ * @param {google.cloud.contactcenterinsights.v1.IExportInsightsDataRequest=} [properties] Properties to set
+ * @returns {google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest} ExportInsightsDataRequest instance
+ */
+ ExportInsightsDataRequest.create = function create(properties) {
+ return new ExportInsightsDataRequest(properties);
+ };
+
+ /**
+ * Encodes the specified ExportInsightsDataRequest message. Does not implicitly {@link google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.verify|verify} messages.
+ * @function encode
+ * @memberof google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest
+ * @static
+ * @param {google.cloud.contactcenterinsights.v1.IExportInsightsDataRequest} message ExportInsightsDataRequest message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ ExportInsightsDataRequest.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.bigQueryDestination != null && Object.hasOwnProperty.call(message, "bigQueryDestination"))
+ $root.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination.encode(message.bigQueryDestination, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
+ if (message.filter != null && Object.hasOwnProperty.call(message, "filter"))
+ writer.uint32(/* id 3, wireType 2 =*/26).string(message.filter);
+ if (message.kmsKey != null && Object.hasOwnProperty.call(message, "kmsKey"))
+ writer.uint32(/* id 4, wireType 2 =*/34).string(message.kmsKey);
+ if (message.writeDisposition != null && Object.hasOwnProperty.call(message, "writeDisposition"))
+ writer.uint32(/* id 5, wireType 0 =*/40).int32(message.writeDisposition);
+ return writer;
+ };
+
+ /**
+ * Encodes the specified ExportInsightsDataRequest message, length delimited. Does not implicitly {@link google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest
+ * @static
+ * @param {google.cloud.contactcenterinsights.v1.IExportInsightsDataRequest} message ExportInsightsDataRequest message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ ExportInsightsDataRequest.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes an ExportInsightsDataRequest message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest} ExportInsightsDataRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ ExportInsightsDataRequest.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.contactcenterinsights.v1.ExportInsightsDataRequest();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ switch (tag >>> 3) {
+ case 2: {
+ message.bigQueryDestination = $root.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination.decode(reader, reader.uint32());
+ break;
+ }
+ case 1: {
+ message.parent = reader.string();
+ break;
+ }
+ case 3: {
+ message.filter = reader.string();
+ break;
+ }
+ case 4: {
+ message.kmsKey = reader.string();
+ break;
+ }
+ case 5: {
+ message.writeDisposition = reader.int32();
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes an ExportInsightsDataRequest message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest} ExportInsightsDataRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ ExportInsightsDataRequest.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies an ExportInsightsDataRequest message.
+ * @function verify
+ * @memberof google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ ExportInsightsDataRequest.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ var properties = {};
+ if (message.bigQueryDestination != null && message.hasOwnProperty("bigQueryDestination")) {
+ properties.destination = 1;
+ {
+ var error = $root.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination.verify(message.bigQueryDestination);
+ if (error)
+ return "bigQueryDestination." + error;
+ }
+ }
+ if (message.parent != null && message.hasOwnProperty("parent"))
+ if (!$util.isString(message.parent))
+ return "parent: string expected";
+ if (message.filter != null && message.hasOwnProperty("filter"))
+ if (!$util.isString(message.filter))
+ return "filter: string expected";
+ if (message.kmsKey != null && message.hasOwnProperty("kmsKey"))
+ if (!$util.isString(message.kmsKey))
+ return "kmsKey: string expected";
+ if (message.writeDisposition != null && message.hasOwnProperty("writeDisposition"))
+ switch (message.writeDisposition) {
+ default:
+ return "writeDisposition: enum value expected";
+ case 0:
+ case 1:
+ case 2:
+ break;
+ }
+ return null;
+ };
+
+ /**
+ * Creates an ExportInsightsDataRequest message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest} ExportInsightsDataRequest
+ */
+ ExportInsightsDataRequest.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest)
+ return object;
+ var message = new $root.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest();
+ if (object.bigQueryDestination != null) {
+ if (typeof object.bigQueryDestination !== "object")
+ throw TypeError(".google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.bigQueryDestination: object expected");
+ message.bigQueryDestination = $root.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination.fromObject(object.bigQueryDestination);
+ }
+ if (object.parent != null)
+ message.parent = String(object.parent);
+ if (object.filter != null)
+ message.filter = String(object.filter);
+ if (object.kmsKey != null)
+ message.kmsKey = String(object.kmsKey);
+ switch (object.writeDisposition) {
+ default:
+ if (typeof object.writeDisposition === "number") {
+ message.writeDisposition = object.writeDisposition;
+ break;
+ }
+ break;
+ case "WRITE_DISPOSITION_UNSPECIFIED":
+ case 0:
+ message.writeDisposition = 0;
+ break;
+ case "WRITE_TRUNCATE":
+ case 1:
+ message.writeDisposition = 1;
+ break;
+ case "WRITE_APPEND":
+ case 2:
+ message.writeDisposition = 2;
+ break;
+ }
+ return message;
+ };
+
+ /**
+ * Creates a plain object from an ExportInsightsDataRequest message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest
+ * @static
+ * @param {google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest} message ExportInsightsDataRequest
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ ExportInsightsDataRequest.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.defaults) {
+ object.parent = "";
+ object.filter = "";
+ object.kmsKey = "";
+ object.writeDisposition = options.enums === String ? "WRITE_DISPOSITION_UNSPECIFIED" : 0;
+ }
+ if (message.parent != null && message.hasOwnProperty("parent"))
+ object.parent = message.parent;
+ if (message.bigQueryDestination != null && message.hasOwnProperty("bigQueryDestination")) {
+ object.bigQueryDestination = $root.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination.toObject(message.bigQueryDestination, options);
+ if (options.oneofs)
+ object.destination = "bigQueryDestination";
+ }
+ if (message.filter != null && message.hasOwnProperty("filter"))
+ object.filter = message.filter;
+ if (message.kmsKey != null && message.hasOwnProperty("kmsKey"))
+ object.kmsKey = message.kmsKey;
+ if (message.writeDisposition != null && message.hasOwnProperty("writeDisposition"))
+ object.writeDisposition = options.enums === String ? $root.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.WriteDisposition[message.writeDisposition] === undefined ? message.writeDisposition : $root.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.WriteDisposition[message.writeDisposition] : message.writeDisposition;
+ return object;
+ };
+
+ /**
+ * Converts this ExportInsightsDataRequest to JSON.
+ * @function toJSON
+ * @memberof google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ ExportInsightsDataRequest.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for ExportInsightsDataRequest
+ * @function getTypeUrl
+ * @memberof google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ ExportInsightsDataRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest";
+ };
+
+ ExportInsightsDataRequest.BigQueryDestination = (function() {
+
+ /**
+ * Properties of a BigQueryDestination.
+ * @memberof google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest
+ * @interface IBigQueryDestination
+ * @property {string|null} [projectId] BigQueryDestination projectId
+ * @property {string|null} [dataset] BigQueryDestination dataset
+ * @property {string|null} [table] BigQueryDestination table
+ */
+
+ /**
+ * Constructs a new BigQueryDestination.
+ * @memberof google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest
+ * @classdesc Represents a BigQueryDestination.
+ * @implements IBigQueryDestination
+ * @constructor
+ * @param {google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.IBigQueryDestination=} [properties] Properties to set
+ */
+ function BigQueryDestination(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]];
+ }
+
+ /**
+ * BigQueryDestination projectId.
+ * @member {string} projectId
+ * @memberof google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination
+ * @instance
+ */
+ BigQueryDestination.prototype.projectId = "";
+
+ /**
+ * BigQueryDestination dataset.
+ * @member {string} dataset
+ * @memberof google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination
+ * @instance
+ */
+ BigQueryDestination.prototype.dataset = "";
+
+ /**
+ * BigQueryDestination table.
+ * @member {string} table
+ * @memberof google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination
+ * @instance
+ */
+ BigQueryDestination.prototype.table = "";
+
+ /**
+ * Creates a new BigQueryDestination instance using the specified properties.
+ * @function create
+ * @memberof google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination
+ * @static
+ * @param {google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.IBigQueryDestination=} [properties] Properties to set
+ * @returns {google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination} BigQueryDestination instance
+ */
+ BigQueryDestination.create = function create(properties) {
+ return new BigQueryDestination(properties);
+ };
+
+ /**
+ * Encodes the specified BigQueryDestination message. Does not implicitly {@link google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination.verify|verify} messages.
+ * @function encode
+ * @memberof google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination
+ * @static
+ * @param {google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.IBigQueryDestination} message BigQueryDestination message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ BigQueryDestination.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.dataset != null && Object.hasOwnProperty.call(message, "dataset"))
+ writer.uint32(/* id 1, wireType 2 =*/10).string(message.dataset);
+ if (message.table != null && Object.hasOwnProperty.call(message, "table"))
+ writer.uint32(/* id 2, wireType 2 =*/18).string(message.table);
+ if (message.projectId != null && Object.hasOwnProperty.call(message, "projectId"))
+ writer.uint32(/* id 3, wireType 2 =*/26).string(message.projectId);
+ return writer;
+ };
+
+ /**
+ * Encodes the specified BigQueryDestination message, length delimited. Does not implicitly {@link google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination
+ * @static
+ * @param {google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.IBigQueryDestination} message BigQueryDestination message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ BigQueryDestination.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes a BigQueryDestination message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination} BigQueryDestination
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ BigQueryDestination.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.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ switch (tag >>> 3) {
+ case 3: {
+ message.projectId = reader.string();
+ break;
+ }
+ case 1: {
+ message.dataset = reader.string();
+ break;
+ }
+ case 2: {
+ message.table = reader.string();
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes a BigQueryDestination message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination} BigQueryDestination
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ BigQueryDestination.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies a BigQueryDestination message.
+ * @function verify
+ * @memberof google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ BigQueryDestination.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ if (message.projectId != null && message.hasOwnProperty("projectId"))
+ if (!$util.isString(message.projectId))
+ return "projectId: string expected";
+ if (message.dataset != null && message.hasOwnProperty("dataset"))
+ if (!$util.isString(message.dataset))
+ return "dataset: string expected";
+ if (message.table != null && message.hasOwnProperty("table"))
+ if (!$util.isString(message.table))
+ return "table: string expected";
+ return null;
+ };
+
+ /**
+ * Creates a BigQueryDestination message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination} BigQueryDestination
+ */
+ BigQueryDestination.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination)
+ return object;
+ var message = new $root.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination();
+ if (object.projectId != null)
+ message.projectId = String(object.projectId);
+ if (object.dataset != null)
+ message.dataset = String(object.dataset);
+ if (object.table != null)
+ message.table = String(object.table);
+ return message;
+ };
+
+ /**
+ * Creates a plain object from a BigQueryDestination message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination
+ * @static
+ * @param {google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination} message BigQueryDestination
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ BigQueryDestination.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.defaults) {
+ object.dataset = "";
+ object.table = "";
+ object.projectId = "";
+ }
+ if (message.dataset != null && message.hasOwnProperty("dataset"))
+ object.dataset = message.dataset;
+ if (message.table != null && message.hasOwnProperty("table"))
+ object.table = message.table;
+ if (message.projectId != null && message.hasOwnProperty("projectId"))
+ object.projectId = message.projectId;
+ return object;
+ };
+
+ /**
+ * Converts this BigQueryDestination to JSON.
+ * @function toJSON
+ * @memberof google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ BigQueryDestination.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for BigQueryDestination
+ * @function getTypeUrl
+ * @memberof google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ BigQueryDestination.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination";
+ };
+
+ return BigQueryDestination;
+ })();
+
+ /**
+ * WriteDisposition enum.
+ * @name google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.WriteDisposition
+ * @enum {number}
+ * @property {number} WRITE_DISPOSITION_UNSPECIFIED=0 WRITE_DISPOSITION_UNSPECIFIED value
+ * @property {number} WRITE_TRUNCATE=1 WRITE_TRUNCATE value
+ * @property {number} WRITE_APPEND=2 WRITE_APPEND value
+ */
+ ExportInsightsDataRequest.WriteDisposition = (function() {
+ var valuesById = {}, values = Object.create(valuesById);
+ values[valuesById[0] = "WRITE_DISPOSITION_UNSPECIFIED"] = 0;
+ values[valuesById[1] = "WRITE_TRUNCATE"] = 1;
+ values[valuesById[2] = "WRITE_APPEND"] = 2;
+ return values;
+ })();
+
+ return ExportInsightsDataRequest;
+ })();
+
+ v1.ExportInsightsDataMetadata = (function() {
+
+ /**
+ * Properties of an ExportInsightsDataMetadata.
+ * @memberof google.cloud.contactcenterinsights.v1
+ * @interface IExportInsightsDataMetadata
+ * @property {google.protobuf.ITimestamp|null} [createTime] ExportInsightsDataMetadata createTime
+ * @property {google.protobuf.ITimestamp|null} [endTime] ExportInsightsDataMetadata endTime
+ * @property {google.cloud.contactcenterinsights.v1.IExportInsightsDataRequest|null} [request] ExportInsightsDataMetadata request
+ * @property {Array.|null} [partialErrors] ExportInsightsDataMetadata partialErrors
+ */
+
+ /**
+ * Constructs a new ExportInsightsDataMetadata.
+ * @memberof google.cloud.contactcenterinsights.v1
+ * @classdesc Represents an ExportInsightsDataMetadata.
+ * @implements IExportInsightsDataMetadata
+ * @constructor
+ * @param {google.cloud.contactcenterinsights.v1.IExportInsightsDataMetadata=} [properties] Properties to set
+ */
+ function ExportInsightsDataMetadata(properties) {
+ this.partialErrors = [];
+ 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]];
+ }
+
+ /**
+ * ExportInsightsDataMetadata createTime.
+ * @member {google.protobuf.ITimestamp|null|undefined} createTime
+ * @memberof google.cloud.contactcenterinsights.v1.ExportInsightsDataMetadata
+ * @instance
+ */
+ ExportInsightsDataMetadata.prototype.createTime = null;
+
+ /**
+ * ExportInsightsDataMetadata endTime.
+ * @member {google.protobuf.ITimestamp|null|undefined} endTime
+ * @memberof google.cloud.contactcenterinsights.v1.ExportInsightsDataMetadata
+ * @instance
+ */
+ ExportInsightsDataMetadata.prototype.endTime = null;
+
+ /**
+ * ExportInsightsDataMetadata request.
+ * @member {google.cloud.contactcenterinsights.v1.IExportInsightsDataRequest|null|undefined} request
+ * @memberof google.cloud.contactcenterinsights.v1.ExportInsightsDataMetadata
+ * @instance
+ */
+ ExportInsightsDataMetadata.prototype.request = null;
+
+ /**
+ * ExportInsightsDataMetadata partialErrors.
+ * @member {Array.} partialErrors
+ * @memberof google.cloud.contactcenterinsights.v1.ExportInsightsDataMetadata
+ * @instance
+ */
+ ExportInsightsDataMetadata.prototype.partialErrors = $util.emptyArray;
+
+ /**
+ * Creates a new ExportInsightsDataMetadata instance using the specified properties.
+ * @function create
+ * @memberof google.cloud.contactcenterinsights.v1.ExportInsightsDataMetadata
+ * @static
+ * @param {google.cloud.contactcenterinsights.v1.IExportInsightsDataMetadata=} [properties] Properties to set
+ * @returns {google.cloud.contactcenterinsights.v1.ExportInsightsDataMetadata} ExportInsightsDataMetadata instance
+ */
+ ExportInsightsDataMetadata.create = function create(properties) {
+ return new ExportInsightsDataMetadata(properties);
+ };
+
+ /**
+ * Encodes the specified ExportInsightsDataMetadata message. Does not implicitly {@link google.cloud.contactcenterinsights.v1.ExportInsightsDataMetadata.verify|verify} messages.
+ * @function encode
+ * @memberof google.cloud.contactcenterinsights.v1.ExportInsightsDataMetadata
+ * @static
+ * @param {google.cloud.contactcenterinsights.v1.IExportInsightsDataMetadata} message ExportInsightsDataMetadata message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ ExportInsightsDataMetadata.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.createTime != null && Object.hasOwnProperty.call(message, "createTime"))
+ $root.google.protobuf.Timestamp.encode(message.createTime, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
+ if (message.endTime != null && Object.hasOwnProperty.call(message, "endTime"))
+ $root.google.protobuf.Timestamp.encode(message.endTime, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
+ if (message.request != null && Object.hasOwnProperty.call(message, "request"))
+ $root.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.encode(message.request, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim();
+ if (message.partialErrors != null && message.partialErrors.length)
+ for (var i = 0; i < message.partialErrors.length; ++i)
+ $root.google.rpc.Status.encode(message.partialErrors[i], writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim();
+ return writer;
+ };
+
+ /**
+ * Encodes the specified ExportInsightsDataMetadata message, length delimited. Does not implicitly {@link google.cloud.contactcenterinsights.v1.ExportInsightsDataMetadata.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.cloud.contactcenterinsights.v1.ExportInsightsDataMetadata
+ * @static
+ * @param {google.cloud.contactcenterinsights.v1.IExportInsightsDataMetadata} message ExportInsightsDataMetadata message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ ExportInsightsDataMetadata.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes an ExportInsightsDataMetadata message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.cloud.contactcenterinsights.v1.ExportInsightsDataMetadata
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.cloud.contactcenterinsights.v1.ExportInsightsDataMetadata} ExportInsightsDataMetadata
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ ExportInsightsDataMetadata.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.contactcenterinsights.v1.ExportInsightsDataMetadata();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ switch (tag >>> 3) {
+ case 1: {
+ message.createTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32());
+ break;
+ }
+ case 2: {
+ message.endTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32());
+ break;
+ }
+ case 3: {
+ message.request = $root.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.decode(reader, reader.uint32());
+ break;
+ }
+ case 4: {
+ if (!(message.partialErrors && message.partialErrors.length))
+ message.partialErrors = [];
+ message.partialErrors.push($root.google.rpc.Status.decode(reader, reader.uint32()));
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes an ExportInsightsDataMetadata message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.cloud.contactcenterinsights.v1.ExportInsightsDataMetadata
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.cloud.contactcenterinsights.v1.ExportInsightsDataMetadata} ExportInsightsDataMetadata
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ ExportInsightsDataMetadata.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies an ExportInsightsDataMetadata message.
+ * @function verify
+ * @memberof google.cloud.contactcenterinsights.v1.ExportInsightsDataMetadata
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ ExportInsightsDataMetadata.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ if (message.createTime != null && message.hasOwnProperty("createTime")) {
+ var error = $root.google.protobuf.Timestamp.verify(message.createTime);
+ if (error)
+ return "createTime." + error;
+ }
+ if (message.endTime != null && message.hasOwnProperty("endTime")) {
+ var error = $root.google.protobuf.Timestamp.verify(message.endTime);
+ if (error)
+ return "endTime." + error;
+ }
+ if (message.request != null && message.hasOwnProperty("request")) {
+ var error = $root.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.verify(message.request);
+ if (error)
+ return "request." + error;
+ }
+ if (message.partialErrors != null && message.hasOwnProperty("partialErrors")) {
+ if (!Array.isArray(message.partialErrors))
+ return "partialErrors: array expected";
+ for (var i = 0; i < message.partialErrors.length; ++i) {
+ var error = $root.google.rpc.Status.verify(message.partialErrors[i]);
+ if (error)
+ return "partialErrors." + error;
+ }
+ }
+ return null;
+ };
+
+ /**
+ * Creates an ExportInsightsDataMetadata message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.cloud.contactcenterinsights.v1.ExportInsightsDataMetadata
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.cloud.contactcenterinsights.v1.ExportInsightsDataMetadata} ExportInsightsDataMetadata
+ */
+ ExportInsightsDataMetadata.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.cloud.contactcenterinsights.v1.ExportInsightsDataMetadata)
+ return object;
+ var message = new $root.google.cloud.contactcenterinsights.v1.ExportInsightsDataMetadata();
+ if (object.createTime != null) {
+ if (typeof object.createTime !== "object")
+ throw TypeError(".google.cloud.contactcenterinsights.v1.ExportInsightsDataMetadata.createTime: object expected");
+ message.createTime = $root.google.protobuf.Timestamp.fromObject(object.createTime);
+ }
+ if (object.endTime != null) {
+ if (typeof object.endTime !== "object")
+ throw TypeError(".google.cloud.contactcenterinsights.v1.ExportInsightsDataMetadata.endTime: object expected");
+ message.endTime = $root.google.protobuf.Timestamp.fromObject(object.endTime);
+ }
+ if (object.request != null) {
+ if (typeof object.request !== "object")
+ throw TypeError(".google.cloud.contactcenterinsights.v1.ExportInsightsDataMetadata.request: object expected");
+ message.request = $root.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.fromObject(object.request);
+ }
+ if (object.partialErrors) {
+ if (!Array.isArray(object.partialErrors))
+ throw TypeError(".google.cloud.contactcenterinsights.v1.ExportInsightsDataMetadata.partialErrors: array expected");
+ message.partialErrors = [];
+ for (var i = 0; i < object.partialErrors.length; ++i) {
+ if (typeof object.partialErrors[i] !== "object")
+ throw TypeError(".google.cloud.contactcenterinsights.v1.ExportInsightsDataMetadata.partialErrors: object expected");
+ message.partialErrors[i] = $root.google.rpc.Status.fromObject(object.partialErrors[i]);
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Creates a plain object from an ExportInsightsDataMetadata message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.cloud.contactcenterinsights.v1.ExportInsightsDataMetadata
+ * @static
+ * @param {google.cloud.contactcenterinsights.v1.ExportInsightsDataMetadata} message ExportInsightsDataMetadata
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ ExportInsightsDataMetadata.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.arrays || options.defaults)
+ object.partialErrors = [];
+ if (options.defaults) {
+ object.createTime = null;
+ object.endTime = null;
+ object.request = null;
+ }
+ if (message.createTime != null && message.hasOwnProperty("createTime"))
+ object.createTime = $root.google.protobuf.Timestamp.toObject(message.createTime, options);
+ if (message.endTime != null && message.hasOwnProperty("endTime"))
+ object.endTime = $root.google.protobuf.Timestamp.toObject(message.endTime, options);
+ if (message.request != null && message.hasOwnProperty("request"))
+ object.request = $root.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.toObject(message.request, options);
+ if (message.partialErrors && message.partialErrors.length) {
+ object.partialErrors = [];
+ for (var j = 0; j < message.partialErrors.length; ++j)
+ object.partialErrors[j] = $root.google.rpc.Status.toObject(message.partialErrors[j], options);
+ }
+ return object;
+ };
+
+ /**
+ * Converts this ExportInsightsDataMetadata to JSON.
+ * @function toJSON
+ * @memberof google.cloud.contactcenterinsights.v1.ExportInsightsDataMetadata
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ ExportInsightsDataMetadata.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for ExportInsightsDataMetadata
+ * @function getTypeUrl
+ * @memberof google.cloud.contactcenterinsights.v1.ExportInsightsDataMetadata
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ ExportInsightsDataMetadata.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.cloud.contactcenterinsights.v1.ExportInsightsDataMetadata";
+ };
+
+ return ExportInsightsDataMetadata;
+ })();
+
+ v1.ExportInsightsDataResponse = (function() {
+
+ /**
+ * Properties of an ExportInsightsDataResponse.
+ * @memberof google.cloud.contactcenterinsights.v1
+ * @interface IExportInsightsDataResponse
+ */
+
+ /**
+ * Constructs a new ExportInsightsDataResponse.
+ * @memberof google.cloud.contactcenterinsights.v1
+ * @classdesc Represents an ExportInsightsDataResponse.
+ * @implements IExportInsightsDataResponse
+ * @constructor
+ * @param {google.cloud.contactcenterinsights.v1.IExportInsightsDataResponse=} [properties] Properties to set
+ */
+ function ExportInsightsDataResponse(properties) {
+ if (properties)
+ for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+ if (properties[keys[i]] != null)
+ this[keys[i]] = properties[keys[i]];
+ }
+
+ /**
+ * Creates a new ExportInsightsDataResponse instance using the specified properties.
+ * @function create
+ * @memberof google.cloud.contactcenterinsights.v1.ExportInsightsDataResponse
+ * @static
+ * @param {google.cloud.contactcenterinsights.v1.IExportInsightsDataResponse=} [properties] Properties to set
+ * @returns {google.cloud.contactcenterinsights.v1.ExportInsightsDataResponse} ExportInsightsDataResponse instance
+ */
+ ExportInsightsDataResponse.create = function create(properties) {
+ return new ExportInsightsDataResponse(properties);
+ };
+
+ /**
+ * Encodes the specified ExportInsightsDataResponse message. Does not implicitly {@link google.cloud.contactcenterinsights.v1.ExportInsightsDataResponse.verify|verify} messages.
+ * @function encode
+ * @memberof google.cloud.contactcenterinsights.v1.ExportInsightsDataResponse
+ * @static
+ * @param {google.cloud.contactcenterinsights.v1.IExportInsightsDataResponse} message ExportInsightsDataResponse message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ ExportInsightsDataResponse.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ return writer;
+ };
+
+ /**
+ * Encodes the specified ExportInsightsDataResponse message, length delimited. Does not implicitly {@link google.cloud.contactcenterinsights.v1.ExportInsightsDataResponse.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.cloud.contactcenterinsights.v1.ExportInsightsDataResponse
+ * @static
+ * @param {google.cloud.contactcenterinsights.v1.IExportInsightsDataResponse} message ExportInsightsDataResponse message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ ExportInsightsDataResponse.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes an ExportInsightsDataResponse message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.cloud.contactcenterinsights.v1.ExportInsightsDataResponse
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.cloud.contactcenterinsights.v1.ExportInsightsDataResponse} ExportInsightsDataResponse
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ ExportInsightsDataResponse.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.contactcenterinsights.v1.ExportInsightsDataResponse();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ switch (tag >>> 3) {
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes an ExportInsightsDataResponse message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.cloud.contactcenterinsights.v1.ExportInsightsDataResponse
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.cloud.contactcenterinsights.v1.ExportInsightsDataResponse} ExportInsightsDataResponse
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ ExportInsightsDataResponse.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies an ExportInsightsDataResponse message.
+ * @function verify
+ * @memberof google.cloud.contactcenterinsights.v1.ExportInsightsDataResponse
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ ExportInsightsDataResponse.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ return null;
+ };
+
+ /**
+ * Creates an ExportInsightsDataResponse message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.cloud.contactcenterinsights.v1.ExportInsightsDataResponse
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.cloud.contactcenterinsights.v1.ExportInsightsDataResponse} ExportInsightsDataResponse
+ */
+ ExportInsightsDataResponse.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.cloud.contactcenterinsights.v1.ExportInsightsDataResponse)
+ return object;
+ return new $root.google.cloud.contactcenterinsights.v1.ExportInsightsDataResponse();
+ };
+
+ /**
+ * Creates a plain object from an ExportInsightsDataResponse message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.cloud.contactcenterinsights.v1.ExportInsightsDataResponse
+ * @static
+ * @param {google.cloud.contactcenterinsights.v1.ExportInsightsDataResponse} message ExportInsightsDataResponse
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ ExportInsightsDataResponse.toObject = function toObject() {
+ return {};
+ };
+
+ /**
+ * Converts this ExportInsightsDataResponse to JSON.
+ * @function toJSON
+ * @memberof google.cloud.contactcenterinsights.v1.ExportInsightsDataResponse
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ ExportInsightsDataResponse.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for ExportInsightsDataResponse
+ * @function getTypeUrl
+ * @memberof google.cloud.contactcenterinsights.v1.ExportInsightsDataResponse
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ ExportInsightsDataResponse.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.cloud.contactcenterinsights.v1.ExportInsightsDataResponse";
+ };
+
+ return ExportInsightsDataResponse;
+ })();
+
+ v1.CreateIssueModelRequest = (function() {
+
+ /**
+ * Properties of a CreateIssueModelRequest.
+ * @memberof google.cloud.contactcenterinsights.v1
+ * @interface ICreateIssueModelRequest
+ * @property {string|null} [parent] CreateIssueModelRequest parent
+ * @property {google.cloud.contactcenterinsights.v1.IIssueModel|null} [issueModel] CreateIssueModelRequest issueModel
+ */
+
+ /**
+ * Constructs a new CreateIssueModelRequest.
+ * @memberof google.cloud.contactcenterinsights.v1
+ * @classdesc Represents a CreateIssueModelRequest.
+ * @implements ICreateIssueModelRequest
+ * @constructor
+ * @param {google.cloud.contactcenterinsights.v1.ICreateIssueModelRequest=} [properties] Properties to set
+ */
+ function CreateIssueModelRequest(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]];
+ }
+
+ /**
+ * CreateIssueModelRequest parent.
+ * @member {string} parent
+ * @memberof google.cloud.contactcenterinsights.v1.CreateIssueModelRequest
+ * @instance
+ */
+ CreateIssueModelRequest.prototype.parent = "";
+
+ /**
+ * CreateIssueModelRequest issueModel.
+ * @member {google.cloud.contactcenterinsights.v1.IIssueModel|null|undefined} issueModel
+ * @memberof google.cloud.contactcenterinsights.v1.CreateIssueModelRequest
+ * @instance
+ */
+ CreateIssueModelRequest.prototype.issueModel = null;
+
+ /**
+ * Creates a new CreateIssueModelRequest instance using the specified properties.
+ * @function create
+ * @memberof google.cloud.contactcenterinsights.v1.CreateIssueModelRequest
+ * @static
+ * @param {google.cloud.contactcenterinsights.v1.ICreateIssueModelRequest=} [properties] Properties to set
+ * @returns {google.cloud.contactcenterinsights.v1.CreateIssueModelRequest} CreateIssueModelRequest instance
+ */
+ CreateIssueModelRequest.create = function create(properties) {
+ return new CreateIssueModelRequest(properties);
+ };
+
+ /**
+ * Encodes the specified CreateIssueModelRequest message. Does not implicitly {@link google.cloud.contactcenterinsights.v1.CreateIssueModelRequest.verify|verify} messages.
+ * @function encode
+ * @memberof google.cloud.contactcenterinsights.v1.CreateIssueModelRequest
+ * @static
+ * @param {google.cloud.contactcenterinsights.v1.ICreateIssueModelRequest} message CreateIssueModelRequest message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ CreateIssueModelRequest.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.issueModel != null && Object.hasOwnProperty.call(message, "issueModel"))
+ $root.google.cloud.contactcenterinsights.v1.IssueModel.encode(message.issueModel, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
+ return writer;
+ };
+
+ /**
+ * Encodes the specified CreateIssueModelRequest message, length delimited. Does not implicitly {@link google.cloud.contactcenterinsights.v1.CreateIssueModelRequest.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.cloud.contactcenterinsights.v1.CreateIssueModelRequest
+ * @static
+ * @param {google.cloud.contactcenterinsights.v1.ICreateIssueModelRequest} message CreateIssueModelRequest message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ CreateIssueModelRequest.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes a CreateIssueModelRequest message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.cloud.contactcenterinsights.v1.CreateIssueModelRequest
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.cloud.contactcenterinsights.v1.CreateIssueModelRequest} CreateIssueModelRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ CreateIssueModelRequest.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.contactcenterinsights.v1.CreateIssueModelRequest();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ switch (tag >>> 3) {
+ case 1: {
+ message.parent = reader.string();
+ break;
+ }
+ case 2: {
+ message.issueModel = $root.google.cloud.contactcenterinsights.v1.IssueModel.decode(reader, reader.uint32());
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes a CreateIssueModelRequest message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.cloud.contactcenterinsights.v1.CreateIssueModelRequest
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.cloud.contactcenterinsights.v1.CreateIssueModelRequest} CreateIssueModelRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ CreateIssueModelRequest.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies a CreateIssueModelRequest message.
+ * @function verify
+ * @memberof google.cloud.contactcenterinsights.v1.CreateIssueModelRequest
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ CreateIssueModelRequest.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.issueModel != null && message.hasOwnProperty("issueModel")) {
+ var error = $root.google.cloud.contactcenterinsights.v1.IssueModel.verify(message.issueModel);
+ if (error)
+ return "issueModel." + error;
+ }
+ return null;
+ };
+
+ /**
+ * Creates a CreateIssueModelRequest message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.cloud.contactcenterinsights.v1.CreateIssueModelRequest
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.cloud.contactcenterinsights.v1.CreateIssueModelRequest} CreateIssueModelRequest
+ */
+ CreateIssueModelRequest.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest)
+ return object;
+ var message = new $root.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest();
+ if (object.parent != null)
+ message.parent = String(object.parent);
+ if (object.issueModel != null) {
+ if (typeof object.issueModel !== "object")
+ throw TypeError(".google.cloud.contactcenterinsights.v1.CreateIssueModelRequest.issueModel: object expected");
+ message.issueModel = $root.google.cloud.contactcenterinsights.v1.IssueModel.fromObject(object.issueModel);
+ }
+ return message;
+ };
+
+ /**
+ * Creates a plain object from a CreateIssueModelRequest message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.cloud.contactcenterinsights.v1.CreateIssueModelRequest
+ * @static
+ * @param {google.cloud.contactcenterinsights.v1.CreateIssueModelRequest} message CreateIssueModelRequest
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ CreateIssueModelRequest.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.defaults) {
+ object.parent = "";
+ object.issueModel = null;
+ }
+ if (message.parent != null && message.hasOwnProperty("parent"))
+ object.parent = message.parent;
+ if (message.issueModel != null && message.hasOwnProperty("issueModel"))
+ object.issueModel = $root.google.cloud.contactcenterinsights.v1.IssueModel.toObject(message.issueModel, options);
+ return object;
+ };
+
+ /**
+ * Converts this CreateIssueModelRequest to JSON.
+ * @function toJSON
+ * @memberof google.cloud.contactcenterinsights.v1.CreateIssueModelRequest
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ CreateIssueModelRequest.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for CreateIssueModelRequest
+ * @function getTypeUrl
+ * @memberof google.cloud.contactcenterinsights.v1.CreateIssueModelRequest
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ CreateIssueModelRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.cloud.contactcenterinsights.v1.CreateIssueModelRequest";
+ };
+
+ return CreateIssueModelRequest;
+ })();
+
+ v1.CreateIssueModelMetadata = (function() {
+
+ /**
+ * Properties of a CreateIssueModelMetadata.
+ * @memberof google.cloud.contactcenterinsights.v1
+ * @interface ICreateIssueModelMetadata
+ * @property {google.protobuf.ITimestamp|null} [createTime] CreateIssueModelMetadata createTime
+ * @property {google.protobuf.ITimestamp|null} [endTime] CreateIssueModelMetadata endTime
+ * @property {google.cloud.contactcenterinsights.v1.ICreateIssueModelRequest|null} [request] CreateIssueModelMetadata request
+ */
+
+ /**
+ * Constructs a new CreateIssueModelMetadata.
+ * @memberof google.cloud.contactcenterinsights.v1
+ * @classdesc Represents a CreateIssueModelMetadata.
+ * @implements ICreateIssueModelMetadata
+ * @constructor
+ * @param {google.cloud.contactcenterinsights.v1.ICreateIssueModelMetadata=} [properties] Properties to set
+ */
+ function CreateIssueModelMetadata(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]];
+ }
+
+ /**
+ * CreateIssueModelMetadata createTime.
+ * @member {google.protobuf.ITimestamp|null|undefined} createTime
+ * @memberof google.cloud.contactcenterinsights.v1.CreateIssueModelMetadata
+ * @instance
+ */
+ CreateIssueModelMetadata.prototype.createTime = null;
+
+ /**
+ * CreateIssueModelMetadata endTime.
+ * @member {google.protobuf.ITimestamp|null|undefined} endTime
+ * @memberof google.cloud.contactcenterinsights.v1.CreateIssueModelMetadata
+ * @instance
+ */
+ CreateIssueModelMetadata.prototype.endTime = null;
+
+ /**
+ * CreateIssueModelMetadata request.
+ * @member {google.cloud.contactcenterinsights.v1.ICreateIssueModelRequest|null|undefined} request
+ * @memberof google.cloud.contactcenterinsights.v1.CreateIssueModelMetadata
+ * @instance
+ */
+ CreateIssueModelMetadata.prototype.request = null;
+
+ /**
+ * Creates a new CreateIssueModelMetadata instance using the specified properties.
+ * @function create
+ * @memberof google.cloud.contactcenterinsights.v1.CreateIssueModelMetadata
+ * @static
+ * @param {google.cloud.contactcenterinsights.v1.ICreateIssueModelMetadata=} [properties] Properties to set
+ * @returns {google.cloud.contactcenterinsights.v1.CreateIssueModelMetadata} CreateIssueModelMetadata instance
+ */
+ CreateIssueModelMetadata.create = function create(properties) {
+ return new CreateIssueModelMetadata(properties);
+ };
+
+ /**
+ * Encodes the specified CreateIssueModelMetadata message. Does not implicitly {@link google.cloud.contactcenterinsights.v1.CreateIssueModelMetadata.verify|verify} messages.
+ * @function encode
+ * @memberof google.cloud.contactcenterinsights.v1.CreateIssueModelMetadata
+ * @static
+ * @param {google.cloud.contactcenterinsights.v1.ICreateIssueModelMetadata} message CreateIssueModelMetadata message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ CreateIssueModelMetadata.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.createTime != null && Object.hasOwnProperty.call(message, "createTime"))
+ $root.google.protobuf.Timestamp.encode(message.createTime, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
+ if (message.endTime != null && Object.hasOwnProperty.call(message, "endTime"))
+ $root.google.protobuf.Timestamp.encode(message.endTime, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
+ if (message.request != null && Object.hasOwnProperty.call(message, "request"))
+ $root.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest.encode(message.request, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim();
+ return writer;
+ };
+
+ /**
+ * Encodes the specified CreateIssueModelMetadata message, length delimited. Does not implicitly {@link google.cloud.contactcenterinsights.v1.CreateIssueModelMetadata.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.cloud.contactcenterinsights.v1.CreateIssueModelMetadata
+ * @static
+ * @param {google.cloud.contactcenterinsights.v1.ICreateIssueModelMetadata} message CreateIssueModelMetadata message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ CreateIssueModelMetadata.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes a CreateIssueModelMetadata message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.cloud.contactcenterinsights.v1.CreateIssueModelMetadata
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.cloud.contactcenterinsights.v1.CreateIssueModelMetadata} CreateIssueModelMetadata
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ CreateIssueModelMetadata.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.contactcenterinsights.v1.CreateIssueModelMetadata();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ switch (tag >>> 3) {
+ case 1: {
+ message.createTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32());
+ break;
+ }
+ case 2: {
+ message.endTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32());
+ break;
+ }
+ case 3: {
+ message.request = $root.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest.decode(reader, reader.uint32());
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes a CreateIssueModelMetadata message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.cloud.contactcenterinsights.v1.CreateIssueModelMetadata
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.cloud.contactcenterinsights.v1.CreateIssueModelMetadata} CreateIssueModelMetadata
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ CreateIssueModelMetadata.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies a CreateIssueModelMetadata message.
+ * @function verify
+ * @memberof google.cloud.contactcenterinsights.v1.CreateIssueModelMetadata
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ CreateIssueModelMetadata.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ if (message.createTime != null && message.hasOwnProperty("createTime")) {
+ var error = $root.google.protobuf.Timestamp.verify(message.createTime);
+ if (error)
+ return "createTime." + error;
+ }
+ if (message.endTime != null && message.hasOwnProperty("endTime")) {
+ var error = $root.google.protobuf.Timestamp.verify(message.endTime);
+ if (error)
+ return "endTime." + error;
+ }
+ if (message.request != null && message.hasOwnProperty("request")) {
+ var error = $root.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest.verify(message.request);
+ if (error)
+ return "request." + error;
+ }
+ return null;
+ };
+
+ /**
+ * Creates a CreateIssueModelMetadata message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.cloud.contactcenterinsights.v1.CreateIssueModelMetadata
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.cloud.contactcenterinsights.v1.CreateIssueModelMetadata} CreateIssueModelMetadata
+ */
+ CreateIssueModelMetadata.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.cloud.contactcenterinsights.v1.CreateIssueModelMetadata)
+ return object;
+ var message = new $root.google.cloud.contactcenterinsights.v1.CreateIssueModelMetadata();
+ if (object.createTime != null) {
+ if (typeof object.createTime !== "object")
+ throw TypeError(".google.cloud.contactcenterinsights.v1.CreateIssueModelMetadata.createTime: object expected");
+ message.createTime = $root.google.protobuf.Timestamp.fromObject(object.createTime);
+ }
+ if (object.endTime != null) {
+ if (typeof object.endTime !== "object")
+ throw TypeError(".google.cloud.contactcenterinsights.v1.CreateIssueModelMetadata.endTime: object expected");
+ message.endTime = $root.google.protobuf.Timestamp.fromObject(object.endTime);
+ }
+ if (object.request != null) {
+ if (typeof object.request !== "object")
+ throw TypeError(".google.cloud.contactcenterinsights.v1.CreateIssueModelMetadata.request: object expected");
+ message.request = $root.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest.fromObject(object.request);
+ }
+ return message;
+ };
+
+ /**
+ * Creates a plain object from a CreateIssueModelMetadata message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.cloud.contactcenterinsights.v1.CreateIssueModelMetadata
+ * @static
+ * @param {google.cloud.contactcenterinsights.v1.CreateIssueModelMetadata} message CreateIssueModelMetadata
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ CreateIssueModelMetadata.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.defaults) {
+ object.createTime = null;
+ object.endTime = null;
+ object.request = null;
+ }
+ if (message.createTime != null && message.hasOwnProperty("createTime"))
+ object.createTime = $root.google.protobuf.Timestamp.toObject(message.createTime, options);
+ if (message.endTime != null && message.hasOwnProperty("endTime"))
+ object.endTime = $root.google.protobuf.Timestamp.toObject(message.endTime, options);
+ if (message.request != null && message.hasOwnProperty("request"))
+ object.request = $root.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest.toObject(message.request, options);
+ return object;
+ };
+
+ /**
+ * Converts this CreateIssueModelMetadata to JSON.
+ * @function toJSON
+ * @memberof google.cloud.contactcenterinsights.v1.CreateIssueModelMetadata
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ CreateIssueModelMetadata.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for CreateIssueModelMetadata
+ * @function getTypeUrl
+ * @memberof google.cloud.contactcenterinsights.v1.CreateIssueModelMetadata
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ CreateIssueModelMetadata.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.cloud.contactcenterinsights.v1.CreateIssueModelMetadata";
+ };
+
+ return CreateIssueModelMetadata;
+ })();
+
+ v1.UpdateIssueModelRequest = (function() {
+
+ /**
+ * Properties of an UpdateIssueModelRequest.
+ * @memberof google.cloud.contactcenterinsights.v1
+ * @interface IUpdateIssueModelRequest
+ * @property {google.cloud.contactcenterinsights.v1.IIssueModel|null} [issueModel] UpdateIssueModelRequest issueModel
+ * @property {google.protobuf.IFieldMask|null} [updateMask] UpdateIssueModelRequest updateMask
+ */
+
+ /**
+ * Constructs a new UpdateIssueModelRequest.
+ * @memberof google.cloud.contactcenterinsights.v1
+ * @classdesc Represents an UpdateIssueModelRequest.
+ * @implements IUpdateIssueModelRequest
+ * @constructor
+ * @param {google.cloud.contactcenterinsights.v1.IUpdateIssueModelRequest=} [properties] Properties to set
+ */
+ function UpdateIssueModelRequest(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]];
+ }
+
+ /**
+ * UpdateIssueModelRequest issueModel.
+ * @member {google.cloud.contactcenterinsights.v1.IIssueModel|null|undefined} issueModel
+ * @memberof google.cloud.contactcenterinsights.v1.UpdateIssueModelRequest
+ * @instance
+ */
+ UpdateIssueModelRequest.prototype.issueModel = null;
+
+ /**
+ * UpdateIssueModelRequest updateMask.
+ * @member {google.protobuf.IFieldMask|null|undefined} updateMask
+ * @memberof google.cloud.contactcenterinsights.v1.UpdateIssueModelRequest
+ * @instance
+ */
+ UpdateIssueModelRequest.prototype.updateMask = null;
+
+ /**
+ * Creates a new UpdateIssueModelRequest instance using the specified properties.
+ * @function create
+ * @memberof google.cloud.contactcenterinsights.v1.UpdateIssueModelRequest
+ * @static
+ * @param {google.cloud.contactcenterinsights.v1.IUpdateIssueModelRequest=} [properties] Properties to set
+ * @returns {google.cloud.contactcenterinsights.v1.UpdateIssueModelRequest} UpdateIssueModelRequest instance
+ */
+ UpdateIssueModelRequest.create = function create(properties) {
+ return new UpdateIssueModelRequest(properties);
+ };
+
+ /**
+ * Encodes the specified UpdateIssueModelRequest message. Does not implicitly {@link google.cloud.contactcenterinsights.v1.UpdateIssueModelRequest.verify|verify} messages.
+ * @function encode
+ * @memberof google.cloud.contactcenterinsights.v1.UpdateIssueModelRequest
+ * @static
+ * @param {google.cloud.contactcenterinsights.v1.IUpdateIssueModelRequest} message UpdateIssueModelRequest message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ UpdateIssueModelRequest.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.issueModel != null && Object.hasOwnProperty.call(message, "issueModel"))
+ $root.google.cloud.contactcenterinsights.v1.IssueModel.encode(message.issueModel, 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 UpdateIssueModelRequest message, length delimited. Does not implicitly {@link google.cloud.contactcenterinsights.v1.UpdateIssueModelRequest.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.cloud.contactcenterinsights.v1.UpdateIssueModelRequest
+ * @static
+ * @param {google.cloud.contactcenterinsights.v1.IUpdateIssueModelRequest} message UpdateIssueModelRequest message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ UpdateIssueModelRequest.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes an UpdateIssueModelRequest message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.cloud.contactcenterinsights.v1.UpdateIssueModelRequest
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.cloud.contactcenterinsights.v1.UpdateIssueModelRequest} UpdateIssueModelRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ UpdateIssueModelRequest.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.contactcenterinsights.v1.UpdateIssueModelRequest();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ switch (tag >>> 3) {
+ case 1: {
+ message.issueModel = $root.google.cloud.contactcenterinsights.v1.IssueModel.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 UpdateIssueModelRequest message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.cloud.contactcenterinsights.v1.UpdateIssueModelRequest
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.cloud.contactcenterinsights.v1.UpdateIssueModelRequest} UpdateIssueModelRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ UpdateIssueModelRequest.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies an UpdateIssueModelRequest message.
+ * @function verify
+ * @memberof google.cloud.contactcenterinsights.v1.UpdateIssueModelRequest
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ UpdateIssueModelRequest.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ if (message.issueModel != null && message.hasOwnProperty("issueModel")) {
+ var error = $root.google.cloud.contactcenterinsights.v1.IssueModel.verify(message.issueModel);
+ if (error)
+ return "issueModel." + 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 UpdateIssueModelRequest message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.cloud.contactcenterinsights.v1.UpdateIssueModelRequest
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.cloud.contactcenterinsights.v1.UpdateIssueModelRequest} UpdateIssueModelRequest
+ */
+ UpdateIssueModelRequest.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.cloud.contactcenterinsights.v1.UpdateIssueModelRequest)
+ return object;
+ var message = new $root.google.cloud.contactcenterinsights.v1.UpdateIssueModelRequest();
+ if (object.issueModel != null) {
+ if (typeof object.issueModel !== "object")
+ throw TypeError(".google.cloud.contactcenterinsights.v1.UpdateIssueModelRequest.issueModel: object expected");
+ message.issueModel = $root.google.cloud.contactcenterinsights.v1.IssueModel.fromObject(object.issueModel);
+ }
+ if (object.updateMask != null) {
+ if (typeof object.updateMask !== "object")
+ throw TypeError(".google.cloud.contactcenterinsights.v1.UpdateIssueModelRequest.updateMask: object expected");
+ message.updateMask = $root.google.protobuf.FieldMask.fromObject(object.updateMask);
+ }
+ return message;
+ };
+
+ /**
+ * Creates a plain object from an UpdateIssueModelRequest message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.cloud.contactcenterinsights.v1.UpdateIssueModelRequest
+ * @static
+ * @param {google.cloud.contactcenterinsights.v1.UpdateIssueModelRequest} message UpdateIssueModelRequest
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ UpdateIssueModelRequest.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.defaults) {
+ object.issueModel = null;
+ object.updateMask = null;
+ }
+ if (message.issueModel != null && message.hasOwnProperty("issueModel"))
+ object.issueModel = $root.google.cloud.contactcenterinsights.v1.IssueModel.toObject(message.issueModel, options);
+ if (message.updateMask != null && message.hasOwnProperty("updateMask"))
+ object.updateMask = $root.google.protobuf.FieldMask.toObject(message.updateMask, options);
+ return object;
+ };
+
+ /**
+ * Converts this UpdateIssueModelRequest to JSON.
+ * @function toJSON
+ * @memberof google.cloud.contactcenterinsights.v1.UpdateIssueModelRequest
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ UpdateIssueModelRequest.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for UpdateIssueModelRequest
+ * @function getTypeUrl
+ * @memberof google.cloud.contactcenterinsights.v1.UpdateIssueModelRequest
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ UpdateIssueModelRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.cloud.contactcenterinsights.v1.UpdateIssueModelRequest";
+ };
+
+ return UpdateIssueModelRequest;
+ })();
+
+ v1.ListIssueModelsRequest = (function() {
+
+ /**
+ * Properties of a ListIssueModelsRequest.
+ * @memberof google.cloud.contactcenterinsights.v1
+ * @interface IListIssueModelsRequest
+ * @property {string|null} [parent] ListIssueModelsRequest parent
+ */
+
+ /**
+ * Constructs a new ListIssueModelsRequest.
+ * @memberof google.cloud.contactcenterinsights.v1
+ * @classdesc Represents a ListIssueModelsRequest.
+ * @implements IListIssueModelsRequest
+ * @constructor
+ * @param {google.cloud.contactcenterinsights.v1.IListIssueModelsRequest=} [properties] Properties to set
+ */
+ function ListIssueModelsRequest(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]];
+ }
+
+ /**
+ * ListIssueModelsRequest parent.
+ * @member {string} parent
+ * @memberof google.cloud.contactcenterinsights.v1.ListIssueModelsRequest
+ * @instance
+ */
+ ListIssueModelsRequest.prototype.parent = "";
+
+ /**
+ * Creates a new ListIssueModelsRequest instance using the specified properties.
+ * @function create
+ * @memberof google.cloud.contactcenterinsights.v1.ListIssueModelsRequest
+ * @static
+ * @param {google.cloud.contactcenterinsights.v1.IListIssueModelsRequest=} [properties] Properties to set
+ * @returns {google.cloud.contactcenterinsights.v1.ListIssueModelsRequest} ListIssueModelsRequest instance
+ */
+ ListIssueModelsRequest.create = function create(properties) {
+ return new ListIssueModelsRequest(properties);
+ };
+
+ /**
+ * Encodes the specified ListIssueModelsRequest message. Does not implicitly {@link google.cloud.contactcenterinsights.v1.ListIssueModelsRequest.verify|verify} messages.
+ * @function encode
+ * @memberof google.cloud.contactcenterinsights.v1.ListIssueModelsRequest
+ * @static
+ * @param {google.cloud.contactcenterinsights.v1.IListIssueModelsRequest} message ListIssueModelsRequest message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ ListIssueModelsRequest.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);
+ return writer;
+ };
+
+ /**
+ * Encodes the specified ListIssueModelsRequest message, length delimited. Does not implicitly {@link google.cloud.contactcenterinsights.v1.ListIssueModelsRequest.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.cloud.contactcenterinsights.v1.ListIssueModelsRequest
+ * @static
+ * @param {google.cloud.contactcenterinsights.v1.IListIssueModelsRequest} message ListIssueModelsRequest message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ ListIssueModelsRequest.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes a ListIssueModelsRequest message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.cloud.contactcenterinsights.v1.ListIssueModelsRequest
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.cloud.contactcenterinsights.v1.ListIssueModelsRequest} ListIssueModelsRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ ListIssueModelsRequest.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.contactcenterinsights.v1.ListIssueModelsRequest();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ switch (tag >>> 3) {
+ case 1: {
+ message.parent = reader.string();
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes a ListIssueModelsRequest message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.cloud.contactcenterinsights.v1.ListIssueModelsRequest
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.cloud.contactcenterinsights.v1.ListIssueModelsRequest} ListIssueModelsRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ ListIssueModelsRequest.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies a ListIssueModelsRequest message.
+ * @function verify
+ * @memberof google.cloud.contactcenterinsights.v1.ListIssueModelsRequest
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ ListIssueModelsRequest.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";
+ return null;
+ };
+
+ /**
+ * Creates a ListIssueModelsRequest message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.cloud.contactcenterinsights.v1.ListIssueModelsRequest
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.cloud.contactcenterinsights.v1.ListIssueModelsRequest} ListIssueModelsRequest
+ */
+ ListIssueModelsRequest.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.cloud.contactcenterinsights.v1.ListIssueModelsRequest)
+ return object;
+ var message = new $root.google.cloud.contactcenterinsights.v1.ListIssueModelsRequest();
+ if (object.parent != null)
+ message.parent = String(object.parent);
+ return message;
+ };
+
+ /**
+ * Creates a plain object from a ListIssueModelsRequest message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.cloud.contactcenterinsights.v1.ListIssueModelsRequest
+ * @static
+ * @param {google.cloud.contactcenterinsights.v1.ListIssueModelsRequest} message ListIssueModelsRequest
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ ListIssueModelsRequest.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.defaults)
+ object.parent = "";
+ if (message.parent != null && message.hasOwnProperty("parent"))
+ object.parent = message.parent;
+ return object;
+ };
+
+ /**
+ * Converts this ListIssueModelsRequest to JSON.
+ * @function toJSON
+ * @memberof google.cloud.contactcenterinsights.v1.ListIssueModelsRequest
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ ListIssueModelsRequest.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for ListIssueModelsRequest
+ * @function getTypeUrl
+ * @memberof google.cloud.contactcenterinsights.v1.ListIssueModelsRequest
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ ListIssueModelsRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.cloud.contactcenterinsights.v1.ListIssueModelsRequest";
+ };
+
+ return ListIssueModelsRequest;
+ })();
+
+ v1.ListIssueModelsResponse = (function() {
+
+ /**
+ * Properties of a ListIssueModelsResponse.
+ * @memberof google.cloud.contactcenterinsights.v1
+ * @interface IListIssueModelsResponse
+ * @property {Array.|null} [issueModels] ListIssueModelsResponse issueModels
+ */
+
+ /**
+ * Constructs a new ListIssueModelsResponse.
+ * @memberof google.cloud.contactcenterinsights.v1
+ * @classdesc Represents a ListIssueModelsResponse.
+ * @implements IListIssueModelsResponse
+ * @constructor
+ * @param {google.cloud.contactcenterinsights.v1.IListIssueModelsResponse=} [properties] Properties to set
+ */
+ function ListIssueModelsResponse(properties) {
+ this.issueModels = [];
+ 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]];
+ }
+
+ /**
+ * ListIssueModelsResponse issueModels.
+ * @member {Array.} issueModels
+ * @memberof google.cloud.contactcenterinsights.v1.ListIssueModelsResponse
+ * @instance
+ */
+ ListIssueModelsResponse.prototype.issueModels = $util.emptyArray;
+
+ /**
+ * Creates a new ListIssueModelsResponse instance using the specified properties.
+ * @function create
+ * @memberof google.cloud.contactcenterinsights.v1.ListIssueModelsResponse
+ * @static
+ * @param {google.cloud.contactcenterinsights.v1.IListIssueModelsResponse=} [properties] Properties to set
+ * @returns {google.cloud.contactcenterinsights.v1.ListIssueModelsResponse} ListIssueModelsResponse instance
+ */
+ ListIssueModelsResponse.create = function create(properties) {
+ return new ListIssueModelsResponse(properties);
+ };
+
+ /**
+ * Encodes the specified ListIssueModelsResponse message. Does not implicitly {@link google.cloud.contactcenterinsights.v1.ListIssueModelsResponse.verify|verify} messages.
+ * @function encode
+ * @memberof google.cloud.contactcenterinsights.v1.ListIssueModelsResponse
+ * @static
+ * @param {google.cloud.contactcenterinsights.v1.IListIssueModelsResponse} message ListIssueModelsResponse message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ ListIssueModelsResponse.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.issueModels != null && message.issueModels.length)
+ for (var i = 0; i < message.issueModels.length; ++i)
+ $root.google.cloud.contactcenterinsights.v1.IssueModel.encode(message.issueModels[i], writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
+ return writer;
+ };
+
+ /**
+ * Encodes the specified ListIssueModelsResponse message, length delimited. Does not implicitly {@link google.cloud.contactcenterinsights.v1.ListIssueModelsResponse.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.cloud.contactcenterinsights.v1.ListIssueModelsResponse
+ * @static
+ * @param {google.cloud.contactcenterinsights.v1.IListIssueModelsResponse} message ListIssueModelsResponse message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ ListIssueModelsResponse.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes a ListIssueModelsResponse message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.cloud.contactcenterinsights.v1.ListIssueModelsResponse
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.cloud.contactcenterinsights.v1.ListIssueModelsResponse} ListIssueModelsResponse
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ ListIssueModelsResponse.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.contactcenterinsights.v1.ListIssueModelsResponse();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ switch (tag >>> 3) {
+ case 1: {
+ if (!(message.issueModels && message.issueModels.length))
+ message.issueModels = [];
+ message.issueModels.push($root.google.cloud.contactcenterinsights.v1.IssueModel.decode(reader, reader.uint32()));
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes a ListIssueModelsResponse message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.cloud.contactcenterinsights.v1.ListIssueModelsResponse
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.cloud.contactcenterinsights.v1.ListIssueModelsResponse} ListIssueModelsResponse
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ ListIssueModelsResponse.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies a ListIssueModelsResponse message.
+ * @function verify
+ * @memberof google.cloud.contactcenterinsights.v1.ListIssueModelsResponse
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ ListIssueModelsResponse.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ if (message.issueModels != null && message.hasOwnProperty("issueModels")) {
+ if (!Array.isArray(message.issueModels))
+ return "issueModels: array expected";
+ for (var i = 0; i < message.issueModels.length; ++i) {
+ var error = $root.google.cloud.contactcenterinsights.v1.IssueModel.verify(message.issueModels[i]);
+ if (error)
+ return "issueModels." + error;
+ }
+ }
+ return null;
+ };
+
+ /**
+ * Creates a ListIssueModelsResponse message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.cloud.contactcenterinsights.v1.ListIssueModelsResponse
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.cloud.contactcenterinsights.v1.ListIssueModelsResponse} ListIssueModelsResponse
+ */
+ ListIssueModelsResponse.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.cloud.contactcenterinsights.v1.ListIssueModelsResponse)
+ return object;
+ var message = new $root.google.cloud.contactcenterinsights.v1.ListIssueModelsResponse();
+ if (object.issueModels) {
+ if (!Array.isArray(object.issueModels))
+ throw TypeError(".google.cloud.contactcenterinsights.v1.ListIssueModelsResponse.issueModels: array expected");
+ message.issueModels = [];
+ for (var i = 0; i < object.issueModels.length; ++i) {
+ if (typeof object.issueModels[i] !== "object")
+ throw TypeError(".google.cloud.contactcenterinsights.v1.ListIssueModelsResponse.issueModels: object expected");
+ message.issueModels[i] = $root.google.cloud.contactcenterinsights.v1.IssueModel.fromObject(object.issueModels[i]);
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Creates a plain object from a ListIssueModelsResponse message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.cloud.contactcenterinsights.v1.ListIssueModelsResponse
+ * @static
+ * @param {google.cloud.contactcenterinsights.v1.ListIssueModelsResponse} message ListIssueModelsResponse
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ ListIssueModelsResponse.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.arrays || options.defaults)
+ object.issueModels = [];
+ if (message.issueModels && message.issueModels.length) {
+ object.issueModels = [];
+ for (var j = 0; j < message.issueModels.length; ++j)
+ object.issueModels[j] = $root.google.cloud.contactcenterinsights.v1.IssueModel.toObject(message.issueModels[j], options);
+ }
+ return object;
+ };
+
+ /**
+ * Converts this ListIssueModelsResponse to JSON.
+ * @function toJSON
+ * @memberof google.cloud.contactcenterinsights.v1.ListIssueModelsResponse
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ ListIssueModelsResponse.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for ListIssueModelsResponse
+ * @function getTypeUrl
+ * @memberof google.cloud.contactcenterinsights.v1.ListIssueModelsResponse
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ ListIssueModelsResponse.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.cloud.contactcenterinsights.v1.ListIssueModelsResponse";
+ };
+
+ return ListIssueModelsResponse;
+ })();
+
+ v1.GetIssueModelRequest = (function() {
+
+ /**
+ * Properties of a GetIssueModelRequest.
+ * @memberof google.cloud.contactcenterinsights.v1
+ * @interface IGetIssueModelRequest
+ * @property {string|null} [name] GetIssueModelRequest name
+ */
+
+ /**
+ * Constructs a new GetIssueModelRequest.
+ * @memberof google.cloud.contactcenterinsights.v1
+ * @classdesc Represents a GetIssueModelRequest.
+ * @implements IGetIssueModelRequest
+ * @constructor
+ * @param {google.cloud.contactcenterinsights.v1.IGetIssueModelRequest=} [properties] Properties to set
+ */
+ function GetIssueModelRequest(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]];
+ }
+
+ /**
+ * GetIssueModelRequest name.
+ * @member {string} name
+ * @memberof google.cloud.contactcenterinsights.v1.GetIssueModelRequest
+ * @instance
+ */
+ GetIssueModelRequest.prototype.name = "";
+
+ /**
+ * Creates a new GetIssueModelRequest instance using the specified properties.
+ * @function create
+ * @memberof google.cloud.contactcenterinsights.v1.GetIssueModelRequest
+ * @static
+ * @param {google.cloud.contactcenterinsights.v1.IGetIssueModelRequest=} [properties] Properties to set
+ * @returns {google.cloud.contactcenterinsights.v1.GetIssueModelRequest} GetIssueModelRequest instance
+ */
+ GetIssueModelRequest.create = function create(properties) {
+ return new GetIssueModelRequest(properties);
+ };
+
+ /**
+ * Encodes the specified GetIssueModelRequest message. Does not implicitly {@link google.cloud.contactcenterinsights.v1.GetIssueModelRequest.verify|verify} messages.
+ * @function encode
+ * @memberof google.cloud.contactcenterinsights.v1.GetIssueModelRequest
+ * @static
+ * @param {google.cloud.contactcenterinsights.v1.IGetIssueModelRequest} message GetIssueModelRequest message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ GetIssueModelRequest.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 GetIssueModelRequest message, length delimited. Does not implicitly {@link google.cloud.contactcenterinsights.v1.GetIssueModelRequest.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.cloud.contactcenterinsights.v1.GetIssueModelRequest
+ * @static
+ * @param {google.cloud.contactcenterinsights.v1.IGetIssueModelRequest} message GetIssueModelRequest message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ GetIssueModelRequest.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes a GetIssueModelRequest message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.cloud.contactcenterinsights.v1.GetIssueModelRequest
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.cloud.contactcenterinsights.v1.GetIssueModelRequest} GetIssueModelRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ GetIssueModelRequest.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.contactcenterinsights.v1.GetIssueModelRequest();
+ 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 GetIssueModelRequest message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.cloud.contactcenterinsights.v1.GetIssueModelRequest
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.cloud.contactcenterinsights.v1.GetIssueModelRequest} GetIssueModelRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ GetIssueModelRequest.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies a GetIssueModelRequest message.
+ * @function verify
+ * @memberof google.cloud.contactcenterinsights.v1.GetIssueModelRequest
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ GetIssueModelRequest.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 GetIssueModelRequest message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.cloud.contactcenterinsights.v1.GetIssueModelRequest
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.cloud.contactcenterinsights.v1.GetIssueModelRequest} GetIssueModelRequest
+ */
+ GetIssueModelRequest.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.cloud.contactcenterinsights.v1.GetIssueModelRequest)
+ return object;
+ var message = new $root.google.cloud.contactcenterinsights.v1.GetIssueModelRequest();
+ if (object.name != null)
+ message.name = String(object.name);
+ return message;
+ };
+
+ /**
+ * Creates a plain object from a GetIssueModelRequest message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.cloud.contactcenterinsights.v1.GetIssueModelRequest
+ * @static
+ * @param {google.cloud.contactcenterinsights.v1.GetIssueModelRequest} message GetIssueModelRequest
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ GetIssueModelRequest.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 GetIssueModelRequest to JSON.
+ * @function toJSON
+ * @memberof google.cloud.contactcenterinsights.v1.GetIssueModelRequest
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ GetIssueModelRequest.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for GetIssueModelRequest
+ * @function getTypeUrl
+ * @memberof google.cloud.contactcenterinsights.v1.GetIssueModelRequest
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ GetIssueModelRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.cloud.contactcenterinsights.v1.GetIssueModelRequest";
+ };
+
+ return GetIssueModelRequest;
+ })();
+
+ v1.DeleteIssueModelRequest = (function() {
+
+ /**
+ * Properties of a DeleteIssueModelRequest.
+ * @memberof google.cloud.contactcenterinsights.v1
+ * @interface IDeleteIssueModelRequest
+ * @property {string|null} [name] DeleteIssueModelRequest name
+ */
+
+ /**
+ * Constructs a new DeleteIssueModelRequest.
+ * @memberof google.cloud.contactcenterinsights.v1
+ * @classdesc Represents a DeleteIssueModelRequest.
+ * @implements IDeleteIssueModelRequest
+ * @constructor
+ * @param {google.cloud.contactcenterinsights.v1.IDeleteIssueModelRequest=} [properties] Properties to set
+ */
+ function DeleteIssueModelRequest(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]];
+ }
+
+ /**
+ * DeleteIssueModelRequest name.
+ * @member {string} name
+ * @memberof google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest
+ * @instance
+ */
+ DeleteIssueModelRequest.prototype.name = "";
+
+ /**
+ * Creates a new DeleteIssueModelRequest instance using the specified properties.
+ * @function create
+ * @memberof google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest
+ * @static
+ * @param {google.cloud.contactcenterinsights.v1.IDeleteIssueModelRequest=} [properties] Properties to set
+ * @returns {google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest} DeleteIssueModelRequest instance
+ */
+ DeleteIssueModelRequest.create = function create(properties) {
+ return new DeleteIssueModelRequest(properties);
+ };
+
+ /**
+ * Encodes the specified DeleteIssueModelRequest message. Does not implicitly {@link google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest.verify|verify} messages.
+ * @function encode
+ * @memberof google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest
+ * @static
+ * @param {google.cloud.contactcenterinsights.v1.IDeleteIssueModelRequest} message DeleteIssueModelRequest message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ DeleteIssueModelRequest.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 DeleteIssueModelRequest message, length delimited. Does not implicitly {@link google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest
+ * @static
+ * @param {google.cloud.contactcenterinsights.v1.IDeleteIssueModelRequest} message DeleteIssueModelRequest message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ DeleteIssueModelRequest.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes a DeleteIssueModelRequest message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest} DeleteIssueModelRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ DeleteIssueModelRequest.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.contactcenterinsights.v1.DeleteIssueModelRequest();
+ 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 DeleteIssueModelRequest message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest} DeleteIssueModelRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ DeleteIssueModelRequest.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies a DeleteIssueModelRequest message.
+ * @function verify
+ * @memberof google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ DeleteIssueModelRequest.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 DeleteIssueModelRequest message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest} DeleteIssueModelRequest
+ */
+ DeleteIssueModelRequest.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest)
+ return object;
+ var message = new $root.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest();
+ if (object.name != null)
+ message.name = String(object.name);
+ return message;
+ };
+
+ /**
+ * Creates a plain object from a DeleteIssueModelRequest message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest
+ * @static
+ * @param {google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest} message DeleteIssueModelRequest
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ DeleteIssueModelRequest.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 DeleteIssueModelRequest to JSON.
+ * @function toJSON
+ * @memberof google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ DeleteIssueModelRequest.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for DeleteIssueModelRequest
+ * @function getTypeUrl
+ * @memberof google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ DeleteIssueModelRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest";
+ };
+
+ return DeleteIssueModelRequest;
+ })();
+
+ v1.DeleteIssueModelMetadata = (function() {
+
+ /**
+ * Properties of a DeleteIssueModelMetadata.
+ * @memberof google.cloud.contactcenterinsights.v1
+ * @interface IDeleteIssueModelMetadata
+ * @property {google.protobuf.ITimestamp|null} [createTime] DeleteIssueModelMetadata createTime
+ * @property {google.protobuf.ITimestamp|null} [endTime] DeleteIssueModelMetadata endTime
+ * @property {google.cloud.contactcenterinsights.v1.IDeleteIssueModelRequest|null} [request] DeleteIssueModelMetadata request
+ */
+
+ /**
+ * Constructs a new DeleteIssueModelMetadata.
+ * @memberof google.cloud.contactcenterinsights.v1
+ * @classdesc Represents a DeleteIssueModelMetadata.
+ * @implements IDeleteIssueModelMetadata
+ * @constructor
+ * @param {google.cloud.contactcenterinsights.v1.IDeleteIssueModelMetadata=} [properties] Properties to set
+ */
+ function DeleteIssueModelMetadata(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]];
+ }
+
+ /**
+ * DeleteIssueModelMetadata createTime.
+ * @member {google.protobuf.ITimestamp|null|undefined} createTime
+ * @memberof google.cloud.contactcenterinsights.v1.DeleteIssueModelMetadata
+ * @instance
+ */
+ DeleteIssueModelMetadata.prototype.createTime = null;
+
+ /**
+ * DeleteIssueModelMetadata endTime.
+ * @member {google.protobuf.ITimestamp|null|undefined} endTime
+ * @memberof google.cloud.contactcenterinsights.v1.DeleteIssueModelMetadata
+ * @instance
+ */
+ DeleteIssueModelMetadata.prototype.endTime = null;
+
+ /**
+ * DeleteIssueModelMetadata request.
+ * @member {google.cloud.contactcenterinsights.v1.IDeleteIssueModelRequest|null|undefined} request
+ * @memberof google.cloud.contactcenterinsights.v1.DeleteIssueModelMetadata
+ * @instance
+ */
+ DeleteIssueModelMetadata.prototype.request = null;
+
+ /**
+ * Creates a new DeleteIssueModelMetadata instance using the specified properties.
+ * @function create
+ * @memberof google.cloud.contactcenterinsights.v1.DeleteIssueModelMetadata
+ * @static
+ * @param {google.cloud.contactcenterinsights.v1.IDeleteIssueModelMetadata=} [properties] Properties to set
+ * @returns {google.cloud.contactcenterinsights.v1.DeleteIssueModelMetadata} DeleteIssueModelMetadata instance
+ */
+ DeleteIssueModelMetadata.create = function create(properties) {
+ return new DeleteIssueModelMetadata(properties);
+ };
+
+ /**
+ * Encodes the specified DeleteIssueModelMetadata message. Does not implicitly {@link google.cloud.contactcenterinsights.v1.DeleteIssueModelMetadata.verify|verify} messages.
+ * @function encode
+ * @memberof google.cloud.contactcenterinsights.v1.DeleteIssueModelMetadata
+ * @static
+ * @param {google.cloud.contactcenterinsights.v1.IDeleteIssueModelMetadata} message DeleteIssueModelMetadata message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ DeleteIssueModelMetadata.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.createTime != null && Object.hasOwnProperty.call(message, "createTime"))
+ $root.google.protobuf.Timestamp.encode(message.createTime, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
+ if (message.endTime != null && Object.hasOwnProperty.call(message, "endTime"))
+ $root.google.protobuf.Timestamp.encode(message.endTime, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
+ if (message.request != null && Object.hasOwnProperty.call(message, "request"))
+ $root.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest.encode(message.request, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim();
+ return writer;
+ };
+
+ /**
+ * Encodes the specified DeleteIssueModelMetadata message, length delimited. Does not implicitly {@link google.cloud.contactcenterinsights.v1.DeleteIssueModelMetadata.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.cloud.contactcenterinsights.v1.DeleteIssueModelMetadata
+ * @static
+ * @param {google.cloud.contactcenterinsights.v1.IDeleteIssueModelMetadata} message DeleteIssueModelMetadata message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ DeleteIssueModelMetadata.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes a DeleteIssueModelMetadata message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.cloud.contactcenterinsights.v1.DeleteIssueModelMetadata
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.cloud.contactcenterinsights.v1.DeleteIssueModelMetadata} DeleteIssueModelMetadata
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ DeleteIssueModelMetadata.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.contactcenterinsights.v1.DeleteIssueModelMetadata();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ switch (tag >>> 3) {
+ case 1: {
+ message.createTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32());
+ break;
+ }
+ case 2: {
+ message.endTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32());
+ break;
+ }
+ case 3: {
+ message.request = $root.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest.decode(reader, reader.uint32());
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes a DeleteIssueModelMetadata message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.cloud.contactcenterinsights.v1.DeleteIssueModelMetadata
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.cloud.contactcenterinsights.v1.DeleteIssueModelMetadata} DeleteIssueModelMetadata
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ DeleteIssueModelMetadata.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies a DeleteIssueModelMetadata message.
+ * @function verify
+ * @memberof google.cloud.contactcenterinsights.v1.DeleteIssueModelMetadata
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ DeleteIssueModelMetadata.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ if (message.createTime != null && message.hasOwnProperty("createTime")) {
+ var error = $root.google.protobuf.Timestamp.verify(message.createTime);
+ if (error)
+ return "createTime." + error;
+ }
+ if (message.endTime != null && message.hasOwnProperty("endTime")) {
+ var error = $root.google.protobuf.Timestamp.verify(message.endTime);
+ if (error)
+ return "endTime." + error;
+ }
+ if (message.request != null && message.hasOwnProperty("request")) {
+ var error = $root.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest.verify(message.request);
+ if (error)
+ return "request." + error;
+ }
+ return null;
+ };
+
+ /**
+ * Creates a DeleteIssueModelMetadata message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.cloud.contactcenterinsights.v1.DeleteIssueModelMetadata
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.cloud.contactcenterinsights.v1.DeleteIssueModelMetadata} DeleteIssueModelMetadata
+ */
+ DeleteIssueModelMetadata.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.cloud.contactcenterinsights.v1.DeleteIssueModelMetadata)
+ return object;
+ var message = new $root.google.cloud.contactcenterinsights.v1.DeleteIssueModelMetadata();
+ if (object.createTime != null) {
+ if (typeof object.createTime !== "object")
+ throw TypeError(".google.cloud.contactcenterinsights.v1.DeleteIssueModelMetadata.createTime: object expected");
+ message.createTime = $root.google.protobuf.Timestamp.fromObject(object.createTime);
+ }
+ if (object.endTime != null) {
+ if (typeof object.endTime !== "object")
+ throw TypeError(".google.cloud.contactcenterinsights.v1.DeleteIssueModelMetadata.endTime: object expected");
+ message.endTime = $root.google.protobuf.Timestamp.fromObject(object.endTime);
+ }
+ if (object.request != null) {
+ if (typeof object.request !== "object")
+ throw TypeError(".google.cloud.contactcenterinsights.v1.DeleteIssueModelMetadata.request: object expected");
+ message.request = $root.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest.fromObject(object.request);
+ }
+ return message;
+ };
+
+ /**
+ * Creates a plain object from a DeleteIssueModelMetadata message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.cloud.contactcenterinsights.v1.DeleteIssueModelMetadata
+ * @static
+ * @param {google.cloud.contactcenterinsights.v1.DeleteIssueModelMetadata} message DeleteIssueModelMetadata
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ DeleteIssueModelMetadata.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.defaults) {
+ object.createTime = null;
+ object.endTime = null;
+ object.request = null;
+ }
+ if (message.createTime != null && message.hasOwnProperty("createTime"))
+ object.createTime = $root.google.protobuf.Timestamp.toObject(message.createTime, options);
+ if (message.endTime != null && message.hasOwnProperty("endTime"))
+ object.endTime = $root.google.protobuf.Timestamp.toObject(message.endTime, options);
+ if (message.request != null && message.hasOwnProperty("request"))
+ object.request = $root.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest.toObject(message.request, options);
+ return object;
+ };
+
+ /**
+ * Converts this DeleteIssueModelMetadata to JSON.
+ * @function toJSON
+ * @memberof google.cloud.contactcenterinsights.v1.DeleteIssueModelMetadata
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ DeleteIssueModelMetadata.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for DeleteIssueModelMetadata
+ * @function getTypeUrl
+ * @memberof google.cloud.contactcenterinsights.v1.DeleteIssueModelMetadata
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ DeleteIssueModelMetadata.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.cloud.contactcenterinsights.v1.DeleteIssueModelMetadata";
+ };
+
+ return DeleteIssueModelMetadata;
+ })();
+
+ v1.DeployIssueModelRequest = (function() {
+
+ /**
+ * Properties of a DeployIssueModelRequest.
+ * @memberof google.cloud.contactcenterinsights.v1
+ * @interface IDeployIssueModelRequest
+ * @property {string|null} [name] DeployIssueModelRequest name
+ */
+
+ /**
+ * Constructs a new DeployIssueModelRequest.
+ * @memberof google.cloud.contactcenterinsights.v1
+ * @classdesc Represents a DeployIssueModelRequest.
+ * @implements IDeployIssueModelRequest
+ * @constructor
+ * @param {google.cloud.contactcenterinsights.v1.IDeployIssueModelRequest=} [properties] Properties to set
+ */
+ function DeployIssueModelRequest(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]];
+ }
+
+ /**
+ * DeployIssueModelRequest name.
+ * @member {string} name
+ * @memberof google.cloud.contactcenterinsights.v1.DeployIssueModelRequest
+ * @instance
+ */
+ DeployIssueModelRequest.prototype.name = "";
+
+ /**
+ * Creates a new DeployIssueModelRequest instance using the specified properties.
+ * @function create
+ * @memberof google.cloud.contactcenterinsights.v1.DeployIssueModelRequest
+ * @static
+ * @param {google.cloud.contactcenterinsights.v1.IDeployIssueModelRequest=} [properties] Properties to set
+ * @returns {google.cloud.contactcenterinsights.v1.DeployIssueModelRequest} DeployIssueModelRequest instance
+ */
+ DeployIssueModelRequest.create = function create(properties) {
+ return new DeployIssueModelRequest(properties);
+ };
+
+ /**
+ * Encodes the specified DeployIssueModelRequest message. Does not implicitly {@link google.cloud.contactcenterinsights.v1.DeployIssueModelRequest.verify|verify} messages.
+ * @function encode
+ * @memberof google.cloud.contactcenterinsights.v1.DeployIssueModelRequest
+ * @static
+ * @param {google.cloud.contactcenterinsights.v1.IDeployIssueModelRequest} message DeployIssueModelRequest message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ DeployIssueModelRequest.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 DeployIssueModelRequest message, length delimited. Does not implicitly {@link google.cloud.contactcenterinsights.v1.DeployIssueModelRequest.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.cloud.contactcenterinsights.v1.DeployIssueModelRequest
+ * @static
+ * @param {google.cloud.contactcenterinsights.v1.IDeployIssueModelRequest} message DeployIssueModelRequest message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ DeployIssueModelRequest.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes a DeployIssueModelRequest message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.cloud.contactcenterinsights.v1.DeployIssueModelRequest
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.cloud.contactcenterinsights.v1.DeployIssueModelRequest} DeployIssueModelRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ DeployIssueModelRequest.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.contactcenterinsights.v1.DeployIssueModelRequest();
+ 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 DeployIssueModelRequest message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.cloud.contactcenterinsights.v1.DeployIssueModelRequest
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.cloud.contactcenterinsights.v1.DeployIssueModelRequest} DeployIssueModelRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ DeployIssueModelRequest.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies a DeployIssueModelRequest message.
+ * @function verify
+ * @memberof google.cloud.contactcenterinsights.v1.DeployIssueModelRequest
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ DeployIssueModelRequest.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 DeployIssueModelRequest message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.cloud.contactcenterinsights.v1.DeployIssueModelRequest
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.cloud.contactcenterinsights.v1.DeployIssueModelRequest} DeployIssueModelRequest
+ */
+ DeployIssueModelRequest.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest)
+ return object;
+ var message = new $root.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest();
+ if (object.name != null)
+ message.name = String(object.name);
+ return message;
+ };
+
+ /**
+ * Creates a plain object from a DeployIssueModelRequest message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.cloud.contactcenterinsights.v1.DeployIssueModelRequest
+ * @static
+ * @param {google.cloud.contactcenterinsights.v1.DeployIssueModelRequest} message DeployIssueModelRequest
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ DeployIssueModelRequest.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 DeployIssueModelRequest to JSON.
+ * @function toJSON
+ * @memberof google.cloud.contactcenterinsights.v1.DeployIssueModelRequest
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ DeployIssueModelRequest.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for DeployIssueModelRequest
+ * @function getTypeUrl
+ * @memberof google.cloud.contactcenterinsights.v1.DeployIssueModelRequest
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ DeployIssueModelRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.cloud.contactcenterinsights.v1.DeployIssueModelRequest";
+ };
+
+ return DeployIssueModelRequest;
+ })();
+
+ v1.DeployIssueModelResponse = (function() {
+
+ /**
+ * Properties of a DeployIssueModelResponse.
+ * @memberof google.cloud.contactcenterinsights.v1
+ * @interface IDeployIssueModelResponse
+ */
+
+ /**
+ * Constructs a new DeployIssueModelResponse.
+ * @memberof google.cloud.contactcenterinsights.v1
+ * @classdesc Represents a DeployIssueModelResponse.
+ * @implements IDeployIssueModelResponse
+ * @constructor
+ * @param {google.cloud.contactcenterinsights.v1.IDeployIssueModelResponse=} [properties] Properties to set
+ */
+ function DeployIssueModelResponse(properties) {
+ if (properties)
+ for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+ if (properties[keys[i]] != null)
+ this[keys[i]] = properties[keys[i]];
+ }
+
+ /**
+ * Creates a new DeployIssueModelResponse instance using the specified properties.
+ * @function create
+ * @memberof google.cloud.contactcenterinsights.v1.DeployIssueModelResponse
+ * @static
+ * @param {google.cloud.contactcenterinsights.v1.IDeployIssueModelResponse=} [properties] Properties to set
+ * @returns {google.cloud.contactcenterinsights.v1.DeployIssueModelResponse} DeployIssueModelResponse instance
+ */
+ DeployIssueModelResponse.create = function create(properties) {
+ return new DeployIssueModelResponse(properties);
+ };
+
+ /**
+ * Encodes the specified DeployIssueModelResponse message. Does not implicitly {@link google.cloud.contactcenterinsights.v1.DeployIssueModelResponse.verify|verify} messages.
+ * @function encode
+ * @memberof google.cloud.contactcenterinsights.v1.DeployIssueModelResponse
+ * @static
+ * @param {google.cloud.contactcenterinsights.v1.IDeployIssueModelResponse} message DeployIssueModelResponse message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ DeployIssueModelResponse.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ return writer;
+ };
+
+ /**
+ * Encodes the specified DeployIssueModelResponse message, length delimited. Does not implicitly {@link google.cloud.contactcenterinsights.v1.DeployIssueModelResponse.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.cloud.contactcenterinsights.v1.DeployIssueModelResponse
+ * @static
+ * @param {google.cloud.contactcenterinsights.v1.IDeployIssueModelResponse} message DeployIssueModelResponse message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ DeployIssueModelResponse.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes a DeployIssueModelResponse message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.cloud.contactcenterinsights.v1.DeployIssueModelResponse
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.cloud.contactcenterinsights.v1.DeployIssueModelResponse} DeployIssueModelResponse
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ DeployIssueModelResponse.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.contactcenterinsights.v1.DeployIssueModelResponse();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ switch (tag >>> 3) {
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes a DeployIssueModelResponse message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.cloud.contactcenterinsights.v1.DeployIssueModelResponse
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.cloud.contactcenterinsights.v1.DeployIssueModelResponse} DeployIssueModelResponse
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ DeployIssueModelResponse.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies a DeployIssueModelResponse message.
+ * @function verify
+ * @memberof google.cloud.contactcenterinsights.v1.DeployIssueModelResponse
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ DeployIssueModelResponse.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ return null;
+ };
+
+ /**
+ * Creates a DeployIssueModelResponse message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.cloud.contactcenterinsights.v1.DeployIssueModelResponse
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.cloud.contactcenterinsights.v1.DeployIssueModelResponse} DeployIssueModelResponse
+ */
+ DeployIssueModelResponse.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.cloud.contactcenterinsights.v1.DeployIssueModelResponse)
+ return object;
+ return new $root.google.cloud.contactcenterinsights.v1.DeployIssueModelResponse();
+ };
+
+ /**
+ * Creates a plain object from a DeployIssueModelResponse message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.cloud.contactcenterinsights.v1.DeployIssueModelResponse
+ * @static
+ * @param {google.cloud.contactcenterinsights.v1.DeployIssueModelResponse} message DeployIssueModelResponse
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ DeployIssueModelResponse.toObject = function toObject() {
+ return {};
+ };
+
+ /**
+ * Converts this DeployIssueModelResponse to JSON.
+ * @function toJSON
+ * @memberof google.cloud.contactcenterinsights.v1.DeployIssueModelResponse
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ DeployIssueModelResponse.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for DeployIssueModelResponse
+ * @function getTypeUrl
+ * @memberof google.cloud.contactcenterinsights.v1.DeployIssueModelResponse
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ DeployIssueModelResponse.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.cloud.contactcenterinsights.v1.DeployIssueModelResponse";
+ };
+
+ return DeployIssueModelResponse;
+ })();
+
+ v1.DeployIssueModelMetadata = (function() {
+
+ /**
+ * Properties of a DeployIssueModelMetadata.
+ * @memberof google.cloud.contactcenterinsights.v1
+ * @interface IDeployIssueModelMetadata
+ * @property {google.protobuf.ITimestamp|null} [createTime] DeployIssueModelMetadata createTime
+ * @property {google.protobuf.ITimestamp|null} [endTime] DeployIssueModelMetadata endTime
+ * @property {google.cloud.contactcenterinsights.v1.IDeployIssueModelRequest|null} [request] DeployIssueModelMetadata request
+ */
+
+ /**
+ * Constructs a new DeployIssueModelMetadata.
+ * @memberof google.cloud.contactcenterinsights.v1
+ * @classdesc Represents a DeployIssueModelMetadata.
+ * @implements IDeployIssueModelMetadata
+ * @constructor
+ * @param {google.cloud.contactcenterinsights.v1.IDeployIssueModelMetadata=} [properties] Properties to set
+ */
+ function DeployIssueModelMetadata(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]];
+ }
+
+ /**
+ * DeployIssueModelMetadata createTime.
+ * @member {google.protobuf.ITimestamp|null|undefined} createTime
+ * @memberof google.cloud.contactcenterinsights.v1.DeployIssueModelMetadata
+ * @instance
+ */
+ DeployIssueModelMetadata.prototype.createTime = null;
+
+ /**
+ * DeployIssueModelMetadata endTime.
+ * @member {google.protobuf.ITimestamp|null|undefined} endTime
+ * @memberof google.cloud.contactcenterinsights.v1.DeployIssueModelMetadata
+ * @instance
+ */
+ DeployIssueModelMetadata.prototype.endTime = null;
+
+ /**
+ * DeployIssueModelMetadata request.
+ * @member {google.cloud.contactcenterinsights.v1.IDeployIssueModelRequest|null|undefined} request
+ * @memberof google.cloud.contactcenterinsights.v1.DeployIssueModelMetadata
+ * @instance
+ */
+ DeployIssueModelMetadata.prototype.request = null;
+
+ /**
+ * Creates a new DeployIssueModelMetadata instance using the specified properties.
+ * @function create
+ * @memberof google.cloud.contactcenterinsights.v1.DeployIssueModelMetadata
+ * @static
+ * @param {google.cloud.contactcenterinsights.v1.IDeployIssueModelMetadata=} [properties] Properties to set
+ * @returns {google.cloud.contactcenterinsights.v1.DeployIssueModelMetadata} DeployIssueModelMetadata instance
+ */
+ DeployIssueModelMetadata.create = function create(properties) {
+ return new DeployIssueModelMetadata(properties);
+ };
+
+ /**
+ * Encodes the specified DeployIssueModelMetadata message. Does not implicitly {@link google.cloud.contactcenterinsights.v1.DeployIssueModelMetadata.verify|verify} messages.
+ * @function encode
+ * @memberof google.cloud.contactcenterinsights.v1.DeployIssueModelMetadata
+ * @static
+ * @param {google.cloud.contactcenterinsights.v1.IDeployIssueModelMetadata} message DeployIssueModelMetadata message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ DeployIssueModelMetadata.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.createTime != null && Object.hasOwnProperty.call(message, "createTime"))
+ $root.google.protobuf.Timestamp.encode(message.createTime, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
+ if (message.endTime != null && Object.hasOwnProperty.call(message, "endTime"))
+ $root.google.protobuf.Timestamp.encode(message.endTime, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
+ if (message.request != null && Object.hasOwnProperty.call(message, "request"))
+ $root.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest.encode(message.request, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim();
+ return writer;
+ };
+
+ /**
+ * Encodes the specified DeployIssueModelMetadata message, length delimited. Does not implicitly {@link google.cloud.contactcenterinsights.v1.DeployIssueModelMetadata.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.cloud.contactcenterinsights.v1.DeployIssueModelMetadata
+ * @static
+ * @param {google.cloud.contactcenterinsights.v1.IDeployIssueModelMetadata} message DeployIssueModelMetadata message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ DeployIssueModelMetadata.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes a DeployIssueModelMetadata message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.cloud.contactcenterinsights.v1.DeployIssueModelMetadata
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.cloud.contactcenterinsights.v1.DeployIssueModelMetadata} DeployIssueModelMetadata
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ DeployIssueModelMetadata.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.contactcenterinsights.v1.DeployIssueModelMetadata();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ switch (tag >>> 3) {
+ case 1: {
+ message.createTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32());
+ break;
+ }
+ case 2: {
+ message.endTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32());
+ break;
+ }
+ case 3: {
+ message.request = $root.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest.decode(reader, reader.uint32());
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes a DeployIssueModelMetadata message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.cloud.contactcenterinsights.v1.DeployIssueModelMetadata
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.cloud.contactcenterinsights.v1.DeployIssueModelMetadata} DeployIssueModelMetadata
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ DeployIssueModelMetadata.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies a DeployIssueModelMetadata message.
+ * @function verify
+ * @memberof google.cloud.contactcenterinsights.v1.DeployIssueModelMetadata
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ DeployIssueModelMetadata.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ if (message.createTime != null && message.hasOwnProperty("createTime")) {
+ var error = $root.google.protobuf.Timestamp.verify(message.createTime);
+ if (error)
+ return "createTime." + error;
+ }
+ if (message.endTime != null && message.hasOwnProperty("endTime")) {
+ var error = $root.google.protobuf.Timestamp.verify(message.endTime);
+ if (error)
+ return "endTime." + error;
+ }
+ if (message.request != null && message.hasOwnProperty("request")) {
+ var error = $root.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest.verify(message.request);
+ if (error)
+ return "request." + error;
+ }
+ return null;
+ };
+
+ /**
+ * Creates a DeployIssueModelMetadata message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.cloud.contactcenterinsights.v1.DeployIssueModelMetadata
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.cloud.contactcenterinsights.v1.DeployIssueModelMetadata} DeployIssueModelMetadata
+ */
+ DeployIssueModelMetadata.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.cloud.contactcenterinsights.v1.DeployIssueModelMetadata)
+ return object;
+ var message = new $root.google.cloud.contactcenterinsights.v1.DeployIssueModelMetadata();
+ if (object.createTime != null) {
+ if (typeof object.createTime !== "object")
+ throw TypeError(".google.cloud.contactcenterinsights.v1.DeployIssueModelMetadata.createTime: object expected");
+ message.createTime = $root.google.protobuf.Timestamp.fromObject(object.createTime);
+ }
+ if (object.endTime != null) {
+ if (typeof object.endTime !== "object")
+ throw TypeError(".google.cloud.contactcenterinsights.v1.DeployIssueModelMetadata.endTime: object expected");
+ message.endTime = $root.google.protobuf.Timestamp.fromObject(object.endTime);
+ }
+ if (object.request != null) {
+ if (typeof object.request !== "object")
+ throw TypeError(".google.cloud.contactcenterinsights.v1.DeployIssueModelMetadata.request: object expected");
+ message.request = $root.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest.fromObject(object.request);
+ }
+ return message;
+ };
+
+ /**
+ * Creates a plain object from a DeployIssueModelMetadata message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.cloud.contactcenterinsights.v1.DeployIssueModelMetadata
+ * @static
+ * @param {google.cloud.contactcenterinsights.v1.DeployIssueModelMetadata} message DeployIssueModelMetadata
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ DeployIssueModelMetadata.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.defaults) {
+ object.createTime = null;
+ object.endTime = null;
+ object.request = null;
+ }
+ if (message.createTime != null && message.hasOwnProperty("createTime"))
+ object.createTime = $root.google.protobuf.Timestamp.toObject(message.createTime, options);
+ if (message.endTime != null && message.hasOwnProperty("endTime"))
+ object.endTime = $root.google.protobuf.Timestamp.toObject(message.endTime, options);
+ if (message.request != null && message.hasOwnProperty("request"))
+ object.request = $root.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest.toObject(message.request, options);
+ return object;
+ };
+
+ /**
+ * Converts this DeployIssueModelMetadata to JSON.
+ * @function toJSON
+ * @memberof google.cloud.contactcenterinsights.v1.DeployIssueModelMetadata
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ DeployIssueModelMetadata.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for DeployIssueModelMetadata
+ * @function getTypeUrl
+ * @memberof google.cloud.contactcenterinsights.v1.DeployIssueModelMetadata
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ DeployIssueModelMetadata.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.cloud.contactcenterinsights.v1.DeployIssueModelMetadata";
+ };
+
+ return DeployIssueModelMetadata;
+ })();
+
+ v1.UndeployIssueModelRequest = (function() {
+
+ /**
+ * Properties of an UndeployIssueModelRequest.
+ * @memberof google.cloud.contactcenterinsights.v1
+ * @interface IUndeployIssueModelRequest
+ * @property {string|null} [name] UndeployIssueModelRequest name
+ */
+
+ /**
+ * Constructs a new UndeployIssueModelRequest.
+ * @memberof google.cloud.contactcenterinsights.v1
+ * @classdesc Represents an UndeployIssueModelRequest.
+ * @implements IUndeployIssueModelRequest
+ * @constructor
+ * @param {google.cloud.contactcenterinsights.v1.IUndeployIssueModelRequest=} [properties] Properties to set
+ */
+ function UndeployIssueModelRequest(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]];
+ }
+
+ /**
+ * UndeployIssueModelRequest name.
+ * @member {string} name
+ * @memberof google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest
+ * @instance
+ */
+ UndeployIssueModelRequest.prototype.name = "";
+
+ /**
+ * Creates a new UndeployIssueModelRequest instance using the specified properties.
+ * @function create
+ * @memberof google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest
+ * @static
+ * @param {google.cloud.contactcenterinsights.v1.IUndeployIssueModelRequest=} [properties] Properties to set
+ * @returns {google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest} UndeployIssueModelRequest instance
+ */
+ UndeployIssueModelRequest.create = function create(properties) {
+ return new UndeployIssueModelRequest(properties);
+ };
+
+ /**
+ * Encodes the specified UndeployIssueModelRequest message. Does not implicitly {@link google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest.verify|verify} messages.
+ * @function encode
+ * @memberof google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest
+ * @static
+ * @param {google.cloud.contactcenterinsights.v1.IUndeployIssueModelRequest} message UndeployIssueModelRequest message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ UndeployIssueModelRequest.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 UndeployIssueModelRequest message, length delimited. Does not implicitly {@link google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest
+ * @static
+ * @param {google.cloud.contactcenterinsights.v1.IUndeployIssueModelRequest} message UndeployIssueModelRequest message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ UndeployIssueModelRequest.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes an UndeployIssueModelRequest message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest} UndeployIssueModelRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ UndeployIssueModelRequest.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.contactcenterinsights.v1.UndeployIssueModelRequest();
+ 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 an UndeployIssueModelRequest message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest} UndeployIssueModelRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ UndeployIssueModelRequest.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies an UndeployIssueModelRequest message.
+ * @function verify
+ * @memberof google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ UndeployIssueModelRequest.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 an UndeployIssueModelRequest message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest} UndeployIssueModelRequest
+ */
+ UndeployIssueModelRequest.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest)
+ return object;
+ var message = new $root.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest();
+ if (object.name != null)
+ message.name = String(object.name);
+ return message;
+ };
+
+ /**
+ * Creates a plain object from an UndeployIssueModelRequest message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest
+ * @static
+ * @param {google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest} message UndeployIssueModelRequest
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ UndeployIssueModelRequest.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 UndeployIssueModelRequest to JSON.
+ * @function toJSON
+ * @memberof google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ UndeployIssueModelRequest.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for UndeployIssueModelRequest
+ * @function getTypeUrl
+ * @memberof google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ UndeployIssueModelRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest";
+ };
+
+ return UndeployIssueModelRequest;
+ })();
+
+ v1.UndeployIssueModelResponse = (function() {
+
+ /**
+ * Properties of an UndeployIssueModelResponse.
+ * @memberof google.cloud.contactcenterinsights.v1
+ * @interface IUndeployIssueModelResponse
+ */
+
+ /**
+ * Constructs a new UndeployIssueModelResponse.
+ * @memberof google.cloud.contactcenterinsights.v1
+ * @classdesc Represents an UndeployIssueModelResponse.
+ * @implements IUndeployIssueModelResponse
+ * @constructor
+ * @param {google.cloud.contactcenterinsights.v1.IUndeployIssueModelResponse=} [properties] Properties to set
+ */
+ function UndeployIssueModelResponse(properties) {
+ if (properties)
+ for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+ if (properties[keys[i]] != null)
+ this[keys[i]] = properties[keys[i]];
+ }
+
+ /**
+ * Creates a new UndeployIssueModelResponse instance using the specified properties.
+ * @function create
+ * @memberof google.cloud.contactcenterinsights.v1.UndeployIssueModelResponse
+ * @static
+ * @param {google.cloud.contactcenterinsights.v1.IUndeployIssueModelResponse=} [properties] Properties to set
+ * @returns {google.cloud.contactcenterinsights.v1.UndeployIssueModelResponse} UndeployIssueModelResponse instance
+ */
+ UndeployIssueModelResponse.create = function create(properties) {
+ return new UndeployIssueModelResponse(properties);
+ };
+
+ /**
+ * Encodes the specified UndeployIssueModelResponse message. Does not implicitly {@link google.cloud.contactcenterinsights.v1.UndeployIssueModelResponse.verify|verify} messages.
+ * @function encode
+ * @memberof google.cloud.contactcenterinsights.v1.UndeployIssueModelResponse
+ * @static
+ * @param {google.cloud.contactcenterinsights.v1.IUndeployIssueModelResponse} message UndeployIssueModelResponse message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ UndeployIssueModelResponse.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ return writer;
+ };
+
+ /**
+ * Encodes the specified UndeployIssueModelResponse message, length delimited. Does not implicitly {@link google.cloud.contactcenterinsights.v1.UndeployIssueModelResponse.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.cloud.contactcenterinsights.v1.UndeployIssueModelResponse
+ * @static
+ * @param {google.cloud.contactcenterinsights.v1.IUndeployIssueModelResponse} message UndeployIssueModelResponse message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ UndeployIssueModelResponse.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes an UndeployIssueModelResponse message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.cloud.contactcenterinsights.v1.UndeployIssueModelResponse
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.cloud.contactcenterinsights.v1.UndeployIssueModelResponse} UndeployIssueModelResponse
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ UndeployIssueModelResponse.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.contactcenterinsights.v1.UndeployIssueModelResponse();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ switch (tag >>> 3) {
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes an UndeployIssueModelResponse message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.cloud.contactcenterinsights.v1.UndeployIssueModelResponse
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.cloud.contactcenterinsights.v1.UndeployIssueModelResponse} UndeployIssueModelResponse
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ UndeployIssueModelResponse.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies an UndeployIssueModelResponse message.
+ * @function verify
+ * @memberof google.cloud.contactcenterinsights.v1.UndeployIssueModelResponse
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ UndeployIssueModelResponse.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ return null;
+ };
+
+ /**
+ * Creates an UndeployIssueModelResponse message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.cloud.contactcenterinsights.v1.UndeployIssueModelResponse
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.cloud.contactcenterinsights.v1.UndeployIssueModelResponse} UndeployIssueModelResponse
+ */
+ UndeployIssueModelResponse.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.cloud.contactcenterinsights.v1.UndeployIssueModelResponse)
+ return object;
+ return new $root.google.cloud.contactcenterinsights.v1.UndeployIssueModelResponse();
+ };
+
+ /**
+ * Creates a plain object from an UndeployIssueModelResponse message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.cloud.contactcenterinsights.v1.UndeployIssueModelResponse
+ * @static
+ * @param {google.cloud.contactcenterinsights.v1.UndeployIssueModelResponse} message UndeployIssueModelResponse
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ UndeployIssueModelResponse.toObject = function toObject() {
+ return {};
+ };
+
+ /**
+ * Converts this UndeployIssueModelResponse to JSON.
+ * @function toJSON
+ * @memberof google.cloud.contactcenterinsights.v1.UndeployIssueModelResponse
+ * @instance
+ * @returns {Object.